
:root{--bg:#f6f6f7;--card:#fff;--text:#171717;--muted:#68686d;--line:#e2e2e5;--accent:#FFBF00;--theme-primary:#1F1F1F;--theme-accent:#FFBF00;--theme-neutral:#9095A1;--dark:#111;--radius:16px;--content-width:1200px;--header-logo-width:210px;--mobile-logo-width:160px;--footer-logo-width:210px}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:Arial,sans-serif;background:#111;color:var(--text);display:flex;flex-direction:column}
button,input,textarea,select{font:inherit}.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:22px;min-height:68px;padding:0 5vw;background:#fff;border-bottom:1px solid var(--line);box-sizing:border-box}.topbar>.brand{height:68px;display:flex;align-items:center;flex:0 0 auto;overflow:visible}
.brand{font-size:30px;font-weight:900;color:#111;text-decoration:none}.brand span{color:var(--accent)}.mainnav{display:flex;gap:6px;flex:1;overflow:auto}.mainnav[hidden]{display:none!important}.mainnav button{border:0;background:transparent;padding:10px;border-radius:9px;cursor:pointer;white-space:nowrap}.mainnav button:hover{background:#eee}.credit-pill{background:#111;color:#fff;padding:9px 13px;border-radius:999px;white-space:nowrap}
main{flex:1;background:var(--bg)}.page{padding:34px 5vw 70px}.hero{min-height:420px;border-radius:24px;padding:52px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.25)),linear-gradient(135deg,#5b2b10,#d97928);background-size:cover;background-position:center;color:#fff}.hero-inner{max-width:650px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800}.hero h1{font-size:clamp(42px,7vw,78px);line-height:.95;margin:14px 0}.hero p{font-size:19px;line-height:1.6}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.btn{display:inline-block;border:0;border-radius:11px;padding:13px 18px;font-weight:800;cursor:pointer;text-decoration:none}.btn-primary{background:var(--accent);color:#fff}.btn-secondary{background:#fff;color:#111}.btn-outline{background:#fff;border:1px solid var(--line);color:#111}
.section{margin-top:40px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px}.section h2,.page h2{font-size:30px;margin:0 0 8px}.muted{color:var(--muted)}.book-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.book-card{position:relative;background:transparent}.cover{aspect-ratio:2/3;border-radius:13px;background:linear-gradient(145deg,#222,#777);display:flex;align-items:end;padding:16px;color:#fff;font-size:20px;font-weight:900}.book-card h3{font-size:16px;margin:12px 0 4px}.book-card p{margin:0;color:var(--muted);font-size:14px}.plus{position:absolute;right:8px;top:8px;width:28px;height:28px;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer;z-index:4}.plus img{display:block;width:100%;height:100%;object-fit:contain} .plus:hover{transform:scale(1.05)}.preview-button{margin-top:12px;display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;padding:0;font-weight:800;cursor:pointer}.play-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;font-size:13px}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}input,textarea,select{width:100%;padding:12px;border:1px solid #d6d6da;border-radius:10px;background:#fff}textarea{min-height:130px}.notice{padding:14px;border-radius:12px;background:#fff3e6;border:1px solid #ffd1a5}
.footer{background:#111;color:#fff;padding:40px 5vw;margin-top:auto}.footer-brand{font-size:28px;font-weight:900;margin-bottom:16px}.footer-links{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:18px}.footer a{color:#fff}
.admin-layout{display:grid;grid-template-columns:230px 1fr;gap:22px}.sidebar{background:#111;color:#fff;border-radius:16px;padding:12px;height:max-content}.sidebar button{width:100%;display:block;border:0;background:transparent;color:#fff;text-align:left;padding:11px;border-radius:9px;cursor:pointer}.sidebar button.active{background:#fff;color:#111;font-weight:800}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid var(--line);text-align:left}.admin-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.builder-shell{display:grid;grid-template-columns:210px minmax(0,1fr) 290px;gap:16px;align-items:start}.builder-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px}.builder-panel.sticky{position:sticky;top:86px}.palette{display:grid;gap:8px}.palette button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px;text-align:left;cursor:pointer;font-weight:700}.builder-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.builder-canvas{background:#e9eaed;border-radius:16px;padding:16px;min-height:650px}.builder-page{background:#fff;min-height:600px;border-radius:10px;overflow:hidden}.builder-block{position:relative;outline:2px solid transparent;cursor:pointer}.builder-block:hover{outline-color:#ffb47a}.builder-block.selected{outline:3px solid var(--accent)}.block-tools{position:absolute;right:8px;top:8px;display:flex;gap:5px;z-index:5}.block-tools button{border:0;background:#111;color:#fff;width:30px;height:30px;border-radius:7px;cursor:pointer}.builder-banner{min-height:320px;padding:44px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.2)),linear-gradient(135deg,#5b2b10,#d97928);background-size:cover;background-position:center;color:#fff}.builder-banner h2{font-size:48px;line-height:1;margin:12px 0}.builder-text,.builder-contact,.builder-books,.builder-image,.builder-button{padding:34px 42px}.builder-books-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.builder-book{aspect-ratio:2/3;border-radius:10px;background:linear-gradient(145deg,#222,#777);color:#fff;padding:12px;display:flex;align-items:end;font-weight:900}.property-editor{display:grid;gap:11px}.property-editor label{display:grid;gap:6px;font-size:13px;font-weight:700}.page-tabs{display:flex;gap:7px;flex-wrap:wrap}.page-tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;cursor:pointer}.page-tab.active{background:#111;color:#fff}.device-buttons{display:flex;gap:6px}.device-buttons button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px;cursor:pointer}.device-buttons button.active{background:#111;color:#fff}.builder-canvas.tablet .builder-page{max-width:768px;margin:auto}.builder-canvas.mobile .builder-page{max-width:390px;margin:auto}.builder-canvas.mobile .builder-books-grid{grid-template-columns:repeat(2,1fr)}.empty{padding:80px 20px;text-align:center;color:var(--muted)}
.toast{position:fixed;right:20px;bottom:20px;background:#111;color:#fff;padding:12px 16px;border-radius:10px;z-index:100}
@media(max-width:1100px){.builder-shell{grid-template-columns:1fr}.builder-panel.sticky{position:static}.palette{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.book-grid{grid-template-columns:repeat(3,1fr)}.panel-grid,.admin-layout{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto}.sidebar button{white-space:nowrap}}
@media(max-width:650px){.topbar{flex-wrap:wrap}.mainnav{order:3;width:100%}.page{padding:22px 18px 50px}.hero{padding:28px}.book-grid{grid-template-columns:repeat(2,1fr);gap:12px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.builder-banner{padding:26px}.builder-text,.builder-contact,.builder-books,.builder-image,.builder-button{padding:24px}.palette{grid-template-columns:repeat(2,1fr)}}

.tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.tier-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;min-height:390px;position:relative}
.tier-card.featured{border:2px solid var(--accent);box-shadow:0 12px 35px rgba(244,123,32,.15)}
.tier-card h3{font-size:25px;margin:0 0 8px}.tier-price{font-size:38px;font-weight:900;margin:12px 0}.tier-price small{font-size:15px;color:var(--muted)}
.tier-card ul{padding-left:20px;line-height:1.8;flex:1}.tier-card .btn{width:100%;text-align:center}
.featured-label{position:absolute;right:16px;top:16px;background:var(--accent);color:#fff;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;text-transform:uppercase}
.legal-page{max-width:900px}.legal-page h1{font-size:44px;margin:0 0 14px}.legal-page h2{margin-top:32px}.legal-page p,.legal-page li{line-height:1.75;color:#4f4f54}
.dialog-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);display:grid;place-items:center;padding:20px;z-index:100}
.dialog{background:#fff;border-radius:18px;padding:24px;width:min(560px,100%);max-height:88vh;overflow:auto}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.dialog-head h3{margin:0}.dialog-close{border:0;background:#eee;border-radius:9px;width:34px;height:34px;cursor:pointer}
.status-message{margin-top:14px;padding:12px 14px;border-radius:10px;background:#e9f8ee;color:#17652d;display:none}.status-message.show{display:block}
.collection-empty{background:#fff;border:1px dashed #bbb;border-radius:16px;padding:40px;text-align:center;color:var(--muted)}
.link-button{border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;padding:0}
@media(max-width:950px){.tier-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.tier-grid{grid-template-columns:1fr}.legal-page h1{font-size:34px}}

.book-card.clickable{cursor:pointer}
.book-card.clickable:hover .cover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.18)}
.cover{transition:transform .2s ease,box-shadow .2s ease}
.book-detail{display:grid;grid-template-columns:260px minmax(0,1fr);gap:34px;align-items:start}
.book-detail-cover{aspect-ratio:2/3;border-radius:18px;background:linear-gradient(145deg,#222,#777);display:flex;align-items:end;padding:22px;color:#fff;font-size:28px;font-weight:900;position:sticky;top:90px}
.book-detail-content h1{font-size:44px;margin:0 0 8px}
.media-tabs{display:flex;gap:8px;margin:24px 0}
.media-tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer}
.media-tab.active{background:#111;color:#fff}
.media-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.chapter-list{display:grid;gap:10px;margin-top:18px}
.chapter-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--line);border-radius:12px}
.chapter-item button{border:0;background:var(--accent);color:#fff;border-radius:999px;padding:9px 13px;cursor:pointer}
.reader-content{font-family:Georgia,serif;font-size:19px;line-height:1.9;color:#333}
.reader-content h2{font-family:Arial,sans-serif}
.reader-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}
.full-audio{width:100%;margin:14px 0}
.progress-row{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:14px}
.locked-book{background:#fff3e6;border:1px solid #ffd1a5;padding:18px;border-radius:14px}
@media(max-width:800px){.book-detail{grid-template-columns:1fr}.book-detail-cover{position:static;max-width:260px}}

.book-subtitle{font-size:18px;line-height:1.6;margin:8px 0 6px;color:#2f2f33}
.book-author{margin:0 0 18px;color:var(--muted);font-weight:600}
.chapter-list{display:block;margin-top:18px}
.chapter-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.chapter-item:first-child{border-top:1px solid var(--line)}
.chapter-item button{border:0;background:var(--accent);color:#fff;border-radius:999px;padding:9px 13px;cursor:pointer}

.audio-shell{display:grid;grid-template-columns:auto minmax(0,1fr);gap:24px;align-items:center;padding:14px 0 10px;margin:8px 0 10px;background:#fff}
.audio-controls-left{display:flex;align-items:center;gap:12px}
.audio-icon-btn,.audio-play-btn{border:0;background:transparent;color:#111;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.audio-icon-btn{width:24px;height:24px;font-size:16px}
.audio-icon-btn.active{color:var(--accent)}
.audio-play-btn{width:36px;height:36px;border:2px solid #111;border-radius:999px;font-size:14px;font-weight:900}
.audio-progress-wrap{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:14px;align-items:center}
.audio-time{font-size:14px;color:#444;text-align:center}
.audio-track{position:relative;height:4px;background:#1f1f1f;border-radius:999px;overflow:hidden}
.audio-track-fill{position:absolute;left:0;top:0;bottom:0;background:#7bdcf3;border-radius:999px}
.chapter-item.active strong{color:var(--accent)}
.chapter-item.active .muted{color:#222}
@media(max-width:700px){
 .audio-shell{grid-template-columns:1fr;gap:14px}
 .audio-controls-left{justify-content:flex-start}
 .audio-progress-wrap{grid-template-columns:48px minmax(0,1fr) 48px}
}

.admin-form{display:grid;gap:14px}.admin-form.two{grid-template-columns:1fr 1fr}.admin-form .full{grid-column:1/-1}
.card-list{display:grid;gap:10px;margin-top:16px}.drag-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}
.icon-btn{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 10px;cursor:pointer}
@media(max-width:700px){.admin-form.two{grid-template-columns:1fr}.admin-form .full{grid-column:auto}}

.analytics-dashboard{display:grid;gap:24px}
.analytics-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.analytics-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;min-height:170px;box-shadow:0 10px 25px rgba(30,41,59,.07);overflow:hidden}
.analytics-card:after{content:"";position:absolute;right:-16px;top:-18px;width:82px;height:82px;border-radius:50%;background:#fff4d8}
.analytics-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff3db;color:#f5a400;font-weight:900;font-size:20px;margin-bottom:20px}
.analytics-card span{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:800;color:#6b7280}
.analytics-card strong{display:block;font-size:34px;line-height:1.05;margin:8px 0;color:#1f2937}
.analytics-card small{color:#667085}
.analytics-book-name{font-size:18px!important;line-height:1.25!important;max-width:220px}
.analytics-grid-main{display:grid;grid-template-columns:2fr 1fr;gap:20px}
.analytics-grid-bottom{display:grid;grid-template-columns:2fr 1fr;gap:20px}
.analytics-panel{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 25px rgba(30,41,59,.06);overflow:hidden}
.analytics-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid var(--line)}
.analytics-panel-head h3{margin:0 0 4px;font-size:20px}.analytics-panel-head p{margin:0;color:var(--muted)}
.analytics-panel .admin-table{margin:0}.analytics-panel .admin-table th{background:#f7f8fa}
.analytics-panel .admin-table td,.analytics-panel .admin-table th{padding-left:18px;padding-right:18px}
.status-pill{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.status-pill.active{background:#dff7e8;color:#16713c}.status-pill.inactive{background:#ffe0e0;color:#b42318}
.analytics-empty{display:grid;place-items:center;min-height:300px;color:var(--muted);padding:20px;text-align:center}
.analytics-cards-secondary .analytics-card{min-height:150px}
.book-performance-list{padding:8px 22px 22px}
.book-performance-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.book-performance-row:last-child{border-bottom:0}
.book-rank{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#111;color:#fff;font-weight:800}
.book-performance-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.book-performance-title span{color:var(--muted);font-size:13px}
.book-performance-bar{height:8px;background:#eceef1;border-radius:999px;margin:10px 0;overflow:hidden}.book-performance-bar span{display:block;height:100%;background:var(--accent);border-radius:999px}
.book-performance-meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.engagement-stat{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line)}
.engagement-stat:last-child{border-bottom:0}.engagement-stat span{color:var(--muted)}.engagement-stat strong{text-align:right;max-width:180px}
@media(max-width:1150px){.analytics-cards{grid-template-columns:repeat(2,1fr)}.analytics-grid-main,.analytics-grid-bottom{grid-template-columns:1fr}}
@media(max-width:650px){.analytics-cards{grid-template-columns:1fr}.book-performance-title{align-items:flex-start;flex-direction:column}.analytics-panel{overflow:auto}}

/* Keep the admin navigation locked in view on desktop. */
@media (min-width: 901px){
  .admin-layout{
    align-items:start;
  }

  .admin-layout > .sidebar{
    position:sticky;
    top:84px;
    max-height:calc(100vh - 104px);
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }

  .admin-layout > .panel{
    min-width:0;
  }
}

/* Keep mobile/tablet navigation flexible and scrollable instead of fixed. */
@media (max-width: 900px){
  .admin-layout > .sidebar{
    position:static;
    max-height:none;
    overflow-x:auto;
    overflow-y:hidden;
  }
}

.credit-admin-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0}
.credit-search{flex:1;min-width:260px;max-width:560px}
.credit-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.credit-summary-card{background:#f8f8fa;border:1px solid var(--line);border-radius:14px;padding:16px}
.credit-summary-card span{display:block;color:var(--muted);font-size:13px;font-weight:700}
.credit-summary-card strong{display:block;font-size:28px;margin-top:7px}
.credit-table-wrap{overflow-x:auto}
.credit-member-table{min-width:850px}
.member-credit-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.member-credit-actions input{width:82px;text-align:center;padding:9px}
.member-credit-number{font-size:20px}
.credit-history-panel{margin-top:20px;padding:16px;background:#f8f8fa;border:1px solid var(--line);border-radius:14px}
.credit-history-panel h4{margin:0 0 6px}
.status-pill{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.status-pill.active{background:#dff7e8;color:#16713c}
.status-pill.inactive{background:#ffe0e0;color:#b42318}
@media(max-width:800px){.credit-summary-grid{grid-template-columns:1fr}}

.builder-system-block{padding:30px 36px;background:#f7f8fa;border:1px dashed #aab0ba;min-height:140px}
.system-block-label{display:inline-flex;padding:7px 11px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.builder-system-block p{margin:14px 0 0;color:var(--muted);line-height:1.6}
.page-tabs{max-width:100%;overflow-x:auto;padding-bottom:4px;flex-wrap:nowrap}
.page-tab{white-space:nowrap}

.admin-books-wrap{display:grid;gap:18px}
.admin-books-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.admin-book-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.admin-book-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 10px 22px rgba(15,23,42,.07)}
.admin-book-cover{position:relative;min-height:420px;padding:28px 28px 34px;color:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}
.admin-book-cover-brand{font-size:14px;letter-spacing:.45em;text-align:center;opacity:.95}
.admin-book-cover h4{margin:72px 0 0;font-size:26px;line-height:1.15;font-family:Georgia,serif;font-weight:700;text-align:center;text-transform:uppercase;position:relative;z-index:2}
.admin-book-cover-bubble{position:absolute;right:-28px;top:-18px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.08)}
.admin-book-cover-arc{position:absolute;left:50%;bottom:110px;transform:translateX(-50%);width:230px;height:118px;border-top-left-radius:230px;border-top-right-radius:230px;border:3px solid rgba(255,255,255,.28);border-bottom:0}
.admin-book-cover-publisher{position:absolute;left:0;right:0;bottom:62px;text-align:center;font-size:13px;letter-spacing:.04em;font-weight:700}
.theme-indigo{background:linear-gradient(180deg,#5a38e6 0%,#21155e 100%)}
.theme-lilac{background:linear-gradient(180deg,#b58ef5 0%,#6b49a8 100%)}
.theme-gold{background:linear-gradient(135deg,#2d313d 0%,#c79a40 100%)}
.theme-copper{background:linear-gradient(135deg,#8a1f2a 0%,#c99555 100%)}
.theme-violet{background:linear-gradient(180deg,#7046c7 0%,#31205a 100%)}
.admin-book-body{padding:16px 16px 10px}
.admin-book-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.admin-book-title-row h4{margin:0 0 6px;font-size:17px}
.admin-book-title-row p{margin:0;color:var(--muted);font-size:14px}
.admin-status-pill{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#d9f2df;color:#17623a;font-size:12px;font-weight:800;white-space:nowrap}
.admin-book-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.admin-tag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.admin-tag-tier{background:#dbe9ff;color:#1e4f9c;text-transform:lowercase}
.admin-tag-featured{background:#ffbf00;color:#111}
.admin-book-actions{display:flex;gap:10px;padding:12px 16px 16px;border-top:1px solid var(--line)}
.admin-book-actions .btn{flex:1;justify-content:center;text-align:center}
.admin-book-delete{background:#cf2323;color:#fff}
.admin-book-edit{background:#fff}
@media(max-width:1200px){.admin-book-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.admin-book-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-book-cover{min-height:360px}}
@media(max-width:620px){.admin-book-card-grid{grid-template-columns:1fr}}

.site-logo{display:block;object-fit:contain}
.site-logo-header{width:min(var(--header-logo-width,210px),34vw);height:58px;max-width:none;object-position:left center}
.site-logo-footer{width:min(var(--footer-logo-width,210px),80vw);height:82px;max-width:none;object-position:left center}
.branding-preview{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.branding-preview-box{margin-top:8px;min-width:240px;min-height:90px;display:flex;align-items:center;justify-content:center;padding:18px;border:1px dashed var(--line);border-radius:14px;background:#fafafa}
.branding-preview-box img{max-width:100%;max-height:120px;object-fit:contain}
.branding-preview-box strong{font-size:28px}
.branding-header-preview-box{height:88px;overflow:hidden}.branding-live-logo-preview{height:68px;display:flex;align-items:center;justify-content:flex-start;width:min(100%,360px)}.branding-live-logo-preview img{width:min(var(--header-logo-width,210px),100%);height:58px;object-fit:contain;object-position:left center}
.branding-footer-preview-box{margin-top:8px;min-width:280px;min-height:128px;display:flex;align-items:center;justify-content:flex-start;padding:22px;border:1px solid #2f2f32;border-radius:14px;background:#111;color:#fff}.branding-live-footer-logo-preview{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:82px}.branding-live-footer-logo-preview img{width:min(var(--footer-logo-width,210px),100%);height:82px;object-fit:contain;object-position:left center}.branding-live-footer-logo-preview strong{font-size:28px;color:#fff}
.branding-logo-size-panel{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fafafa}.branding-size-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.branding-size-head strong{font-size:15px}.branding-size-head p{margin:5px 0 0;font-size:13px}.branding-size-head output{min-width:68px;text-align:center;padding:7px 10px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:800}.branding-size-range{width:100%;padding:0;border:0;margin:16px 0 4px;accent-color:var(--accent)}.branding-size-scale{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}
@media(max-width:650px){
 .topbar>.brand{height:58px}
 .site-logo-header{width:min(var(--mobile-logo-width,160px),52vw);height:44px}
 .site-logo-footer{width:min(var(--footer-logo-width,210px),74vw);height:68px}
 .branding-preview{align-items:stretch}
 .branding-size-head{align-items:center}
 .branding-footer-preview-box{min-width:0;width:100%}
}


.contact-form-section{
  padding-top: 10px;
}

.contact-clean-form{
  max-width: 760px;
  margin: 0 auto;
  padding: 4px 0 0;
}

.contact-clean-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-clean-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-clean-field span{
  color: rgba(17, 24, 39, 0.56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-clean-field input,
.contact-clean-field textarea{
  width: 100%;
  padding: 14px 16px !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  border-radius: 3px;
  background: #ffffff !important;
  color: #111827;
  font-size: 15px;
  outline: none;
  box-shadow: none !important;
}

.contact-clean-field input::placeholder,
.contact-clean-field textarea::placeholder{
  color: rgba(17, 24, 39, 0.34);
}

.contact-clean-field input:focus,
.contact-clean-field textarea:focus{
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent) !important;
}

.contact-clean-full{
  grid-column: 1 / -1;
}

.contact-clean-field textarea{
  min-height: 130px;
  resize: vertical;
}

.contact-submit-wrap{
  margin-top: 22px;
}

.contact-submit-btn{
  width: 100%;
  justify-content: center;
  border-radius: 3px;
  padding: 15px 24px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
}

.contact-clean-form .status-message{
  margin-top: 14px;
  color: var(--muted);
}

@media (max-width: 640px){
  .contact-clean-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-clean-full{
    grid-column: auto;
  }

  .contact-clean-field input,
  .contact-clean-field textarea{
    font-size: 16px;
  }
}

/* Add breathing room between the back button and the book title. */
.book-detail-content > .btn[data-route="collection"]{
  margin-bottom: 24px;
}

@media (max-width: 640px){
  .book-detail-content > .btn[data-route="collection"]{
    margin-bottom: 20px;
  }
}

.nav-auth-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex:0 0 auto}
.nav-auth-actions button{font-weight:800;cursor:pointer}
.nav-signin-btn{border:1px solid var(--line);background:#fff;color:#111;padding:10px 16px;border-radius:999px}
.nav-join-btn{border:1px solid var(--accent);background:var(--accent);color:#fff;padding:10px 18px;border-radius:999px}
.nav-signin-btn:hover{background:#f4f4f5}
.nav-join-btn:hover{filter:brightness(.95)}
.signin-card{max-width:460px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px}
.signin-card form{display:grid;gap:16px}
.signin-options{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px}
.signin-submit{width:100%}
.signin-join-text{text-align:center;color:var(--muted);margin:0}
@media(max-width:720px){
  .nav-auth-actions{width:auto;margin-left:auto;justify-content:flex-end}
  .nav-signin-btn,.nav-join-btn{padding:9px 14px}
}

.tier-admin-table-wrap{overflow-x:auto;margin-top:16px}
.tier-admin-table{min-width:1280px}
.tier-admin-table th{white-space:nowrap}
.tier-admin-table td{vertical-align:top;min-width:120px}
.tier-admin-table td:nth-child(1){min-width:150px}
.tier-admin-table td:nth-child(7){min-width:260px}
.tier-admin-table input,
.tier-admin-table select,
.tier-admin-table textarea{width:100%;min-width:100px}
.tier-admin-table textarea{min-height:120px;resize:vertical;line-height:1.5}
.tier-table-actions{display:grid;gap:8px;min-width:110px}
.tier-delete-btn{background:#cf2323;color:#fff}
.tier-editor-note{margin-top:14px}
.tier-preview-dialog ul{line-height:1.8;padding-left:20px}
@media(max-width:900px){
 .tier-admin-table-wrap{margin-left:-6px;margin-right:-6px}
}

.maintenance-screen{
  position: relative;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  overflow: hidden;
  background:
    var(--maintenance-bg, linear-gradient(135deg,#0f172a 0%,#111827 45%,#1f2937 100%))
    center center / cover no-repeat;
}
.maintenance-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.46);
}
.maintenance-inner{
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 720px;
}
.maintenance-inner h1{
  margin: 0 0 12px;
  font-size: clamp(34px,6vw,64px);
  line-height: 1.05;
  font-weight: 900;
}
.maintenance-inner p{
  margin: 0;
  font-size: clamp(18px,2.5vw,28px);
  font-weight: 600;
  opacity: .98;
}
body.maintenance-active .footer{
  display: none;
}
body.maintenance-active #app{
  min-height: calc(100vh - 88px);
}
.maintenance-preview-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.maintenance-preview-box{
  margin-top: 8px;
  width: min(100%,420px);
  min-height: 180px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maintenance-preview-box img{
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
}
.maintenance-preview-empty{
  color: var(--muted);
  padding: 24px;
  text-align: center;
}
.maintenance-copy-preview{
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafafa;
}
.maintenance-copy-preview strong{
  font-size: 14px;
}
.maintenance-copy-preview span{
  font-size: 26px;
  font-weight: 900;
  color: #111827;
}
.maintenance-copy-preview small{
  font-size: 16px;
  color: var(--muted);
}
@media (max-width: 720px){
  .maintenance-screen{
    min-height: calc(100vh - 130px);
    padding: 36px 18px;
  }
  .maintenance-preview-box{
    width: 100%;
  }
}

.branding-banner-preview-box{
  margin-top:8px;
  width:min(100%,520px);
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed var(--line);
  border-radius:14px;
  background:#fafafa;
  overflow:hidden;
}
.branding-banner-preview-box img{
  display:block;
  width:100%;
  max-height:260px;
  object-fit:cover;
}
.branding-preview-empty{
  padding:24px;
  color:var(--muted);
  text-align:center;
}

.member-admin-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:16px 0}
.member-search-field{width:min(100%,560px)}
.member-table-wrap{overflow-x:auto}
.member-management-table,.blocked-users-table{min-width:920px}
.member-admin-actions{display:flex;gap:8px;flex-wrap:wrap}
.member-block-btn{background:#111827;color:#fff}
.member-delete-btn{background:#cf2323;color:#fff}
.member-access-pill{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}
.member-access-pill.allowed{background:#dff7e8;color:#16713c}
.blocked-summary{display:inline-flex;align-items:center;gap:10px;margin:14px 0;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:#fafafa}
.blocked-summary span{color:var(--muted)}
.blocked-summary strong{font-size:24px}
.member-empty-state{padding:34px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:16px;background:#fafafa}
.blocked-account-screen{min-height:calc(100vh - 180px);display:grid;place-items:center;padding:40px 20px}
.blocked-account-card{width:min(520px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;text-align:center;box-shadow:0 18px 45px rgba(15,23,42,.12)}
.blocked-account-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:50%;background:#fee2e2;color:#b42318;font-size:34px;font-weight:900}
.blocked-account-card h1{margin:0 0 12px}
.blocked-account-card p{color:var(--muted);line-height:1.6}
.blocked-account-reason{margin:18px 0;padding:14px;border-radius:12px;background:#fff3e6;color:#7c4a03}

.media-panel-listen{padding:0;border:0;background:transparent}
.listen-experience{display:grid;gap:20px}
.listen-player-card{position:relative;border-radius:30px;overflow:hidden;background:linear-gradient(180deg,#1a1b26 0%,#0d0f18 100%);box-shadow:0 30px 60px rgba(15,23,42,.16)}
.listen-player-card:before{content:"";position:absolute;inset:14% 12% auto auto;width:180px;height:180px;border-radius:50%;background:var(--player-glow);filter:blur(6px);opacity:.7}
.listen-player-screen{position:relative;padding:22px 22px 18px;color:#fff}
.listen-cover-wrap{display:flex;justify-content:center;padding-top:6px}
.listen-cover-art{position:relative;width:min(100%,280px);aspect-ratio:3/4;border-radius:22px;padding:26px 18px 24px;background:var(--player-cover);box-shadow:0 22px 40px rgba(0,0,0,.35);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;overflow:hidden}
.listen-cover-art:before{content:"";position:absolute;right:-28px;top:-26px;width:132px;height:132px;border-radius:50%;background:rgba(255,255,255,.10)}
.listen-cover-badge{position:relative;font-size:11px;letter-spacing:.38em;font-weight:700;opacity:.92;margin-bottom:72px}
.listen-cover-title{position:relative;font-size:28px;line-height:1.08;font-weight:900;max-width:220px;text-wrap:balance}
.listen-cover-author{position:relative;margin-top:auto;font-size:13px;opacity:.92;padding-bottom:8px}
.listen-cover-arc{position:absolute;left:50%;bottom:56px;transform:translateX(-50%);width:74%;height:110px;border-top:3px solid rgba(255,255,255,.32);border-radius:999px 999px 0 0}
.listen-now-playing{text-align:center;padding:18px 12px 8px}
.listen-now-label{display:inline-block;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.72);margin-bottom:10px}
.listen-now-playing h3{margin:0;font-size:22px;line-height:1.2;font-weight:800}
.listen-now-playing p{margin:8px 0 0;color:rgba(255,255,255,.74);font-size:15px}
.listen-player-card .audio-shell{display:grid;gap:14px;padding:16px 0 10px;margin:0;background:transparent}
.listen-player-card .audio-progress-wrap{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:12px;align-items:center}
.listen-player-card .audio-controls-left{display:flex;align-items:center;justify-content:center;gap:18px}
.listen-player-card .audio-time{color:rgba(255,255,255,.74);font-size:12px}
.listen-player-card .audio-track{height:4px;background:rgba(255,255,255,.24);border-radius:999px;overflow:hidden}
.listen-player-card .audio-track-fill{background:linear-gradient(90deg,var(--accent) 0%,#8ce9ff 100%)}
.listen-player-card .audio-icon-btn,.listen-player-card .audio-play-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#fff;cursor:pointer}
.listen-player-card .audio-icon-btn{width:24px;height:24px;font-size:15px;opacity:.92}
.listen-player-card .audio-icon-btn.active{color:var(--accent);opacity:1}
.listen-player-card .audio-play-btn{width:52px;height:52px;border-radius:50%;background:var(--accent);box-shadow:0 12px 28px rgba(0,0,0,.28);font-size:18px;font-weight:900;color:#fff}
.listen-progress-copy{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:6px;color:rgba(255,255,255,.82);font-size:13px}
.listen-progress-copy strong{font-size:14px;color:#fff}
.listen-chapter-sheet{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px}
.listen-sheet-head{margin-bottom:8px}
.listen-sheet-head h3{margin:0 0 6px;font-size:20px}
.listen-sheet-head p{margin:0;color:var(--muted);font-size:14px}
.listen-chapter-sheet .chapter-list{display:block;margin-top:14px}
.listen-chapter-sheet .chapter-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border:0;border-bottom:1px solid var(--line);background:transparent}
.listen-chapter-sheet .chapter-item:first-child{border-top:1px solid var(--line)}
.listen-chapter-sheet .chapter-copy{display:grid;gap:4px}
.listen-chapter-sheet .chapter-item strong{font-size:15px;color:#111827}
.listen-chapter-sheet .chapter-item .muted{font-size:14px;color:#6b7280}
.listen-chapter-sheet .chapter-item.active strong{color:var(--accent)}
.listen-chapter-sheet .chapter-item button{border:0;background:var(--accent);color:#fff;border-radius:999px;padding:10px 15px;cursor:pointer;font-weight:800}
@media(max-width:800px){
 .book-detail{grid-template-columns:1fr}
 .book-detail-cover{display:none}
 .book-detail-content h1{font-size:26px}
 .book-subtitle{font-size:16px}
 .listen-player-screen{padding:18px 16px 16px}
 .listen-cover-art{width:min(100%,220px);padding:22px 14px 20px}
 .listen-cover-badge{margin-bottom:52px;font-size:10px;letter-spacing:.28em}
 .listen-cover-title{font-size:24px;max-width:170px}
 .listen-cover-author{font-size:12px}
 .listen-cover-arc{bottom:48px;height:88px}
 .listen-now-playing{padding:16px 8px 4px}
 .listen-now-playing h3{font-size:18px}
 .listen-player-card .audio-controls-left{gap:16px}
 .listen-player-card .audio-play-btn{width:48px;height:48px;font-size:16px}
 .listen-chapter-sheet{padding:18px 16px}
}

.book-editor-page{display:grid;gap:22px}
.book-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.book-editor-header h3{font-size:30px;margin:18px 0 6px}
.book-editor-save-state{padding:9px 13px;border-radius:999px;background:#eef2f7;color:#475569;font-size:13px;font-weight:800}
.book-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.book-editor-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}
.book-editor-card h4{font-size:20px;margin:0 0 14px}
.book-editor-card form{display:grid;gap:14px}
.book-package-help{display:grid;gap:7px;margin:16px 0;padding:16px;border-radius:14px;background:#f8fafc;border:1px solid var(--line)}
.book-package-help code{display:block;padding:7px 10px;border-radius:8px;background:#111827;color:#fff;font-size:13px}
.book-drop-zone{min-height:190px;border:2px dashed var(--accent);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;cursor:pointer;background:#fff}
.book-drop-zone.dragging{background:#f8fafc;transform:translateY(-2px)}
.book-drop-zone input{display:none}
.book-drop-icon{font-size:38px;color:var(--accent);line-height:1}
.book-drop-zone strong{font-size:18px;margin-top:8px}
.book-drop-zone small{color:var(--muted);margin-top:5px}
.book-upload-progress{height:8px;border-radius:999px;background:#edf0f4;overflow:hidden;margin-top:14px;display:none}
.book-upload-progress.active{display:block}
.book-upload-progress span{display:block;width:38%;height:100%;background:var(--accent);border-radius:999px;animation:bookUploadMove 1.1s linear infinite}
@keyframes bookUploadMove{0%{transform:translateX(-110%)}100%{transform:translateX(290%)}}
.chapter-editor-card{padding:0;overflow:hidden}
.chapter-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid var(--line)}
.chapter-editor-head h4{margin-bottom:5px}
.chapter-editor-list{display:grid}
.chapter-editor-row{display:grid;grid-template-columns:64px 90px minmax(180px,1.3fr) minmax(160px,1fr) 110px 100px auto;gap:12px;align-items:end;padding:18px 22px;border-bottom:1px solid var(--line)}
.chapter-editor-row:last-child{border-bottom:0}
.chapter-order-controls{display:flex;gap:5px}
.chapter-order-controls button{width:28px;height:30px;border:1px solid var(--line);background:#fff;border-radius:8px;cursor:pointer}
.chapter-order-controls button:disabled{opacity:.35;cursor:not-allowed}
.chapter-number{font-weight:800;font-size:13px;padding-bottom:12px}
.chapter-file-status{padding-bottom:11px}
.file-ready,.file-missing{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800}
.file-ready{background:#def7e8;color:#176c3a}
.file-missing{background:#fee2e2;color:#9f2424}
.chapter-file-status{grid-column:1/-2;display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding-bottom:3px;min-width:0}
.chapter-row-actions{grid-column:-2/-1;display:flex;gap:7px;justify-content:flex-end;justify-self:end;padding-bottom:3px;min-width:max-content}
.chapter-editor-row>*{min-width:0}
.chapter-editor-row .field input,.chapter-editor-row .field textarea{max-width:100%;min-width:0}
.chapter-row-actions .member-delete-btn{white-space:nowrap;max-width:100%}
@media(max-width:1150px){
 .book-editor-grid{grid-template-columns:1fr}
 .chapter-editor-row{grid-template-columns:60px 80px 1fr 1fr}
}
@media(max-width:760px){
 .book-editor-card{padding:17px}
 .chapter-editor-head{padding:17px}
 .chapter-editor-row{grid-template-columns:52px 1fr;padding:16px}
 .chapter-number{grid-column:2}
 .chapter-editor-row .field{grid-column:1/-1}
 .chapter-file-status{grid-column:1/2}
 .chapter-row-actions{grid-column:2;justify-content:flex-end}
}

.chapter-editor-card{
  min-width:0;
}
.chapter-editor-head{
  align-items:center;
}
.chapter-editor-head > div{
  min-width:0;
  flex:1 1 auto;
}
.chapter-editor-head p{
  margin:6px 0 0;
  line-height:1.55;
  white-space:normal;
  overflow-wrap:anywhere;
}
.chapter-editor-content{
  min-height:110px;
  padding:18px 22px 22px;
  overflow:hidden;
}
.chapter-loading-state{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:72px;
  padding:18px;
  border:1px dashed var(--line);
  border-radius:14px;
  background:#fafafa;
  color:var(--muted);
  font-size:14px;
}
.chapter-loading-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
  animation:chapterLoadingPulse 1s ease-in-out infinite;
}
@keyframes chapterLoadingPulse{
  0%,100%{opacity:.35;transform:scale(.85)}
  50%{opacity:1;transform:scale(1.1)}
}
.chapter-editor-content .member-empty-state{
  margin:0;
}
@media(max-width:760px){
  .chapter-editor-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .chapter-editor-head .btn{
    width:100%;
  }
  .chapter-editor-content{
    padding:14px 16px 18px;
  }
}

.book-cover-upload-preview{
  min-height:190px;
  border:1px dashed var(--line);
  border-radius:16px;
  background:#fafafa;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:var(--muted);
}
.book-cover-upload-preview img{
  display:block;
  width:100%;
  max-width:230px;
  max-height:320px;
  object-fit:contain;
}
.book-cover-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.admin-uploaded-cover{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}

.book-cover-upload-preview img[hidden],
.admin-uploaded-cover[hidden]{display:none}

.library-cover{
  position:relative;
  overflow:hidden;
}
.library-cover img,
.detail-cover img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.library-cover [data-cover-placeholder],
.detail-cover [data-cover-placeholder]{
  position:relative;
  z-index:1;
}
.audio-only-label{
  display:inline-flex;
  align-items:center;
  padding:9px 13px;
  border-radius:999px;
  background:#f3f4f6;
  color:#4b5563;
  font-size:13px;
  font-weight:800;
}
.chapter-copy small{
  display:block;
  margin-top:4px;
  color:#6b7280;
  font-size:12px;
}


/* Updated audio player chapter list */
.chapter-row-button{
  width:100%;
  text-align:left;
  border:0;
  background:transparent;
  appearance:none;
  -webkit-appearance:none;
}
.chapter-row-button .chapter-copy{
  display:grid;
  gap:4px;
  min-width:0;
}
.chapter-row-button .chapter-copy strong{
  font-size:13px;
  font-weight:700;
  color:#6b7280;
  line-height:1.2;
}
.chapter-row-button .chapter-copy .muted{
  font-size:16px;
  font-weight:600;
  color:#111827;
  line-height:1.35;
}
.chapter-row-button .chapter-copy small{
  margin-top:2px;
  font-size:12px;
  color:#6b7280;
}
.chapter-row-button .chapter-meta{
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:16px;
  flex:0 0 auto;
  color:#6b7280;
}
.chapter-row-button .chapter-time{
  min-width:40px;
  text-align:right;
  font-size:14px;
  font-weight:500;
  color:#6b7280;
}
.chapter-row-button .chapter-more{
  font-size:18px;
  line-height:1;
  letter-spacing:1px;
  color:#9ca3af;
}
.chapter-row-button.active .chapter-copy strong{
  color:var(--accent);
}
.chapter-row-button.active .chapter-copy .muted{
  color:#111827;
}
.chapter-row-button.active .chapter-time{
  color:#111827;
}
.chapter-row-button:hover .chapter-copy .muted,
.chapter-row-button:focus-visible .chapter-copy .muted{
  color:#111827;
}
.chapter-row-button:focus-visible{
  outline:2px solid rgba(0,0,0,.08);
  outline-offset:2px;
  border-radius:10px;
}

.listen-chapter-sheet .chapter-item,
.chapter-list .chapter-item{
  padding:14px 0;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  justify-content:space-between;
  align-items:center;
}
.listen-chapter-sheet .chapter-item:first-child,
.chapter-list .chapter-item:first-child{
  border-top:1px solid var(--line);
}
.listen-chapter-sheet .chapter-item button,
.chapter-list .chapter-item button{
  all:unset;
}

@media (max-width: 640px){
  .chapter-row-button .chapter-copy .muted{
    font-size:15px;
  }
  .chapter-row-button .chapter-meta{
    gap:12px;
    margin-left:10px;
  }
  .chapter-row-button .chapter-time{
    min-width:36px;
    font-size:13px;
  }
}

.chapter-time{
  font-variant-numeric:tabular-nums;
}

/* Single-cover listening layout */
.listen-player-card{
  border-radius:22px;
}
.listen-player-screen{
  max-width:900px;
  margin:0 auto;
  padding:28px 30px 24px;
}
.listen-now-playing{
  padding:0 12px 18px;
}
.listen-player-card:before{
  width:140px;
  height:140px;
  top:12%;
  right:8%;
}
@media(max-width:800px){
  .listen-player-screen{
    padding:22px 18px 20px;
  }
  .listen-now-playing{
    padding:0 8px 14px;
  }
}


/* Clean listening section without the dark player block */
.listen-controls-panel{
  margin-bottom:18px;
  padding:22px 22px 18px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#ffffff;
  box-shadow:0 16px 40px rgba(15,23,42,.06);
}
.listen-now-playing.light{
  padding:0;
  margin-bottom:16px;
  text-align:left;
}
.listen-now-playing.light .listen-now-label{
  color:#6b7280;
}
.listen-now-playing.light h3{
  margin:6px 0 6px;
  color:#111827;
}
.listen-now-playing.light p{
  color:#6b7280;
}
.audio-shell-light{
  display:grid;
  gap:14px;
  padding:0;
  margin:0;
  background:transparent;
}
.audio-shell-light .audio-progress-wrap{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  gap:12px;
  align-items:center;
}
.audio-shell-light .audio-time{
  color:#6b7280;
  font-size:12px;
}
.audio-shell-light .audio-track{
  height:4px;
  background:#e5e7eb;
  border-radius:999px;
  overflow:hidden;
}
.audio-shell-light .audio-track-fill{
  background:linear-gradient(90deg,var(--accent) 0%, #8ce9ff 100%);
}
.audio-shell-light .audio-controls-left{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
}
.audio-shell-light .audio-icon-btn,
.audio-shell-light .audio-play-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  cursor:pointer;
}
.audio-shell-light .audio-icon-btn{
  width:24px;
  height:24px;
  color:#374151;
  font-size:15px;
}
.audio-shell-light .audio-icon-btn.active{
  color:var(--accent);
}
.audio-shell-light .audio-play-btn{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  color:#fff;
  font-size:18px;
  font-weight:900;
}
.listen-progress-copy.light{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
  color:#6b7280;
}
.listen-progress-copy.light strong{
  color:#111827;
}
@media (max-width: 640px){
  .listen-controls-panel{
    padding:18px 16px 16px;
    border-radius:18px;
  }
  .audio-shell-light .audio-controls-left{
    gap:16px;
  }
  .audio-shell-light .audio-play-btn{
    width:48px;
    height:48px;
    font-size:16px;
  }
}

.chapter-list-only{
  display:block;
}
.chapter-list-only .listen-chapter-sheet{
  margin-top:0;
}


/* Clean chapter list only: no outer box, no section heading */
.chapter-list-only .listen-chapter-sheet{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
}
.chapter-list-only .listen-sheet-head{
  display:none;
}
.chapter-list-only .chapter-list{
  display:block;
  margin-top:0;
}
.chapter-list-only .chapter-item:first-child{
  border-top:0;
}


/* Chapter rows: time only on right side */
.chapter-row-button .chapter-meta{
  justify-content:flex-end;
  gap:0;
}
.chapter-row-button .chapter-time{
  min-width:48px;
  text-align:right;
  font-size:14px;
  font-weight:600;
  color:#6b7280;
}
.chapter-row-button .chapter-more{
  display:none !important;
}


/* Mobile and small-screen book detail layout */
@media (max-width:800px){
  .book-detail{
    display:flex;
    flex-direction:column;
    gap:22px;
    width:100%;
  }

  .book-detail-cover{
    display:flex !important;
    position:relative;
    top:auto;
    order:1;
    width:min(72vw,280px);
    max-width:280px;
    margin:0 auto;
    padding:0;
    aspect-ratio:2/3;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 18px 38px rgba(15,23,42,.16);
  }

  .book-detail-cover img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .book-detail-cover [data-cover-placeholder]{
    display:flex;
    align-items:flex-end;
    width:100%;
    height:100%;
    padding:20px;
    font-size:24px;
    line-height:1.1;
  }

  .book-detail-content{
    order:2;
    width:100%;
    min-width:0;
  }

  .book-detail-content > .btn[data-route="collection"]{
    margin-bottom:20px;
  }

  .book-detail-content h1{
    margin-top:0;
    font-size:30px;
    line-height:1.12;
  }

  .book-subtitle{
    font-size:15px;
    line-height:1.6;
  }

  .book-author{
    margin-bottom:18px;
  }

  .media-tabs{
    width:100%;
    margin:18px 0 16px;
  }

  .media-tab{
    flex:1 1 0;
    min-height:44px;
  }

  .chapter-list-only{
    width:100%;
  }

  .chapter-row-button{
    padding:15px 0;
  }
}

@media (max-width:480px){
  .book-detail-cover{
    width:min(78vw,250px);
  }

  .book-detail-content h1{
    font-size:27px;
  }
}


/* Add breathing room before the chapter list on smaller screens */
@media (max-width:800px){
  .chapter-list-only{
    margin-top:28px;
  }
}

@media (max-width:480px){
  .chapter-list-only{
    margin-top:34px;
  }
}

/* Do not overlay the book title on the cover placeholder on smaller screens */
@media (max-width:800px){
  .book-detail-cover [data-cover-placeholder]{
    font-size:0;
    color:transparent;
    padding:0;
  }
}


/* Active chapter playback indicator */
.chapter-row-button{
  position:relative;
  grid-template-columns:auto minmax(0,1fr) auto;
}
.chapter-playing-icon{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:2px;
  width:18px;
  height:18px;
  margin-right:10px;
  opacity:0;
  flex:0 0 18px;
}
.chapter-playing-icon i{
  display:block;
  width:3px;
  height:5px;
  border-radius:2px;
  background:var(--accent);
}
.chapter-playing-icon.playing{
  opacity:1;
}
.chapter-playing-icon.playing i:nth-child(1){
  animation:chapterAudioBar .75s ease-in-out infinite;
}
.chapter-playing-icon.playing i:nth-child(2){
  animation:chapterAudioBar .75s ease-in-out .16s infinite;
}
.chapter-playing-icon.playing i:nth-child(3){
  animation:chapterAudioBar .75s ease-in-out .32s infinite;
}
.chapter-row-button.is-playing .chapter-copy strong,
.chapter-row-button.is-playing .chapter-copy .muted{
  color:var(--accent);
}
@keyframes chapterAudioBar{
  0%,100%{height:5px}
  50%{height:17px}
}


/* Mobile book player layout inspired by the provided reference */
.listen-mobile-layout{
  display:block;
}

.mobile-listen-player{
  display:none;
}

.chapter-row-button .chapter-copy{
  align-items:flex-start;
  text-align:left;
}

@media (max-width:800px){
  .mobile-listen-player{
    display:block;
    margin:0 0 28px;
  }

  .mobile-player-shell{
    padding:6px 8px 2px;
    text-align:center;
  }

  .mobile-player-cover{
    width:min(68vw,230px);
    aspect-ratio:0.72;
    margin:0 auto 18px;
    border-radius:10px;
    overflow:hidden;
    background:linear-gradient(160deg,#1f1f1f,#4a4a4a);
    box-shadow:0 12px 24px rgba(15,23,42,.18);
    position:relative;
  }

  .mobile-player-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .mobile-player-cover-fallback{
    width:100%;
    height:100%;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:14px;
    color:#fff;
    font-weight:700;
    text-align:center;
    line-height:1.15;
  }

  .mobile-player-now{
    margin-bottom:12px;
  }

  .mobile-player-title{
    font-size:17px;
    font-weight:800;
    color:#111827;
    line-height:1.25;
  }

  .mobile-player-subtitle{
    margin-top:4px;
    font-size:14px;
    color:#6b7280;
  }

  .mobile-player-progress{
    display:grid;
    grid-template-columns:40px minmax(0,1fr) 40px;
    align-items:center;
    gap:10px;
    margin:10px 0 14px;
    font-size:12px;
    color:#6b7280;
  }

  .mobile-player-track{
    height:4px;
    border-radius:999px;
    background:#d1d5db;
    overflow:hidden;
  }

  .mobile-player-track-fill{
    height:100%;
    background:var(--accent);
    border-radius:999px;
    width:0%;
  }

  .mobile-player-controls{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin-bottom:12px;
  }

  .mobile-player-control{
    border:0;
    background:transparent;
    color:#111827;
    cursor:pointer;
  }

  .mobile-player-control.small{
    width:32px;
    height:32px;
    font-size:12px;
    font-weight:800;
    color:#6b7280;
  }

  .mobile-player-control.icon{
    width:28px;
    height:28px;
    font-size:16px;
  }

  .mobile-player-control.play{
    width:52px;
    height:52px;
    border-radius:50%;
    background:var(--accent);
    color:#fff;
    font-size:20px;
    font-weight:800;
    box-shadow:0 10px 18px rgba(15,23,42,.16);
  }

  .mobile-player-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:18px;
    font-size:12px;
    color:#6b7280;
  }

  .mobile-player-link{
    border:0;
    background:transparent;
    color:#6b7280;
    font-size:12px;
    font-weight:700;
  }

  .chapter-list-only{
    margin-top:24px;
  }

  .chapter-row-button{
    padding:14px 0;
    grid-template-columns:auto minmax(0,1fr) auto;
  }

  .chapter-row-button .chapter-copy strong{
    font-size:13px;
  }

  .chapter-row-button .chapter-copy .muted{
    font-size:17px;
    color:#111827;
  }

  .chapter-row-button .chapter-time{
    min-width:42px;
    font-size:13px;
  }
}

@media (min-width:801px){
  .mobile-listen-player{
    display:none !important;
  }
}


/* Use one responsive layout only — no duplicate mobile player or cover */
.mobile-listen-player{
  display:none !important;
}

.listen-mobile-layout{
  display:block;
}

.responsive-chapter-layout{
  display:block;
  width:100%;
  margin-top:24px;
}

.responsive-chapter-layout .listen-chapter-sheet{
  width:100%;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.responsive-chapter-layout .chapter-list{
  display:block;
  width:100%;
  margin:0;
}

.responsive-chapter-layout .chapter-row-button{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  width:100%;
  min-height:68px;
  padding:14px 8px;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  text-align:left;
}

.responsive-chapter-layout .chapter-row-button:first-child{
  border-top:0;
}

.responsive-chapter-layout .chapter-copy{
  display:grid;
  gap:4px;
  min-width:0;
  text-align:left;
}

.responsive-chapter-layout .chapter-copy strong{
  font-size:13px;
  line-height:1.2;
  font-weight:700;
  color:#6b7280;
}

.responsive-chapter-layout .chapter-copy .muted{
  font-size:17px;
  line-height:1.3;
  font-weight:700;
  color:#111827;
}

.responsive-chapter-layout .chapter-copy small{
  margin-top:2px;
  font-size:12px;
  color:#6b7280;
}

.responsive-chapter-layout .chapter-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:58px;
  margin-left:18px;
}

.responsive-chapter-layout .chapter-time{
  text-align:right;
  font-size:14px;
  font-weight:600;
  color:#6b7280;
  font-variant-numeric:tabular-nums;
}

.responsive-chapter-layout .chapter-playing-icon{
  margin-right:10px;
}

.responsive-chapter-layout .chapter-row-button.active .chapter-copy strong,
.responsive-chapter-layout .chapter-row-button.is-playing .chapter-copy strong{
  color:var(--accent);
}

.responsive-chapter-layout .chapter-row-button.is-playing .chapter-copy .muted{
  color:#111827;
}

/* Keep the existing book detail cover and make that same layout responsive */
@media (max-width:800px){
  .book-detail{
    display:flex;
    flex-direction:column;
    gap:22px;
    width:100%;
  }

  .book-detail-cover{
    display:flex !important;
    order:1;
    position:relative;
    top:auto;
    width:min(72vw,280px);
    max-width:280px;
    margin:0 auto;
    aspect-ratio:2/3;
    padding:0;
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 18px 38px rgba(15,23,42,.16);
  }

  .book-detail-cover img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .book-detail-cover [data-cover-placeholder]{
    font-size:0;
    color:transparent;
    padding:0;
  }

  .book-detail-content{
    order:2;
    width:100%;
    min-width:0;
  }

  .media-tabs{
    width:100%;
    margin:18px 0 0;
  }

  .responsive-chapter-layout{
    margin-top:30px;
  }

  .responsive-chapter-layout .chapter-row-button{
    min-height:72px;
    padding:15px 0;
  }

  .responsive-chapter-layout .chapter-copy .muted{
    font-size:16px;
  }

  .responsive-chapter-layout .chapter-meta{
    min-width:50px;
    margin-left:12px;
  }

  .responsive-chapter-layout .chapter-time{
    font-size:13px;
  }
}

@media (max-width:480px){
  .book-detail-cover{
    width:min(78vw,250px);
  }

  .responsive-chapter-layout{
    margin-top:34px;
  }
}


/* Move the chapter list down approximately one inch while keeping all left edges aligned */
.responsive-chapter-layout{
  margin-top:96px;
}

.responsive-chapter-layout .chapter-row-button{
  padding-left:0;
  padding-right:0;
}

.responsive-chapter-layout .chapter-playing-icon{
  margin-left:0;
}

.responsive-chapter-layout .chapter-copy{
  padding-left:0;
  margin-left:0;
}

.responsive-chapter-layout .chapter-row-button,
.responsive-chapter-layout .chapter-row-button::before,
.responsive-chapter-layout .chapter-row-button::after{
  box-sizing:border-box;
}

/* Divider lines and chapter text begin at the same left position */
.responsive-chapter-layout .chapter-row-button{
  grid-template-columns:0 minmax(0,1fr) auto;
}

.responsive-chapter-layout .chapter-playing-icon{
  position:absolute;
  left:0;
  transform:translateX(-26px);
}

@media (max-width:800px){
  .responsive-chapter-layout{
    margin-top:96px;
  }

  .responsive-chapter-layout .chapter-row-button{
    padding-left:0;
  }

  .responsive-chapter-layout .chapter-playing-icon{
    left:0;
    transform:translateX(-22px);
  }
}


/* Listen tab starts playback from the first audio chapter */
.media-tab[data-book-mode="listen"]{
  cursor:pointer;
}


/* Saved listening position indicator */
.resume-status{
  margin:0 0 14px;
  font-size:13px;
  font-weight:700;
  color:#6b7280;
}
@media(max-width:800px){
  .resume-status{
    margin-bottom:16px;
  }
}


/* Track numbers on left, swapped with a music-style indicator while playing */
.responsive-chapter-layout .chapter-row-button{
  grid-template-columns:34px minmax(0,1fr) auto !important;
  column-gap:12px;
}

.responsive-chapter-layout .chapter-track-indicator{
  position:relative !important;
  left:auto !important;
  transform:none !important;
  width:34px;
  min-width:34px;
  height:34px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
}

.responsive-chapter-layout .chapter-track-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  font-size:14px;
  font-weight:600;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.responsive-chapter-layout .chapter-track-bars{
  display:none;
  align-items:flex-end;
  justify-content:center;
  gap:2px;
  width:16px;
  height:14px;
}

.responsive-chapter-layout .chapter-track-bars i{
  display:block;
  width:3px;
  border-radius:999px;
  background:var(--accent);
  animation:audible3TrackBars 1s ease-in-out infinite;
}

.responsive-chapter-layout .chapter-track-bars i:nth-child(1){
  height:7px;
}
.responsive-chapter-layout .chapter-track-bars i:nth-child(2){
  height:13px;
  animation-delay:.15s;
}
.responsive-chapter-layout .chapter-track-bars i:nth-child(3){
  height:9px;
  animation-delay:.3s;
}

.responsive-chapter-layout .chapter-track-indicator.playing .chapter-track-number{
  display:none;
}
.responsive-chapter-layout .chapter-track-indicator.playing .chapter-track-bars{
  display:flex;
}

.responsive-chapter-layout .chapter-copy{
  min-width:0;
}

.responsive-chapter-layout .chapter-copy .muted{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

.responsive-chapter-layout .chapter-copy small{
  display:none;
}

.responsive-chapter-layout .chapter-row-button.is-playing .chapter-copy .muted{
  color:#111827;
}

@keyframes audible3TrackBars{
  0%,100%{transform:scaleY(.55);opacity:.7}
  50%{transform:scaleY(1);opacity:1}
}

@media (max-width:800px){
  .responsive-chapter-layout .chapter-row-button{
    grid-template-columns:30px minmax(0,1fr) auto !important;
    column-gap:10px;
  }

  .responsive-chapter-layout .chapter-track-indicator{
    width:30px;
    min-width:30px;
    height:30px;
  }

  .responsive-chapter-layout .chapter-track-number{
    font-size:13px;
  }

  .responsive-chapter-layout .chapter-copy .muted{
    font-size:15px;
  }
}


/* Only the chapter that is actively playing receives highlight styling */
.responsive-chapter-layout .chapter-row-button,
.responsive-chapter-layout .chapter-row-button.active{
  background:transparent;
}

.responsive-chapter-layout .chapter-row-button .chapter-copy strong,
.responsive-chapter-layout .chapter-row-button.active .chapter-copy strong{
  color:#6b7280;
}

.responsive-chapter-layout .chapter-row-button .chapter-copy .muted,
.responsive-chapter-layout .chapter-row-button.active .chapter-copy .muted{
  color:#111827;
}

.responsive-chapter-layout .chapter-row-button .chapter-time,
.responsive-chapter-layout .chapter-row-button.active .chapter-time{
  color:#6b7280;
}

.responsive-chapter-layout .chapter-row-button.is-playing{
  background:color-mix(in srgb,var(--accent) 7%,transparent);
}

.responsive-chapter-layout .chapter-row-button.is-playing .chapter-copy strong,
.responsive-chapter-layout .chapter-row-button.is-playing .chapter-time{
  color:var(--accent);
}

.responsive-chapter-layout .chapter-row-button.is-playing .chapter-copy .muted{
  color:#111827;
  font-weight:800;
}


/* Play or Resume button beneath the Listen control */
.listen-start-action{
  margin:14px 0 0;
}

.listen-start-button{
  min-width:138px;
}

.resume-status{
  display:none !important;
}

@media(max-width:800px){
  .listen-start-action{
    margin-top:14px;
  }

  .listen-start-button{
    width:100%;
    min-height:46px;
  }
}

.audible3-player-page{max-width:1500px}
.audible3-back{margin-bottom:24px}
.audible3-player-grid{display:grid;grid-template-columns:minmax(240px,330px) minmax(480px,1fr) minmax(260px,330px);gap:34px;align-items:start}
.audible3-cover-column{display:grid;gap:16px}
.audible3-square-cover,.library-cover,.admin-book-cover,.book-cover-upload-preview,.cover{aspect-ratio:1/1!important}
.audible3-square-cover{position:relative;overflow:hidden;border-radius:18px;background:#f3efe8;box-shadow:0 18px 38px rgba(15,23,42,.14);display:flex;align-items:center;justify-content:center}
.audible3-square-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.audible3-square-cover span{padding:24px;text-align:center;font-size:28px;font-weight:900;color:#1f2937}
.collection-pill{border:1px solid var(--line);background:#fff;border-radius:999px;padding:12px 18px;font-weight:700}
.audible3-main-column{min-width:0}
.audible3-book-heading{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:22px}
.audible3-book-heading h1{font-size:42px;margin:0 0 8px;line-height:1.08}
.audible3-book-heading .subtitle{font-size:18px;color:#6b7280;margin:0 0 10px}
.audible3-book-heading .author{color:var(--accent);font-weight:800;margin:0}
.audible3-player-controls{display:grid;gap:18px}
.audible3-player-meta-row{display:flex;flex-wrap:wrap;gap:18px;color:#6b7280;font-size:13px}
.audible3-seek-row{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:12px;align-items:center;color:#6b7280;font-size:12px}
.audible3-seek-track{height:5px;border-radius:999px;background:#e5e7eb;overflow:hidden}
.audible3-seek-track span{display:block;height:100%;border-radius:999px;background:var(--accent)}
.audible3-main-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}
.audible3-main-controls button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-width:88px;min-height:102px;padding:0;cursor:pointer}
.audible3-main-controls button span{font-size:23px;display:flex;align-items:center;justify-content:center;min-height:44px}.audible3-main-controls button small{display:block;min-height:28px;line-height:1.2;font-size:12px;color:#6b7280;text-align:center;margin:0}.audible3-main-controls button span b{font-size:10px}
.audible3-main-controls .primary-play{width:82px;height:82px;min-width:82px;min-height:82px;border-radius:50%;background:var(--accent);color:#fff;font-size:28px;box-shadow:0 14px 28px rgba(15,23,42,.18);justify-content:center;align-self:flex-start}
.audible3-secondary-actions{display:flex;justify-content:space-around;border-top:1px solid var(--line);padding-top:18px}
.audible3-secondary-actions button{border:0;background:transparent;font-weight:700;color:#374151}
.compact-tabs{margin:20px 0 12px}.audible3-resume-button{margin-bottom:24px;min-width:140px}
.audible3-side-column{display:grid;gap:18px}.audible3-info-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.audible3-info-card h3{margin:0 0 18px}
.progress-summary{display:grid;grid-template-columns:110px 1fr;gap:16px;align-items:center}
.progress-ring{width:108px;height:108px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--accent) calc(var(--progress)*3.6deg),#f0ebe4 0);position:relative}
.progress-ring:after{content:"";position:absolute;inset:10px;background:#fff;border-radius:50%}.progress-ring strong{position:relative;z-index:1;font-size:24px}
.progress-summary p{color:#6b7280;line-height:1.5;font-size:13px}.time-left{text-align:center;font-weight:700}
.audible3-info-card button{width:100%;padding:12px;margin-top:10px;border:1px solid var(--line);background:#fff;border-radius:10px;text-align:left;font-weight:700}
.about-card p{line-height:1.6;color:#4b5563}.about-card a{color:var(--accent);font-weight:800;text-decoration:none}
.audible3-chapters-card{margin-top:20px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.audible3-chapters-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}
.audible3-chapters-head h3{margin:0}.audible3-chapters-head span{color:#6b7280;font-size:13px}
.audible3-chapters-card .chapter-row-button{display:grid;grid-template-columns:36px minmax(0,1fr) 54px;gap:12px;align-items:center;width:100%;padding:14px 18px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}
.audible3-chapters-card .chapter-row-button:last-child{border-bottom:0}
.audible3-chapters-card .chapter-title-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#111827}
.audible3-chapters-card .chapter-time{text-align:right;color:#6b7280}
.audible3-chapters-card .chapter-row-button.is-playing{background:#fff8ef}
.audible3-chapters-card .chapter-row-button.is-playing .chapter-title-line,.audible3-chapters-card .chapter-row-button.is-playing .chapter-time{color:var(--accent);font-weight:800}
.book-player-meta-preview{padding:12px 14px;border-radius:12px;background:#f8fafc;border:1px solid var(--line);font-size:13px;color:#6b7280}
.library-cover img,.admin-uploaded-cover{object-fit:cover}
@media(max-width:1100px){.audible3-player-grid{grid-template-columns:260px minmax(0,1fr)}.audible3-side-column{grid-column:1/-1;grid-template-columns:1fr 1fr}}
@media(max-width:800px){
 .audible3-player-page{padding-left:16px;padding-right:16px}.audible3-player-grid{display:flex;flex-direction:column;gap:22px}
 .audible3-cover-column{width:100%}.audible3-square-cover{width:min(78vw,330px);margin:0 auto}.collection-pill{width:min(78vw,330px);margin:0 auto}
 .audible3-main-column{width:100%}.audible3-book-heading{text-align:center}.audible3-book-heading h1{font-size:30px}.audible3-book-heading .subtitle{font-size:15px}
 .audible3-player-meta-row{justify-content:center;font-size:11px;gap:10px}.audible3-main-controls{gap:8px}.audible3-main-controls button{min-width:54px}
 .audible3-main-controls button small{font-size:9px}.audible3-main-controls .primary-play{width:62px;height:62px;min-width:62px}
 .audible3-secondary-actions{gap:8px}.audible3-secondary-actions button span{display:none}.compact-tabs{display:flex}.compact-tabs .media-tab{flex:1}
 .audible3-resume-button{width:100%}.audible3-side-column{width:100%;grid-template-columns:1fr}.audible3-chapters-card{margin-top:22px}
 .audible3-chapters-card .chapter-row-button{padding:14px 8px;grid-template-columns:30px minmax(0,1fr) 48px}.audible3-chapters-head{padding-left:8px;padding-right:8px}
}


/* Refined Audible-style player layout */
.audible3-player-page{
  max-width:1480px;
  padding-top:34px;
}

.audible3-back{
  margin-bottom:30px;
}

.audible3-player-layout{
  display:grid;
  grid-template-columns:minmax(260px,340px) minmax(520px,1fr) minmax(290px,340px);
  grid-template-areas:
    "cover main side"
    "chapters chapters side";
  gap:34px 40px;
  align-items:start;
}

.audible3-cover-column{
  grid-area:cover;
  display:grid;
  gap:18px;
}

.audible3-main-column{
  grid-area:main;
  min-width:0;
  padding-top:12px;
}

.audible3-side-column{
  grid-area:side;
  display:grid;
  gap:22px;
}

.audible3-chapters-span{
  grid-area:chapters;
  min-width:0;
}

.audible3-square-cover{
  width:100%;
  aspect-ratio:1/1 !important;
  border-radius:18px;
  box-shadow:0 16px 34px rgba(15,23,42,.13);
}

.audible3-square-cover span{
  display:none;
}

.audible3-book-heading{
  margin:0 0 28px;
  padding:0 0 28px;
}

.audible3-book-heading h1{
  font-size:44px;
  letter-spacing:-.035em;
  margin-bottom:10px;
}

.audible3-book-heading .subtitle{
  max-width:720px;
  font-size:18px;
  line-height:1.5;
}

.audible3-player-controls{
  gap:24px;
}

.audible3-player-meta-row{
  display:grid;
  grid-template-columns:repeat(4,max-content);
  justify-content:space-between;
  gap:18px;
  padding-bottom:2px;
  font-size:13px;
}

.audible3-seek-row{
  grid-template-columns:54px minmax(0,1fr) 54px;
  gap:14px;
  font-size:13px;
}

.audible3-seek-track{
  height:5px;
}

.audible3-main-controls{
  justify-content:center;
  gap:42px;
  padding:8px 0 10px;
}

.audible3-main-controls button{
  min-width:96px;
  min-height:106px;
}

.audible3-main-controls button span{
  font-size:25px;
  min-height:48px;
}

.audible3-main-controls .primary-play{
  width:82px;
  height:82px;
  min-width:82px;
  min-height:82px;
  font-size:28px;
}

.audible3-secondary-actions{
  margin-top:2px;
  padding-top:22px;
  justify-content:space-evenly;
}

.audible3-mode-actions{
  display:flex;
  gap:12px;
  margin-top:22px;
}

.mode-action{
  min-width:110px;
  padding:11px 18px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:#111827;
  font-weight:800;
  cursor:pointer;
}

.mode-action.active{
  background:#111827;
  border-color:#111827;
  color:#fff;
}

.audible3-info-card{
  padding:22px;
}

.progress-summary{
  grid-template-columns:118px minmax(0,1fr);
}

.progress-ring{
  width:116px;
  height:116px;
}

.audible3-chapters-card{
  margin-top:4px;
}

.audible3-chapters-head{
  padding:18px 20px;
}

.audible3-chapters-card .chapter-row-button{
  grid-template-columns:34px minmax(0,1fr) 64px;
  min-height:54px;
  padding:14px 20px;
}

.audible3-chapters-card .chapter-title-line{
  text-align:left;
}

.audible3-chapters-card .chapter-time{
  font-variant-numeric:tabular-nums;
}

@media(max-width:1180px){
  .audible3-player-layout{
    grid-template-columns:280px minmax(0,1fr);
    grid-template-areas:
      "cover main"
      "side side"
      "chapters chapters";
  }

  .audible3-side-column{
    grid-template-columns:1fr 1fr;
  }

  .audible3-player-meta-row{
    grid-template-columns:repeat(2,max-content);
    justify-content:start;
  }
}

@media(max-width:800px){
  .audible3-player-page{
    padding:20px 16px 36px;
  }

  .audible3-back{
    margin-bottom:22px;
  }

  .audible3-player-layout{
    display:flex;
    flex-direction:column;
    gap:24px;
  }

  .audible3-cover-column,
  .audible3-main-column,
  .audible3-side-column,
  .audible3-chapters-span{
    width:100%;
  }

  .audible3-cover-column{
    order:1;
  }

  .audible3-main-column{
    order:2;
    padding-top:0;
  }

  .audible3-side-column{
    order:3;
    display:grid;
    grid-template-columns:1fr;
  }

  .audible3-chapters-span{
    order:4;
  }

  .audible3-square-cover{
    width:min(82vw,340px);
    margin:0 auto;
  }

  .collection-pill{
    width:min(82vw,340px);
    margin:0 auto;
  }

  .audible3-book-heading{
    text-align:center;
    margin-bottom:22px;
    padding-bottom:22px;
  }

  .audible3-book-heading h1{
    font-size:32px;
  }

  .audible3-player-meta-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    justify-content:stretch;
    gap:12px 14px;
    text-align:center;
  }

  .audible3-main-controls{
    gap:12px;
    justify-content:space-between;
  }

  .audible3-main-controls button{
    min-width:64px;
    min-height:92px;
    gap:8px;
  }

  .audible3-main-controls button small{
    display:block;
    min-height:24px;
    font-size:10px;
  }

  .audible3-main-controls .primary-play{
    width:68px;
    height:68px;
    min-width:68px;
    min-height:68px;
  }

  .audible3-secondary-actions{
    justify-content:space-around;
  }

  .audible3-mode-actions{
    justify-content:center;
  }

  .mode-action{
    flex:1;
    max-width:180px;
  }

  .audible3-chapters-card .chapter-row-button{
    padding-left:10px;
    padding-right:10px;
    grid-template-columns:30px minmax(0,1fr) 52px;
  }
}


/* Keep the right information column the same distance from the viewport edge
   as the book cover is from the left edge. */
.audible3-player-page{
  width:100%;
  max-width:1600px;
  margin-left:auto;
  margin-right:auto;
  padding-left:clamp(28px,4.25vw,68px);
  padding-right:clamp(28px,4.25vw,68px);
}

.audible3-player-layout{
  width:100%;
}

.audible3-side-column{
  width:100%;
  max-width:340px;
  justify-self:end;
}

.audible3-cover-column{
  width:100%;
  max-width:340px;
  justify-self:start;
}

@media(max-width:1180px){
  .audible3-player-page{
    max-width:1180px;
  }

  .audible3-side-column{
    max-width:none;
    justify-self:stretch;
  }
}

@media(max-width:800px){
  .audible3-player-page{
    max-width:none;
    padding-left:16px;
    padding-right:16px;
  }

  .audible3-cover-column,
  .audible3-side-column{
    max-width:none;
  }
}


/* 30-second rewind / forward icons */
.skip30-icon{
  display:inline-block;
  width:74px;
  height:74px;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  font-size:0;
  line-height:0;
}

.skip30-icon i{
  display:none;
}

.skip30-icon-back{
  background-image:url("rewind-30-icon-v2.png");
}

.skip30-icon-forward{
  background-image:url("forward-30-icon-v2.png");
}

@media(max-width:800px){
  .skip30-icon{
    width:58px;
    height:58px;
  }
}

/* Player control refinement: match reference layout more closely */
.audible3-main-controls{
  justify-content:center !important;
  align-items:flex-start !important;
  gap:46px !important;
  padding:10px 0 4px !important;
}

.audible3-main-controls button{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-width:84px !important;
  min-height:96px !important;
  gap:10px !important;
  padding:0 !important;
}

.audible3-main-controls button span{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:40px !important;
  line-height:1 !important;
  color:#111827 !important;
}

.audible3-main-controls button small{
  display:block !important;
  min-height:28px !important;
  margin:0 !important;
  font-size:12px !important;
  line-height:1.2 !important;
  color:#6b7280 !important;
  text-align:center !important;
}

.audible3-main-controls button[data-player-action="prev"] span,
.audible3-main-controls button[data-player-action="next"] span{
  font-size:22px !important;
}

.audible3-main-controls .primary-play{
  width:86px !important;
  height:86px !important;
  min-width:86px !important;
  min-height:86px !important;
  align-self:flex-start !important;
  justify-content:center !important;
  border-radius:50% !important;
  background:var(--accent) !important;
  color:#fff !important;
  font-size:34px !important;
  box-shadow:0 16px 28px rgba(15,23,42,.16) !important;
}

.audible3-main-controls .primary-play:hover{
  transform:translateY(-1px);
}

.skip30-icon{
  width:44px !important;
  height:44px !important;
}

@media (max-width: 900px){
  .audible3-main-controls{
    gap:20px !important;
    justify-content:space-between !important;
  }

  .audible3-main-controls button{
    min-width:64px !important;
    min-height:84px !important;
    gap:8px !important;
  }

  .audible3-main-controls button span{
    min-height:34px !important;
  }

  .audible3-main-controls button small{
    min-height:24px !important;
    font-size:11px !important;
  }

  .audible3-main-controls .primary-play{
    width:74px !important;
    height:74px !important;
    min-width:74px !important;
    min-height:74px !important;
    font-size:30px !important;
  }

  .skip30-icon{
    width:38px !important;
    height:38px !important;
  }
}


/* Exact supplied player reference */
body{background:#f7f8fa}

.audible3-player-page{
  width:100%;
  max-width:none;
  padding:26px 72px 42px;
}

.audible3-player-layout{
  display:grid !important;
  grid-template-columns:330px minmax(520px,1fr) 320px !important;
  grid-template-areas:
    "cover main side"
    "chapters chapters side" !important;
  column-gap:44px !important;
  row-gap:30px !important;
  align-items:start !important;
}

.audible3-cover-column{
  grid-area:cover !important;
  width:330px !important;
  max-width:330px !important;
  gap:18px !important;
}

.audible3-square-cover{
  width:330px !important;
  height:330px !important;
  aspect-ratio:1/1 !important;
  border-radius:16px !important;
  box-shadow:0 12px 26px rgba(15,23,42,.12) !important;
}

.audible3-square-cover span{display:none !important}

.collection-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.collection-pill{
  min-width:210px !important;
  border:1px solid #dfe3e8 !important;
  background:#fff !important;
  border-radius:999px !important;
  padding:12px 20px !important;
}

.collection-more{
  width:46px;
  height:46px;
  border:1px solid #dfe3e8;
  border-radius:50%;
  background:#fff;
  font-weight:900;
}

.audible3-main-column{
  grid-area:main !important;
  min-width:0 !important;
  padding-top:12px !important;
}

.audible3-book-heading{
  margin:0 0 26px !important;
  padding:0 !important;
  border:0 !important;
}

.audible3-book-heading h1{
  margin:0 0 8px !important;
  font-size:36px !important;
  line-height:1.06 !important;
  letter-spacing:-.035em !important;
}

.audible3-book-heading .subtitle{
  margin:0 0 10px !important;
  font-size:17px !important;
  color:#6b7280 !important;
}

.audible3-book-heading .author{
  margin:0 !important;
  color:var(--accent) !important;
  font-weight:800 !important;
}

.audible3-player-controls{
  display:grid !important;
  gap:20px !important;
}

.audible3-player-meta-row{
  display:grid !important;
  grid-template-columns:repeat(4,max-content) !important;
  justify-content:space-between !important;
  gap:18px !important;
  color:#667085 !important;
  font-size:12px !important;
}

.audible3-seek-row{
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) 44px !important;
  gap:12px !important;
  align-items:center !important;
  color:#667085 !important;
  font-size:12px !important;
}

.audible3-seek-track{
  height:4px !important;
  background:#dfe3e8 !important;
  border-radius:999px !important;
}

.audible3-main-controls{
  display:grid !important;
  grid-template-columns:88px 100px 94px 100px 88px !important;
  justify-content:space-between !important;
  align-items:start !important;
  gap:12px !important;
  padding:2px 0 8px !important;
}

.audible3-main-controls button{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-width:0 !important;
  min-height:88px !important;
  padding:0 !important;
  gap:8px !important;
  border:0 !important;
  background:transparent !important;
}

.audible3-main-controls button span{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  color:#111827 !important;
}

.audible3-main-controls button small{
  display:block !important;
  min-height:20px !important;
  margin:0 !important;
  color:#667085 !important;
  font-size:11px !important;
  line-height:1.2 !important;
}

.track-control-icon{
  font-size:22px !important;
}

.audible3-main-controls .primary-play{
  width:82px !important;
  height:82px !important;
  min-width:82px !important;
  min-height:82px !important;
  justify-self:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  background:var(--accent) !important;
  box-shadow:0 12px 25px rgba(15,23,42,.16) !important;
}

.primary-play-symbol{
  min-height:0 !important;
  color:#fff !important;
  font-size:30px !important;
}

.reference-skip-icon{
  position:relative !important;
  width:46px !important;
  height:46px !important;
  min-height:46px !important;
  border:2.5px solid #111827 !important;
  border-radius:50% !important;
}

.reference-skip-icon b{
  color:#111827 !important;
  font-size:14px !important;
}

.reference-skip-icon::after{
  content:"";
  position:absolute;
  top:-4px;
  width:12px;
  height:12px;
  border-top:2.5px solid #111827;
  border-right:2.5px solid #111827;
}

.reference-skip-back::after{left:1px;transform:rotate(-145deg)}
.reference-skip-forward::after{right:1px;transform:rotate(35deg)}

.audible3-secondary-actions{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  align-items:center !important;
  border-top:1px solid #dfe3e8 !important;
  margin-top:2px !important;
  padding-top:18px !important;
}

.audible3-secondary-actions button{
  border:0 !important;
  background:transparent !important;
  color:#374151 !important;
  font-size:13px !important;
  font-weight:600 !important;
}

.audible3-side-column{
  grid-area:side !important;
  display:grid !important;
  gap:18px !important;
  width:320px !important;
  max-width:320px !important;
  justify-self:end !important;
}

.audible3-info-card{
  border:1px solid #dde2e8 !important;
  border-radius:16px !important;
  background:#fff !important;
  padding:20px !important;
  box-shadow:none !important;
}

.audible3-info-card h3{
  margin:0 0 18px !important;
  font-size:18px !important;
}

.progress-summary{
  grid-template-columns:110px minmax(0,1fr) !important;
  gap:18px !important;
}

.progress-ring{
  width:108px !important;
  height:108px !important;
}

.audible3-info-card button{
  min-height:46px !important;
  border:1px solid #dfe3e8 !important;
  border-radius:10px !important;
  background:#fff !important;
  font-size:14px !important;
}

.audible3-chapters-span{
  grid-area:chapters !important;
}

.audible3-chapters-card{
  margin:0 !important;
  border:1px solid #dde2e8 !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:#fff !important;
}

.audible3-chapters-head{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  padding:16px 18px !important;
  border-bottom:1px solid #dde2e8 !important;
}

.audible3-chapters-head h3{
  margin:0 !important;
  font-size:18px !important;
}

.chapter-head-actions{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
}

.chapter-head-actions span{
  color:#667085 !important;
  font-size:12px !important;
}

.chapter-head-actions button{
  border:1px solid #dfe3e8 !important;
  background:#fff !important;
  border-radius:9px !important;
  padding:8px 12px !important;
  color:#667085 !important;
  font-size:12px !important;
}

.audible3-chapters-card .chapter-row-button{
  display:grid !important;
  grid-template-columns:38px minmax(0,1fr) 56px 18px !important;
  gap:12px !important;
  align-items:center !important;
  width:100% !important;
  min-height:52px !important;
  padding:12px 18px !important;
  border:0 !important;
  border-bottom:1px solid #e6e9ed !important;
  border-radius:0 !important;
  background:#fff !important;
}

.audible3-chapters-card .chapter-title-line{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  color:#222 !important;
  font-size:14px !important;
  text-align:left !important;
}

.audible3-chapters-card .chapter-time{
  color:#667085 !important;
  font-size:13px !important;
  text-align:right !important;
}

.chapter-menu{
  color:#111827 !important;
  font-size:20px !important;
}

.audible3-chapters-card .chapter-row-button.active,
.audible3-chapters-card .chapter-row-button.is-playing{
  background:#fff !important;
}

.audible3-chapters-card .chapter-row-button.is-playing .chapter-title-line,
.audible3-chapters-card .chapter-row-button.is-playing .chapter-time{
  color:var(--accent) !important;
  font-weight:800 !important;
}

@media(max-width:1100px){
  .audible3-player-page{padding:24px 28px 36px !important}
  .audible3-player-layout{
    grid-template-columns:300px minmax(0,1fr) !important;
    grid-template-areas:
      "cover main"
      "side side"
      "chapters chapters" !important;
    gap:28px 34px !important;
  }
  .audible3-cover-column,
  .audible3-square-cover{
    width:300px !important;
    max-width:300px !important;
    height:300px !important;
  }
  .audible3-side-column{
    width:100% !important;
    max-width:none !important;
    grid-template-columns:1fr 1fr !important;
  }
  .audible3-player-meta-row{
    grid-template-columns:repeat(2,max-content) !important;
    justify-content:start !important;
  }
}

@media(max-width:760px){
  .audible3-player-page{padding:18px 16px 30px !important}
  .audible3-player-layout{display:flex !important;flex-direction:column !important;gap:22px !important}
  .audible3-cover-column,
  .audible3-main-column,
  .audible3-side-column,
  .audible3-chapters-span{width:100% !important;max-width:none !important}
  .audible3-square-cover{
    width:min(86vw,340px) !important;
    height:min(86vw,340px) !important;
    max-width:340px !important;
    margin:0 auto !important;
  }
  .audible3-book-heading{text-align:center !important}
  .audible3-book-heading h1{font-size:30px !important}
  .audible3-player-meta-row{grid-template-columns:repeat(2,minmax(0,1fr)) !important;text-align:center !important}
  .audible3-main-controls{grid-template-columns:58px 68px 74px 68px 58px !important;gap:4px !important}
  .audible3-main-controls button small{font-size:9px !important}
  .audible3-main-controls .primary-play{width:68px !important;height:68px !important;min-width:68px !important;min-height:68px !important}
  .reference-skip-icon{width:40px !important;height:40px !important;min-height:40px !important}
  .audible3-side-column{grid-template-columns:1fr !important}
  .audible3-chapters-card .chapter-row-button{grid-template-columns:30px minmax(0,1fr) 50px 14px !important;padding-left:10px !important;padding-right:10px !important}
}


/* Preview update: use real player icons and tighten overall layout */
.audible3-player-page{
  max-width:1280px !important;
  margin:0 auto !important;
  padding:24px 40px 38px !important;
}

.audible3-player-layout{
  grid-template-columns:280px minmax(460px,1fr) 272px !important;
  column-gap:32px !important;
  row-gap:24px !important;
}

.audible3-cover-column,
.audible3-square-cover{
  width:280px !important;
  max-width:280px !important;
  height:280px !important;
}

.collection-actions{
  gap:10px !important;
}

.collection-pill{
  min-width:190px !important;
  padding:11px 18px !important;
}

.collection-more{
  width:42px !important;
  height:42px !important;
}

.audible3-main-column{
  padding-top:6px !important;
}

.audible3-book-heading{
  margin-bottom:20px !important;
}

.audible3-book-heading h1{
  font-size:32px !important;
  margin-bottom:6px !important;
}

.audible3-book-heading .subtitle{
  font-size:16px !important;
  margin-bottom:8px !important;
}

.audible3-player-controls{
  gap:16px !important;
}

.audible3-player-meta-row{
  gap:12px !important;
  font-size:11px !important;
}

.audible3-seek-row{
  gap:10px !important;
}

.audible3-main-controls{
  grid-template-columns:74px 92px 82px 92px 74px !important;
  gap:10px !important;
  padding:0 0 6px !important;
}

.audible3-main-controls button{
  min-height:80px !important;
  gap:6px !important;
}

.audible3-main-controls button span{
  min-height:36px !important;
}

.audible3-main-controls button small{
  min-height:18px !important;
  font-size:11px !important;
}

.track-control-icon{
  font-size:20px !important;
}

.audible3-main-controls .primary-play{
  width:74px !important;
  height:74px !important;
  min-width:74px !important;
  min-height:74px !important;
}

.primary-play-symbol{
  font-size:28px !important;
}

.player-icon-image{
  width:36px !important;
  height:36px !important;
  min-height:36px !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
}

.rewind-30-icon{
  background-image:url("rewind-30-icon-v2.png") !important;
}

.forward-30-icon{
  background-image:url("forward-30-icon-v2.png") !important;
}

.reference-skip-icon,
.reference-skip-icon::after,
.reference-skip-icon b{
  display:none !important;
}

.audible3-secondary-actions{
  padding-top:14px !important;
  margin-top:0 !important;
}

.audible3-secondary-actions button{
  font-size:12px !important;
}

.audible3-side-column{
  width:272px !important;
  max-width:272px !important;
  gap:14px !important;
}

.audible3-info-card{
  padding:18px !important;
}

.audible3-info-card h3{
  margin-bottom:16px !important;
  font-size:17px !important;
}

.progress-summary{
  grid-template-columns:96px minmax(0,1fr) !important;
  gap:14px !important;
}

.progress-ring{
  width:96px !important;
  height:96px !important;
}

.audible3-info-card button{
  min-height:42px !important;
}

.audible3-chapters-card{
  border-radius:12px !important;
}

.audible3-chapters-head{
  padding:14px 16px !important;
}

.audible3-chapters-card .chapter-row-button{
  grid-template-columns:34px minmax(0,1fr) 52px 16px !important;
  min-height:48px !important;
  padding:11px 16px !important;
}

.audible3-chapters-card .chapter-title-line{
  font-size:13px !important;
}

.audible3-chapters-card .chapter-time,
.chapter-head-actions span,
.chapter-head-actions button{
  font-size:12px !important;
}

@media(max-width:1100px){
  .audible3-player-page{
    max-width:100% !important;
    padding:22px 24px 32px !important;
  }
  .audible3-player-layout{
    grid-template-columns:260px minmax(0,1fr) !important;
    gap:24px 28px !important;
  }
  .audible3-cover-column,
  .audible3-square-cover{
    width:260px !important;
    max-width:260px !important;
    height:260px !important;
  }
  .audible3-side-column{
    width:100% !important;
    max-width:none !important;
  }
}

@media(max-width:760px){
  .audible3-player-page{
    padding:18px 14px 28px !important;
  }
  .audible3-square-cover{
    width:min(80vw,300px) !important;
    height:min(80vw,300px) !important;
    max-width:300px !important;
  }
  .audible3-book-heading h1{
    font-size:28px !important;
  }
  .audible3-main-controls{
    grid-template-columns:58px 74px 74px 74px 58px !important;
    gap:2px !important;
  }
  .audible3-main-controls button{
    min-height:74px !important;
  }
  .audible3-main-controls .primary-play{
    width:68px !important;
    height:68px !important;
    min-width:68px !important;
    min-height:68px !important;
  }
  .player-icon-image{
    width:30px !important;
    height:30px !important;
    min-height:30px !important;
  }
}


/* Preview update: first open play icon, slimmer pause icon, larger 30-second controls */
.audible3-main-controls button{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding-top:4px !important;
}

.audible3-main-controls .primary-play{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding-top:0 !important;
  width:82px !important;
  height:82px !important;
  min-width:82px !important;
  min-height:82px !important;
  box-shadow:0 12px 24px rgba(244,123,32,.24) !important;
}

.primary-play-symbol{
  display:inline-block !important;
  font-size:30px !important;
  line-height:1 !important;
  color:#fff !important;
  transform:translateX(2px) !important;
}

.primary-pause-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  width:28px !important;
  height:28px !important;
}

.primary-pause-icon i{
  display:block !important;
  width:5px !important;
  height:24px !important;
  border-radius:3px !important;
  background:#fff !important;
}

.player-icon-image{
  width:50px !important;
  height:50px !important;
  min-height:50px !important;
}

.audible3-main-controls button small{
  min-height:18px !important;
  font-size:12px !important;
  line-height:1.2 !important;
  margin-top:4px !important;
}

.audible3-main-controls{
  grid-template-columns:74px 102px 90px 102px 74px !important;
  gap:12px !important;
  align-items:start !important;
}

@media(max-width:760px){
  .audible3-main-controls{
    grid-template-columns:60px 84px 76px 84px 60px !important;
    gap:6px !important;
  }
  .audible3-main-controls .primary-play{
    width:74px !important;
    height:74px !important;
    min-width:74px !important;
    min-height:74px !important;
  }
  .player-icon-image{
    width:42px !important;
    height:42px !important;
    min-height:42px !important;
  }
  .primary-play-symbol{
    font-size:28px !important;
  }
  .primary-pause-icon i{
    width:5px !important;
    height:22px !important;
  }
}

/* Final player control alignment from approved reference */
.audible3-main-controls{
  grid-template-columns:78px 110px 92px 110px 78px !important;
  align-items:start !important;
  gap:14px !important;
}

.audible3-main-controls button{
  min-height:92px !important;
  padding-top:0 !important;
  gap:6px !important;
}

.audible3-main-controls button span{
  min-height:54px !important;
}

.player-icon-image{
  width:58px !important;
  height:58px !important;
  min-height:58px !important;
}

.audible3-main-controls button small{
  min-height:18px !important;
  margin-top:-2px !important;
  font-size:12px !important;
  line-height:1.15 !important;
  transform:translateY(-2px) !important;
}

.audible3-main-controls .primary-play{
  width:84px !important;
  height:84px !important;
  min-width:84px !important;
  min-height:84px !important;
  padding:0 !important;
}

.primary-play-symbol{
  color:#fff !important;
  font-size:32px !important;
  line-height:1 !important;
  transform:translateX(2px) !important;
}

.primary-pause-icon{
  gap:7px !important;
}

.primary-pause-icon i{
  width:4px !important;
  height:23px !important;
  border-radius:3px !important;
}

@media(max-width:760px){
  .audible3-main-controls{
    grid-template-columns:58px 84px 76px 84px 58px !important;
    gap:6px !important;
  }

  .player-icon-image{
    width:46px !important;
    height:46px !important;
    min-height:46px !important;
  }

  .audible3-main-controls button span{
    min-height:46px !important;
  }

  .audible3-main-controls button small{
    font-size:10px !important;
    transform:translateY(-1px) !important;
  }
}

/* Keep the footer flush with the bottom of the viewport and remove all space below it */
html,
body{
  width:100%;
  min-height:100%;
  height:100%;
  margin:0 !important;
  padding:0 !important;
}

body{
  min-height:100vh !important;
  display:flex !important;
  flex-direction:column !important;
  overflow-x:hidden;
}

main#app{
  flex:1 0 auto !important;
  min-height:0;
}

.footer{
  width:100% !important;
  flex:0 0 auto !important;
  margin-top:auto !important;
  margin-bottom:0 !important;
  padding-bottom:40px !important;
  border-radius:0 !important;
  position:relative;
  bottom:0;
}

body::after,
.footer::after{
  content:none !important;
  display:none !important;
}

/* Mobile listening page: prevent overlap and preserve clear vertical spacing */
@media (max-width: 760px){
  .audible3-player-page{
    width:100% !important;
    max-width:100% !important;
    padding:20px 14px 32px !important;
    overflow:hidden !important;
  }

  .audible3-player-layout{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    width:100% !important;
    gap:0 !important;
  }

  .audible3-cover-column{
    order:1 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    gap:16px !important;
  }

  .audible3-square-cover{
    position:relative !important;
    display:block !important;
    width:min(78vw,300px) !important;
    height:auto !important;
    min-height:0 !important;
    max-width:300px !important;
    aspect-ratio:1 / 1 !important;
    margin:0 auto !important;
    flex:none !important;
    overflow:hidden !important;
  }

  .audible3-square-cover img{
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .collection-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    width:100% !important;
    min-height:44px !important;
    margin:0 0 28px !important;
    gap:10px !important;
  }

  .collection-pill{
    width:auto !important;
    min-width:190px !important;
    max-width:calc(100vw - 92px) !important;
    margin:0 !important;
  }

  .audible3-main-column{
    order:2 !important;
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
  }

  .audible3-book-heading{
    display:block !important;
    width:100% !important;
    margin:0 0 24px !important;
    padding:0 !important;
    text-align:center !important;
    clear:both !important;
  }

  .audible3-book-heading h1{
    margin:0 0 10px !important;
    padding:0 !important;
    font-size:28px !important;
    line-height:1.14 !important;
    overflow-wrap:anywhere !important;
  }

  .audible3-book-heading .subtitle{
    margin:0 auto 10px !important;
    max-width:94% !important;
    font-size:15px !important;
    line-height:1.45 !important;
  }

  .audible3-book-heading .author{
    margin:0 !important;
    line-height:1.35 !important;
  }

  .audible3-player-controls{
    display:grid !important;
    width:100% !important;
    max-width:100% !important;
    gap:18px !important;
    overflow:visible !important;
  }

  .audible3-player-meta-row{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    width:100% !important;
    gap:14px 12px !important;
    padding:0 8px !important;
    text-align:center !important;
    font-size:11px !important;
    line-height:1.35 !important;
  }

  .audible3-player-meta-row span{
    min-width:0 !important;
    overflow-wrap:anywhere !important;
  }

  .audible3-seek-row{
    grid-template-columns:46px minmax(0,1fr) 46px !important;
    width:100% !important;
    gap:8px !important;
    padding:0 !important;
  }

  .audible3-main-controls{
    display:grid !important;
    grid-template-columns:48px 72px 76px 72px 48px !important;
    justify-content:space-between !important;
    align-items:start !important;
    width:100% !important;
    max-width:520px !important;
    margin:0 auto !important;
    gap:4px !important;
    padding:0 !important;
  }

  .audible3-main-controls button{
    width:100% !important;
    min-width:0 !important;
    min-height:82px !important;
    padding:0 !important;
    gap:5px !important;
  }

  .audible3-main-controls button small{
    display:block !important;
    min-height:24px !important;
    margin:0 !important;
    font-size:9px !important;
    line-height:1.2 !important;
    white-space:normal !important;
  }

  .audible3-main-controls .primary-play{
    width:70px !important;
    height:70px !important;
    min-width:70px !important;
    min-height:70px !important;
    justify-self:center !important;
  }

  .player-icon-image{
    width:42px !important;
    height:42px !important;
    min-height:42px !important;
  }

  .audible3-secondary-actions{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    width:100% !important;
    margin:10px 0 0 !important;
    padding:18px 0 0 !important;
    gap:6px !important;
  }

  .audible3-secondary-actions button{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    min-width:0 !important;
    padding:8px 3px !important;
    font-size:11px !important;
    white-space:nowrap !important;
  }

  .audible3-secondary-actions button span{
    display:inline !important;
  }

  .audible3-side-column{
    order:3 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    max-width:100% !important;
    margin:28px 0 0 !important;
    gap:16px !important;
  }

  .audible3-chapters-span{
    order:4 !important;
    width:100% !important;
    max-width:100% !important;
    margin:28px 0 0 !important;
  }

  .audible3-chapters-head{
    align-items:flex-start !important;
    gap:12px !important;
  }

  .chapter-head-actions{
    flex-wrap:wrap !important;
    justify-content:flex-end !important;
    gap:8px !important;
  }
}

@media (max-width: 430px){
  .audible3-player-page{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .audible3-square-cover{
    width:min(82vw,280px) !important;
  }

  .audible3-main-controls{
    grid-template-columns:42px 64px 70px 64px 42px !important;
    gap:2px !important;
  }

  .audible3-main-controls .primary-play{
    width:66px !important;
    height:66px !important;
    min-width:66px !important;
    min-height:66px !important;
  }

  .player-icon-image{
    width:38px !important;
    height:38px !important;
    min-height:38px !important;
  }

  .audible3-secondary-actions button{
    font-size:10px !important;
  }
}

/* Remove collection and secondary player controls while preserving their spacing */
.collection-actions,
.audible3-secondary-actions{
  visibility:hidden !important;
  pointer-events:none !important;
  user-select:none !important;
}

/* Final matching rewind/forward icon assets */
.rewind-30-icon,
.forward-30-icon{
  width:50px !important;
  height:50px !important;
  min-width:50px !important;
  min-height:50px !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
}
.rewind-30-icon{background-image:url("rewind-30-icon-v2.png") !important;}
.forward-30-icon{background-image:url("forward-30-icon-v2.png") !important;}
@media(max-width:760px){
  .rewind-30-icon,
  .forward-30-icon{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;
  }
}


/* Detected chapter readable-text editor */
.chapter-reading-field{grid-column:1/-1}
.chapter-reading-field textarea{width:100%;min-height:180px;resize:vertical;line-height:1.55}
.chapter-file-status{display:flex;gap:8px;flex-wrap:wrap}
.reader-chapter{margin-bottom:48px}
.reader-chapter h2{margin-bottom:8px}
.reader-chapter h3{margin-top:0;color:var(--muted);font-weight:600}


.book-package-card .book-drop-zone small{line-height:1.5}
.book-package-card .book-package-help::after{content:"Large-book uploads enabled: up to 5 GB per package";display:block;margin-top:12px;padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid var(--line);color:#475569;font-size:13px;font-weight:700}

/* Book editor cover preview should fit the uploaded cover without excessive empty space */
.book-editor-page .book-cover-upload-preview{
  width:min(100%, 270px);
  aspect-ratio:auto !important;
  min-height:0;
  padding:10px;
  justify-content:center;
  align-items:center;
}
.book-editor-page .book-cover-upload-preview img{
  width:100%;
  max-width:250px;
  height:auto;
  max-height:none;
  object-fit:contain;
  border-radius:12px;
}
.book-editor-page .book-cover-upload-preview [data-cover-placeholder]{
  width:100%;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}


/* Admin Books: all created titles with saved cover or branded fallback */
.admin-book-count{display:inline-flex;margin-top:8px;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:12px;font-weight:800}
.admin-book-cover-display{position:relative;aspect-ratio:1/1!important;overflow:hidden;background:#fff!important;border-bottom:1px solid var(--line)}
.admin-book-cover-display .admin-uploaded-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;z-index:2}
.admin-book-cover-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#fff;z-index:1}
.admin-book-fallback-logo-image{display:block;width:auto;max-width:72%;max-height:34%;object-fit:contain}
.admin-book-fallback-logo-text{font-size:28px;line-height:1;font-weight:900;letter-spacing:-.04em;color:#111827;text-align:center}
@media(max-width:700px){.admin-book-fallback-logo-text{font-size:23px}}


/* Admin books: six cards per row, twelve per page, filters and pagination */
.admin-book-card-grid{
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:14px !important;
}
.admin-book-card{border-radius:16px !important}
.admin-book-cover{min-height:0 !important;aspect-ratio:1/1 !important}
.admin-book-body{padding:12px !important}
.admin-book-title-row h4{font-size:14px !important;line-height:1.25}
.admin-book-title-row p{font-size:11px !important}
.admin-book-actions{padding:0 12px 12px !important;gap:8px !important}
.admin-book-actions .btn{padding:8px 10px !important;font-size:12px !important}
.admin-book-filters{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(190px,260px) auto;
  gap:14px;
  align-items:end;
  margin:18px 0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.admin-book-filters label{display:grid;gap:7px;font-weight:700;font-size:12px}
.admin-book-filters input,.admin-book-filters select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;font:inherit}
.admin-book-results{color:var(--muted);font-size:13px;padding-bottom:12px;white-space:nowrap}
.admin-book-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:22px}
.admin-book-pagination span{font-weight:700;color:#4b5563}
.admin-book-pagination button:disabled{opacity:.45;cursor:not-allowed}
.admin-tag-category{background:#eef2ff;color:#4338ca}
@media(max-width:1500px){.admin-book-card-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}
@media(max-width:1100px){.admin-book-card-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}.admin-book-filters{grid-template-columns:1fr 220px}.admin-book-results{grid-column:1/-1;padding:0}}
@media(max-width:760px){.admin-book-card-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.admin-book-filters{grid-template-columns:1fr}.admin-book-results{grid-column:auto}}
@media(max-width:480px){.admin-book-card-grid{grid-template-columns:1fr !important}}


/* New-book creation workflow */
.new-book-upload-stack{display:grid;gap:14px;margin:18px 0}
.upload-field{padding:15px;border:1px solid var(--line);border-radius:14px;background:#fafafa}
.upload-field input{margin-top:8px}
.upload-field small{display:block;margin-top:7px;color:var(--muted);line-height:1.45}
.preview-upload-field{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:color-mix(in srgb,var(--accent) 5%,#fff)}
.book-upload-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px}
.sample-upload-status{font-size:13px;color:var(--muted);font-weight:700}
.book-editor-card .form-grid{align-items:start}
@media(max-width:800px){.book-upload-actions .btn{width:100%}.sample-upload-status{width:100%}}


/* Narrator metadata removed sitewide */
.audible3-player-meta-row{
  grid-template-columns:repeat(3,max-content) !important;
}
@media(max-width:760px){
  .audible3-player-meta-row{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* Final chapter-list behavior: every track keeps its number until that track is actively playing. */
.audible3-chapters-card .chapter-row-button{
  grid-template-columns:36px minmax(0,1fr) 54px 18px !important;
  column-gap:10px !important;
}
.audible3-chapters-card .chapter-track-indicator{
  position:relative !important;
  inset:auto !important;
  transform:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:28px !important;
  min-width:28px !important;
  height:28px !important;
  margin:0 !important;
  opacity:1 !important;
  color:#8a8a8a !important;
}
.audible3-chapters-card .chapter-track-number{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1 !important;
  font-variant-numeric:tabular-nums;
}
.audible3-chapters-card .chapter-track-bars{
  display:none !important;
  align-items:flex-end !important;
  justify-content:center !important;
  gap:2px !important;
  width:20px !important;
  height:16px !important;
}
.audible3-chapters-card .chapter-track-bars i{
  display:block !important;
  width:3px !important;
  border-radius:2px !important;
  background:var(--accent) !important;
  animation:audible3TrackBars .85s ease-in-out infinite !important;
}
.audible3-chapters-card .chapter-track-bars i:nth-child(1){height:7px !important}
.audible3-chapters-card .chapter-track-bars i:nth-child(2){height:14px !important;animation-delay:.14s !important}
.audible3-chapters-card .chapter-track-bars i:nth-child(3){height:9px !important;animation-delay:.28s !important}
.audible3-chapters-card .chapter-track-indicator.playing .chapter-track-number{
  display:none !important;
}
.audible3-chapters-card .chapter-track-indicator.playing .chapter-track-bars{
  display:flex !important;
}
.audible3-chapters-card .chapter-row-button.active:not(.is-playing){
  background:#fff !important;
}
.audible3-chapters-card .chapter-row-button.is-playing{
  background:color-mix(in srgb,var(--accent) 8%,#fff) !important;
  box-shadow:inset 3px 0 0 var(--accent);
}
.audible3-chapters-card .chapter-row-button.is-playing .chapter-title-line,
.audible3-chapters-card .chapter-row-button.is-playing .chapter-time{
  color:var(--accent) !important;
  font-weight:800 !important;
}
@media(max-width:800px){
  .audible3-chapters-card .chapter-row-button{
    grid-template-columns:30px minmax(0,1fr) 48px 14px !important;
    column-gap:8px !important;
  }
  .audible3-chapters-card .chapter-track-indicator{
    width:26px !important;
    min-width:26px !important;
    height:26px !important;
  }
}

/* Keep the player header spacing while hiding redundant chapter/rate/total labels */
.audible3-player-meta-row{
  visibility:hidden !important;
  pointer-events:none !important;
}

/* Listen / Read controls beneath the book cover */
.cover-media-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  width:100%;
}
.cover-media-button{
  min-height:46px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:#202124;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.cover-media-button:hover:not(:disabled){
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(15,23,42,.10);
}
.cover-media-button.active{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}
.cover-media-button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* Refined Listen / Read controls and chapter list */
.cover-media-actions{
  margin-bottom:20px !important;
}
.cover-media-button[data-book-mode="read"]{
  background:#000 !important;
  border-color:#000 !important;
  color:#fff !important;
}
.cover-media-button[data-book-mode="read"]:hover:not(:disabled){
  background:#171717 !important;
  border-color:#171717 !important;
}
.audible3-chapters-card .chapter-row-button{
  grid-template-columns:36px minmax(0,1fr) 62px !important;
  font-size:16px !important;
}
.audible3-chapters-card .chapter-title-line{
  font-size:16px !important;
  line-height:1.35 !important;
}
.audible3-chapters-card .chapter-time{
  font-size:14px !important;
}
.audible3-chapters-card .chapter-menu,
.audible3-chapters-card .chapter-more{
  display:none !important;
}
@media(max-width:800px){
  .audible3-chapters-card .chapter-row-button{
    grid-template-columns:30px minmax(0,1fr) 54px !important;
    font-size:15px !important;
  }
  .audible3-chapters-card .chapter-title-line{
    font-size:15px !important;
  }
}

/* Add clear separation between the cover action buttons and the chapter box */
.audible3-chapters-span{
  position:relative !important;
  padding-top:30px !important;
  margin-top:8px !important;
}
.audible3-chapters-span::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:#e2e2e5;
}
@media(max-width:800px){
  .audible3-chapters-span{
    padding-top:24px !important;
    margin-top:4px !important;
  }
}

/* Preserve the spacing above chapters without showing a divider line */
.audible3-chapters-span::before{
  display:none !important;
  content:none !important;
}

/* Full book-description popup trigger and content */
.about-read-more{
  appearance:none;
  border:0;
  padding:0;
  background:transparent;
  color:var(--accent);
  font:inherit;
  font-weight:800;
  cursor:pointer;
  text-align:left;
}
.about-read-more:hover{text-decoration:underline}
.book-description-popup{
  max-width:620px;
  max-height:min(62vh,520px);
  overflow:auto;
  padding:4px 2px 8px;
}
.book-description-popup p{
  margin:0;
  color:var(--text);
  font-size:16px;
  line-height:1.75;
  white-space:normal;
}

/* Final 30-second control icon sizing */
.rewind-30-icon,
.forward-30-icon,
.player-icon-image.rewind-30-icon,
.player-icon-image.forward-30-icon{
  width:35px !important;
  height:35px !important;
  min-width:35px !important;
  min-height:35px !important;
  max-width:35px !important;
  max-height:35px !important;
  background-size:contain !important;
}

@media (max-width:700px){
  .rewind-30-icon,
  .forward-30-icon,
  .player-icon-image.rewind-30-icon,
  .player-icon-image.forward-30-icon{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
    max-width:32px !important;
    max-height:32px !important;
  }
}

/* Align all five player controls and their labels on shared rows */
.audible3-main-controls{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(70px, 1fr)) !important;
  align-items:start !important;
  justify-items:center !important;
  column-gap:12px !important;
  max-width:560px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.audible3-main-controls > button{
  width:100% !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  display:grid !important;
  grid-template-rows:82px 28px !important;
  align-items:center !important;
  justify-items:center !important;
  align-self:start !important;
  gap:8px !important;
  color:var(--text) !important;
}
.audible3-main-controls > button > span:not(.primary-play-disc){
  width:82px !important;
  height:82px !important;
  min-width:82px !important;
  min-height:82px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
}
.audible3-main-controls > button > .player-icon-image{
  width:35px !important;
  height:35px !important;
  min-width:35px !important;
  min-height:35px !important;
  align-self:center !important;
}
.audible3-main-controls .primary-play{
  width:100% !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.audible3-main-controls .primary-play-disc{
  width:82px !important;
  height:82px !important;
  min-width:82px !important;
  min-height:82px !important;
  border-radius:50% !important;
  background:var(--accent) !important;
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:0 14px 28px rgba(15,23,42,.18) !important;
}
.audible3-main-controls > button small{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  width:100% !important;
  min-height:28px !important;
  margin:0 !important;
  padding:0 !important;
  font-size:12px !important;
  line-height:1.15 !important;
  text-align:center !important;
  color:#6b7280 !important;
}
@media(max-width:700px){
  .audible3-main-controls{
    grid-template-columns:repeat(5, minmax(52px, 1fr)) !important;
    column-gap:4px !important;
    max-width:100% !important;
  }
  .audible3-main-controls > button{
    grid-template-rows:68px 28px !important;
    gap:6px !important;
  }
  .audible3-main-controls > button > span:not(.primary-play-disc){
    width:68px !important;
    height:68px !important;
    min-width:68px !important;
    min-height:68px !important;
  }
  .audible3-main-controls > button > .player-icon-image{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
  }
  .audible3-main-controls .primary-play-disc{
    width:68px !important;
    height:68px !important;
    min-width:68px !important;
    min-height:68px !important;
  }
  .audible3-main-controls > button small{
    font-size:10px !important;
  }
}

/* Keep 30-second icons compact without changing label positions */
.audible3-main-controls > button > .player-icon-image.rewind-30-icon,
.audible3-main-controls > button > .player-icon-image.forward-30-icon{
  width:35px !important;
  height:35px !important;
  min-width:35px !important;
  min-height:35px !important;
  max-width:35px !important;
  max-height:35px !important;
}

/* Remove the Play/Pause caption while preserving the shared label row */
.audible3-main-controls .primary-play [data-primary-play-label]{
  visibility:hidden !important;
}

@media(max-width:700px){
  .audible3-main-controls > button > .player-icon-image.rewind-30-icon,
  .audible3-main-controls > button > .player-icon-image.forward-30-icon{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
    max-width:32px !important;
    max-height:32px !important;
  }
}

/* Requested listening-page cover sizes */
@media (min-width:1201px){
  .audible3-player-layout{
    grid-template-columns:380px minmax(520px,1fr) 320px !important;
  }
  .audible3-cover-column{
    width:380px !important;
    max-width:380px !important;
  }
  .audible3-square-cover{
    width:380px !important;
    height:380px !important;
    max-width:380px !important;
  }
}

@media (min-width:761px) and (max-width:1200px){
  .audible3-cover-column{
    width:340px !important;
    max-width:340px !important;
  }
  .audible3-square-cover{
    width:340px !important;
    height:340px !important;
    max-width:340px !important;
  }
}

@media (min-width:431px) and (max-width:760px){
  .audible3-square-cover{
    width:330px !important;
    height:330px !important;
    max-width:330px !important;
  }
}

@media (max-width:430px){
  .audible3-square-cover{
    width:min(100%,300px) !important;
    height:auto !important;
    max-width:300px !important;
    aspect-ratio:1 / 1 !important;
  }
}

/* Enhanced conversion-focused Audible3 homepage */
.home-kicker{display:block;margin-bottom:10px;color:var(--accent);font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.home-story-section{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.7fr);gap:38px;align-items:center;padding-top:76px;padding-bottom:76px}
.home-story-copy h2,.home-revelation-section h2,.home-transform-section h2,.home-benefits-section h2,.home-final-cta h2{margin:0 0 18px;font-size:clamp(32px,4vw,54px);line-height:1.08}
.home-story-copy p,.home-revelation-section>div>p,.home-transform-section>p,.home-benefits-section>div>p,.home-final-cta p{margin:0;color:#4b5563;font-size:18px;line-height:1.8}
.home-signature{margin-top:24px;font-family:Georgia,serif;font-size:21px;font-style:italic;font-weight:700}
.home-revelation-card{padding:34px;border-radius:22px;background:#111;color:#fff}
.home-revelation-card span{display:block;margin-bottom:18px;color:var(--accent);font-size:12px;font-weight:900;letter-spacing:.16em}
.home-revelation-card strong{font-family:Georgia,serif;font-size:26px;line-height:1.45}
.home-revelation-section{position:relative;left:50%;right:50%;width:100vw;max-width:100vw;margin-left:-50vw;margin-right:-50vw;padding:76px max(5vw,24px);background:#111;color:#fff;border-radius:0}
.home-revelation-section>div>p{max-width:900px;color:#d1d5db}
.home-three-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:38px}
.home-three-steps article{padding:28px;border:1px solid rgba(255,255,255,.15);border-radius:18px;background:rgba(255,255,255,.05)}
.home-three-steps b{color:var(--accent);font-size:13px}.home-three-steps h3{margin:14px 0 8px;font-size:25px}.home-three-steps p{margin:0;color:#cbd5e1;line-height:1.6}
.home-transform-section{text-align:center;padding-top:86px;padding-bottom:86px}
.home-transform-section>p{max-width:900px;margin:0 auto}.home-transform-section .actions{justify-content:center;margin-top:28px}
.home-benefits-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:45px;align-items:start;padding-top:70px;padding-bottom:70px;background:#fff}
.home-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.home-benefit-grid article{position:relative;padding:20px 18px 20px 48px;border:1px solid var(--line);border-radius:14px;background:#fafafa;font-weight:800;line-height:1.4}
.home-benefit-grid article:before{content:"✓";position:absolute;left:18px;top:18px;color:var(--accent);font-size:20px;font-weight:900}
.home-featured-books{padding-top:80px;padding-bottom:80px}
.home-final-cta{max-width:1000px;margin:35px auto 0;text-align:center;padding:76px 6vw;border-radius:28px;background:linear-gradient(135deg,#1a1a1a,#000);color:#fff}
.home-final-cta p{max-width:780px;margin:0 auto;color:#d1d5db}
.home-final-cta+.section{text-align:center!important;padding-top:26px;padding-bottom:78px}
@media(max-width:850px){.home-story-section,.home-benefits-section{grid-template-columns:1fr}.home-three-steps{grid-template-columns:1fr}.home-revelation-card{padding:26px}.home-benefit-grid{grid-template-columns:1fr}.home-story-section,.home-transform-section,.home-benefits-section,.home-featured-books{padding-top:56px;padding-bottom:56px}}

/* Public library search and category filters */
.library-filter-section{padding-top:8px}
.library-filter-toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:0 0 42px}
.library-filter-field{display:grid;gap:7px}
.library-filter-field span{font-size:13px;font-weight:800;color:#374151}
.library-filter-field.search-field{width:min(100%,430px)}
.library-search-wrap{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:0 16px;border:1px solid #b7c6da;border-radius:999px;background:#edf3fb;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.library-search-wrap svg{width:24px;height:24px;stroke:#111827;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.library-search-wrap input{width:100%;min-width:0;height:48px;padding:0;border:none;background:transparent;color:#557094;font-size:14px;font-weight:700;outline:none}
.library-search-wrap input::placeholder{color:#557094;opacity:1}
.library-search-wrap:focus-within{border-color:#90a9c6;box-shadow:0 0 0 3px rgba(147,197,253,.22)}
.library-filter-field.search-field span{display:none}
.library-filter-menu{position:relative;display:flex;align-items:center;justify-content:center}
.library-filter-trigger{width:50px;height:50px;border:1px solid #cfd8e3;border-radius:14px;background:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px rgba(15,23,42,.08);padding:0}
.library-filter-trigger:hover,.library-filter-trigger:focus-visible{border-color:#90a9c6;box-shadow:0 0 0 3px rgba(147,197,253,.22);outline:none}
.library-filter-trigger img{width:26px;height:26px;display:block}
.library-filter-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:20;min-width:220px;padding:8px;border:1px solid #d9e1ec;border-radius:16px;background:#fff;box-shadow:0 20px 44px rgba(15,23,42,.14);display:none}
.library-filter-popover.is-open{display:grid;gap:4px}
.library-filter-option{appearance:none;border:none;background:transparent;padding:11px 12px;border-radius:12px;text-align:left;font-size:14px;font-weight:700;color:#374151;cursor:pointer}
.library-filter-option:hover,.library-filter-option:focus-visible{background:#f4f7fb;outline:none}
.library-filter-option.is-active{background:#fff3e8;color:var(--accent)}
.library-results-summary{margin:0 0 52px;color:var(--muted);font-size:14px;font-weight:700}
@media(max-width:700px){.library-filter-toolbar{display:grid;grid-template-columns:1fr auto;align-items:center}.library-filter-field.search-field{width:100%}.library-filter-popover{right:0;left:auto;min-width:200px}}


/* Member login and member dashboard */
.demo-login-box{margin-bottom:22px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff8ef;display:grid;gap:6px}
.demo-login-box strong{font-size:17px}.demo-login-box span{color:#4b5563}.demo-login-box .link-button{justify-self:start;padding:0;margin-top:4px}
.member-dashboard-page{display:grid;gap:24px}
.member-welcome{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:30px;border-radius:22px;background:#111;color:#fff}
.member-welcome h1{margin:6px 0 8px;font-size:clamp(30px,5vw,48px)}.member-welcome p{margin:0;color:rgba(255,255,255,.75)}
.member-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;color:var(--accent)}
.member-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.member-summary-card,.member-dashboard-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.member-summary-card span,.member-summary-card small{display:block;color:var(--muted)}.member-summary-card strong{display:block;font-size:26px;margin:9px 0}
.member-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.member-section-head h2,.member-dashboard-section h2{margin:0 0 6px}
.member-continue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.member-continue-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:14px;border:1px solid var(--line);border-radius:16px}.member-mini-cover{aspect-ratio:1/1;position:relative;overflow:hidden;border-radius:12px;background:#f3f4f6;display:grid;place-items:center;text-align:center;font-size:12px;font-weight:800;padding:8px}.member-mini-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.member-continue-card h3{margin:0 0 4px}.member-continue-card p{margin:0 0 12px;color:var(--muted);font-size:13px}.member-continue-card .btn{margin-top:12px}.member-progress-track{height:8px;background:#eceef1;border-radius:999px;overflow:hidden;margin-bottom:6px}.member-progress-track span{display:block;height:100%;background:var(--accent);border-radius:inherit}
.member-dashboard-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.member-quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.member-quick-links button{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fafafa;text-align:left;font-weight:800;cursor:pointer}.member-quick-links button:hover{border-color:var(--accent);background:#fff8ef}
@media(max-width:1050px){.member-summary-grid{grid-template-columns:repeat(2,1fr)}.member-continue-grid{grid-template-columns:1fr}.member-dashboard-columns{grid-template-columns:1fr}}
@media(max-width:620px){.member-welcome{flex-direction:column}.member-summary-grid{grid-template-columns:1fr}.member-continue-card{grid-template-columns:90px minmax(0,1fr)}.member-quick-links{grid-template-columns:1fr}}

/* Shared member/admin login background */
.auth-login-page{
  position:relative;
  min-height:calc(100vh - 150px);
  background:#f4f4f5;
  background-image:linear-gradient(rgba(10,10,12,.52),rgba(10,10,12,.52)),var(--login-background,none);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:grid;
  align-content:center;
}
.auth-login-page .section{
  position:relative;
  z-index:1;
}
.auth-login-page .signin-card{
  background:rgba(255,255,255,.97);
  box-shadow:0 22px 60px rgba(0,0,0,.22);
}
.branding-login-preview-box{
  margin-top:8px;
  width:min(520px,100%);
  min-height:190px;
  border:1px dashed var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#f5f5f5;
  display:flex;
  align-items:center;
  justify-content:center;
}
.branding-login-preview-box img{
  width:100%;
  height:210px;
  object-fit:cover;
}
.login-background-help{margin:-8px 0 0}

/* Homepage frequently asked questions */
.home-faq-section{
  max-width:980px;
  margin:0 auto;
}
.home-faq-heading{
  text-align:center;
  margin-bottom:28px;
}
.home-faq-heading h2{
  margin:0 0 10px;
  font-size:clamp(30px,4vw,48px);
}
.home-faq-heading p{
  margin:0 auto;
  max-width:720px;
  color:var(--muted);
  line-height:1.65;
}
.home-faq-list{
  display:grid;
  gap:12px;
}
.home-faq-item{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.home-faq-item summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px;
  font-size:17px;
  font-weight:800;
}
.home-faq-item summary::-webkit-details-marker{display:none}
.home-faq-item summary b{
  display:grid;
  place-items:center;
  flex:0 0 30px;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:20px;
  line-height:1;
  transition:transform .2s ease;
}
.home-faq-item[open] summary b{transform:rotate(45deg)}
.home-faq-answer{
  padding:0 22px 20px;
  color:var(--muted);
  line-height:1.7;
}
.home-faq-answer p{margin:0}
@media(max-width:650px){
  .auth-login-page{padding-left:16px;padding-right:16px}
  .home-faq-item summary{padding:17px 16px;font-size:16px}
  .home-faq-answer{padding:0 16px 17px}
}

/* Stronger public membership page */
.membership-page{display:grid;gap:54px;padding-top:28px}
.membership-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:28px;align-items:stretch;background:linear-gradient(135deg,#171717 0%,#2a201a 58%,#6a3212 100%);color:#fff;border-radius:28px;padding:clamp(34px,5vw,70px);overflow:hidden;position:relative}
.membership-hero:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-110px;top:-130px;background:rgba(244,123,32,.18)}
.membership-hero-copy,.membership-hero-card{position:relative;z-index:1}
.membership-eyebrow,.membership-section-heading>span,.membership-final-cta span{display:block;color:var(--accent);font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}
.membership-hero h1{font-size:clamp(40px,5.8vw,72px);line-height:1.01;max-width:820px;margin:0 0 20px;letter-spacing:-.04em}
.membership-hero-copy>p{font-size:clamp(17px,2vw,21px);line-height:1.65;max-width:780px;color:rgba(255,255,255,.84);margin:0}
.membership-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.membership-hero-actions .btn{padding:15px 22px;text-decoration:none}.membership-hero-actions .btn-outline{border-color:rgba(255,255,255,.42);color:#fff;background:transparent}
.membership-trust-row{display:flex;gap:20px;flex-wrap:wrap;margin-top:24px;color:rgba(255,255,255,.78);font-size:14px;font-weight:700}
.membership-hero-card{align-self:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:30px;backdrop-filter:blur(8px)}
.membership-hero-card-label{font-size:11px;letter-spacing:.12em;font-weight:900;color:#ffd4b5}.membership-hero-card h2{font-size:32px;line-height:1.08;margin:14px 0}.membership-hero-card p{line-height:1.65;color:rgba(255,255,255,.78)}
.membership-hero-stat{border-top:1px solid rgba(255,255,255,.16);margin-top:22px;padding-top:20px}.membership-hero-stat strong,.membership-hero-stat span{display:block}.membership-hero-stat strong{font-size:20px;margin-bottom:6px}.membership-hero-stat span{color:rgba(255,255,255,.72);line-height:1.5}
.membership-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.membership-outcomes>div{background:#fff;border:1px solid var(--line);border-radius:20px;padding:26px}.membership-outcomes span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff1e6;color:var(--accent);font-weight:900}.membership-outcomes h3{font-size:21px;margin:18px 0 8px}.membership-outcomes p{color:var(--muted);line-height:1.6;margin:0}
.membership-plans-section{scroll-margin-top:100px}.membership-section-heading{text-align:center;max-width:760px;margin:0 auto 30px}.membership-section-heading h2{font-size:clamp(34px,4vw,52px);margin:0 0 12px;letter-spacing:-.03em}.membership-section-heading p{color:var(--muted);font-size:18px;line-height:1.65;margin:0}
.membership-tier-grid{align-items:stretch}.membership-tier-card{min-height:520px;padding:30px}.membership-tier-card.featured{transform:translateY(-8px);box-shadow:0 20px 45px rgba(244,123,32,.18)}.membership-tier-top p{color:var(--muted);line-height:1.55;min-height:48px}.membership-credit-line{padding:12px 14px;background:#f7f7f8;border-radius:12px;margin:4px 0 18px;color:#4b5563}.membership-credit-line strong{color:#111}.membership-tier-card ul{list-style:none;padding:0;margin:0 0 24px}.membership-tier-card li{display:flex;gap:10px;align-items:flex-start;padding:9px 0;line-height:1.45}.membership-tier-card li span{color:var(--accent);font-weight:900}.membership-tier-note{display:block;color:var(--muted);line-height:1.45;text-align:center;margin-top:12px}
.membership-how{background:#fff;border:1px solid var(--line);border-radius:26px;padding:clamp(30px,5vw,58px)}.membership-how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}.membership-how-grid>div{padding:24px;border-radius:18px;background:#f8f8f9}.membership-how-grid b{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#111;color:#fff}.membership-how-grid h3{margin:18px 0 8px}.membership-how-grid p{margin:0;color:var(--muted);line-height:1.6}
.membership-final-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#111;color:#fff;border-radius:26px;padding:clamp(32px,5vw,58px)}.membership-final-cta>div{max-width:780px}.membership-final-cta h2{font-size:clamp(32px,4vw,52px);line-height:1.08;margin:0 0 14px}.membership-final-cta p{color:rgba(255,255,255,.75);font-size:17px;line-height:1.6;margin:0}.membership-final-cta .btn{flex:0 0 auto;padding:16px 24px;text-decoration:none}
@media(max-width:980px){.membership-hero{grid-template-columns:1fr}.membership-outcomes,.membership-how-grid{grid-template-columns:1fr}.membership-tier-card.featured{transform:none}.membership-final-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.membership-page{gap:38px}.membership-hero{padding:30px 22px;border-radius:22px}.membership-hero h1{font-size:40px}.membership-hero-card{padding:22px}.membership-hero-actions,.membership-hero-actions .btn,.membership-final-cta .btn{width:100%}.membership-hero-actions .btn{text-align:center}.membership-trust-row{display:grid;gap:10px}.membership-outcomes>div,.membership-tier-card{padding:22px}.membership-final-cta{padding:30px 22px}}

/* Responsive home hero: show the full banner artwork instead of cropping it */
.hero{
  min-height:720px;
  background-color:#7a405a;
  background-size:100% 100%, contain !important;
  background-position:center, right center !important;
  background-repeat:no-repeat !important;
}
.builder-banner{
  min-height:480px;
  background-color:#7a405a;
  background-size:100% 100%, contain !important;
  background-position:center, right center !important;
  background-repeat:no-repeat !important;
}
@media (max-width:1100px){
  .hero{min-height:650px;padding:46px}
  .builder-banner{min-height:430px}
}
@media (max-width:760px){
  .hero{
    min-height:760px;
    padding:375px 24px 36px;
    align-items:flex-end;
    background-size:100% 100%, auto 360px !important;
    background-position:center, 70% 18px !important;
  }
  .hero-inner{max-width:100%}
  .hero h1{font-size:clamp(38px,12vw,58px)}
  .builder-banner{
    min-height:700px;
    padding:350px 24px 32px;
    align-items:flex-end;
    background-size:100% 100%, auto 335px !important;
    background-position:center, 70% 14px !important;
  }
}
@media (max-width:420px){
  .hero{
    min-height:730px;
    padding-top:340px;
    background-size:100% 100%, auto 325px !important;
  }
}

/* Mobile homepage hero: keep all copy layered over the banner artwork */
@media (max-width:760px){
  .hero{
    min-height:760px;
    padding:240px 24px 42px;
    align-items:flex-end;
    background-size:100% 100%, cover !important;
    background-position:center, 68% center !important;
    background-repeat:no-repeat !important;
  }
  .hero-inner{
    position:relative;
    z-index:1;
    max-width:100%;
  }
  .builder-banner{
    min-height:700px;
    padding:220px 24px 36px;
    align-items:flex-end;
    background-size:100% 100%, cover !important;
    background-position:center, 68% center !important;
    background-repeat:no-repeat !important;
  }
}
@media (max-width:420px){
  .hero{
    min-height:730px;
    padding:255px 22px 38px;
    align-items:flex-end;
    background-size:100% 100%, cover !important;
    background-position:center, 66% center !important;
  }
  .builder-banner{
    padding:235px 22px 34px;
    align-items:flex-end;
  }
}

/* Fix enlarged-cover layout: let the cover column grow with its buttons so chapters cannot overlap */
.audible3-cover-column{
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
}
.cover-media-actions{
  position:relative !important;
  z-index:2 !important;
  flex:none !important;
  width:100% !important;
  margin:0 !important;
}
.audible3-chapters-span{
  clear:both !important;
  padding-top:30px !important;
  margin-top:0 !important;
  position:relative !important;
  z-index:1 !important;
}
@media (max-width:1200px) and (min-width:761px){
  .audible3-cover-column{
    height:auto !important;
    min-height:0 !important;
  }
  .audible3-player-layout{
    align-items:start !important;
  }
}
@media (max-width:760px){
  .audible3-chapters-span{
    padding-top:26px !important;
    margin-top:0 !important;
  }
}

/* Premium Audible-style homepage carousel */
.home-audible-carousel{
  margin:48px 0 0;
  padding:44px 34px 34px;
  border-radius:24px;
  background:radial-gradient(circle at 50% 55%,#101820 0%,#05090d 42%,#000 76%);
  color:#fff;
  overflow:hidden;
}
.home-carousel-heading{text-align:center;max-width:660px;margin:0 auto 28px}
.home-carousel-heading h2{margin:0 0 8px;font-size:clamp(28px,3vw,42px);color:#fff}
.home-carousel-heading p{margin:0;color:#c8d0d8;font-size:16px;line-height:1.55}
.home-carousel-stage{position:relative;min-height:360px;display:flex;align-items:center;justify-content:center}
.home-carousel-track{position:relative;width:min(940px,86vw);height:330px;margin:0 auto}
.home-carousel-book{position:absolute;left:50%;top:50%;width:190px;transform:translate(-50%,-50%);transition:transform .42s ease,opacity .42s ease,filter .42s ease;opacity:0;pointer-events:none;text-align:center}
.home-carousel-cover{display:block;width:100%;aspect-ratio:1/1;border:0;padding:0;border-radius:14px;overflow:hidden;background:#fff;color:#111;box-shadow:0 16px 40px rgba(0,0,0,.55);cursor:pointer}
.home-carousel-cover img{display:block;width:100%;height:100%;object-fit:cover}
.home-carousel-cover [data-cover-placeholder]{display:flex;width:100%;height:100%;align-items:center;justify-content:center;padding:18px;text-align:center;font-weight:900;background:#fff;color:#111}
.home-carousel-book-meta{display:none;margin-top:12px}
.home-carousel-book-meta strong,.home-carousel-book-meta span{display:block}
.home-carousel-book-meta span{color:#aeb7c0;font-size:13px;margin-top:4px}
.home-carousel-book.pos-0{width:246px;opacity:1;z-index:5;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
.home-carousel-book.pos-0 .home-carousel-cover{box-shadow:0 24px 64px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.18)}
.home-carousel-book.pos-0 .home-carousel-book-meta{display:block}
.home-carousel-book.pos--1{opacity:.9;z-index:4;pointer-events:auto;transform:translate(calc(-50% - 245px),-50%) scale(.78)}
.home-carousel-book.pos-1{opacity:.9;z-index:4;pointer-events:auto;transform:translate(calc(-50% + 245px),-50%) scale(.78)}
.home-carousel-book.pos--2{opacity:.42;z-index:3;pointer-events:auto;filter:brightness(.6);transform:translate(calc(-50% - 430px),-50%) scale(.62)}
.home-carousel-book.pos-2{opacity:.42;z-index:3;pointer-events:auto;filter:brightness(.6);transform:translate(calc(-50% + 430px),-50%) scale(.62)}
.home-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:10;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:38px;line-height:1;cursor:pointer;display:grid;place-items:center}
.home-carousel-arrow:hover{background:rgba(255,255,255,.18)}
.home-carousel-arrow.prev{left:4px}.home-carousel-arrow.next{right:4px}
.home-carousel-dots{display:flex;justify-content:center;gap:8px;margin-top:4px}
.home-carousel-dots button{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#66717c;cursor:pointer}
.home-carousel-dots button.active{width:24px;border-radius:999px;background:var(--accent)}
@media(max-width:900px){
 .home-audible-carousel{padding:38px 18px 28px}
 .home-carousel-track{width:100%;height:305px}
 .home-carousel-book.pos-0{width:220px}
 .home-carousel-book.pos--1{transform:translate(calc(-50% - 220px),-50%) scale(.68)}
 .home-carousel-book.pos-1{transform:translate(calc(-50% + 220px),-50%) scale(.68)}
 .home-carousel-book.pos--2,.home-carousel-book.pos-2{opacity:0;pointer-events:none}
}
@media(max-width:600px){
 .home-audible-carousel{margin-left:-8px;margin-right:-8px;border-radius:18px;padding:32px 10px 24px}
 .home-carousel-heading{padding:0 16px;margin-bottom:14px}
 .home-carousel-heading h2{font-size:28px}
 .home-carousel-heading p{font-size:14px}
 .home-carousel-stage{min-height:300px}
 .home-carousel-track{height:280px}
 .home-carousel-book.pos-0{width:210px}
 .home-carousel-book.pos--1{transform:translate(calc(-50% - 145px),-50%) scale(.5);opacity:.4}
 .home-carousel-book.pos-1{transform:translate(calc(-50% + 145px),-50%) scale(.5);opacity:.4}
 .home-carousel-arrow{width:38px;height:38px;font-size:30px;background:rgba(255,255,255,.12)}
 .home-carousel-arrow.prev{left:0}.home-carousel-arrow.next{right:0}
}

/* Keep the homepage carousel in the site's light theme */
.home-audible-carousel{
  background:linear-gradient(180deg,#ffffff 0%,#f5f6f8 100%) !important;
  color:var(--text) !important;
  border:1px solid var(--line);
  box-shadow:0 16px 40px rgba(15,23,42,.07);
}
.home-carousel-heading h2{color:var(--text) !important}
.home-carousel-heading p{color:var(--muted) !important}
.home-carousel-book-meta strong{color:var(--text)}
.home-carousel-book-meta span{color:var(--muted) !important}
.home-carousel-cover{box-shadow:0 14px 32px rgba(15,23,42,.18) !important}
.home-carousel-book.pos-0 .home-carousel-cover{
  box-shadow:0 22px 48px rgba(15,23,42,.24),0 0 0 1px rgba(15,23,42,.07) !important;
}
.home-carousel-book.pos--2,.home-carousel-book.pos-2{filter:brightness(.82) !important}
.home-carousel-arrow{
  background:#fff !important;
  color:#111 !important;
  border:1px solid var(--line) !important;
  box-shadow:0 8px 22px rgba(15,23,42,.12);
}
.home-carousel-arrow:hover{background:#f1f2f4 !important}
.home-carousel-dots button{background:#c3c8ce !important}
.home-carousel-dots button.active{background:var(--accent) !important}

/* Add breathing room between the carousel and FAQ section */
.home-audible-carousel + .home-faq-section,
.home-faq-section{
  margin-top:96px !important;
}
@media(max-width:900px){
  .home-audible-carousel + .home-faq-section,
  .home-faq-section{margin-top:78px !important}
}
@media(max-width:600px){
  .home-audible-carousel + .home-faq-section,
  .home-faq-section{margin-top:64px !important}
}

/* Requested update: remove outer carousel box and bring arrow circles inward */
.home-audible-carousel{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.home-carousel-stage{
  padding-inline:84px;
}
.home-carousel-arrow{
  background:#fff !important;
  color:#111 !important;
  border:1px solid var(--line) !important;
  box-shadow:0 8px 22px rgba(15,23,42,.12) !important;
}
.home-carousel-arrow.prev{left:26px !important}
.home-carousel-arrow.next{right:26px !important}
@media(max-width:900px){
  .home-audible-carousel{
    padding-left:0 !important;
    padding-right:0 !important;
  }
  .home-carousel-stage{padding-inline:62px !important;}
  .home-carousel-arrow.prev{left:14px !important}
  .home-carousel-arrow.next{right:14px !important}
}
@media(max-width:600px){
  .home-audible-carousel{
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .home-carousel-stage{padding-inline:46px !important;}
  .home-carousel-arrow.prev{left:4px !important}
  .home-carousel-arrow.next{right:4px !important}
}

/* Update: remove background circles from carousel arrows and move arrows closer to carousel */
.home-carousel-stage{
  padding-inline:108px !important;
}
.home-carousel-arrow{
  width:28px !important;
  height:28px !important;
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#111827 !important;
  font-size:54px !important;
  line-height:1 !important;
  padding:0 !important;
}
.home-carousel-arrow:hover,
.home-carousel-arrow:focus{
  background:transparent !important;
  box-shadow:none !important;
}
.home-carousel-arrow.prev{left:64px !important}
.home-carousel-arrow.next{right:64px !important}

@media (max-width: 900px){
  .home-carousel-stage{padding-inline:86px !important;}
  .home-carousel-arrow{font-size:48px !important; width:26px !important; height:26px !important;}
  .home-carousel-arrow.prev{left:36px !important}
  .home-carousel-arrow.next{right:36px !important}
}

@media (max-width: 600px){
  .home-carousel-stage{padding-inline:58px !important;}
  .home-carousel-arrow{font-size:40px !important; width:24px !important; height:24px !important;}
  .home-carousel-arrow.prev{left:16px !important}
  .home-carousel-arrow.next{right:16px !important}
}

/* Carousel titles open their individual book pages */
.home-carousel-title-link{
  display:block;
  width:100%;
  border:0;
  padding:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-weight:800;
  text-align:center;
  cursor:pointer;
}
.home-carousel-title-link:hover,
.home-carousel-title-link:focus{
  color:var(--accent);
  text-decoration:underline;
}


/* Final homepage carousel refresh: light Audible-style centered carousel */
.home-audible-carousel{
  margin:56px auto 0 !important;
  padding:0 0 14px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  overflow:visible !important;
}
.home-carousel-heading{
  text-align:center !important;
  max-width:640px !important;
  margin:0 auto 18px !important;
  padding:0 18px !important;
}
.home-carousel-heading h2{
  margin:0 0 8px !important;
  font-size:clamp(30px,3vw,44px) !important;
  line-height:1.05 !important;
  color:#111827 !important;
  font-weight:900 !important;
}
.home-carousel-heading p{
  margin:0 !important;
  color:#4b5563 !important;
  font-size:15px !important;
  line-height:1.45 !important;
}
.home-carousel-stage{
  position:relative !important;
  min-height:320px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding-inline:88px !important;
}
.home-carousel-track{
  position:relative !important;
  width:min(880px,78vw) !important;
  height:240px !important;
  margin:0 auto !important;
}
.home-carousel-book{
  text-align:center !important;
  width:132px !important;
}
.home-carousel-cover{
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:0 12px 26px rgba(17,24,39,.10) !important;
  overflow:hidden !important;
}
.home-carousel-cover img{object-fit:cover !important;}
.home-carousel-cover [data-cover-placeholder]{
  font-size:12px !important;
  line-height:1.3 !important;
  color:#8a94a3 !important;
  background:#fbfbfc !important;
}
.home-carousel-book.pos-0{
  width:210px !important;
  opacity:1 !important;
  z-index:5 !important;
  pointer-events:auto !important;
  transform:translate(-50%,-50%) scale(1) !important;
}
.home-carousel-book.pos-0 .home-carousel-cover{
  box-shadow:0 18px 40px rgba(17,24,39,.16) !important;
}
.home-carousel-book.pos--1{
  opacity:.82 !important;
  z-index:4 !important;
  pointer-events:auto !important;
  transform:translate(calc(-50% - 188px),-50%) scale(.92) !important;
}
.home-carousel-book.pos-1{
  opacity:.82 !important;
  z-index:4 !important;
  pointer-events:auto !important;
  transform:translate(calc(-50% + 188px),-50%) scale(.92) !important;
}
.home-carousel-book.pos--2{
  opacity:.42 !important;
  z-index:3 !important;
  pointer-events:auto !important;
  transform:translate(calc(-50% - 316px),-50%) scale(.78) !important;
  filter:grayscale(.05) brightness(.98) !important;
}
.home-carousel-book.pos-2{
  opacity:.42 !important;
  z-index:3 !important;
  pointer-events:auto !important;
  transform:translate(calc(-50% + 316px),-50%) scale(.78) !important;
  filter:grayscale(.05) brightness(.98) !important;
}
.home-carousel-book-meta{
  display:none !important;
}
.home-carousel-arrow{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:24px !important;
  height:24px !important;
  border:0 !important;
  background:transparent !important;
  color:#111827 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  font-size:54px !important;
  font-weight:300 !important;
  line-height:1 !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
}
.home-carousel-arrow:hover,
.home-carousel-arrow:focus{
  background:transparent !important;
  box-shadow:none !important;
  color:#000 !important;
}
.home-carousel-arrow.prev{left:36px !important;}
.home-carousel-arrow.next{right:36px !important;}
.home-carousel-dots{display:none !important;}

@media (max-width: 900px){
  .home-audible-carousel{margin-top:48px !important;}
  .home-carousel-stage{min-height:248px !important;padding-inline:66px !important;}
  .home-carousel-track{width:min(720px,78vw) !important;height:220px !important;}
  .home-carousel-book{width:116px !important;}
  .home-carousel-book.pos-0{width:188px !important;}
  .home-carousel-book.pos--1{transform:translate(calc(-50% - 160px),-50%) scale(.88) !important;}
  .home-carousel-book.pos-1{transform:translate(calc(-50% + 160px),-50%) scale(.88) !important;}
  .home-carousel-book.pos--2{transform:translate(calc(-50% - 258px),-50%) scale(.72) !important;}
  .home-carousel-book.pos-2{transform:translate(calc(-50% + 258px),-50%) scale(.72) !important;}
  .home-carousel-arrow{font-size:44px !important;width:22px !important;height:22px !important;}
  .home-carousel-arrow.prev{left:18px !important;}
  .home-carousel-arrow.next{right:18px !important;}
}
@media (max-width: 600px){
  .home-audible-carousel{margin-top:38px !important;}
  .home-carousel-heading{margin-bottom:14px !important;}
  .home-carousel-heading h2{font-size:clamp(26px,7vw,34px) !important;}
  .home-carousel-heading p{font-size:14px !important;}
  .home-carousel-stage{min-height:220px !important;padding-inline:40px !important;}
  .home-carousel-track{width:100% !important;height:206px !important;}
  .home-carousel-book{width:98px !important;}
  .home-carousel-book.pos-0{width:156px !important;}
  .home-carousel-book.pos--1{transform:translate(calc(-50% - 120px),-50%) scale(.78) !important;opacity:.52 !important;}
  .home-carousel-book.pos-1{transform:translate(calc(-50% + 120px),-50%) scale(.78) !important;opacity:.52 !important;}
  .home-carousel-book.pos--2,
  .home-carousel-book.pos-2{opacity:0 !important;pointer-events:none !important;}
  .home-carousel-arrow{font-size:36px !important;width:20px !important;height:20px !important;}
  .home-carousel-arrow.prev{left:8px !important;}
  .home-carousel-arrow.next{right:8px !important;}
}

/* === Reference-style homepage carousel override === */
.home-audible-carousel{
  margin:56px auto 0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.home-carousel-heading{
  text-align:center !important;
  max-width:620px !important;
  margin:0 auto 24px !important;
  padding:0 18px !important;
}
.home-carousel-heading h2{
  margin:0 0 6px !important;
  font-size:clamp(32px,3.1vw,48px) !important;
  line-height:1.02 !important;
  font-weight:900 !important;
  letter-spacing:-.03em !important;
  color:#111 !important;
}
.home-carousel-heading h2 span{color:var(--accent) !important;}
.home-carousel-heading p{
  margin:0 !important;
  font-size:15px !important;
  line-height:1.35 !important;
  color:#444 !important;
}
.home-carousel-stage{
  position:relative !important;
  min-height:320px !important;
  padding:0 80px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.home-carousel-track{
  position:relative !important;
  width:min(980px,78vw) !important;
  height:292px !important;
  margin:0 auto !important;
}
.home-carousel-book{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:160px !important;
  text-align:center !important;
}
.home-carousel-cover{
  display:block !important;
  width:100% !important;
  aspect-ratio:1/1.14 !important;
  border-radius:12px !important;
  background:#fff !important;
  border:1px solid rgba(15,23,42,.05) !important;
  box-shadow:0 14px 30px rgba(15,23,42,.10) !important;
  overflow:hidden !important;
}
.home-carousel-cover img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;}
.home-carousel-cover [data-cover-placeholder]{
  display:flex !important;
  width:100% !important;
  height:100% !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  padding:14px 10px !important;
  text-align:left !important;
  font-size:11px !important;
  font-weight:700 !important;
  color:#a4a9b1 !important;
  background:linear-gradient(180deg,#fafafa 0%,#f3f4f6 100%) !important;
}
.home-carousel-book-meta{display:none !important;}
.home-carousel-book.pos-0{
  width:258px !important;
  opacity:1 !important;
  z-index:5 !important;
  pointer-events:auto !important;
  transform:translate(-50%,-50%) scale(1) !important;
}
.home-carousel-book.pos-0 .home-carousel-cover{
  box-shadow:0 18px 38px rgba(15,23,42,.14) !important;
}
.home-carousel-book.pos--1{
  opacity:.82 !important;
  z-index:4 !important;
  pointer-events:auto !important;
  transform:translate(calc(-50% - 220px),-50%) scale(.84) !important;
}
.home-carousel-book.pos-1{
  opacity:.82 !important;
  z-index:4 !important;
  pointer-events:auto !important;
  transform:translate(calc(-50% + 220px),-50%) scale(.84) !important;
}
.home-carousel-book.pos--2{
  opacity:.45 !important;
  z-index:3 !important;
  pointer-events:auto !important;
  transform:translate(calc(-50% - 360px),-50%) scale(.72) !important;
  filter:saturate(.75) brightness(1.01) !important;
}
.home-carousel-book.pos-2{
  opacity:.45 !important;
  z-index:3 !important;
  pointer-events:auto !important;
  transform:translate(calc(-50% + 360px),-50%) scale(.72) !important;
  filter:saturate(.75) brightness(1.01) !important;
}
.home-carousel-arrow{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:18px !important;
  height:18px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#111 !important;
  font-size:52px !important;
  font-weight:300 !important;
  line-height:1 !important;
  display:grid !important;
  place-items:center !important;
}
.home-carousel-arrow.prev{left:52px !important;}
.home-carousel-arrow.next{right:52px !important;}
.home-carousel-arrow:hover,.home-carousel-arrow:focus{color:#000 !important;background:transparent !important;box-shadow:none !important;}
.home-carousel-dots{display:none !important;}

@media (max-width: 1024px){
  .home-carousel-stage{padding:0 56px !important;min-height:286px !important;}
  .home-carousel-track{width:min(860px,76vw) !important;height:262px !important;}
  .home-carousel-book{width:138px !important;}
  .home-carousel-book.pos-0{width:228px !important;}
  .home-carousel-book.pos--1{transform:translate(calc(-50% - 188px),-50%) scale(.82) !important;}
  .home-carousel-book.pos-1{transform:translate(calc(-50% + 188px),-50%) scale(.82) !important;}
  .home-carousel-book.pos--2{transform:translate(calc(-50% - 305px),-50%) scale(.68) !important;}
  .home-carousel-book.pos-2{transform:translate(calc(-50% + 305px),-50%) scale(.68) !important;}
  .home-carousel-arrow.prev{left:24px !important;}
  .home-carousel-arrow.next{right:24px !important;}
}
@media (max-width: 767px){
  .home-audible-carousel{margin-top:42px !important;}
  .home-carousel-heading{margin-bottom:18px !important;}
  .home-carousel-heading h2{font-size:clamp(28px,7vw,40px) !important;}
  .home-carousel-heading p{font-size:14px !important;}
  .home-carousel-stage{padding:0 36px !important;min-height:236px !important;}
  .home-carousel-track{width:100% !important;height:220px !important;}
  .home-carousel-book{width:104px !important;}
  .home-carousel-book.pos-0{width:182px !important;}
  .home-carousel-book.pos--1{transform:translate(calc(-50% - 126px),-50%) scale(.74) !important;opacity:.56 !important;}
  .home-carousel-book.pos-1{transform:translate(calc(-50% + 126px),-50%) scale(.74) !important;opacity:.56 !important;}
  .home-carousel-book.pos--2,.home-carousel-book.pos-2{opacity:0 !important;pointer-events:none !important;}
  .home-carousel-arrow{font-size:38px !important;width:16px !important;height:16px !important;}
  .home-carousel-arrow.prev{left:8px !important;}
  .home-carousel-arrow.next{right:8px !important;}
}

/* Full-bleed top banners: begin directly under navigation with no outer border */
.page > .hero:first-child,
.membership-page > .membership-hero:first-child{
  width:calc(100% + 10vw) !important;
  max-width:none !important;
  margin-top:-34px !important;
  margin-left:-5vw !important;
  margin-right:-5vw !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* Keep builder banner previews consistent with the public full-width banner */
.builder-banner{
  border:0 !important;
  border-radius:0 !important;
}

@media (max-width:650px){
  .page > .hero:first-child,
  .membership-page > .membership-hero:first-child{
    width:calc(100% + 36px) !important;
    margin-top:-22px !important;
    margin-left:-18px !important;
    margin-right:-18px !important;
  }
}

/* === PSD-matched homepage carousel === */
.home-audible-carousel.psd-carousel-section{
  margin:48px 0 0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.psd-carousel-stage{
  position:relative;
  width:min(1758px,100%);
  aspect-ratio:1758 / 479;
  margin:0 auto;
}
.psd-carousel-bg{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}
.psd-carousel-overlay{position:absolute;inset:0;pointer-events:none;}
.psd-carousel-nav{position:absolute;pointer-events:auto;}
.psd-carousel-card{
  position:absolute;
  pointer-events:auto;
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
  overflow:hidden;
  border-radius:3.2%;
  box-shadow:none;
}
.psd-carousel-card img,
.psd-carousel-card [data-cover-placeholder]{
  display:block;
  width:100%;
  height:100%;
}
.psd-carousel-card img{object-fit:cover;}
.psd-carousel-card [data-cover-placeholder]{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding:10px 8px;
  text-align:left;
  font-size:11px;
  line-height:1.15;
  font-weight:700;
  color:#9aa0a8;
  background:linear-gradient(180deg,#fafafa 0%,#f3f4f6 100%);
}
.psd-carousel-card.slot-0{left:25.14%; top:47.81%; width:6.31%; height:28.60%;}
.psd-carousel-card.slot-1{left:33.85%; top:45.30%; width:7.57%; height:33.61%;}
.psd-carousel-card.slot-2{left:43.74%; top:32.78%; width:12.69%; height:46.56%;}
.psd-carousel-card.slot-3{left:58.53%; top:45.30%; width:7.57%; height:33.61%;}
.psd-carousel-card.slot-4{left:68.49%; top:47.81%; width:6.31%; height:28.60%;}
.psd-carousel-nav{
  top:0;
  bottom:auto;
  width:5.5%;
  height:18%;
  border:0;
  background:transparent;
  cursor:pointer;
  pointer-events:auto;
}
.psd-carousel-nav.prev{left:15.2%; top:53.0%;}
.psd-carousel-nav.next{left:79.6%; top:53.0%;}
.psd-carousel-nav:focus-visible{outline:2px solid #111;outline-offset:2px;border-radius:6px;}
@media (max-width: 900px){
  .home-audible-carousel.psd-carousel-section{margin-top:42px !important;}
}
@media (max-width: 640px){
  .home-audible-carousel.psd-carousel-section{margin-top:36px !important;}
  .psd-carousel-card [data-cover-placeholder]{font-size:9px;padding:6px 5px;}
}


/* Use uploaded play and pause artwork for the main player control */
.audible3-main-controls .primary-play-disc{
  background:transparent !important;
  box-shadow:none !important;
}
.primary-player-state-icon{
  display:block !important;
  width:82px !important;
  height:82px !important;
  min-width:82px !important;
  min-height:82px !important;
  object-fit:contain !important;
}
@media(max-width:700px){
  .primary-player-state-icon{
    width:68px !important;
    height:68px !important;
    min-width:68px !important;
    min-height:68px !important;
  }
}


/* Expanded Divine Revelation section */
.home-revelation-intro{max-width:980px}
.home-three-steps article{display:flex;flex-direction:column;min-height:100%;padding:32px !important}
.revelation-step-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.revelation-step-top b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--accent);color:#fff !important;font-size:15px !important}
.revelation-step-top span{font-size:11px;font-weight:900;letter-spacing:.15em;color:#cbd5e1}
.home-three-steps h3{margin:0 0 14px !important;font-size:28px !important}
.home-three-steps p{font-size:16px;line-height:1.75 !important}
.home-three-steps ul{display:grid;gap:10px;margin:22px 0 0;padding:20px 0 0 20px;border-top:1px solid rgba(255,255,255,.12);color:#eef2f7}
.home-three-steps li{padding-left:3px;line-height:1.5}
.home-three-steps li::marker{color:var(--accent)}
@media(max-width:850px){
 .home-three-steps article{padding:26px !important}
 .home-three-steps h3{font-size:25px !important}
}

/* Remove the background from the What You Can Expect section */
.home-benefits-section{
  background:transparent !important;
}

/* Homepage membership pricing tables */
.home-membership-section{
  margin-top:88px !important;
  padding:78px 5vw 82px !important;
  background:transparent;
  border-radius:0;
}
.home-membership-heading{
  max-width:820px;
  margin:0 auto 40px;
  text-align:center;
}
.home-membership-heading h2{
  margin:0 0 14px;
  font-size:clamp(34px,4vw,56px) !important;
  line-height:1.05;
  letter-spacing:-.025em;
}
.home-membership-heading p{
  margin:0 auto;
  max-width:720px;
  color:#555b65;
  font-size:18px;
  line-height:1.7;
}
.home-membership-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  max-width:1240px;
  margin:0 auto;
  align-items:stretch;
}
.home-membership-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:500px;
  padding:32px 28px 28px;
  border:1px solid #d8dade;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
.home-membership-card.featured{
  border:2px solid var(--accent);
  transform:translateY(-10px);
  box-shadow:0 22px 48px rgba(244,123,32,.16);
}
.home-membership-badge{
  position:absolute;
  top:16px;
  right:16px;
  padding:7px 11px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.home-membership-card-head{padding-right:80px;}
.home-membership-card-head h3{margin:0 0 10px;font-size:27px;}
.home-membership-card-head p{margin:0;color:#686d75;line-height:1.55;min-height:50px;}
.home-membership-price{margin:28px 0 12px;font-size:44px;font-weight:900;letter-spacing:-.04em;}
.home-membership-price small{font-size:15px;color:#737780;font-weight:700;letter-spacing:0;}
.home-membership-access{padding:14px 15px;border-radius:12px;background:#f6f6f7;color:#30343a;line-height:1.45;}
.home-membership-access strong{color:var(--accent);}
.home-membership-card ul{display:grid;gap:13px;padding:0;margin:26px 0 30px;list-style:none;flex:1;}
.home-membership-card li{display:flex;gap:10px;color:#34383e;line-height:1.45;}
.home-membership-card li span{color:var(--accent);font-weight:900;}
.home-membership-card .btn{width:100%;text-align:center;}
.home-membership-footer{max-width:900px;margin:30px auto 0;text-align:center;}
.home-membership-footer p{margin:0 0 12px;color:#555b65;font-size:16px;}
.home-membership-footer .link-button{font-weight:900;color:#111;text-decoration:none;}
.home-membership-footer .link-button:hover{text-decoration:underline;}
@media(max-width:950px){
  .home-membership-grid{grid-template-columns:1fr;max-width:620px;}
  .home-membership-card{min-height:0;}
  .home-membership-card.featured{transform:none;}
}
@media(max-width:650px){
  .home-membership-section{margin-top:64px !important;padding:58px 18px 62px !important;}
  .home-membership-heading{margin-bottom:30px;}
  .home-membership-heading p{font-size:16px;}
  .home-membership-card{padding:27px 22px 24px;}
  .home-membership-card-head{padding-right:68px;}
  .home-membership-price{font-size:39px;}
}


/* Standard 4-book home layout replacing carousel */
.home-standard-books-section{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:44px 0 0 !important;
}
.home-standard-books-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:26px;
  align-items:start;
  margin-top:8px;
}
.home-standard-book-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:0;
  border:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.home-standard-book-cover{
  display:block;
  width:100%;
  aspect-ratio:1/1.14;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 30px rgba(15,23,42,.10);
}
.home-standard-book-cover img,
.home-standard-book-cover [data-cover-placeholder]{
  display:block;
  width:100%;
  height:100%;
}
.home-standard-book-cover img{object-fit:cover;}
.home-standard-book-cover [data-cover-placeholder]{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding:12px 10px;
  background:linear-gradient(180deg,#fafafa 0%,#f3f4f6 100%);
  color:#9aa0a8;
  font-size:11px;
  font-weight:700;
  line-height:1.15;
  text-align:left;
}
.home-standard-book-meta strong,
.home-standard-book-meta span{
  display:block;
}
.home-standard-book-meta strong{
  color:#111827;
  font-size:16px;
  line-height:1.3;
  font-weight:800;
}
.home-standard-book-meta span{
  margin-top:4px;
  color:#6b7280;
  font-size:13px;
  line-height:1.35;
}
.home-standard-book-card:hover .home-standard-book-cover,
.home-standard-book-card:focus-visible .home-standard-book-cover{
  box-shadow:0 18px 36px rgba(15,23,42,.16);
}
.home-standard-book-card:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:6px;
  border-radius:10px;
}
@media (max-width: 900px){
  .home-standard-books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
}
@media (max-width: 560px){
  .home-standard-books-section{margin-top:36px !important;}
  .home-standard-books-grid{gap:18px;}
  .home-standard-book-meta strong{font-size:15px;}
  .home-standard-book-meta span{font-size:12px;}
}


/* Payment flow preview only */
.checkout-preview{display:grid;gap:16px;}
.checkout-preview-label{color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.14em;}
.checkout-preview h3{margin:0;font-size:28px;}
.checkout-preview-price{font-size:38px;font-weight:900;}
.checkout-preview-price small{font-size:14px;color:var(--muted);}
.checkout-preview p{margin:0;color:var(--muted);line-height:1.6;}
.checkout-preview-row{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid var(--line);}
.checkout-preview-submit{width:100%;text-align:center;}
.checkout-preview-note{display:block;text-align:center;color:var(--muted);}


/* Free or paid tier price control */
.tier-price-editor{display:grid;gap:8px;min-width:112px}.tier-price-editor select,.tier-price-editor input{width:100%}.tier-price-editor input:disabled{background:#f1f2f4;color:#8a8f98;cursor:not-allowed}

/* Page deletion controls */
.builder-page-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.builder-delete-page{border-color:#d14343 !important;color:#b42323 !important;background:#fff !important}
.builder-delete-page:hover:not(:disabled){background:#fff1f1 !important}
.icon-btn[data-delete-page]{color:#b42323}
.icon-btn:disabled,.btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:650px){.builder-page-actions{width:100%}.builder-page-actions .btn{flex:1;text-align:center}}


/* Working chapter list expand/collapse control */
.audible3-chapters-card .chapter-list.is-collapsed{
  display:none !important;
}
.chapter-head-actions [data-reference-action="collapse"]{
  cursor:pointer;
}

/* Membership-gated full-book access */
.book-access-gate{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:42px;align-items:center;max-width:1040px;margin:30px auto;padding:42px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 18px 46px rgba(15,23,42,.08)}
.book-access-cover{aspect-ratio:1/1.14;border-radius:16px;overflow:hidden;background:#f4f4f5;box-shadow:0 16px 34px rgba(15,23,42,.14)}
.book-access-cover img,.book-access-cover [data-cover-placeholder]{display:block;width:100%;height:100%}.book-access-cover img{object-fit:cover}.book-access-cover [data-cover-placeholder]{display:flex;align-items:flex-start;padding:18px;color:#8a9099;font-weight:800}
.book-access-gate h1{font-size:clamp(34px,5vw,58px);line-height:1.04;margin:0 0 14px}.book-access-gate h2{font-size:25px;margin:0 0 12px}.book-access-gate p{font-size:17px;line-height:1.7;color:#555b65;max-width:680px}.access-sample-button{display:inline-flex;align-items:center;gap:9px;background:#111;color:#fff}.access-sample-button .play-icon{width:28px;height:28px}
@media(max-width:760px){.book-access-gate{grid-template-columns:1fr;padding:26px 20px;gap:28px}.book-access-cover{width:min(100%,300px);margin:0 auto}.book-access-gate .actions .btn{width:100%;text-align:center;justify-content:center}}

/* Uploaded Preview PNG replaces preview text and play control */
.preview-png-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  margin-top:14px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  cursor:pointer !important;
  line-height:0 !important;
}
.preview-png-button img{
  display:block !important;
  width:112px !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}
.preview-png-button:hover img,
.preview-png-button:focus-visible img{opacity:.82;}
.preview-png-button.is-playing img{opacity:.55;}
.access-sample-button.preview-png-button{margin-top:0 !important;}
@media(max-width:650px){.preview-png-button img{width:96px !important;}}

/* Library: six-book desktop layout with more breathing room */
.library-filter-section{
  width:min(1500px,100%);
  margin-left:auto;
  margin-right:auto;
  padding-left:clamp(16px,2vw,34px);
  padding-right:clamp(16px,2vw,34px);
}
.library-filter-section .book-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:26px 22px;
}
.library-filter-section .book-card{
  min-width:0;
}
.library-filter-section .library-cover{
  width:94%;
  margin-left:auto;
  margin-right:auto;
}
.library-filter-section .book-card h3,
.library-filter-section .book-card .preview-button,
.library-filter-section .book-card .badge{
  margin-left:3%;
  margin-right:3%;
}
@media (max-width:1200px){
  .library-filter-section .book-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:850px){
  .library-filter-section .book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px;}
}
@media (max-width:600px){
  .library-filter-section{padding-left:8px;padding-right:8px;}
  .library-filter-section .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;}
  .library-filter-section .library-cover{width:96%;}
}

/* Slightly larger six-book library layout */
.library-filter-section{
  width:min(1560px,100%);
  padding-left:clamp(14px,1.6vw,26px);
  padding-right:clamp(14px,1.6vw,26px);
}
.library-filter-section .book-grid{
  gap:26px 18px;
}
.library-filter-section .library-cover{
  width:98%;
}
.library-filter-section .book-card h3,
.library-filter-section .book-card .preview-button,
.library-filter-section .book-card .badge{
  margin-left:1%;
  margin-right:1%;
}
@media (max-width:600px){
  .library-filter-section .library-cover{width:98%;}
}

/* Extra separation between library filters and book grid */
.library-filter-section [data-library-results]{margin-top:0;}
@media(max-width:700px){.library-results-summary{margin-bottom:40px;}}

/* Library filter icon pinned to the right */
.library-filter-toolbar{
  align-items:center;
}
.library-filter-menu{
  margin-left:auto;
}
@media (max-width:700px){
  .library-filter-menu{
    margin-left:0;
    justify-self:end;
  }
}


/* Logged-in add-to-collection icon on book covers */
.book-card{position:relative;}
.book-card .plus{right:14px;top:14px;}
.home-standard-book-card{position:relative;}
.home-standard-book-open{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:0;
  border:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
  width:100%;
}
.home-standard-book-card .plus{
  right:10px;
  top:10px;
}
.home-standard-book-open:hover .home-standard-book-cover,
.home-standard-book-open:focus-visible .home-standard-book-cover,
.home-standard-book-card:hover .home-standard-book-cover{
  box-shadow:0 18px 36px rgba(15,23,42,.16);
}
.home-standard-book-open:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:6px;
  border-radius:10px;
}
@media(max-width:700px){
  .book-card .plus{right:10px;top:10px;width:24px;height:24px;}
  .home-standard-book-card .plus{right:8px;top:8px;width:24px;height:24px;}
}

/* Library header text removed; keep credit balance aligned cleanly */
.library-credit-row{display:flex;justify-content:flex-end;margin-bottom:18px;}

/* Detailed member billing dashboard */
.billing-page{max-width:1500px;margin:0 auto;}
.billing-dashboard{display:grid;gap:24px;}
.billing-summary-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.65fr);gap:22px;}
.billing-summary-card,.billing-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:0 12px 28px rgba(15,23,42,.05);}
.billing-card-label{display:block;color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.14em;margin-bottom:14px;}
.billing-plan-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
.billing-plan-row h2{margin:0 0 6px;font-size:30px;}.billing-plan-row p{margin:0;color:var(--muted);font-weight:800;}
.billing-status{padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;background:#e9f8ee;color:#17652d;}.billing-status.paused{background:#fff4dc;color:#9a5a00}.billing-status.canceled{background:#feecec;color:#a82323}
.billing-credit-row{display:flex;justify-content:flex-start;gap:7px;margin:24px 0 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}.billing-credit-row strong{font-size:inherit;}
.billing-summary-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0;}.billing-summary-details span{display:grid;gap:5px;color:var(--muted);font-size:13px}.billing-summary-details strong{color:var(--text);font-size:15px}
.billing-balance-card{display:flex;flex-direction:column;align-items:flex-start;}.billing-balance-amount{font-size:48px;letter-spacing:-.04em;margin-bottom:8px}.billing-balance-card p{color:var(--muted);line-height:1.55;flex:1}.billing-balance-card .btn{width:100%;text-align:center}.billing-balance-card .btn:disabled{opacity:.45;cursor:not-allowed}
.billing-content-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;}
.billing-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.billing-panel-head h2{margin:0 0 6px;font-size:25px}.billing-panel-head p{margin:0;color:var(--muted);line-height:1.5}
.billing-card-list{display:grid;gap:12px}.saved-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fafbfc}.saved-card-brand{display:grid;place-items:center;width:52px;height:38px;border-radius:9px;background:#111;color:#fff;font-size:11px;font-weight:900}.saved-card-info{display:grid;gap:4px}.saved-card-info span{font-size:13px;color:var(--muted)}.default-card-badge{padding:6px 9px;border-radius:999px;background:#fff0e3;color:var(--accent);font-size:11px;font-weight:900}.billing-delete-card{border:0;background:transparent;color:#b42318;font-weight:800;cursor:pointer}.billing-delete-card:disabled{opacity:.35;cursor:not-allowed}
.billing-address{display:grid;gap:7px;font-style:normal;color:#4b5563;line-height:1.45}.billing-address strong{color:#111;font-size:17px}
.billing-history-table{overflow-x:auto}.billing-history-row{display:grid;grid-template-columns:110px minmax(180px,1.3fr) minmax(160px,1fr) 90px 90px 60px;gap:14px;align-items:center;min-width:850px;padding:15px 10px;border-bottom:1px solid var(--line);font-size:14px}.billing-history-header{font-size:12px;font-weight:900;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;background:#fafafa;border-radius:12px}.payment-status{font-weight:900;color:#17652d}.payment-status.failed{color:#b42318}.payment-status.pending{color:#9a5a00}
.subscription-controls{display:flex;align-items:center;justify-content:space-between;gap:24px}.subscription-controls>div:first-child{max-width:820px}.subscription-controls h2{margin:0 0 8px}.subscription-controls p{margin:0;color:var(--muted);line-height:1.6}.billing-danger-button{background:#fff;color:#b42318;border:1px solid #efb6b0}.billing-danger-button:hover{background:#fff3f2}
.billing-modal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.billing-modal-form .full{grid-column:1/-1}.billing-empty{padding:28px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:14px}.receipt-preview{text-align:center;padding:24px 6px}.receipt-preview>span{color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.14em}.receipt-preview h3{font-size:30px;margin:12px 0}.receipt-preview p{color:var(--muted);margin-bottom:20px}
@media(max-width:980px){.billing-summary-grid,.billing-content-grid{grid-template-columns:1fr}.subscription-controls{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.billing-summary-card,.billing-panel{padding:22px 18px}.billing-plan-row,.billing-panel-head{flex-direction:column}.billing-summary-details{grid-template-columns:1fr}.saved-card{grid-template-columns:44px minmax(0,1fr);}.saved-card .default-card-badge,.saved-card .link-button,.saved-card .billing-delete-card{grid-column:2}.billing-modal-form{grid-template-columns:1fr}.billing-modal-form .full{grid-column:auto}.subscription-controls .actions,.subscription-controls .btn{width:100%}}

/* Card-specific billing address details */
.saved-card-info small{display:block;margin-top:5px;color:#737780;font-size:12px;line-height:1.4}
.billing-modal-subheading{margin:8px 0 0;padding-top:14px;border-top:1px solid var(--line);font-size:16px}


/* Expanded member profile tools */
.profile-tools-page{display:grid;gap:24px;margin-top:0}
.profile-overview-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.06)}
.profile-avatar{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#111827;color:#fff;font-size:24px;font-weight:900}
.profile-overview-card h2{margin:0 0 4px;font-size:27px}.profile-overview-card p{margin:0;color:var(--muted)}
.profile-status-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.profile-status-row span{padding:6px 10px;border-radius:999px;background:#f3f4f6;font-size:12px;font-weight:800;color:#374151}
.profile-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.profile-panel{padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.045)}
.profile-panel-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}.profile-panel-head h3{margin:0 0 5px;font-size:21px}.profile-panel-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.profile-stack{display:grid;gap:15px}.profile-help{margin:-4px 0 0;color:var(--muted);font-size:13px}
.profile-security-row,.profile-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-top:1px solid var(--line)}
.profile-security-row:first-of-type{margin-top:20px}.profile-security-row strong,.profile-toggle-row strong{display:block}.profile-security-row span,.profile-toggle-row small{display:block;margin-top:4px;color:var(--muted);font-size:13px;line-height:1.4}
.profile-toggle-row input{width:20px;height:20px;accent-color:var(--accent);flex:0 0 auto}
.profile-account-tools{grid-column:1/-1}.profile-action-list{display:grid;gap:10px}.profile-action-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fafafa;text-align:left;cursor:pointer}.profile-action-button:hover{background:#fff;border-color:#b9c3d0}.profile-action-button strong,.profile-action-button small{display:block}.profile-action-button small{margin-top:4px;color:var(--muted)}.profile-action-button b{white-space:nowrap;font-size:13px}.profile-action-button.danger{border-color:#fecaca;background:#fff7f7}.profile-action-button.danger b{color:#b91c1c}
@media(max-width:900px){.profile-tools-grid{grid-template-columns:1fr}.profile-account-tools{grid-column:auto}}
@media(max-width:650px){.profile-overview-card{grid-template-columns:auto 1fr}.profile-overview-card>.btn{grid-column:1/-1;width:100%}.profile-panel{padding:20px}.profile-security-row,.profile-toggle-row,.profile-action-button{align-items:flex-start}.profile-security-row{flex-direction:column}.profile-security-row .btn{width:100%}}

/* Functional profile preferences and notification center */
.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.profile-notification-center{grid-column:1/-1}
.profile-notification-list{display:grid;gap:10px}
.profile-notification-item{display:flex;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fafafa}
.profile-notification-item strong{display:block;margin-bottom:4px}
.profile-notification-item p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.profile-notification-item time{white-space:nowrap;color:var(--muted);font-size:12px;font-weight:700}
.profile-notification-item.billing{border-left:4px solid var(--accent)}
.profile-notification-item.progress{border-left:4px solid #2563eb}
.profile-notification-item.release{border-left:4px solid #7c3aed}
.profile-empty-notifications{padding:22px;border:1px dashed var(--line);border-radius:14px;text-align:center;color:var(--muted)}
.reader-content.reader-size-small{font-size:15px}
.reader-content.reader-size-medium{font-size:17px}
.reader-content.reader-size-large{font-size:20px}
.reader-content.reader-size-extra-large{font-size:23px}
.reader-content.reader-high-contrast{background:#000!important;color:#fff!important}
.reader-content.reader-high-contrast h1,.reader-content.reader-high-contrast h2,.reader-content.reader-high-contrast h3,.reader-content.reader-high-contrast p{color:#fff!important}
body.profile-high-contrast .reader-content{border-color:#fff}
@media(max-width:650px){.profile-notification-item{flex-direction:column;gap:8px}.profile-notification-item time{white-space:normal}}

/* 30-day trial promotion */
.home-membership-trial,.membership-trial-badge{display:inline-flex;align-items:center;width:max-content;margin:0 0 12px;padding:7px 10px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em}.home-membership-card.featured .home-membership-trial{background:var(--accent)}


/* Private Starter tier admin/share controls */
.private-tier-admin-box{display:grid;gap:16px;margin:18px 0 24px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#f8fafc}.private-tier-admin-box h4{margin:4px 0 6px;font-size:20px}.private-tier-admin-box p{margin:0;color:var(--muted);max-width:780px}.private-tier-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.private-tier-link-row input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#374151}.admin-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:900;color:var(--accent)}.private-starter-page .membership-tier-grid{max-width:560px;margin-left:auto;margin-right:auto}@media(max-width:760px){.private-tier-link-row{grid-template-columns:1fr}.private-tier-link-row .btn{width:100%}}


/* Private Starter monthly-book assignment */
.starter-monthly-book-admin{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr) auto;gap:14px;align-items:end;padding-top:16px;border-top:1px solid var(--line)}
.starter-monthly-book-admin .field{margin:0}.starter-monthly-book-admin select,.starter-monthly-book-admin input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 12px}.starter-monthly-book-admin .actions{margin:0}
@media(max-width:900px){.starter-monthly-book-admin{grid-template-columns:1fr}.starter-monthly-book-admin .btn{width:100%}}


/* Appearance settings — reference-style palette selector */
.appearance-settings-page{max-width:1180px}.appearance-page-head{margin:2px 0 22px}.appearance-page-head h3{margin:0 0 6px;font-size:26px;color:#111827}.appearance-page-head p{margin:0;color:#8a8f98;font-size:14px}.appearance-settings-form{display:grid;gap:18px}.appearance-color-panel,.appearance-layout-panel{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:24px;box-shadow:0 1px 2px rgba(15,23,42,.03)}.appearance-color-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.appearance-color-head h4,.appearance-layout-panel h4{margin:0 0 5px;font-size:16px;color:#111827}.appearance-color-head p{margin:0;color:#8a8f98;font-size:12px}.appearance-more{color:#9ca3af;font-size:20px;line-height:1}.appearance-palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.appearance-palette-card{position:relative;display:flex;flex-direction:column;min-height:138px;padding:16px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;box-shadow:0 2px 5px rgba(15,23,42,.06);cursor:pointer;transition:.16s ease}.appearance-palette-card:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(15,23,42,.08)}.appearance-palette-card.is-selected{border:2px solid var(--accent);padding:15px;box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 18%,transparent)}.appearance-palette-card input{position:absolute;opacity:0;pointer-events:none}.appearance-palette-check{position:absolute;right:12px;top:12px;width:16px;height:16px;border:1.5px solid #9ca3af;border-radius:4px;color:transparent;display:grid;place-items:center;font-size:11px;font-weight:900}.appearance-palette-card.is-selected .appearance-palette-check{background:var(--accent);border-color:var(--accent);color:#fff}.appearance-palette-card strong{font-size:13px;color:#111827;padding-right:28px;margin-bottom:2px}.appearance-palette-card small{font-size:11px;color:#8a8f98}.appearance-palette-swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:auto;padding-top:16px}.appearance-palette-swatches i{height:28px;border:1px solid rgba(17,24,39,.12);border-radius:5px}.appearance-layout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.appearance-settings-form>.actions{justify-content:flex-end}
/* Full-site palette application */
.brand span,.link-button,.home-kicker,.membership-eyebrow,.member-eyebrow,.admin-tag-featured{color:var(--accent)!important}.btn-primary,.featured-label,.home-membership-badge,.audio-track-fill,.chapter-item button,.media-tab.active,.page-tab.active,.device-buttons button.active,.sidebar button.active{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}.tier-card.featured,.home-membership-card.featured,.library-search-wrap:focus-within,.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent)!important}.tier-card.featured,.home-membership-card.featured{box-shadow:0 12px 35px color-mix(in srgb,var(--accent) 18%,transparent)!important}.audio-icon-btn.active,.chapter-item.active strong{color:var(--accent)!important}
@media(max-width:900px){.appearance-palette-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.appearance-palette-grid,.appearance-layout-grid{grid-template-columns:1fr}.appearance-color-panel,.appearance-layout-panel{padding:18px}}


/* === ADMIN / APPEARANCE LAYOUT CORRECTION === */
.admin-page{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:42px clamp(28px,5vw,88px) 80px !important;
}
.admin-page .admin-layout{
  width:min(100%,1500px);
  max-width:1500px;
  margin:0 auto;
  grid-template-columns:230px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.admin-page #admin-panel{
  width:100%;
  min-width:0;
  max-width:none;
  padding:28px;
}
.admin-page .appearance-settings-page{
  width:100%;
  max-width:1120px;
}
.admin-page .appearance-settings-form{
  width:100%;
}
.admin-page .appearance-color-panel,
.admin-page .appearance-layout-panel{
  width:100%;
}
.admin-page .appearance-palette-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.admin-page .appearance-palette-card{
  min-width:0;
  min-height:152px;
  padding:18px;
}
.admin-page .appearance-palette-card.is-selected{
  padding:17px;
}
.admin-page .appearance-palette-card strong{
  font-size:14px;
  line-height:1.15;
  max-width:130px;
}
.admin-page .appearance-palette-card small{
  font-size:12px;
  line-height:1.35;
}
.admin-page .appearance-palette-swatches i{
  height:34px;
}
.admin-page .appearance-layout-panel{
  max-width:620px;
}
.admin-page .appearance-settings-form>.actions{
  max-width:1120px;
  justify-content:flex-end;
}
@media(max-width:1250px){
  .admin-page .appearance-palette-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:900px){
  .admin-page{padding:24px 18px 56px !important;}
  .admin-page .admin-layout{grid-template-columns:1fr;gap:18px;}
  .admin-page #admin-panel{padding:20px;}
  .admin-page .appearance-layout-panel{max-width:none;}
}
@media(max-width:620px){
  .admin-page .appearance-palette-grid{grid-template-columns:1fr;}
}


/* === FULL-SITE WIDTH RESTORATION ===
   Appearance palettes must never constrain public page width. */
#app,main{width:100%;max-width:none;}
.page{width:100%;max-width:none!important;margin-left:0;margin-right:0;}
.hero{width:100%;max-width:none!important;}
.section{max-width:none;}
.book-grid{max-width:none;}
/* Reference Appearance screen contains color palettes only. */
.appearance-layout-panel{display:none!important;}
.appearance-settings-page{max-width:1180px;}
@media(min-width:901px){
  .admin-page .appearance-settings-page{max-width:1180px;}
}

/* Center the two public membership plans after Starter was made private */
.home-membership-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(100%,900px);
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}
.membership-plans-section .membership-tier-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(100%,900px);
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}
/* Public membership blocks outside the dedicated Membership page */
.section > .tier-grid:not(.membership-tier-grid){
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(100%,900px);
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}
@media(max-width:950px){
  .home-membership-grid,
  .membership-plans-section .membership-tier-grid,
  .section > .tier-grid:not(.membership-tier-grid){
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:820px;
  }
}
@media(max-width:700px){
  .home-membership-grid,
  .membership-plans-section .membership-tier-grid,
  .section > .tier-grid:not(.membership-tier-grid){
    grid-template-columns:1fr;
    max-width:620px;
  }
}

/* Page Builder background image upload */
.builder-background-field{display:grid;gap:9px;padding-top:2px}
.builder-property-label{font-size:13px;font-weight:700}
.builder-background-upload{display:flex;align-items:center;justify-content:center;width:100%;cursor:pointer;text-align:center}
.builder-background-preview{display:grid;gap:9px}
.builder-background-preview img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--line);border-radius:10px}
.builder-background-preview .btn{width:100%}

/* Page Builder section backgrounds: always fill the entire banner section */
.hero,
.builder-banner{
  background-size:100% 100%, cover !important;
  background-position:center, center !important;
  background-repeat:no-repeat !important;
}
@media (max-width:760px){
  .hero,
  .builder-banner{
    background-size:100% 100%, cover !important;
    background-position:center, center !important;
  }
}


/* === Audible3 Series Feature === */
.series-toggle-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.025);
  cursor:pointer;
}
.series-toggle-row input{
  width:18px;
  height:18px;
  margin-top:2px;
  accent-color:var(--accent);
}
.series-toggle-row span{
  display:grid;
  gap:4px;
}
.series-toggle-row strong{
  font-size:14px;
}
.series-toggle-row small{
  color:var(--muted);
  line-height:1.45;
}
.series-book-fields{
  margin-top:2px;
  padding:14px;
  border:1px dashed var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.02);
}
.series-book-fields.is-hidden{
  display:none;
}
.book-series-label{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  margin:10px 0 2px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(var(--theme-accent-rgb,124,77,255),.12);
  color:var(--accent);
  font-size:11px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.02em;
}
.admin-tag-series{
  background:rgba(var(--theme-accent-rgb,124,77,255),.12)!important;
  color:var(--accent)!important;
  border-color:rgba(var(--theme-accent-rgb,124,77,255),.22)!important;
}
.player-series-label{
  margin:0 0 10px;
}
.access-series-label{
  margin:8px 0 4px;
}
.about-series-line{
  margin:-2px 0 12px;
  color:var(--accent);
  font-size:13px;
}
.series-reader-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
  padding:16px 18px;
  border:1px solid rgba(var(--theme-accent-rgb,124,77,255),.24);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(var(--theme-accent-rgb,124,77,255),.10),rgba(255,255,255,.025));
}
.series-reader-main{
  min-width:0;
  display:grid;
  gap:3px;
}
.series-reader-kicker{
  color:var(--accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.series-reader-main strong{
  font-size:15px;
}
.series-reader-main small,
.series-current-note{
  color:var(--muted);
  font-size:12px;
}
.series-reader-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
}
.series-reader-actions .btn{
  white-space:nowrap;
}
.reader-page>.series-reader-card{
  margin-top:18px;
}
@media(max-width:760px){
  .series-reader-card{
    align-items:flex-start;
    flex-direction:column;
  }
  .series-reader-actions{
    width:100%;
    justify-content:flex-start;
  }
  .series-reader-actions .btn{
    width:100%;
    white-space:normal;
  }
}

/* === Page Builder: paragraph preservation + background image on every section === */
.builder-preserved-text{
  display:block;
  white-space:normal;
}
.builder-preserved-text p{
  margin:0;
  line-height:1.7;
}
.builder-preserved-text p + p{
  margin-top:1.15em;
}
.builder-banner .builder-preserved-text p,
.hero .builder-preserved-text p{
  max-width:inherit;
}
.builder-functional{
  min-height:150px;
  padding:34px 42px;
  display:flex;
  align-items:center;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.builder-functional-label{
  width:100%;
  padding:28px;
  border:1px dashed rgba(0,0,0,.25);
  border-radius:12px;
  background:rgba(255,255,255,.86);
  text-align:center;
  font-weight:800;
  text-transform:capitalize;
}
.builder-block{
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.page-builder-section-bg{
  position:relative;
  width:100%;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.page-builder-section-bg > section{
  background-color:transparent!important;
  background-image:none!important;
}
.page-builder-section-bg > .section,
.page-builder-section-bg > .hero{
  width:100%;
  max-width:none;
}
@media(max-width:650px){
  .builder-functional{padding:24px}
  .builder-preserved-text p + p{margin-top:1em}
}

/* =========================================================
   AUDIBLE3 LIVE VISUAL PAGE EDITOR
   ========================================================= */
.live-editor-admin-bar{
 position:fixed;left:18px;right:18px;bottom:18px;z-index:10050;
 display:flex;align-items:center;justify-content:space-between;gap:18px;
 padding:11px 14px;border:1px solid rgba(255,255,255,.16);border-radius:16px;
 background:rgba(23,23,23,.96);box-shadow:0 18px 55px rgba(0,0,0,.38);backdrop-filter:blur(18px);
 color:#fff;
}
.live-editor-admin-bar>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}
.live-editor-admin-bar strong{font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.live-editor-admin-bar span{opacity:.7;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-admin-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.live-edit-page-button{margin-left:auto;border:0;border-radius:999px;padding:11px 18px;background:var(--accent,#f47b20);color:#111;font-weight:800;cursor:pointer}
.live-edit-icon-launcher{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;padding:0 !important;background:#fff !important;color:#111 !important;border:1px solid rgba(0,0,0,.12) !important;border-radius:999px !important;box-shadow:0 10px 28px rgba(0,0,0,.20) !important}
.live-edit-icon-launcher img{display:block;width:18px !important;height:18px !important;min-width:18px !important;min-height:18px !important;max-width:18px !important;max-height:18px !important;object-fit:contain}
body:has(.live-editor-admin-bar){padding-bottom:84px}
body:has(.live-editor-admin-bar.live-editor-launcher){padding-bottom:0 !important}

.live-editing-page{overflow:visible!important}
.live-editor-section{position:relative;isolation:isolate;outline:1px dashed rgba(244,123,32,.34);outline-offset:-1px;transition:outline-color .16s,box-shadow .16s}
.live-editor-section:hover{outline:2px solid var(--accent,#f47b20);z-index:20;box-shadow:0 0 0 3px rgba(244,123,32,.08)}
.live-editor-section [contenteditable="true"]{cursor:text;outline:0;border-radius:4px;transition:box-shadow .15s,background .15s}
.live-editor-section [contenteditable="true"]:hover{box-shadow:0 0 0 2px rgba(244,123,32,.35);background:rgba(244,123,32,.06)}
.live-editor-section [contenteditable="true"]:focus{box-shadow:0 0 0 3px rgba(244,123,32,.55);background:rgba(255,255,255,.10)}
.live-editor-section .builder-preserved-text[contenteditable="true"]{min-height:1.4em;padding:3px}
.live-section-toolbar{position:absolute!important;top:8px!important;right:8px!important;z-index:100!important;display:flex!important;align-items:center!important;gap:4px!important;padding:5px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;background:rgba(20,20,20,.94)!important;box-shadow:0 8px 24px rgba(0,0,0,.28)!important;opacity:0;transform:translateY(-4px);transition:.15s ease}
.live-editor-section:hover>.live-section-toolbar,.live-section-toolbar:focus-within{opacity:1;transform:none}
.live-section-toolbar button{width:auto!important;min-width:0!important;margin:0!important;padding:7px 9px!important;border:0!important;border-radius:7px!important;background:#303030!important;color:#fff!important;font:700 11px/1 system-ui,-apple-system,sans-serif!important;cursor:pointer!important;white-space:nowrap!important;text-transform:none!important;letter-spacing:0!important}
.live-section-toolbar button:hover{background:#444!important}
.live-section-toolbar button:disabled{opacity:.35;cursor:not-allowed!important}
.live-section-toolbar button.danger{color:#ff9f9f!important}
.live-add-between{position:absolute;left:50%;bottom:-17px;z-index:90;width:34px;height:34px;border:2px solid #fff;border-radius:50%;background:var(--accent,#f47b20);color:#111;font-size:24px;line-height:26px;font-weight:800;cursor:pointer;transform:translateX(-50%);opacity:0;box-shadow:0 6px 20px rgba(0,0,0,.25);transition:.15s}
.live-editor-section:hover>.live-add-between{opacity:1}
.live-empty-page{min-height:320px;display:grid;place-items:center;align-content:center;gap:14px;text-align:center;border:2px dashed rgba(244,123,32,.4);border-radius:18px;margin:30px}

.live-editor-drawer-backdrop{position:fixed;inset:0;z-index:10070;background:rgba(0,0,0,.44);backdrop-filter:blur(2px)}
.live-editor-drawer{position:fixed;top:0;right:0;bottom:0;z-index:10080;width:min(430px,94vw);overflow:auto;background:#181818;color:#fff;border-left:1px solid rgba(255,255,255,.12);box-shadow:-24px 0 60px rgba(0,0,0,.42);padding:22px}
.live-drawer-head{position:sticky;top:-22px;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:-22px -22px 20px;padding:22px;background:rgba(24,24,24,.97);border-bottom:1px solid rgba(255,255,255,.09);backdrop-filter:blur(18px)}
.live-drawer-head span{display:block;margin-bottom:4px;font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--accent,#f47b20)}
.live-drawer-head h3{margin:0;color:#fff;font-size:22px}
.live-drawer-head>button{border:0;background:#2c2c2c;color:#fff;width:38px;height:38px;border-radius:50%;font-size:22px;cursor:pointer}
.live-section-palette{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.live-section-palette>button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:96px;padding:15px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:#232323;color:#fff;text-align:left;cursor:pointer;transition:.15s}
.live-section-palette>button:hover{border-color:var(--accent,#f47b20);background:#292929;transform:translateY(-1px)}
.live-section-palette strong{font-size:14px}.live-section-palette small{color:#aaa;line-height:1.35}
.live-settings-fields{display:grid;gap:14px;padding-bottom:90px}
.live-settings-fields>label,.live-bg-settings{display:grid;gap:7px}
.live-settings-fields label>span,.live-bg-settings>span{font-size:12px;font-weight:800;color:#ddd}
.live-settings-fields input,.live-settings-fields textarea,.live-settings-fields select{width:100%;border:1px solid #3a3a3a;border-radius:10px;background:#222;color:#fff;padding:11px 12px;font:inherit}
.live-settings-fields textarea{min-height:130px;resize:vertical;white-space:pre-wrap}
.live-upload-control{position:relative;display:grid!important;gap:8px!important}
.live-upload-control>strong{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px dashed #606060;border-radius:10px;background:#242424;color:#fff;cursor:pointer}
.live-upload-control>strong:hover{border-color:var(--accent,#f47b20)}
.live-bg-settings{margin-top:8px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1)}
.live-bg-settings img{display:block;width:100%;height:130px;object-fit:cover;border-radius:10px;border:1px solid #363636}
.live-drawer-actions{position:fixed;right:0;bottom:0;width:min(430px,94vw);padding:14px 22px;background:rgba(24,24,24,.97);border-top:1px solid rgba(255,255,255,.1);z-index:3}
.live-drawer-actions .btn{width:100%}
.live-media-empty{display:grid;place-items:center;min-height:260px;border:2px dashed rgba(127,127,127,.35);border-radius:15px;color:#888;background:rgba(127,127,127,.05)}
.live-video-section .live-video-frame{margin-top:18px;border-radius:18px;overflow:hidden;background:#000;box-shadow:0 18px 60px rgba(0,0,0,.18)}
.live-video-section video{display:block;width:100%;max-height:720px;background:#000}
.live-featured-book-section{display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:38px;align-items:center}
.live-featured-book-cover{aspect-ratio:2/3;border-radius:15px;overflow:hidden;background:#252525;display:grid;place-items:center;box-shadow:0 20px 50px rgba(0,0,0,.2)}
.live-featured-book-cover img{width:100%;height:100%;object-fit:cover}.live-featured-book-cover span{padding:20px;text-align:center;color:#fff;font-weight:800}
.live-featured-book-copy h2{font-size:clamp(30px,4vw,58px);margin:.2em 0}
.page-builder-section-bg{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}

@media(max-width:800px){
 .live-editor-admin-bar{left:8px;right:8px;bottom:8px;padding:9px}.live-editor-admin-bar>div:first-child span{display:none}.live-admin-actions{gap:5px}.live-admin-actions .btn{padding:9px 10px;font-size:12px}
 .live-section-toolbar{top:5px!important;right:5px!important;max-width:calc(100% - 10px);overflow-x:auto}.live-section-toolbar button{padding:7px!important;font-size:10px!important}.live-section-toolbar button:nth-of-type(4),.live-section-toolbar button:nth-of-type(5),.live-section-toolbar button:nth-of-type(6){display:none!important}
 .live-section-palette{grid-template-columns:1fr}.live-featured-book-section{grid-template-columns:1fr}.live-featured-book-cover{width:min(250px,75vw);margin:auto}
}

/* Banner button management */
.banner-button-editor{margin-top:18px;padding-top:16px;border-top:1px solid rgba(127,127,127,.22)}
.banner-button-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.banner-button-editor-head>span{font-weight:700}
.banner-button-row{display:grid;grid-template-columns:1.1fr 1.4fr .8fr auto;gap:10px;align-items:end;padding:12px;margin:10px 0;border:1px solid rgba(127,127,127,.22);border-radius:12px;background:rgba(127,127,127,.05)}
.banner-button-row label{margin:0}.banner-button-row-actions{display:flex;align-items:center;gap:6px;padding-bottom:2px}.banner-button-row-actions button{min-width:34px;min-height:34px;border:1px solid rgba(127,127,127,.28);background:transparent;border-radius:8px;cursor:pointer}.banner-button-row-actions .danger{padding:0 10px;color:#b42318}.banner-button-row-actions button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:900px){.banner-button-row{grid-template-columns:1fr}.banner-button-row-actions{padding-bottom:0}}

/* =========================================================
   COVER-ONLY PUBLIC BOOK CARDS + FLOATING EDIT PAGE LAUNCHER
   ========================================================= */
.cover-only-book-card{
  padding-bottom:0 !important;
}
.cover-only-book-card .cover-empty-placeholder{
  display:block;
  width:100%;
  height:100%;
  min-height:inherit;
  background:linear-gradient(145deg,#252525,#111);
}
.cover-only-book-card .home-standard-book-open{
  gap:0 !important;
}
.cover-only-book-card .home-standard-book-meta,
.cover-only-book-card .book-series-label,
.cover-only-book-card h3,
.cover-only-book-card .preview-button,
.cover-only-book-card .badge{
  display:none !important;
}

/* The normal admin launcher is only one floating button, never a footer-width bar. */
.live-editor-admin-bar.live-editor-launcher{
  left:auto !important;
  right:18px !important;
  top:50% !important;
  bottom:auto !important;
  transform:translateY(-50%) !important;
  width:auto !important;
  min-width:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  display:block !important;
}
.live-editor-admin-bar.live-editor-launcher .live-edit-page-button{
  margin:0 !important;
}
body:has(.live-editor-admin-bar.live-editor-launcher){
  padding-bottom:0 !important;
}
@media(max-width:700px){
  .live-editor-admin-bar.live-editor-launcher{
    right:10px !important;
    top:50% !important;
    bottom:auto !important;
    transform:translateY(-50%) !important;
  }
  .live-editor-admin-bar.live-editor-launcher .live-edit-icon-launcher{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
    max-width:40px !important;
    max-height:40px !important;
  }
  .live-editor-admin-bar.live-editor-launcher .live-edit-icon-launcher img{
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    min-height:16px !important;
    max-width:16px !important;
    max-height:16px !important;
  }
}


/* =========================================================
   AUDIBLE3 UX LAUNCH PASS — 2026-08-12
   ========================================================= */
.mainnav{display:flex;align-items:center;gap:6px;flex:1;justify-content:center}.mainnav[hidden]{display:none}.nav-auth-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.nav-profile-menu{position:relative}.nav-profile-trigger{min-height:42px;padding:0 14px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.05);color:#fff;font-weight:800;cursor:pointer}.nav-profile-popover{position:absolute;right:0;top:calc(100% + 10px);z-index:2000;width:220px;padding:8px;background:#161616;border:1px solid rgba(255,255,255,.13);border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.45)}.nav-profile-popover[hidden]{display:none}.nav-profile-popover button{width:100%;text-align:left;padding:11px 12px;border:0;border-radius:9px;background:transparent;color:#fff;cursor:pointer;font-weight:700}.nav-profile-popover button:hover,.nav-profile-popover button:focus{background:rgba(255,255,255,.08)}.nav-profile-popover .profile-menu-signout{color:#ff9f9f;border-top:1px solid rgba(255,255,255,.08);border-radius:0;margin-top:5px;padding-top:13px}
.library-view-chips{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 10px}.library-view-chip{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:inherit;border-radius:999px;padding:9px 14px;font-weight:800;cursor:pointer}.library-view-chip.is-active{background:var(--accent);border-color:var(--accent);color:#111}.cover-only-book-card{position:relative;overflow:visible}.cover-only-book-card .cover{position:relative;overflow:hidden}.cover-progress-track{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.25);z-index:5}.cover-progress-track>span{display:block;height:100%;background:var(--accent)}.book-card-quick{position:absolute;inset:auto 0 0 0;z-index:4;padding:46px 12px 12px;background:linear-gradient(transparent,rgba(0,0,0,.94));display:flex;flex-direction:column;gap:3px;color:white;opacity:0;transform:translateY(10px);transition:.18s ease;pointer-events:none}.book-card-quick strong{font-size:14px;line-height:1.2}.book-card-quick small{font-size:11px;color:rgba(255,255,255,.76)}.book-card-quick span{font-size:11px;font-weight:900;color:var(--accent);margin-top:4px}.cover-only-book-card:hover .book-card-quick,.cover-only-book-card:focus-within .book-card-quick{opacity:1;transform:none}
.member-home-personal{max-width:var(--content-width,1200px);margin:0 auto;padding:30px 24px 10px}.member-home-welcome{padding:18px 0 8px}.member-home-welcome span{font-size:11px;font-weight:900;letter-spacing:.18em;color:var(--accent)}.member-home-welcome h1{font-size:clamp(30px,5vw,52px);margin:4px 0}.member-home-welcome p{color:var(--muted,#a9a9a9);margin:0}.member-first-empty{margin:18px 0;padding:24px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.035)}.member-home-shelf{margin:30px 0}.member-home-book-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.member-home-book{display:flex;flex-direction:column;text-align:left;border:0;background:transparent;color:inherit;padding:0;cursor:pointer}.member-home-cover{position:relative;display:block;aspect-ratio:2/3;overflow:hidden;border-radius:12px;background:#222;box-shadow:0 12px 28px rgba(0,0,0,.24)}.member-home-cover img{width:100%;height:100%;object-fit:cover}.member-home-book-copy{display:flex;flex-direction:column;gap:3px;padding-top:9px}.member-home-book-copy strong{font-size:13px}.member-home-book-copy small{font-size:11px;color:var(--muted,#aaa)}.member-home-book-copy em{font-style:normal;font-size:11px;font-weight:900;color:var(--accent);margin-top:3px}
.audible3-mini-player{position:fixed;z-index:3500;left:50%;bottom:16px;transform:translateX(-50%);width:min(760px,calc(100vw - 170px));min-height:72px;padding:9px 12px;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(18,18,18,.96);box-shadow:0 18px 55px rgba(0,0,0,.5);backdrop-filter:blur(18px)}.audible3-mini-player[hidden]{display:none}.mini-player-cover{width:52px;height:52px;padding:0;border:0;border-radius:8px;overflow:hidden;background:#2a2a2a}.mini-player-cover img{width:100%;height:100%;object-fit:cover}.mini-player-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.mini-player-copy strong,.mini-player-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-player-copy small{color:#aaa}.mini-player-track{height:3px;background:#333;border-radius:4px;overflow:hidden;margin-top:4px}.mini-player-track span{display:block;height:100%;background:var(--accent)}.mini-player-actions{display:flex;gap:6px;align-items:center}.mini-player-actions button{border:0;background:transparent;color:white;min-width:36px;height:36px;border-radius:50%;cursor:pointer}.mini-player-actions button:hover{background:rgba(255,255,255,.08)}.mini-player-actions .mini-player-main{background:var(--accent);color:#111;font-weight:900}.has-persistent-player .footer{padding-bottom:105px}
.completion-experience{text-align:center;max-width:480px}.completion-check{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:var(--accent);color:#111;font-size:30px;font-weight:900}.completion-next{display:flex;flex-direction:column;gap:6px;margin:20px 0;padding:18px;border-radius:14px;background:rgba(255,255,255,.05)}.completion-next>span{font-size:11px;letter-spacing:.12em;color:var(--accent);font-weight:900}.completion-next strong{font-size:20px}.completion-next small{color:#aaa}.completion-experience>.btn,.completion-experience>.link-button{margin:5px}
.first-login-welcome{max-width:650px}.first-login-books{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.first-login-books button{border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.first-login-books button>span{display:block;aspect-ratio:2/3;border-radius:9px;overflow:hidden;background:#222}.first-login-books img{width:100%;height:100%;object-fit:cover}.first-login-books strong{display:block;font-size:11px;margin-top:6px;line-height:1.25}.ux-loading-page{max-width:1200px;margin:0 auto;padding:30px 24px}.ux-skeleton{display:block;background:linear-gradient(90deg,#1b1b1b,#282828,#1b1b1b);background-size:200% 100%;animation:uxShimmer 1.2s linear infinite;border-radius:14px}.ux-skeleton-hero{height:320px}.ux-skeleton-row{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:26px}.ux-skeleton-cover{aspect-ratio:2/3}@keyframes uxShimmer{to{background-position:-200% 0}}
.member-preview-launcher .live-edit-page-button{background:#fff;color:#111;border-color:#fff}
@media(max-width:900px){.member-home-book-row{grid-template-columns:repeat(3,minmax(0,1fr))}.audible3-mini-player{width:calc(100vw - 28px);bottom:12px}.topbar{gap:8px}.mainnav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.mainnav button{white-space:nowrap}.nav-profile-trigger{max-width:110px;overflow:hidden;text-overflow:ellipsis}.book-card-quick{display:none}}
@media(max-width:620px){.topbar{padding-left:14px;padding-right:14px}.brand{font-size:20px}.mainnav{order:3;width:100%;flex-basis:100%;padding-top:4px}.topbar{flex-wrap:wrap}.nav-auth-actions{margin-left:auto}.member-home-personal{padding:20px 14px 4px}.member-home-book-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.member-home-book-row .member-home-book:nth-child(n+5){display:none}.audible3-mini-player{grid-template-columns:44px minmax(0,1fr) auto;gap:8px;padding:8px}.mini-player-cover{width:44px;height:44px}.mini-player-actions button[data-mini-skip]{display:none}.mini-player-copy strong{font-size:12px}.mini-player-copy small{font-size:10px}.first-login-books{grid-template-columns:repeat(2,1fr)}.library-filter-toolbar{align-items:stretch}.library-filter-field{width:100%}.library-view-chips{display:flex;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;gap:24px;margin:12px 0 10px;padding:0 2px 5px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}.library-view-chips::-webkit-scrollbar{display:none}.library-view-chip{flex:0 0 auto;white-space:nowrap;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:inherit;padding:10px 1px 7px;font-weight:800;box-shadow:none}.library-view-chip.is-active{background:transparent;border-color:var(--accent);color:inherit}.library-view-chip.mobile-hide{display:none}.btn,button,input,select,textarea{touch-action:manipulation}.ux-skeleton-row{grid-template-columns:repeat(2,1fr)}.ux-skeleton-row .ux-skeleton-cover:nth-child(n+3){display:none}}

.nav-global-search{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:white;font-size:24px;line-height:1;cursor:pointer}.nav-global-search:hover,.nav-global-search:focus{border-color:var(--accent);color:var(--accent)}

.reader-file-wrap{width:100%;min-height:70vh}.reader-file-frame{width:100%;height:75vh;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#fff}.reader-file-fallback{font-size:13px;color:var(--muted,#aaa);margin-top:10px}.reader-file-fallback a{color:var(--accent)}

.member-home-cover-only{display:block}.member-home-cover-only .member-home-cover{position:relative}.member-home-hover{position:absolute;inset:auto 0 0 0;padding:42px 10px 10px;background:linear-gradient(transparent,rgba(0,0,0,.93));color:#fff;display:flex;flex-direction:column;gap:2px;opacity:0;transform:translateY(8px);transition:.18s ease;text-align:left}.member-home-hover strong{font-size:12px;line-height:1.2}.member-home-hover small{font-size:10px;color:rgba(255,255,255,.75)}.member-home-hover em{font-style:normal;font-size:10px;font-weight:900;color:var(--accent);margin-top:2px}.member-home-cover-only:hover .member-home-hover,.member-home-cover-only:focus .member-home-hover{opacity:1;transform:none}@media(max-width:900px){.member-home-hover{display:none}}

/* =========================================================
   AUDIBLE3 DEEPER EXPERIENCE — JOURNEY / SERIES / SEARCH / PWA
   ========================================================= */
.site-announcements{position:relative;z-index:1200;background:#0f0f0f;border-bottom:1px solid rgba(255,255,255,.09)}
.site-announcement{min-height:42px;display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 52px 8px 18px;color:#fff;text-align:center;font-size:13px;position:relative}.site-announcement>span{font-weight:700}.site-announcement-link{border:0;background:transparent;color:var(--accent);font:inherit;font-weight:900;cursor:pointer;text-decoration:none}.site-announcement-close{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.staging-indicator{padding:6px 12px;text-align:center;background:#7a2e00;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em}

.journey-hero,.series-page-hero,.topic-page-hero,.global-search-page>header{max-width:780px;margin-bottom:30px}.journey-hero>span,.series-page-hero>span,.topic-page-hero>span,.global-search-page>header>span{display:block;font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--accent);margin-bottom:7px}.journey-hero h1,.series-page-hero h1,.topic-page-hero h1,.global-search-page h1{font-size:clamp(34px,5vw,58px);line-height:1.02;margin:0 0 10px}.journey-hero p,.series-page-hero p,.topic-page-hero p,.global-search-page header p{color:var(--muted,#aaa);font-size:16px;line-height:1.65}.journey-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.journey-notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:34px 0}.journey-list-card{padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.025)}.journey-entry-list{display:flex;flex-direction:column;gap:9px}.journey-entry{display:flex;align-items:stretch;justify-content:space-between;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025);overflow:hidden}.journey-entry-main{flex:1;border:0;background:transparent;color:inherit;text-align:left;padding:13px;cursor:pointer;display:flex;flex-direction:column;gap:4px}.journey-entry-main strong{font-size:13px}.journey-entry-main small,.journey-note-entry small{color:var(--muted,#aaa);font-size:11px}.journey-entry-delete{width:42px;border:0;border-left:1px solid rgba(255,255,255,.07);background:transparent;color:#ff9f9f;font-size:20px;cursor:pointer}.journey-note-entry{padding:13px;gap:12px}.journey-note-entry>div:first-child{min-width:0}.journey-note-entry p{white-space:pre-wrap;color:#ddd;line-height:1.5;margin:6px 0}.journey-entry-actions{display:flex;flex-direction:column;gap:5px}.journey-entry-actions button{border:0;background:transparent;color:var(--accent);font-weight:800;cursor:pointer}

.series-reader-link{border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.series-reader-link:hover strong{color:var(--accent)}.series-timeline{display:flex;flex-direction:column;gap:18px}.series-timeline-item{display:grid;grid-template-columns:110px 150px 1fr;gap:22px;align-items:center;padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.025)}.series-number{font-weight:900;color:var(--accent);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.series-cover-button{padding:0;border:0;background:transparent;cursor:pointer}.series-cover-button>span{display:block;position:relative;aspect-ratio:2/3;overflow:hidden;border-radius:10px;background:#222}.series-cover-button img{width:100%;height:100%;object-fit:cover}.series-item-copy h2{margin:0 0 7px}.series-item-copy p{color:var(--muted,#aaa);line-height:1.55}.series-inline-link{border:0;background:transparent;color:var(--accent);cursor:pointer;padding:0;text-align:left}

.topic-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.topic-card{min-height:140px;padding:20px;text-align:left;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));color:inherit;cursor:pointer;display:flex;flex-direction:column;justify-content:flex-end;gap:5px}.topic-card:hover{border-color:var(--accent);transform:translateY(-2px)}.topic-card strong{font-size:19px}.topic-card span{font-size:12px;color:var(--muted,#aaa)}

.global-search-page{max-width:1100px;margin:0 auto}.global-search-box{display:flex;align-items:center;gap:10px;margin:24px 0 28px;padding:0 18px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.035)}.global-search-box>span{font-size:25px;color:var(--accent)}.global-search-box input{width:100%;min-height:64px;border:0!important;background:transparent!important;color:inherit!important;font-size:20px;outline:none}.global-search-results{display:flex;flex-direction:column;gap:14px}.global-search-result{display:grid;grid-template-columns:96px 1fr;gap:18px;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.025)}.global-search-cover{padding:0;border:0;background:#222;border-radius:8px;overflow:hidden;aspect-ratio:2/3;cursor:pointer}.global-search-cover img{width:100%;height:100%;object-fit:cover}.global-search-result>div>span,.global-search-note>span{font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--accent)}.global-search-result h2{margin:3px 0 5px}.global-search-result p{color:var(--muted,#aaa);line-height:1.45}.global-search-matches{display:flex;flex-direction:column;gap:6px;margin-top:10px}.global-search-matches button{padding:10px;text-align:left;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(255,255,255,.025);color:inherit;cursor:pointer}.global-search-matches strong,.global-search-matches small{display:block}.global-search-matches small{margin-top:4px;color:var(--muted,#aaa)}.global-search-note{padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.025)}.global-search-note p{white-space:pre-wrap}.search-loading{padding:30px;text-align:center;color:var(--muted,#aaa)}

.cover-status-badge{position:absolute;left:8px;top:8px;z-index:8;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.cover-status-badge.new-release{background:var(--accent);color:#111}.cover-status-badge.coming-soon{background:#111;color:#fff;border:1px solid rgba(255,255,255,.2)}.coming-soon-gate .book-access-cover{opacity:.88}

/* admin useful analytics, announcements and member activity */
.useful-analytics-panel{margin-top:22px}.useful-analytics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.useful-analytics-grid article{display:flex;flex-direction:column;gap:4px;padding:13px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.02)}.useful-analytics-grid article strong{margin-bottom:4px}.useful-analytics-grid article span{font-size:11px;color:var(--muted,#aaa)}.search-intelligence{margin-top:20px}.analytics-search-list{display:flex;flex-direction:column;gap:6px}.analytics-search-list span{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:8px;background:rgba(255,255,255,.035)}.analytics-search-list b{color:var(--accent)}.analytics-search-list.no-results strong{color:#ffb5b5}.announcement-admin-list{display:flex;flex-direction:column;gap:12px;margin:18px 0}.announcement-admin-card{padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.025)}.admin-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.member-activity-dialog{min-width:min(700px,85vw)}.member-activity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.member-activity-grid article{padding:12px;border-radius:10px;background:rgba(255,255,255,.045);display:flex;flex-direction:column}.member-activity-grid span{font-size:10px;color:var(--muted,#aaa);text-transform:uppercase}.member-activity-grid strong{font-size:24px}.member-activity-list{display:flex;flex-direction:column;gap:6px;margin:8px 0 20px}.member-activity-list>div{display:flex;justify-content:space-between;gap:15px;padding:9px;border-bottom:1px solid rgba(255,255,255,.07)}
.page-publish-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.page-publish-controls label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:800;color:var(--muted,#aaa)}.page-publish-controls select,.page-publish-controls input{min-height:38px;padding:6px 9px;border-radius:8px}
.install-help{max-width:460px}.install-help p{line-height:1.6}.chapter-inline-actions [data-chapter-transcript]{color:var(--accent);font-size:10px;font-weight:900}.chapter-inline-actions [data-chapter-bookmark]{font-size:17px}

@media(max-width:900px){.journey-notes-grid{grid-template-columns:1fr}.topic-card-grid{grid-template-columns:repeat(2,1fr)}.series-timeline-item{grid-template-columns:80px 110px 1fr}.useful-analytics-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.site-announcement{justify-content:flex-start;text-align:left;padding-left:12px}.series-timeline-item{grid-template-columns:75px 1fr;align-items:start}.series-item-copy{grid-column:1/-1}.topic-card-grid{grid-template-columns:1fr 1fr}.global-search-result{grid-template-columns:70px 1fr}.useful-analytics-grid{grid-template-columns:1fr}.member-activity-grid{grid-template-columns:1fr 1fr}.page-publish-controls{width:100%;align-items:stretch}.page-publish-controls label{flex:1 1 150px}}


/* =========================================================
   Admin Books — clean cover-only management cards
   ========================================================= */
.admin-book-card-clean{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 20px rgba(15,23,42,.055);
}
.admin-book-card-clean .admin-book-cover-display{
  border-bottom:0;
}
.admin-book-actions-clean{
  margin-top:auto;
  padding:10px !important;
  border-top:1px solid var(--line);
  background:#fff;
}
.admin-book-actions-clean .btn{
  min-height:38px;
  font-size:12px !important;
}
.admin-book-actions-clean .admin-book-delete{
  background:#dc2626;
  border-color:#dc2626;
  color:#fff;
}
.admin-book-actions-clean .admin-book-delete:hover{background:#b91c1c;border-color:#b91c1c}

/* Book editor — explicit membership eligibility */
.book-tier-access-panel{
  display:grid;
  gap:14px;
  padding:18px;
  border:1px solid #dbe3ee;
  border-radius:16px;
  background:#f8fafc;
}
.book-tier-access-head h4{margin:3px 0 4px;font-size:17px}
.book-tier-access-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.book-tier-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.book-tier-choice{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:76px;
  padding:13px 42px 13px 13px;
  border:1px solid #d8e0ea;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.book-tier-choice input{position:absolute;opacity:0;pointer-events:none}
.book-tier-choice span{display:grid;gap:3px}
.book-tier-choice strong{font-size:14px;color:#111827}
.book-tier-choice small{font-size:11px;line-height:1.35;color:#64748b}
.book-tier-choice i{
  position:absolute;right:13px;top:50%;transform:translateY(-50%);
  width:23px;height:23px;border-radius:50%;display:grid;place-items:center;
  border:1px solid #cbd5e1;color:transparent;background:#fff;font-style:normal;font-weight:900;
}
.book-tier-choice.is-selected{border-color:var(--accent);background:rgba(var(--theme-accent-rgb,0,191,255),.055);box-shadow:0 0 0 2px rgba(var(--theme-accent-rgb,0,191,255),.12)}
.book-tier-choice.is-selected i{background:var(--accent);border-color:var(--accent);color:var(--theme-accent-text,#111)}
.book-tier-access-note{margin:0;color:#64748b;font-size:12px}
@media(max-width:900px){.book-tier-choice-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.book-tier-choice-grid{grid-template-columns:1fr}}


/* WeYada visitor analytics + SEO dashboard */
.visitor-analytics-panel,.google-search-panel,.google-search-detail,.seo-score-card{margin-top:24px}
.visitor-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.visitor-kpi-grid article{border:1px solid rgba(127,127,127,.22);border-radius:14px;padding:18px;background:var(--card-bg,#fff)}
.visitor-kpi-grid span{display:block;font-size:12px;font-weight:700;opacity:.7;text-transform:uppercase;letter-spacing:.05em}.visitor-kpi-grid strong{display:block;font-size:30px;margin:7px 0}.visitor-kpi-grid small{opacity:.68}
.visitor-analytics-grid{display:grid;grid-template-columns:1.25fr 1.25fr .8fr;gap:18px}.visitor-analytics-grid>div{min-width:0}.visitor-analytics-grid h4,.google-search-detail h4{margin:8px 0 12px}
.seo-connect-callout{border:1px dashed rgba(127,127,127,.35);border-radius:14px;padding:20px;margin-top:14px}.seo-connect-callout strong{display:block;font-size:18px}.seo-connect-callout p{line-height:1.55}.seo-connect-callout code{display:block;overflow:auto;padding:9px 11px;margin-top:7px;border-radius:8px;background:rgba(127,127,127,.1)}
.seo-admin-page{max-width:1180px}.seo-score-card{display:grid;grid-template-columns:180px 1fr;gap:22px;align-items:start;border:1px solid rgba(127,127,127,.2);border-radius:18px;padding:22px;margin-bottom:24px}.seo-score-card>div:first-child span{display:block;font-weight:700;opacity:.7}.seo-score-card>div:first-child strong{font-size:48px;line-height:1.1}.seo-health-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.seo-health-list>span{display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:start;padding:9px 10px;border-radius:10px;background:rgba(127,127,127,.08)}.seo-health-list i{font-style:normal;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-weight:800}.seo-health-list .pass i{background:#dff5e6;color:#16733a}.seo-health-list .needs-work i{background:#fff0d9;color:#925500}.seo-health-list small{grid-column:2;opacity:.7}
.seo-keyword-table{display:grid;gap:8px;margin-bottom:22px}.seo-keyword-table>span{display:grid;grid-template-columns:1fr auto;gap:4px 14px;padding:11px 13px;border:1px solid rgba(127,127,127,.16);border-radius:10px}.seo-keyword-table small{grid-column:1/3;opacity:.7}.seo-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.seo-feature-grid>span{padding:16px;border:1px solid rgba(127,127,127,.18);border-radius:12px}.seo-feature-grid b,.seo-feature-grid small{display:block}.seo-feature-grid small{margin-top:6px;line-height:1.45;opacity:.72}.book-seo-fields{margin:18px 0;padding:16px;border:1px solid rgba(127,127,127,.18);border-radius:14px}.book-seo-fields h4{margin-top:0}
@media(max-width:900px){.visitor-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.visitor-analytics-grid,.seo-score-card{grid-template-columns:1fr}.seo-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-health-list{grid-template-columns:1fr}}
@media(max-width:560px){.visitor-kpi-grid,.seo-feature-grid{grid-template-columns:1fr}}

/* =========================================================
   WeYada Growth Platform 4.0
   Guided spiritual growth, promotion and retention layer
   ========================================================= */
.growth-paths-page,.growth-path-detail,.groups-page,.invite-gift-page,.events-page,.teacher-page{max-width:1240px;margin:0 auto}
.growth-paths-hero,.growth-path-detail>header,.groups-page>header,.invite-gift-page>header,.events-page>header,.teacher-page>header{max-width:860px;margin:0 0 34px}
.growth-paths-hero>span,.growth-path-detail>header>span,.groups-page>header>span,.invite-gift-page>header>span,.events-page>header>span,.teacher-page>header>span,.daily-yada-card>div>span,.free-teaching-copy>span{display:block;color:var(--accent);font-size:12px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px}
.growth-paths-hero h1,.growth-path-detail>header h1,.groups-page>header h1,.invite-gift-page>header h1,.events-page>header h1,.teacher-page>header h1{font-size:clamp(38px,5.4vw,66px);line-height:1.02;margin:0 0 14px;letter-spacing:-.035em}
.growth-paths-hero p,.growth-path-detail>header p,.groups-page>header p,.invite-gift-page>header p,.events-page>header p{font-size:18px;line-height:1.7;color:var(--muted);max-width:780px}

.growth-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.growth-path-card{display:flex;flex-direction:column;min-height:330px;padding:26px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.055)}
.growth-path-card .growth-path-number{font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--accent)}
.growth-path-card h2{font-size:29px;line-height:1.08;margin:20px 0 10px}
.growth-path-card p{line-height:1.65;color:var(--muted);flex:1}
.growth-path-progress{height:7px;border-radius:999px;background:#ececf0;overflow:hidden;margin:22px 0 8px}
.growth-path-progress span{display:block;height:100%;background:var(--accent);border-radius:inherit}
.growth-path-card small{color:var(--muted);margin-bottom:16px}
.growth-path-card .btn{width:100%;text-align:center}
.growth-step-list{display:grid;gap:16px;margin-top:28px}
.growth-step{display:grid;grid-template-columns:64px 128px minmax(0,1fr);gap:22px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff}
.growth-step.is-complete{border-color:rgba(23,132,72,.32);background:#fbfffc}
.growth-step-index{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:900}
.growth-step.is-complete .growth-step-index{background:#178448}
.growth-step-cover{aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:#ececf0}
.growth-step-cover img{width:100%;height:100%;object-fit:cover;display:block}
.growth-step-cover span{display:block;width:100%;height:100%;background:linear-gradient(145deg,#222,#777)}
.growth-step-copy>span{font-size:11px;font-weight:900;letter-spacing:.1em;color:var(--accent)}
.growth-step-copy h2{font-size:27px;margin:5px 0 4px}
.growth-step-copy small{color:var(--muted)}
.growth-step-copy p{line-height:1.6;color:#505058;max-width:760px}

.daily-yada-section,.free-teaching-section,.growth-teaser,.live-events-teaser{width:min(1200px,90vw);margin:34px auto 0}
.daily-yada-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,420px);gap:30px;align-items:center;padding:30px 34px;background:#111;color:#fff;border-radius:24px;overflow:hidden;position:relative}
.daily-yada-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-80px;top:-100px;background:rgba(255,255,255,.06)}
.daily-yada-card h2{font-size:34px;margin:0 0 8px}
.daily-yada-card strong{display:block;color:var(--accent);margin:10px 0}
.daily-yada-card p{line-height:1.7;color:#e5e5e5;max-width:720px}
.daily-yada-card audio{width:100%;position:relative;z-index:1}
.free-teaching-section{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:34px;align-items:center;padding:34px;border:1px solid var(--line);border-radius:24px;background:#fff}
.free-teaching-copy h2{font-size:35px;line-height:1.12;margin:0 0 12px}
.free-teaching-copy p{max-width:700px;line-height:1.7;color:var(--muted)}
.free-teaching-cover{border:0;background:transparent;padding:0;cursor:pointer;border-radius:14px;overflow:hidden;aspect-ratio:2/3;box-shadow:0 15px 35px rgba(15,23,42,.16)}
.free-teaching-cover img{width:100%;height:100%;object-fit:cover;display:block}.free-teaching-cover span{display:block;width:100%;height:100%;background:linear-gradient(145deg,#222,#777)}
.growth-teaser,.live-events-teaser{padding:28px 0}
.growth-teaser-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.growth-teaser-grid button{display:grid;gap:8px;min-height:160px;text-align:left;border:1px solid var(--line);border-radius:18px;background:#fff;padding:22px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.growth-teaser-grid button:hover{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 14px 30px rgba(15,23,42,.08)}
.growth-teaser-grid strong{font-size:21px}.growth-teaser-grid span{color:var(--muted);line-height:1.55}
.live-events-teaser>article{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1fr) auto;gap:24px;align-items:center;border-top:1px solid var(--line);padding:20px 0}
.live-events-teaser>article strong,.live-events-teaser>article span{display:block}.live-events-teaser>article strong{font-size:20px}.live-events-teaser>article span{margin-top:5px;color:var(--muted);font-size:13px}.live-events-teaser>article p{color:var(--muted);line-height:1.55}

.teacher-story{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:28px;align-items:start}
.teacher-story>section,.teacher-story>aside{padding:30px;border:1px solid var(--line);border-radius:22px;background:#fff}
.teacher-story p{font-size:18px;line-height:1.8;color:#45454b;white-space:pre-line}
.teacher-story>aside{background:#111;color:#fff;position:sticky;top:100px}
.teacher-story>aside>span{font-size:11px;color:var(--accent);font-weight:900;letter-spacing:.13em}
.teacher-story blockquote{font-family:Georgia,serif;font-size:27px;line-height:1.35;margin:22px 0;color:#fff}
.events-list{display:grid;gap:14px}.events-list>article{display:grid;grid-template-columns:130px minmax(0,1fr);gap:24px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}.events-list>article>span{font-weight:900;color:var(--accent);letter-spacing:.05em}.events-list h2{margin-top:0}.events-list p{line-height:1.6;color:var(--muted)}

.group-join-form{display:flex;gap:10px;align-items:end;max-width:620px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;margin:22px 0 30px}.group-join-form label{flex:1;display:grid;gap:7px;font-weight:800;font-size:13px}
.member-group-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.member-group-card{padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff}.member-group-card>span{font-size:11px;letter-spacing:.12em;font-weight:900;color:var(--accent)}.member-group-card h2{margin:8px 0}.member-group-card>p{line-height:1.6;color:var(--muted)}.member-group-card blockquote{margin:18px 0;padding:16px 18px;border-left:4px solid var(--accent);background:#fafafa;line-height:1.6}.group-posts{display:grid;gap:10px;margin:18px 0}.group-posts>div{padding:12px 14px;border-radius:12px;background:#f6f6f7}.group-posts p{margin:5px 0 0;line-height:1.5}.member-group-card form textarea{min-height:90px}.member-group-card form .btn{margin-top:9px}

.invite-gift-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.invite-gift-grid>section{padding:26px;border:1px solid var(--line);border-radius:20px;background:#fff}.invite-gift-grid h2{font-size:28px}.invite-gift-grid p{line-height:1.6;color:var(--muted)}.referral-link-box{display:flex;gap:8px;margin:18px 0}.referral-link-box input{background:#f7f7f8}.referral-stats{display:flex;gap:12px}.referral-stats span{flex:1;padding:14px;border-radius:13px;background:#f6f6f7}.referral-stats strong{display:block;font-size:26px}.invite-gift-grid form{display:grid;gap:11px}.invite-gift-grid form label{display:grid;gap:6px;font-size:13px;font-weight:800}.gift-redeem-form{grid-template-columns:1fr auto!important;display:grid!important;align-items:center}.invite-gift-grid hr{border:0;border-top:1px solid var(--line);margin:26px 0}

.study-guide-section,.testimonials-section{margin:28px auto 0;padding:28px;border:1px solid var(--line);border-radius:20px;background:#fff}.study-guide-section>p{font-size:17px;line-height:1.7;color:#45454b}.study-guide-section>div:not(.section-head){margin-top:22px}.study-guide-section li{margin:10px 0;line-height:1.6}.study-guide-prayer{padding:20px;border-left:4px solid var(--accent);background:#f8f8f9;border-radius:0 14px 14px 0}.study-guide-prayer p{font-family:Georgia,serif;font-size:18px;line-height:1.75}.testimonial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.testimonial-grid blockquote{margin:0;padding:20px;border:1px solid var(--line);border-radius:15px;background:#fafafa}.testimonial-grid blockquote p{font-family:Georgia,serif;font-size:18px;line-height:1.65;margin:0 0 12px}.testimonial-grid cite{font-style:normal;font-size:13px;font-weight:800;color:var(--muted)}.testimonial-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-top:18px}.testimonial-form textarea{min-height:90px}

.free-account-plan-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:22px 24px;margin:0 0 18px;border:1px solid var(--line);border-radius:18px;background:#fff}.free-account-plan-card span{font-size:11px;letter-spacing:.12em;color:var(--accent);font-weight:900}.free-account-plan-card h3{font-size:23px;margin:6px 0}.free-account-plan-card p{margin:0;color:var(--muted);line-height:1.55}.free-account-plan-actions strong{display:block;padding:10px 14px;border-radius:999px;background:#eaf8ef;color:#17652d;font-size:13px}

.first-login-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.first-login-actions-grid button{border:1px solid var(--line);background:#fff;border-radius:14px;padding:16px;text-align:left;cursor:pointer}.first-login-actions-grid strong,.first-login-actions-grid span{display:block}.first-login-actions-grid strong{font-size:15px}.first-login-actions-grid span{font-size:12px;line-height:1.45;color:var(--muted);margin-top:5px}

/* Growth admin */
.growth-admin-page,.groups-admin-page,.testimonials-admin-page{max-width:1180px}.growth-admin-card{padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;margin:0 0 16px}.growth-admin-card>div:first-child h4{font-size:21px;margin:5px 0}.growth-admin-card>div:first-child p{color:var(--muted);line-height:1.55}.growth-admin-list{display:grid;gap:12px;margin-top:16px}.growth-admin-list>article,.group-admin-list>article{padding:18px;border:1px solid #e2e5e9;border-radius:15px;background:#fafbfc}.growth-admin-card-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:13px}.group-admin-list{display:grid;gap:14px;margin-top:18px}.admin-panel-head{display:flex;align-items:start;justify-content:space-between;gap:18px}.admin-eyebrow{font-size:10px;font-weight:900;letter-spacing:.13em;color:var(--accent)}

@media(max-width:960px){.growth-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-step{grid-template-columns:52px 100px minmax(0,1fr)}.daily-yada-card{grid-template-columns:1fr}.growth-teaser-grid{grid-template-columns:1fr 1fr}.teacher-story,.invite-gift-grid{grid-template-columns:1fr}.teacher-story>aside{position:static}.member-group-list{grid-template-columns:1fr}.live-events-teaser>article{grid-template-columns:1fr}.testimonial-grid{grid-template-columns:1fr}}
@media(max-width:650px){.growth-path-grid,.growth-teaser-grid{grid-template-columns:1fr}.growth-step{grid-template-columns:46px 82px minmax(0,1fr);gap:12px;padding:13px}.growth-step-index{width:40px;height:40px}.growth-step-copy h2{font-size:21px}.growth-step-copy .actions{grid-column:1/-1}.daily-yada-section,.free-teaching-section,.growth-teaser,.live-events-teaser{width:auto;margin-left:18px;margin-right:18px}.daily-yada-card,.free-teaching-section{padding:22px}.free-teaching-section{grid-template-columns:1fr}.free-teaching-cover{width:150px}.group-join-form{display:grid;align-items:stretch}.invite-gift-grid>section{padding:20px}.referral-link-box{display:grid}.gift-redeem-form{grid-template-columns:1fr!important}.testimonial-form{grid-template-columns:1fr}.free-account-plan-card{grid-template-columns:1fr}.first-login-actions-grid{grid-template-columns:1fr}.events-list>article{grid-template-columns:1fr}}
.teacher-profile-image{display:block;width:min(360px,100%);aspect-ratio:4/5;object-fit:cover;border-radius:18px;margin:0 0 24px;box-shadow:0 14px 32px rgba(15,23,42,.12)}
.teacher-admin-photo{display:flex;align-items:center;gap:16px;margin:14px 0 18px}.teacher-admin-photo img{width:96px;height:96px;object-fit:cover;border-radius:16px;border:1px solid var(--line)}.growth-upload-button{position:relative;cursor:pointer;text-align:center}.growth-upload-field{align-self:end}
.daily-yada-streak{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.daily-yada-streak b{font-size:28px;color:var(--accent)}.daily-yada-streak>span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#ddd;margin-right:8px}.daily-yada-streak .btn{padding:9px 13px}.daily-yada-streak .btn[disabled]{opacity:.7;cursor:default}

/* =========================================================
   WEYADA 4.1 — SQUARE 4x4 BOOK COVERS + AUTOSAVE STATUS
   ========================================================= */
.book-editor-save-state[data-state="saving"]{color:#8a63ff}
.book-editor-save-state[data-state="dirty"]{color:#b7791f}
.book-editor-save-state[data-state="error"]{color:#c53030}
.book-editor-save-state[data-state="saved"]{color:#2f855a}

/* WeYada book artwork is designed for 4x4 square covers. Keep the entire
   uploaded artwork visible instead of cropping it into portrait frames. */
.cover,
.audible3-square-cover,
.library-cover,
.admin-book-cover,
.admin-book-cover-display,
.book-cover-upload-preview,
.home-carousel-cover,
.home-standard-book-cover,
.book-access-cover,
.member-home-cover,
.member-mini-cover,
.first-login-books button>span,
.series-cover-button>span,
.global-search-cover,
.growth-step-cover,
.free-teaching-cover,
.live-featured-book-cover,
.ux-skeleton-cover{
  aspect-ratio:1 / 1 !important;
}

.cover img,
.audible3-square-cover img,
.library-cover img,
.admin-book-cover img,
.admin-book-cover-display .admin-uploaded-cover,
.book-cover-upload-preview img,
.home-carousel-cover img,
.home-standard-book-cover img,
.book-access-cover img,
.member-home-cover img,
.member-mini-cover img,
.mini-player-cover img,
.first-login-books img,
.series-cover-button img,
.global-search-cover img,
.growth-step-cover img,
.free-teaching-cover img,
.live-featured-book-cover img,
.psd-carousel-card img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
}

.admin-book-cover-display,
.book-cover-upload-preview,
.home-carousel-cover,
.home-standard-book-cover,
.library-cover,
.member-home-cover,
.series-cover-button>span,
.global-search-cover,
.live-featured-book-cover{
  background:#fff !important;
}

/* WeYada 4.2 — exact book selection for Page Builder book-grid sections */
.builder-book-selector{display:grid;gap:12px;padding-top:4px}
.builder-book-selector-head{display:grid;gap:4px}
.builder-selection-mode{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:#fafafa;font-size:12px}
.builder-selection-mode span{color:var(--muted)}
.builder-selected-books{display:grid;gap:7px}
.builder-selected-book{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px;border:1px solid var(--line);border-radius:10px;background:#fff}
.builder-selected-book-cover,.builder-book-choice-cover{display:block;aspect-ratio:1/1;border-radius:7px;overflow:hidden;background:#f4f4f4}
.builder-selected-book-cover img,.builder-selected-book-cover i,.builder-book-choice-cover img,.builder-book-choice-cover i{width:100%;height:100%;display:block;object-fit:contain}
.builder-selected-book-actions{display:flex;gap:4px}
.builder-selected-book-actions button{width:27px;height:27px;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:pointer;font-weight:900}
.builder-selected-book-actions button:disabled{opacity:.3;cursor:not-allowed}
.builder-book-checklist{display:grid;gap:6px;max-height:360px;overflow:auto;padding-right:2px}
.builder-book-choice{display:grid!important;grid-template-columns:auto 42px minmax(0,1fr);align-items:center;gap:8px!important;padding:7px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}
.builder-book-choice.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}
.builder-book-choice input{margin:0}
.builder-book-choice span:last-child{display:grid;gap:2px;min-width:0}
.builder-book-choice strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.builder-book-choice small{font-size:10px;color:var(--muted);font-weight:600}
.builder-book-selector-actions{display:flex;gap:7px;flex-wrap:wrap}
.builder-book-real{aspect-ratio:auto!important;background:transparent!important;color:inherit!important;padding:0!important;display:grid!important;gap:6px!important;align-items:start!important}
.builder-book-real>span{display:block;aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--line)}
.builder-book-real img,.builder-book-real i{width:100%;height:100%;display:block;object-fit:contain}
.builder-book-real strong{font-size:11px;line-height:1.2}
.builder-book-empty{grid-column:1/-1;padding:28px 14px;border:1px dashed var(--line);border-radius:10px;text-align:center;color:var(--muted)}

/* Automatic Study Guide */
.book-study-guide-editor{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fafafa}
.study-guide-auto-toggle{margin:0}
.study-guide-auto-toggle small{display:block;margin-top:4px;color:#667085;font-weight:500;line-height:1.45}
.study-guide-ai-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0 2px}
.study-guide-ai-status{font-size:13px;font-weight:700;color:#667085}
.study-guide-ai-status[data-state="working"]{color:#8a63ff}
.study-guide-ai-status[data-state="complete"]{color:#2f855a}
.study-guide-ai-status[data-state="error"]{color:#c53030}


/* WeYada 4.2.9 — square 4x4 cover fill */
.book-cover-upload-preview{position:relative;width:min(100%,360px);aspect-ratio:1/1!important;overflow:hidden;border-radius:16px;background:#f5f5f5}
.book-cover-upload-preview img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block}
.book-cover-upload-preview [data-cover-placeholder]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center}
.library-cover,.home-standard-book-cover,.admin-book-cover-display,.live-featured-book-cover{overflow:hidden}
.library-cover img:not([hidden]),.home-standard-book-cover img:not([hidden]),.admin-book-cover-display img:not([hidden]),.live-featured-book-cover img:not([hidden]){display:block;width:100%!important;height:100%!important;object-fit:cover!important}

/* ==========================================================
   WeYada 4.3.0 — Mobile visual simplification
   Make admin/mobile screens read as one continuous interface
   instead of nested cards inside bordered panels.
   ========================================================== */
@media (max-width: 700px){
  /* Global/mobile canvas */
  body{background:#fff}
  .page.admin-page{padding:14px 14px 72px;background:#fff}
  .admin-layout{display:block;gap:0}
  .admin-layout > .panel,
  #admin-panel{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;overflow:visible!important}

  /* Keep the public/member navigation compact and on one line. */
  .topbar{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;padding:9px 14px!important;min-height:58px!important;overflow:visible!important}
  .topbar .brand,.header-logo-wrap{flex:0 0 auto;min-width:0}
  .mainnav{order:initial!important;width:auto!important;flex:1 1 auto!important;min-width:0!important;flex-basis:auto!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch}
  .mainnav::-webkit-scrollbar{display:none}
  .mainnav button{flex:0 0 auto!important;padding:8px 9px!important;font-size:14px!important;border-radius:8px!important}
  .nav-auth-actions{flex:0 0 auto!important;margin-left:0!important;gap:6px!important}
  .nav-auth-actions button{padding:8px 11px!important;font-size:12px!important;white-space:nowrap}

  /* Admin section navigation: one clean scroll strip, no large container. */
  .admin-layout > .sidebar{display:flex!important;position:relative!important;top:auto!important;width:calc(100% + 28px)!important;margin:0 -14px 16px!important;padding:4px 14px 10px!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;background:#fff!important;border:0!important;border-bottom:1px solid #ececec!important;border-radius:0!important;box-shadow:none!important;scrollbar-width:none!important}
  .admin-layout > .sidebar::-webkit-scrollbar{display:none}
  .admin-layout > .sidebar button{flex:0 0 auto!important;width:auto!important;color:#5d6470!important;background:transparent!important;border:0!important;border-radius:999px!important;padding:8px 11px!important;font-size:13px!important;font-weight:700!important}
  .admin-layout > .sidebar button.active{color:#111!important;background:#f0f1f3!important}

  /* Dashboard overall */
  .analytics-dashboard{display:block!important;background:transparent!important}
  .analytics-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin:0 0 24px!important;border-top:1px solid #eceef1;border-bottom:1px solid #eceef1}
  .analytics-card{min-height:0!important;padding:18px 14px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
  .analytics-card:nth-child(odd){border-right:1px solid #eceef1!important}
  .analytics-card:nth-child(-n+2){border-bottom:1px solid #eceef1!important}
  .analytics-card:after,.analytics-icon{display:none!important}
  .analytics-card span{font-size:10px!important;letter-spacing:.07em!important;color:#6a707a!important}
  .analytics-card strong{font-size:29px!important;margin:5px 0 4px!important}
  .analytics-card small{font-size:12px!important;line-height:1.35!important;color:#747b86!important}

  /* Sections should feel like document sections, not cards. */
  .analytics-panel,
  .visitor-analytics-panel,
  .google-search-panel,
  .useful-analytics-panel,
  .analytics-grid-main > .analytics-panel{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
  .analytics-panel + .analytics-panel,
  .analytics-panel + .analytics-grid-main,
  .analytics-grid-main + .analytics-panel,
  .visitor-analytics-panel,
  .google-search-panel,
  .useful-analytics-panel{margin-top:30px!important;padding-top:26px!important;border-top:1px solid #e7e9ed!important}
  .analytics-panel-head{padding:0 0 15px!important;border:0!important;align-items:flex-start!important}
  .analytics-panel-head h3{font-size:22px!important;line-height:1.15!important;margin-bottom:5px!important}
  .analytics-panel-head p{font-size:14px!important;line-height:1.45!important;color:#6b7078!important}
  .analytics-panel-head .link-button{flex:0 0 auto;font-size:13px!important}

  /* Visitor stats: flat, compact, two columns with subtle separators. */
  .visitor-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin:0!important;border-top:1px solid #eceef1;border-bottom:1px solid #eceef1}
  .visitor-kpi-grid article{padding:17px 12px!important;border:0!important;border-radius:0!important;background:transparent!important}
  .visitor-kpi-grid article:nth-child(odd){border-right:1px solid #eceef1!important}
  .visitor-kpi-grid article:nth-child(-n+2){border-bottom:1px solid #eceef1!important}
  .visitor-kpi-grid span{font-size:10px!important}
  .visitor-kpi-grid strong{font-size:28px!important;margin:5px 0!important}
  .visitor-kpi-grid small{font-size:12px!important}

  /* Lists and analytics groups: no individual pills/cards. */
  .visitor-analytics-grid,.analytics-grid-main,.analytics-grid-bottom,.search-intelligence{display:block!important;margin:0!important}
  .visitor-analytics-grid > div{padding:23px 0 4px!important;border-bottom:1px solid #eceef1}
  .visitor-analytics-grid > div:last-child{border-bottom:0}
  .visitor-analytics-grid h4{font-size:18px!important;margin:0 0 10px!important}
  .analytics-search-list{gap:0!important}
  .analytics-search-list span{padding:11px 0!important;border-radius:0!important;background:transparent!important;border-bottom:1px solid #f0f1f3!important}
  .analytics-search-list span:last-child{border-bottom:0!important}
  .analytics-empty{padding:12px 0!important;background:transparent!important;border:0!important;border-radius:0!important}

  .useful-analytics-grid{grid-template-columns:1fr!important;gap:0!important}
  .useful-analytics-grid article{padding:14px 0!important;border:0!important;border-radius:0!important;background:transparent!important;border-bottom:1px solid #eceef1!important}

  /* Tables read as clean data instead of another card. */
  .analytics-panel .admin-table{border:0!important;background:transparent!important}
  .analytics-panel .admin-table th{background:transparent!important;color:#727781!important;font-size:11px!important;text-transform:uppercase!important}
  .analytics-panel .admin-table th,.analytics-panel .admin-table td{padding:11px 6px!important;border-bottom:1px solid #eceef1!important}

  /* Reduce oversized gutters and ornamental nesting elsewhere in admin. */
  .panel-grid{gap:18px!important}
  .admin-toolbar{margin:10px 0!important}
  .seo-connect-callout{border:0!important;border-radius:0!important;box-shadow:none!important;background:#f7f8fa!important;padding:16px!important}
}

@media (max-width: 390px){
  .page.admin-page{padding-left:10px;padding-right:10px}
  .admin-layout > .sidebar{width:calc(100% + 20px)!important;margin-left:-10px!important;margin-right:-10px!important;padding-left:10px!important;padding-right:10px!important}
  .analytics-card{padding-left:10px!important;padding-right:10px!important}
  .analytics-card strong{font-size:26px!important}
  .visitor-kpi-grid article{padding-left:9px!important;padding-right:9px!important}
}

/* ============================================================
   WeYada 4.3.1 — mobile-first navigation drawer
   ============================================================ */
.mobile-menu-toggle,.mobile-nav-drawer,.mobile-nav-backdrop{display:none}
@media(max-width:900px){
  .topbar{min-height:64px;height:64px;flex-wrap:nowrap!important;padding:0 16px;gap:10px;overflow:visible}
  .topbar>.brand{height:64px;min-width:0;max-width:calc(100vw - 78px)}
  .topbar .mainnav,.topbar .nav-auth-actions{display:none!important}
  .mobile-menu-toggle{display:flex;margin-left:auto;width:46px;height:46px;flex:0 0 46px;border:0;background:transparent;border-radius:12px;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;padding:9px;position:relative;z-index:2102}
  .mobile-menu-toggle span{display:block;width:25px;height:2px;border-radius:999px;background:#111;transition:transform .2s ease,opacity .2s ease}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mobile-nav-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.36);z-index:2098;opacity:0;transition:opacity .2s ease}
  .mobile-nav-backdrop[hidden]{display:none!important}
  .mobile-nav-backdrop.open{opacity:1}
  .mobile-nav-drawer{display:flex;position:fixed;top:0;right:0;bottom:0;width:min(88vw,390px);background:#fff;z-index:2101;flex-direction:column;box-shadow:-18px 0 48px rgba(0,0,0,.18);transform:translateX(102%);transition:transform .24s ease;overflow:hidden}
  .mobile-nav-drawer[hidden]{display:none!important}
  .mobile-nav-drawer.open{transform:translateX(0)}
  .mobile-nav-drawer-head{height:64px;flex:0 0 64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #ececef}
  .mobile-nav-drawer-head strong{font-size:18px}
  .mobile-nav-drawer-head button{width:42px;height:42px;border:0;background:transparent;border-radius:10px;font-size:32px;line-height:1;cursor:pointer;color:#111}
  .mobile-nav-drawer-body{padding:12px 14px 30px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  .mobile-drawer-section-label{padding:12px 10px 7px;color:#8b8b91;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.11em}
  .mobile-drawer-link,.mobile-admin-toggle,.mobile-admin-link{width:100%;min-height:50px;border:0;background:transparent;color:#18181a;text-align:left;border-radius:11px;padding:0 12px;font-size:16px;font-weight:760;cursor:pointer;display:flex;align-items:center;text-decoration:none}
  .mobile-drawer-link:active,.mobile-admin-link:active,.mobile-admin-toggle:active{background:#f1f1f3}
  .mobile-drawer-primary{background:#111!important;color:#fff!important;justify-content:center;margin-top:6px}
  .mobile-drawer-signout{color:#a82a2a;margin-top:4px}
  .mobile-drawer-divider{height:1px;background:#e9e9ec;margin:10px 8px}
  .mobile-admin-accordion{margin:2px 0}
  .mobile-admin-toggle{justify-content:space-between;font-weight:900}
  .mobile-admin-chevron{font-size:20px;transition:transform .2s ease}
  .mobile-admin-toggle[aria-expanded="true"] .mobile-admin-chevron{transform:rotate(180deg)}
  .mobile-admin-submenu{margin:2px 0 8px;padding:4px 0 4px 12px;border-left:2px solid #ededf0}
  .mobile-admin-submenu[hidden]{display:none!important}
  .mobile-admin-link{min-height:44px;font-size:14px;font-weight:700;color:#4b4b50}
  .mobile-admin-link.active{background:#111;color:#fff}
  body.mobile-menu-open{overflow:hidden;touch-action:none}
  /* Admin controls live in the drawer on phones/tablets; no duplicate tab strip. */
  .admin-page .sidebar{display:none!important}
  .admin-layout{display:block!important}
  .admin-page>.admin-layout>.panel{width:100%;min-width:0}
}
@media(max-width:620px){
  .topbar{padding-left:14px;padding-right:10px}
  .site-logo-header{max-width:calc(100vw - 82px)!important}
  .mobile-nav-drawer{width:min(92vw,370px)}
  .admin-page{padding-left:14px!important;padding-right:14px!important}
}


/* ============================================================
   WeYada 4.3.2 — branding reliability, sample, env status
   ============================================================ */
.topbar>.brand{display:flex;align-items:center;justify-content:flex-start;overflow:hidden;line-height:1;font-weight:900;color:#111;text-decoration:none}
.topbar>.brand.logo-load-failed::after{content:'WeYada.com';font-size:22px;font-weight:900;color:#111}
.footer-brand{display:flex;align-items:center;min-height:72px;overflow:hidden}
.footer-brand.logo-load-failed::after{content:'WeYada.com';font-size:26px;font-weight:900;color:#fff}
.site-logo-header{max-height:58px!important}
.site-logo-footer{max-height:82px!important}
@media(max-width:900px){.topbar>.brand{height:64px!important}.site-logo-header{height:auto!important;max-height:48px!important;width:min(var(--mobile-logo-width,160px),calc(100vw - 86px))!important}.site-logo-footer{height:auto!important;max-height:72px!important;width:min(var(--footer-logo-width,210px),82vw)!important}}
.sample-upload-status{min-width:180px}.manual-sample-fallback{opacity:.78}.book-upload-actions [data-generate-four-minute-sample]{white-space:nowrap}
.env-config-card{margin:20px 0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.env-config-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:#f7f8fa;border-bottom:1px solid var(--line)}.env-config-head span{text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.1em}.env-config-row{display:grid;grid-template-columns:minmax(170px,1fr) auto;gap:6px 14px;padding:13px 18px;border-bottom:1px solid #eef0f2}.env-config-row small{grid-column:1/-1;color:var(--muted);overflow-wrap:anywhere}.env-ok{color:#16794b}.env-missing{color:#a6372d}.env-webhook{padding:15px 18px;display:grid;gap:7px}.env-webhook code{font-size:12px;overflow-wrap:anywhere;background:#f7f8fa;padding:9px;border-radius:8px}
@media(max-width:650px){.env-config-card{border:0;border-radius:0}.env-config-row{padding-left:0;padding-right:0}.env-config-head{padding-left:0;padding-right:0;background:transparent}.env-webhook{padding-left:0;padding-right:0}.book-upload-actions [data-generate-four-minute-sample]{width:100%}}

/* ==========================================================
   WeYada 4.3.3 — authoritative square book-cover rendering
   All uploaded book covers are 4x4 / 1:1 and must fill their frame.
   Keep this block last so older compatibility rules cannot collapse
   the Book Editor preview back to intrinsic image dimensions.
   ========================================================== */
.book-editor-page .book-cover-upload-preview,
.book-cover-upload-preview,
.admin-book-cover-display,
.admin-book-cover,
.library-cover,
.cover,
.audible3-square-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  overflow: hidden;
}

.book-editor-page .book-cover-upload-preview {
  width: min(100%, 300px);
  height: auto !important;
  padding: 0 !important;
  border-radius: 16px;
  background: #f7f7f7;
}

.book-editor-page .book-cover-upload-preview img,
.book-cover-upload-preview img,
.admin-book-cover-display .admin-uploaded-cover,
.admin-uploaded-cover,
.library-cover > img,
.cover > img,
.audible3-square-cover > img,
.detail-cover > img {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: inherit;
}

.book-editor-page .book-cover-upload-preview [data-cover-placeholder],
.book-cover-upload-preview [data-cover-placeholder] {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

@media (max-width: 700px) {
  .book-editor-page .book-cover-upload-preview {
    width: min(76vw, 280px);
  }
}


/* WeYada 4.3.5 — keep 4x4 artwork fully visible and unobscured in Home/Library. */
.cover-only-book-card .book-card-quick{display:none!important}
.library-cover,.home-standard-book-cover,.home-carousel-cover{aspect-ratio:1/1!important;overflow:hidden!important;padding:0!important}
.library-cover>img:not([hidden]),.home-standard-book-cover>img:not([hidden]),.home-carousel-cover>img:not([hidden]){display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.topbar>.brand.logo-load-failed,.footer-brand.logo-load-failed{background:none!important;border:0!important}


/* WeYada 4.4.0 — universal preview actions and consistent 30-second player controls */
.cover-only-book-card{position:relative}
.preview-card-button{
  position:absolute;
  z-index:12;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  width:min(118px,72%);
  min-height:34px;
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(12,12,12,.9);
  box-shadow:0 5px 18px rgba(0,0,0,.3);
  cursor:pointer;
}
.preview-card-button img{display:block;width:100%;height:auto;max-height:24px;object-fit:contain}
.preview-card-button:hover,.preview-card-button:focus-visible{background:#000;outline:2px solid var(--accent);outline-offset:2px}
.preview-card-button.is-playing{box-shadow:0 0 0 2px var(--accent),0 5px 18px rgba(0,0,0,.35)}
.home-standard-book-card{position:relative}
.player-preview-button{min-width:92px}
.player-preview-button.is-playing{outline:2px solid var(--accent);outline-offset:2px}

.mini-player-actions button[data-mini-skip]{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:36px;
  min-width:36px;
  height:36px;
  padding:0;
}
.mini-player-actions .mini-skip-icon,
.mini-player-actions .mini-skip-icon.rewind-30-icon,
.mini-player-actions .mini-skip-icon.forward-30-icon{
  display:block !important;
  width:28px !important;
  min-width:28px !important;
  height:28px !important;
  min-height:28px !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
}
.mini-player-actions .mini-skip-icon.rewind-30-icon{background-image:url("rewind-30-icon-v2.png") !important}
.mini-player-actions .mini-skip-icon.forward-30-icon{background-image:url("forward-30-icon-v2.png") !important}

@media(max-width:620px){
  .preview-card-button{width:min(102px,72%);min-height:32px;bottom:7px;padding:4px 8px}
  .mini-player-actions{gap:2px}
  .mini-player-actions button[data-mini-skip]{display:inline-flex !important;width:30px;min-width:30px;height:32px}
  .mini-player-actions .mini-skip-icon,
  .mini-player-actions .mini-skip-icon.rewind-30-icon,
  .mini-player-actions .mini-skip-icon.forward-30-icon{width:24px !important;min-width:24px !important;height:24px !important;min-height:24px !important}
}
\n\n/* WeYada 4.4.1 — one chapter-navigation language on desktop and mobile players */
.audible3-main-controls .track-control-icon{
  font-size:22px !important;
  line-height:1 !important;
}
.mini-player-actions.mini-player-five-controls{
  display:grid !important;
  grid-template-columns:repeat(5,36px) !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
}
.mini-player-five-controls button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:36px !important;
  min-width:36px !important;
  height:36px !important;
  min-height:36px !important;
  padding:0 !important;
}
.mini-player-five-controls .mini-track-control-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  min-height:28px !important;
  font-size:18px !important;
  color:#fff !important;
  line-height:1 !important;
}
.mini-player-five-controls .mini-player-main{
  background:var(--accent) !important;
  overflow:hidden !important;
}
.mini-player-five-controls .mini-player-state-icon{
  display:block !important;
  width:18px !important;
  height:18px !important;
  object-fit:contain !important;
}
@media(max-width:620px){
  .audible3-main-controls .track-control-icon{
    font-size:22px !important;
  }
  .audible3-mini-player{
    grid-template-columns:40px minmax(0,1fr) auto !important;
    gap:6px !important;
    padding:7px !important;
  }
  .mini-player-cover{
    width:40px !important;
    height:40px !important;
  }
  .mini-player-actions.mini-player-five-controls{
    grid-template-columns:repeat(5,30px) !important;
    gap:1px !important;
  }
  .mini-player-five-controls button,
  .mini-player-actions.mini-player-five-controls button[data-mini-skip],
  .mini-player-actions.mini-player-five-controls button[data-mini-chapter]{
    display:inline-flex !important;
    width:30px !important;
    min-width:30px !important;
    height:32px !important;
    min-height:32px !important;
  }
  .mini-player-five-controls .mini-track-control-icon{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    min-height:24px !important;
    font-size:16px !important;
  }
  .mini-player-five-controls .mini-player-state-icon{
    width:16px !important;
    height:16px !important;
  }
}

/* ==========================================================
   WeYada 4.4.3 — device-width containment and true mobile billing
   Keep every public/member page inside the physical viewport.
   ========================================================== */
html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

#app,
main,
.page{
  width:100%;
  max-width:100%;
  min-width:0;
}

.page{
  overflow-x:clip;
}

.page *,
.dialog *,
.footer *{
  min-width:0;
}

img,
picture,
video,
audio,
canvas,
svg,
iframe{
  max-width:100%;
}

input,
textarea,
select{
  min-width:0;
  max-width:100%;
}

.table-wrap,
.billing-history-table{
  width:100%;
  max-width:100%;
}

@media(max-width:700px){
  .page{
    width:100%;
    max-width:100%;
    padding-left:max(14px,env(safe-area-inset-left));
    padding-right:max(14px,env(safe-area-inset-right));
  }

  .page > *,
  .page section,
  .page article,
  .page form,
  .page header,
  .page aside,
  .page nav,
  .page .panel,
  .page .card{
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .page h1,
  .page h2,
  .page h3,
  .page p,
  .page span,
  .page strong,
  .page small,
  .page label,
  .page a,
  .page button,
  .dialog,
  .dialog *{
    overflow-wrap:anywhere;
    word-break:normal;
  }

  .page .section-head{
    width:100%;
    max-width:100%;
    align-items:stretch;
  }

  .page .actions{
    width:100%;
    max-width:100%;
  }

  .page .btn{
    max-width:100%;
    white-space:normal;
  }

  .table-wrap,
  .admin-table-wrap{
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  /* Billing: no desktop-width controls or rows survive on a phone. */
  .billing-page,
  .billing-dashboard,
  .billing-summary-grid,
  .billing-content-grid,
  .billing-summary-card,
  .billing-panel,
  .billing-card-list,
  .billing-history-table,
  .subscription-controls{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .billing-summary-grid,
  .billing-content-grid{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .billing-summary-card,
  .billing-panel{
    padding:18px 14px !important;
    overflow:hidden;
  }

  .billing-plan-row,
  .billing-panel-head,
  .subscription-controls{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    max-width:100%;
  }

  .billing-plan-row > *,
  .billing-panel-head > *,
  .subscription-controls > *{
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .billing-status{
    align-self:flex-start;
    width:auto !important;
    max-width:100%;
  }

  .billing-balance-amount{
    max-width:100%;
    font-size:clamp(34px,12vw,48px);
    overflow-wrap:anywhere;
  }

  .billing-summary-details{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .billing-summary-details strong,
  .saved-card-info,
  .saved-card-info strong,
  .saved-card-info small,
  .billing-address{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .billing-page .actions{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }

  .billing-page .btn,
  .billing-page .actions .btn,
  .billing-panel-head .btn,
  .subscription-controls .btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    white-space:normal !important;
    text-align:center;
  }

  .saved-card{
    width:100%;
    max-width:100%;
    min-width:0;
    grid-template-columns:44px minmax(0,1fr) !important;
    gap:10px 12px;
    padding:14px 12px;
  }

  .saved-card-brand{
    width:44px;
    max-width:44px;
  }

  .saved-card .default-card-badge,
  .saved-card .link-button,
  .saved-card .billing-delete-card{
    grid-column:2;
    justify-self:start;
    width:auto;
    max-width:100%;
  }

  .billing-history-table{
    overflow:visible !important;
  }

  .billing-history-header{
    display:none !important;
  }

  .billing-history-row:not(.billing-history-header){
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    gap:12px;
    padding:16px 0;
  }

  .billing-history-row:not(.billing-history-header) > *{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow-wrap:anywhere;
  }

  .billing-history-row:not(.billing-history-header) > [data-label]::before{
    content:attr(data-label);
    display:block;
    margin-bottom:4px;
    color:#777e89;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
  }

  .billing-history-row:not(.billing-history-header) > span:nth-child(2),
  .billing-history-row:not(.billing-history-header) > span:nth-child(3){
    grid-column:1 / -1;
  }

  .billing-history-row:not(.billing-history-header) > .link-button{
    justify-self:start;
    text-align:left;
  }

  .billing-modal-form,
  .form-grid,
  .panel-grid{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .dialog-backdrop{
    padding-left:max(12px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right));
  }

  .dialog{
    width:100%;
    max-width:100%;
  }
}

@media(max-width:390px){
  .page{
    padding-left:max(12px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right));
  }
  .billing-summary-card,
  .billing-panel{
    padding:16px 12px !important;
    border-radius:16px;
  }
}

/* WeYada 4.4.5 — integrated public book store + fulfillment */
.book-store-editor{margin:22px 0;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--card)}
.book-store-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.book-store-editor-head h4{margin:4px 0 6px;font-size:22px}
.book-store-editor-head p{margin:0;color:var(--muted);line-height:1.55}
.book-store-format-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.book-store-format-card{min-width:0;border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--background);opacity:.78;transition:.18s ease}
.book-store-format-card.is-enabled{opacity:1;border-color:color-mix(in srgb,var(--accent) 50%,var(--line));box-shadow:0 10px 28px rgba(0,0,0,.05)}
.book-store-format-fields{display:grid;gap:14px;margin-top:14px}
.book-store-format-card:not(.is-enabled) .book-store-format-fields{opacity:.55}
.money-input-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--card)}
.money-input-wrap>span{padding:0 0 0 13px;font-weight:800;color:var(--muted)}
.money-input-wrap input{border:0!important;min-width:0;width:100%;box-shadow:none!important;background:transparent!important}
.store-audio-zip-field input{max-width:100%}
.book-store-help,.store-shipping-note{font-size:13px;line-height:1.55;color:var(--muted);margin:0}
.store-shipping-note{display:grid;gap:3px;padding:12px;border-radius:12px;background:color-mix(in srgb,var(--accent) 7%,var(--card));border:1px solid var(--line)}
.store-shipping-note strong{color:var(--text)}
.store-page{width:min(1180px,100%);max-width:100%;overflow-x:hidden}
.store-hero{padding:42px 0 28px;max-width:840px}
.store-hero h1{font-size:clamp(38px,7vw,68px);line-height:1.02;margin:8px 0 14px}
.store-hero p{font-size:18px;line-height:1.65;color:var(--muted);max-width:760px}
.store-trust-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.store-trust-row span{padding:8px 11px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:800;background:var(--card)}
.store-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:18px 0 44px}
.store-book-card{min-width:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--card);box-shadow:0 14px 42px rgba(0,0,0,.06)}
.store-book-cover{display:block;width:100%;aspect-ratio:1/1;border:0;padding:0;background:var(--surface);overflow:hidden;cursor:pointer}
.store-book-cover img{width:100%;height:100%;object-fit:cover;display:block}
.store-book-copy{display:grid;gap:8px;padding:18px;min-width:0}
.store-book-copy h2{font-size:22px;line-height:1.15;margin:2px 0 0;overflow-wrap:anywhere}
.store-book-copy>p{margin:0;color:var(--muted);line-height:1.52}
.store-book-author{font-size:13px;font-weight:800;color:var(--text)!important}
.store-format-options{display:grid;gap:8px;margin-top:8px}
.store-format-options>button{width:100%;max-width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--background);color:var(--text);cursor:pointer}
.store-format-options>button:hover:not(:disabled){border-color:var(--accent);transform:translateY(-1px)}
.store-format-options>button:disabled{opacity:.55;cursor:not-allowed}
.store-format-options span{min-width:0;display:grid;gap:2px}
.store-format-options small{color:var(--muted);white-space:normal;overflow-wrap:anywhere}
.store-format-options b{white-space:nowrap}
.store-preview-link{justify-self:start;margin-top:4px}
.store-service-note{margin:12px 0 42px;padding:24px;border-radius:20px;background:var(--card);border:1px solid var(--line)}
.store-service-note h2{margin:0 0 16px}
.store-service-note>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.store-service-note article{min-width:0;padding:16px;border-radius:14px;background:var(--background);border:1px solid var(--line)}
.store-service-note article p{margin:6px 0 0;color:var(--muted);line-height:1.55}
.store-inline-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;max-width:100%}
.store-inline-actions .btn{max-width:100%;white-space:normal}
.store-inline-cover-actions{display:grid;margin-top:12px}
.store-inline-cover-actions .btn{width:100%}
.store-success-page{min-height:62vh;display:grid;place-items:center;padding-block:40px}
.store-success-card{width:min(620px,100%);max-width:100%;padding:clamp(24px,5vw,44px);border:1px solid var(--line);border-radius:24px;background:var(--card);text-align:center;box-shadow:0 22px 60px rgba(0,0,0,.08)}
.store-success-mark{width:58px;height:58px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-text,#fff);font-size:28px;font-weight:900}
.store-success-card h1{font-size:clamp(30px,6vw,46px);margin:8px 0}
.store-success-card h2{margin:0 0 10px}
.store-success-card p{line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.store-download-button{display:inline-flex;margin:10px auto;max-width:100%;white-space:normal}
.store-delivery-note{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--background)}
.store-orders-admin{max-width:100%;overflow-x:hidden}
.store-order-admin-list{display:grid;gap:14px;margin-top:18px}
.store-order-admin-card{min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--card);padding:16px}
.store-order-admin-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.store-order-admin-head span{font-size:11px;font-weight:900;letter-spacing:.1em;color:var(--muted)}
.store-order-admin-head h4{margin:4px 0;font-size:20px}
.store-order-admin-head small{color:var(--muted)}
.store-order-admin-head>strong{white-space:nowrap;font-size:20px}
.store-order-admin-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:14px 0}
.store-order-admin-details p{min-width:0;display:grid;gap:3px;margin:0;padding:10px 0;border-bottom:1px solid var(--line)}
.store-order-admin-details p.full{grid-column:1/-1}
.store-order-admin-details span{overflow-wrap:anywhere;color:var(--muted)}
.store-order-admin-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.store-order-admin-controls .full{grid-column:1/-1}

@media (max-width:900px){
 .book-store-editor-head{display:grid}.book-store-editor-head .btn{width:100%}
 .book-store-format-grid,.store-book-grid,.store-service-note>div{grid-template-columns:1fr}
 .store-book-grid{gap:16px}
 .store-hero{padding-top:24px}
 .store-order-admin-head{display:grid}.store-order-admin-head>strong{justify-self:start}
 .store-order-admin-details,.store-order-admin-controls{grid-template-columns:1fr}
 .store-order-admin-details p.full,.store-order-admin-controls .full{grid-column:auto}
}
@media (max-width:600px){
 .book-store-editor{padding:14px;margin-inline:0}
 .book-store-format-card{padding:13px}
 .store-hero p{font-size:16px}
 .store-book-copy{padding:15px}
 .store-format-options>button{align-items:flex-start;flex-direction:column}
 .store-format-options b{white-space:normal}
 .store-service-note{padding:16px}
 .store-success-card{border-radius:18px}
}

/* ==========================================================
   WeYada 4.4.6 — consistent transport icons, light sticky player,
   and iPhone-safe playback presentation.
   ========================================================== */
.track-control-icon{
  color:#111 !important;
  font-size:0 !important;
}
.track-control-svg{
  display:block;
  width:25px;
  height:22px;
  color:currentColor;
  overflow:visible;
}
.audible3-main-controls .track-control-icon .track-control-svg{
  width:25px !important;
  height:22px !important;
}

/* Sticky player uses the same light visual language as the full player. */
.audible3-mini-player{
  background:rgba(255,255,255,.98) !important;
  border:1px solid #dfe3e8 !important;
  color:#111 !important;
  box-shadow:0 14px 42px rgba(15,23,42,.18) !important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.audible3-mini-player .mini-player-cover{
  background:#eef1f4 !important;
  box-shadow:0 0 0 1px rgba(17,24,39,.08) inset;
}
.audible3-mini-player .mini-player-copy strong{
  color:#111 !important;
}
.audible3-mini-player .mini-player-copy small{
  color:#69707c !important;
}
.audible3-mini-player .mini-player-track{
  background:#e1e5ea !important;
}
.audible3-mini-player .mini-player-actions button{
  color:#111 !important;
}
.audible3-mini-player .mini-player-actions button:hover,
.audible3-mini-player .mini-player-actions button:focus-visible{
  background:#eef1f4 !important;
}
.audible3-mini-player .mini-player-five-controls .mini-track-control-icon{
  color:#111 !important;
  font-size:0 !important;
}
.audible3-mini-player .mini-player-five-controls .mini-track-control-icon .track-control-svg{
  width:21px !important;
  height:19px !important;
}
.audible3-mini-player .mini-player-five-controls .mini-player-main{
  background:var(--accent) !important;
  box-shadow:none !important;
}

@media(max-width:700px){
  /* Never let iOS substitute colored emoji for Previous / Next. */
  .audible3-main-controls .track-control-icon{
    font-size:0 !important;
  }
  .audible3-main-controls .track-control-icon .track-control-svg{
    width:22px !important;
    height:20px !important;
  }
  .mini-player-five-controls .mini-track-control-icon{
    font-size:0 !important;
  }
}

/* WeYada 4.4.8 — authoritative cover loading and no hidden-image bleed-through */
img[data-cover-book-id][hidden],
.library-cover > img[data-cover-book-id][hidden],
.home-standard-book-cover > img[data-cover-book-id][hidden],
.home-carousel-cover > img[data-cover-book-id][hidden],
.store-book-cover > img[data-cover-book-id][hidden],
.mini-player-cover > img[data-cover-book-id][hidden]{
  display:none !important;
}
[data-cover-placeholder][hidden]{
  display:none !important;
}

/* WeYada 4.4.8 — integration diagnostics */
.integration-secret-form{
  margin-top:18px;
  padding:20px;
  border:1px solid var(--line,#dedede);
  border-radius:16px;
  background:var(--surface,#fff);
}
.media-health-card{margin-top:18px}
.media-health-problems{padding:14px 0 2px;border-top:1px solid rgba(0,0,0,.08);margin-top:10px}
.media-health-problems>strong{display:block;margin-bottom:8px}
.media-health-problems p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.06)}
.media-health-problems p span{color:var(--muted,#666);text-align:right}
@media(max-width:700px){
  .integration-secret-form{padding:14px;grid-template-columns:minmax(0,1fr)!important}
  .media-health-problems p{display:block}
  .media-health-problems p span{display:block;text-align:left;margin-top:3px}
}

/* WeYada 4.4.8 — media/checkout root repair release */


/* WeYada 4.4.9 — never disguise a missing cover as a black book. */
.cover-only-book-card .cover-empty-placeholder,
.library-cover [data-cover-placeholder],
.home-standard-book-cover [data-cover-placeholder],
.home-carousel-cover [data-cover-placeholder],
.store-book-cover [data-cover-placeholder],
.live-featured-book-cover [data-cover-placeholder],
.member-home-cover [data-cover-placeholder],
.book-access-cover [data-cover-placeholder]{
  position:absolute !important;
  inset:0 !important;
  display:grid;
  place-items:center;
  padding:18px !important;
  background:linear-gradient(145deg,#f7f7f8,#eceef1) !important;
  color:#565b64 !important;
  font-size:clamp(11px,1.2vw,15px);
  font-weight:800;
  text-align:center;
  line-height:1.3;
  overflow-wrap:anywhere;
}
[data-cover-placeholder][hidden]{display:none !important;}


/* WeYada 4.5.0 — browser identity / favicon branding */
.branding-favicon-row{align-items:center}
.branding-favicon-preview{margin-top:8px;width:74px;height:74px;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.branding-favicon-preview img{width:100%;height:100%;object-fit:contain;padding:8px}
.branding-favicon-preview span{font-weight:900;font-size:22px;color:#111}

/* WeYada 4.5.1 — quiet autosave + chapter action containment */
.book-editor-save-state[hidden]{display:none!important}
@media(max-width:760px){.chapter-file-status{grid-column:1/2}.chapter-row-actions{grid-column:2;justify-self:end;justify-content:flex-end;min-width:0}}


/* WeYada 4.5.2 — deterministic cover rendering on Library and Listen pages */
img[data-cover-book-id][hidden]{display:none!important}
[data-cover-placeholder][hidden]{display:none!important}
.audible3-square-cover [data-cover-placeholder],
.library-cover [data-cover-placeholder],
.book-access-cover [data-cover-placeholder],
.mini-player-cover [data-cover-placeholder]{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  padding:18px!important;
  background:linear-gradient(145deg,#f7f7f8,#eceef1)!important;
  color:#565b64!important;
  font-size:clamp(11px,1.2vw,15px)!important;
  font-weight:800!important;
  text-align:center!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
.audible3-square-cover [data-cover-placeholder][hidden],
.library-cover [data-cover-placeholder][hidden],
.book-access-cover [data-cover-placeholder][hidden],
.mini-player-cover [data-cover-placeholder][hidden]{display:none!important}
.audible3-square-cover>img[data-cover-book-id]:not([hidden]),
.library-cover>img[data-cover-book-id]:not([hidden]),
.book-access-cover>img[data-cover-book-id]:not([hidden]),
.mini-player-cover>img[data-cover-book-id]:not([hidden]){
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  display:block!important;object-fit:cover!important;object-position:center!important;z-index:2!important;
}

/* ==========================================================
   WeYada 4.5.4 — editable route templates + mobile player/footer consistency
   ========================================================== */
.route-functional-module{width:100%;max-width:100%;min-width:0}
.route-functional-module > .page{width:100%!important;max-width:none!important;min-width:0!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
.live-editor-section > .route-functional-module{position:relative;z-index:1}

/* Sticky player uses the same transport artwork as the full player. */
.audible3-mini-player .mini-player-icon-image{display:block!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}
.audible3-mini-player .mini-primary-play-disc{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:50%!important;overflow:hidden!important}
.audible3-mini-player .mini-primary-play-disc .primary-player-state-icon{display:block!important;width:18px!important;height:18px!important;object-fit:contain!important}

/* Keep the fixed player above the safe area and let the entire footer scroll beyond it. */
body.has-persistent-player .footer{padding-bottom:calc(170px + env(safe-area-inset-bottom,0px))!important}
body.has-persistent-player .audible3-mini-player{bottom:calc(14px + env(safe-area-inset-bottom,0px))!important}

@media(max-width:700px){
  .library-cover,.home-standard-book-cover,.home-carousel-cover,.store-book-cover,.member-home-cover,.mini-player-cover,.audible3-cover-frame{aspect-ratio:1/1!important}
  .library-cover img,.home-standard-book-cover img,.home-carousel-cover img,.store-book-cover img,.member-home-cover img,.mini-player-cover img,.audible3-cover-frame img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
  .audible3-mini-player .mini-player-actions.mini-player-five-controls{grid-template-columns:repeat(5,32px)!important;gap:2px!important}
  .audible3-mini-player .mini-player-five-controls button,.audible3-mini-player .mini-player-actions.mini-player-five-controls button[data-mini-skip],.audible3-mini-player .mini-player-actions.mini-player-five-controls button[data-mini-chapter]{width:32px!important;min-width:32px!important;height:34px!important;min-height:34px!important}
  .audible3-mini-player .mini-track-control-icon .track-control-svg{width:23px!important;height:20px!important}
  .audible3-mini-player .mini-player-icon-image{width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important}
  .audible3-mini-player .mini-primary-play-disc{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
  body.has-persistent-player .footer{padding-bottom:calc(190px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:700px){
  .audible3-square-cover{aspect-ratio:1/1!important}
  .audible3-square-cover img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
}

/* WeYada 4.5.5 — Mentorship Live Studio */
.mentorship-live-page{max-width:1180px;margin:0 auto}.live-page-actions{margin-top:18px}.mentorship-live-card{display:grid;grid-template-columns:130px 1fr;gap:24px;padding:24px;border:1px solid #ddd;border-radius:18px;background:#fff;margin:18px 0}.mentorship-live-card.live{border-color:var(--accent);box-shadow:0 12px 30px rgba(0,0,0,.08)}.live-event-date{display:flex;flex-direction:column;gap:4px}.live-event-date>span,.live-rsvp-required{font-size:11px;font-weight:800;letter-spacing:.08em}.live-event-date>strong{font-size:28px}.live-event-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.live-event-heading h2{margin:0}.live-event-rsvp{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.live-enter-button{margin-top:14px}.weyada-live-watch-room{width:min(920px,90vw)}.live-watch-frame{aspect-ratio:16/9;background:#000;border-radius:14px;overflow:hidden}.live-watch-frame iframe,.live-watch-frame video{width:100%;height:100%;border:0;display:block}.live-rsvp-admin-list{max-height:60vh;overflow:auto}.live-access-gate{max-width:760px;margin:0 auto;text-align:center;padding:70px 20px}@media(max-width:700px){.mentorship-live-card{grid-template-columns:1fr;padding:18px}.live-event-date{display:grid;grid-template-columns:auto 1fr auto;align-items:center}.live-event-date>strong{font-size:20px}.live-event-rsvp .btn{width:100%}.weyada-live-watch-room{width:88vw}}
/* WeYada 4.5.6 — custom branded Video Studio */
.weyada-video-room{background:#111;color:#fff;border-radius:20px;overflow:hidden;min-height:420px}.weyada-video-room-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:#0c0c0c;border-bottom:1px solid rgba(255,255,255,.1)}.weyada-video-room-head h2{margin:4px 0 0;color:#fff}.live-room-brand{font-size:.72rem;letter-spacing:.18em;font-weight:800;opacity:.75}.live-room-status{background:#e33;color:#fff;border-radius:999px;padding:6px 10px;font-size:.75rem;font-weight:800}.weyada-video-stage{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2px;background:#000;min-height:320px;width:100%}.weyada-video-stage video-player{width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover}.weyada-video-empty{display:flex;min-height:320px;align-items:center;justify-content:center;text-align:center;padding:32px;background:#080808;color:#ddd}.weyada-video-empty[hidden]{display:none!important}.weyada-video-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:16px;background:#151515}.weyada-video-controls .btn{border-color:rgba(255,255,255,.28);color:#fff}.weyada-video-participants{padding:12px 18px 18px;display:flex;gap:10px;flex-wrap:wrap;color:#ddd}.weyada-video-participants span{opacity:.72}.weyada-video-setup-card{border:1px solid rgba(92,60,230,.25)}
@media(max-width:700px){.weyada-video-room{border-radius:14px}.weyada-video-stage{grid-template-columns:1fr;min-height:240px}.weyada-video-empty{min-height:240px}.weyada-video-room-head{padding:14px}.weyada-video-controls{position:sticky;bottom:0;z-index:2}.weyada-video-controls .btn{flex:1;min-width:92px}}

/* ==========================================================
   WeYada 4.5.7 — sticky player containment + timing recovery
   ========================================================== */
.audible3-mini-player .mini-player-cover{
  position:relative !important;
  isolation:isolate;
  flex:none;
}
.audible3-mini-player .mini-player-cover [data-cover-placeholder]{
  z-index:1 !important;
  pointer-events:none !important;
}
.audible3-mini-player .mini-player-cover > img[data-cover-book-id]{
  z-index:2 !important;
}
.audible3-mini-player .mini-player-copy,
.audible3-mini-player .mini-player-actions{
  position:relative;
  z-index:3;
}
.audible3-mini-player .mini-player-actions{
  visibility:visible !important;
  opacity:1 !important;
}
@media(max-width:700px){
  .audible3-mini-player{
    grid-template-columns:42px minmax(0,1fr) minmax(166px,auto) !important;
    max-width:calc(100vw - 18px) !important;
  }
  .audible3-mini-player .mini-player-copy{min-width:0 !important;overflow:hidden !important}
  .audible3-mini-player .mini-player-actions.mini-player-five-controls{
    display:grid !important;
    grid-template-columns:repeat(5,30px) !important;
    min-width:158px !important;
    justify-self:end !important;
  }
}
@media(max-width:430px){
  .audible3-mini-player{
    grid-template-columns:38px minmax(0,1fr) 146px !important;
    gap:5px !important;
  }
  .audible3-mini-player .mini-player-cover{width:38px !important;height:38px !important}
  .audible3-mini-player .mini-player-actions.mini-player-five-controls{
    grid-template-columns:repeat(5,28px) !important;
    min-width:144px !important;
    gap:1px !important;
  }
  .audible3-mini-player .mini-player-five-controls button,
  .audible3-mini-player .mini-player-actions.mini-player-five-controls button[data-mini-skip],
  .audible3-mini-player .mini-player-actions.mini-player-five-controls button[data-mini-chapter]{
    width:28px !important;min-width:28px !important;height:30px !important;min-height:30px !important;
  }
  .audible3-mini-player .mini-player-copy strong{font-size:11px !important}
  .audible3-mini-player .mini-player-copy small{font-size:9px !important}
}

/* === ADMIN NAVIGATION CLEANUP 4.6.0 === */
.admin-grouped-sidebar{padding:10px!important}
.admin-grouped-sidebar>.admin-nav-direct,
.admin-nav-group-toggle{width:100%;display:flex!important;align-items:center;justify-content:space-between;border:0;background:transparent;color:#fff;text-align:left;padding:11px 12px;border-radius:9px;cursor:pointer;font-weight:760}
.admin-grouped-sidebar>.admin-nav-direct.active,
.admin-nav-group.active>.admin-nav-group-toggle{background:#fff!important;color:#111!important;font-weight:850}
.admin-nav-group{margin:2px 0}
.admin-nav-chevron{font-size:17px;line-height:1;transition:transform .18s ease}
.admin-nav-group-toggle[aria-expanded="true"] .admin-nav-chevron{transform:rotate(180deg)}
.admin-nav-submenu{padding:5px 0 5px 12px;margin:2px 0 7px 8px;border-left:1px solid rgba(255,255,255,.22)}
.admin-nav-submenu[hidden]{display:none!important}
.admin-nav-submenu button{font-size:13px!important;padding:8px 10px!important;color:rgba(255,255,255,.72)!important;border-radius:8px!important}
.admin-nav-submenu button:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
.admin-nav-submenu button.active{background:rgba(255,255,255,.14)!important;color:#fff!important;font-weight:850!important}

@media(max-width:900px){
 .admin-grouped-sidebar{display:none!important}
}

@media(max-width:700px){
 .mobile-admin-group{margin:2px 0}
 .mobile-admin-group-toggle{width:100%;min-height:46px;border:0;background:transparent;color:#34343a;text-align:left;border-radius:10px;padding:0 12px;font-size:14px;font-weight:820;cursor:pointer;display:flex;align-items:center;justify-content:space-between}
 .mobile-admin-group-toggle:active{background:#f1f1f3}
 .mobile-admin-group-menu{margin:0 0 6px 11px;padding:2px 0 4px 10px;border-left:2px solid #ededf0}
 .mobile-admin-group-menu[hidden]{display:none!important}
 .mobile-admin-group-menu .mobile-admin-link{min-height:40px;font-size:13px;padding-left:10px}
 .mobile-admin-group-toggle[aria-expanded="true"] .mobile-admin-chevron{transform:rotate(180deg)}
}

/* WeYada Live host studio — 4.6.1 */
.live-studio-admin{display:grid;gap:22px;min-width:0}
.live-studio-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-bottom:4px}
.live-studio-topbar h3{margin:5px 0 0;font-size:clamp(28px,3vw,40px)}
.live-studio-room-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.live-studio-room-picker label{display:flex;align-items:center;gap:8px;font-weight:800}
.live-studio-room-picker select{min-width:220px;padding:10px 12px;border:1px solid var(--line,#ddd);border-radius:10px;background:var(--card,#fff);color:inherit}
.live-studio-status{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.06em;background:#ececec;color:#333}
.live-studio-status.live{background:#d83030;color:#fff}.live-studio-status.ended{background:#222;color:#fff}.live-studio-status.draft{background:#eee;color:#666}
.live-studio-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:20px;align-items:start;min-width:0}
.live-studio-main{display:grid;gap:16px;min-width:0}
.live-studio-stage-card,.live-studio-attendee-panel,.live-studio-info-strip{background:var(--card,#fff);border:1px solid var(--line,#e7e7e7);border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.live-studio-stage-card{padding:16px;min-width:0}
.live-studio-stage-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.live-studio-stage-head>div:first-child{display:grid;gap:3px}.live-studio-stage-head strong{font-size:19px}.live-studio-stage-head small{color:var(--muted,#777)}
.live-studio-live-actions{display:flex;gap:8px;flex-wrap:wrap}
.live-studio-video-stage{min-height:430px;background:#111;border-radius:15px;overflow:hidden;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;padding:8px}
.live-studio-video-stage .weyada-video-tile{min-height:200px;background:#181818;border-radius:12px;overflow:hidden;position:relative}
.live-studio-video-stage .weyada-video-tile video{width:100%;height:100%;object-fit:cover;display:block}
.live-studio-video-stage .weyada-video-tile span{position:absolute;left:10px;bottom:10px;background:rgba(0,0,0,.65);color:#fff;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:800}
.live-studio-video-empty{min-height:430px;border-radius:15px;background:linear-gradient(145deg,#151515,#282828);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:30px;margin-top:-430px;position:relative;z-index:1}
.live-studio-video-empty[hidden]{display:none!important}.live-studio-video-empty strong{font-size:24px}.live-studio-video-empty span{max-width:470px;color:#cfcfcf}
.live-studio-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.live-studio-controls .active{background:#111;color:#fff}
.live-studio-info-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:hidden}
.live-studio-info-strip article{padding:16px;border-right:1px solid var(--line,#e7e7e7);display:grid;gap:2px}.live-studio-info-strip article:last-child{border-right:0}
.live-studio-info-strip span,.live-studio-info-strip small{color:var(--muted,#777);font-size:12px}.live-studio-info-strip strong{font-size:23px;line-height:1.1}
.live-studio-sidebar{display:grid;gap:14px;position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto;padding-right:2px}
.live-studio-attendee-panel{padding:15px}.live-studio-attendee-panel.compact{padding-bottom:10px}
.live-studio-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.live-studio-panel-head h4{margin:2px 0 0;font-size:18px}
.live-studio-person-list{display:grid;gap:8px}.live-studio-person{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px;border:1px solid var(--line,#e8e8e8);border-radius:12px;background:var(--background,#fafafa)}
.live-studio-person.compact{grid-template-columns:36px minmax(0,1fr)}.live-studio-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:900}.live-studio-person.compact .live-studio-avatar{width:36px;height:36px}
.live-studio-person-copy{min-width:0;display:grid;gap:1px}.live-studio-person-copy strong,.live-studio-person-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-studio-person-copy small{color:var(--muted,#777)}
.live-studio-person-actions{display:flex;align-items:center;gap:6px}.live-studio-person-actions .btn{padding:7px 10px;font-size:12px}.live-studio-person-actions .link-button{font-size:12px}
.live-studio-empty-list{padding:18px 10px;text-align:center;color:var(--muted,#777);font-size:13px}
.weyada-waiting-room{min-width:min(520px,90vw);display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:18px 8px}.weyada-waiting-room h2{margin:0;font-size:28px}.weyada-waiting-room p{max-width:460px;color:var(--muted,#777);line-height:1.6}.waiting-room-pulse{width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.08);position:relative}.waiting-room-pulse:after{content:"";position:absolute;inset:9px;border-radius:50%;background:#111;animation:weyadaWaitingPulse 1.4s ease-in-out infinite}@keyframes weyadaWaitingPulse{0%,100%{transform:scale(.78);opacity:.45}50%{transform:scale(1);opacity:1}}
@media(max-width:1050px){.live-studio-shell{grid-template-columns:1fr}.live-studio-sidebar{position:static;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.live-studio-attendee-panel.compact{grid-column:1/-1}}
@media(max-width:700px){.live-studio-topbar,.live-studio-stage-head{align-items:stretch;flex-direction:column}.live-studio-room-picker{display:grid}.live-studio-room-picker label{display:grid}.live-studio-room-picker select{min-width:0;width:100%}.live-studio-video-stage,.live-studio-video-empty{min-height:310px}.live-studio-video-empty{margin-top:-310px}.live-studio-info-strip{grid-template-columns:repeat(2,1fr)}.live-studio-info-strip article:nth-child(2){border-right:0}.live-studio-info-strip article:nth-child(-n+2){border-bottom:1px solid var(--line,#e7e7e7)}.live-studio-sidebar{grid-template-columns:1fr}.live-studio-attendee-panel.compact{grid-column:auto}.live-studio-person{grid-template-columns:36px minmax(0,1fr)}.live-studio-person-actions,.live-studio-person>.status-pill{grid-column:2;justify-self:start}.live-studio-avatar{width:36px;height:36px}.live-studio-controls .btn,.live-studio-live-actions .btn{flex:1 1 auto}}

/* WeYada 4.6.3 — expanded visual page controls */
.visual-editor-group{display:grid;gap:12px;padding:14px;margin:14px 0;border:1px solid var(--line);border-radius:14px;background:#fafafa}
.visual-editor-group h4{margin:0 0 2px;font-size:13px;letter-spacing:.02em}
.visual-color-control{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:center;margin-top:6px}
.visual-color-control input[type="color"]{width:54px;height:38px;padding:2px;border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer}
.visual-color-control code{display:block;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#4b5563;overflow:hidden;text-overflow:ellipsis}
.private-starter-page .private-starter-intro .builder-preserved-text,
.private-starter-page .private-starter-intro .builder-preserved-text p{color:inherit!important;font-size:inherit!important}
.private-starter-page .membership-hero-card .builder-preserved-text,
.private-starter-page .membership-hero-card .builder-preserved-text p,
.private-starter-page .membership-tier-top .builder-preserved-text,
.private-starter-page .membership-tier-top .builder-preserved-text p{color:inherit!important}
@media(max-width:700px){
 .visual-editor-group{padding:12px}
 .visual-color-control{grid-template-columns:48px minmax(0,1fr)}
 .visual-color-control input[type="color"]{width:48px}
}
.builder-route-preview{overflow:hidden;border-radius:12px;background:#fff}
.builder-route-preview .page{max-width:none!important;width:100%!important;margin:0!important;padding:18px!important}
.builder-route-preview .membership-page>.membership-hero:first-child{width:100%!important;margin:0!important}
.builder-route-preview .membership-hero{min-height:0!important}
.builder-route-preview .membership-plans-section{padding-bottom:8px}


/* ==========================================================
   WeYada 4.6.4 — Audiobook core experience rebuild
   ========================================================== */
/* Every cover placeholder must be contained by its own artwork box. */
.library-cover,
.store-book-cover,
.audiobook-store-cover,
.home-standard-book-cover,
.home-carousel-cover,
.member-home-cover,
.book-access-cover,
.live-featured-book-cover,
.global-search-cover,
.series-cover-button>span,
.mini-player-cover,
.audible3-square-cover{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate;
}
.library-cover [data-cover-placeholder],
.store-book-cover [data-cover-placeholder],
.audiobook-store-cover [data-cover-placeholder],
.home-standard-book-cover [data-cover-placeholder],
.home-carousel-cover [data-cover-placeholder],
.member-home-cover [data-cover-placeholder],
.book-access-cover [data-cover-placeholder],
.live-featured-book-cover [data-cover-placeholder],
.global-search-cover [data-cover-placeholder],
.series-cover-button [data-cover-placeholder],
.mini-player-cover [data-cover-placeholder],
.audible3-square-cover [data-cover-placeholder]{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  overflow:hidden !important;
}
.library-cover img,
.audiobook-store-cover img,
.store-book-cover img{position:absolute!important;inset:0!important;z-index:2!important}

/* Library = discover and resume listening, not mystery cover-only tiles. */
.library-filter-section{width:min(1440px,100%)!important;padding-inline:clamp(12px,2vw,28px)!important}
.library-filter-section .book-grid.audiobook-library-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:30px 20px!important}
.audiobook-card{min-width:0;cursor:pointer;display:grid;align-content:start;gap:12px;position:relative}
.audiobook-card-art{position:relative;min-width:0}
.audiobook-card .library-cover{width:100%!important;margin:0!important;aspect-ratio:1/1!important;border-radius:16px;background:#f0f1f3;box-shadow:0 10px 30px rgba(0,0,0,.07)}
.audiobook-card .library-cover img{width:100%!important;height:100%!important;object-fit:cover!important}
.audiobook-card .plus{z-index:5}
.audiobook-card-info{display:grid;gap:5px;min-width:0;padding-inline:2px}
.audiobook-card-series{font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.audiobook-card-info h3{margin:0!important;font-size:17px!important;line-height:1.2!important;color:var(--text)!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.audiobook-card-info>p{margin:0;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.audiobook-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px}
.audiobook-primary-action{font-size:12px;font-weight:900;color:var(--text)}
.audiobook-preview-action{border:0;background:transparent;color:var(--accent);font-size:12px;font-weight:900;padding:5px;cursor:pointer}
.audiobook-preview-action:hover{text-decoration:underline}

/* Store = clean product cards, not large empty functional canvas. */
.audiobook-store-page{width:min(1280px,100%)!important;margin-inline:auto!important;padding-top:26px!important}
.audiobook-store-hero{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:24px 0 30px;border-bottom:1px solid var(--line);margin-bottom:28px}
.audiobook-store-hero>div{max-width:760px}
.audiobook-store-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.03;margin:7px 0 12px}
.audiobook-store-hero p{margin:0;color:var(--muted);font-size:17px;line-height:1.6}
.audiobook-store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px;margin-bottom:42px}
.audiobook-store-card{display:grid;align-content:start;gap:13px;min-width:0}
.audiobook-store-cover{position:relative!important;display:block;width:100%;aspect-ratio:1/1;border:0;padding:0;border-radius:16px;background:#f0f1f3;overflow:hidden;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.07)}
.audiobook-store-cover-wrap{position:relative;isolation:isolate}
.audiobook-store-cart{position:absolute;top:10px;right:10px;z-index:8;width:42px;height:42px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#111;box-shadow:0 7px 22px rgba(0,0,0,.18);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.audiobook-store-cart:hover{transform:translateY(-1px) scale(1.04);box-shadow:0 10px 28px rgba(0,0,0,.22)}
.audiobook-store-cart:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.audiobook-store-cart svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.audiobook-store-cart:disabled{opacity:.55;cursor:not-allowed;transform:none}
.audiobook-store-cart.is-loading{opacity:.7;pointer-events:none}
.audiobook-store-price{margin:2px 0 0;color:var(--text);font-size:13px;font-weight:850;line-height:1.45}
.store-cart-format-choices{display:grid;gap:10px;margin:18px 0 14px}
.audiobook-store-cover img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.audiobook-store-info{display:grid;gap:6px;min-width:0}
.audiobook-store-info h2{font-size:19px;line-height:1.2;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.audiobook-store-author{margin:0;color:var(--muted);font-size:13px;font-weight:700}
.audiobook-store-actions{display:grid;gap:7px;margin-top:5px}
.audiobook-store-actions .btn{width:100%;white-space:normal;padding:11px 12px;font-size:13px}
.audiobook-store-links{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:2px}
.audiobook-store-links .link-button{font-size:12px;padding:3px 0}
.audiobook-store-help{display:flex;align-items:center;gap:12px;padding:16px 18px;margin:0 0 36px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.audiobook-store-help span{color:var(--muted);font-size:13px}

@media(max-width:1100px){
 .library-filter-section .book-grid.audiobook-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .audiobook-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
 .library-filter-section .book-grid.audiobook-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .audiobook-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .audiobook-store-hero{display:grid;align-items:start}.audiobook-store-hero>.btn{width:max-content;max-width:100%}
}
@media(max-width:600px){
 .library-filter-section .book-grid.audiobook-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 12px!important}
 .audiobook-card .library-cover{border-radius:12px}
 .audiobook-card-info h3{font-size:15px!important}
 .audiobook-card-actions{display:grid;gap:3px}
 .audiobook-preview-action{justify-self:start;padding-left:0}
 .audiobook-store-page{padding-inline:12px!important}
 .audiobook-store-grid{gap:22px 12px}
 .audiobook-store-cover{border-radius:12px}
 .audiobook-store-cart{top:8px;right:8px;width:38px;height:38px}
 .audiobook-store-info h2{font-size:16px}
 .audiobook-store-actions .btn{font-size:12px;padding:10px 8px}
 .audiobook-store-links{display:grid;justify-items:start;gap:4px}
 .audiobook-store-help{display:grid}
}


/* ==========================================================
   WeYada 4.6.8 — one cover identity per book
   ========================================================== */
img[data-cover-book-id]:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;}
[data-cover-placeholder][hidden]{display:none!important;visibility:hidden!important;}
.library-cover>img[data-cover-book-id]:not([hidden]),
.home-standard-book-cover>img[data-cover-book-id]:not([hidden]),
.home-carousel-cover>img[data-cover-book-id]:not([hidden]),
.audiobook-store-cover>img[data-cover-book-id]:not([hidden]),
.store-book-cover>img[data-cover-book-id]:not([hidden]),
.book-access-cover>img[data-cover-book-id]:not([hidden]),
.audible3-square-cover>img[data-cover-book-id]:not([hidden]),
.mini-player-cover>img[data-cover-book-id]:not([hidden]){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;z-index:3!important;}


/* =========================================================
   WeYada 4.7.6 — Book Summary Flow
   ========================================================= */
.book-summary-page{
  width:min(760px,100%);
  margin-inline:auto;
  padding-top:clamp(22px,5vw,52px)!important;
}
.book-summary-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  width:100%;
  margin:0 auto;
}
.book-summary-cover{
  width:min(330px,78vw);
  aspect-ratio:1/1;
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:#f1f2f4;
  box-shadow:0 18px 42px rgba(15,23,42,.13);
}
.book-summary-cover img{
  width:100%!important;
  height:100%!important;
  display:block;
  object-fit:cover!important;
}
.book-summary-cover [data-cover-placeholder]{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
  font-weight:800;
  color:var(--muted);
  z-index:0;
}
.book-summary-cover img:not([hidden]){position:relative;z-index:1}
.book-summary-preview{
  margin-top:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.book-summary-page h1{
  margin:22px 0 8px;
  font-size:clamp(28px,5vw,44px);
  line-height:1.08;
  font-weight:900;
  color:var(--text);
}
.book-summary-subtitle{
  max-width:640px;
  margin:0;
  color:var(--muted);
  font-size:clamp(15px,2.3vw,18px);
  line-height:1.6;
}
.book-summary-about{
  width:min(680px,100%);
  margin-top:24px;
  text-align:center;
}
.book-summary-about h2{
  margin:0 0 10px;
  font-size:clamp(20px,3vw,26px);
  line-height:1.2;
  font-weight:900;
  color:var(--text);
}
.book-summary-about p{
  margin:0;
  color:var(--text);
  font-size:clamp(15px,2.2vw,17px);
  line-height:1.75;
  white-space:pre-line;
}
.book-summary-actions{
  width:min(520px,100%);
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:24px;
}
.book-summary-action{
  min-width:190px;
  justify-content:center;
}
.store-book-page{
  width:min(1000px,100%)!important;
  margin-inline:auto!important;
  padding-top:26px!important;
}
.store-book-back{margin-bottom:20px}
.store-book-inner{
  display:grid;
  grid-template-columns:minmax(240px,360px) minmax(0,1fr);
  gap:44px;
  align-items:center;
  padding:clamp(20px,4vw,42px);
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--card,#fff);
}
.store-book-cover{
  width:100%;
  aspect-ratio:1/1;
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:#f1f2f4;
}
.store-book-cover img{width:100%!important;height:100%!important;object-fit:cover!important;position:relative;z-index:1}
.store-book-cover [data-cover-placeholder]{position:absolute;inset:0;display:grid;place-items:center;padding:24px;font-weight:800;color:var(--muted)}
.store-book-copy h1{margin:8px 0 10px;font-size:clamp(30px,5vw,52px);line-height:1.05}
.store-book-copy>p{color:var(--muted);line-height:1.65;font-size:17px}
.store-book-preview{margin:4px 0 18px}
.store-book-copy .store-inline-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
@media(max-width:720px){
  .book-summary-page{padding-inline:16px!important}
  .book-summary-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .book-summary-action{width:100%;min-width:0}
  .store-book-page{padding-inline:14px!important}
  .store-book-inner{grid-template-columns:1fr;gap:24px;padding:20px 16px}
  .store-book-cover{width:min(320px,82vw);margin-inline:auto}
  .store-book-copy{text-align:center}
  .store-book-copy .store-inline-actions{display:grid;grid-template-columns:1fr}
  .store-book-copy .store-inline-actions .btn{width:100%;justify-content:center}
}

/* WeYada 4.7.7 — simplified full-book page based on supplied audio-library reference */
.book-reference-page{
  width:100% !important;
  max-width:1240px !important;
  margin:0 auto !important;
  padding:14px 34px 56px !important;
  background:transparent !important;
}

.book-reference-hero{
  position:relative;
  display:grid;
  grid-template-columns:275px minmax(0,1fr);
  gap:34px;
  align-items:stretch;
  min-height:275px;
}

.book-reference-cover{
  position:relative;
  width:275px;
  height:275px;
  overflow:hidden;
  border-radius:10px;
  background:#f3f3f3;
  box-shadow:0 9px 22px rgba(15,23,42,.12);
}

.book-reference-cover img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.book-reference-cover [data-cover-placeholder]{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  text-align:center;
  color:#222;
  font-weight:800;
  background:#f1f1f1;
}

.book-reference-cover img:not([hidden]) + [data-cover-placeholder]{display:none}

.book-reference-info{
  position:relative;
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:32px 110px 2px 0;
}

.book-reference-tools{
  position:absolute;
  top:8px;
  right:0;
  display:flex;
  align-items:center;
  gap:12px;
}

.book-reference-tool{
  width:28px;
  height:28px;
  padding:0;
  border:0;
  background:transparent;
  color:#111;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  line-height:1;
  font-weight:500;
  cursor:pointer;
}

.book-reference-tool svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.book-reference-copy h1{
  margin:0 0 7px;
  color:#1f1f1f;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.018em;
  font-weight:800;
}

.book-reference-series{
  margin:0 0 8px;
  color:#8a8a8a;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.book-reference-author{
  margin:0 0 8px;
  color:var(--accent);
  font-size:16px;
  line-height:1.35;
  font-weight:700;
}

.book-reference-topics{
  margin:0;
  color:#777;
  font-size:14px;
  line-height:1.4;
}

.book-reference-actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:auto;
  padding-top:26px;
}

.book-reference-pill{
  min-height:38px;
  padding:0 28px;
  border:0;
  border-radius:999px;
  background:#f3f3f3;
  color:#222;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.015em;
  cursor:pointer;
  box-shadow:none;
}

.book-reference-pill:hover{background:#eaeaea}

.book-reference-play{
  min-width:130px;
  font-weight:500;
  text-transform:none;
}

.book-reference-play-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.book-reference-play-icon .primary-player-state-icon{
  width:15px !important;
  height:15px !important;
  object-fit:contain !important;
  display:block !important;
}

.book-reference-play-icon .book-page-play-state-icon{
  width:15px !important;
  height:15px !important;
  min-width:15px !important;
  min-height:15px !important;
  max-width:15px !important;
  max-height:15px !important;
  object-fit:contain !important;
}

.book-reference-buy{
  min-width:132px;
  background:#000;
  color:#fff;
}
.book-reference-buy:hover{
  background:#1b1b1b;
  color:#fff;
}
.book-reference-read{min-width:92px}

.book-reference-add.is-added,
.book-reference-add:disabled{
  color:#b7b7b7;
  cursor:default;
  opacity:1;
}

.book-summary-buy{
  background:#000 !important;
  color:#fff !important;
  border-color:#000 !important;
}
.book-summary-buy:hover{
  background:#1b1b1b !important;
  color:#fff !important;
  border-color:#1b1b1b !important;
}

.book-reference-chapters{
  margin-top:40px;
  border-top:1px solid #dedede;
}

.book-reference-page .audible3-chapters-card{
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:visible !important;
  background:transparent !important;
}

.book-reference-page .audible3-chapters-head{display:none !important}
.book-reference-page .chapter-list{display:block !important}

.book-reference-page .audible3-chapters-card .chapter-row-button{
  display:grid !important;
  grid-template-columns:32px minmax(0,1fr) 64px !important;
  column-gap:8px !important;
  align-items:center !important;
  width:100% !important;
  min-height:54px !important;
  padding:0 10px !important;
  border:0 !important;
  border-bottom:1px solid #e2e2e2 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-align:left !important;
}

.book-reference-page .audible3-chapters-card .chapter-row-button:last-child{
  border-bottom:0 !important;
}

.book-reference-page .audible3-chapters-card .chapter-track-indicator{
  width:22px !important;
  min-width:22px !important;
  height:22px !important;
  color:#8b8b8b !important;
}

.book-reference-page .audible3-chapters-card .chapter-track-number{
  font-size:12.5px !important;
  font-weight:400 !important;
  color:#8b8b8b !important;
}

.book-reference-page .audible3-chapters-card .chapter-track-bars{
  width:20px !important;
  height:15px !important;
  gap:2px !important;
}

.book-reference-page .audible3-chapters-card .chapter-track-bars i{
  width:3px !important;
  background:#ff2f55 !important;
}

.book-reference-page .chapter-inline-actions{display:none !important}

.book-reference-page .audible3-chapters-card .chapter-title-line{
  min-width:0;
  color:#222 !important;
  font-size:13.5px !important;
  font-weight:400 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.book-reference-page .audible3-chapters-card .chapter-time{
  color:#898989 !important;
  font-size:13px !important;
  font-weight:400 !important;
  text-align:right !important;
  font-variant-numeric:tabular-nums;
}

.book-reference-page .audible3-chapters-card .chapter-row-button.active,
.book-reference-page .audible3-chapters-card .chapter-row-button.is-playing{
  background:transparent !important;
  box-shadow:none !important;
}

.book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-title-line{
  color:#222 !important;
  font-weight:400 !important;
}

.book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-time{
  color:#898989 !important;
  font-weight:400 !important;
}

.book-reference-extras{
  margin-top:34px;
}

@media(max-width:820px){
  .book-reference-page{
    padding:16px 16px 40px !important;
  }
  .book-reference-hero{
    display:flex;
    flex-direction:column;
    gap:22px;
    min-height:0;
  }
  .book-reference-cover{
    width:min(82vw,300px);
    height:min(82vw,300px);
    margin:0 auto;
  }
  .book-reference-info{
    padding:0;
    text-align:center;
  }
  .book-reference-tools{
    position:static;
    justify-content:center;
    order:3;
    margin-top:18px;
  }
  .book-reference-copy h1{font-size:25px}
  .book-reference-actions{
    justify-content:center;
    flex-wrap:wrap;
    margin-top:0;
    padding-top:24px;
  }
  .book-reference-pill{
    min-height:40px;
    padding:0 22px;
  }
  .book-reference-chapters{margin-top:30px}
  .book-reference-page .audible3-chapters-card .chapter-row-button{
    grid-template-columns:28px minmax(0,1fr) 52px !important;
    min-height:52px !important;
    padding:0 4px !important;
    column-gap:7px !important;
  }
  .book-reference-page .audible3-chapters-card .chapter-title-line{font-size:13px !important}
  .book-reference-page .audible3-chapters-card .chapter-time{font-size:12px !important}
}

/* ==========================================================
   WeYada 4.7.12 — sticky player play/pause sizing repair
   Keep the uploaded play/pause artwork contained inside the
   center transport control without inheriting the 82px full
   player minimum-size rule.
   ========================================================== */
.audible3-mini-player .mini-player-actions .mini-player-main{
  width:36px !important;
  min-width:36px !important;
  max-width:36px !important;
  height:36px !important;
  min-height:36px !important;
  max-height:36px !important;
  padding:0 !important;
  background:transparent !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}
.audible3-mini-player .mini-primary-play-disc{
  width:30px !important;
  min-width:30px !important;
  max-width:30px !important;
  height:30px !important;
  min-height:30px !important;
  max-height:30px !important;
  padding:0 !important;
  background:transparent !important;
  border-radius:50% !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.audible3-mini-player .mini-primary-play-disc .primary-player-state-icon{
  display:block !important;
  width:30px !important;
  min-width:30px !important;
  max-width:30px !important;
  height:30px !important;
  min-height:30px !important;
  max-height:30px !important;
  object-fit:contain !important;
  margin:0 !important;
}
@media(max-width:700px){
  .audible3-mini-player .mini-player-actions .mini-player-main{
    width:32px !important;
    min-width:32px !important;
    max-width:32px !important;
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
  }
  .audible3-mini-player .mini-primary-play-disc,
  .audible3-mini-player .mini-primary-play-disc .primary-player-state-icon{
    width:27px !important;
    min-width:27px !important;
    max-width:27px !important;
    height:27px !important;
    min-height:27px !important;
    max-height:27px !important;
  }
}


/* 4.7.16 — sample chapter selector is immediately ready after audio upload */
[data-sample-chapter-select].sample-chapter-ready{
  outline:2px solid var(--accent,#f47b20);
  outline-offset:2px;
  box-shadow:0 0 0 5px rgba(244,123,32,.12);
}

/* =========================================================
   WEYADA 4.7.17 — PAGE BUILDER PAGE DROPDOWN + ROW COLUMNS
   ========================================================= */
.builder-page-toolbar{
  align-items:flex-end;
  padding:4px 0 16px;
  border-bottom:1px solid var(--line);
  margin-bottom:18px;
}
.builder-page-selector{display:flex;align-items:flex-end;gap:10px;min-width:min(100%,340px)}
.builder-page-selector label{display:grid;gap:6px;min-width:240px;font-size:12px;font-weight:800;color:var(--muted)}
.builder-page-selector select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 12px;font:inherit;color:#111}
.builder-shell{grid-template-columns:230px minmax(0,1fr) 300px;gap:18px}
.builder-add-panel h4{margin:0 0 8px}.builder-help-copy{font-size:12px;line-height:1.45;margin:0 0 12px}
.builder-target-status{padding:12px;border:1px solid #d8e5ea;border-radius:12px;background:#f7fbfc;margin-bottom:18px;display:grid;gap:4px}
.builder-target-status span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#68757c;font-weight:800}
.builder-target-status strong{font-size:13px;color:#111}.builder-target-status button{justify-self:start;border:0;background:transparent;padding:4px 0;color:#078dbb;font-weight:800;cursor:pointer}
.builder-panel-divider{border:0;border-top:1px solid var(--line);margin:18px 0}
.builder-row-presets,.builder-row-layout-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.builder-row-preset{border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 8px;display:grid;gap:7px;cursor:pointer;color:#111;text-align:center}
.builder-row-preset:hover,.builder-row-preset.is-active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.builder-row-preset-diagram{height:32px;border:1.5px solid #169bd5;border-radius:4px;padding:5px;display:flex;gap:3px;background:#f8fdff}
.builder-row-preset-diagram i{display:block;border:1.5px solid #169bd5;background:#fff;min-width:0}
.builder-row-preset small{font-size:11px;font-weight:800;color:#333}
.builder-row{padding:14px;background:#f4f5f7;min-height:100px;outline-offset:-2px}
.builder-row>.block-tools{top:6px;right:6px}
.builder-row-label{display:flex;align-items:center;gap:8px;margin:0 110px 10px 0;font-size:11px;color:#667085}
.builder-row-label strong{color:#111}.builder-row-label span{padding:3px 7px;border-radius:999px;background:#fff;border:1px solid #ddd}
.builder-row-grid{display:grid;grid-template-columns:var(--builder-row-template);align-items:stretch}
.builder-column{min-width:0;border:1px dashed #aab5bd;border-radius:10px;background:#fff;padding:7px;position:relative}
.builder-column.is-target{border:2px solid var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 14%,transparent)}
.builder-column-target{width:100%;min-height:30px;border:0;border-bottom:1px solid #edf0f2;background:#f9fafb;border-radius:7px 7px 0 0;padding:6px 8px;text-align:left;font-size:11px;font-weight:800;color:#59636b;cursor:pointer;margin-bottom:7px}
.builder-column.is-target .builder-column-target{color:#047ca7;background:#eefdff}
.builder-column-content{display:grid;gap:8px;min-width:0}.builder-column-empty{min-height:90px;display:grid;place-items:center;text-align:center;padding:14px;font-size:11px;color:#84909a}
.builder-column .builder-block{margin:0!important;min-width:0;border-radius:8px;overflow:hidden}
.builder-column .builder-banner{min-height:180px;padding:20px}.builder-column .builder-banner h2{font-size:clamp(22px,3vw,34px)!important}
.builder-column .builder-text,.builder-column .builder-contact,.builder-column .builder-books,.builder-column .builder-image,.builder-column .builder-button{padding:18px}
.builder-column .builder-books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.builder-column .block-tools{transform:scale(.82);transform-origin:top right}

/* Public row/column layout created by the Page Builder. */
.weyada-builder-row{display:flex;align-items:stretch;gap:18px;min-width:0}
.weyada-builder-column{flex:var(--builder-column-width) 1 0;min-width:0;display:flex;flex-direction:column}
.weyada-builder-column>.section,.weyada-builder-column>.page-builder-section-bg>.section,.weyada-builder-column>.page-builder-section-bg{margin-top:0!important;width:100%;flex:1}
.weyada-builder-column .live-featured-book-section{grid-template-columns:1fr;gap:18px}
.weyada-builder-column .live-featured-book-cover{max-width:220px;width:100%;margin:auto}
.weyada-builder-column .home-featured-books .book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.builder-canvas.tablet .builder-row-grid,.builder-canvas.mobile .builder-row-grid{grid-template-columns:1fr!important}
.builder-canvas.tablet .builder-column,.builder-canvas.mobile .builder-column{min-height:80px}
@media(max-width:1180px){.builder-shell{grid-template-columns:205px minmax(0,1fr)}.builder-shell>aside:last-child{grid-column:1/-1;position:static}.builder-panel.sticky{top:76px}}
@media(max-width:800px){
 .builder-page-toolbar,.builder-page-selector,.builder-page-actions{align-items:stretch;width:100%}.builder-page-selector{flex-wrap:wrap}.builder-page-selector label{min-width:0;flex:1 1 100%}.builder-page-selector .btn{flex:1}
 .builder-shell{grid-template-columns:1fr}.builder-shell>.builder-panel.sticky{position:static}.builder-row-presets{grid-template-columns:repeat(3,minmax(0,1fr))}
 .weyada-builder-row{flex-direction:column}.weyada-builder-column{flex:1 1 auto;width:100%}
}
@media(max-width:520px){.builder-row-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* =========================================================
   FRONTEND LIVE EDITOR — ROWS / COLUMNS + EXISTING SECTION ARRANGEMENT
   ========================================================= */
.live-editor-row{padding-top:42px!important;overflow:visible!important}
.live-row-heading{display:flex;align-items:center;gap:10px;padding:8px 10px;margin:0 0 6px;border:1px dashed rgba(22,155,213,.45);border-radius:9px;background:rgba(238,253,255,.92);color:#24414d;font-size:11px;letter-spacing:.04em}
.live-row-heading span{opacity:.72}
.live-row-grid{margin-top:0!important;overflow:visible!important}
.live-builder-column{position:relative;min-height:120px;border:1px dashed rgba(22,155,213,.5);border-radius:12px;padding:38px 8px 8px;background:rgba(255,255,255,.3)}
.live-column-head{position:absolute;left:7px;right:7px;top:6px;display:flex;align-items:center;justify-content:space-between;gap:8px;z-index:45;min-height:26px;padding:3px 5px;border-radius:7px;background:rgba(17,17,17,.88);color:#fff;font-size:10px}
.live-column-head strong{font-size:10px;letter-spacing:.04em}.live-column-head button{border:0;border-radius:6px;background:#fff;color:#111;padding:4px 7px;font-size:10px;font-weight:800;cursor:pointer}
.live-column-body{display:grid;gap:8px;min-width:0}.live-column-empty{min-height:90px;width:100%;border:1px dashed rgba(22,155,213,.55);border-radius:9px;background:rgba(238,253,255,.65);color:#397084;font-weight:800;cursor:pointer}
.live-editor-column-section{margin:0!important;min-width:0;border-radius:9px}.live-editor-column-section>.live-section-toolbar{transform:scale(.84);transform-origin:top right}
.live-editor-column-section>.section,.live-editor-column-section>.page-builder-section-bg>.section,.live-editor-column-section>.page-builder-section-bg{margin-top:0!important;width:100%!important}
.live-row-choice,.live-wrap-row,.live-existing-rows{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.live-row-choice h4,.live-wrap-row h4,.live-existing-rows h4,.live-add-content-heading h4{margin:0 0 6px;color:#fff}.live-row-choice p,.live-wrap-row p{margin:0 0 12px;color:#aaa;font-size:12px;line-height:1.45}
.live-row-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.live-row-preset{display:grid;gap:6px;padding:9px;border:1px solid rgba(255,255,255,.17);border-radius:10px;background:#252525;color:#fff;cursor:pointer;text-align:center}
.live-row-preset:hover,.live-row-preset.is-active{border-color:#16bdf4;box-shadow:0 0 0 1px #16bdf4}
.live-row-preset>span{height:30px;display:flex;gap:3px;padding:5px;border:1px solid #16bdf4;border-radius:4px;background:#161616}.live-row-preset i{display:block;min-width:0;border:1px solid #16bdf4;background:#2a2a2a}.live-row-preset small{font-weight:800;font-size:10px}
.live-add-content-heading{padding:15px 0 8px}.live-layout-options{display:grid;gap:14px}.live-existing-row{padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}.live-existing-row>strong{display:block;margin-bottom:7px;font-size:12px}.live-existing-row>div{display:flex;flex-wrap:wrap;gap:7px}.live-existing-row button{border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#262626;color:#fff;padding:8px 10px;cursor:pointer}.live-existing-row button:disabled{opacity:.4;cursor:default}
.live-row-settings .muted{margin:0 0 12px}
@media(max-width:800px){.live-row-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.live-row-grid{flex-direction:column!important}.live-builder-column{width:100%!important;flex:1 1 auto!important}}


/* Navigation visibility manager — 4.7.21 */
.admin-form.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.navigation-visibility-item{align-items:center;gap:16px;flex-wrap:wrap}
.navigation-link-copy{min-width:180px;flex:1 1 220px}
.navigation-visibility-control{display:grid;gap:5px;min-width:190px}
.navigation-visibility-control>span{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.navigation-visibility-control select{min-height:40px;padding:8px 34px 8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--text);font:inherit}
.navigation-visibility-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border-radius:999px;background:rgba(127,127,127,.12);font-size:11px;font-weight:900;white-space:nowrap}
.navigation-visibility-badge.visibility-hidden{opacity:.55}
.navigation-visibility-badge.visibility-mentorship{background:rgba(244,123,32,.13);color:var(--accent)}
.navigation-core-note{font-size:10px;color:var(--muted);max-width:150px;line-height:1.35}
@media(max-width:760px){.admin-form.three{grid-template-columns:1fr}.navigation-visibility-item{align-items:stretch}.navigation-visibility-control{width:100%;min-width:0}.navigation-visibility-control select{width:100%}.navigation-visibility-badge{justify-self:start}}


/* =========================================================
   WeYada 4.7.25 — Similar-interest summary recommendations
   ========================================================= */
.book-summary-page{
  width:min(1180px,100%);
}
.book-summary-recommendations{
  width:100%;
  margin-top:clamp(42px,6vw,68px);
  padding-top:clamp(24px,4vw,34px);
  border-top:1px solid var(--line);
  text-align:left;
}
.book-summary-recommendation-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.book-summary-recommendation-head h2{
  margin:0;
  font-size:clamp(22px,3vw,30px);
  line-height:1.15;
  font-weight:900;
  color:var(--text);
}
.book-summary-recommendation-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:clamp(12px,1.8vw,20px);
  align-items:start;
}
.book-summary-recommendation{
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.book-summary-recommendation-cover{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#f1f2f4;
  box-shadow:0 8px 24px rgba(15,23,42,.09);
}
.book-summary-recommendation-cover img{
  position:relative;
  z-index:1;
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.book-summary-recommendation-cover [data-cover-placeholder]{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:12px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  text-align:center;
}
.book-summary-recommendation-copy{
  display:block;
  padding-top:10px;
}
.book-summary-recommendation-copy strong,
.book-summary-recommendation-copy small{
  display:block;
}
.book-summary-recommendation-copy strong{
  color:var(--text);
  font-size:14px;
  line-height:1.3;
}
.book-summary-recommendation-copy small{
  margin-top:3px;
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}
.book-summary-recommendation:hover .book-summary-recommendation-cover,
.book-summary-recommendation:focus-visible .book-summary-recommendation-cover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(15,23,42,.14);
}
.book-summary-recommendation:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:5px;
  border-radius:12px;
}
@media(max-width:900px){
  .book-summary-recommendation-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:560px){
  .book-summary-recommendations{margin-top:38px;padding-top:24px;}
  .book-summary-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;}
  .book-summary-recommendation-copy strong{font-size:13px;}
}


/* ==========================================================
   WeYada 4.7.26 — unified book shelf sizing + richer membership comparison
   ========================================================== */
/* Home and Store now use the same responsive cover sizing as Library. */
.home-standard-books-grid,
.audiobook-store-grid,
.library-filter-section .book-grid.audiobook-library-grid{
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:30px 20px !important;
}
.home-standard-book-cover,
.audiobook-store-cover,
.audiobook-card .library-cover{
  width:100% !important;
  aspect-ratio:1/1 !important;
  border-radius:16px !important;
  background:#f0f1f3 !important;
  box-shadow:0 10px 30px rgba(0,0,0,.07) !important;
  overflow:hidden !important;
}
.home-standard-book-cover img,
.audiobook-store-cover img,
.audiobook-card .library-cover img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
@media(max-width:1100px){
  .home-standard-books-grid,
  .audiobook-store-grid,
  .library-filter-section .book-grid.audiobook-library-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media(max-width:800px){
  .home-standard-books-grid,
  .audiobook-store-grid,
  .library-filter-section .book-grid.audiobook-library-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media(max-width:600px){
  .home-standard-books-grid,
  .audiobook-store-grid,
  .library-filter-section .book-grid.audiobook-library-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:22px 12px !important;}
  .home-standard-book-cover,
  .audiobook-store-cover,
  .audiobook-card .library-cover{border-radius:12px !important;}
}

/* Detailed Membership comparison — explanatory content without replacing admin-controlled benefits. */
.membership-tier-grid-detailed{align-items:stretch !important;}
.membership-tier-card-detailed{min-height:0 !important;gap:0;}
.membership-tier-path-label{display:block;margin:0 0 8px;color:var(--accent);font-size:10px;font-weight:900;letter-spacing:.13em;line-height:1.35;}
.membership-tier-card-detailed .membership-tier-top p{min-height:0;margin-bottom:18px;}
.membership-tier-explainer{display:grid;gap:0;margin:4px 0 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.membership-tier-explainer section{padding:16px 0;border-bottom:1px solid var(--line);}
.membership-tier-explainer section:last-child{border-bottom:0;}
.membership-tier-explainer span{display:block;margin-bottom:6px;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.11em;}
.membership-tier-explainer p{margin:0;color:var(--text);font-size:14px;line-height:1.62;}
.membership-tier-difference p{font-weight:650;}
.membership-tier-includes{display:flex;flex-direction:column;flex:1;}
.membership-tier-includes h4{margin:0 0 6px;font-size:15px;}
.membership-tier-includes ul{flex:0 0 auto !important;margin-bottom:22px !important;}
.membership-free-detail{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:14px;line-height:1.55;}
.membership-free-detail strong{color:var(--text);}
.membership-choice-guide{display:grid;gap:24px;}
.membership-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.membership-choice-grid article{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--card);}
.membership-choice-grid article>span{color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;}
.membership-choice-grid h3{margin:8px 0 9px;font-size:21px;}
.membership-choice-grid p{margin:0 0 18px;color:var(--muted);line-height:1.6;flex:1;}
.membership-choice-grid .link-button{align-self:flex-start;color:var(--accent);font-weight:900;text-decoration:none;}
@media(max-width:980px){.membership-choice-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:650px){.membership-choice-grid{grid-template-columns:1fr}.membership-tier-explainer p{font-size:13px;}}
/* Keep the three public book shelves on the same maximum canvas width as well. */
.home-standard-books-section,
.library-filter-section,
.audiobook-store-page{
  width:min(1560px,100%) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}


/* ==========================================================
   WeYada 4.7.27 — authoritative shelf sizing + membership route repair
   ========================================================== */
/* One shared grid class now controls Home, Library and Store so legacy page CSS cannot diverge them. */
.weyada-unified-book-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:30px 20px !important;
  width:100% !important;
  min-width:0 !important;
  align-items:start !important;
}
.weyada-unified-book-cover{
  position:relative !important;
  display:block !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  margin:0 !important;
  padding:0 !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:#f0f1f3 !important;
  box-shadow:0 10px 30px rgba(0,0,0,.07) !important;
}
.weyada-unified-book-cover img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
/* Store uses the exact same usable shelf canvas as Library. */
.library-filter-section,
.audiobook-store-page{
  width:min(1440px,100%) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:clamp(12px,2vw,28px) !important;
  padding-right:clamp(12px,2vw,28px) !important;
}
@media(max-width:1100px){.weyada-unified-book-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}}
@media(max-width:800px){.weyada-unified-book-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}}
@media(max-width:600px){
  .weyada-unified-book-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:22px 12px !important;}
  .weyada-unified-book-cover{border-radius:12px !important;}
}

/* Rich, visible comparison matrix for the Compare all membership details page. */
.membership-detail-matrix-section{display:grid;gap:24px;margin-top:64px;}
.membership-detail-matrix{display:grid;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--card);}
.membership-matrix-row{display:grid;grid-template-columns:minmax(150px,.7fr) repeat(var(--membership-tier-count,3),minmax(190px,1fr));border-top:1px solid var(--line);}
.membership-matrix-row:first-child{border-top:0;}
.membership-matrix-row>span,.membership-matrix-row>strong,.membership-matrix-row>div{min-width:0;padding:18px;border-left:1px solid var(--line);}
.membership-matrix-row>*:first-child{border-left:0;}
.membership-matrix-row>span{font-weight:900;color:var(--text);background:color-mix(in srgb,var(--card) 88%,var(--bg));}
.membership-matrix-row>div{display:grid;align-content:start;gap:6px;}
.membership-matrix-row>div strong{font-size:14px;line-height:1.35;}
.membership-matrix-row>div small{color:var(--muted);font-size:12px;line-height:1.5;}
.membership-matrix-head{background:#111;color:#fff;border-top:0;}
.membership-matrix-head>strong{font-size:12px;letter-spacing:.08em;}
.membership-matrix-head>strong:not(:first-child){text-align:left;}
@media(max-width:980px){
  .membership-detail-matrix{overflow-x:auto;}
  .membership-matrix-row{grid-template-columns:140px repeat(var(--membership-tier-count,3),minmax(210px,1fr));}
}
@media(max-width:650px){.membership-detail-matrix-section{margin-top:46px;}}

/* ==========================================================
   WeYada 4.7.28 — editable Home dynamic modules + alignment
   ========================================================== */
.growth-teaser .teaser-section-copy,
.live-events-teaser .teaser-section-copy{
  flex:1 1 auto;
  min-width:0;
}
.growth-teaser[data-text-align="center"] .teaser-section-copy,
.live-events-teaser[data-text-align="center"] .teaser-section-copy{text-align:center!important}
.growth-teaser[data-text-align="right"] .teaser-section-copy,
.live-events-teaser[data-text-align="right"] .teaser-section-copy{text-align:right!important}

.builder-dynamic-home-module{padding:14px!important;overflow:hidden}
.builder-dynamic-module-label{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px;color:var(--muted)}
.builder-dynamic-module-preview{pointer-events:none;overflow:hidden}
.builder-dynamic-module-preview .growth-teaser,
.builder-dynamic-module-preview .live-events-teaser{width:auto!important;margin:0!important;padding:18px!important}
.builder-dynamic-module-preview .growth-teaser-grid{gap:8px!important}
.builder-dynamic-module-preview .growth-teaser-grid button{min-height:110px!important;padding:14px!important}
.builder-dynamic-module-preview .growth-teaser-grid strong{font-size:15px!important}
.builder-dynamic-module-preview .growth-teaser-grid span{font-size:12px!important}
.builder-dynamic-module-preview .live-events-teaser>article{grid-template-columns:1fr!important;gap:8px!important;padding:12px 0!important}

.dynamic-module-editor-list{display:grid;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(127,127,127,.22)}
.dynamic-module-editor-list>h4{margin:0}
.dynamic-module-editor-card{display:grid;gap:10px;padding:12px;border:1px solid rgba(127,127,127,.22);border-radius:12px;background:rgba(127,127,127,.04)}
.dynamic-module-editor-card label{margin:0!important}
.dynamic-module-editor-card textarea{min-height:84px}

.live-editor-section [data-growth-teaser-kicker][contenteditable="true"],
.live-editor-section [data-growth-teaser-heading][contenteditable="true"],
.live-editor-section [data-growth-teaser-text][contenteditable="true"],
.live-editor-section [data-growth-teaser-button][contenteditable="true"],
.live-editor-section [data-growth-path-title][contenteditable="true"],
.live-editor-section [data-growth-path-description][contenteditable="true"],
.live-editor-section [data-live-teaser-kicker][contenteditable="true"],
.live-editor-section [data-live-teaser-heading][contenteditable="true"],
.live-editor-section [data-live-teaser-text][contenteditable="true"],
.live-editor-section [data-live-teaser-button][contenteditable="true"],
.live-editor-section [data-live-event-title][contenteditable="true"],
.live-editor-section [data-live-event-description][contenteditable="true"]{
  outline:1px dashed rgba(22,189,244,.55);
  outline-offset:2px;
  cursor:text!important;
}

@media(max-width:700px){
  .growth-teaser .section-head,
  .live-events-teaser .section-head{align-items:flex-start}
}

/* ==========================================================
   WeYada 4.7.29 — System branding, SEO/Google restore,
   and membership hero containment
   ========================================================== */
.maintenance-inner{
  width:100%;
  max-width:none;
  display:flex;
  align-items:center;
  justify-content:center;
}
.maintenance-page-logo{
  display:block;
  max-width:82vw;
  max-height:52vh;
  object-fit:contain;
}
.maintenance-scene-preview{display:grid;gap:12px}
.maintenance-scene-canvas{
  position:relative;
  width:min(100%,760px);
  min-height:320px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(135deg,#0f172a,#111827 50%,#1f2937);
}
.maintenance-scene-bg,.maintenance-scene-fallback{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.maintenance-scene-fallback{background:linear-gradient(135deg,#0f172a,#111827 50%,#1f2937)}
.maintenance-scene-shade{position:absolute;inset:0;background:rgba(0,0,0,.46)}
.maintenance-scene-logo{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  padding:24px;text-align:center;color:rgba(255,255,255,.72);font-weight:800;
}
.maintenance-scene-logo img{display:block;max-width:78%;max-height:70%;object-fit:contain}
.maintenance-scene-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:700px){.maintenance-scene-canvas{min-height:220px}.maintenance-scene-actions .btn{flex:1 1 auto}}

.seo-admin-page{display:grid;gap:22px;max-width:1180px}
.seo-admin-section{
  padding:22px;border:1px solid rgba(127,127,127,.2);border-radius:18px;background:var(--surface,#fff);
}
.seo-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.seo-section-head h4{margin:0 0 6px;font-size:20px}
.seo-section-head p{margin:0;color:var(--muted);line-height:1.55}
.seo-connection-pill{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}
.seo-connection-pill.connected{background:#def7e7;color:#176c38}
.seo-connection-pill.not-connected{background:#fff0d9;color:#8a5100}
.google-console-settings .seo-connect-callout{margin:0 0 18px}
.google-console-settings textarea[name="privateKey"]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.45}
.seo-google-setup-steps{margin-top:18px;padding:18px;border-radius:14px;background:rgba(127,127,127,.07)}
.seo-google-setup-steps strong{display:block;margin-bottom:8px}
.seo-google-setup-steps ol{margin:0;padding-left:20px;line-height:1.65;color:var(--muted)}
.seo-mini-label{margin-top:12px}
.seo-performance-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:22px}
.seo-performance-grid>div{min-width:0}
.seo-query-list{display:grid;gap:8px}
.seo-query-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid rgba(127,127,127,.16);border-radius:10px}
.seo-query-list span{min-width:0}
.seo-query-list b,.seo-query-list small{display:block}
.seo-query-list b{overflow-wrap:anywhere}
.seo-query-list small{margin-top:3px;color:var(--muted)}
.seo-query-list>div>strong{flex:0 0 auto}
.seo-top-pages{margin-top:20px}
.seo-top-pages h4{margin-bottom:10px}
.admin-table-scroll{overflow:auto}
@media(max-width:820px){.seo-section-head{flex-direction:column}.seo-performance-grid{grid-template-columns:1fr}.seo-admin-section{padding:18px}.seo-score-card{padding:18px}}

.membership-page > .membership-hero:first-child{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  box-sizing:border-box !important;
  border-radius:28px !important;
}
.membership-hero{min-width:0 !important;box-sizing:border-box !important}
.membership-hero-copy,.membership-hero-card{min-width:0 !important;max-width:100% !important}
.membership-hero h1,
.membership-hero-copy>p,
.membership-hero-card h2,
.membership-hero-card p{
  overflow-wrap:anywhere;
  word-break:normal;
}
@media(max-width:620px){
  .membership-page > .membership-hero:first-child{border-radius:22px !important}
}
body.maintenance-active .topbar,
body.maintenance-active .mobile-nav-backdrop,
body.maintenance-active .mobile-nav-drawer{display:none !important}
body.maintenance-active #app{min-height:100vh !important}
body.maintenance-active .maintenance-screen{min-height:100vh !important}


/* ==========================================================
   WeYada 4.7.31 — mobile hero text lowered
   ========================================================== */
.system-page-editable{--system-text-align:left}
.system-page-editable[data-system-text-align="center"] :is(h1,h2,h3,h4,h5,h6,p){text-align:center}
.system-page-editable[data-system-text-align="right"] :is(h1,h2,h3,h4,h5,h6,p){text-align:right}
.live-editing-page .system-page-editable [data-system-text-editable="true"]{cursor:text;outline:1px dashed transparent;border-radius:4px;transition:outline-color .15s,background .15s}
.live-editing-page .system-page-editable [data-system-text-editable="true"]:hover,.live-editing-page .system-page-editable .live-system-text-editable:focus{outline:2px solid var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.live-editing-page .system-page-editable .live-system-text-editable:focus{outline-offset:3px}
.system-page-editing-help{padding:12px 14px;border:1px solid rgba(255,255,255,.13);border-radius:10px;background:rgba(255,255,255,.04);margin-bottom:14px}
.system-page-editing-help strong{display:block;margin-bottom:5px}.system-page-editing-help p{margin:0;color:#aaa;line-height:1.45}
.builder-route-full-preview .builder-route-preview{max-height:720px;overflow:auto;background:#f6f6f7;border-radius:10px;padding:8px}
.builder-route-full-preview .builder-route-preview>.page{padding:18px!important}


/* ==========================================================
   WeYada 4.7.33 — full-size builder preview + mobile full bleed
   ========================================================== */
/* Give the Page Builder a website-sized canvas instead of a cramped card. */
.builder-shell.builder-shell-expanded{
  grid-template-columns:190px minmax(0,1fr) 320px !important;
  gap:18px !important;
  width:100% !important;
  max-width:none !important;
}
.builder-shell-expanded .builder-canvas{
  width:100% !important;
  max-width:none !important;
  padding:12px !important;
  overflow:auto !important;
}
.builder-shell-expanded .builder-page{
  width:100% !important;
  max-width:none !important;
  min-height:760px !important;
  border-radius:0 !important;
  box-shadow:0 0 0 1px rgba(15,23,42,.08),0 16px 40px rgba(15,23,42,.08);
}
.builder-shell-expanded .builder-canvas.desktop .builder-page{
  width:100% !important;
}
/* Desktop banner preview follows the live homepage hero footprint. */
.builder-shell-expanded .builder-canvas.desktop .builder-banner{
  width:100% !important;
  min-height:clamp(500px,42vw,720px) !important;
  padding:clamp(42px,5vw,72px) !important;
  align-items:center !important;
  border:0 !important;
  border-radius:0 !important;
  background-size:cover !important;
  background-position:center !important;
}
.builder-shell-expanded .builder-canvas.tablet .builder-banner{
  min-height:620px !important;
}
.builder-shell-expanded .builder-canvas.mobile .builder-banner{
  min-height:730px !important;
  padding:255px 22px 38px !important;
  align-items:flex-end !important;
  border-radius:0 !important;
}
/* Make banner button management obvious and always usable. */
.builder-shell-expanded .banner-button-editor{
  margin-top:20px !important;
  padding-top:18px !important;
  border-top:2px solid var(--line) !important;
}
.builder-shell-expanded .banner-button-editor-head{
  position:sticky;
  top:0;
  z-index:2;
  padding:8px 0;
  background:#fff;
}
.builder-shell-expanded .banner-button-editor-head .btn{
  min-height:40px;
}
.builder-shell-expanded .banner-button-row-actions .danger{
  min-width:72px;
}
/* Home mobile dark sections must touch both screen edges. */
@media(max-width:650px){
  .page.home-page .home-revelation-section,
  .page.home-page .home-final-cta,
  .page.home-page > .section[style*="background-color:#111"],
  .page.home-page > .section[style*="background-color: #111"],
  .page.home-page > .section[style*="background-color:#000"],
  .page.home-page > .section[style*="background-color: #000"]{
    width:calc(100% + 36px) !important;
    max-width:none !important;
    margin-left:-18px !important;
    margin-right:-18px !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }
  .page.home-page .home-revelation-section{
    left:auto !important;
    right:auto !important;
  }
  .builder-shell.builder-shell-expanded{
    grid-template-columns:1fr !important;
  }
}
@media(min-width:651px) and (max-width:1180px){
  .builder-shell.builder-shell-expanded{
    grid-template-columns:1fr !important;
  }
  .builder-shell-expanded .builder-panel.sticky{position:static !important}
}

/* =========================================================
   WeYada 4.7.34 — Yada meaning / School of Intimacy section
   ========================================================= */
.home-yada-section{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(32px,6vw,86px);
  align-items:start;
  padding-top:clamp(64px,8vw,110px);
  padding-bottom:clamp(64px,8vw,110px);
  border-bottom:1px solid var(--line);
}
.home-yada-heading h2{
  margin:0;
  font-size:clamp(38px,5vw,68px);
  line-height:1.02;
  letter-spacing:-.045em;
  max-width:720px;
}
.home-yada-copy .builder-preserved-text{max-width:820px}
.home-yada-copy .builder-preserved-text p{
  margin:0 0 20px;
  font-size:clamp(17px,1.6vw,20px);
  line-height:1.75;
  color:var(--muted);
}
.home-yada-copy .builder-preserved-text p:first-child{
  font-size:clamp(20px,2vw,25px);
  line-height:1.55;
  color:var(--text);
  font-weight:700;
}
.home-yada-copy .builder-preserved-text p:last-child{margin-bottom:0}
@media(max-width:800px){
  .home-yada-section{grid-template-columns:1fr;gap:26px;padding-top:58px;padding-bottom:58px}
  .home-yada-heading h2{font-size:clamp(36px,10vw,50px)}
}

/* ==========================================================
   WeYada 4.7.35 — live column freedom + pixel text positioning
   ========================================================== */
:where(.hero,.section,.system-page-editable,.route-functional-module)[style*="--weyada-text-offset-x"] :where(h1,h2,h3,h4,h5,h6,p,li,.eyebrow,.home-kicker,.membership-eyebrow,.builder-preserved-text,.home-signature,.featured-label,.membership-tier-path-label,.membership-hero-card-label,.membership-trial-badge){position:relative!important;left:var(--weyada-text-offset-x,0px)!important;top:var(--weyada-text-offset-y,0px)!important}
.live-offset-values{display:grid;grid-template-columns:1fr 1fr;gap:10px}.live-offset-values small{display:block;margin-top:5px;color:#858585;font-size:11px;font-weight:500}.live-text-nudge{margin-top:12px}.live-text-nudge>label{max-width:150px}.live-text-nudge-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.live-text-nudge-buttons button{min-height:42px;border:1px solid rgba(127,127,127,.28);border-radius:9px;background:transparent;color:inherit;font-weight:800;cursor:pointer}.live-text-nudge-buttons button:hover{border-color:var(--accent,#f47b20)}.live-text-nudge-buttons .live-nudge-reset{grid-column:1/-1}.live-editor-column-section>.live-section-toolbar [data-live-column-shift]{white-space:nowrap}
@media(max-width:700px){.live-offset-values{grid-template-columns:1fr}.live-text-nudge-buttons{grid-template-columns:1fr 1fr}.live-editor-column-section>.live-section-toolbar [data-live-column-shift]{display:inline-flex!important}}

/* =========================================================
   WeYada 4.7.36 — direct text formatting toolbar
   Highlight editable text on the live page to style it without
   opening Section Settings.
   ========================================================= */
.live-text-direct-edit{cursor:text;outline-offset:3px}
.live-text-direct-edit:focus{outline:2px solid color-mix(in srgb,var(--accent,#f47b20) 68%,transparent)!important}
.live-text-direct-edit::selection,.live-text-direct-edit *::selection{background:color-mix(in srgb,var(--accent,#f47b20) 36%,#fff);color:inherit}
.live-text-format-toolbar{position:fixed;z-index:10180;width:min(330px,calc(100vw - 20px));max-height:min(520px,calc(100vh - 20px));overflow:auto;padding:12px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(24,24,24,.98);color:#fff;box-shadow:0 20px 60px rgba(0,0,0,.42);backdrop-filter:blur(18px);font-family:Arial,sans-serif;text-align:left}
.live-text-toolbar-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-bottom:11px;cursor:default;user-select:none}.live-text-toolbar-head strong{font-size:13px}.live-text-toolbar-head span{font-size:11px;color:#aaa}.live-text-toolbar-head button{width:28px;height:28px;border:0;border-radius:7px;background:rgba(255,255,255,.09);color:#fff;font-size:19px;cursor:pointer}
.live-text-toolbar-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.live-text-toolbar-grid label,.live-text-position-box label{display:grid;gap:4px;min-width:0;font-size:10px;font-weight:800;color:#bbb}.live-text-toolbar-grid input,.live-text-toolbar-grid select,.live-text-position-box input{width:100%;min-width:0;height:34px;padding:0 8px;border:1px solid rgba(255,255,255,.17);border-radius:7px;background:#111;color:#fff;font-size:12px}.live-text-toolbar-grid input[type="color"]{padding:3px}
.live-text-position-box{margin-top:11px;padding-top:10px;border-top:1px solid rgba(255,255,255,.12)}.live-text-position-box>strong{display:block;margin-bottom:7px;font-size:11px}.live-text-position-box>div{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;align-items:end}.live-text-position-box button{height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.18);border-radius:7px;background:transparent;color:#fff;font-size:11px;font-weight:800;cursor:pointer}
.weyada-rich-inline{display:inline-block;max-width:100%}
@media(max-width:520px){.live-text-format-toolbar{width:min(330px,calc(100vw - 16px));max-width:calc(100vw - 16px);max-height:55vh}.live-text-toolbar-grid{grid-template-columns:1fr 1fr}.live-text-position-box>div{grid-template-columns:1fr 1fr}.live-text-position-box button{grid-column:1/-1}.live-text-toolbar-head span{display:none}}

/* =========================================================
   One Thought Closer · Devotion
   ========================================================= */
.devotion-page{max-width:1120px;margin:0 auto;padding:28px 20px 70px}.devotion-hero{padding:52px;border-radius:28px;background:#171717;color:#fff;overflow:hidden}.devotion-hero>span,.devotion-day-kicker span:first-child{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.devotion-hero h1{font-size:clamp(40px,7vw,76px);line-height:.95;margin:12px 0 16px}.devotion-hero>p{max-width:760px;font-size:18px;line-height:1.65;opacity:.88}.devotion-progress-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}.devotion-progress-row>div{display:flex;flex-direction:column;padding:15px 0}.devotion-progress-row strong{font-size:26px}.devotion-progress-row span{font-size:12px;opacity:.72}.devotion-progress-track{height:7px;background:rgba(255,255,255,.18);border-radius:999px;overflow:hidden}.devotion-progress-track span{display:block;height:100%;background:var(--accent,#f47b20);border-radius:999px}.devotion-day-card,.devotion-locked-card,.devotion-complete-card{margin-top:24px;padding:34px;border-radius:24px;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 18px 50px rgba(0,0,0,.06)}.devotion-day-kicker{display:flex;justify-content:space-between;gap:20px;color:var(--accent,#f47b20);font-weight:700}.devotion-day-card>h2{font-size:clamp(30px,5vw,48px);margin:10px 0 24px}.devotion-day-card section{padding:22px 0;border-top:1px solid rgba(0,0,0,.08)}.devotion-day-card section:first-of-type{border-top:0}.devotion-day-card h3{margin:0 0 10px;font-size:18px}.devotion-day-card p{font-size:17px;line-height:1.75;margin:0}.devotion-scripture{background:rgba(0,0,0,.025);padding:22px!important;border-radius:18px}.devotion-scripture strong{display:block;margin-bottom:10px}.devotion-audio{width:100%;margin:18px 0}.devotion-pause{text-align:center;padding:34px 10px!important}.devotion-pause h3{font-size:24px;max-width:680px;margin:0 auto 10px}.devotion-pause p{max-width:620px;margin:0 auto 18px}.devotion-timer{font-size:clamp(42px,9vw,74px);font-weight:800;letter-spacing:-.04em;margin-top:20px}.devotion-reflection{margin-top:18px;padding-top:26px;border-top:1px solid rgba(0,0,0,.08)}.devotion-reflection .field strong{display:block;font-size:20px;line-height:1.45;margin:8px 0 14px}.devotion-reflection textarea{min-height:150px}.devotion-reflection small{display:block;margin-top:10px;color:#777}.devotion-journal{margin-top:34px}.devotion-journal-entry{padding:20px 0;border-bottom:1px solid rgba(0,0,0,.1)}.devotion-journal-entry>div{display:flex;justify-content:space-between;gap:20px;margin-bottom:8px}.devotion-journal-entry>div span{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--accent,#f47b20)}.devotion-journal-entry p{line-height:1.65;margin-bottom:0}.devotion-home-card{margin:22px auto;max-width:1200px;padding:30px;border-radius:22px;background:#171717;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:28px}.devotion-home-card>div{max-width:760px}.devotion-home-card h2{font-size:34px;margin:8px 0}.devotion-home-card p{opacity:.86;line-height:1.6}.devotion-home-card small{display:block;margin-top:12px;opacity:.72}.devotion-admin-stats{display:flex;gap:10px;flex-wrap:wrap}.devotion-admin-stats span{padding:10px 12px;background:rgba(0,0,0,.05);border-radius:12px}.devotion-day-editor{margin-top:28px;padding-top:24px;border-top:1px solid rgba(0,0,0,.1)}.devotion-day-picker select{min-width:180px}.devotion-config-form{margin-top:20px}
@media(max-width:700px){.devotion-page{padding:16px 12px 48px}.devotion-hero{padding:30px 22px;border-radius:20px}.devotion-progress-row{gap:8px}.devotion-progress-row strong{font-size:21px}.devotion-progress-row span{font-size:10px}.devotion-day-card,.devotion-locked-card,.devotion-complete-card{padding:22px 18px;border-radius:18px}.devotion-day-kicker{flex-direction:column;gap:5px}.devotion-home-card{margin:16px 12px;padding:24px 20px;display:block}.devotion-home-card .btn{width:100%;margin-top:18px}.devotion-home-card h2{font-size:28px}.devotion-admin-stats{margin-top:12px}.devotion-day-editor .section-head{display:block}.devotion-day-picker{margin-top:14px}.devotion-day-picker select{width:100%}}

/* WeYada 4.7.40 — reliable Book Editor force save */
.book-editor-force-save{margin-top:18px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:16px;background:#fff;position:relative;z-index:2}
.book-editor-force-save>div{display:flex;flex-direction:column;gap:3px}.book-editor-force-save strong{font-size:15px}.book-editor-force-save span{color:var(--muted);font-size:13px}.book-editor-force-save .btn{min-width:150px}
@media(max-width:620px){.book-editor-force-save{align-items:stretch;flex-direction:column}.book-editor-force-save .btn{width:100%}}


/* WeYada 4.7.43 — homepage Feature of the Month */
.hero-layout{width:100%;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:42px}
.hero.hero-has-monthly-feature .hero-layout{grid-template-columns:minmax(0,1fr) minmax(220px,340px)}
.hero.hero-has-monthly-feature .hero-inner{max-width:820px}
.hero-monthly-feature{display:flex;justify-content:flex-end;align-items:center;min-width:0}
.hero-monthly-feature-card{position:relative;width:min(100%,320px);padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;display:block}
.hero-monthly-feature-card:focus-visible{outline:3px solid var(--accent);outline-offset:6px;border-radius:18px}
.hero-monthly-feature-label{position:absolute;z-index:3;top:14px;right:14px;padding:8px 11px;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 8px 20px rgba(0,0,0,.22)}
.hero-monthly-feature-cover{display:block;aspect-ratio:2/3;width:100%;overflow:hidden;border-radius:18px;background:rgba(255,255,255,.1);box-shadow:0 24px 55px rgba(0,0,0,.35)}
.hero-monthly-feature-cover img:not([hidden]){display:block;width:100%;height:100%;object-fit:cover}
.hero-monthly-feature-cover [data-cover-placeholder]{display:grid;place-items:center;width:100%;height:100%;padding:24px;text-align:center;color:#fff;font-weight:800}
.hero-monthly-feature-copy{display:flex;flex-direction:column;gap:4px;padding:14px 4px 0;color:#fff}
.hero-monthly-feature-copy strong{font-size:18px;line-height:1.25}
.hero-monthly-feature-copy small{opacity:.76;font-size:13px}
.hero-monthly-feature-copy>span{margin-top:5px;color:var(--accent);font-weight:800;font-size:13px}
.feature-of-month-toggle{margin:4px 0 18px;padding:16px;border:1px solid #e6e7eb;border-radius:14px;background:#fafafa}
@media(max-width:900px){.hero.hero-has-monthly-feature .hero-layout{grid-template-columns:1fr}.hero-monthly-feature{justify-content:flex-start}.hero-monthly-feature-card{width:min(260px,72vw)}}
@media(max-width:600px){.hero-layout{gap:28px}.hero-monthly-feature{justify-content:center}.hero-monthly-feature-card{width:min(230px,68vw)}.hero-monthly-feature-label{top:10px;right:10px;font-size:10px;padding:7px 9px}.hero-monthly-feature-copy{text-align:center}}


/* WeYada 4.7.43 — seamless moving homepage hero */
.hero.hero-infinite-banner{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(500px,64vw,720px)!important;padding:clamp(48px,8vw,88px) 24px!important;align-items:center!important;justify-content:center!important;background:#171717!important;background-image:none!important;background-size:auto!important;background-position:center!important;background-repeat:no-repeat!important}
.hero-infinite-motion{position:absolute;z-index:-3;inset:0;overflow:hidden;pointer-events:none}
.hero-infinite-track{height:100%;width:200%;display:flex;will-change:transform;animation:weyadaHeroInfiniteSlide var(--hero-slide-duration,24s) linear infinite}
.hero-infinite-track>span{display:block;flex:0 0 50%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-motion-overlay{position:absolute;z-index:-2;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(0,0,0,.42),rgba(0,0,0,.58))}
.hero.hero-infinite-banner .hero-layout{width:min(100%,1120px)!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
.hero.hero-infinite-banner .hero-inner{position:relative;z-index:1;width:min(100%,900px)!important;max-width:900px!important;margin:0 auto!important;text-align:center!important}
.hero.hero-infinite-banner .hero-copy,.hero.hero-infinite-banner .builder-preserved-text,.hero.hero-infinite-banner .builder-preserved-text p{margin-left:auto!important;margin-right:auto!important;text-align:center!important}
.hero.hero-infinite-banner .actions{justify-content:center!important;align-items:center!important}
.hero.hero-infinite-banner .eyebrow,.hero.hero-infinite-banner h1{text-align:center!important}
@keyframes weyadaHeroInfiniteSlide{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media(max-width:760px){
 .hero.hero-infinite-banner{min-height:560px!important;padding:48px 20px!important;align-items:center!important;background-image:none!important}
 .hero.hero-infinite-banner .hero-layout{min-height:100%;display:flex!important;align-items:center!important;justify-content:center!important}
 .hero.hero-infinite-banner .hero-inner{max-width:640px!important;text-align:center!important}
 .hero.hero-infinite-banner h1{font-size:clamp(38px,12vw,58px)!important}
 .hero.hero-infinite-banner .actions{width:100%;justify-content:center!important}
 .hero.hero-infinite-banner .actions .btn{text-align:center}
 .hero-infinite-track>span{background-position:center center}
 .hero-motion-overlay{background:rgba(0,0,0,.52)}
}
@media(max-width:480px){
 .hero.hero-infinite-banner{min-height:520px!important;padding:42px 18px!important}
 .hero.hero-infinite-banner .actions{gap:10px}
 .hero.hero-infinite-banner .actions .btn{min-width:140px}
}
@media(prefers-reduced-motion:reduce){.hero-infinite-track{animation-duration:60s}}

/* 4.7.44 responsive infinite hero artwork */
.hero-infinite-track>.hero-infinite-panel{display:block;flex:0 0 50%;height:100%;background-image:var(--hero-desktop-bg);background-size:auto 100%;background-position:center center;background-repeat:no-repeat;background-color:#171717}
.builder-mobile-background{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
@media(max-width:767px){
 .hero-infinite-track>.hero-infinite-panel{background-image:var(--hero-mobile-bg,var(--hero-desktop-bg));background-size:auto 100%;background-position:center center}
 .hero.hero-infinite-banner{min-height:clamp(500px,145vw,680px)!important;padding:36px 18px!important}
}
@media(min-width:768px){
 .hero.hero-infinite-banner{min-height:clamp(460px,46vw,700px)!important}
}

/* 4.7.45 banner image grouping and speed control */
.builder-banner-media-group{display:grid;gap:14px}.builder-banner-upload-pair{display:grid;gap:14px}.builder-banner-upload-item{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafafa}.builder-banner-upload-item>strong{font-size:13px}.builder-banner-speed-control{display:grid!important;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafafa}.builder-banner-speed-control>span{display:flex;align-items:center;justify-content:space-between;gap:12px}.builder-banner-speed-control output{font-weight:800;color:var(--accent)}.builder-banner-speed-control input[type=range]{width:100%;accent-color:var(--accent)}

/* 4.7.53 true edge-to-edge seamless hero loop */
.hero-infinite-motion{overflow:hidden!important;background:#171717}
.hero-infinite-track{
  width:max-content!important;
  min-width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:stretch!important;
  gap:0!important;
  animation:weyadaHeroTileLoop var(--hero-slide-duration,24s) linear infinite!important;
}
.hero-infinite-tile{
  display:block!important;
  flex:0 0 auto!important;
  height:100%!important;
  line-height:0!important;
  margin:0!important;
  padding:0!important;
}
.hero-infinite-tile img{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  height:100%!important;
  object-fit:contain!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  user-select:none!important;
  pointer-events:none!important;
}
@keyframes weyadaHeroTileLoop{
  from{transform:translate3d(-8.3333333%,0,0)}
  to{transform:translate3d(-16.6666667%,0,0)}
}
@media(prefers-reduced-motion:reduce){
 .hero-infinite-track{animation-duration:60s!important}
}


/* 4.7.54 frontend banner speed control */
.live-banner-speed-toolbar{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:4px 7px!important;border-radius:7px!important;background:#303030!important;color:#fff!important;font:700 10px/1 system-ui,-apple-system,sans-serif!important;white-space:nowrap!important}
.live-banner-speed-toolbar span{font-weight:800}.live-banner-speed-toolbar input{width:72px!important;min-width:72px!important;margin:0!important;padding:0!important;accent-color:var(--accent,#16bdf4)}.live-banner-speed-toolbar output{min-width:12px;text-align:center;font-weight:900}
.live-banner-speed-setting>div{display:flex;align-items:center;gap:10px}.live-banner-speed-setting input[type=range]{flex:1;min-width:0;accent-color:var(--accent,#16bdf4)}.live-banner-speed-setting output{min-width:48px;font-weight:800}.live-banner-speed-setting small{display:block;margin-top:6px;color:var(--muted,#737373)}
@media(max-width:700px){.live-banner-speed-toolbar input{width:58px!important;min-width:58px!important}.live-banner-speed-toolbar{padding:4px 6px!important}}


/* 4.7.56 mobile banner fallback + book action visibility */
.book-reference-play{background:#e2e2e3!important;color:#1f1f1f!important;border:1px solid #c9c9ca!important}
.book-reference-play:hover{background:#d7d7d8!important}
.book-reference-read{background:#1f1f1f!important;color:#fff!important;border:1px solid #1f1f1f!important}
.book-reference-read:hover{background:#111!important}
.book-reference-cart.audiobook-store-cart{position:static!important;inset:auto!important;flex:0 0 auto!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;margin:0!important;background:rgba(255,255,255,.96)!important;border:1px solid #d2d2d2!important;color:#111!important;box-shadow:0 4px 14px rgba(0,0,0,.12)!important}
.book-reference-cart.audiobook-store-cart:hover{transform:translateY(-1px) scale(1.03)!important}
@media(max-width:767px){
 .hero-infinite-motion.hero-uses-desktop-on-mobile .hero-infinite-tile{width:100vw!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#171717!important}
 .hero-infinite-motion.hero-uses-desktop-on-mobile .hero-infinite-tile img{width:100%!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
}


/* 4.7.56 buffered seamless hero strip */
.hero-infinite-track{transform:translate3d(-8.3333333%,0,0)}
.hero-infinite-motion{contain:paint;clip-path:inset(0)}

/* 4.7.58 required book ratings */
.book-rating-summary{margin:14px 0 8px;display:grid;gap:10px;max-width:420px}
.book-rating-overview{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.book-rating-overview>strong{font-size:22px;line-height:1}.book-rating-overview>span:last-child{font-size:13px;color:var(--muted)}
.book-rating-stars{letter-spacing:2px;font-size:18px;color:var(--accent,#00bfff);white-space:nowrap}
.book-rating-breakdown{display:grid;gap:4px;max-width:300px}.book-rating-breakdown>div{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:7px;font-size:11px}.book-rating-breakdown i{display:block;height:5px;background:#e7e7e7;border-radius:999px;overflow:hidden}.book-rating-breakdown i b{display:block;height:100%;background:var(--accent,#00bfff);border-radius:inherit}.book-rating-breakdown small{text-align:right;color:var(--muted)}
.required-rating-dialog{text-align:center;max-width:460px;margin:auto}.required-rating-stars{display:flex;justify-content:center;gap:5px;margin:22px 0 8px}.required-rating-stars button{appearance:none;border:0;background:transparent;color:#c9c9c9;font-size:42px;line-height:1;cursor:pointer;padding:5px;transition:transform .12s ease,color .12s ease}.required-rating-stars button.selected{color:var(--accent,#00bfff)}.required-rating-stars button:hover{transform:scale(1.08)}
.book-rating-admin-card{margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff)}.book-rating-admin-card h4{margin:0 0 6px}.book-rating-admin-grid{display:grid;grid-template-columns:repeat(5,minmax(85px,1fr));gap:10px;margin-top:14px}.book-rating-admin-grid input{text-align:center}
@media(max-width:700px){.book-rating-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.required-rating-stars button{font-size:36px}.book-rating-breakdown{max-width:100%}}

/* 4.7.60 listening-party editor + chapter subtitles */
.listening-party-testimony-card{margin-top:14px}.listening-party-testimony-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.listening-party-testimony-list{display:grid;gap:12px;margin-top:14px}.listening-party-testimony-row{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafafa;display:grid;gap:10px}.chapter-title-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.audible3-chapters-card .chapter-subtitle-line{display:block;color:var(--muted);font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audible3-chapters-card .chapter-row-button.is-playing .chapter-subtitle-line{color:var(--accent)}
@media(max-width:700px){.listening-party-testimony-head{display:grid}.audible3-chapters-card .chapter-subtitle-line{font-size:11px}}
/* WEYADA 4.7.62 — compact book rating + inline chapter title/subtitle */
.book-rating-summary-compact{margin-top:6px}
.book-rating-summary-compact .book-rating-overview{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.book-rating-summary-compact .book-rating-breakdown{display:none!important}
.chapter-title-copy.chapter-title-inline{display:flex;align-items:baseline;gap:6px;min-width:0;white-space:nowrap;overflow:hidden}
.chapter-title-inline .chapter-title-line,.chapter-title-inline .chapter-subtitle-line{display:inline;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chapter-title-inline .chapter-title-line{flex:0 1 auto}
.chapter-title-inline .chapter-title-separator{flex:0 0 auto;opacity:.55}
.chapter-title-inline .chapter-subtitle-line{font-size:inherit!important;color:inherit!important;opacity:.72;flex:1 1 auto;min-width:0}
@media(max-width:640px){.chapter-title-copy.chapter-title-inline{gap:4px}.chapter-title-inline .chapter-subtitle-line{font-size:.9em!important}}

/* 4.7.63 — book chapter title/subtitle single-line layout */
.book-reference-page .chapter-title-copy.chapter-title-inline,
.audible3-chapters-card .chapter-title-copy.chapter-title-inline{
  flex-direction:row!important;
  align-items:baseline!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  white-space:nowrap!important;
}
.book-reference-page .chapter-title-inline .chapter-title-line,
.book-reference-page .chapter-title-inline .chapter-subtitle-line{
  display:inline!important;
  width:auto!important;
  margin:0!important;
}

/* 4.7.64 — normalize chapter typography + borderless Play button */
.book-reference-page .chapter-title-copy.chapter-title-inline,
.audible3-chapters-card .chapter-title-copy.chapter-title-inline{
  font-size:16px!important;
  line-height:1.35!important;
  color:#1f1f1f!important;
}
.book-reference-page .chapter-title-inline .chapter-title-line,
.book-reference-page .chapter-title-inline .chapter-title-separator,
.book-reference-page .chapter-title-inline .chapter-subtitle-line,
.audible3-chapters-card .chapter-title-inline .chapter-title-line,
.audible3-chapters-card .chapter-title-inline .chapter-title-separator,
.audible3-chapters-card .chapter-title-inline .chapter-subtitle-line{
  font-size:16px!important;
  line-height:1.35!important;
  color:#1f1f1f!important;
  opacity:1!important;
  font-weight:400!important;
}
.book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-title-line,
.book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-title-separator,
.book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-subtitle-line{
  font-size:16px!important;
  color:#1f1f1f!important;
  font-weight:400!important;
}
.book-reference-play{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

/* WEYADA 4.7.72 — section-bound full-bleed backgrounds.
   The section keeps its normal layout; only a background layer reaches the viewport edges. */
.page-builder-section-bg.page-builder-section-fullbleed{
  position:relative!important;
  isolation:isolate!important;
  display:flow-root;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  background-image:none!important;
  background-color:transparent!important;
}
.page-builder-section-bg.page-builder-section-fullbleed::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background-image:var(--weyada-section-bg,none);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  pointer-events:none;
}
.page-builder-section-bg.page-builder-section-fullbleed>.section{
  position:relative;
  width:100%!important;
  max-width:none!important;
}

/* 4.7.71 — mobile book-rating alignment */
@media (max-width: 760px){
  .book-page .book-rating-summary,
  .book-detail-page .book-rating-summary,
  .book-summary-page .book-rating-summary{
    margin-left:auto;
    margin-right:auto;
  }
  .book-page .book-rating-overview,
  .book-detail-page .book-rating-overview,
  .book-summary-page .book-rating-overview{
    justify-content:center;
    text-align:center;
  }
}

/* WEYADA 4.7.76 — manual release email composer */
@media(max-width:780px){
  .release-email-composer-grid{grid-template-columns:1fr!important;}
  .release-email-composer-grid>form{border-right:0!important;border-bottom:1px solid #eee!important;}
  [data-release-email-composer] iframe{height:560px!important;}
}

/* WEYADA 4.7.77 — simplified, readable analytics dashboard */
.visitor-analytics-panel{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:visible!important;
}
.visitor-analytics-panel .analytics-panel-head{
  padding-left:0!important;
  padding-right:0!important;
}
.visitor-analytics-panel .visitor-kpi-grid{
  gap:0!important;
  border-top:1px solid #e7e9ed;
  border-bottom:1px solid #e7e9ed;
}
.visitor-analytics-panel .visitor-kpi-grid article{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:18px 20px!important;
}
.visitor-analytics-panel .visitor-kpi-grid article+article{
  border-left:1px solid #e7e9ed!important;
}
.visitor-analytics-panel .visitor-analytics-grid{
  margin-top:20px;
}
.visitor-analytics-panel .visitor-analytics-grid>div{
  min-width:0;
  padding-right:22px;
}
.visitor-analytics-panel .visitor-analytics-grid>div+div{
  border-left:1px solid #eceef1;
  padding-left:24px;
}
.visitor-analytics-panel .analytics-search-list span{
  background:transparent!important;
  border-radius:0!important;
  padding:9px 0!important;
}
.visitor-analytics-panel .analytics-search-list strong{
  min-width:0;
  overflow-wrap:anywhere;
  padding-right:14px;
}
.visitor-analytics-panel .analytics-search-list b{
  flex:0 0 auto;
}
@media(max-width:900px){
  .visitor-analytics-panel .visitor-kpi-grid article+article{border-left:0!important}
  .visitor-analytics-panel .visitor-kpi-grid article:nth-child(even){border-left:1px solid #e7e9ed!important}
  .visitor-analytics-panel .visitor-kpi-grid article:nth-child(n+3){border-top:1px solid #e7e9ed!important}
  .visitor-analytics-panel .visitor-analytics-grid>div+div{border-left:0;padding-left:0}
  .visitor-analytics-panel .visitor-analytics-grid>div{padding-right:0}
}
@media(max-width:560px){
  .visitor-analytics-panel .visitor-kpi-grid article:nth-child(even){border-left:0!important}
  .visitor-analytics-panel .visitor-kpi-grid article+article{border-top:1px solid #e7e9ed!important}
}

/* WEYADA 4.7.79 — keep paired desktop actions side-by-side on mobile */
@media (max-width:650px){
  :is(
    .actions,
    .admin-action-row,
    .admin-header-actions,
    .admin-inline-actions,
    .admin-table-actions,
    .audible3-secondary-actions,
    .book-cover-actions,
    .book-reference-actions,
    .book-summary-actions,
    .book-upload-actions,
    .builder-book-selector-actions,
    .builder-page-actions,
    .builder-selected-book-actions,
    .chapter-head-actions,
    .chapter-inline-actions,
    .chapter-row-actions,
    .free-account-plan-actions,
    .growth-admin-card-actions,
    .journey-entry-actions,
    .journey-hero-actions,
    .live-admin-actions,
    .live-drawer-actions,
    .live-page-actions,
    .live-studio-live-actions,
    .maintenance-scene-actions,
    .member-admin-actions,
    .member-credit-actions,
    .membership-hero-actions,
    .nav-auth-actions,
    .series-reader-actions,
    .store-inline-actions,
    .study-guide-ai-actions,
    .tier-table-actions
  ):has(> :is(.btn,button,a):nth-child(2)):not(:has(> :is(.btn,button,a):nth-child(3))){
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start;
    gap:8px !important;
    width:auto !important;
    max-width:100%;
  }

  :is(
    .actions,
    .admin-action-row,
    .admin-header-actions,
    .admin-inline-actions,
    .admin-table-actions,
    .audible3-secondary-actions,
    .book-cover-actions,
    .book-reference-actions,
    .book-summary-actions,
    .book-upload-actions,
    .builder-book-selector-actions,
    .builder-page-actions,
    .builder-selected-book-actions,
    .chapter-head-actions,
    .chapter-inline-actions,
    .chapter-row-actions,
    .free-account-plan-actions,
    .growth-admin-card-actions,
    .journey-entry-actions,
    .journey-hero-actions,
    .live-admin-actions,
    .live-drawer-actions,
    .live-page-actions,
    .live-studio-live-actions,
    .maintenance-scene-actions,
    .member-admin-actions,
    .member-credit-actions,
    .membership-hero-actions,
    .nav-auth-actions,
    .series-reader-actions,
    .store-inline-actions,
    .study-guide-ai-actions,
    .tier-table-actions
  ):has(> :is(.btn,button,a):nth-child(2)):not(:has(> :is(.btn,button,a):nth-child(3))) > :is(.btn,button,a){
    width:auto !important;
    max-width:calc(50vw - 22px) !important;
    min-width:0 !important;
    flex:0 1 auto !important;
    padding:9px 11px !important;
    font-size:12px !important;
    line-height:1.2 !important;
    text-align:center;
    white-space:normal !important;
  }
}

/* WEYADA 4.7.82 — Protected Content Mode + Referral Rewards */
.protected-content-surface{position:relative;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.protected-content-surface img{-webkit-user-drag:none;user-drag:none}
.weyada-protection-watermark{position:fixed;inset:72px 0 0 0;z-index:35;pointer-events:none;overflow:hidden;display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));grid-auto-rows:120px;align-items:center;justify-items:center;opacity:.075;transform:rotate(-13deg) scale(1.08);transform-origin:center;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:currentColor}
.weyada-protection-watermark span{white-space:nowrap;padding:6px 10px}
.protected-streaming-note{margin-top:10px;padding:11px 12px;border-radius:10px;background:rgba(0,0,0,.045);font-size:12px;font-weight:800;letter-spacing:.02em}
body.weyada-protected-obscured #app{filter:blur(28px);opacity:.04;pointer-events:none}
body.weyada-protected-obscured::after{content:"WEYADA PROTECTED CONTENT";position:fixed;inset:0;z-index:999999;background:#111;color:#fff;display:grid;place-items:center;font-size:16px;font-weight:800;letter-spacing:.12em}
body.weyada-protected-print .protected-content-surface{display:none!important}
.referral-rule-note{margin-top:14px;font-size:12px;line-height:1.55;color:var(--muted)}
.referral-reward-history{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}
.referral-reward-history h3{margin:0 0 12px}.referral-reward-history>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.referral-reward-history span{font-size:12px;color:var(--muted);text-align:right}
.referral-admin-rules{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;align-items:center;padding-top:10px}.referral-admin-rules strong{font-size:13px}.referral-admin-rules span{font-size:13px;color:var(--muted)}
@media(max-width:650px){.weyada-protection-watermark{grid-template-columns:repeat(2,minmax(130px,1fr));grid-auto-rows:105px;font-size:10px;inset:64px 0 0}.referral-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.referral-stats span{padding:10px 8px}.referral-stats strong{font-size:21px}.referral-reward-history>div{display:grid;gap:3px}.referral-reward-history span{text-align:left}}
@media print{body *{visibility:hidden!important}.protected-content-surface,.protected-content-surface *{display:none!important}body::after{content:"WEYADA protected teaching. Printing is disabled.";visibility:visible!important;position:fixed;inset:0;display:grid;place-items:center;font-size:18px;font-weight:800;color:#111;background:#fff}}


/* 4.7.90 — AI discovery admin + explicit admin session controls */
.admin-command-bar{max-width:1180px;margin:0 auto 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;border:1px solid rgba(127,127,127,.16);border-radius:14px;background:var(--surface,#fff)}
.admin-command-bar>div:first-child{display:grid;gap:2px}.admin-command-bar strong{font-size:15px}.admin-command-actions{display:flex;align-items:center;gap:10px}.admin-signout-btn{font-weight:800}
.ai-discovery-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ai-discovery-overview article{padding:16px;border:1px solid rgba(127,127,127,.16);border-radius:14px;background:rgba(127,127,127,.04)}.ai-discovery-overview span,.ai-discovery-overview small{display:block}.ai-discovery-overview span{font-size:11px;letter-spacing:.08em;font-weight:900;opacity:.65}.ai-discovery-overview strong{display:block;font-size:24px;margin:5px 0}.ai-discovery-overview small{line-height:1.45;opacity:.72}
.ai-crawler-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ai-crawler-grid>span{padding:14px;border-radius:12px;background:rgba(127,127,127,.07)}.ai-crawler-grid b,.ai-crawler-grid small{display:block}.ai-crawler-grid small{margin-top:4px;line-height:1.4;opacity:.7}.ai-discovery-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.ai-discovery-links a{display:inline-flex;padding:9px 12px;border:1px solid rgba(127,127,127,.2);border-radius:10px;text-decoration:none;color:inherit;font-weight:750}.ai-discovery-note{margin:14px 0 0}
@media(max-width:900px){.ai-discovery-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-crawler-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.admin-command-bar{margin:0 14px 14px;align-items:flex-start}.admin-command-actions{display:grid}.admin-command-actions .btn{width:100%}.ai-discovery-overview,.ai-crawler-grid{grid-template-columns:1fr}}

/* 4.7.91 — editable, centered login page */
.auth-login-page{
  justify-items:center;
  align-content:center;
  row-gap:8px;
  padding:clamp(28px,5vh,64px) 20px;
}
.auth-login-page > .section{
  width:min(560px,100%);
  margin:0 auto!important;
  padding-left:0!important;
  padding-right:0!important;
  text-align:center;
}
.auth-login-page > .section h2,
.auth-login-page > .section p{
  margin-left:auto;
  margin-right:auto;
}
.auth-login-page .signin-system-editable{
  width:100%;
}
.auth-login-page .signin-form-section{
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex;
  justify-content:var(--signin-form-justify,center);
  transform:translate(var(--signin-form-x,0),var(--signin-form-y,0));
}
.auth-login-page .signin-card{
  width:min(var(--signin-card-width,460px),100%);
  max-width:100%;
  margin:0;
  background:var(--signin-card-bg,#fff)!important;
  color:var(--signin-card-text,#111)!important;
  border-radius:var(--signin-card-radius,18px)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.22);
}
.auth-login-page .signin-card .field>span,
.auth-login-page .signin-card .signin-options label,
.auth-login-page .signin-card .signin-join-text{
  color:var(--signin-label-color,var(--signin-card-text,#111));
}
.auth-login-page .signin-card .link-button{
  color:var(--signin-link-color,#F39E9E)!important;
}
.auth-login-page .signin-card .signin-submit{
  background:var(--signin-button-bg,#F39E9E)!important;
  color:var(--signin-button-text,#fff)!important;
  border-color:var(--signin-button-border,#F39E9E)!important;
}
.auth-login-page.live-editing-page{
  align-content:center;
}
@media(max-width:700px){
  .auth-login-page{padding:28px 16px;row-gap:10px}
  .auth-login-page > .section{width:100%}
  .auth-login-page .signin-form-section{transform:translate(0,var(--signin-form-y,0))}
}
