/* The Grade 9 Spanish book on the public site (seo/book.mjs): its own page, and the band, ribbon and chip that
   announce it on the UK free resources hub. The page wears the book's own look: warm paper, near-black, the book's
   orange, Fraunces for titles. The hub pieces keep the hub's Inter. Loaded after seo.css on both. */
.bk-page, .bk-band, .bk-ribbon, .bk-chip {
  --bk-ink:#231710; --bk-ink2:#4e3e33; --bk-muted:#8b7869; --bk-paper:#fffcf7; --bk-cream:#fbf2e6; --bk-sand:#f4e6d3; --bk-rule:#e7d8c6;
  --bk-orange:#e9651b; --bk-orange-d:#c24e0e; --bk-orange-l:#fde8d8; --bk-night:#1c120c; --bk-night2:#2b1c12;
  --bk-a:#e9651b; --bk-b:#b5386a; --bk-c:#0e7a7e; --bk-g:#6a4ed0;
  --bk-serif:Fraunces,Georgia,"Times New Roman",serif;
}
.bk-page { background:var(--bk-cream); color:var(--bk-ink2); }
.bk-page h1, .bk-page h2, .bk-page h3 { color:var(--bk-ink); }
.bk-skip { position:absolute; left:-999px; top:8px; z-index:200; padding:10px 16px; border-radius:999px; background:#fff; color:var(--bk-ink); font-weight:800; }
.bk-skip:focus { left:12px; }
.bk-header { background:rgba(255,252,247,.9); border-bottom-color:rgba(231,216,198,.9); }
.bk-brand { gap:8px; font-weight:900; letter-spacing:-.035em; font-size:1.2rem; color:var(--orange); }
.bk-brand b { color:#0f172a; }
.bk-brand img { height:42px; }
.bk-nav-links a { white-space:nowrap; }
.bk-main { max-width:1232px; margin:0 auto; padding:80px 24px 72px; }
.bk-main > section, .bk-main > aside { scroll-margin-top:84px; }
.bk-reader { scroll-margin-top:76px; }

/* ---------- pieces shared with the hub */
.bk-pill { display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:999px; background:rgba(233,101,27,.16); border:1.5px solid rgba(249,201,166,.55); color:#f9c9a6; font-size:.72rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.bk-btn { --press:5px; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:14px 24px; border:0; border-radius:999px; font:inherit; font-size:1rem; font-weight:800; line-height:1.1; text-decoration:none; cursor:pointer; transition:transform .1s ease,box-shadow .1s ease,filter .2s ease; }
.bk-btn:hover { filter:brightness(1.06); }
.bk-btn:active { transform:translateY(var(--press)); }
.bk-btn-light { color:var(--bk-ink); background:radial-gradient(120% 100% at 30% 0%,#fff,transparent 60%),#fdeedb; box-shadow:inset 0 3px 0 rgba(255,255,255,.9),0 var(--press) 0 #d9b98f,0 calc(var(--press) + 10px) 22px -8px rgba(0,0,0,.6); }
.bk-btn-light:active { box-shadow:inset 0 3px 0 rgba(255,255,255,.9),0 0 0 #d9b98f,0 4px 10px -6px rgba(0,0,0,.6); }
.bk-btn-orange { color:#fff; background:radial-gradient(120% 100% at 30% 0%,rgba(255,255,255,.32),transparent 55%),var(--bk-orange-d); box-shadow:inset 0 3px 0 rgba(255,255,255,.3),inset 0 -4px 8px rgba(0,0,0,.12),0 var(--press) 0 #7c2d12,0 calc(var(--press) + 8px) 18px -8px rgba(40,20,0,.5); }
.bk-btn-orange:active { box-shadow:inset 0 3px 0 rgba(255,255,255,.3),0 0 0 #7c2d12,0 3px 8px -4px rgba(40,20,0,.5); }
.bk-btn-ghost { --press:0px; color:#fff; background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 2px rgba(255,255,255,.4); }
.bk-btn-ghost:hover { background:rgba(255,255,255,.14); }
.bk-link { display:inline-flex; align-items:center; gap:6px; padding:0; border:0; background:none; font:inherit; font-weight:800; color:var(--bk-orange-d); text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; cursor:pointer; }
.bk-link:hover { color:var(--bk-ink); }

/* a book as an object: the real cover, a spine, page edges at the side and on top, a shadow on the ground.
   --rx / --ry set how it stands; --tx / --ty are the few degrees it follows the pointer (book.js). */
.bk3d { --w:300px; --h:calc(var(--w) * 1.4143); --d:calc(var(--w) * .092); --rx:-9deg; --ry:-30deg; position:relative; width:var(--w); height:var(--h); perspective:1900px; perspective-origin:50% 38%; flex:none; }
.bk3d-n2 { --d:calc(var(--w) * .052); } .bk3d-n3 { --d:calc(var(--w) * .086); }
.bk3d-book { position:absolute; inset:0; transform-style:preserve-3d; transform:rotateX(calc(var(--rx) + var(--ty,0deg))) rotateY(calc(var(--ry) + var(--tx,0deg))); transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.bk3d-front, .bk3d-gloss, .bk3d-back, .bk3d-spine, .bk3d-pages { position:absolute; top:0; height:100%; }
.bk3d-front { left:0; width:100%; object-fit:cover; border-radius:2px 5px 5px 2px; transform:translateZ(calc(var(--d) / 2)); background:var(--bk-night); backface-visibility:hidden; }
/* the cover's finish: the hinge beside the spine, a soft sheen across the laminate, a darker foot */
.bk3d-gloss { left:0; width:100%; border-radius:2px 5px 5px 2px; transform:translateZ(calc(var(--d) / 2 + .6px)); pointer-events:none; backface-visibility:hidden;
  background:linear-gradient(90deg,rgba(0,0,0,.38) 0,rgba(255,255,255,.22) 1.7%,rgba(0,0,0,.16) 3.4%,rgba(255,255,255,.05) 5.2%,transparent 9%),linear-gradient(112deg,transparent 30%,rgba(255,255,255,.13) 46%,rgba(255,255,255,.03) 56%,transparent 70%),linear-gradient(180deg,transparent 78%,rgba(0,0,0,.22));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),inset -2px 0 3px rgba(0,0,0,.25); }
.bk3d-back { left:0; width:100%; border-radius:5px 2px 2px 5px; background:var(--bk-night); transform:rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.bk3d-spine { left:calc(50% - var(--d) / 2); width:var(--d); background:linear-gradient(90deg,#0d0704,#2b1c12 45%,#0d0704); transform:rotateY(-90deg) translateZ(calc(var(--w) / 2)); display:flex; flex-direction:column; align-items:center; justify-content:space-between; padding:14% 0; color:#fff; overflow:hidden; }
.bk3d-spine b, .bk3d-spine i { writing-mode:vertical-rl; font-style:normal; font-weight:900; font-size:calc(var(--d) * .5); letter-spacing:.02em; white-space:nowrap; }
.bk3d-spine i { font-size:calc(var(--d) * .32); font-weight:800; color:#f9c9a6; text-transform:uppercase; letter-spacing:.12em; }
/* the block of pages sits a hair inside the cover, as on a paperback */
.bk3d-pages { left:calc(50% - var(--d) / 2); width:var(--d); top:.7%; height:98.6%; transform:rotateY(90deg) translateZ(calc(var(--w) / 2 - 2.5px));
  background:linear-gradient(90deg,rgba(60,35,10,.34),transparent 16%,transparent 84%,rgba(60,35,10,.4)),repeating-linear-gradient(90deg,#fffaf0 0 1.1px,#e9dcc6 1.1px 2px); }
.bk3d-top { position:absolute; left:.4%; width:98.8%; top:calc(50% - var(--d) / 2); height:var(--d); transform:rotateX(90deg) translateZ(calc(var(--h) / 2 - 2.5px));
  background:linear-gradient(180deg,rgba(60,35,10,.42),transparent 18%,transparent 82%,rgba(60,35,10,.3)),linear-gradient(90deg,rgba(60,35,10,.5),transparent 5%),repeating-linear-gradient(180deg,#fff8ea 0 1.1px,#e4d5bc 1.1px 2px); }
.bk3d-ground { position:absolute; left:-22%; width:150%; top:calc(50% - var(--w) * .42); height:calc(var(--w) * .84); transform:rotateX(90deg) translateZ(calc(var(--h) / -2 - 1px)); pointer-events:none;
  background:radial-gradient(closest-side,rgba(0,0,0,.62),rgba(0,0,0,.3) 45%,transparent 72%); filter:blur(7px); }
.bk3d-small { --w:190px; }
/* the three books standing in a row that steps back: Book 1 in front, then Book 2, then Book 3 */
.bk-shelf { --sw:min(520px,84vw); position:relative; width:var(--sw); height:calc(var(--sw) * .54 * 1.4143 + 34px); z-index:2; }
.bk-shelf .bk3d { position:absolute; --rx:-15deg; --ry:-25deg; }
.bk-shelf-1 { --w:calc(var(--sw) * .54); left:46%; bottom:0; z-index:3; }
.bk-shelf-2 { --w:calc(var(--sw) * .49); left:21%; bottom:14px; z-index:2; filter:brightness(.9); }
.bk-shelf-3 { --w:calc(var(--sw) * .445); left:0; bottom:28px; z-index:1; filter:brightness(.8); }

/* ---------- the book page: hero */
.bk-hero { position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:center; padding:44px 52px 52px; border-radius:2.6rem; color:#f4e6d3;
  background:radial-gradient(70% 90% at 88% 108%,rgba(233,101,27,.55),transparent 62%),radial-gradient(60% 70% at 0% 0%,rgba(233,101,27,.16),transparent 60%),linear-gradient(160deg,#2b1c12,#1c120c 60%,#140c07);
  box-shadow:0 30px 60px -24px rgba(40,20,0,.7),inset 0 0 0 2px rgba(249,201,166,.14); }
.bk-crumbs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; font-size:.8rem; font-weight:700; color:#bda894; }
.bk-crumbs a { text-decoration:none; }
.bk-crumbs a:hover { color:#fff; }
.bk-hero h1 { margin:16px 0 0; font-family:var(--bk-serif); font-weight:700; font-size:clamp(2.1rem,4.3vw,3.5rem); line-height:1.03; letter-spacing:-.025em; color:#fff; text-wrap:balance; }
.bk-tagline { margin:16px 0 0; font-size:clamp(1.15rem,2vw,1.5rem); font-weight:900; letter-spacing:-.02em; color:#ff9a57; }
.bk-lead { margin:14px 0 0; max-width:560px; font-size:1.06rem; line-height:1.6; font-weight:500; color:#e9d9c6; }
.bk-hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.bk-ticks { display:flex; flex-wrap:wrap; gap:8px 20px; margin:22px 0 0; padding:0; list-style:none; font-size:.86rem; font-weight:700; color:#d9c6b0; }
.bk-ticks li::before { content:"✓"; margin-right:7px; color:#ff9a57; font-weight:900; }
.bk-hero-stage { position:relative; min-height:612px; display:grid; place-items:end center; }
/* the lesson on the board: a classroom screen, lit, turned towards the books */
.bk-board { position:absolute; left:0; top:22px; width:min(292px,52%); margin:0; z-index:1; transform:perspective(1300px) rotateY(17deg) rotateX(3deg) rotate(-2.5deg); transform-origin:left center; }
.bk-board-screen { display:block; padding:9px 9px 8px; border-radius:14px 14px 4px 4px; background:linear-gradient(180deg,#3a3028,#17110d); box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 0 0 1px #000,0 0 46px 6px rgba(255,190,130,.34),0 30px 46px -18px rgba(0,0,0,.9); }
.bk-board-screen img { display:block; width:100%; height:auto; border-radius:6px; box-shadow:0 0 0 1px rgba(0,0,0,.6); }
.bk-board-bar { display:flex; align-items:center; gap:7px; padding:6px 12px 7px; border-radius:0 0 12px 12px; background:linear-gradient(180deg,#17110d,#0d0806); box-shadow:0 0 0 1px #000,0 30px 46px -18px rgba(0,0,0,.9); color:#f4e6d3; font-size:.6rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.bk-board-bar i { width:8px; height:8px; border-radius:50%; background:#ff5a3c; box-shadow:0 0 0 0 rgba(255,90,60,.7); animation:bk-live 1.8s ease-out infinite; }
@keyframes bk-live { 0% { box-shadow:0 0 0 0 rgba(255,90,60,.75); } 70%,100% { box-shadow:0 0 0 9px rgba(255,90,60,0); } }
.bk-tag { position:absolute; left:14px; top:-14px; z-index:2; padding:5px 12px; border-radius:999px; background:var(--bk-orange); color:#fff; font-size:.68rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; box-shadow:0 4px 10px -4px rgba(0,0,0,.6); white-space:nowrap; }
.bk-tag-book { left:auto; right:1%; top:auto; bottom:-12px; background:#fff; color:var(--bk-ink); z-index:3; }
/* from the page to the screen: a dotted line that travels, and the words on it, clear of the covers */
.bk-arc { position:absolute; left:47%; top:14px; width:47%; height:auto; z-index:1; overflow:visible; }
.bk-arc path { fill:none; stroke:#ff9a57; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.bk-arc path:first-child { stroke-dasharray:.6 3.4; animation:bk-travel 2.4s linear infinite; }
@keyframes bk-travel { from { stroke-dashoffset:0; } to { stroke-dashoffset:-16; } }
.bk-scan { position:absolute; left:63%; top:34px; z-index:3; display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:999px; background:#fff; color:var(--bk-ink); font-size:.74rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; box-shadow:0 0 0 5px rgba(255,154,87,.28),0 10px 22px -8px rgba(0,0,0,.7); }

/* ---------- section headings */
.bk-main > section:not(.bk-hero):not(.bk-interest) { margin-top:76px; }
.bk-section-head { max-width:800px; margin-bottom:26px; }
.bk-eyebrow { display:block; font-size:.72rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--bk-orange-d); }
.bk-section-head h2 { margin:10px 0 0; font-family:var(--bk-serif); font-weight:700; font-size:clamp(1.7rem,3.2vw,2.6rem); line-height:1.08; letter-spacing:-.02em; text-wrap:balance; }
.bk-section-head p { margin:12px 0 0; font-size:1.02rem; line-height:1.6; font-weight:500; }

/* ---------- look inside: the reader */
.bk-reader { position:relative; padding:22px 22px 20px; border-radius:2rem; background:radial-gradient(120% 70% at 50% 0%,#fff,transparent 60%),var(--bk-sand); box-shadow:inset 0 3px 0 rgba(255,255,255,.9),0 7px 0 #e2cdb1,0 26px 44px -20px rgba(90,50,10,.5); }
.bk-rail { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:20px; }
.bk-rail button { padding:8px 15px; border:0; border-radius:999px; background:var(--bk-paper); box-shadow:0 3px 0 var(--bk-rule); font:inherit; font-size:.84rem; font-weight:800; color:var(--bk-ink2); cursor:pointer; transition:background .15s ease,color .15s ease,transform .1s ease; }
.bk-rail button:hover { color:var(--bk-orange-d); }
.bk-rail button[aria-pressed="true"] { background:var(--bk-ink); color:#fff; box-shadow:0 3px 0 #000; }
.bk-stage { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:14px; align-items:center; }
.bk-turn { position:relative; display:grid; place-items:center; width:54px; height:54px; border:0; border-radius:50%; background:var(--bk-ink); color:#fff; cursor:pointer; box-shadow:0 5px 0 #000,0 14px 20px -8px rgba(0,0,0,.5); transition:transform .1s ease,box-shadow .1s ease,opacity .2s ease; }
.bk-turn:hover { background:var(--bk-orange-d); }
.bk-turn:active { transform:translateY(5px); box-shadow:0 0 0 #000,0 4px 8px -4px rgba(0,0,0,.5); }
.bk-turn:disabled { opacity:.22; cursor:default; }
.bk-turn-hint { position:absolute; right:0; bottom:calc(100% + 12px); padding:6px 11px; border-radius:10px 10px 2px 10px; background:var(--bk-orange); color:#fff; font-size:.74rem; font-weight:800; white-space:nowrap; animation:bk-nudge 1.6s ease-in-out infinite; pointer-events:none; }
.bk-reader.has-turned .bk-turn-hint { display:none; }
@keyframes bk-nudge { 0%,100% { transform:translateX(0); } 50% { transform:translateX(6px); } }
.bk-desk { perspective:2600px; display:grid; place-items:center; padding:6px 0 14px; min-width:0; }
.bk-book { position:relative; width:min(100%,980px,calc(64vh * 1.4137)); aspect-ratio:2200 / 1556; transform-style:preserve-3d; transition:transform .7s cubic-bezier(.3,.1,.2,1); filter:drop-shadow(0 22px 22px rgba(60,30,0,.34)); }
.bk-book.is-cover { transform:translateX(-25%); }
.bk-leaf { position:absolute; top:0; width:50%; height:100%; padding:0; border:0; background:var(--bk-paper); cursor:zoom-in; overflow:visible; }
.bk-leaf > img { border-radius:inherit; }
.bk-leaf[hidden] { display:none; }
.bk-leaf img { display:block; width:100%; height:100%; object-fit:cover; }
.bk-leaf-left { left:0; border-radius:5px 0 0 5px; }
.bk-leaf-right { left:50%; border-radius:0 5px 5px 0; }
.bk-leaf::after, .bk-flip i::after { content:""; position:absolute; inset:0; pointer-events:none; }
.bk-leaf-left::after { background:linear-gradient(270deg,rgba(60,30,0,.2),rgba(60,30,0,.05) 5%,transparent 13%); }
.bk-leaf-right::after { background:linear-gradient(90deg,rgba(60,30,0,.22),rgba(60,30,0,.05) 5%,transparent 13%); }
.bk-book.is-cover .bk-leaf-right::after { background:linear-gradient(90deg,rgba(0,0,0,.34) 0,rgba(255,255,255,.18) 2%,rgba(0,0,0,.1) 4%,transparent 8%); }
.bk-gutter { position:absolute; left:50%; top:0; bottom:0; width:2px; margin-left:-1px; background:rgba(60,30,0,.16); pointer-events:none; }
.bk-book.is-cover .bk-gutter { display:none; }
.bk-leaf:focus-visible { outline-offset:-4px; }
.bk-flip { position:absolute; top:0; width:50%; height:100%; z-index:5; transform-style:preserve-3d; transition:transform .82s cubic-bezier(.35,.05,.25,1); pointer-events:none; }
.bk-flip i { position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden; background:var(--bk-paper) center / cover no-repeat; overflow:hidden; }
.bk-flip i.rear { transform:rotateY(180deg); }
.bk-flip.fwd { left:50%; transform-origin:left center; }
.bk-flip.fwd i { border-radius:0 5px 5px 0; } .bk-flip.fwd i.rear { border-radius:5px 0 0 5px; }
.bk-flip.fwd.go { transform:rotateY(-180deg); }
.bk-flip.back { left:0; transform-origin:right center; }
.bk-flip.back i { border-radius:5px 0 0 5px; } .bk-flip.back i.rear { border-radius:0 5px 5px 0; }
.bk-flip.back.go { transform:rotateY(180deg); }
.bk-flip i::after { background:linear-gradient(90deg,rgba(60,30,0,.28),transparent 30%); opacity:0; transition:opacity .82s ease; }
.bk-flip.back i::after, .bk-flip.fwd i.rear::after { background:linear-gradient(270deg,rgba(60,30,0,.28),transparent 30%); }
.bk-flip.back i.rear::after { background:linear-gradient(90deg,rgba(60,30,0,.28),transparent 30%); }
.bk-flip.go i::after { opacity:1; }
/* one page at a time on a phone */
.bk-reader.is-single .bk-book { width:min(100%,520px); aspect-ratio:1100 / 1556; transform:none; }
.bk-reader.is-single .bk-leaf-left { display:none; }
.bk-reader.is-single .bk-leaf-right { left:0; width:100%; border-radius:5px; }
.bk-reader.is-single .bk-leaf-right::after, .bk-reader.is-single .bk-gutter { display:none; }
.bk-reader.is-single .bk-leaf-right.slide-out-left { animation:bk-out-left .22s ease-in forwards; }
.bk-reader.is-single .bk-leaf-right.slide-out-right { animation:bk-out-right .22s ease-in forwards; }
.bk-reader.is-single .bk-leaf-right.slide-in-left { animation:bk-in-left .26s ease-out; }
.bk-reader.is-single .bk-leaf-right.slide-in-right { animation:bk-in-right .26s ease-out; }
@keyframes bk-out-left { to { transform:translateX(-14%) rotate(-1.5deg); opacity:0; } }
@keyframes bk-out-right { to { transform:translateX(14%) rotate(1.5deg); opacity:0; } }
@keyframes bk-in-left { from { transform:translateX(14%); opacity:0; } }
@keyframes bk-in-right { from { transform:translateX(-14%); opacity:0; } }

.bk-hint { display:flex; align-items:center; justify-content:center; gap:7px; margin:0 0 10px; font-size:.8rem; font-weight:700; color:var(--bk-muted); }
.bk-caption { display:flex; align-items:center; gap:16px; max-width:900px; margin:8px auto 0; padding:14px 20px; border-radius:1.4rem; background:var(--bk-paper); box-shadow:0 4px 0 var(--bk-rule); min-height:92px; }
.bk-caption > img { flex:none; width:64px; height:64px; object-fit:contain; }
.bk-caption > div { flex:1; min-width:0; }
.bk-caption p { margin:0; font-size:.98rem; line-height:1.5; font-weight:500; }
.bk-caption-title { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; margin-bottom:3px !important; }
.bk-caption-title b { font-family:var(--bk-serif); font-size:1.18rem; font-weight:700; color:var(--bk-ink); }
.bk-caption-title span { font-size:.74rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--bk-muted); }
.bk-play { flex:none; display:inline-flex; align-items:center; gap:6px; padding:10px 16px; border-radius:999px; background:var(--bk-ink); color:#fff; font-size:.84rem; font-weight:800; text-decoration:none; white-space:nowrap; }
.bk-play[hidden] { display:none; }
.bk-play:hover { background:var(--bk-orange-d); }
.bk-scrub { max-width:900px; margin:16px auto 0; }
.bk-scrub input { display:block; width:100%; margin:0; accent-color:var(--bk-orange-d); cursor:pointer; }
.bk-thumbs { display:grid; grid-template-columns:repeat(25,minmax(0,1fr)); gap:4px; margin-top:10px; }
.bk-thumbs img { display:block; width:100%; height:auto; border-radius:3px; opacity:.5; box-shadow:0 1px 3px rgba(60,30,0,.3); cursor:pointer; transition:opacity .2s ease,transform .2s ease; }
.bk-thumbs img:hover { opacity:.85; }
.bk-thumbs img.is-on { opacity:1; transform:translateY(-3px); box-shadow:0 0 0 2px var(--bk-orange),0 4px 8px rgba(60,30,0,.35); }
.bk-noscript { text-align:center; font-weight:700; }
.bk-look-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:14px 22px; margin-top:26px; }
.bk-look-note { font-size:.86rem; font-weight:700; color:var(--bk-muted); }

/* a page opened to read */
.bk-zoom { width:min(1160px,100vw); max-width:100vw; height:100vh; height:100dvh; max-height:100dvh; margin:0 auto; padding:0; border:0; background:transparent; overflow:hidden; }
.bk-zoom::backdrop { background:rgba(20,12,7,.86); backdrop-filter:blur(4px); }
.bk-zoom[open] { display:flex; flex-direction:column; }
.bk-zoom-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; color:#fff; font-weight:800; font-size:.92rem; }
.bk-zoom-bar div { display:flex; gap:8px; }
.bk-zoom-bar button { width:42px; height:42px; border:0; border-radius:50%; background:rgba(255,255,255,.16); color:#fff; font-size:1.5rem; line-height:1; cursor:pointer; }
.bk-zoom-bar button:hover { background:var(--bk-orange-d); }
.bk-zoom-bar button[hidden] { display:none; }
.bk-zoom-scroll { flex:1; overflow:auto; padding:0 16px 28px; -webkit-overflow-scrolling:touch; }
.bk-zoom-scroll img { display:block; width:100%; max-width:1100px; height:auto; margin:0 auto; border-radius:6px; background:var(--bk-paper); box-shadow:0 20px 50px rgba(0,0,0,.6); }

/* ---------- the board and the book */
.bk-two { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:22px; align-items:stretch; }
.bk-place { display:flex; flex-direction:column; padding:22px 24px 24px; border-radius:1.8rem; background:var(--bk-paper); box-shadow:inset 0 3px 0 #fff,0 6px 0 var(--bk-rule),0 22px 36px -18px rgba(90,50,10,.4); }
.bk-place figure { margin:0 0 18px; aspect-ratio:16 / 9; overflow:hidden; border-radius:12px; background:var(--bk-sand); box-shadow:0 0 0 1px var(--bk-rule); }
.bk-place figure img { display:block; width:100%; height:100%; object-fit:cover; object-position:top; }
.bk-place-board { background:linear-gradient(160deg,#2b1c12,#1c120c); color:#e9d9c6; box-shadow:0 6px 0 #000,0 22px 36px -18px rgba(0,0,0,.7); }
.bk-place-board h3 { color:#fff; }
.bk-place-board figure { box-shadow:0 0 0 4px #fff; }
.bk-place h3 { margin:0; font-family:var(--bk-serif); font-size:1.45rem; font-weight:700; }
.bk-place ul { flex:1; margin:12px 0 18px; padding:0; list-style:none; }
.bk-place li { position:relative; padding:6px 0 6px 22px; font-size:.97rem; line-height:1.45; font-weight:500; }
.bk-place li::before { content:""; position:absolute; left:2px; top:14px; width:8px; height:8px; border-radius:50%; background:var(--bk-orange); }
.bk-place-board .bk-link { color:#ff9a57; }
.bk-place-board .bk-link:hover { color:#fff; }
.bk-two-link { align-self:center; display:flex; flex-direction:column; align-items:center; gap:10px; max-width:200px; text-align:center; }
.bk-two-link a { display:block; padding:9px; border-radius:18px; background:#fff; box-shadow:0 5px 0 var(--bk-rule),0 0 0 9px rgba(233,101,27,.14),0 18px 26px -14px rgba(60,30,0,.5); transition:transform .15s ease; }
.bk-two-link a:hover { transform:translateY(-3px); }
.bk-qr { display:block; width:164px; height:164px; }
.bk-two-link p { margin:8px 0 0; font-size:.8rem; line-height:1.4; font-weight:600; color:var(--bk-ink2); }
.bk-two-link p b { display:block; margin-bottom:2px; font-size:.86rem; font-weight:800; color:var(--bk-ink); }

/* ---------- three lessons, and the unit's 18 pages */
.bk-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.bk-steps li { display:flex; align-items:center; gap:14px; padding:16px 18px; border-radius:1.4rem; background:var(--bk-paper); box-shadow:0 5px 0 var(--bk-rule); }
.bk-steps li > b { display:grid; place-items:center; flex:none; width:54px; height:54px; border-radius:14px; background:var(--c); color:#fff; font-family:var(--bk-serif); font-size:1.9rem; font-weight:800; }
.bk-steps .is-a { --c:var(--bk-a); } .bk-steps .is-b { --c:var(--bk-b); } .bk-steps .is-c { --c:var(--bk-c); }
.bk-steps div { flex:1; }
.bk-steps h3 { margin:0; font-size:1.05rem; font-weight:800; }
.bk-steps p { margin:2px 0 0; font-size:.88rem; font-weight:600; color:var(--bk-muted); }
.bk-dots { display:flex; gap:5px; }
.bk-dots i { width:11px; height:11px; border-radius:50%; background:var(--c); }
.bk-dots i.off { background:none; box-shadow:inset 0 0 0 2px var(--c); }
.bk-strip { display:grid; grid-template-columns:1fr 4fr 4fr 4fr 3fr 1fr 1fr; gap:12px; margin-top:22px; padding:18px 18px 16px; border-radius:1.6rem; background:var(--bk-sand); box-shadow:inset 0 3px 0 rgba(255,255,255,.8),0 5px 0 #e2cdb1; overflow-x:auto; }
.bk-strip-group { --c:var(--bk-ink); min-width:0; }
.bk-strip-group.is-a { --c:var(--bk-a); } .bk-strip-group.is-b { --c:var(--bk-b); } .bk-strip-group.is-c { --c:var(--bk-c); } .bk-strip-group.is-grammar { --c:var(--bk-g); }
.bk-strip-group > span { display:block; margin-bottom:8px; padding-bottom:6px; border-bottom:3px solid var(--c); font-size:.72rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; color:var(--c); white-space:nowrap; }
.bk-strip-group > div { display:flex; gap:6px; }
.bk-strip-group button { flex:1 1 0; min-width:0; padding:0; border:0; border-radius:4px; background:none; cursor:pointer; transition:transform .15s ease; }
.bk-strip-group button:hover { transform:translateY(-4px); }
.bk-strip-group img { display:block; width:100%; height:auto; border-radius:4px; box-shadow:0 2px 6px rgba(60,30,0,.35); }

/* ---------- how a lesson ends */
.bk-task-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.bk-task button { display:block; width:100%; padding:0; border:0; border-radius:8px; background:none; cursor:zoom-in; transition:transform .2s ease; }
.bk-task:nth-child(odd) button { transform:rotate(-1.6deg); } .bk-task:nth-child(even) button { transform:rotate(1.4deg); }
.bk-task button:hover { transform:rotate(0) translateY(-6px); }
.bk-task img { display:block; width:100%; height:auto; border-radius:8px; box-shadow:0 0 0 1px var(--bk-rule),0 18px 30px -14px rgba(60,30,0,.55); }
.bk-task h3 { margin:18px 0 0; font-family:var(--bk-serif); font-size:1.2rem; font-weight:700; }
.bk-task p { margin:6px 0 0; font-size:.92rem; line-height:1.5; font-weight:500; }

/* ---------- three books, and the teacher's book */
.bk-books { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.bk-bookcard { display:flex; gap:18px; align-items:flex-start; padding:20px 22px 22px; border-radius:1.6rem; background:var(--bk-paper); box-shadow:inset 0 3px 0 #fff,0 6px 0 var(--bk-rule); }
.bk-bookcard img { flex:none; width:92px; height:auto; border-radius:3px 5px 5px 3px; box-shadow:0 0 0 1px rgba(0,0,0,.25),6px 8px 14px -6px rgba(60,30,0,.55); transform:rotate(-3deg); }
.bk-bookcard > div { min-width:0; }
.bk-booknum { display:inline-block; padding:4px 12px; border-radius:999px; background:var(--bk-orange); color:#fff; font-size:.72rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.bk-bookcard h3 { margin:10px 0 0; font-family:var(--bk-serif); font-size:1.25rem; font-weight:700; line-height:1.15; }
.bk-bookmeta { margin:8px 0 0; font-size:.84rem; font-weight:800; color:var(--bk-orange-d); }
.bk-bookcard p:last-child { margin:10px 0 0; font-size:.92rem; line-height:1.5; font-weight:500; }
.bk-teacher { display:grid; grid-template-columns:auto minmax(0,1fr); gap:34px; align-items:center; margin-top:22px; padding:26px 32px; border-radius:1.8rem; background:#fff; box-shadow:0 6px 0 var(--bk-rule); }
.bk-teacher-pages { position:relative; width:230px; height:210px; }
.bk-teacher-pages img { position:absolute; top:6px; left:8px; width:136px; height:auto; border-radius:4px; box-shadow:0 0 0 1px #ddd,0 12px 22px -10px rgba(0,0,0,.45); transform:rotate(-5deg); }
.bk-teacher-pages img + img { left:84px; top:12px; transform:rotate(4deg); }
.bk-teacher h3 { margin:8px 0 0; font-family:var(--bk-serif); font-size:1.5rem; font-weight:700; }
.bk-teacher p { margin:8px 0 14px; max-width:600px; font-size:1rem; line-height:1.6; font-weight:500; }

/* ---------- register interest */
.bk-interest { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:48px; align-items:start; margin-top:84px; padding:52px; border-radius:2.6rem; color:#e9d9c6;
  background:radial-gradient(60% 80% at 0% 100%,rgba(233,101,27,.42),transparent 62%),linear-gradient(160deg,#2b1c12,#1c120c 60%,#140c07); box-shadow:0 30px 60px -24px rgba(40,20,0,.7); }
.bk-interest h2 { text-wrap:balance; margin:16px 0 0; font-family:var(--bk-serif); font-weight:700; font-size:clamp(1.9rem,3.6vw,3rem); line-height:1.05; letter-spacing:-.02em; color:#fff; }
.bk-offer { margin:18px 0 0; max-width:560px; font-size:1.22rem; line-height:1.5; font-weight:500; color:#f4e6d3; }
.bk-offer b { color:#ff9a57; font-weight:800; }
.bk-gets { margin:22px 0 0; padding:0; list-style:none; display:grid; gap:10px; max-width:560px; }
.bk-gets li { position:relative; padding:12px 16px 12px 46px; border-radius:14px; background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1.5px rgba(249,201,166,.2); font-size:.97rem; line-height:1.45; font-weight:500; color:#e9d9c6; }
.bk-gets li::before { content:"✓"; position:absolute; left:14px; top:11px; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--bk-orange); color:#fff; font-size:.8rem; font-weight:900; }
.bk-gets b { color:#fff; font-weight:800; }
.bk-terms { margin:16px 0 0; max-width:560px; font-size:.8rem; line-height:1.55; font-weight:500; color:#bda894; }
.bk-founder { display:flex; align-items:center; gap:16px; margin-top:26px; padding-top:22px; border-top:1.5px solid rgba(249,201,166,.18); max-width:560px; }
.bk-founder img { flex:none; width:76px; height:76px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 3px var(--bk-night),0 0 0 5px var(--bk-orange),0 12px 20px -8px rgba(0,0,0,.8); }
.bk-founder b { display:block; font-family:var(--bk-serif); font-size:1.15rem; font-weight:700; color:#fff; line-height:1.1; }
.bk-founder span { display:block; margin-top:3px; font-size:.7rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#ff9a57; }
.bk-founder p { margin:6px 0 0; font-size:.92rem; line-height:1.4; font-weight:600; color:#e9d9c6; }
.bk-founder .bk-creds-line { margin-top:4px; font-size:.78rem; font-weight:500; color:#bda894; }
/* the books stand on the form */
.bk-interest-side { position:relative; display:flex; flex-direction:column; align-items:center; }
.bk-shelf-sm { --sw:min(340px,72vw); margin-bottom:-30px; z-index:2; }
.bk-interest-card { position:relative; z-index:1; width:100%; box-sizing:border-box; padding:46px 30px 24px; border-radius:1.8rem; background:var(--bk-paper); color:var(--bk-ink2); box-shadow:inset 0 3px 0 #fff,0 8px 0 #d9b98f,0 30px 50px -20px rgba(0,0,0,.8); }
.bk-form[hidden], .bk-thanks[hidden], .bk-step[hidden] { display:none; }
.bk-progress { display:flex; align-items:center; gap:12px; margin:0 0 18px; font-size:.74rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--bk-muted); }
.bk-progress-bar { flex:1; height:6px; border-radius:999px; background:var(--bk-sand); overflow:hidden; }
.bk-progress-bar i { display:block; width:50%; height:100%; border-radius:999px; background:var(--bk-orange); transition:width .35s ease; }
.bk-form[data-step="2"] .bk-progress-bar i { width:100%; }
.bk-form:not([data-step]) .bk-progress, .bk-form:not([data-step]) [data-step-next], .bk-form:not([data-step]) .bk-back { display:none; }
.bk-step-intro { margin:0 0 14px; font-size:1.02rem; font-weight:800; color:var(--bk-ink); }
.bk-back { display:block; margin:12px auto 0; padding:6px 10px; border:0; background:none; font:inherit; font-size:.88rem; font-weight:800; color:var(--bk-muted); cursor:pointer; }
.bk-back:hover { color:var(--bk-ink); }
.bk-field { margin-bottom:16px; }
.bk-field label, .bk-choice legend { display:block; margin-bottom:7px; padding:0; font-size:.9rem; font-weight:800; color:var(--bk-ink); }
.bk-field label span, .bk-choice legend span { margin-left:6px; font-size:.74rem; font-weight:700; color:var(--bk-muted); }
.bk-field input, .bk-field textarea { display:block; width:100%; box-sizing:border-box; padding:13px 15px; border:2px solid var(--bk-rule); border-radius:14px; background:#fff; font:inherit; font-size:1rem; color:var(--bk-ink); transition:border-color .15s ease,box-shadow .15s ease; }
.bk-field textarea { resize:vertical; min-height:74px; }
.bk-field input:focus, .bk-field textarea:focus { outline:0; border-color:var(--bk-orange); box-shadow:0 0 0 4px rgba(233,101,27,.18); }
.bk-field input[aria-invalid="true"] { border-color:#b91c1c; }
.bk-error { margin:6px 0 0; font-size:.84rem; font-weight:700; color:#b91c1c; }
.bk-choice { margin:0 0 16px; padding:0; border:0; min-width:0; display:flex; flex-wrap:wrap; gap:8px; }
.bk-choice legend { width:100%; float:left; }
.bk-choice label { position:relative; cursor:pointer; }
.bk-choice .bk-error { flex:1 1 100%; margin:0; }
.bk-choice[aria-invalid="true"] label span { box-shadow:inset 0 0 0 2px #dc8a8a; }
.bk-choice input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.bk-choice label span { display:block; padding:9px 14px; border-radius:999px; background:#fff; box-shadow:inset 0 0 0 2px var(--bk-rule); font-size:.88rem; font-weight:700; color:var(--bk-ink2); transition:background .15s ease,color .15s ease,box-shadow .15s ease; }
.bk-choice input:checked + span { background:var(--bk-ink); color:#fff; box-shadow:inset 0 0 0 2px var(--bk-ink); }
.bk-choice input:focus-visible + span { outline:3px solid #fb923c; outline-offset:2px; }
.bk-trap { position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; }
.bk-submit { --press:5px; display:flex; align-items:center; justify-content:center; gap:10px; width:100%; margin-top:6px; padding:16px 24px; border:0; border-radius:999px; font:inherit; font-size:1.06rem; font-weight:900; color:#fff; cursor:pointer; background:radial-gradient(120% 100% at 30% 0%,rgba(255,255,255,.32),transparent 55%),var(--bk-orange-d); box-shadow:inset 0 3px 0 rgba(255,255,255,.3),0 var(--press) 0 #7c2d12,0 calc(var(--press) + 8px) 18px -8px rgba(40,20,0,.5); transition:transform .1s ease,box-shadow .1s ease,filter .2s ease; }
.bk-submit:hover { filter:brightness(1.07); }
.bk-submit:active { transform:translateY(var(--press)); box-shadow:inset 0 3px 0 rgba(255,255,255,.3),0 0 0 #7c2d12; }
.bk-submit[disabled] { opacity:.6; cursor:progress; }
.bk-consent { margin:14px 0 0; font-size:.82rem; line-height:1.5; font-weight:500; color:var(--bk-muted); text-align:center; }
.bk-form-error { margin:12px 0 0; padding:10px 14px; border-radius:12px; background:#fef2f2; font-size:.9rem; font-weight:700; color:#991b1b; }
.bk-thanks { display:flex; gap:18px; align-items:flex-start; outline:0; }
.bk-thanks > img { flex:none; width:96px; height:auto; }
.bk-thanks h3 { margin:0; font-family:var(--bk-serif); font-size:1.6rem; font-weight:700; }
.bk-thanks p { margin:8px 0 0; font-size:1rem; line-height:1.55; font-weight:500; }
.bk-thanks-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.bk-thanks .bk-btn { font-size:.92rem; padding:12px 18px; }
.bk-thanks .bk-btn-light { box-shadow:inset 0 3px 0 #fff,0 var(--press) 0 #d9b98f; }
.bk-thanks .bk-btn-ghost { color:var(--bk-ink); background:#fff; box-shadow:inset 0 0 0 2px var(--bk-rule); }
.bk-preview-note { padding:8px 12px; border-radius:10px; background:#fff7ed; font-size:.82rem !important; font-weight:700 !important; color:#9a3412; }

/* ---------- questions, and the way out */
.bk-faq { max-width:880px; margin-left:auto; margin-right:auto; }
.bk-faq details { margin-bottom:10px; border-radius:1.2rem; background:var(--bk-paper); box-shadow:0 4px 0 var(--bk-rule); }
.bk-faq summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:17px 22px; font-size:1.02rem; font-weight:800; color:var(--bk-ink); cursor:pointer; list-style:none; }
.bk-faq summary::-webkit-details-marker { display:none; }
.bk-faq summary span { flex:none; font-size:1.4rem; font-weight:500; color:var(--bk-orange-d); transition:transform .2s ease; }
.bk-faq details[open] summary span { transform:rotate(45deg); }
.bk-faq details p { margin:0; padding:0 22px 20px; font-size:.98rem; line-height:1.65; font-weight:500; }
.bk-faq a { color:var(--bk-orange-d); font-weight:700; }
.bk-close { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:22px 40px; margin-top:64px; padding:38px 46px; border:2px solid #fdba74; border-radius:2.4rem; background:linear-gradient(180deg,#fff7ea,#fdeed8 50%,#f8dfc0); box-shadow:0 25px 50px -20px rgba(0,0,0,.25); }
.bk-close h2 { margin:0; font-family:var(--bk-serif); font-size:clamp(1.5rem,2.6vw,2.1rem); font-weight:700; letter-spacing:-.02em; }
.bk-close p { margin:8px 0 0; max-width:560px; font-size:1rem; line-height:1.6; font-weight:500; }
.bk-close-actions { display:flex; flex-direction:column; align-items:flex-start; gap:14px; }

/* the reminder that follows the reader down the page */
.bk-sticky { position:fixed; left:auto; right:20px; bottom:18px; z-index:90; display:flex; align-items:center; gap:14px; width:max-content; max-width:calc(100vw - 24px); padding:9px 10px 9px 12px; border-radius:999px; background:rgba(28,18,12,.94); color:#e9d9c6; box-shadow:0 18px 40px -12px rgba(0,0,0,.7),inset 0 0 0 1.5px rgba(249,201,166,.25); backdrop-filter:blur(8px); transform:translateY(160%); transition:transform .35s cubic-bezier(.2,.8,.2,1); }
.bk-sticky[hidden] { display:flex; visibility:hidden; }
.bk-sticky.is-on { transform:translateY(0); visibility:visible; }
.bk-sticky img { flex:none; width:34px; height:48px; object-fit:cover; border-radius:3px; box-shadow:0 2px 6px rgba(0,0,0,.6); }
.bk-sticky p { margin:0; font-size:.8rem; line-height:1.3; font-weight:600; }
.bk-sticky b { display:block; color:#fff; font-size:.9rem; }
.bk-sticky .bk-btn { padding:11px 18px; font-size:.9rem; --press:3px; white-space:nowrap; }

/* ---------- on the free resources hub: the ribbon, the band, the chip */
.bk-ribbon { display:flex; align-items:center; gap:14px; margin:0 0 18px; padding:8px 20px 8px 8px; border-radius:999px; background:linear-gradient(100deg,#2b1c12,#1c120c 70%,#3a1f0f); color:#e9d9c6; text-decoration:none; font-size:.95rem; font-weight:600; box-shadow:0 5px 0 #000,0 16px 28px -14px rgba(40,20,0,.7); transition:transform .15s ease,filter .2s ease; }
.bk-ribbon:hover { transform:translateY(-2px); filter:brightness(1.12); }
.bk-ribbon > img { flex:none; width:36px; height:50px; object-fit:cover; border-radius:4px; box-shadow:0 0 0 1.5px rgba(255,255,255,.55),0 2px 8px rgba(0,0,0,.7); transform:rotate(-5deg); margin-left:10px; }
.bk-ribbon-new { flex:none; padding:4px 11px; border-radius:999px; background:var(--bk-orange); color:#fff; font-size:.68rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.bk-ribbon-text { flex:1; min-width:0; }
.bk-ribbon-text b { color:#fff; font-weight:900; }
.bk-ribbon-go { flex:none; font-weight:900; color:#ff9a57; white-space:nowrap; }
.bk-band { position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:20px; align-items:center; margin:44px 0 8px; padding:40px 48px; border-radius:2.6rem; color:#e9d9c6; scroll-margin-top:84px;
  background:radial-gradient(60% 90% at 0% 110%,rgba(233,101,27,.5),transparent 62%),linear-gradient(160deg,#2b1c12,#1c120c 60%,#140c07); box-shadow:0 8px 0 #000,0 34px 56px -24px rgba(40,20,0,.7); }
.bk-band-visual { position:relative; min-height:300px; display:grid; place-items:center; }
.bk-band-visual .bk3d { z-index:2; margin-right:24%; }
.bk-band-fan { position:absolute; right:0; top:50%; width:58%; height:0; }
.bk-band-fan img { position:absolute; right:calc(var(--i) * 15%); top:-108px; width:150px; height:auto; border-radius:4px; box-shadow:0 12px 24px -8px rgba(0,0,0,.8); transform:rotate(calc(10deg - var(--i) * 7deg)) translateY(calc(var(--i) * 8px)); opacity:.94; }
.bk-band h2 { text-wrap:balance; margin:14px 0 0; font-size:clamp(1.7rem,3.2vw,2.6rem); font-weight:900; letter-spacing:-.035em; line-height:1.05; color:#fff; }
.bk-band-lead { margin:12px 0 0; max-width:600px; font-size:1.04rem; line-height:1.6; font-weight:500; }
.bk-band-points { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 0; padding:0; list-style:none; }
.bk-band-points li { padding:7px 13px; border-radius:999px; background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 1.5px rgba(249,201,166,.22); font-size:.86rem; font-weight:600; }
.bk-band-points b { color:#ff9a57; font-weight:900; }
.bk-band-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.bk-band-note { margin:16px 0 0; font-size:.84rem; font-weight:700; color:#bda894; }
.bk-chip { display:flex; align-items:center; gap:10px; margin-top:12px; padding:7px 12px 7px 8px; border-radius:14px; background:var(--bk-night); color:#e9d9c6; text-decoration:none; font-size:.8rem; line-height:1.25; font-weight:600; box-shadow:0 3px 0 #000; transition:filter .2s ease,transform .15s ease; }
.bk-chip:hover { filter:brightness(1.2); transform:translateY(-1px); }
.bk-chip img { flex:none; width:26px; height:36px; object-fit:cover; border-radius:3px; box-shadow:0 0 0 1px rgba(255,255,255,.5); }
.bk-chip span:nth-child(2) { flex:1; }
.bk-chip b { display:block; color:#ff9a57; font-size:.66rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }

/* ---------- narrower screens */
@media (max-width:1000px) {
  .bk-hero { grid-template-columns:1fr; padding:36px 32px 40px; }
  .bk-hero-stage { max-width:520px; width:100%; margin:0 auto; }
  .bk-two { grid-template-columns:1fr; }
  .bk-two-link { flex-direction:row; max-width:none; text-align:left; gap:18px; justify-self:center; }
  .bk-task-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bk-interest { grid-template-columns:1fr; padding:40px 32px; gap:36px; }
  .bk-interest-side { max-width:520px; width:100%; margin:0 auto; }
  .bk-band { grid-template-columns:1fr; padding:34px 30px; }
  .bk-band-visual { order:2; min-height:280px; }
  .bk-nav-links a.header-section-link:not(:first-child) { display:none; }
}
@media (max-width:760px) {
  .bk-strip { grid-template-columns:54px repeat(3,216px) 162px 54px 54px; }
  .bk-main { padding:72px 14px 96px; }
  .bk-hero { padding:28px 22px 30px; border-radius:1.8rem; }
  .bk-hero-stage { min-height:0; }
  .bk-hero-stage { min-height:calc(84vw * .54 * 1.4143 + 190px) !important; }
  .bk-board { width:54%; top:26px; }
  .bk-arc { left:50%; width:44%; top:20px; }
  .bk-scan { left:auto; right:0; top:26px; font-size:.64rem; padding:7px 11px; }
  .bk-hero-actions .bk-btn { flex:1 1 100%; }
  .bk-main > section:not(.bk-hero):not(.bk-interest) { margin-top:56px; }
  .bk-reader { padding:14px 10px 14px; border-radius:1.4rem; }
  .bk-rail { flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; margin:0 -10px 14px; padding:2px 10px 6px; scrollbar-width:none; }
  .bk-rail::-webkit-scrollbar { display:none; }
  .bk-rail button { flex:none; }
  .bk-stage { grid-template-columns:minmax(0,1fr); }
  .bk-turn { position:absolute; z-index:6; top:calc(50% - 60px); width:44px; height:44px; opacity:.92; }
  .bk-turn-prev { left:2px; } .bk-turn-next { right:2px; }
  .bk-stage { position:relative; }
  .bk-caption { flex-wrap:wrap; gap:10px 12px; padding:12px 14px; }
  .bk-caption > img { width:44px; height:44px; }
  .bk-caption > div { flex:1 1 60%; }
  .bk-play { width:100%; justify-content:center; }
  .bk-thumbs { display:none; }
  .bk-steps { grid-template-columns:1fr; }
  .bk-books { grid-template-columns:1fr; }
  .bk-teacher { grid-template-columns:1fr; padding:22px; gap:14px; }
  .bk-teacher-pages { margin:0 auto; }
  .bk-interest { margin-top:60px; padding:30px 18px 22px; border-radius:1.8rem; }
  .bk-interest-card { padding:40px 18px 20px; }
  .bk-thanks { flex-direction:column; align-items:center; text-align:center; }
  .bk-thanks-actions { justify-content:center; }
  .bk-close { padding:28px 22px; border-radius:1.8rem; }
  .bk-sticky { right:12px; left:12px; width:auto; justify-content:space-between; }
  .bk-sticky p { flex:1; }
  .bk-sticky p span { display:none; }
  .bk-sticky { gap:10px; }
  .bk-ribbon { flex-wrap:wrap; border-radius:1.4rem; padding:10px 14px; gap:8px 10px; font-size:.88rem; }
  .bk-ribbon > img { margin-left:2px; }
  .bk-ribbon-text { flex:1 1 60%; }
  .bk-ribbon-go { flex:1 1 100%; text-align:right; }
  .bk-band { padding:28px 20px 30px; border-radius:1.8rem; margin-top:32px; }
  .bk-band-actions .bk-btn { flex:1 1 100%; }
  .bk-band-fan img { width:120px; top:-86px; }
  .bk-band-visual { min-height:250px; }
  .bk3d-small { --w:158px; }
}
@media (prefers-reduced-motion:reduce) {
  .bk-flip, .bk-book, .bk3d-book, .bk-sticky { transition:none; }
  .bk-arc path, .bk-board-bar i, .bk-turn-hint { animation:none; }
  .bk-reader.is-single .bk-leaf-right { animation:none !important; }
}

/* ---------- the interactive sample: tasks you can open on every page (book.js, seo/book-hotspots.json) */
.bk-leaf { cursor:zoom-in; }
.bk-spots { position:absolute; inset:0; z-index:2; pointer-events:none; }
.bk-spot { position:absolute; left:4%; right:4%; padding:0; border:0; border-radius:10px; background:transparent; cursor:pointer; pointer-events:auto; box-shadow:inset 0 0 0 2px transparent; transition:background .18s ease,box-shadow .18s ease; }
.bk-spot:hover, .bk-spot:focus-visible, .bk-spot.is-open { background:rgba(233,101,27,.07); box-shadow:inset 0 0 0 2.5px rgba(233,101,27,.85); outline:0; }
.bk-spot-pin { position:absolute; right:-10px; top:6px; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:var(--bk-orange); color:#fff; box-shadow:0 0 0 3px #fff,0 6px 12px -4px rgba(120,50,0,.6); transition:transform .18s ease; }
.bk-spot-pin svg { display:block; }
.bk-spot.is-listening .bk-spot-pin { background:#6a4ed0; }
.bk-spot.is-reading .bk-spot-pin { background:#0e7a7e; }
.bk-spot.is-recap .bk-spot-pin, .bk-spot.is-grammar .bk-spot-pin { background:#6a4ed0; }
.bk-spot:hover .bk-spot-pin, .bk-spot.is-open .bk-spot-pin { transform:scale(1.15); }
.bk-spot-label { position:absolute; right:22px; top:4px; max-width:70%; padding:5px 10px; border-radius:999px; background:var(--bk-ink); color:#fff; font-size:.72rem; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:0; transform:translateX(6px); transition:opacity .18s ease,transform .18s ease; pointer-events:none; }
.bk-spot:hover .bk-spot-label, .bk-spot:focus-visible .bk-spot-label { opacity:1; transform:none; }
/* a soft pulse on the pins the first time a reader opens the book, so they know the pages answer back */
.bk-reader:not(.has-turned) .bk-spot-pin { animation:bk-pin 2.2s ease-out 1.2s 2; }
@keyframes bk-pin { 0% { box-shadow:0 0 0 3px #fff,0 0 0 3px rgba(233,101,27,.7); } 70%,100% { box-shadow:0 0 0 3px #fff,0 0 0 16px rgba(233,101,27,0); } }
.bk-reader.no-spots .bk-spots { display:none; }
.bk-leaf-zoom { position:absolute; right:10px; bottom:10px; z-index:3; display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; border-radius:50%; background:rgba(28,18,12,.78); color:#fff; cursor:zoom-in; opacity:0; transition:opacity .2s ease,background .2s ease; }
.bk-leaf:hover .bk-leaf-zoom, .bk-leaf-zoom:focus-visible { opacity:1; }
.bk-leaf-zoom:hover { background:var(--bk-orange-d); }
.bk-reader.is-single .bk-leaf-zoom { opacity:.85; }
.bk-hint { display:flex; justify-content:center; margin:0 0 10px; }
.bk-explore-toggle { display:inline-flex; align-items:center; gap:10px; padding:8px 16px 8px 12px; border:0; border-radius:999px; background:var(--bk-paper); box-shadow:0 3px 0 var(--bk-rule); font:inherit; font-size:.84rem; font-weight:700; color:var(--bk-ink2); cursor:pointer; }
.bk-explore-dot { position:relative; width:34px; height:20px; border-radius:999px; background:var(--bk-orange); transition:background .2s ease; flex:none; }
.bk-explore-dot::after { content:""; position:absolute; top:3px; left:17px; width:14px; height:14px; border-radius:50%; background:#fff; transition:left .2s ease; }
.bk-explore-toggle[aria-pressed="false"] .bk-explore-dot { background:#cdbba6; }
.bk-explore-toggle[aria-pressed="false"] .bk-explore-dot::after { left:3px; }

/* a task opened: a panel on the right (a sheet from the bottom on a phone) */
.bk-explore { position:fixed; inset:0 0 0 auto; width:min(480px,100vw); max-width:100vw; height:100vh; height:100dvh; max-height:100dvh; margin:0; padding:0; border:0; background:var(--bk-paper); color:var(--bk-ink2); box-shadow:-24px 0 60px -20px rgba(0,0,0,.55); font-family:Inter,system-ui,sans-serif; }
.bk-explore[open] { display:flex; flex-direction:column; animation:bk-x-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes bk-x-in { from { transform:translateX(40px); opacity:0; } }
.bk-explore::backdrop { background:rgba(20,12,7,.28); }
.bk-x-head { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:4px 12px; padding:22px 22px 16px; border-bottom:1.5px solid var(--bk-rule); }
.bk-x-lesson { grid-column:1; justify-self:start; padding:4px 11px; border-radius:999px; background:var(--bk-a); color:#fff; font-size:.7rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.bk-x-lesson[data-lesson="B"] { background:var(--bk-b); } .bk-x-lesson[data-lesson="C"] { background:var(--bk-c); } .bk-x-lesson[data-lesson="other"] { background:var(--bk-g); }
.bk-x-head h3 { grid-column:1; margin:6px 0 0; font-family:var(--bk-serif); font-size:1.5rem; font-weight:700; line-height:1.15; color:var(--bk-ink); }
.bk-x-close { grid-column:2; grid-row:1 / span 2; width:40px; height:40px; border:0; border-radius:50%; background:var(--bk-sand); color:var(--bk-ink); font-size:1.5rem; line-height:1; cursor:pointer; }
.bk-x-close:hover { background:var(--bk-orange); color:#fff; }
.bk-x-body { flex:1; overflow:auto; padding:6px 22px 24px; -webkit-overflow-scrolling:touch; }
.bk-x-body section { padding-top:18px; }
.bk-x-body section[hidden] { display:none; }
.bk-x-body h4 { display:flex; align-items:center; gap:8px; margin:0 0 10px; font-size:.74rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; color:var(--bk-orange-d); }
.bk-x-for { padding:2px 8px; border-radius:999px; background:var(--bk-sand); color:var(--bk-muted); font-size:.64rem; letter-spacing:.08em; }
.bk-x-for[hidden] { display:none; }
.bk-x-listen p, .bk-x-tip p { margin:0 0 12px; font-size:.97rem; line-height:1.6; font-weight:500; }
.bk-x-tip p { margin:0; padding:14px 16px; border-radius:14px; background:var(--bk-cream); box-shadow:inset 3px 0 0 var(--bk-orange); }
.bk-x-jump .bk-btn { width:100%; box-shadow:inset 0 3px 0 #fff,0 4px 0 var(--bk-rule); }
.bk-x-rows { margin:0; padding:0; list-style:none; counter-reset:row; display:grid; gap:8px; }
.bk-x-rows li { position:relative; display:grid; gap:3px; padding:10px 12px 10px 40px; border-radius:12px; background:#fff; box-shadow:0 0 0 1.5px var(--bk-rule); counter-increment:row; }
.bk-x-rows li::before { content:counter(row); position:absolute; left:11px; top:10px; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--bk-sand); font-size:.7rem; font-weight:900; color:var(--bk-ink); }
.bk-x-q { font-size:.86rem; line-height:1.45; font-weight:500; color:var(--bk-muted); }
.bk-x-a { font-size:.95rem; line-height:1.45; font-weight:800; color:var(--bk-ink); }
.bk-x-teacher-note { margin:0 0 12px; padding:12px 14px; border-radius:12px; background:var(--bk-cream); box-shadow:inset 3px 0 0 var(--bk-orange); font-size:.92rem; line-height:1.55; font-weight:500; }
.bk-x-note { margin:0 0 10px; font-size:.88rem; font-weight:600; color:var(--bk-muted); }
.bk-x-transcript { margin-top:12px; border-radius:12px; background:var(--bk-cream); }
.bk-x-transcript summary { padding:11px 14px; font-weight:800; color:var(--bk-ink); cursor:pointer; }
.bk-x-transcript p { margin:0; padding:0 14px 14px; font-size:.9rem; line-height:1.6; white-space:pre-line; }
.bk-x-loading { margin:0; font-size:.9rem; font-weight:600; color:var(--bk-muted); }
.bk-x-lock { display:flex; gap:14px; padding:16px; border-radius:16px; background:linear-gradient(160deg,#2b1c12,#1c120c); color:#e9d9c6; }
.bk-x-lock-icon { flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:rgba(255,255,255,.1); color:#ff9a57; }
.bk-x-lock b { display:block; color:#fff; font-size:1rem; }
.bk-x-lock p { margin:4px 0 12px; font-size:.88rem; line-height:1.5; }
.bk-x-lock-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; }
.bk-x-lock .bk-btn { padding:10px 18px; font-size:.9rem; --press:3px; }
.bk-x-lock .bk-link { color:#ff9a57; }
.bk-x-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 16px; border-top:1.5px solid var(--bk-rule); background:var(--bk-cream); }
.bk-x-foot button { padding:9px 14px; border:0; border-radius:999px; background:#fff; box-shadow:0 3px 0 var(--bk-rule); font:inherit; font-size:.85rem; font-weight:800; color:var(--bk-ink); cursor:pointer; }
.bk-x-foot button:disabled { opacity:.35; cursor:default; }
.bk-x-foot span { font-size:.78rem; font-weight:700; color:var(--bk-muted); }
@media (max-width:760px) {
  .bk-explore { inset:auto 0 0 0; width:100vw; height:88dvh; border-radius:22px 22px 0 0; box-shadow:0 -20px 50px -10px rgba(0,0,0,.5); }
  .bk-explore[open] { animation:bk-x-up .3s cubic-bezier(.2,.8,.2,1); }
  @keyframes bk-x-up { from { transform:translateY(60px); opacity:0; } }
  .bk-spot-pin { right:-6px; width:24px; height:24px; }
  .bk-spot-label { display:none; }
  .bk-explore-toggle { font-size:.76rem; text-align:left; }
}
@media (prefers-reduced-motion:reduce) { .bk-reader .bk-spot-pin, .bk-explore[open] { animation:none !important; } }

/* ---------- the window the teacher home opens (/gcse-spanish/textbook/look-inside/) */
.bk-embed { background:var(--bk-cream); }
.bk-embed-main { max-width:1180px; margin:0 auto; padding:22px 22px 28px; }
.bk-embed-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:14px 24px; margin-bottom:16px; }
.bk-embed-head .bk-pill { background:var(--bk-orange-l); border-color:var(--bk-orange); color:var(--bk-orange-d); }
.bk-embed-head h1 { margin:10px 0 0; font-family:var(--bk-serif); font-size:clamp(1.5rem,3vw,2.1rem); font-weight:700; line-height:1.1; color:var(--bk-ink); }
.bk-embed-head p { margin:6px 0 0; max-width:620px; font-size:.98rem; line-height:1.5; font-weight:500; }
.bk-embed-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; }
.bk-embed-actions .bk-btn[disabled] { opacity:.75; cursor:default; }
.bk-embed .bk-reader { padding:16px 16px 14px; }
.bk-embed .bk-book { width:min(100%,980px,calc(62vh * 1.4137)); }
.bk-embed-offer { margin:16px 0 0; text-align:center; font-size:.92rem; font-weight:600; color:var(--bk-ink2); }
.bk-embed-offer b { color:var(--bk-orange-d); }
.bk-interest-dialog { width:min(520px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:26px 24px 20px; border:0; border-radius:1.6rem; background:linear-gradient(160deg,#2b1c12,#1c120c); color:#e9d9c6; box-shadow:0 40px 80px -20px rgba(0,0,0,.7); }
.bk-interest-dialog::backdrop { background:rgba(20,12,7,.55); }
.bk-interest-dialog .bk-x-close { position:absolute; right:14px; top:14px; }
.bk-interest-dialog h2 { margin:0 44px 0 0; font-family:var(--bk-serif); font-size:1.55rem; font-weight:700; line-height:1.1; color:#fff; }
.bk-dialog-offer { margin:10px 0 16px; font-size:.95rem; line-height:1.5; }
.bk-dialog-offer b { color:#ff9a57; }
.bk-interest-dialog .bk-interest-card { padding:22px 20px 18px; }
.bk-interest-dialog .bk-terms { margin-top:12px; }
@media (max-width:760px) { .bk-embed-main { padding:14px 10px 20px; } .bk-embed-actions { width:100%; } .bk-embed-actions .bk-btn { flex:1; } }

/* the slide, live, in the task panel: a 1280 × 720 frame scaled to the panel (book.js fitFrame) */
.bk-x-livetag { display:inline-flex; align-items:center; gap:6px; padding:2px 9px; border-radius:999px; background:var(--bk-ink); color:#fff; font-size:.64rem; letter-spacing:.1em; }
.bk-x-livetag[hidden] { display:none; }
.bk-x-livetag i { width:7px; height:7px; border-radius:50%; background:#ff5a3c; animation:bk-live 1.8s ease-out infinite; }
.bk-x-stage { position:relative; overflow:hidden; aspect-ratio:16 / 9; border-radius:12px; background:#1c120c; box-shadow:0 0 0 6px #1c120c,0 18px 30px -14px rgba(0,0,0,.6); }
.bk-x-stage > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:opacity .3s ease; }
.bk-x-frame { position:absolute; left:0; top:0; width:1280px; height:720px; border:0; transform-origin:0 0; opacity:0; transition:opacity .3s ease; }
.bk-x-stage.is-live > img { opacity:0; pointer-events:none; }
.bk-x-stage.is-live .bk-x-frame { opacity:1; }
.bk-x-stage:fullscreen { aspect-ratio:auto; width:100vw; height:100vh; border-radius:0; box-shadow:none; }
.bk-x-full { position:absolute; right:8px; bottom:8px; z-index:2; display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; border-radius:50%; background:rgba(28,18,12,.78); color:#fff; cursor:pointer; }
.bk-x-full:hover { background:var(--bk-orange-d); }
.bk-x-hint { margin:14px 0 10px; font-size:.86rem; font-weight:600; color:var(--bk-muted); }
.bk-x-play.bk-btn { padding:11px 18px; font-size:.92rem; color:#fff; --press:4px; }
.bk-x-answers.is-nudged { animation:bk-nudge-box .7s ease; }
@keyframes bk-nudge-box { 0%,100% { transform:none; } 20%,60% { transform:translateX(-6px); } 40%,80% { transform:translateX(6px); } }

/* the contents page: every line is a lesson to open (no pins: the whole line lights up) */
.bk-spot.is-toc { border-radius:6px; }
.bk-spot.is-toc .bk-spot-pin { display:none; }
.bk-spot.is-toc .bk-spot-label { right:auto; left:100%; margin-left:6px; top:50%; transform:translate(-4px,-50%); max-width:none; }
.bk-spot.is-toc:hover .bk-spot-label, .bk-spot.is-toc:focus-visible .bk-spot-label { transform:translate(0,-50%); }
.bk-leaf-right .bk-spot.is-toc .bk-spot-label { left:auto; right:100%; margin:0 6px 0 0; }
.bk-reader:not(.has-turned) .bk-spot.is-toc { animation:none; }

/* full screen: the book fills the screen, its pages as large as the height allows */
.bk-hint { gap:10px; flex-wrap:wrap; }
.bk-full-toggle { display:inline-flex; align-items:center; gap:8px; padding:8px 16px; border:0; border-radius:999px; background:var(--bk-ink); box-shadow:0 3px 0 #000; font:inherit; font-size:.84rem; font-weight:800; color:#fff; cursor:pointer; }
.bk-full-toggle:hover { background:var(--bk-orange-d); }
.bk-reader.in-full { display:flex; flex-direction:column; padding:12px 18px; border-radius:0; background:radial-gradient(120% 70% at 50% 0%,#fff,transparent 60%),var(--bk-sand); overflow:auto; }
.bk-reader.is-full { position:fixed; inset:0; z-index:150; }
.bk-reader:fullscreen { width:100vw; height:100vh; }
.bk-reader.in-full .bk-rail { margin-bottom:8px; }
.bk-reader.in-full .bk-stage { flex:1; min-height:0; }
.bk-reader.in-full .bk-book { width:min(100%,calc((100vh - 150px) * 1.4137)); }
.bk-reader.in-full.is-single .bk-book { width:min(100%,calc((100vh - 150px) * .707)); }
.bk-reader.in-full .bk-caption, .bk-reader.in-full .bk-scrub { display:none; }
.bk-reader.in-full .bk-hint { margin:8px 0 0; }
html.bk-full-lock, html.bk-full-lock body { overflow:hidden; }

/* the lesson player over the book (book.js openPlayer): large, never leaving the book's full screen */
.bk-player { width:min(1320px,96vw); max-width:96vw; height:min(860px,92vh); max-height:92vh; margin:auto; padding:0; border:0; border-radius:18px; background:#0f172a; color:#fff; box-shadow:0 40px 100px -20px rgba(0,0,0,.8); overflow:hidden; }
.bk-player[open] { display:flex; flex-direction:column; animation:bk-x-in .25s ease; }
.bk-player::backdrop { background:rgba(20,12,7,.7); backdrop-filter:blur(3px); }
.bk-player.is-max, .bk-player:fullscreen { width:100vw; max-width:100vw; height:100vh; height:100dvh; max-height:100dvh; border-radius:0; }
.bk-player.is-max .bk-p-head, .bk-player:fullscreen .bk-p-head, .bk-player.is-max .bk-p-note, .bk-player:fullscreen .bk-p-note { display:none; }
.bk-p-head { display:flex; align-items:center; gap:12px; padding:10px 12px 10px 16px; background:#1c120c; }
.bk-p-head h3 { flex:1; min-width:0; margin:0; font-family:var(--bk-serif); font-size:1.15rem; font-weight:700; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bk-p-head .bk-x-lesson { flex:none; }
.bk-p-head .bk-x-close { flex:none; width:36px; height:36px; background:rgba(255,255,255,.14); color:#fff; }
.bk-p-head .bk-x-close:hover { background:var(--bk-orange); }
.bk-p-notebtn { flex:none; padding:7px 12px; border:0; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; font:inherit; font-size:.8rem; font-weight:800; cursor:pointer; }
.bk-p-notebtn[aria-expanded="true"] { background:var(--bk-orange); }
.bk-p-nav { flex:none; display:flex; align-items:center; gap:6px; font-size:.78rem; font-weight:700; color:#d9c6b0; }
.bk-p-nav button { width:32px; height:32px; border:0; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; font-size:1.2rem; line-height:1; cursor:pointer; }
.bk-p-nav button:disabled { opacity:.3; cursor:default; }
.bk-p-note { margin:0; padding:10px 18px; background:#2b1c12; color:#f4e6d3; font-size:.92rem; line-height:1.5; }
.bk-p-note[hidden], .bk-p-lock[hidden] { display:none; }
.bk-p-lock { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:10px 18px; background:#fff7ed; color:#7c2d12; font-size:.9rem; }
.bk-p-lock a { font-weight:800; color:#c2410c; }
.bk-p-lock.is-nudged { animation:bk-nudge-box .7s ease; }
.bk-p-stage { position:relative; flex:1; min-height:0; background:#0f172a; }
.bk-p-stage > img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:.55; transition:opacity .3s ease; }
.bk-p-loading { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); padding:10px 16px; border-radius:999px; background:rgba(15,23,42,.85); font-size:.9rem; font-weight:800; }
.bk-p-frame { position:absolute; inset:0; width:100%; height:100%; border:0; opacity:0; transition:opacity .3s ease; }
.bk-p-stage.is-live .bk-p-frame { opacity:1; }
.bk-p-stage.is-live > img, .bk-p-stage.is-live .bk-p-loading { opacity:0; pointer-events:none; }
@media (max-width:760px) {
  .bk-player { width:100vw; max-width:100vw; height:100dvh; max-height:100dvh; border-radius:0; }
  .bk-p-head { gap:6px; padding:8px 8px 8px 10px; }
  .bk-p-head h3 { display:none; }
  .bk-p-head .bk-x-lesson { margin-right:auto; }
  .bk-p-notebtn { padding:6px 10px; font-size:.74rem; }
  .bk-p-nav { gap:4px; }
  .bk-p-nav button, .bk-p-head .bk-x-close { width:30px; height:30px; }
  .bk-p-lock { padding:8px 12px; font-size:.82rem; }
}
