/* Christian Classics — the store's look: parchment, leather brown and a
   classic serif, from the app icon. */
:root {
  --paper: #F7F2E9;
  --surface: #FFFFFF;
  --sunk: #EFE8DB;
  --ink: #2E2219;
  --muted: #7A6A5C;
  --line: #E3D9C9;
  --brown: #6F4320;
  --brown-2: #935D36;
  --brown-soft: #F1E6D8;
  --gold: #B8862E;
  --red: #B5432A;
  --green: #3F7A3A;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .08), 0 6px 18px rgba(60, 40, 20, .08);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--brown); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; color: var(--ink); }
h1 { font-size: 30px; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 0 0 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.narrow-top { padding-top: 28px; padding-bottom: 48px; }
.empty { padding: 40px 0; color: var(--muted); }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--brown); background: var(--brown); color: #fff; font: 600 14px var(--sans);
  cursor: pointer; text-decoration: none; white-space: nowrap; }
.button:hover { background: #5c3618; text-decoration: none; }
.button.ghost { background: transparent; color: var(--brown); }
.button.ghost:hover { background: var(--brown-soft); }
.button.small { padding: 6px 14px; font-size: 13px; }
.button.wide { width: 100%; }
.button.disabled { background: var(--sunk); color: var(--muted); border-color: var(--line); cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--brown); font: inherit; cursor: pointer; text-decoration: underline; }
.link.danger { color: var(--red); }

/* masthead */
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.masthead-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 19px var(--serif); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.search { flex: 1; display: flex; max-width: 520px; margin-left: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 16px; font: 14px var(--sans); color: var(--ink); min-width: 0; outline: none; }
.search button { border: 0; background: transparent; padding: 0 14px; color: var(--muted); cursor: pointer; }
.account-nav { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--brown); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " ▾"; font-size: 11px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; min-width: 190px; z-index: 50; }
.menu-panel a, .menu-panel button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--ink);
  background: none; border: 0; font: 14px var(--sans); cursor: pointer; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--paper); text-decoration: none; }
.menu-panel a.on { background: var(--brown-soft); font-weight: 600; }
.menu-panel.scroll { max-height: 60vh; overflow: auto; width: min(360px, 86vw); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

.mainnav { border-top: 1px solid var(--line); }
.mainnav-row { display: flex; align-items: center; gap: 26px; height: 46px; font-weight: 500; }
.mainnav a { color: var(--ink); }
.mainnav a:hover { color: var(--brown); }
.mainnav .nav-app { margin-left: auto; color: var(--brown); font-weight: 600; }
.mega summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--brown); }
.mega summary::-webkit-details-marker { display: none; }
.mega summary::before { content: "☰  "; }
.mega { position: static; }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 20px 0 26px; }
.mega-panel > * { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 20px; }
.mega-all { display: block; font-weight: 600; margin-bottom: 12px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 28px; }
.mega-grid a { padding: 8px 10px; border-radius: 8px; }
.mega-grid a:hover { background: var(--paper); text-decoration: none; }
.mega-grid strong { display: block; color: var(--ink); }
.mega-grid span { color: var(--muted); font-size: 13px; }

.messages { padding-top: 14px; }
.message { background: var(--brown-soft); border: 1px solid var(--line); padding: 10px 14px; border-radius: 10px; margin: 0 0 8px; }

