/* Bookcamp Studio plugin: studio, reader, account tabs, covers. Every class starts with bc-. Shared theme variables win; the values after the comma are fallbacks. */
.bc-root, .bc-lpages, .bc-cover-slot {
  --bcp-cream: var(--bc-cream, #FBF6EC); --bcp-paper: #F4ECDC; --bcp-card: var(--bc-card, #FFFFFF);
  --bcp-ink: var(--bc-ink, #1F2A44); --bcp-ink-2: #47506A; --bcp-ink-3: #636B82;
  --bcp-line: var(--bc-line, #E8DFCD); --bcp-line-2: #D9CEB8;
  --bcp-tomato: var(--bc-tomato, #F0563D); --bcp-tomato-2: #D8432B; --bcp-tomato-soft: #FDE6E0;
  --bcp-coin: #FFF2CC; --bcp-ok: #2F8A4E; --bcp-warn: #B33822;
  --bcp-r: var(--bc-radius, 16px); --bcp-r-lg: 22px; --bcp-pill: 999px;
  --bcp-sh-1: 0 1px 2px rgba(31,42,68,.06), 0 4px 14px rgba(31,42,68,.06);
  --bcp-sh-2: 0 2px 6px rgba(31,42,68,.06), 0 14px 36px rgba(31,42,68,.12);
  --bcp-sh-3: 0 20px 60px rgba(31,42,68,.24);
  --bcp-font: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.bc-root { color: var(--bcp-ink); font-family: var(--bcp-font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.bc-root *, .bc-root *::before, .bc-root *::after { box-sizing: border-box; }
.bc-root h1, .bc-root h2, .bc-root h3 { font-family: var(--bcp-font); color: var(--bcp-ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0; }
.bc-root p { margin: 0 0 1em; }
:where(.bc-root) button { font: inherit; color: inherit; cursor: pointer; }
:where(.bc-root) a { color: inherit; }
.bc-muted { color: var(--bcp-ink-3); }
.bc-small { font-size: 14px; }
.bc-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bcp-tomato-2); margin-bottom: 12px; display: inline-flex; gap: 8px; align-items: center; }
.bc-coin { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.bc-ic { width: 18px; height: 18px; flex: none; }
.bc-hidden, .bc-root [hidden] { display: none !important; }

/* page shell used when the plugin draws a whole page */
.bc-page { background: var(--bcp-cream); padding: 40px 0 80px; min-height: 60vh; }
.bc-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* buttons and inputs */
.bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--bcp-pill); border: 1.5px solid transparent; font-family: var(--bcp-font); font-weight: 700; font-size: 16px; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; text-decoration: none; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; cursor: pointer; }
.bc-btn:active { transform: translateY(1px); }
.bc-btn:focus-visible, .bc-root button:focus-visible, .bc-root a:focus-visible, .bc-input:focus-visible { outline: 3px solid rgba(31,42,68,.35); outline-offset: 2px; }
.bc-btn-primary { background: var(--bcp-tomato); color: #fff; box-shadow: 0 6px 16px rgba(240,86,61,.28); }
.bc-btn-primary:hover { background: var(--bcp-tomato-2); color: #fff; }
.bc-btn-ink { background: var(--bcp-ink); color: #fff; }
.bc-btn-ink:hover { background: #2C3A5C; color: #fff; }
.bc-btn-ghost { background: var(--bcp-card); border-color: var(--bcp-line-2); color: var(--bcp-ink); }
.bc-btn-ghost:hover { border-color: var(--bcp-ink); color: var(--bcp-ink); }
/* Themes style links inside content columns (underline, border, weight): plugin buttons keep their own look. */
.bc-root a.bc-btn { text-decoration: none; border-bottom: 1.5px solid transparent; font-weight: 700; }
.bc-root a.bc-btn-ghost { border-bottom-color: var(--bcp-line-2); color: var(--bcp-ink); }
.bc-root a.bc-btn-primary, .bc-root a.bc-btn-ink { color: #fff; }
.bc-btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.bc-btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.bc-btn-block { width: 100%; }
.bc-btn[disabled], .bc-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.bc-link { border: 0; background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 0; color: var(--bcp-ink); }
.bc-input { width: 100%; min-height: 48px; border: 1px solid var(--bcp-line-2); border-radius: 12px; background: var(--bcp-card); padding: 0 14px; font: inherit; font-size: 16px; color: var(--bcp-ink); }
.bc-input:focus { outline: none; border-color: var(--bcp-ink); box-shadow: 0 0 0 3px rgba(31,42,68,.14); }
.bc-field .bc-msg { display: none; color: var(--bcp-warn); font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.bc-field.bc-err .bc-input { border-color: var(--bcp-tomato); box-shadow: 0 0 0 3px rgba(240,86,61,.14); }
.bc-field.bc-err .bc-msg { display: block; }
.bc-warn { color: var(--bcp-warn); }
.bc-card { background: var(--bcp-card); border-radius: var(--bcp-r-lg); box-shadow: var(--bcp-sh-1); }

/* covers */
.bc-book { position: relative; display: block; border-radius: 3px 10px 10px 3px; aspect-ratio: 3 / 4; background: var(--bcp-paper); }
.bc-book > svg { width: 100%; height: 100%; display: block; border-radius: 3px 10px 10px 3px; }
.bc-book::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: rgba(31,42,68,.18); z-index: 1; pointer-events: none; }
.bc-book::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: rgba(31,42,68,.12); border-radius: 3px 0 0 3px; z-index: 1; pointer-events: none; }
[data-bc-cover]:empty, [data-bc-story-cover]:empty { background: var(--bcp-paper, #F4ECDC); }
[data-bc-cover] > svg, [data-bc-story-cover] > svg, [data-bc-scene] > svg { width: 100%; height: 100%; display: block; }

/* look inside (theme calls bookcamp_look_inside) */
.bc-lpages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bc-lpage { margin: 0; background: var(--bcp-card); border-radius: var(--bcp-r); box-shadow: var(--bcp-sh-1); overflow: hidden; display: flex; flex-direction: column; font-family: var(--bcp-font); }
.bc-lscene { aspect-ratio: 364 / 280; background: var(--bcp-paper); line-height: 0; }
.bc-lpage figcaption { position: relative; padding: 16px 48px 18px 18px; flex: 1; }
.bc-lpage figcaption p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--bcp-ink); }
.bc-lnum { position: absolute; right: 14px; bottom: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bcp-paper); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--bcp-ink-2); }

/* studio */
.bc-studio-head { margin-bottom: 28px; }
.bc-studio-head h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.02em; max-width: 32ch; margin: 0 0 10px; }
/* Themes often hold page content in a narrow reading column: the studio needs the full container. */
.bc-studio-page .prose:has(> .bc-root), .bc-studio-page .entry-content:has(> .bc-root) { max-width: none !important; }
.bc-studio-page .entry-content > .bc-root { max-width: var(--wp--style--global--wide-size, 1240px); margin-inline: auto; }
.bc-studio-head p { font-size: 18px; color: var(--bcp-ink-2); max-width: 56ch; margin: 0; }
.bc-note { display: flex; gap: 14px; align-items: center; background: var(--bcp-coin); border-radius: var(--bcp-r); padding: 14px 18px; margin-bottom: 22px; }
.bc-note .bc-coin { width: 30px; height: 30px; }
.bc-note p { margin: 0; flex: 1; font-size: 15px; color: var(--bcp-ink-2); }
.bc-note b { color: var(--bcp-ink); }
.bc-studio { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; }
.bc-sform { background: var(--bcp-card); border-radius: var(--bcp-r-lg); box-shadow: var(--bcp-sh-1); padding: 8px 32px; margin: 0; }
.bc-sform fieldset { border: 0; margin: 0; padding: 28px 0; border-bottom: 1px solid var(--bcp-line); min-width: 0; }
.bc-sform fieldset:last-child { border-bottom: 0; }
.bc-sform legend { display: flex; gap: 12px; align-items: center; font-size: 22px; font-weight: 800; letter-spacing: -.025em; padding: 0; margin-bottom: 18px; float: left; width: 100%; color: var(--bcp-ink); }
.bc-sform legend + * { clear: both; }
.bc-sform legend i { width: 30px; height: 30px; border-radius: 50%; background: var(--bcp-ink); color: #fff; font-style: normal; font-size: 14px; display: grid; place-items: center; flex: none; }
.bc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; clear: both; }
.bc-sform .bc-field > label, .bc-sform .bc-field > .bc-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.bc-sform fieldset > .bc-field { margin-bottom: 16px; clear: both; }
.bc-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-seg button { flex: 1 1 0; min-height: 48px; padding: 6px 12px; border-radius: 12px; border: 1.5px solid var(--bcp-line-2); background: var(--bcp-card); font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; }
.bc-seg button span { display: block; font-weight: 500; font-size: 13px; color: var(--bcp-ink-3); margin-top: 2px; }
.bc-seg button:hover { border-color: var(--bcp-ink-3); }
.bc-seg button[aria-checked="true"] { background: var(--bcp-ink); border-color: var(--bcp-ink); color: #fff; }
.bc-seg button[aria-checked="true"] span { color: #C9CEDB; }
.bc-worlds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; clear: both; }
.bc-world { position: relative; padding: 0; border: 0; background: transparent; text-align: left; border-radius: 14px; }
.bc-wart { display: block; aspect-ratio: 300 / 280; border-radius: 14px; overflow: hidden; outline: 3px solid transparent; outline-offset: 2px; transition: transform .15s ease, outline-color .15s; background: var(--bcp-paper); }
.bc-wart svg { width: 100%; height: 100%; display: block; }
.bc-world b { display: block; font-size: 14.5px; margin-top: 8px; letter-spacing: -.01em; }
.bc-world:hover .bc-wart { transform: translateY(-2px); }
.bc-world[aria-checked="true"] .bc-wart { outline-color: var(--bcp-ink); }
.bc-world[aria-checked="true"]::after { content: ""; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--bcp-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.bc-chips { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.bc-chips button { min-height: 42px; padding: 0 16px; border-radius: var(--bcp-pill); border: 1.5px solid var(--bcp-line-2); background: var(--bcp-card); font-weight: 700; font-size: 14.5px; }
.bc-chips button:hover { border-color: var(--bcp-ink-3); }
.bc-chips button[aria-checked="true"] { background: var(--bcp-ink); color: #fff; border-color: var(--bcp-ink); }
.bc-lengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; clear: both; }
.bc-lengths button { text-align: left; padding: 16px; border-radius: 14px; border: 1.5px solid var(--bcp-line-2); background: var(--bcp-card); display: flex; flex-direction: column; gap: 4px; }
.bc-lengths button b { font-size: 17px; letter-spacing: -.015em; }
.bc-lengths button span { font-size: 13.5px; color: var(--bcp-ink-3); line-height: 1.35; }
.bc-lengths button em { margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; font-style: normal; font-weight: 800; font-size: 14px; background: var(--bcp-coin); border-radius: var(--bcp-pill); padding: 4px 10px 4px 5px; align-self: flex-start; }
.bc-lengths button[aria-checked="true"] { border-color: var(--bcp-ink); box-shadow: inset 0 0 0 1.5px var(--bcp-ink); }
.bc-prev { position: sticky; top: 92px; background: var(--bcp-card); border-radius: var(--bcp-r-lg); box-shadow: var(--bcp-sh-1); padding: 24px; }
.bc-sp-cover { background: var(--bcp-paper); border-radius: 16px; padding: 28px 0; display: grid; place-items: center; margin-bottom: 16px; }
.bc-sp-cover .bc-book { width: 210px; transform: rotate(-2deg); box-shadow: var(--bcp-sh-2); transition: opacity .2s; }
.bc-sp-cover .bc-book.bc-ghost { opacity: .45; filter: saturate(.3); }
.bc-sum { margin: 0 0 18px; }
.bc-sum > div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--bcp-line); font-size: 14.5px; }
.bc-sum dt { color: var(--bcp-ink-3); font-weight: 600; }
.bc-sum dd { margin: 0; font-weight: 700; }
.bc-hint { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--bcp-ink-3); }
.bc-wallet { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bcp-line); font-size: 14.5px; }
.bc-wallet .bc-link { margin-left: auto; }
.bc-gate { text-align: center; padding: 8px 4px 4px; }
.bc-gate .bc-coin { width: 48px; height: 48px; margin-bottom: 10px; }
.bc-gate h3 { font-size: 22px; margin-bottom: 8px; }
.bc-gate p { color: var(--bcp-ink-2); font-size: 15px; }
.bc-gate .bc-btn { margin-top: 10px; }
.bc-gate .bc-link { margin-top: 14px; display: inline-block; }
.bc-writing { text-align: center; padding: 28px 8px; display: grid; justify-items: center; gap: 8px; }
.bc-writing > b { font-size: 20px; letter-spacing: -.02em; margin-top: 10px; }
.bc-writing > span { color: var(--bcp-ink-3); font-size: 14.5px; min-height: 1.4em; }
.bc-flip { position: relative; width: 150px; height: 110px; perspective: 600px; }
.bc-flip i { position: absolute; top: 0; left: 50%; width: 72px; height: 104px; background: var(--bcp-card); border: 2px solid var(--bcp-ink); border-radius: 2px 10px 10px 2px; transform-origin: left center; animation: bc-flip 1.2s ease-in-out infinite; }
.bc-flip i:nth-child(1) { background: var(--bcp-tomato-soft); }
.bc-flip i:nth-child(2) { background: var(--bcp-coin); animation-delay: .4s; }
.bc-flip i:nth-child(3) { background: #DCEBFA; animation-delay: .8s; }
.bc-flip::before { content: ""; position: absolute; left: calc(50% - 72px); top: 0; width: 72px; height: 104px; background: var(--bcp-paper); border: 2px solid var(--bcp-ink); border-radius: 10px 2px 2px 10px; }
@keyframes bc-flip { 0% { transform: rotateY(0); } 50%, 100% { transform: rotateY(-180deg); } }
.bc-wbar { width: 80%; height: 6px; border-radius: 6px; background: var(--bcp-paper); overflow: hidden; margin-top: 8px; }
.bc-wbar div { height: 100%; width: 0; background: var(--bcp-tomato); border-radius: 6px; animation: bc-wbar 6s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes bc-wbar { to { width: 92%; } }
@media (prefers-reduced-motion: reduce) { .bc-flip i, .bc-wbar div { animation: none; } .bc-wbar div { width: 60%; } }

/* reader */
.bc-rhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.bc-rhead h1 { font-size: clamp(32px, 4vw, 48px); margin: 8px 0 6px; }
.bc-rhead p { margin: 0; }
.bc-back { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14.5px; color: var(--bcp-ink-2); text-decoration: none; }
.bc-back:hover { color: var(--bcp-ink); }
.bc-ractions { display: flex; flex-wrap: nowrap; gap: 8px; justify-content: flex-end; align-items: center; }
.bc-ractions .bc-btn { min-height: 42px; }
.bc-stage { position: relative; display: flex; align-items: center; gap: 16px; }
.bc-stage > .bc-spread { flex: 1; min-width: 0; }
.bc-spread { display: grid; background: var(--bcp-card); border-radius: 18px; box-shadow: var(--bcp-sh-2); overflow: hidden; }
.bc-spread.bc-two { grid-template-columns: 1fr 1fr; }
.bc-spread.bc-two.bc-solo { grid-template-columns: 1fr; min-height: 420px; }
.bc-spread.bc-two .bc-rpage + .bc-rpage { border-left: 1px solid var(--bcp-line); box-shadow: inset 14px 0 18px -14px rgba(31,42,68,.18); }
.bc-rpage { position: relative; display: flex; flex-direction: column; min-height: 640px; margin: 0; }
.bc-rscene { aspect-ratio: 364 / 280; overflow: hidden; background: var(--bcp-paper); }
.bc-rscene svg { width: 100%; height: 100%; display: block; }
.bc-rtext { font-size: 21px; line-height: 1.6; letter-spacing: -.005em; padding: 26px 40px 56px; margin: 0 !important; font-weight: 500; }
.bc-rnum { position: absolute; bottom: 18px; left: 40px; font-size: 13px; color: var(--bcp-ink-3); font-weight: 700; }
.bc-rcover { background: var(--bcp-paper); display: grid; place-items: center; padding: 40px; }
.bc-rcover .bc-book { width: min(360px, 80%); box-shadow: var(--bcp-sh-3); transform: rotate(-2deg); }
.bc-rend { background: var(--bcp-paper); display: grid; place-items: center; text-align: center; padding: 40px; }
.bc-the-end { font-size: 56px; font-weight: 800; letter-spacing: -.04em; display: block; }
.bc-rend p { color: var(--bcp-ink-3); font-size: 18px; }
.bc-rend-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bc-buy { background: var(--bcp-card); border-radius: 18px; padding: 28px 24px; max-width: 380px; margin: 0 auto; display: grid; gap: 10px; justify-items: center; box-shadow: var(--bcp-sh-1); }
.bc-buy .bc-lock { width: 44px; height: 44px; border-radius: 50%; background: var(--bcp-coin); display: grid; place-items: center; }
.bc-buy h2 { font-size: 26px; }
.bc-buy p { margin: 0; font-size: 16px; color: var(--bcp-ink-2); }
.bc-arrow { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--bcp-line-2); background: var(--bcp-card); display: grid; place-items: center; color: var(--bcp-ink); padding: 0; }
.bc-arrow:disabled { opacity: .35; cursor: default; }
.bc-rnav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; }
.bc-dots { display: flex; gap: 2px; flex-wrap: nowrap; justify-content: center; }
.bc-dots button { width: 28px; height: 28px; border: 0; background: transparent; padding: 0; display: grid; place-items: center; }
.bc-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--bcp-line-2); transition: all .15s; }
.bc-dots button[aria-current="true"]::before { background: var(--bcp-ink); width: 22px; border-radius: 6px; }
.bc-prog { display: none; width: 160px; height: 6px; border-radius: 4px; background: var(--bcp-line); overflow: hidden; }
.bc-prog i { display: block; height: 100%; background: var(--bcp-ink); border-radius: 4px; transition: width .2s; }
.bc-pos { white-space: nowrap; font-size: 14px; color: var(--bcp-ink-3); }
.bc-keys { text-align: center; margin-top: 6px; font-size: 14px; color: var(--bcp-ink-3); }

/* account tabs */
.bc-acct h2 { font-size: 28px; margin-bottom: 6px; }
.bc-acct-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.bc-acct-head p { margin: 0; color: var(--bcp-ink-3); }
.bc-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; }
.bc-shelf-item { display: grid; gap: 10px; align-content: start; }
.bc-shelf-item .bc-book { box-shadow: var(--bcp-sh-2); }
.bc-shelf-item h3 { font-size: 16px; letter-spacing: -.015em; line-height: 1.25; }
.bc-shelf-item .bc-btn { width: 100%; }
.bc-sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bc-scard { background: var(--bcp-card); border-radius: 18px; box-shadow: var(--bcp-sh-1); padding: 18px; display: grid; gap: 14px; align-content: start; }
.bc-scard .bc-book { width: 62%; margin: 6px auto 0; transform: rotate(-2deg); }
.bc-scard h3 { font-size: 18px; letter-spacing: -.02em; margin-bottom: 4px; }
.bc-scard p { margin: 0; font-size: 14px; }
.bc-sc-actions { display: flex; gap: 8px; }
.bc-sc-actions .bc-btn { min-height: 42px; flex: 1; }
.bc-empty { text-align: center; padding: 44px 16px; background: var(--bcp-card); border-radius: 18px; box-shadow: var(--bcp-sh-1); }
.bc-empty h3 { font-size: 22px; margin-bottom: 8px; }
.bc-empty p { color: var(--bcp-ink-3); max-width: 44ch; margin: 0 auto 18px; }
.bc-tokbal { display: flex; align-items: center; gap: 16px; background: var(--bcp-coin); border-radius: 18px; padding: 22px 24px; margin-bottom: 28px; }
.bc-tokbal .bc-coin { width: 56px; height: 56px; }
.bc-tokbal b { display: block; font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.bc-tokbal span { color: var(--bcp-ink-2); font-weight: 600; }
.bc-tokbal .bc-btn { margin-left: auto; }
.bc-h3 { font-size: 20px; margin: 0 0 14px; }
.bc-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; }
.bc-pack { position: relative; border: 1.5px solid var(--bcp-line-2); border-radius: 18px; padding: 22px; background: var(--bcp-card); display: flex; flex-direction: column; }
.bc-pack-coins { display: flex; align-items: baseline; gap: 8px; }
.bc-pack-coins .bc-coin { width: 30px; height: 30px; align-self: center; }
.bc-pack-coins b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.bc-pack-coins span { font-weight: 700; color: var(--bcp-ink-3); }
.bc-pack h3 { font-size: 20px; margin: 14px 0 4px; }
.bc-pack p { color: var(--bcp-ink-3); font-size: 14.5px; margin: 0 0 16px; flex: 1; }
.bc-pack-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.bc-pack-price b { font-size: 24px; letter-spacing: -.02em; }
.bc-pack-price b del { font-size: 16px; color: var(--bcp-ink-3); }
.bc-pack-price span { font-size: 13px; color: var(--bcp-ink-3); }
.bc-pack-note { margin: 4px 0 30px; font-size: 14px; color: var(--bcp-ink-3); }
.bc-log { width: 100%; border-collapse: collapse; background: var(--bcp-card); border-radius: 16px; overflow: hidden; box-shadow: var(--bcp-sh-1); font-size: 15px; margin: 0; border: 0; }
.bc-log th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--bcp-ink-3); padding: 12px 16px; border: 0; border-bottom: 1px solid var(--bcp-line); background: transparent; font-weight: 700; }
.bc-log td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--bcp-line); background: transparent; vertical-align: top; }
.bc-log tr:last-child td { border-bottom: 0; }
.bc-log td:last-child, .bc-log th:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.bc-log .bc-pos-d { color: var(--bcp-ok); }
.bc-log .bc-date { white-space: nowrap; color: var(--bcp-ink-3); }
.bc-kind { display: inline-block; font-size: 13px; font-weight: 800; padding: 2px 8px; border-radius: var(--bcp-pill); margin-right: 10px; background: var(--bcp-paper); white-space: nowrap; }
.bc-kind.bc-k-pack { background: #E3F2E7; color: #1F6B3A; }
.bc-kind.bc-k-welcome { background: var(--bcp-coin); }
.bc-kind.bc-k-story { background: var(--bcp-tomato-soft); color: var(--bcp-warn); }
.bc-kind.bc-k-refund { background: #DCEBFA; color: #1F4F86; }
.bc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--bcp-ink, #1F2A44); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; z-index: 9999; box-shadow: 0 10px 30px rgba(31,42,68,.3); max-width: calc(100% - 32px); }

@media (max-width: 1180px) {
  .bc-studio { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
  .bc-worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bc-studio { grid-template-columns: 1fr; }
  .bc-prev { position: static; }
  .bc-packs, .bc-sgrid { grid-template-columns: 1fr 1fr; }
  .bc-rpage { min-height: 0; }
  .bc-lpages { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bc-wrap { padding: 0 16px; }
  .bc-page { padding: 24px 0 56px; }
  .bc-sform { padding: 4px 18px; }
  .bc-row2 { grid-template-columns: 1fr; }
  .bc-worlds { gap: 10px; }
  .bc-lengths { grid-template-columns: 1fr; }
  .bc-lengths button { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  .bc-lengths button em { margin: 0 0 0 auto; }
  .bc-sp-cover .bc-book { width: 160px; }
  .bc-packs, .bc-sgrid { grid-template-columns: 1fr; }
  .bc-shelf { grid-template-columns: 1fr 1fr; gap: 16px; }
  .bc-lpages { grid-template-columns: 1fr; }
  .bc-arrow { position: absolute; top: 34%; z-index: 3; width: 44px; height: 44px; background: rgba(255,255,255,.92); }
  .bc-arrow.bc-l { left: -6px; } .bc-arrow.bc-r { right: -6px; }
  .bc-stage { display: block; }
  .bc-rtext { font-size: 19px; padding: 20px 22px 48px; }
  .bc-rnum { left: 22px; }
  .bc-rcover { padding: 32px 20px; }
  .bc-rend { padding: 32px 18px; }
  .bc-rhead > div:first-child { width: 100%; }
  .bc-ractions { width: 100%; flex-wrap: wrap; }
  .bc-ractions > .bc-btn { flex: 1 1 100%; }
  .bc-dots.bc-many { display: none; }
  .bc-dots.bc-many + .bc-prog { display: block; }
  .bc-tokbal { flex-wrap: wrap; } .bc-tokbal .bc-btn { margin-left: 0; width: 100%; }
  .bc-note { flex-wrap: wrap; }
  .bc-note p { flex: 1 1 calc(100% - 50px); }
  .bc-note .bc-btn { width: 100%; }
  .bc-the-end { font-size: 44px; }
  .bc-log { font-size: 14px; }
  .bc-log th, .bc-log td { padding: 10px 12px; }
  .bc-log .bc-kind { display: block; width: max-content; margin: 0 0 4px; }
}