/* hero carousel */
.hero { padding-top: 22px; }
.carousel { position: relative; background: linear-gradient(120deg, #4a2c14 0%, #6F4320 55%, #935D36 100%); border-radius: 18px;
  overflow: hidden; min-height: 340px; color: #fff; box-shadow: var(--shadow); }
.slide { display: none; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 40px 64px; }
.slide.active { display: grid; animation: fade .5s ease; }
@keyframes fade { from { opacity: .3 } to { opacity: 1 } }
.slide h1 { color: #fff; font-size: 34px; margin-bottom: 6px; }
.slide .eyebrow { color: #E9CF9A; }
.slide-author { font: italic 17px var(--serif); margin: 0 0 14px; color: #F3E7D3; }
.slide-desc { color: #EBDFCB; max-width: 560px; margin: 0 0 22px; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide .button { background: #F7F2E9; color: var(--brown); border-color: #F7F2E9; }
.slide .button.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.slide-cover img { width: 190px; aspect-ratio: 2/3; object-fit: cover; border-radius: 6px; box-shadow: 0 14px 36px rgba(0,0,0,.4); transform: rotate(2deg); }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.18); color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }
.carousel-arrow:hover { background: rgba(255,255,255,.32); }
.carousel-arrow.prev { left: 14px; } .carousel-arrow.next { right: 14px; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); padding: 0; cursor: pointer; }
.dots button.on { background: #fff; width: 22px; border-radius: 4px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 600; color: var(--gold); margin: 0 0 8px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.tile:hover { text-decoration: none; border-color: var(--brown-2); }
.tile strong { display: block; font: 700 17px var(--serif); color: var(--brown); }
.tile span { color: var(--muted); font-size: 14px; }

/* shelves */
.shelf { margin: 36px 0; }
.shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 16px; }
.shelf-head h2 { margin: 0; }
.shelf-tools { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.shelf-tools a { font-weight: 600; font-size: 14px; margin-right: 6px; }
.arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.arrow:hover { border-color: var(--brown-2); color: var(--brown); }
.shelf-track { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track .card { scroll-snap-align: start; }

/* book cards */
.card { display: flex; flex-direction: column; color: var(--ink); min-width: 0; }
.card:hover { text-decoration: none; }
.card:hover .cover img { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(60,40,20,.25); }
.cover { position: relative; display: block; aspect-ratio: 2/3; margin-bottom: 10px; }
.cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px 6px 6px 4px; box-shadow: 0 3px 10px rgba(60,40,20,.18); transition: transform .2s, box-shadow .2s; background: var(--sunk); }
.cover-blank { display: grid; place-items: center; height: 100%; padding: 12px; text-align: center; background: var(--brown); color: #fff; font: 14px var(--serif); border-radius: 6px; }
.ribbon { position: absolute; top: 8px; left: -4px; padding: 2px 8px; font-size: 11px; font-weight: 700; color: #fff; border-radius: 0 4px 4px 0; }
.ribbon.free { background: var(--green); } .ribbon.sale { background: var(--red); }
.card-title { font: 700 14px/1.35 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-author { color: var(--muted); font-size: 13px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { font-size: 13px; font-weight: 600; color: var(--red); margin-top: 4px; }
.card-price s { color: var(--muted); font-weight: 400; }
.free-text { color: var(--green); font-weight: 700; }

.categories-band { margin: 40px auto 56px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-grid a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); }
.category-grid a:hover { border-color: var(--brown-2); text-decoration: none; }
.category-grid strong { display: block; font-family: var(--serif); color: var(--brown); }
.category-grid span { color: var(--muted); font-size: 13px; }

/* listings */
.listing { display: grid; grid-template-columns: 210px 1fr; gap: 36px; padding-top: 28px; padding-bottom: 56px; }
.side { position: sticky; top: 134px; align-self: start; display: flex; flex-direction: column; }
.side h3 { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 6px; }
.side h3:first-child { margin-top: 0; }
.side a { color: var(--ink); padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.side a:hover { background: var(--surface); text-decoration: none; }
.side a.on { background: var(--brown); color: #fff; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.results-head p { margin: 0; }
.sort { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.sort select { margin-left: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font: inherit; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 28px 22px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 36px; font-weight: 600; }

/* book page */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0; }
.detail { display: grid; grid-template-columns: 260px 1fr; gap: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.detail-cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 12px 30px rgba(60,40,20,.25); }
.detail h1 { font-size: 32px; }
.byline { font: italic 17px var(--serif); margin: 0 0 18px; }
.price-box { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.price { font-size: 24px; font-weight: 700; color: var(--red); }
.badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.badge.sale { background: #FBE3DC; color: var(--red); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.note { font-size: 13px; color: var(--muted); max-width: 560px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.detail-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; margin: 36px 0; }
.prose { font: 16px/1.75 var(--serif); }
.editorial { background: var(--brown-soft); border-left: 3px solid var(--brown); padding: 12px 16px; border-radius: 6px; margin: 16px 0; font-size: 14px; }
.toc { margin: 0; padding-left: 22px; max-height: 520px; overflow: auto; }
.toc li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.toc .lock { font-size: 11px; opacity: .6; }
.toc span { color: var(--muted); }

/* reader */
body.reading { background: #FBF8F2; }
.reader-wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.reader-bar { position: sticky; top: 115px; z-index: 30; background: rgba(251,248,242,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.reader-bar-row { display: flex; align-items: center; gap: 16px; height: 48px; }
.reader-book { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.contents-menu .menu-panel { right: auto; left: 0; }
.reader-size { display: flex; gap: 4px; }
.reader-size button { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 4px 9px; cursor: pointer; color: var(--ink); }
.page { padding-top: 36px; padding-bottom: 60px; font: var(--reader-size, 19px)/1.8 var(--serif); }
.page p { margin: 0 0 1.05em; text-align: justify; hyphens: auto; }
.chapter-title { font-size: 1.6em; margin-bottom: 1.2em; }
.page h2.sub { font-size: 1.12em; margin: 1.6em 0 .7em; }
.page .verse { font-style: italic; text-align: center; padding: 0 1.5em; }
.page blockquote { margin: 0 0 1.05em; padding-left: 1.2em; border-left: 3px solid var(--line); color: #4a3b2f; }
.page .byline-p { text-align: right; font-style: italic; }
.ref { font-style: normal; color: var(--brown); border-bottom: 1px dotted var(--brown-2); }
.term { all: unset; cursor: help; border-bottom: 1px dashed var(--gold); }
.term:hover, .term:focus-visible { background: #F6EBD3; }
.term-pop { position: fixed; z-index: 60; max-width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; font: 14px/1.5 var(--sans); }
.term-pop strong { font-family: var(--serif); text-transform: capitalize; }
.term-pop p { margin: 6px 0; }
.term-pop small { color: var(--muted); font-size: 11px; }
.chapter-nav { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.sample-end { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-top: 40px; font: 16px/1.6 var(--sans); }
.sample-end h2 { margin-top: 0; }
body.reading.dark { background: #1d1813; color: #e9dfd0; }
body.reading.dark .page h1, body.reading.dark .page h2 { color: #f1e6d3; }
body.reading.dark .reader-bar { background: rgba(29,24,19,.94); border-color: #3a2f24; }
body.reading.dark .page blockquote { color: #cfc2ae; border-color: #3a2f24; }
body.reading.dark .term:hover { background: #3a2f24; }
body.reading.dark .sample-end, body.reading.dark .reader-size button { background: #2a221b; color: #e9dfd0; border-color: #3a2f24; }

/* accounts */
.auth-wrap { display: grid; place-items: center; padding: 48px 20px 72px; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.providers { display: grid; gap: 10px; margin: 22px 0 6px; }
.provider { background: var(--surface); color: var(--ink); border-color: var(--line); }
.provider:hover { background: var(--paper); }
.provider.apple { background: #000; color: #fff; border-color: #000; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-card label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.auth-card input { display: block; width: 100%; margin-top: 5px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font: 15px var(--sans); background: var(--paper); }
.auth-card input:focus { outline: 2px solid var(--brown-2); outline-offset: 0; }
.auth-error { color: var(--red); font-size: 14px; min-height: 1em; }
.auth-switch { font-size: 14px; color: var(--muted); }
.account { max-width: 760px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.profile-row { display: flex; align-items: center; gap: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.avatar.blank { display: grid; place-items: center; background: var(--brown); color: #fff; font: 700 26px var(--serif); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font: 600 13px var(--sans); cursor: pointer; color: var(--ink); }
.chip.on { background: var(--brown); border-color: var(--brown); color: #fff; }

/* pages */
.prose-page { max-width: 760px; padding-top: 32px; padding-bottom: 56px; font: 16px/1.75 var(--serif); }
.prose-page h2 { margin-top: 28px; }
.app-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 64px; }
.app-icon { border-radius: 42px; box-shadow: var(--shadow); }
.ticks { padding: 0; list-style: none; margin: 18px 0 26px; }
.ticks li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { background: #2E2219; color: #D9CCBB; padding: 36px 0 22px; }
.footer-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 17px; }
.footer-brand p { margin: 2px 0 0; font-size: 14px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: #E9DCC8; }
.copyright { font-size: 13px; color: #9F8F7C; margin-top: 22px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; }
.toast.show { opacity: 1; transform: translateX(-50%); }

@media (max-width: 900px) {
  .slide { grid-template-columns: minmax(0, 1fr); padding: 30px 28px 44px; }
  .slide-cover { display: none; }
  .slide h1 { font-size: 26px; }
  .carousel-arrow { display: none; }
  .tiles, .category-grid { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; gap: 10px; }
  .side { position: static; flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .side h3 { display: none; }
  .side a { white-space: nowrap; background: var(--surface); border: 1px solid var(--line); }
  .detail { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .detail-cover img { max-width: 200px; margin: 0 auto; }
  .detail-body { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
  .app-hero { grid-template-columns: 1fr; }
  .app-icon { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .masthead-row { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .brand span { font-size: 17px; }
  .brand img { width: 34px; height: 34px; }
  main, .masthead, .footer { overflow-x: clip; }
  .button { white-space: normal; text-align: center; }
  .slide { padding: 24px 20px 40px; }
  .slide h1 { font-size: 23px; }
  .slide-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .shelf-head h2 { font-size: 18px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .account-nav { margin-left: auto; }
  .account-nav > a:not(.button) { display: none; }
  .nav-toggle { display: block; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav-row { flex-direction: column; align-items: flex-start; height: auto; gap: 12px; padding: 14px 16px; }
  .mainnav .nav-app { margin-left: 0; }
  .mega-panel { position: static; box-shadow: none; border: 0; padding: 10px 0; }
  .shelf-track { grid-auto-columns: 120px; gap: 14px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 20px 14px; }
  .reader-bar { top: 0; position: relative; }
  .page { font-size: var(--reader-size, 18px); }
  .page p { text-align: left; }
  h1 { font-size: 25px; }
  .auth-card { padding: 22px; }
}

/* credits and buying */
.badge.owned { background: #E3EFE0; color: var(--green); font-size: 14px; padding: 4px 12px; }
.button.buy { background: #C8641A; border-color: #C8641A; }
.button.buy:hover { background: #a95413; }
.button[disabled] { opacity: .6; cursor: default; }
.credits-page { max-width: 860px; }
.balance { font-size: 16px; margin: 18px 0; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pack { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: var(--ink); }
.pack:hover { border-color: var(--brown-2); box-shadow: var(--shadow); }
.pack-credits { font: 700 32px var(--serif); color: var(--brown); }
.pack-credits small { font: 500 14px var(--sans); color: var(--muted); }
.pack-bonus { color: var(--green); font-weight: 600; font-size: 13px; min-height: 1.2em; }
.pack-price { margin-top: 6px; background: var(--brown); color: #fff; padding: 6px 16px; border-radius: 999px; font-weight: 600; }
.paid-note { border-color: #B9D7B2; background: #F1F8EE; }
@media (max-width: 720px) { .packs { grid-template-columns: repeat(2, 1fr); } }
