
: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}}

/* 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}}
nn/* 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-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))}





@keyframes weyadaHeroInfiniteSlide{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media (max-width:760px){.hero-motion-overlay{background:rgba(0,0,0,.52)}}



/* 4.7.44 responsive infinite hero artwork */

.builder-mobile-background{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}



/* 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 */




@keyframes weyadaHeroTileLoop{from{transform:translate3d(-8.3333333%,0,0)}
  to{transform:translate3d(-16.6666667%,0,0)}}



/* 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}



/* 4.7.56 buffered seamless hero strip */



/* 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{width:100%;max-width:none;margin:0 0 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))}}


/* 4.7.95 — Author profile and login alignment */
.auth-login-page .signin-form-section{
  position:relative;
  left:clamp(0px,7vw,120px);
}
@media (max-width:900px){.auth-login-page .signin-form-section{left:0;}}

.author-books-section{
  margin-top:48px;
  padding-top:34px;
  border-top:1px solid var(--line);
}
.author-books-head{
  max-width:760px;
  margin-bottom:24px;
}
.author-books-head>span{
  display:block;
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.author-books-head h2{
  margin:0 0 8px;
  font-size:clamp(30px,4vw,46px);
}
.author-books-head p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.author-book-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}
.author-book-card{
  min-width:0;
}
.author-book-open{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
}
.author-book-cover{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:16px;
  background:#eceef1;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}
.author-book-cover img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.author-book-cover [data-cover-placeholder]{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:14px;
  text-align:center;
  font-weight:800;
  color:#60646d;
}
.author-book-copy{
  padding:12px 2px 0;
}
.author-book-copy>span{
  display:block;
  margin-bottom:5px;
  color:var(--accent);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.author-book-copy h3{
  margin:0;
  font-size:17px;
  line-height:1.25;
}
.author-book-copy p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}
.author-profile-form{
  display:grid;
  gap:18px;
}
.author-photo-placeholder{
  min-height:160px;
  display:grid;
  place-items:center;
  border:1px dashed var(--line);
  border-radius:14px;
  background:#f8fafc;
  color:var(--muted);
  padding:20px;
  text-align:center;
}
@media (max-width:1050px){.author-book-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:760px){.author-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}}
@media (max-width:460px){.author-book-grid{grid-template-columns:1fr 1fr;gap:12px;}
  .author-book-copy h3{font-size:14px;}}

/* =========================================================
   WEYADA 4.7.96 — CINEMATIC DARK PUBLIC EXPERIENCE
   Public presentation only. Admin logic and member functions
   remain intact underneath the redesigned visual system.
   ========================================================= */
.home-page{
  --home-ink:#f7f7f5;
  --home-muted:#a9a9ad;
  --home-panel:#111113;
  --home-panel-2:#171719;
  --home-line:rgba(255,255,255,.12);
  position:relative;
  max-width:none!important;
  padding:0 0 84px!important;
  background:#080809!important;
  color:var(--home-ink)!important;
  overflow:hidden;
}
.home-page>.section,
.home-page>.page-builder-section-bg{
  width:min(1380px,90vw);
  margin-left:auto!important;
  margin-right:auto!important;
}
.home-page h1,.home-page h2,.home-page h3,.home-page strong{color:var(--home-ink)}
.home-page p,.home-page .muted{color:var(--home-muted)!important}
.home-page .home-kicker,.home-page .eyebrow{color:var(--accent)!important}

/* Hero becomes a full-width editorial stage with moving book artwork. */


















/* Editorial section rhythm inspired by a portfolio flow without copying its content. */
.home-page .home-yada-section,
.home-page .home-story-section,
.home-page .home-transform-section,
.home-page .home-benefits-section,
.home-page .home-featured-books,
.home-page .home-faq-section{
  background:transparent!important;
  color:var(--home-ink)!important;
  border:0!important;
}
.home-page .home-yada-section{display:grid!important;grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr)!important;gap:clamp(42px,8vw,130px)!important;padding:clamp(90px,11vw,170px) 0!important;border-bottom:1px solid var(--home-line)!important}
.home-page .home-yada-heading h2{font-size:clamp(44px,6vw,88px)!important;line-height:.96!important;letter-spacing:-.045em!important;position:sticky;top:110px}
.home-page .home-yada-copy{font-size:clamp(18px,1.5vw,23px)!important;line-height:1.82!important;color:#c8c8ca!important}
.home-page .home-yada-copy p{color:#c8c8ca!important}

.home-page .home-story-section{grid-template-columns:minmax(0,1.15fr) minmax(300px,.65fr)!important;gap:clamp(50px,8vw,130px)!important;padding:clamp(110px,12vw,180px) 0!important;border-bottom:1px solid var(--home-line)!important}
.home-page .home-story-copy h2{font-size:clamp(48px,6.6vw,96px)!important;line-height:.94!important;letter-spacing:-.045em!important;max-width:900px}
.home-page .home-story-copy p{color:#bdbdc1!important;font-size:clamp(17px,1.3vw,21px)!important;line-height:1.78!important;max-width:800px}
.home-page .home-signature{color:#fff!important;font-size:24px!important}
.home-page .home-revelation-card{align-self:end!important;padding:38px!important;border:1px solid var(--home-line)!important;border-radius:2px!important;background:#121214!important}
.home-page .home-revelation-card strong{font-size:clamp(24px,2.2vw,36px)!important;line-height:1.35!important}

.home-page .home-revelation-section{left:auto!important;right:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:clamp(110px,12vw,180px) max(5vw,calc((100vw - 1380px)/2))!important;background:#111113!important}
.home-page .home-revelation-intro{max-width:1000px!important}
.home-page .home-revelation-section h2{font-size:clamp(50px,7vw,102px)!important;line-height:.92!important;letter-spacing:-.05em!important}
.home-page .home-three-steps{gap:0!important;margin-top:70px!important;border-top:1px solid var(--home-line)!important;border-bottom:1px solid var(--home-line)!important}
.home-page .home-three-steps article{border:0!important;border-right:1px solid var(--home-line)!important;border-radius:0!important;background:transparent!important;padding:38px 34px 44px!important}
.home-page .home-three-steps article:last-child{border-right:0!important}
.home-page .home-three-steps h3{font-size:clamp(26px,2.4vw,38px)!important;margin:24px 0 14px!important}
.home-page .home-three-steps p,.home-page .home-three-steps li{color:#aaaab0!important;line-height:1.7!important}

.home-page .home-transform-section{padding:clamp(120px,13vw,200px) 0!important;text-align:left!important;border-bottom:1px solid var(--home-line)!important}
.home-page .home-transform-section h2{font-size:clamp(54px,8vw,116px)!important;line-height:.9!important;letter-spacing:-.055em!important;max-width:1100px}
.home-page .home-transform-section>p{max-width:760px!important;margin:38px 0 0 auto!important;color:#b7b7bb!important;font-size:clamp(18px,1.6vw,24px)!important;line-height:1.75!important}
.home-page .home-transform-section .actions{justify-content:flex-start!important;margin:42px 0 0 auto!important;max-width:760px}

.home-page .home-benefits-section{padding:clamp(100px,11vw,170px) 0!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;gap:clamp(50px,9vw,140px)!important;border-bottom:1px solid var(--home-line)!important}
.home-page .home-benefits-section h2{font-size:clamp(46px,6vw,88px)!important;line-height:.94!important;letter-spacing:-.045em!important}
.home-page .home-benefit-grid{gap:0!important;border-top:1px solid var(--home-line)!important}
.home-page .home-benefit-grid article{padding:24px 18px 24px 48px!important;border:0!important;border-bottom:1px solid var(--home-line)!important;border-radius:0!important;background:transparent!important;color:#e5e5e7!important;font-size:16px}
.home-page .home-benefit-grid article:before{color:var(--accent)!important}

.home-page .home-audible-carousel,.home-page .home-featured-books{background:#0d0d0f!important;border:1px solid var(--home-line)!important;border-radius:2px!important;padding:clamp(56px,7vw,96px) clamp(20px,4vw,56px)!important;margin-top:clamp(80px,10vw,150px)!important}
.home-page .home-carousel-heading{text-align:left!important;margin:0 0 42px!important;max-width:900px!important}
.home-page .home-carousel-heading h2{font-size:clamp(46px,6vw,84px)!important;line-height:.95!important;letter-spacing:-.045em!important;color:#fff!important}
.home-page .home-carousel-heading p{color:#a8a8ad!important;font-size:17px!important}

.home-page .home-faq-section{padding:clamp(100px,11vw,170px) 0!important;border-top:1px solid var(--home-line)!important;margin-top:clamp(100px,10vw,150px)!important}
.home-page .home-faq-heading{max-width:900px!important;margin-bottom:48px!important}
.home-page .home-faq-heading h2{font-size:clamp(46px,6vw,88px)!important;line-height:.95!important;letter-spacing:-.045em!important;color:#fff!important}
.home-page .home-faq-item{background:transparent!important;border-color:var(--home-line)!important;border-radius:0!important;color:#fff!important}
.home-page .home-faq-item summary{color:#fff!important}
.home-page .home-faq-answer,.home-page .home-faq-answer p{color:#aaaab0!important}

.home-page .home-final-cta{width:min(1380px,90vw)!important;max-width:none!important;margin:clamp(90px,11vw,160px) auto 0!important;padding:clamp(78px,9vw,130px)!important;border:1px solid var(--home-line)!important;border-radius:2px!important;background:linear-gradient(135deg,#151517,#09090a)!important;text-align:left!important}
.home-page .home-final-cta h2{font-size:clamp(52px,7vw,104px)!important;line-height:.92!important;letter-spacing:-.05em!important;max-width:1100px}
.home-page .home-final-cta p{max-width:720px!important;margin:34px 0 0 auto!important;color:#b7b7bb!important;font-size:19px!important;line-height:1.7!important}
.home-page .home-final-cta+.section{background:transparent!important}

/* Admin controls for choosing the rotating hero artwork. */
.hero-book-selector{display:grid;gap:14px;margin-top:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafafa}
.hero-book-selector-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.hero-book-selector-head small{color:var(--muted)}
.hero-book-selector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:330px;overflow:auto;padding-right:4px}
.hero-book-choice{display:grid!important;grid-template-columns:18px 46px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;padding:8px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;font-weight:600!important;cursor:pointer}
.hero-book-choice.is-selected{border-color:var(--accent)!important;box-shadow:0 0 0 1px var(--accent) inset}
.hero-book-choice>input{width:16px!important;height:16px!important;margin:0!important;padding:0!important}
.hero-book-choice>span{width:46px;height:46px;overflow:hidden;border-radius:7px;background:#151515;display:block}.hero-book-choice>span img{width:100%;height:100%;object-fit:cover;display:block}.hero-book-choice em{font-style:normal;font-size:12px;line-height:1.25}
.hero-book-selected-list{display:grid;gap:6px}.hero-book-selected-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:9px;align-items:center;padding:7px 8px;border-radius:9px;background:#fff;border:1px solid var(--line)}.hero-book-selected-row>span{width:40px;height:40px;overflow:hidden;border-radius:6px}.hero-book-selected-row img{width:100%;height:100%;object-fit:cover}.hero-book-selected-row strong{font-size:12px}.hero-book-selected-row>div{display:flex;gap:4px}.hero-book-selected-row button{border:1px solid var(--line);background:#fff;border-radius:6px;min-width:28px;height:28px;cursor:pointer}.hero-book-selector-actions{display:flex;gap:8px;flex-wrap:wrap}

@media (max-width:900px){.home-page .home-yada-section,.home-page .home-story-section,.home-page .home-benefits-section{grid-template-columns:1fr!important;gap:42px!important}
 .home-page .home-yada-heading h2{position:static!important}
 .home-page .home-three-steps{grid-template-columns:1fr!important}.home-page .home-three-steps article{border-right:0!important;border-bottom:1px solid var(--home-line)!important}.home-page .home-three-steps article:last-child{border-bottom:0!important}
 .home-page .home-transform-section>p,.home-page .home-transform-section .actions,.home-page .home-final-cta p{margin-left:0!important}}
@media (max-width:620px){.home-page>.section,.home-page>.page-builder-section-bg{width:calc(100% - 36px)!important}
 .home-page .home-yada-section,.home-page .home-story-section,.home-page .home-benefits-section,.home-page .home-transform-section,.home-page .home-faq-section{padding-top:78px!important;padding-bottom:78px!important}
 .home-page .home-revelation-section{padding:78px 18px!important}
 .home-page .home-final-cta{width:calc(100% - 36px)!important;padding:58px 24px!important}
 .hero-book-selector-grid{grid-template-columns:1fr}}



/* =========================================================
   WEYADA 4.7.97 — REFINED CINEMATIC HERO + EDITORIAL FOOTER
   ========================================================= */
body:not(.admin-session){background:#080809!important}
body:not(.admin-session) main{background:#080809!important}
body:not(.admin-session) .page:not(.admin-page){background:#080809}
body.admin-session{background:#f7f8fa!important}
body.admin-session main{background:#f7f8fa!important}

/* Keep moving covers inside the hero composition and fade them into black. */








/* Direct, easy-to-find Admin control for the moving hero covers. */
.hero-covers-admin-page{display:grid;gap:22px}
.hero-covers-admin-card{display:grid;gap:24px}
.hero-covers-admin-card .hero-book-selector{margin-top:4px}
.hero-covers-admin-card .hero-book-selector-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1200px){.hero-covers-admin-card .hero-book-selector-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:800px){.hero-covers-admin-card .hero-book-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* =========================================================
   WEYADA 4.7.98 — CENTERED DUAL-MOTION HERO STAGE
   Reference-inspired composition: solid black side fields,
   centered moving cover stage, independently moving rows.
   ========================================================= */


/* Keep the book artwork in a centered stage instead of running edge-to-edge. */


/* Stronger side fade inside the stage; the rest of the hero remains true black. */



/* Both rows move continuously and independently. */







/* Keep the central text visually above the moving book stage. */







/* =========================================================
   WEYADA 4.7.99 — HERO MOTION + BLACK CANVAS CORRECTION
   ========================================================= */
.home-page,
body:not(.admin-session) main > .home-page{
  background:#080809!important;
}
.home-page > .section:not(.home-revelation-section):not(.home-audible-carousel):not(.home-featured-books):not(.home-final-cta),
.home-page > .page-builder-section-bg{
  background-color:#080809!important;
}



/* =========================================================
   WEYADA 4.7.100 — OPEN EDITORIAL RHYTHM + EDITABLE FOOTER
   Removes section framing/dividers, restores breathing room,
   widens headline columns, and lets book color read through.
   ========================================================= */
.home-page{
  --home-line:transparent!important;
}
.home-page>.section,
.home-page>.page-builder-section-bg{
  width:min(1540px,92vw)!important;
}

/* No divider lines or outer section boxes on the public home canvas. */
.home-page .home-yada-section,
.home-page .home-story-section,
.home-page .home-transform-section,
.home-page .home-benefits-section,
.home-page .home-faq-section,
.home-page .home-featured-books,
.home-page .home-audible-carousel,
.home-page .home-final-cta,
.home-page .home-revelation-section,
.home-page .home-three-steps,
.home-page .home-three-steps article,
.home-page .home-benefit-grid,
.home-page .home-benefit-grid article,
.home-page .home-revelation-card,
.home-page .home-faq-item{
  border:0!important;
  box-shadow:none!important;
}
.home-page .home-yada-section,
.home-page .home-story-section,
.home-page .home-transform-section,
.home-page .home-benefits-section,
.home-page .home-faq-section{
  padding-top:clamp(125px,12vw,210px)!important;
  padding-bottom:clamp(125px,12vw,210px)!important;
}
.home-page .home-yada-section{
  grid-template-columns:minmax(440px,.92fr) minmax(0,1.08fr)!important;
  gap:clamp(70px,8vw,150px)!important;
}
.home-page .home-yada-heading h2{
  font-size:clamp(48px,4.6vw,82px)!important;
  line-height:.98!important;
  max-width:780px!important;
  text-wrap:balance;
}
.home-page .home-yada-copy{
  max-width:820px!important;
  justify-self:end;
}
.home-page .home-story-section{
  grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr)!important;
  gap:clamp(80px,9vw,170px)!important;
}
.home-page .home-revelation-card{
  background:transparent!important;
  padding:0!important;
}
.home-page .home-revelation-section{
  background:#080809!important;
  padding-top:clamp(135px,13vw,220px)!important;
  padding-bottom:clamp(135px,13vw,220px)!important;
}
.home-page .home-three-steps{
  gap:clamp(34px,5vw,78px)!important;
  margin-top:clamp(72px,7vw,110px)!important;
}
.home-page .home-three-steps article{
  padding:0!important;
}
.home-page .home-three-steps ul{
  border-top:0!important;
  padding-top:8px!important;
}
.home-page .home-benefits-section{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:clamp(85px,10vw,180px)!important;
}
.home-page .home-benefit-grid{
  gap:18px!important;
}
.home-page .home-benefit-grid article{
  padding:10px 0 10px 34px!important;
}
.home-page .home-audible-carousel,
.home-page .home-featured-books{
  background:transparent!important;
  padding:clamp(80px,7vw,120px) 0!important;
  margin-top:clamp(105px,11vw,180px)!important;
}
.home-page .home-faq-section{
  margin-top:clamp(90px,9vw,150px)!important;
}
.home-page .home-faq-item{
  margin-bottom:18px!important;
  padding:8px 0!important;
}
.home-page .home-final-cta{
  width:min(1540px,92vw)!important;
  background:transparent!important;
  padding:clamp(125px,12vw,205px) 0!important;
  margin-top:clamp(90px,10vw,160px)!important;
}

/* Let the real cover artwork show while preserving readable hero copy. */




.footer-admin-page{display:grid;gap:28px}
.footer-design-form{padding-bottom:10px}
.footer-link-admin{padding-top:24px;border-top:1px solid var(--line)}

@media (max-width:980px){.home-page .home-yada-section,
  .home-page .home-story-section,
  .home-page .home-benefits-section{grid-template-columns:1fr!important;gap:54px!important}
  .home-page .home-yada-heading h2{position:static!important;max-width:900px!important}
  .home-page .home-yada-copy{justify-self:start;max-width:900px!important}}
@media (max-width:620px){.home-page>.section,.home-page>.page-builder-section-bg{width:calc(100% - 36px)!important}
  .home-page .home-yada-section,
  .home-page .home-story-section,
  .home-page .home-transform-section,
  .home-page .home-benefits-section,
  .home-page .home-faq-section{padding-top:96px!important;padding-bottom:96px!important}
  .home-page .home-revelation-section{padding-top:96px!important;padding-bottom:96px!important}
  .home-page .home-final-cta{width:calc(100% - 36px)!important;padding-top:104px!important;padding-bottom:104px!important}}

/* 4.7.101 — conversion-first Home landing page */
.home-page{background:#080809!important;color:#f7f7f5!important;padding-bottom:0!important}
.home-page>.section,.home-page>.home-text-section,.home-page>.home-audible-carousel,.home-page>.home-growth-teaser{max-width:1380px;margin-left:auto!important;margin-right:auto!important;padding-left:clamp(24px,5vw,84px)!important;padding-right:clamp(24px,5vw,84px)!important}
.home-page .home-text-section{padding-top:clamp(88px,10vw,150px)!important;padding-bottom:clamp(88px,10vw,150px)!important;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:clamp(48px,8vw,140px);align-items:end}
.home-page .home-text-section h2{font-size:clamp(44px,6vw,92px)!important;line-height:.94!important;letter-spacing:-.055em!important;max-width:900px;margin:0!important;color:#f7f7f5!important}
.home-page .home-text-section .muted{font-size:clamp(17px,1.5vw,22px)!important;line-height:1.55!important;color:#b6b6b8!important;max-width:620px;margin:0!important}
.home-page [data-component-id="home-modern-intro"]{padding-top:clamp(110px,12vw,180px)!important;padding-bottom:clamp(70px,8vw,120px)!important}
.home-page [data-component-id="home-modern-value"]{background:transparent!important}
.home-page [data-component-id="home-modern-join"]{padding-bottom:32px!important}
.home-page [data-component-id="home-modern-join"] h2{max-width:760px}
.home-page .home-standard-books-section{padding-top:clamp(70px,8vw,120px)!important;padding-bottom:clamp(100px,10vw,160px)!important}
.home-page .home-carousel-heading{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:36px!important;margin-bottom:42px!important}
.home-page .home-carousel-heading h2{font-size:clamp(38px,5vw,72px)!important;line-height:.96!important;letter-spacing:-.045em!important;max-width:780px!important;margin:0!important}
.home-page .home-carousel-heading p{max-width:420px!important;margin:0!important;font-size:17px!important;line-height:1.5!important}
.home-page .home-standard-books-grid{gap:clamp(14px,1.8vw,28px)!important}
.home-page .growth-teaser-section,.home-page .home-growth-teaser{padding-top:clamp(90px,10vw,150px)!important;padding-bottom:clamp(90px,10vw,150px)!important;background:transparent!important;border:0!important;box-shadow:none!important}
.home-page .section{border:0!important;box-shadow:none!important}
.home-page [data-component-id="home-modern-join"] + .section{max-width:1380px;margin:0 auto!important;padding:0 clamp(24px,5vw,84px) clamp(120px,12vw,180px)!important}
.home-page [data-component-id="home-modern-join"] + .section .btn{font-size:17px!important;padding:16px 24px!important;border-radius:999px!important}
@media (max-width:800px){.home-page .home-text-section{grid-template-columns:1fr;gap:28px;padding-top:76px!important;padding-bottom:76px!important}
 .home-page .home-text-section h2{font-size:clamp(42px,13vw,64px)!important}
 .home-page .home-carousel-heading{display:block!important}.home-page .home-carousel-heading p{margin-top:18px!important}}

/* =========================================================
   WEYADA 4.7.102 — CLEAN CONVERSION HOME
   New Home layout from scratch. Hero, book preview and pricing
   are retained; every other section is rebuilt on editable rows.
   ========================================================= */
:root{--weyada-home-black:#080809}
body:not(.admin-session),
body:not(.admin-session) main,
body:not(.admin-session) #app,
.home-page,
.home-page>.section,
.home-page>.weyada-builder-row,
.home-page>.route-functional-module,
.home-page>.system-page-editable{
  background-color:var(--weyada-home-black)!important;
}
.home-page{margin:0!important;padding:0 0 0!important;color:#f7f7f5!important;overflow:hidden}



/* One consistent content rail. No accidental narrow columns. */
.home-page>.weyada-builder-row,
.home-page>.home-standard-books-section,
.home-page>[data-component-id="home-v102-pricing-title"],
.home-page>.system-page-editable{
  width:min(1480px,calc(100% - 64px))!important;
  max-width:1480px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Value strip — three clean editable columns, no cards or dividers. */
.home-page>[data-component-id="home-v102-value-row"]{
  padding:clamp(88px,9vw,150px) 0 clamp(70px,8vw,120px)!important;
  gap:clamp(34px,5vw,76px)!important;
}
.home-page>[data-component-id="home-v102-value-row"] .home-text-section{
  display:block!important;
  padding:0!important;
  margin:0!important;
  min-height:0!important;
}
.home-page>[data-component-id="home-v102-value-row"] .home-text-section h2{
  font-size:clamp(38px,4vw,60px)!important;
  line-height:.95!important;
  letter-spacing:-.045em!important;
  margin:0 0 16px!important;
  white-space:nowrap;
}
.home-page>[data-component-id="home-v102-value-row"] .home-text-section .muted{
  max-width:300px!important;
  margin:0!important;
  color:#a7a7ab!important;
  font-size:16px!important;
  line-height:1.55!important;
}

/* Book preview remains the visual center of the page. */
.home-page>.home-standard-books-section{
  padding:clamp(86px,9vw,140px) 0 clamp(96px,10vw,160px)!important;
  margin-top:0!important;
}
.home-page .home-carousel-heading{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,420px)!important;
  gap:48px!important;
  align-items:end!important;
  margin-bottom:clamp(38px,4vw,58px)!important;
}
.home-page .home-carousel-heading h2{
  font-size:clamp(44px,5.4vw,78px)!important;
  line-height:.93!important;
  letter-spacing:-.05em!important;
  max-width:880px!important;
}
.home-page .home-carousel-heading p{color:#9b9ba0!important;font-size:16px!important;line-height:1.55!important;max-width:360px!important}

/* Simple conversion row between preview and pricing. */
.home-page>[data-component-id="home-v102-join-row"],
.home-page>[data-component-id="home-v102-final-row"]{
  padding:clamp(92px,10vw,160px) 0!important;
  gap:clamp(54px,7vw,110px)!important;
  align-items:center!important;
}
.home-page>[data-component-id="home-v102-join-row"] .home-text-section,
.home-page>[data-component-id="home-v102-final-row"] .home-text-section{
  display:block!important;
  padding:0!important;
  margin:0!important;
}
.home-page>[data-component-id="home-v102-join-row"] h2,
.home-page>[data-component-id="home-v102-final-row"] h2{
  font-size:clamp(48px,5.8vw,84px)!important;
  line-height:.92!important;
  letter-spacing:-.055em!important;
  max-width:900px!important;
  margin:0 0 24px!important;
}
.home-page>[data-component-id="home-v102-join-row"] .muted,
.home-page>[data-component-id="home-v102-final-row"] .muted{
  max-width:660px!important;
  color:#a7a7ab!important;
  font-size:18px!important;
  line-height:1.55!important;
}
.home-page>[data-component-id="home-v102-join-row"] .weyada-builder-column:last-child,
.home-page>[data-component-id="home-v102-final-row"] .weyada-builder-column:last-child{
  justify-content:center;
  align-items:flex-start;
  gap:12px;
}
.home-page>[data-component-id="home-v102-join-row"] .weyada-builder-column:last-child>.section,
.home-page>[data-component-id="home-v102-final-row"] .weyada-builder-column:last-child>.section{
  width:auto!important;
  flex:0 0 auto!important;
  padding:0!important;
  margin:0!important;
}
.home-page>[data-component-id="home-v102-join-row"] .btn,
.home-page>[data-component-id="home-v102-final-row"] .btn{
  min-width:190px;
  border-radius:999px!important;
  padding:16px 25px!important;
}

/* Pricing stays dynamic and compact — no extra long membership copy on Home. */
.home-page>[data-component-id="home-v102-pricing-title"]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,430px)!important;
  gap:54px!important;
  align-items:end!important;
  padding:clamp(90px,9vw,140px) 0 44px!important;
}
.home-page>[data-component-id="home-v102-pricing-title"] h2{
  font-size:clamp(46px,5.6vw,80px)!important;
  line-height:.93!important;
  letter-spacing:-.05em!important;
  margin:0!important;
  max-width:900px!important;
}
.home-page>[data-component-id="home-v102-pricing-title"] .muted{margin:0!important;color:#9b9ba0!important;font-size:18px!important;line-height:1.55!important;max-width:430px!important}
.home-page>.system-page-editable{padding:0 0 clamp(100px,11vw,170px)!important}
.home-page>.system-page-editable>.section{padding:0!important;margin:0!important;background:transparent!important}
.home-page>.system-page-editable .tier-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}
.home-page>.system-page-editable .tier-card{
  background:#0f0f11!important;
  color:#f7f7f5!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:20px!important;
  padding:30px!important;
  box-shadow:none!important;
}
.home-page>.system-page-editable .tier-card.featured{border-color:rgba(243,158,158,.65)!important}
.home-page>.system-page-editable .tier-card h3,
.home-page>.system-page-editable .tier-card .tier-price{color:#fff!important}
.home-page>.system-page-editable .tier-card .muted,
.home-page>.system-page-editable .tier-card li{color:#b5b5ba!important}
.home-page>.system-page-editable .tier-card ul{padding-left:18px!important}

/* Editing: make rows and columns obvious in Admin without changing public design. */
.home-page.live-editing-page .live-editor-row>.weyada-builder-row{
  outline:1px dashed rgba(243,158,158,.45)!important;
  outline-offset:8px;
  border-radius:14px;
}
.home-page.live-editing-page .live-builder-column{
  min-height:150px!important;
  padding:14px!important;
  border:1px dashed rgba(255,255,255,.18)!important;
  border-radius:12px;
  background:rgba(255,255,255,.025)!important;
}
.home-page.live-editing-page .live-column-head{margin-bottom:12px!important}

/* Remove every legacy Home block visually if a stale state somehow survives. */
.home-page .home-yada-section,
.home-page .home-story-section,
.home-page .home-revelation-section,
.home-page .home-transform-section,
.home-page .home-benefits-section,
.home-page .home-faq-section,
.home-page .home-growth-teaser,
.home-page .growth-teaser-section,
.home-page .home-final-cta{display:none!important}

@media (max-width:980px){.home-page>.weyada-builder-row,
  .home-page>.home-standard-books-section,
  .home-page>[data-component-id="home-v102-pricing-title"],
  .home-page>.system-page-editable{width:min(100% - 40px,920px)!important}
  .home-page>[data-component-id="home-v102-value-row"],
  .home-page>[data-component-id="home-v102-join-row"],
  .home-page>[data-component-id="home-v102-final-row"]{flex-direction:column!important;gap:42px!important}
  .home-page>[data-component-id="home-v102-value-row"] .weyada-builder-column,
  .home-page>[data-component-id="home-v102-join-row"] .weyada-builder-column,
  .home-page>[data-component-id="home-v102-final-row"] .weyada-builder-column{width:100%!important}
  .home-page>[data-component-id="home-v102-value-row"] .home-text-section h2{white-space:normal}
  .home-page .home-carousel-heading,
  .home-page>[data-component-id="home-v102-pricing-title"]{grid-template-columns:1fr!important;gap:22px!important}
  .home-page>.system-page-editable .tier-grid{grid-template-columns:1fr!important}}
@media (max-width:620px){.home-page>.weyada-builder-row,
  .home-page>.home-standard-books-section,
  .home-page>[data-component-id="home-v102-pricing-title"],
  .home-page>.system-page-editable{width:calc(100% - 32px)!important}
  .home-page>[data-component-id="home-v102-value-row"]{padding-top:74px!important;padding-bottom:60px!important}
  .home-page>[data-component-id="home-v102-join-row"],
  .home-page>[data-component-id="home-v102-final-row"]{padding:82px 0!important}
  .home-page>.home-standard-books-section{padding:72px 0 90px!important}
  .home-page>[data-component-id="home-v102-pricing-title"]{padding-top:76px!important}}

/* =========================================================
   WEYADA 4.7.103 — MODERN INFORMATION HOME
   Restores the substance of the WeYada story with stronger
   editorial rows and more useful column presets in Admin.
   ========================================================= */
:root{--weyada-home-black:#000000}

.home-page{color:#f7f7f5!important;overflow:hidden}




/* Shared editorial rail for every new Home row. */
.home-page>[data-component-id^="home-v103-"]{
  width:min(1480px,calc(100% - 80px))!important;
  max-width:1480px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.home-page>[data-component-id^="home-v103-"] .home-text-section{
  display:block!important;
  padding:0!important;
  margin:0!important;
  min-height:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.home-page>[data-component-id^="home-v103-"] .home-text-section h2{
  color:#f7f7f5!important;
  margin:0 0 22px!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
  max-width:none!important;
  text-wrap:balance;
}
.home-page>[data-component-id^="home-v103-"] .home-text-section .muted{
  color:#aaaab0!important;
  margin:0!important;
  max-width:760px!important;
  line-height:1.65!important;
}
.home-page>[data-component-id^="home-v103-"] .eyebrow,
.home-page>[data-component-id^="home-v103-"] .section-kicker{
  color:#f39e9e!important;
  letter-spacing:.16em!important;
  font-size:11px!important;
  font-weight:800!important;
}

/* About row — substantial information with wide reading column. */
.home-page>[data-component-id="home-v103-about-row"]{
  padding:clamp(110px,11vw,175px) 0 clamp(88px,9vw,135px)!important;
  gap:clamp(54px,7vw,120px)!important;
  align-items:start!important;
}
.home-page>[data-component-id="home-v103-about-row"] .weyada-builder-column:first-child h2{
  font-size:clamp(50px,6vw,86px)!important;
}
.home-page>[data-component-id="home-v103-about-row"] .weyada-builder-column:last-child h2{
  font-size:clamp(34px,3.7vw,54px)!important;
  max-width:760px!important;
}
.home-page>[data-component-id="home-v103-about-row"] .weyada-builder-column:last-child .muted{
  font-size:clamp(17px,1.35vw,20px)!important;
  white-space:pre-line;
}

/* Three-column experience row — no boxes, just clean editorial rhythm. */
.home-page>[data-component-id="home-v103-experience-row"]{
  padding:0 0 clamp(115px,11vw,175px)!important;
  gap:clamp(34px,4.6vw,70px)!important;
}
.home-page>[data-component-id="home-v103-experience-row"] h2{
  font-size:clamp(32px,3.2vw,46px)!important;
}
.home-page>[data-component-id="home-v103-experience-row"] .muted{
  font-size:16px!important;
  max-width:360px!important;
}

/* Book preview remains untouched in function, only given room. */
.home-page>.home-standard-books-section{
  width:min(1480px,calc(100% - 80px))!important;
  max-width:1480px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:clamp(95px,9vw,145px) 0 clamp(115px,11vw,175px)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.home-page .home-carousel-heading{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)!important;gap:clamp(42px,6vw,94px)!important}
.home-page .home-carousel-heading h2{max-width:920px!important}

/* Informational split rows. */
.home-page>[data-component-id="home-v103-school-row"],
.home-page>[data-component-id="home-v103-author-row"],
.home-page>[data-component-id="home-v103-membership-row"],
.home-page>[data-component-id="home-v103-final-row"]{
  padding:clamp(105px,10vw,165px) 0!important;
  gap:clamp(56px,7vw,120px)!important;
  align-items:start!important;
}
.home-page>[data-component-id="home-v103-school-row"] h2,
.home-page>[data-component-id="home-v103-membership-row"] h2,
.home-page>[data-component-id="home-v103-final-row"] h2{
  font-size:clamp(44px,5.1vw,72px)!important;
}
.home-page>[data-component-id="home-v103-author-row"] h2{font-size:clamp(38px,4.2vw,60px)!important}
.home-page>[data-component-id="home-v103-school-row"] .weyada-builder-column:last-child .muted{white-space:pre-line;font-size:17px!important;line-height:2!important}
.home-page>[data-component-id="home-v103-author-row"] .weyada-builder-column:first-child>.section+ .section,
.home-page>[data-component-id="home-v103-final-row"] .weyada-builder-column:last-child>.section+ .section{margin-top:12px!important}
.home-page>[data-component-id="home-v103-author-row"] .btn,
.home-page>[data-component-id="home-v103-final-row"] .btn{border-radius:999px!important;padding:15px 24px!important}

/* Pricing stays functional and visually integrated. */
.home-page>.system-page-editable{
  width:min(1480px,calc(100% - 80px))!important;
  max-width:1480px!important;
  margin:0 auto!important;
  padding:0 0 clamp(110px,11vw,175px)!important;
  background:#000!important;
}
.home-page>.system-page-editable>.section{background:transparent!important;border:0!important;box-shadow:none!important}

/* Better Page Builder column control: more room for presets and clearer editable columns. */
.builder-row-presets,.builder-row-layout-editor,.live-row-presets{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.builder-row-preset,.live-row-preset{min-height:58px!important;padding:9px!important}
.builder-row-preset-diagram,.live-row-preset>span{min-height:22px!important}
.builder-row-grid{gap:var(--builder-row-gap,18px)}
.builder-column{min-width:0!important}
.builder-column-target{font-size:12px!important;padding:8px 10px!important}
.builder-column-content{min-height:120px!important;padding:10px!important}
.live-editing-page .live-builder-column{min-height:170px!important;padding:16px!important}

@media (min-width:1100px){.builder-row-presets,.builder-row-layout-editor,.live-row-presets{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:980px){.home-page>[data-component-id^="home-v103-"],
  .home-page>.home-standard-books-section,
  .home-page>.system-page-editable{width:min(100% - 40px,920px)!important}
  .home-page>[data-component-id^="home-v103-"]{flex-direction:column!important;gap:36px!important}
  .home-page>[data-component-id^="home-v103-"] .weyada-builder-column{width:100%!important;flex:1 1 auto!important}
  .home-page .home-carousel-heading{grid-template-columns:1fr!important;gap:22px!important}}
@media (max-width:620px){.home-page>[data-component-id^="home-v103-"],
  .home-page>.home-standard-books-section,
  .home-page>.system-page-editable{width:calc(100% - 32px)!important}
  .home-page>[data-component-id="home-v103-about-row"],
  .home-page>[data-component-id="home-v103-school-row"],
  .home-page>[data-component-id="home-v103-author-row"],
  .home-page>[data-component-id="home-v103-membership-row"],
  .home-page>[data-component-id="home-v103-final-row"]{padding:78px 0!important}
  .home-page>[data-component-id="home-v103-experience-row"]{padding-bottom:82px!important}
  .home-page>.home-standard-books-section{padding:78px 0 96px!important}}


/* WEYADA 4.7.104 — STACKED COLUMN ELEMENTS + DRAG & DROP */
.builder-column-content{display:flex!important;flex-direction:column!important;gap:10px!important;position:relative}
.builder-column-item{position:relative;display:flex;flex-direction:column;gap:6px;border-radius:10px;transition:opacity .16s ease,box-shadow .16s ease,transform .16s ease;cursor:grab}
.builder-column-item:active{cursor:grabbing}
.builder-column-item.is-dragging{opacity:.38;transform:scale(.985)}
.builder-column-item.builder-drop-active,.builder-column.builder-drop-active{box-shadow:0 0 0 2px var(--accent) inset;background:color-mix(in srgb,var(--accent) 5%,#fff)}
.builder-column-plus{border:1px dashed #a8b2bb;background:#f7f9fa;color:#4f5962;border-radius:9px;cursor:pointer;font-weight:800;transition:.15s ease}
.builder-column-plus:hover{border-color:var(--accent);color:var(--accent);background:#fff}
.builder-column-plus-between{width:30px;height:30px;min-height:30px;border-radius:999px;align-self:center;margin:-2px 0 0;display:grid;place-items:center;font-size:18px;line-height:1;padding:0;z-index:3}
.builder-column-plus-end{min-height:38px;width:100%;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;margin-top:2px}
.builder-column-plus-end span{font-size:19px;line-height:1}
.builder-column-empty{min-height:72px!important;border:1px dashed #d9dfe4;border-radius:8px;background:#fafbfc}
.builder-column-item>.builder-block{width:100%}
.builder-column-item .block-tools{cursor:default}

/* =========================================================
   WEYADA 4.7.105 — SEAMLESS PUBLIC CANVAS
   Remove section-panel fills from the public site. Sections
   now sit directly on the page canvas; cards remain cards.
   ========================================================= */
:root{--weyada-public-black:#000000;--weyada-home-black:#000000}

/* One continuous public canvas. */
body:not(.admin-session),
body:not(.admin-session) main,
body:not(.admin-session) #app,
body:not(.admin-session) .page:not(.admin-page),
.home-page{
  background:var(--weyada-public-black)!important;
  background-color:var(--weyada-public-black)!important;
}

/* Page-builder rows are layout only — never visual panels. */
body:not(.admin-session) .weyada-builder-row,
body:not(.admin-session) .weyada-builder-row>.weyada-builder-column,
body:not(.admin-session) .weyada-builder-row>.weyada-builder-column>.section,
body:not(.admin-session) .weyada-builder-row .home-text-section,
body:not(.admin-session) .weyada-builder-row .page-builder-section-bg,
body:not(.admin-session) .page-builder-section-fullbleed,
.home-page>[data-component-id^="home-v103-"],
.home-page>[data-component-id^="home-v103-"] .weyada-builder-column,
.home-page>[data-component-id^="home-v103-"] .section,
.home-page>[data-component-id^="home-v103-"] .home-text-section{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
}

/* Hero is part of the same black canvas — no panel/stage fill. */



/* Preserve book artwork itself while fading cleanly into true black. */


/* Do not turn functional cards into panels. Pricing/book cards retain their own surfaces. */
body:not(.admin-session) .tier-card,
body:not(.admin-session) .book-card,
body:not(.admin-session) .cover-only-book-card,
body:not(.admin-session) .modal,
body:not(.admin-session) .player-shell{
  background-color:revert-layer;
}

/* =========================================================
   WEYADA 4.7.106 — UNIFIED CHARCOAL PUBLIC CANVAS
   Replace true black with the softer charcoal surface used
   across the modern public design. Hero + page share one tone.
   ========================================================= */
:root{
  --weyada-public-black:#0c0c0d;
  --weyada-home-black:#0c0c0d;
  --weyada-public-charcoal:#0c0c0d;
}



/* Builder rows remain visually seamless on the same charcoal canvas. */
body:not(.admin-session) .weyada-builder-row,
body:not(.admin-session) .weyada-builder-row>.weyada-builder-column,
body:not(.admin-session) .weyada-builder-row>.weyada-builder-column>.section,
body:not(.admin-session) .weyada-builder-row .home-text-section,
body:not(.admin-session) .weyada-builder-row .page-builder-section-bg,
body:not(.admin-session) .page-builder-section-fullbleed,
.home-page>[data-component-id^="home-v103-"],
.home-page>[data-component-id^="home-v103-"] .weyada-builder-column,
.home-page>[data-component-id^="home-v103-"] .section,
.home-page>[data-component-id^="home-v103-"] .home-text-section{
  background:transparent!important;
  background-color:transparent!important;
}

/* Fade book artwork into the exact same charcoal instead of black. */


/* Footer stays on the same family of charcoal while retaining its divider. */
body:not(.admin-session) footer,
body:not(.admin-session) .site-footer,
body:not(.admin-session) .weyada-editorial-footer{
  background:#0c0c0d!important;
  background-color:#0c0c0d!important;
}


/* =========================================================
   WEYADA 4.7.107 — HERO MOTION + SEAMLESS CHARCOAL REPAIR
   Restores the two scrolling book rows and removes boxed
   surfaces around the hero, pricing shell and Home sections.
   ========================================================= */
:root{
  --weyada-public-charcoal:#0c0c0d;
  --weyada-public-black:#0c0c0d;
  --weyada-home-black:#0c0c0d;
}

body:not(.admin-session),
body:not(.admin-session) #app,
body:not(.admin-session) main,
body:not(.admin-session) .page:not(.admin-page),
.home-page{
  background:transparent!important;
  background-color:transparent!important;
}

/* The Home hero is a wide banner, never a centered boxed panel. */




/* Centered animated book field with breathing room on both sides. */













/* Remove the remaining darker boxed shells from Home. */
.home-page>.section,
.home-page>.weyada-builder-row,
.home-page>.system-page-editable,
.home-page>.system-page-editable>.section,
.home-page>.home-membership-section,
.home-page>.route-functional-module,
.home-page>[data-component-id^="home-v103-"],
.home-page>[data-component-id^="home-v103-"] .weyada-builder-column,
.home-page>[data-component-id^="home-v103-"] .section,
.home-page>[data-component-id^="home-v103-"] .home-text-section{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
}
/* Pricing cards themselves remain cards. */
.home-page .tier-card,
.home-page .home-membership-card{
  background:#fff!important;
}





/* =========================================================
   WEYADA 4.7.109 — TRANSPARENT HOME CONTENT SURFACES
   The public canvas owns the charcoal. Content wrappers are
   transparent so no darker bands can appear behind text/CTAs.
   ========================================================= */
/* All structural Home wrappers inherit the page canvas. */


/* Text components must never paint their own dark rectangle. */
body:not(.admin-session) .home-page .home-text-section,
body:not(.admin-session) .home-page .home-text-section::before,
body:not(.admin-session) .home-page .home-text-section::after{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* Pricing shell and join/CTA rows inherit charcoal; cards stay intact. */
body:not(.admin-session) .home-page .home-membership-section,
body:not(.admin-session) .home-page .home-membership-grid,
body:not(.admin-session) .home-page .home-membership-footer,
body:not(.admin-session) .home-page [data-component-id*="membership"],
body:not(.admin-session) .home-page [data-component-id*="final"],
body:not(.admin-session) .home-page [data-component-id*="join"]{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
body:not(.admin-session) .home-page .home-membership-card,
body:not(.admin-session) .home-page .tier-card{
  background:#fff!important;
  background-color:#fff!important;
}

/* Hero remains on the same charcoal canvas while its artwork animates. */


.live-shadow-reset{margin-top:9px;width:100%;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}
.live-shadow-reset:hover{background:rgba(255,255,255,.08)}

/* =========================================================
   WEYADA 4.7.111 — TRUE TRANSPARENT HOME CONTENT SURFACES
   Remove every Home text/row/pricing wrapper fill for all
   sessions, including Admin live editing. The page canvas is
   the only background. Real pricing/book cards remain cards.
   ========================================================= */


/* Never paint pseudo-element panels behind Home copy. */
.home-page .home-text-section::before,
.home-page .home-text-section::after,
.home-page .weyada-builder-row::before,
.home-page .weyada-builder-row::after,
.home-page .weyada-builder-column::before,
.home-page .weyada-builder-column::after,
.home-page .home-membership-section::before,
.home-page .home-membership-section::after{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* Keep only the actual membership pricing cards white. */
.home-page .home-membership-card,
.home-page .tier-card{
  background:#fff!important;
  background-color:#fff!important;
}

/* Keep the animated hero on the page charcoal, not transparent artwork itself. */


/* =========================================================
   WEYADA 4.7.112 — SURFACE + PRICING + LIVE TEXT EDITOR REPAIR
   The page owns the charcoal. Home content wrappers are clear.
   ========================================================= */
:root{--weyada-site-charcoal:#111111;}

/* One site canvas. Do not paint a second Home-page rectangle. */
body:not(.backend-light-theme){background:var(--weyada-site-charcoal)!important;}
body:not(.backend-light-theme) main,
body:not(.backend-light-theme) #app{background:var(--weyada-site-charcoal)!important;}
.home-page{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

/* Home content is structurally transparent. This intentionally targets
   the actual pricing/CTA/content shells instead of approximating colors. */

.home-page .home-text-section::before,
.home-page .home-text-section::after,
.home-page .weyada-builder-row::before,
.home-page .weyada-builder-row::after,
.home-page .weyada-builder-column::before,
.home-page .weyada-builder-column::after,
.home-page .home-membership-section::before,
.home-page .home-membership-section::after,
.home-page .home-membership-grid::before,
.home-page .home-membership-grid::after{
  content:none!important;
  display:none!important;
  background:none!important;
}

/* Hero uses the exact site canvas; artwork/fades remain on top. */



/* White pricing cards need dark copy. Earlier Home rules made every h3/strong white. */
.home-page .home-membership-card,
.home-page .tier-card{
  background:#fff!important;
  background-color:#fff!important;
  color:#202124!important;
}
.home-page .home-membership-card h1,
.home-page .home-membership-card h2,
.home-page .home-membership-card h3,
.home-page .home-membership-card h4,
.home-page .home-membership-card strong,
.home-page .home-membership-card .home-membership-price,
.home-page .tier-card h1,
.home-page .tier-card h2,
.home-page .tier-card h3,
.home-page .tier-card h4,
.home-page .tier-card strong,
.home-page .tier-card .tier-price{
  color:#202124!important;
  text-shadow:none!important;
}
.home-page .home-membership-card p,
.home-page .home-membership-card li,
.home-page .home-membership-card small,
.home-page .tier-card p,
.home-page .tier-card li,
.home-page .tier-card small{color:#555b65!important;}
.home-page .home-membership-card .home-membership-access{color:#30343a!important;}
.home-page .home-membership-card .home-membership-access strong{color:var(--accent)!important;}

/* Live text editor: all controls visible, no internal scrolling. */
.live-text-format-toolbar{
  width:min(460px,calc(100vw - 24px))!important;
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
  top:78px!important;
  right:16px!important;
  bottom:auto!important;
  transform:none!important;
}
.live-text-toolbar-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
.live-text-position-box>div{grid-template-columns:1fr 1fr auto!important;}
@media (max-width:720px){.live-text-format-toolbar{width:calc(100vw - 16px)!important;right:8px!important;top:68px!important;}
  .live-text-toolbar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}

/* =========================================================
   WEYADA 4.7.113 — PRICING + LIVE EDITOR SOURCE REPAIR
   Home wrappers do not paint their own surface. The page canvas
   is the only background behind membership, text and CTA areas.
   ========================================================= */
.home-page .home-membership-section,
.home-page .home-membership-heading,
.home-page .home-membership-grid,
.home-page .home-membership-footer,
.home-page .home-pricing-module,
.home-page .home-pricing-module > .section,
.home-page .system-page-editable.home-pricing-module,
.home-page .system-page-editable.home-pricing-module > .section,
.home-page .home-button-section,
.home-page .home-text-section,
.home-page .weyada-builder-row,
.home-page .weyada-builder-column,
.home-page [data-component-id="home-v102-pricing"],
.home-page [data-component-id="home-v103-final-row"],
.home-page [data-component-id="home-v103-membership-row"]{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
.home-page .home-membership-section::before,
.home-page .home-membership-section::after,
.home-page .home-pricing-module::before,
.home-page .home-pricing-module::after,
.home-page .home-button-section::before,
.home-page .home-button-section::after{
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}

/* Both Home pricing presentations use the same white-card palette. */
.home-page .home-membership-card,
.home-page .home-pricing-module .tier-card,
.home-page > .system-page-editable .tier-card{
  background:#ffffff!important;
  background-color:#ffffff!important;
  color:#202124!important;
  border-color:#d8dade!important;
}
.home-page .home-membership-card h1,
.home-page .home-membership-card h2,
.home-page .home-membership-card h3,
.home-page .home-membership-card h4,
.home-page .home-membership-card .home-membership-price,
.home-page .home-pricing-module .tier-card h1,
.home-page .home-pricing-module .tier-card h2,
.home-page .home-pricing-module .tier-card h3,
.home-page .home-pricing-module .tier-card h4,
.home-page .home-pricing-module .tier-card .tier-price,
.home-page > .system-page-editable .tier-card h3,
.home-page > .system-page-editable .tier-card .tier-price{
  color:#202124!important;
  text-shadow:none!important;
}
.home-page .home-membership-card p,
.home-page .home-membership-card li,
.home-page .home-membership-card small,
.home-page .home-pricing-module .tier-card p,
.home-page .home-pricing-module .tier-card li,
.home-page .home-pricing-module .tier-card small,
.home-page > .system-page-editable .tier-card p,
.home-page > .system-page-editable .tier-card li{
  color:#555b65!important;
}

/* The non-featured button on the top Home table is intentionally black. */
.home-page .home-membership-card:not(.featured) .btn,
.home-page .home-membership-card:not(.featured) .btn-outline{
  background:#111111!important;
  background-color:#111111!important;
  border-color:#111111!important;
  color:#ffffff!important;
}
.home-page .home-membership-card:not(.featured) .btn:hover,
.home-page .home-membership-card:not(.featured) .btn-outline:hover{
  background:#000000!important;
  background-color:#000000!important;
  color:#ffffff!important;
}

/* Pricing copy inside white cards must never inherit the public white text theme. */
.home-page .home-pricing-module .tier-card strong,
.home-page .home-pricing-module .tier-card span:not(.featured-label),
.home-page .home-membership-card strong:not(.home-membership-badge){
  color:#202124!important;
}
.home-page .home-membership-card .home-membership-access strong,
.home-page .home-pricing-module .tier-card .featured-label,
.home-page .home-membership-badge{color:#fff!important;}
.home-page .home-membership-card .home-membership-access strong{color:var(--accent)!important;}

/* Front-end text formatter: show the entire control set without an inner scroll. */
.live-text-format-toolbar{
  width:min(760px,calc(100vw - 32px))!important;
  max-width:760px!important;
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  padding:10px!important;
  top:66px!important;
  right:16px!important;
  bottom:auto!important;
}
.live-text-toolbar-head{margin-bottom:8px!important;}
.live-text-toolbar-grid{
  grid-template-columns:repeat(4,minmax(120px,1fr))!important;
  gap:6px!important;
}
.live-text-toolbar-grid label,
.live-text-position-box label{gap:3px!important;font-size:9px!important;}
.live-text-toolbar-grid input,
.live-text-toolbar-grid select,
.live-text-position-box input{height:30px!important;font-size:11px!important;padding:0 7px!important;}
.live-text-position-box{margin-top:8px!important;padding-top:8px!important;}
.live-text-position-box>strong{margin-bottom:5px!important;font-size:10px!important;}
.live-text-position-box>div{grid-template-columns:120px 120px auto!important;gap:6px!important;}
.live-text-position-box button,.live-shadow-reset{height:30px!important;font-size:10px!important;}
.live-shadow-reset{width:auto!important;min-width:160px!important;margin-top:6px!important;}
@media (max-width:900px){.live-text-format-toolbar{width:calc(100vw - 20px)!important;right:10px!important;top:64px!important;}
  .live-text-toolbar-grid{grid-template-columns:repeat(3,minmax(105px,1fr))!important;}}
@media (max-width:620px){.live-text-format-toolbar{position:fixed!important;inset:60px 8px auto 8px!important;width:auto!important;max-width:none!important;overflow:visible!important;}
  .live-text-toolbar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .live-text-position-box>div{grid-template-columns:1fr 1fr!important;}
  .live-text-position-box button{grid-column:1/-1!important;}}

/* =========================================================
   WEYADA 4.7.114 — HERO CENTERING LOCK
   Keep the existing moving-book hero, but center the entire
   foreground composition regardless of older grid rules.
   ========================================================= */





/* =========================================================
   WEYADA 4.7.116 — HERO OUTER-CANVAS CENTERING REPAIR
   Restore the stable 4.7.114 hero composition. The original
   4.7.96 full-viewport left/translate rule was still moving the
   entire banner off the true page center. Remove only that old
   outer transform; do not change the animated book stage.
   ========================================================= */


/* The stable book field already centers itself with left:50% and
   translateX(-50%). Keep that motion geometry untouched. */


/* Foreground copy stays centered inside the same full-width hero. */



/* Home sections share the same page center without altering their
   editable column widths. */


/* ==========================================================
   WeYada 4.7.117 — Phase 2: Library discovery redesign
   ========================================================== */
.library-page-modern{width:min(1420px,calc(100% - 48px))!important;max-width:none!important;margin:0 auto!important;padding:clamp(38px,5vw,76px) 0 90px!important;background:transparent!important}
.library-editorial-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:clamp(44px,7vw,110px);align-items:end;padding:24px 0 clamp(46px,6vw,74px);background:transparent!important}
.library-editorial-copy{max-width:820px}.library-editorial-copy h1{margin:10px 0 20px;max-width:820px;font-size:clamp(48px,7vw,92px);line-height:.94;letter-spacing:-.055em;color:#fff}.library-editorial-copy p{max-width:700px;margin:0;color:rgba(255,255,255,.68);font-size:clamp(16px,1.45vw,20px);line-height:1.65}
.library-editorial-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-self:end;padding-bottom:8px}.library-editorial-meta>div{display:grid;gap:4px;min-width:0}.library-editorial-meta strong{font-size:clamp(30px,3vw,46px);line-height:1;color:#fff;letter-spacing:-.04em}.library-editorial-meta span{font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.library-access-bar{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:24px 0 28px;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);background:transparent!important}.library-access-bar>div:first-child{display:grid;gap:4px}.library-access-bar>div:first-child span{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--accent);text-transform:uppercase}.library-access-bar>div:first-child strong{font-size:16px;color:#fff}.library-access-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.library-page-modern .library-filter-section{width:100%!important;max-width:none!important;padding:44px 0 0!important;background:transparent!important}.library-page-modern .library-filter-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;margin:0 0 22px;align-items:center}.library-page-modern .library-search-wrap{min-height:58px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.045);box-shadow:none}.library-page-modern .library-search-wrap input{color:#fff;font-size:15px}.library-page-modern .library-search-wrap input::placeholder{color:rgba(255,255,255,.45)}.library-page-modern .library-search-wrap svg{stroke:rgba(255,255,255,.78)}.library-page-modern .library-filter-trigger{width:58px;height:58px;border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.045);box-shadow:none}.library-page-modern .library-filter-trigger img{filter:invert(1);opacity:.85}
.library-page-modern .library-view-chips{margin:0 0 22px;gap:22px;border-bottom:1px solid rgba(255,255,255,.10)}.library-page-modern .library-view-chip{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:rgba(255,255,255,.55);padding:10px 1px 12px;font-size:13px;letter-spacing:.01em}.library-page-modern .library-view-chip.is-active{background:transparent;border-color:var(--accent);color:#fff}.library-page-modern .library-results-summary{margin:0 0 28px;color:rgba(255,255,255,.45);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.library-page-modern .book-grid.audiobook-library-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:36px 22px!important}.library-page-modern .audiobook-card{gap:13px}.library-page-modern .audiobook-card .library-cover{border-radius:14px!important;background:#171719!important;box-shadow:0 18px 44px rgba(0,0,0,.22)!important;transition:transform .24s ease,box-shadow .24s ease}.library-page-modern .audiobook-card:hover .library-cover{transform:translateY(-5px);box-shadow:0 24px 54px rgba(0,0,0,.34)!important}.library-page-modern .audiobook-card-info h3{color:#fff!important;font-size:16px!important}.library-page-modern .audiobook-card-info>p{color:rgba(255,255,255,.47)!important}.library-page-modern .audiobook-card-series{font-size:10px}.library-page-modern .library-filter-popover{background:#171719;border-color:rgba(255,255,255,.10);box-shadow:0 24px 50px rgba(0,0,0,.4)}.library-page-modern .library-filter-option{color:rgba(255,255,255,.8)}.library-page-modern .library-filter-option:hover,.library-page-modern .library-filter-option:focus-visible{background:rgba(255,255,255,.06)}.library-page-modern .library-filter-option.is-active{background:rgba(243,158,158,.10);color:var(--accent)}
@media (max-width:1100px){.library-editorial-hero{grid-template-columns:1fr;gap:38px}.library-editorial-meta{max-width:620px}.library-page-modern .book-grid.audiobook-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:820px){.library-page-modern{width:min(100% - 30px,1420px)!important;padding-top:30px!important}.library-access-bar{align-items:flex-start;flex-direction:column}.library-access-actions{justify-content:flex-start}.library-page-modern .book-grid.audiobook-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px 16px!important}}
@media (max-width:620px){.library-editorial-copy h1{font-size:clamp(42px,14vw,66px)}.library-editorial-meta{grid-template-columns:repeat(3,1fr);gap:10px}.library-page-modern .book-grid.audiobook-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 14px!important}}

/* 4.7.118 — Phase 2 navigation: minimal header + full-screen menu */
.topbar{
  min-height:72px!important;
  height:72px!important;
  padding:0 clamp(18px,4vw,72px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:18px!important;
  background:#fff!important;
  border-bottom:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.topbar>.brand{
  order:1!important;
  height:72px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  max-width:min(260px,50vw)!important;
  overflow:visible!important;
  margin:0!important;
}
.topbar>.brand .site-logo-header{
  display:block!important;
  width:auto!important;
  max-width:min(var(--header-logo-width,210px),46vw)!important;
  max-height:52px!important;
  object-fit:contain!important;
}
.topbar .mainnav,.topbar .nav-auth-actions{display:none!important}
.mobile-menu-toggle{
  order:3!important;
  display:flex!important;
  margin:0 0 0 auto!important;
  width:48px!important;
  height:48px!important;
  flex:0 0 48px!important;
  border:0!important;
  background:transparent!important;
  border-radius:999px!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:5px!important;
  cursor:pointer!important;
  padding:10px!important;
  position:relative!important;
  z-index:2302!important;
}
.mobile-menu-toggle span{
  display:block!important;
  width:27px!important;
  height:2px!important;
  border-radius:999px!important;
  background:#111!important;
  transition:transform .2s ease,opacity .2s ease!important;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)!important}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0!important}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)!important}
.mobile-nav-backdrop{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:2298!important;
  background:rgba(0,0,0,.25)!important;
  opacity:0!important;
  transition:opacity .2s ease!important;
}
.mobile-nav-backdrop[hidden]{display:none!important}
.mobile-nav-backdrop.open{opacity:1!important}
.mobile-nav-drawer{
  display:flex!important;
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  max-width:none!important;
  height:100dvh!important;
  background:#0c0c0d!important;
  color:#fff!important;
  z-index:2301!important;
  flex-direction:column!important;
  box-shadow:none!important;
  transform:translateY(-102%)!important;
  transition:transform .32s cubic-bezier(.2,.8,.2,1)!important;
  overflow:hidden!important;
}
.mobile-nav-drawer[hidden]{display:none!important}
.mobile-nav-drawer.open{transform:translateY(0)!important}
.mobile-nav-drawer-head{
  height:78px!important;
  flex:0 0 78px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:0 clamp(22px,5vw,80px)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  background:transparent!important;
}
.mobile-nav-drawer-head strong{
  color:#fff!important;
  font-size:12px!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
.mobile-nav-drawer-head button{
  width:48px!important;
  height:48px!important;
  border:1px solid rgba(255,255,255,.15)!important;
  background:rgba(255,255,255,.04)!important;
  color:#fff!important;
  border-radius:999px!important;
  font-size:30px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.mobile-nav-drawer-body{
  flex:1 1 auto!important;
  min-height:0!important;
  padding:clamp(28px,5vh,60px) clamp(24px,7vw,120px) clamp(24px,5vh,60px)!important;
  display:flex!important;
  flex-direction:column!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
}
.site-menu-primary{
  width:min(100%,1000px)!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:clamp(36px,7vw,110px)!important;
  row-gap:2px!important;
}
.mobile-drawer-link{
  width:100%!important;
  min-height:auto!important;
  padding:10px 0!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  text-align:left!important;
  font-size:clamp(30px,4.2vw,66px)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
  font-weight:800!important;
  cursor:pointer!important;
  border-radius:0!important;
  transition:opacity .15s ease,transform .15s ease,color .15s ease!important;
}
.mobile-drawer-link:hover,.mobile-drawer-link:focus{opacity:.72!important;transform:translateX(6px)!important}
.site-menu-section-label,.mobile-drawer-section-label{
  grid-column:1/-1!important;
  margin:28px 0 10px!important;
  color:#f39e9e!important;
  font-size:11px!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
  font-weight:800!important;
}
.site-menu-account{
  margin-top:auto!important;
  padding-top:28px!important;
  border-top:1px solid rgba(255,255,255,.13)!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.site-menu-account-label{
  width:100%!important;
  margin-bottom:4px!important;
  color:rgba(255,255,255,.55)!important;
  font-size:11px!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  font-weight:800!important;
}
.site-menu-account .mobile-drawer-link{
  width:auto!important;
  min-width:140px!important;
  padding:13px 20px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:999px!important;
  font-size:15px!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-align:center!important;
  font-weight:800!important;
}
.site-menu-account .mobile-drawer-primary{
  background:#f39e9e!important;
  border-color:#f39e9e!important;
  color:#111!important;
}
.site-menu-account .mobile-drawer-signout{color:#ffb0b0!important}
.mobile-admin-accordion{grid-column:1/-1!important;margin-top:18px!important}
.mobile-admin-toggle{width:100%!important;display:flex!important;justify-content:space-between!important;align-items:center!important;padding:14px 0!important;border:0!important;background:transparent!important;color:#fff!important;font-size:20px!important;font-weight:800!important;cursor:pointer!important}
.mobile-admin-submenu{padding:6px 0 14px!important}
.mobile-admin-group{margin:4px 0!important}.mobile-admin-group-toggle,.mobile-admin-link{width:100%!important;text-align:left!important;border:0!important;background:transparent!important;color:#ddd!important;padding:9px 0!important;cursor:pointer!important}
body.mobile-menu-open{overflow:hidden!important}
@media (max-width:760px){.topbar{height:64px!important;min-height:64px!important;padding:0 14px!important}
  .topbar>.brand{height:64px!important;max-width:calc(100vw - 82px)!important}
  .topbar>.brand .site-logo-header{max-height:46px!important;max-width:min(var(--mobile-logo-width,160px),calc(100vw - 86px))!important}
  .mobile-nav-drawer-head{height:68px!important;flex-basis:68px!important;padding:0 18px!important}
  .mobile-nav-drawer-body{padding:24px 20px 24px!important}
  .site-menu-primary{grid-template-columns:1fr!important;row-gap:0!important}
  .mobile-drawer-link{font-size:clamp(31px,10vw,48px)!important;padding:7px 0!important}
  .site-menu-section-label,.mobile-drawer-section-label{grid-column:auto!important;margin-top:22px!important}
  .site-menu-account{padding-top:20px!important}
  .site-menu-account .mobile-drawer-link{font-size:14px!important;min-width:126px!important;padding:12px 17px!important}}

/* ==========================================================
   WeYada 4.7.119 — Dark cinematic navigation + global public text
   ========================================================== */
:root{
  --weyada-public-bg:#0c0c0d;
  --weyada-public-text:#f4f2ef;
  --weyada-public-muted:rgba(244,242,239,.68);
  --weyada-public-soft:rgba(244,242,239,.46);
}
html,body{background:var(--weyada-public-bg)!important;}

/* Lanes-style invisible header: same surface as hero, no white strip. */
.topbar{
  background:var(--weyada-public-bg)!important;
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  color:var(--weyada-public-text)!important;
}
.topbar>.brand{background:transparent!important;}
.topbar>.brand.logo-load-failed::after{color:var(--weyada-public-text)!important;}
.topbar>.brand .site-logo-header{background:transparent!important;}

/* Lanes-inspired staggered white menu glyph. */
.mobile-menu-toggle{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  align-items:flex-end!important;
  gap:5px!important;
  padding:10px 8px!important;
}
.mobile-menu-toggle span{
  height:3px!important;
  background:#fff!important;
  border-radius:999px!important;
  transform-origin:center!important;
}
.mobile-menu-toggle span:nth-child(1){width:25px!important;}
.mobile-menu-toggle span:nth-child(2){width:17px!important;}
.mobile-menu-toggle span:nth-child(3){width:25px!important;}
.mobile-menu-toggle:hover span,.mobile-menu-toggle:focus-visible span{background:var(--accent)!important;}
.mobile-menu-toggle[aria-expanded="true"]{align-items:center!important;}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){width:25px!important;transform:translateY(8px) rotate(45deg)!important;}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0!important;}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){width:25px!important;transform:translateY(-8px) rotate(-45deg)!important;}

/* Full-screen menu remains one continuous charcoal canvas. */
.mobile-nav-drawer,.mobile-nav-drawer-head,.mobile-nav-drawer-body{background:var(--weyada-public-bg)!important;}
.mobile-nav-backdrop{background:rgba(12,12,13,.72)!important;}
.mobile-nav-drawer-head{border-bottom-color:rgba(255,255,255,.08)!important;}
.mobile-nav-drawer-head strong,.mobile-nav-drawer-head button,.mobile-drawer-link,.site-menu-account-label,.site-menu-section-label{color:var(--weyada-public-text)!important;}
.mobile-nav-drawer-head button{background:transparent!important;border-color:rgba(255,255,255,.16)!important;}
.mobile-drawer-link{background:transparent!important;}
.mobile-drawer-link:hover,.mobile-drawer-link:focus-visible{color:var(--accent)!important;background:transparent!important;}

/* Public-site typography: light on the dark canvas. */
#app{color:var(--weyada-public-text);}
#app > .page:not(.admin-page),
#app > section:not(.admin-page),
.footer{color:var(--weyada-public-text);}
#app > .page:not(.admin-page) h1,
#app > .page:not(.admin-page) h2,
#app > .page:not(.admin-page) h3,
#app > .page:not(.admin-page) h4,
#app > .page:not(.admin-page) h5,
#app > .page:not(.admin-page) h6,
#app > section:not(.admin-page) h1,
#app > section:not(.admin-page) h2,
#app > section:not(.admin-page) h3,
#app > section:not(.admin-page) h4,
.footer h1,.footer h2,.footer h3,.footer h4{color:var(--weyada-public-text);}
#app > .page:not(.admin-page) p,
#app > .page:not(.admin-page) li,
#app > .page:not(.admin-page) small,
#app > .page:not(.admin-page) label,
#app > .page:not(.admin-page) .muted,
#app > section:not(.admin-page) p,
#app > section:not(.admin-page) li,
.footer p,.footer small,.footer span{color:var(--weyada-public-muted);}
#app > .page:not(.admin-page) a:not(.btn),
#app > section:not(.admin-page) a:not(.btn),
.footer a{color:var(--weyada-public-text);}
#app > .page:not(.admin-page) a:not(.btn):hover,
#app > section:not(.admin-page) a:not(.btn):hover,
.footer a:hover{color:var(--accent);}

/* Dark-theme inputs and controls on public pages. */
#app > .page:not(.admin-page) input:not([type="checkbox"]):not([type="radio"]),
#app > .page:not(.admin-page) select,
#app > .page:not(.admin-page) textarea{
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.14);
  color:var(--weyada-public-text);
}
#app > .page:not(.admin-page) input::placeholder,
#app > .page:not(.admin-page) textarea::placeholder{color:var(--weyada-public-soft);}

/* Keep deliberately light cards readable with dark typography. */
.signin-card,.home-membership-card,.tier-card,
.home-membership-card h1,.home-membership-card h2,.home-membership-card h3,.home-membership-card h4,
.home-membership-card p,.home-membership-card li,.home-membership-card small,.home-membership-card strong,
.tier-card h1,.tier-card h2,.tier-card h3,.tier-card h4,.tier-card p,.tier-card li,.tier-card small,.tier-card strong{
  color:#232326!important;
}
.signin-card,.signin-card h1,.signin-card h2,.signin-card h3,.signin-card p,.signin-card label,.signin-card span{color:#232326!important;}
.signin-card input{background:#fff!important;color:#232326!important;border-color:#dedee2!important;}

/* Footer follows the same dark text system rather than legacy dark copy. */
.footer{background:var(--weyada-public-bg)!important;border-top-color:rgba(255,255,255,.11)!important;}
.footer [data-footer-kicker],.footer [data-footer-nav-label]{color:var(--accent)!important;}
.footer [data-footer-description],.footer [data-footer-meta-label],.footer [data-footer-copyright]{color:var(--weyada-public-muted)!important;}

/* Admin remains a light working interface. */
.admin-page,.admin-page h1,.admin-page h2,.admin-page h3,.admin-page h4,.admin-page p,.admin-page li,.admin-page label,.admin-page small,.admin-page span{color:#202226;}
.admin-page input,.admin-page select,.admin-page textarea{background:#fff;color:#202226;border-color:#dedee2;}

@media (max-width:620px){.topbar{background:var(--weyada-public-bg)!important;}
  .mobile-menu-toggle{width:44px!important;height:44px!important;flex-basis:44px!important;}}

/* ==========================================================
   WeYada 4.7.120 — frosted navigation + strict public/backend theme split
   ========================================================== */
:root{
  --weyada-public-bg:#0c0c0d;
  --weyada-public-text:#f5f3f0;
  --weyada-public-muted:rgba(245,243,240,.72);
  --weyada-public-soft:rgba(245,243,240,.52);
  --weyada-backend-bg:#f4f5f7;
  --weyada-backend-card:#ffffff;
  --weyada-backend-text:#202226;
  --weyada-backend-muted:#667085;
}

/* Frosted, visually transparent header over the page/hero. */
.topbar{
  background:rgba(12,12,13,.18)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
  border:0!important;
  box-shadow:none!important;
}
.mobile-nav-backdrop{
  background:rgba(12,12,13,.22)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  backdrop-filter:blur(10px)!important;
}
.mobile-nav-drawer,
.mobile-nav-drawer-head,
.mobile-nav-drawer-body{
  background:rgba(12,12,13,.80)!important;
  -webkit-backdrop-filter:blur(24px) saturate(135%)!important;
  backdrop-filter:blur(24px) saturate(135%)!important;
}

/* Public dark theme: readable light text throughout. */
body:not(.admin-session) #app > .page:not(.admin-page):not(.member-dashboard-page):not(.billing-page):not(.profile-tools-page),
body:not(.admin-session) #app > section:not(.admin-page){
  color:var(--weyada-public-text)!important;
}
body:not(.admin-session) #app > .page:not(.admin-page):not(.member-dashboard-page):not(.billing-page):not(.profile-tools-page) :is(h1,h2,h3,h4,h5,h6,strong,b),
body:not(.admin-session) #app > section:not(.admin-page) :is(h1,h2,h3,h4,h5,h6,strong,b){
  color:var(--weyada-public-text)!important;
}
body:not(.admin-session) #app > .page:not(.admin-page):not(.member-dashboard-page):not(.billing-page):not(.profile-tools-page) :is(p,li,small,label),
body:not(.admin-session) #app > section:not(.admin-page) :is(p,li,small,label){
  color:var(--weyada-public-muted)!important;
}

/* Library title/author metadata must remain legible on dark surfaces. */
.library-page-modern .audiobook-card-info h3,
.library-page-modern .book-card h3,
.library-page-modern .audiobook-card-info strong{
  color:var(--weyada-public-text)!important;
}
.library-page-modern .audiobook-card-info>p,
.library-page-modern .book-card p,
.library-page-modern .library-results-summary{
  color:var(--weyada-public-muted)!important;
}
.library-page-modern .library-editorial-copy h1,
.library-page-modern .library-editorial-copy p,
.library-page-modern .library-editorial-meta strong,
.library-page-modern .library-editorial-meta span,
.library-page-modern .library-access-bar strong{
  color:var(--weyada-public-text)!important;
}

/* Contact is public/dark: light labels, readable white fields. */
.contact-form-section,
.contact-clean-form{background:transparent!important;color:var(--weyada-public-text)!important;}
.contact-clean-field span{
  color:var(--weyada-public-text)!important;
}
.contact-clean-field input,
.contact-clean-field textarea{
  background:#fff!important;
  color:#202226!important;
  border-color:rgba(255,255,255,.24)!important;
}
.contact-clean-field input::placeholder,
.contact-clean-field textarea::placeholder{
  color:#858b96!important;
  opacity:1!important;
}
.contact-clean-form .status-message{color:var(--weyada-public-muted)!important;}

/* Member dashboard/account pages are backend-style working surfaces: light. */
.member-dashboard-page,
.billing-page,
.profile-tools-page{
  background:var(--weyada-backend-bg)!important;
  color:var(--weyada-backend-text)!important;
  border-radius:0!important;
}
.member-dashboard-page :is(h1,h2,h3,h4,h5,h6,strong,b,label),
.billing-page :is(h1,h2,h3,h4,h5,h6,strong,b,label),
.profile-tools-page :is(h1,h2,h3,h4,h5,h6,strong,b,label){
  color:var(--weyada-backend-text)!important;
}
.member-dashboard-page :is(p,li,small,.muted),
.billing-page :is(p,li,small,.muted),
.profile-tools-page :is(p,li,small,.muted){
  color:var(--weyada-backend-muted)!important;
}
.member-summary-card,
.member-dashboard-section,
.billing-summary-card,
.billing-panel,
.profile-overview-card,
.profile-panel,
.profile-notification-item,
.profile-action-button{
  background:var(--weyada-backend-card)!important;
  color:var(--weyada-backend-text)!important;
}
.member-welcome{background:#202226!important;color:#fff!important;}
.member-welcome :is(h1,h2,h3,strong){color:#fff!important;}
.member-welcome p{color:rgba(255,255,255,.76)!important;}
.member-quick-links button{background:#fafafa!important;color:var(--weyada-backend-text)!important;}
.member-quick-links button:hover{background:#fff!important;}
.billing-page input,.billing-page select,.billing-page textarea,
.profile-tools-page input,.profile-tools-page select,.profile-tools-page textarea,
.member-dashboard-page input,.member-dashboard-page select,.member-dashboard-page textarea{
  background:#fff!important;color:var(--weyada-backend-text)!important;border-color:#d9dde3!important;
}

/* Admin is always light, even though the public shell is dark. */
body.admin-session{background:var(--weyada-backend-bg)!important;color:var(--weyada-backend-text)!important;}
body.admin-session .topbar{
  background:rgba(255,255,255,.90)!important;
  -webkit-backdrop-filter:blur(18px) saturate(130%)!important;
  backdrop-filter:blur(18px) saturate(130%)!important;
}
body.admin-session .mobile-menu-toggle span{background:#202226!important;}
.admin-page{
  background:var(--weyada-backend-bg)!important;
  color:var(--weyada-backend-text)!important;
}
.admin-page #admin-panel,
.admin-page .panel,
.admin-page .admin-command-bar,
.admin-page .growth-admin-card,
.admin-page .admin-book-card,
.admin-page .appearance-layout-panel,
.admin-page .appearance-palette-card{
  background:#fff!important;
  color:var(--weyada-backend-text)!important;
}
.admin-page :is(h1,h2,h3,h4,h5,h6,strong,b,label,span){color:var(--weyada-backend-text)!important;}
.admin-page :is(p,li,small,.muted){color:var(--weyada-backend-muted)!important;}
.admin-page input,.admin-page select,.admin-page textarea{
  background:#fff!important;
  color:var(--weyada-backend-text)!important;
  border-color:#d9dde3!important;
}
.admin-page input::placeholder,.admin-page textarea::placeholder{color:#98a2b3!important;}
.admin-page .admin-eyebrow{color:var(--accent)!important;}

/* Preserve deliberate light cards inside the public dark theme. */
body:not(.admin-session) :is(.signin-card,.home-membership-card,.tier-card){color:#232326!important;}
body:not(.admin-session) :is(.signin-card,.home-membership-card,.tier-card) :is(h1,h2,h3,h4,h5,h6,p,li,small,label,strong,b,span){color:#232326!important;}

@media (max-width:760px){.topbar{background:rgba(12,12,13,.16)!important;}
  body.admin-session .topbar{background:rgba(255,255,255,.92)!important;}}


/* 4.7.123 — isolated Glossary feature rebuilt on the clean 4.7.120 frontend. */
.glossary-page{min-height:100vh;background:var(--page-bg,#0c0c0d);color:#f7f7f5}
.glossary-hero{min-height:var(--glossary-banner-height,300px);display:flex;align-items:center;justify-content:center;padding:64px 24px;background:linear-gradient(135deg,rgba(243,158,158,.14),rgba(255,255,255,.02) 42%,rgba(255,255,255,0));border-bottom:1px solid rgba(255,255,255,.08)}
.glossary-hero-inner{width:min(1100px,100%);margin:auto;text-align:center}.glossary-kicker{display:block;margin-bottom:12px;font-size:12px;font-weight:800;letter-spacing:.22em;color:var(--accent,#F39E9E)}
.glossary-hero h1{margin:0;font-size:clamp(48px,8vw,108px);line-height:.92;letter-spacing:-.05em;color:#fff}.glossary-hero p{max-width:720px;margin:22px auto 0;font-size:18px;line-height:1.6;color:#c9c9cd}
.glossary-search{width:min(680px,100%);margin:34px auto 0;display:flex;align-items:center;gap:12px;padding:0 18px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.glossary-search span{font-size:24px;color:#fff}.glossary-search input{width:100%;height:58px;border:0!important;outline:0;background:transparent!important;color:#fff!important;font-size:16px}.glossary-search input::placeholder{color:#9d9da3}
.glossary-content{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:48px 0 96px}.glossary-alphabet{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.glossary-alphabet button{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.04);color:#fff;font-weight:800;cursor:pointer}.glossary-alphabet button:hover{background:var(--accent,#F39E9E);border-color:var(--accent,#F39E9E);color:#1a1a1a}
.glossary-results-meta{margin:0 0 24px;color:#8f8f95;font-size:14px}.glossary-list{display:grid;gap:0}.glossary-entry{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,2fr);gap:52px;padding:38px 0;border-top:1px solid rgba(255,255,255,.1)}.glossary-entry:last-child{border-bottom:1px solid rgba(255,255,255,.1)}.glossary-word{display:flex;gap:16px;align-items:flex-start}.glossary-word>span,.glossary-definition>span{flex:0 0 auto;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--accent,#F39E9E);color:#181818;font-size:12px;font-weight:900}.glossary-word h2{margin:0;color:#fff;font-size:clamp(30px,4vw,52px);line-height:1;letter-spacing:-.035em}.glossary-definitions{display:grid;gap:18px}.glossary-definition{display:grid;grid-template-columns:30px 1fr;gap:14px;align-items:start}.glossary-definition p{margin:2px 0 0;color:#d4d4d7;font-size:17px;line-height:1.65}
.glossary-admin-page{display:grid;gap:28px}.glossary-settings-form,.glossary-admin-editor,.glossary-admin-list{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px}.glossary-entry-form{display:grid;gap:16px}.glossary-meaning-list{display:grid;gap:10px}.glossary-meaning-admin{display:grid;grid-template-columns:34px 1fr 42px;gap:10px;align-items:start}.glossary-meaning-letter{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f3f4f6;color:#111827;font-weight:800}.glossary-meaning-admin textarea{width:100%;min-height:86px}.glossary-admin-card{display:grid;gap:14px;padding:18px 0;border-top:1px solid #e5e7eb}.glossary-admin-card-head{display:flex;gap:16px;align-items:center;justify-content:space-between}.glossary-word-input{font-size:22px;font-weight:800;min-width:220px;max-width:440px}
@media (max-width:760px){.glossary-hero{padding:48px 20px}.glossary-content{width:min(100% - 28px,1180px);padding-top:32px}.glossary-entry{grid-template-columns:1fr;gap:22px;padding:30px 0}.glossary-admin-card-head{align-items:stretch;flex-direction:column}.glossary-admin-card-head .admin-inline-actions{flex-wrap:wrap}.glossary-word-input{max-width:none;width:100%}}

/* ==========================================================
   WeYada 4.7.124 — isolated Glossary dark theme + frosted public nav
   Built on 4.7.123 only. No legacy 4.7.121/4.7.122 frontend overrides.
   ========================================================== */

/* Public navigation is always frosted, including when an admin is signed in. */
.topbar,
body.admin-session .topbar{
  background:rgba(12,12,13,.22)!important;
  -webkit-backdrop-filter:blur(22px) saturate(140%)!important;
  backdrop-filter:blur(22px) saturate(140%)!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.06)!important;
  box-shadow:none!important;
}
.topbar .mobile-menu-toggle span,
body.admin-session .topbar .mobile-menu-toggle span{
  background:#f7f7f5!important;
}

/* Keep the backend/admin route light. This applies only when an admin page is actually open. */
body.admin-session:has(#app .admin-page){
  background:var(--weyada-backend-bg,#f4f5f7)!important;
  color:var(--weyada-backend-text,#202226)!important;
}
body.admin-session:has(#app .admin-page) .topbar{
  background:rgba(255,255,255,.90)!important;
  -webkit-backdrop-filter:blur(18px) saturate(130%)!important;
  backdrop-filter:blur(18px) saturate(130%)!important;
  border-bottom:1px solid rgba(17,24,39,.08)!important;
}
body.admin-session:has(#app .admin-page) .topbar .mobile-menu-toggle span{
  background:#202226!important;
}

/* Glossary: explicitly dark whether the viewer is signed out, a member, or an admin previewing the public page. */
.glossary-page,
body.admin-session .glossary-page{
  --glossary-bg:#0c0c0d;
  --glossary-surface:#141416;
  --glossary-surface-2:#19191c;
  --glossary-text:#f6f4f1;
  --glossary-muted:rgba(246,244,241,.72);
  --glossary-soft:rgba(246,244,241,.50);
  min-height:100vh!important;
  background:var(--glossary-bg)!important;
  color:var(--glossary-text)!important;
}
.glossary-hero,
body.admin-session .glossary-hero{
  background:
    radial-gradient(circle at 50% 0%,rgba(243,158,158,.14),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0))!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.glossary-hero h1,
.glossary-word h2,
.glossary-search span,
body.admin-session .glossary-hero h1,
body.admin-session .glossary-word h2,
body.admin-session .glossary-search span{
  color:var(--glossary-text)!important;
}
.glossary-hero p,
.glossary-definition p,
.glossary-results-meta,
body.admin-session .glossary-hero p,
body.admin-session .glossary-definition p,
body.admin-session .glossary-results-meta{
  color:var(--glossary-muted)!important;
}
.glossary-kicker,
body.admin-session .glossary-kicker{
  color:var(--accent,#F39E9E)!important;
}
.glossary-content,
body.admin-session .glossary-content{
  background:transparent!important;
  color:var(--glossary-text)!important;
}
.glossary-search,
body.admin-session .glossary-search{
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 14px 40px rgba(0,0,0,.18)!important;
  -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
  backdrop-filter:blur(18px) saturate(125%)!important;
}
.glossary-search input,
body.admin-session .glossary-search input{
  background:transparent!important;
  color:var(--glossary-text)!important;
  border:0!important;
  box-shadow:none!important;
}
.glossary-search input::placeholder,
body.admin-session .glossary-search input::placeholder{
  color:var(--glossary-soft)!important;
  opacity:1!important;
}
.glossary-alphabet button,
body.admin-session .glossary-alphabet button{
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(255,255,255,.14)!important;
  color:var(--glossary-text)!important;
}
.glossary-alphabet button:hover,
.glossary-alphabet button:focus-visible,
body.admin-session .glossary-alphabet button:hover,
body.admin-session .glossary-alphabet button:focus-visible{
  background:var(--accent,#F39E9E)!important;
  border-color:var(--accent,#F39E9E)!important;
  color:#171719!important;
}
.glossary-entry,
body.admin-session .glossary-entry{
  background:transparent!important;
  border-color:rgba(255,255,255,.10)!important;
}
.glossary-word>span,
.glossary-definition>span,
body.admin-session .glossary-word>span,
body.admin-session .glossary-definition>span{
  background:var(--accent,#F39E9E)!important;
  color:#171719!important;
}
.glossary-empty,
body.admin-session .glossary-empty{
  background:transparent!important;
  color:var(--glossary-muted)!important;
}
.glossary-empty h3,
body.admin-session .glossary-empty h3{color:var(--glossary-text)!important;}

/* The drawer itself keeps the same frosted language as the header. */
.mobile-nav-backdrop{
  background:rgba(6,6,7,.28)!important;
  -webkit-backdrop-filter:blur(8px)!important;
  backdrop-filter:blur(8px)!important;
}
.mobile-nav-drawer,
.mobile-nav-drawer-head,
.mobile-nav-drawer-body{
  background:rgba(12,12,13,.76)!important;
  -webkit-backdrop-filter:blur(26px) saturate(135%)!important;
  backdrop-filter:blur(26px) saturate(135%)!important;
}
.mobile-nav-drawer,
.mobile-nav-drawer a,
.mobile-nav-drawer button,
.mobile-nav-drawer strong{color:#f7f7f5!important;}

@media (max-width:760px){.topbar,body.admin-session .topbar{background:rgba(12,12,13,.20)!important;}}

/* ==========================================================
   WeYada 4.7.125 — true overlay glass navigation
   Public header is removed from normal document flow so the
   page/hero sits behind it, allowing backdrop blur to sample
   the actual page instead of a blank light strip.
   ========================================================== */

/* Public site: overlay the nav on the page itself. */
body:not(.admin-session),
body.admin-session:not(:has(#app .admin-page)){
  background:#0c0c0d!important;
}

body:not(.admin-session) .topbar,
body.admin-session:not(:has(#app .admin-page)) .topbar{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:5000!important;
  background:rgba(10,10,11,.08)!important;
  background-color:rgba(10,10,11,.08)!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.045)!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:blur(18px) saturate(118%)!important;
  backdrop-filter:blur(18px) saturate(118%)!important;
}

/* Remove every inherited white/milky layer from the public header. */
body:not(.admin-session) .topbar::before,
body:not(.admin-session) .topbar::after,
body.admin-session:not(:has(#app .admin-page)) .topbar::before,
body.admin-session:not(:has(#app .admin-page)) .topbar::after{
  content:none!important;
  display:none!important;
  background:none!important;
  opacity:0!important;
}

/* Keep the logo/menu floating cleanly on the glass. */
body:not(.admin-session) .topbar>.brand,
body.admin-session:not(:has(#app .admin-page)) .topbar>.brand,
body:not(.admin-session) .mobile-menu-toggle,
body.admin-session:not(:has(#app .admin-page)) .mobile-menu-toggle{
  position:relative!important;
  z-index:2!important;
  background:transparent!important;
  box-shadow:none!important;
}

body:not(.admin-session) .mobile-menu-toggle span,
body.admin-session:not(:has(#app .admin-page)) .mobile-menu-toggle span{
  background:#fff!important;
}

/* Let page content run underneath the fixed glass header. */
body:not(.admin-session) #app,
body.admin-session:not(:has(#app .admin-page)) #app{
  padding-top:0!important;
  margin-top:0!important;
}

/* Give non-hero public pages breathing room beneath the overlay
   without creating a separate colored header band. */
body:not(.admin-session) #app>.page:not(.home-page):not(.glossary-page),
body.admin-session:not(:has(#app .admin-page)) #app>.page:not(.home-page):not(.glossary-page){
  padding-top:max(88px,calc(env(safe-area-inset-top) + 76px))!important;
}

/* Glossary hero itself extends behind the navigation, like Lanes. */
.glossary-page .glossary-hero{
  padding-top:max(110px,calc(env(safe-area-inset-top) + 96px))!important;
}

/* Actual admin remains a normal light working interface. */
body.admin-session:has(#app .admin-page) .topbar{
  position:sticky!important;
  top:0!important;
  left:auto!important;
  right:auto!important;
  width:auto!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid rgba(17,24,39,.08)!important;
  -webkit-backdrop-filter:blur(16px) saturate(120%)!important;
  backdrop-filter:blur(16px) saturate(120%)!important;
}

@media (max-width:760px){body:not(.admin-session) .topbar,
  body.admin-session:not(:has(#app .admin-page)) .topbar{
    background:rgba(10,10,11,.07)!important;
    -webkit-backdrop-filter:blur(16px) saturate(115%)!important;
    backdrop-filter:blur(16px) saturate(115%)!important;
  }}


/* ==========================================================
   WeYada 4.7.126 — HARD BACKEND/PUBLIC THEME BOUNDARY
   Backend light theme is route-scoped only. Public pages never inherit it.
   ========================================================== */
:root{
  --weyada-backend-bg:#f4f5f7;
  --weyada-backend-card:#ffffff;
  --weyada-backend-text:#202226;
  --weyada-backend-muted:#667085;
  --weyada-backend-line:#e4e7ec;
}

/* Public pages remain on the public theme even when the signed-in user is an admin. */
body.admin-session:not(.backend-light-theme){
  background:#0c0c0d!important;
  color:#f7f7f5!important;
}
body.admin-session:not(.backend-light-theme) #app{
  background:transparent!important;
}
body.admin-session:not(.backend-light-theme) .topbar{
  background:rgba(12,12,13,.08)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
  border-bottom:1px solid rgba(255,255,255,.05)!important;
  box-shadow:none!important;
}
body.admin-session:not(.backend-light-theme) .topbar .mobile-menu-toggle span{
  background:#f7f7f5!important;
}

/* The actual backend workspace is always light and self-contained. */
body.backend-light-theme,
body.backend-light-theme #app{
  background:var(--weyada-backend-bg)!important;
  color:var(--weyada-backend-text)!important;
}
body.backend-light-theme #app{
  min-height:calc(100vh - 72px)!important;
}
body.backend-light-theme .topbar{
  background:#ffffff!important;
  color:var(--weyada-backend-text)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  border:0!important;
  border-bottom:1px solid var(--weyada-backend-line)!important;
  box-shadow:none!important;
}
body.backend-light-theme .topbar .mobile-menu-toggle span{
  background:var(--weyada-backend-text)!important;
}
body.backend-light-theme .footer{display:none!important;}

body.backend-light-theme .admin-page{
  width:min(1280px,calc(100% - 48px))!important;
  max-width:1280px!important;
  margin:0 auto!important;
  padding:32px 0 72px!important;
  background:transparent!important;
  color:var(--weyada-backend-text)!important;
}
body.backend-light-theme .admin-command-bar,
body.backend-light-theme .admin-page #admin-panel,
body.backend-light-theme .admin-page .panel,
body.backend-light-theme .admin-page .admin-card,
body.backend-light-theme .admin-page .admin-panel,
body.backend-light-theme .admin-page .admin-form-section,
body.backend-light-theme .admin-page .growth-admin-card,
body.backend-light-theme .admin-page .appearance-layout-panel,
body.backend-light-theme .admin-page .appearance-palette-card,
body.backend-light-theme .admin-page .glossary-settings-form,
body.backend-light-theme .admin-page .glossary-admin-editor,
body.backend-light-theme .admin-page .glossary-admin-list{
  background:var(--weyada-backend-card)!important;
  color:var(--weyada-backend-text)!important;
  border-color:var(--weyada-backend-line)!important;
}
body.backend-light-theme .admin-page :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend){
  color:var(--weyada-backend-text)!important;
}
body.backend-light-theme .admin-page :is(p,li,small,.muted,.helper-text,.admin-book-count){
  color:var(--weyada-backend-muted)!important;
}
body.backend-light-theme .admin-page :is(input,select,textarea){
  background:#fff!important;
  color:var(--weyada-backend-text)!important;
  border-color:#d0d5dd!important;
}
body.backend-light-theme .admin-page :is(input,textarea)::placeholder{
  color:#98a2b3!important;
}
body.backend-light-theme .admin-page :is(button,.btn){
  color:var(--weyada-backend-text);
}
body.backend-light-theme .admin-page .btn-primary{
  color:#fff!important;
}

/* Sidebar deliberately remains dark, with readable navigation. */
body.backend-light-theme .admin-page .sidebar,
body.backend-light-theme .admin-page .admin-grouped-sidebar{
  background:#111214!important;
  border-color:#111214!important;
}
body.backend-light-theme .admin-page .sidebar :is(button,span,strong,b,small),
body.backend-light-theme .admin-page .admin-grouped-sidebar :is(button,span,strong,b,small){
  color:#f5f5f6!important;
}
body.backend-light-theme .admin-page .admin-nav-direct.active,
body.backend-light-theme .admin-page [data-admin-tab].active{
  background:#fff!important;
  color:#202226!important;
}
body.backend-light-theme .admin-page .admin-nav-submenu button{
  color:#d0d2d6!important;
}
body.backend-light-theme .admin-page .admin-nav-submenu button:hover,
body.backend-light-theme .admin-page .admin-nav-group-toggle:hover{
  background:rgba(255,255,255,.08)!important;
}

/* Kill the dark frame that previously surrounded the backend workspace. */
body.backend-light-theme main#app,
body.backend-light-theme #app > .admin-page,
body.backend-light-theme #app > section.admin-page{
  box-shadow:none!important;
  border:0!important;
}

@media (max-width:760px){body.backend-light-theme .admin-page{
    width:calc(100% - 24px)!important;
    padding:18px 0 56px!important;
  }}
nn/* =========================================================
   WEYADA 4.7.127 — CLEAN HERO REBUILD
   Legacy hero-stage/background rules were removed above.
   The moving books now render directly on the page canvas.
   ========================================================= */
.home-page{
  background:transparent!important;
  background-color:transparent!important;
}




@keyframes weyadaHeroTop127{from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}}
@keyframes weyadaHeroBottom127{from{transform:translate3d(-50%,0,0)}
  to{transform:translate3d(0,0,0)}}











/* WEYADA 4.7.128 — Home content surfaces use no independent background fill.
   The site canvas is the sole background behind text sections. */


/* WEYADA 4.7.132 — HOME SURFACES ARE LAYOUT ONLY */
.home-page>.weyada-builder-row,
.home-page>.weyada-builder-row>.weyada-builder-column,
.home-page>.weyada-builder-row>.weyada-builder-column>.section,
.home-page>.weyada-builder-row .home-text-section,
.home-page>.weyada-builder-row .page-builder-section-bg{
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border-color:transparent!important;
}
.home-page>.weyada-builder-row::before,.home-page>.weyada-builder-row::after,
.home-page>.weyada-builder-row>.weyada-builder-column::before,.home-page>.weyada-builder-row>.weyada-builder-column::after,
.home-page .home-text-section::before,.home-page .home-text-section::after{content:none!important;display:none!important;}

/* 4.7.133 — Glossary multi-meaning grouping */
@media (min-width: 761px){.glossary-entry{
    align-items:start;
  }
  .glossary-word{
    position:sticky;
    top:96px;
    align-self:start;
    z-index:1;
    padding-bottom:6px;
  }
  .glossary-definitions{
    align-self:start;
  }}
@media (max-width:760px){.glossary-word{position:static;top:auto;}}

/* =========================================================
   WEYADA 4.7.134 — BOOK PAGE DARK SURFACE REBUILD
   Public book/detail surfaces inherit the site canvas.
   No white testimony panel on dark pages.
   ========================================================= */
body:not(.backend-light-theme) .book-reference-extras,
body:not(.backend-light-theme) .testimonials-section{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border-color:rgba(255,255,255,.14)!important;
  box-shadow:none!important;
  color:#f5f5f2!important;
}
body:not(.backend-light-theme) .testimonials-section .section-head h2,
body:not(.backend-light-theme) .testimonials-section h2,
body:not(.backend-light-theme) .testimonials-section blockquote p{
  color:#f5f5f2!important;
}
body:not(.backend-light-theme) .testimonials-section .muted,
body:not(.backend-light-theme) .testimonials-section cite,
body:not(.backend-light-theme) .testimonials-section p.muted{
  color:#b9b9bd!important;
}
body:not(.backend-light-theme) .testimonial-grid blockquote{
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(255,255,255,.12)!important;
  color:#f5f5f2!important;
}
body:not(.backend-light-theme) .testimonial-form textarea{
  background:#171719!important;
  color:#f5f5f2!important;
  border-color:rgba(255,255,255,.16)!important;
}
body:not(.backend-light-theme) .testimonial-form textarea::placeholder{
  color:#8f9095!important;
}
body:not(.backend-light-theme) .audible3-chapters-card,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button{
  background:transparent!important;
  color:#f2f2ef!important;
}
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button{
  border-color:rgba(255,255,255,.12)!important;
}
body:not(.backend-light-theme) .audible3-chapters-card .chapter-title-line,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button .chapter-copy strong{
  color:#f2f2ef!important;
}
body:not(.backend-light-theme) .audible3-chapters-card .chapter-subtitle-line,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-time,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button .muted{
  color:#aeb0b4!important;
}
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button:hover,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button:focus-visible{
  background:rgba(255,255,255,.035)!important;
}
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button.is-playing{
  background:rgba(243,158,158,.08)!important;
}

/* ==========================================================
   WeYada 4.7.135 — Public dark-theme audit + Library controls
   Public styling is route/component scoped and does not depend
   on whether an administrator happens to be signed in.
   ========================================================== */

/* Library search: dark, readable, and visually part of the page. */
.library-page-modern .library-search-wrap{
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:none!important;
  color:var(--weyada-public-text)!important;
}
.library-page-modern .library-search-wrap:focus-within{
  background:rgba(255,255,255,.075)!important;
  border-color:rgba(243,158,158,.72)!important;
  box-shadow:0 0 0 2px rgba(243,158,158,.10)!important;
}
.library-page-modern .library-search-wrap input,
.library-page-modern .library-search-wrap input:focus,
.library-page-modern .library-search-wrap input:active{
  background:transparent!important;
  background-color:transparent!important;
  color:var(--weyada-public-text)!important;
  -webkit-text-fill-color:var(--weyada-public-text)!important;
  box-shadow:none!important;
  border:0!important;
  outline:0!important;
}
.library-page-modern .library-search-wrap input::placeholder{
  color:rgba(244,242,239,.46)!important;
  -webkit-text-fill-color:rgba(244,242,239,.46)!important;
}
.library-page-modern .library-search-wrap input:-webkit-autofill,
.library-page-modern .library-search-wrap input:-webkit-autofill:hover,
.library-page-modern .library-search-wrap input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--weyada-public-text)!important;
  -webkit-box-shadow:0 0 0 1000px #151516 inset!important;
  transition:background-color 9999s ease-out 0s!important;
}
.library-page-modern .library-search-wrap svg{stroke:rgba(244,242,239,.82)!important;}

/* Filter control: icon only — no white box around it. */
.library-page-modern .library-filter-trigger,
.library-page-modern .library-filter-trigger:hover,
.library-page-modern .library-filter-trigger:focus,
.library-page-modern .library-filter-trigger:focus-visible{
  width:46px!important;
  height:46px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
.library-page-modern .library-filter-trigger img{
  width:27px!important;
  height:27px!important;
  filter:invert(1)!important;
  opacity:.88!important;
}
.library-page-modern .library-filter-trigger:hover img,
.library-page-modern .library-filter-trigger:focus-visible img{opacity:1!important;}

/* Empty/search-result state belongs to the dark Library canvas. */
.library-page-modern .collection-empty{
  background:transparent!important;
  background-color:transparent!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.library-page-modern .collection-empty h1,
.library-page-modern .collection-empty h2,
.library-page-modern .collection-empty h3,
.library-page-modern .collection-empty strong{
  color:var(--weyada-public-text)!important;
}
.library-page-modern .collection-empty p,
.library-page-modern .collection-empty small{
  color:var(--weyada-public-muted)!important;
}
.library-page-modern .collection-empty .btn-outline{
  background:transparent!important;
  color:var(--weyada-public-text)!important;
  border-color:rgba(255,255,255,.24)!important;
}
.library-page-modern .collection-empty .btn-outline:hover{
  background:rgba(255,255,255,.07)!important;
  border-color:rgba(255,255,255,.38)!important;
}

/* Public pages keep their dark-theme text even while an Admin is signed in.
   Backend/account workspaces are deliberately excluded. */
#app > .page:not(.admin-page):not(.member-dashboard-page):not(.billing-page):not(.profile-tools-page):not(.book-editor-page),
#app > section:not(.admin-page):not(.profile-tools-page){
  color:var(--weyada-public-text)!important;
}
#app > .page:not(.admin-page):not(.member-dashboard-page):not(.billing-page):not(.profile-tools-page):not(.book-editor-page) :where(.page-title,.section-title,.eyebrow + h1,h1,h2,h3,h4,h5,h6),
#app > section:not(.admin-page):not(.profile-tools-page) :where(h1,h2,h3,h4,h5,h6){
  color:var(--weyada-public-text)!important;
}
#app > .page:not(.admin-page):not(.member-dashboard-page):not(.billing-page):not(.profile-tools-page):not(.book-editor-page) :where(.muted,.subtitle,.description,.helper-text,p,small),
#app > section:not(.admin-page):not(.profile-tools-page) :where(.muted,.subtitle,.description,.helper-text,p,small){
  color:var(--weyada-public-muted)!important;
}

/* Intentional light cards keep dark copy. */
:is(.tier-card,.home-membership-card,.auth-card,.checkout-card,.payment-card,.white-card,.light-card) :where(h1,h2,h3,h4,h5,h6,strong,b,p,span,small,label,li){
  color:#202226!important;
}
:is(.tier-card,.home-membership-card,.auth-card,.checkout-card,.payment-card,.white-card,.light-card) input,
:is(.tier-card,.home-membership-card,.auth-card,.checkout-card,.payment-card,.white-card,.light-card) textarea,
:is(.tier-card,.home-membership-card,.auth-card,.checkout-card,.payment-card,.white-card,.light-card) select{
  color:#202226!important;
}

/* Public dark forms: labels must remain visible. White inputs retain dark copy. */
#app > .page:not(.admin-page):not(.member-dashboard-page):not(.billing-page):not(.profile-tools-page):not(.book-editor-page) label{
  color:var(--weyada-public-text)!important;
}
#app > .page:not(.admin-page):not(.member-dashboard-page):not(.billing-page):not(.profile-tools-page):not(.book-editor-page) :is(input,textarea,select){
  color:#202226;
}

@media (max-width:620px){.library-page-modern .library-filter-toolbar{grid-template-columns:minmax(0,1fr) 38px!important;gap:10px!important;}
  .library-page-modern .library-filter-trigger{width:38px!important;height:50px!important;}}

/* ==========================================================
   WeYada 4.7.136 — public button contrast system
   One readable button system for dark public surfaces.
   Backend/admin styling is deliberately excluded.
   ========================================================== */

/* The Preview artwork is a black transparent PNG. On public dark
   surfaces it must be rendered light; intentional light access cards
   retain the original black artwork. */
body:not(.backend-light-theme) :is(.book-summary-page,.book-reference-page,.library-page-modern,.home-page,.store-page,.series-page,.topic-page,.journey-page) .preview-png-button img{
  filter:invert(1) brightness(1.12)!important;
  opacity:.92!important;
}
body:not(.backend-light-theme) :is(.book-summary-page,.book-reference-page,.library-page-modern,.home-page,.store-page,.series-page,.topic-page,.journey-page) .preview-png-button:hover img,
body:not(.backend-light-theme) :is(.book-summary-page,.book-reference-page,.library-page-modern,.home-page,.store-page,.series-page,.topic-page,.journey-page) .preview-png-button:focus-visible img{
  opacity:1!important;
}
body:not(.backend-light-theme) .book-access-gate .preview-png-button img,
body:not(.backend-light-theme) :is(.tier-card,.home-membership-card,.auth-card,.checkout-card,.payment-card,.white-card,.light-card) .preview-png-button img{
  filter:none!important;
  opacity:1!important;
}

/* Accent buttons: the peach surface is light, so dark copy gives the
   strongest contrast and keeps the label readable everywhere. */
body:not(.backend-light-theme) #app :is(.btn-primary,.contact-submit-btn,.nav-join-btn){
  background:var(--accent)!important;
  background-color:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#171719!important;
  -webkit-text-fill-color:#171719!important;
}
body:not(.backend-light-theme) #app :is(.btn-primary,.contact-submit-btn,.nav-join-btn):hover,
body:not(.backend-light-theme) #app :is(.btn-primary,.contact-submit-btn,.nav-join-btn):focus-visible{
  filter:brightness(.96)!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
}

/* Secondary buttons on dark public surfaces. */
body:not(.backend-light-theme) #app .btn-secondary{
  background:#e2e2e3!important;
  background-color:#e2e2e3!important;
  border:1px solid #e2e2e3!important;
  color:#171719!important;
  -webkit-text-fill-color:#171719!important;
}
body:not(.backend-light-theme) #app .btn-secondary:hover,
body:not(.backend-light-theme) #app .btn-secondary:focus-visible{
  background:#f3f3f4!important;
  border-color:#f3f3f4!important;
  color:#111!important;
}

/* Outline buttons remain part of the charcoal canvas. */
body:not(.backend-light-theme) #app .btn-outline{
  background:transparent!important;
  background-color:transparent!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#f5f3f0!important;
  -webkit-text-fill-color:#f5f3f0!important;
}
body:not(.backend-light-theme) #app .btn-outline:hover,
body:not(.backend-light-theme) #app .btn-outline:focus-visible{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.46)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Intentional light cards use dark-copy button variants instead of the
   public dark-surface outline treatment. */
body:not(.backend-light-theme) #app :is(.tier-card,.home-membership-card,.auth-card,.checkout-card,.payment-card,.white-card,.light-card) .btn-outline{
  background:#fff!important;
  background-color:#fff!important;
  border-color:#d8d8dc!important;
  color:#171719!important;
  -webkit-text-fill-color:#171719!important;
}
body:not(.backend-light-theme) #app :is(.tier-card,.home-membership-card,.auth-card,.checkout-card,.payment-card,.white-card,.light-card) .btn-outline:hover{
  background:#f3f3f4!important;
  color:#111!important;
}

/* Explicit black purchase actions always carry white text. */
body:not(.backend-light-theme) #app :is(.book-summary-buy,.book-reference-buy,.store-buy-button){
  background:#050506!important;
  background-color:#050506!important;
  border-color:#050506!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body:not(.backend-light-theme) #app :is(.book-summary-buy,.book-reference-buy,.store-buy-button):hover,
body:not(.backend-light-theme) #app :is(.book-summary-buy,.book-reference-buy,.store-buy-button):focus-visible{
  background:#1c1c1f!important;
  border-color:#1c1c1f!important;
  color:#fff!important;
}

/* Light-gray book-page controls remain intentionally light with dark copy. */
body:not(.backend-light-theme) #app .book-reference-pill:not(.book-reference-buy){
  background:#e2e2e3!important;
  background-color:#e2e2e3!important;
  border-color:#c9c9ca!important;
  color:#171719!important;
  -webkit-text-fill-color:#171719!important;
}
body:not(.backend-light-theme) #app .book-reference-pill:not(.book-reference-buy):hover{
  background:#f0f0f1!important;
  color:#111!important;
}

/* Never let disabled public buttons lose their labels completely. */
body:not(.backend-light-theme) #app button:disabled,
body:not(.backend-light-theme) #app .btn[disabled]{
  opacity:.56;
}

/* === WeYada 4.7.137: Lanes-inspired Contact + live-editable footer === */
body:not(.admin-workspace-active) [data-component-id="contact-lanes-row"].weyada-builder-row{
  width:min(1180px,calc(100% - 72px));margin:0 auto!important;padding:clamp(88px,10vw,150px) 0 110px!important;
  align-items:start;background:transparent!important;box-shadow:none!important;border:0!important;
}
body:not(.admin-workspace-active) [data-component-id="contact-lanes-row"]>.weyada-builder-column{
  min-width:0;background:transparent!important;
}
body:not(.admin-workspace-active) [data-component-id="contact-lanes-row"]>.weyada-builder-column:first-child{padding-right:clamp(12px,2.5vw,38px);}
body:not(.admin-workspace-active) [data-component-id="contact-lanes-row"]>.weyada-builder-column:last-child{padding-left:clamp(8px,2vw,28px);padding-top:76px;}
body:not(.admin-workspace-active) [data-component-id="contact-intro"]{
  padding:0 0 34px!important;background:transparent!important;display:flex;flex-direction:column;align-items:flex-start;
}
body:not(.admin-workspace-active) [data-component-id="contact-intro"] h2{
  order:2;margin:18px 0 0!important;max-width:620px;font-size:clamp(48px,5.2vw,78px)!important;line-height:.98!important;letter-spacing:-.055em!important;font-weight:500!important;color:#f7f7f5!important;
}
body:not(.admin-workspace-active) [data-component-id="contact-intro"] .builder-preserved-text{
  order:1;margin:0!important;color:#aaaab0!important;font:600 12px/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;letter-spacing:.06em!important;
}
body:not(.admin-workspace-active) [data-component-id="contact-image"]{padding:0!important;margin:0!important;background:transparent!important;}
body:not(.admin-workspace-active) [data-component-id="contact-image"] img{
  display:block;width:100%!important;aspect-ratio:1.08/1;min-height:520px;max-height:690px;object-fit:cover;border-radius:18px!important;filter:saturate(.9) contrast(.96);
}
body:not(.admin-workspace-active) [data-component-id="contact-side-heading"]{
  padding:0 0 26px!important;margin:0 0 6px!important;border-bottom:1px solid rgba(255,255,255,.12);background:transparent!important;
}
body:not(.admin-workspace-active) [data-component-id="contact-side-heading"] h2{margin:0!important;font-size:clamp(24px,2vw,34px)!important;line-height:1!important;letter-spacing:-.035em!important;font-weight:600!important;color:#f7f7f5!important;}
body:not(.admin-workspace-active) [data-component-id="contact-side-heading"] .builder-preserved-text{display:none!important;}
body:not(.admin-workspace-active) .contact-form-section{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body:not(.admin-workspace-active) .contact-clean-form{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body:not(.admin-workspace-active) .contact-clean-form h3{margin:0 0 34px!important;font-size:18px!important;font-weight:600!important;color:#f7f7f5!important;}
body:not(.admin-workspace-active) .contact-clean-grid{display:grid!important;grid-template-columns:1fr!important;gap:22px!important;}
body:not(.admin-workspace-active) .contact-clean-field span{display:block;margin:0 0 10px!important;font-size:13px!important;font-weight:500!important;color:#f1f1ef!important;text-transform:none!important;letter-spacing:0!important;}
body:not(.admin-workspace-active) .contact-clean-field input,
body:not(.admin-workspace-active) .contact-clean-field textarea{
  width:100%;box-sizing:border-box;background:#19191b!important;color:#f7f7f5!important;border:1px solid #2d2d30!important;border-radius:8px!important;padding:14px 15px!important;font-size:14px!important;outline:none;box-shadow:none!important;
}
body:not(.admin-workspace-active) .contact-clean-field textarea{min-height:130px!important;resize:vertical;}
body:not(.admin-workspace-active) .contact-clean-field input:focus,
body:not(.admin-workspace-active) .contact-clean-field textarea:focus{border-color:#5f5f64!important;background:#1d1d1f!important;}
body:not(.admin-workspace-active) .contact-clean-field input::placeholder,
body:not(.admin-workspace-active) .contact-clean-field textarea::placeholder{color:#77777d!important;opacity:1!important;}
body:not(.admin-workspace-active) .contact-submit-wrap{margin-top:24px!important;}
body:not(.admin-workspace-active) .contact-submit-btn{width:100%;min-height:48px;border-radius:7px!important;background:#f7f7f5!important;color:#111!important;border:1px solid #f7f7f5!important;font-weight:700!important;}
body:not(.admin-workspace-active) .contact-submit-btn:hover{background:#e9e9e6!important;border-color:#e9e9e6!important;}

/* Footer text is directly editable while Edit Page mode is active. */
.footer.footer-live-editing [contenteditable="true"]{outline:1px dashed rgba(243,158,158,.42);outline-offset:5px;border-radius:3px;cursor:text;}
.footer.footer-live-editing [contenteditable="true"]:focus{outline:2px solid #F39E9E;background:rgba(243,158,158,.07);}

@media (max-width:900px){body:not(.admin-workspace-active) [data-component-id="contact-lanes-row"].weyada-builder-row{width:min(100% - 36px,760px);grid-template-columns:1fr!important;padding:96px 0 78px!important;gap:52px!important;}
 body:not(.admin-workspace-active) [data-component-id="contact-lanes-row"]>.weyada-builder-column:first-child,
 body:not(.admin-workspace-active) [data-component-id="contact-lanes-row"]>.weyada-builder-column:last-child{padding:0!important;width:100%!important;}
 body:not(.admin-workspace-active) [data-component-id="contact-image"] img{min-height:420px;aspect-ratio:4/5;}}

/* =========================================================
   WEYADA 4.7.139 — Glossary grid repair + clean public nav edge
   ========================================================= */

/* Public frosted navigation has no divider line. */
body:not(.backend-light-theme) .topbar,
body.admin-session:not(:has(#app .admin-page)) .topbar{
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
body:not(.backend-light-theme) .topbar::before,
body:not(.backend-light-theme) .topbar::after,
body.admin-session:not(:has(#app .admin-page)) .topbar::before,
body.admin-session:not(:has(#app .admin-page)) .topbar::after{
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}

/* Glossary desktop/tablet layout. Keep words and definitions level and spacious. */
.glossary-entry{
  width:100%!important;
  box-sizing:border-box!important;
}
.glossary-word,
.glossary-definitions,
.glossary-definition,
.glossary-definition p{
  min-width:0!important;
}
.glossary-definitions{
  width:100%!important;
  align-self:start!important;
}
.glossary-definition{
  width:100%!important;
  align-items:start!important;
}
.glossary-definition p{
  width:100%!important;
  max-width:none!important;
  margin:2px 0 0!important;
  color:#d4d4d7!important;
  font-size:17px!important;
  line-height:1.65!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  white-space:normal!important;
}
.glossary-word{
  align-items:flex-start!important;
}
.glossary-word>span,
.glossary-definition>span{
  margin-top:2px!important;
  background:var(--accent,#F39E9E)!important;
  color:#181818!important;
}
.glossary-word h2{
  margin:0!important;
  color:#f6f4f1!important;
  line-height:1.02!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}

@media (min-width:1101px){.glossary-entry{
    grid-template-columns:minmax(320px, .9fr) minmax(0, 1.55fr)!important;
    column-gap:64px!important;
    row-gap:24px!important;
    align-items:start!important;
  }
  .glossary-word h2{
    font-size:clamp(34px,3.1vw,50px)!important;
  }}
@media (min-width:761px) and (max-width:1100px){.glossary-entry{
    grid-template-columns:minmax(260px,.88fr) minmax(0,1.35fr)!important;
    column-gap:40px!important;
    row-gap:20px!important;
    align-items:start!important;
  }
  .glossary-word h2{
    font-size:clamp(30px,4vw,42px)!important;
  }}
@media (max-width:760px){.glossary-entry{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
  .glossary-word{
    position:static!important;
    top:auto!important;
  }
  .glossary-word h2{
    font-size:clamp(30px,10vw,42px)!important;
  }}

/* A/B/C labels exist only when the word has multiple definitions. */
.glossary-definition.single-definition{
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
.glossary-definition.single-definition>span{
  display:none!important;
}
.glossary-definition.single-definition p{
  grid-column:1!important;
}

/* Active audiobook chapter: clean active state, no red overlay. */
body:not(.backend-light-theme) .book-reference-page .audible3-chapters-card .chapter-row-button.is-playing,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button.is-playing{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border-color:rgba(255,255,255,.10)!important;
}
body:not(.backend-light-theme) .book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-title-line,
body:not(.backend-light-theme) .book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-title-separator,
body:not(.backend-light-theme) .book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-subtitle-line,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button.is-playing .chapter-title-line,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button.is-playing .chapter-copy strong{
  color:var(--accent,#F39E9E)!important;
  opacity:1!important;
  font-weight:700!important;
}
body:not(.backend-light-theme) .book-reference-page .audible3-chapters-card .chapter-row-button.is-playing .chapter-time,
body:not(.backend-light-theme) .audible3-chapters-card .chapter-row-button.is-playing .chapter-time{
  color:var(--accent,#F39E9E)!important;
  opacity:.92!important;
}
body:not(.backend-light-theme) .audible3-chapters-card .chapter-track-indicator.playing .chapter-track-number{
  display:none!important;
}
body:not(.backend-light-theme) .audible3-chapters-card .chapter-track-indicator.playing .chapter-track-bars{
  display:flex!important;
}
body:not(.backend-light-theme) .audible3-chapters-card .chapter-track-indicator.playing .chapter-track-bars i{
  background:var(--accent,#F39E9E)!important;
}


/* =========================================================
   WEYADA 4.7.140 — LANES-INSPIRED FOOTER REBUILD
   One editorial canvas. No legacy footer cards or columns.
   ========================================================= */
.footer.footer-editorial{
  margin-top:0!important;
  padding:0!important;
  background:var(--footer-bg,#080809)!important;
  color:var(--footer-text,#f7f7f5)!important;
  border:0!important;
  box-shadow:none!important;
}

/* =========================================================
   WEYADA 4.7.141 — VERIFIED FOOTER + PRICING CUTOVER
   Final rules intentionally live at EOF so legacy public theme
   rules cannot recolor or vertically offset the pricing cards.
   ========================================================= */
.home-page .home-membership-grid{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}
.home-page .home-membership-card{
  height:100%!important;
  min-height:540px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
  color:#202124!important;
}
.home-page .home-membership-card.featured{
  transform:none!important;
  margin:0!important;
}
.home-page .home-membership-card .home-membership-card-head{
  min-height:98px!important;
}
.home-page .home-membership-card .home-membership-card-head h3,
.home-page .home-membership-card .home-membership-price,
.home-page .home-membership-card .home-membership-price small{
  color:#202124!important;
  opacity:1!important;
  text-shadow:none!important;
}
.home-page .home-membership-card .home-membership-card-head p,
.home-page .home-membership-card li,
.home-page .home-membership-card li span:not(.home-membership-badge),
.home-page .home-membership-card small{
  color:#555b65!important;
  opacity:1!important;
}
.home-page .home-membership-card .home-membership-access{
  color:#30343a!important;
  background:#f6f6f7!important;
}
.home-page .home-membership-card .home-membership-access strong{
  color:#F39E9E!important;
}
.home-page .home-membership-card .home-membership-badge{
  color:#fff!important;
  background:#F39E9E!important;
}
.home-page .home-membership-card .btn{
  margin-top:auto!important;
  min-height:48px!important;
}
.home-page .home-membership-card.featured .btn-primary{
  background:#F39E9E!important;
  border-color:#F39E9E!important;
  color:#111!important;
}
.home-page .home-membership-card:not(.featured) .btn,
.home-page .home-membership-card:not(.featured) .btn-outline{
  background:#111!important;
  border-color:#111!important;
  color:#fff!important;
}
.home-page .home-membership-card:not(.featured) .btn:hover,
.home-page .home-membership-card:not(.featured) .btn-outline:hover{
  background:#000!important;
  border-color:#000!important;
  color:#fff!important;
}
@media(max-width:950px){.home-page .home-membership-grid{grid-auto-rows:auto!important;}
  .home-page .home-membership-card{min-height:0!important;height:auto!important;}
  .home-page .home-membership-card .home-membership-card-head{min-height:0!important;}}

/* New footer owns its complete visual surface. */
.footer.footer-editorial{
  border:0!important;
  box-shadow:none!important;
  background:var(--footer-bg,#080809)!important;
  color:var(--footer-text,#f7f7f5)!important;
}

/* Pricing cards are intentional light surfaces. Their copy is authored here,
   not inherited from the public dark-theme typography. */
.home-page .home-membership-grid{align-items:stretch!important;grid-auto-rows:1fr!important}
.home-page .home-membership-card{height:100%!important;min-height:540px!important;align-self:stretch!important;background:#fff!important;color:#202124!important}
.home-page .home-membership-card.featured{transform:none!important;margin:0!important}
.home-page .home-membership-card-head{min-height:104px!important}
.home-page .home-membership-card .home-membership-tier-name,
.home-page .home-membership-card .home-membership-card-head h3{
  color:#202124!important;-webkit-text-fill-color:#202124!important;opacity:1!important;text-shadow:none!important
}
.home-page .home-membership-card .home-membership-tier-copy,
.home-page .home-membership-card .home-membership-card-head p{
  color:#686d75!important;-webkit-text-fill-color:#686d75!important;opacity:1!important
}
.home-page .home-membership-card .home-membership-price,
.home-page .home-membership-card .home-membership-price small{
  color:#202124!important;-webkit-text-fill-color:#202124!important;opacity:1!important
}
.home-page .home-membership-card li{color:#555b65!important;-webkit-text-fill-color:#555b65!important}
.home-page .home-membership-card .home-membership-access{color:#30343a!important;-webkit-text-fill-color:#30343a!important;background:#f6f6f7!important}
.home-page .home-membership-card .home-membership-access strong{color:#F39E9E!important;-webkit-text-fill-color:#F39E9E!important}
.home-page .home-membership-card .btn{margin-top:auto!important;min-height:48px!important}
.home-page .home-membership-card.featured .btn-primary{background:#F39E9E!important;border-color:#F39E9E!important;color:#171719!important;-webkit-text-fill-color:#171719!important}
.home-page .home-membership-card:not(.featured) .btn-outline{background:#050506!important;border-color:#050506!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
@media(max-width:760px){.home-page .home-membership-card{min-height:0!important;height:auto!important}.home-page .home-membership-card-head{min-height:0!important}}



/* 4.7.145 — Footer admin isolation: readable light-theme controls and full-width workspace. */
@media (min-width:901px){body.backend-light-theme .admin-page #admin-panel:has(.footer-admin-page){padding-left:36px!important;padding-right:24px!important;}
  body.backend-light-theme .footer-admin-page{width:100%!important;max-width:none!important;margin:0!important;}}
body.backend-light-theme .footer-admin-page,
body.backend-light-theme .footer-admin-page .appearance-page-head,
body.backend-light-theme .footer-admin-page .footer-social-admin,
body.backend-light-theme .footer-admin-page .footer-link-admin{color:#202226!important;opacity:1!important;}
body.backend-light-theme .footer-admin-page :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,.field>span){color:#202226!important;opacity:1!important;}
body.backend-light-theme .footer-admin-page :is(p,small,.muted,.helper-text){color:#667085!important;opacity:1!important;}
body.backend-light-theme .footer-admin-page .admin-form{width:100%!important;max-width:none!important;}
body.backend-light-theme .footer-admin-page :is(input,select,textarea){color:#202226!important;background:#fff!important;border-color:#d0d5dd!important;opacity:1!important;}
body.backend-light-theme .footer-admin-page :is(input,textarea)::placeholder{color:#98a2b3!important;opacity:1!important;}
body.backend-light-theme .footer-admin-page .drag-item{background:#fff!important;border-color:#e4e7ec!important;color:#202226!important;}
body.backend-light-theme .footer-admin-page .drag-item small{color:#667085!important;}


/* ==========================================================
   WeYada 4.7.146 — ADMIN WORKSPACE ALIGNMENT + COLOR ISOLATION
   Header is part of the content column. Public theme cannot bleed into Admin.
   ========================================================== */
body.backend-light-theme,
body.backend-light-theme main,
body.backend-light-theme #app,
body.backend-light-theme .admin-page{
  background:#f4f5f7!important;
  color:#202226!important;
}
body.backend-light-theme .admin-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:42px clamp(28px,5vw,88px) 80px!important;
}
body.backend-light-theme .admin-page .admin-layout{
  width:min(100%,1500px)!important;
  max-width:1500px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:230px minmax(0,1fr)!important;
  gap:28px!important;
  align-items:start!important;
}
body.backend-light-theme .admin-page .admin-workspace{
  min-width:0!important;
  width:100%!important;
  display:block!important;
}
body.backend-light-theme .admin-page .admin-command-bar{
  width:100%!important;
  max-width:none!important;
  margin:0 0 18px!important;
  box-sizing:border-box!important;
  background:#fff!important;
  color:#202226!important;
  border:1px solid #e4e7ec!important;
  box-shadow:none!important;
}
body.backend-light-theme .admin-page #admin-panel{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  background:#fff!important;
  color:#202226!important;
}
body.backend-light-theme .admin-page #admin-panel :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,.field>span),
body.backend-light-theme .admin-page .admin-command-bar :is(strong,b){
  color:#202226!important;
  -webkit-text-fill-color:#202226!important;
  opacity:1!important;
}
body.backend-light-theme .admin-page #admin-panel :is(p,li,small,.muted,.helper-text,.admin-book-count),
body.backend-light-theme .admin-page .appearance-page-head p{
  color:#667085!important;
  -webkit-text-fill-color:#667085!important;
  opacity:1!important;
}
body.backend-light-theme .admin-page #admin-panel :is(input,select,textarea){
  background:#fff!important;
  color:#202226!important;
  -webkit-text-fill-color:#202226!important;
  border-color:#d0d5dd!important;
  opacity:1!important;
}
body.backend-light-theme .admin-page #admin-panel :is(input,textarea)::placeholder{
  color:#98a2b3!important;
  -webkit-text-fill-color:#98a2b3!important;
  opacity:1!important;
}
/* Sidebar owns its dark palette. Generic admin text rules may not recolor it. */
body.backend-light-theme .admin-page .admin-grouped-sidebar,
body.backend-light-theme .admin-page .sidebar{
  background:#111214!important;
  color:#f5f5f6!important;
}
body.backend-light-theme .admin-page .admin-grouped-sidebar :is(button,span,strong,b,small,.admin-nav-group-toggle,.admin-nav-direct),
body.backend-light-theme .admin-page .sidebar :is(button,span,strong,b,small){
  color:#f5f5f6!important;
  -webkit-text-fill-color:#f5f5f6!important;
  opacity:1!important;
}
body.backend-light-theme .admin-page .admin-grouped-sidebar .admin-nav-submenu button{
  color:#d0d2d6!important;
  -webkit-text-fill-color:#d0d2d6!important;
}
body.backend-light-theme .admin-page .admin-grouped-sidebar>.admin-nav-direct.active,
body.backend-light-theme .admin-page .admin-nav-group.active>.admin-nav-group-toggle,
body.backend-light-theme .admin-page .admin-grouped-sidebar [data-admin-tab].active{
  background:#fff!important;
  color:#202226!important;
  -webkit-text-fill-color:#202226!important;
}
body.backend-light-theme .admin-page .admin-eyebrow{
  color:var(--accent,#F39E9E)!important;
  -webkit-text-fill-color:var(--accent,#F39E9E)!important;
}
@media(max-width:900px){body.backend-light-theme .admin-page{padding:24px 18px 56px!important;}
  body.backend-light-theme .admin-page .admin-layout{grid-template-columns:1fr!important;gap:18px!important;}
  body.backend-light-theme .admin-page .admin-workspace{width:100%!important;}}


/* ===== 4.7.147 READ + MEMBERSHIP + ABOUT CLEANUP ===== */
/* Public Read view: keep every readable element legible on the dark frontend. */
body:not(.backend-light-theme) .reader-page{color:#f4f4f2!important;background:transparent!important;}
body:not(.backend-light-theme) .reader-page .media-panel{background:transparent!important;border:0!important;padding:18px 0 0!important;box-shadow:none!important;}
body:not(.backend-light-theme) .reader-page .reader-toolbar h2,
body:not(.backend-light-theme) .reader-page .reader-content :where(h1,h2,h3,h4,h5,h6,strong,b){color:#f7f7f5!important;-webkit-text-fill-color:#f7f7f5!important;}
body:not(.backend-light-theme) .reader-page .reader-toolbar .muted,
body:not(.backend-light-theme) .reader-page .reader-content :where(p,li,blockquote,em,span){color:#c8c8cc!important;-webkit-text-fill-color:#c8c8cc!important;}
body:not(.backend-light-theme) .reader-page .reader-content{color:#d7d7da!important;background:transparent!important;border:0!important;max-width:900px;}
body:not(.backend-light-theme) .reader-page .media-tab{background:transparent!important;border-color:rgba(255,255,255,.18)!important;color:#e8e8ea!important;-webkit-text-fill-color:#e8e8ea!important;}
body:not(.backend-light-theme) .reader-page .media-tab.active{background:#F39E9E!important;border-color:#F39E9E!important;color:#171719!important;-webkit-text-fill-color:#171719!important;}
body:not(.backend-light-theme) .reader-page .btn-outline{background:transparent!important;border-color:rgba(255,255,255,.22)!important;color:#f3f3f1!important;-webkit-text-fill-color:#f3f3f1!important;}

/* Membership: one clean vertical story with direct plan cards. */
.membership-page-clean{max-width:1180px!important;margin:0 auto!important;padding-top:72px!important;display:grid!important;gap:72px!important;background:transparent!important;}
.membership-clean-hero{text-align:center;max-width:850px;margin:0 auto;}
.membership-clean-hero h1{font-size:clamp(46px,6vw,76px)!important;line-height:.98!important;letter-spacing:-.05em!important;color:#f7f7f5!important;margin:12px 0 22px!important;}
.membership-clean-hero p{font-size:clamp(17px,1.7vw,21px)!important;line-height:1.65!important;color:#b8b8bd!important;margin:0 auto 28px!important;max-width:760px;}
.membership-clean-actions{display:flex;justify-content:center;}
.membership-clean-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);}
.membership-clean-benefits>div{padding:28px 30px;display:grid;gap:7px;}
.membership-clean-benefits strong{font-size:18px;color:#f7f7f5!important;}
.membership-clean-benefits span{font-size:15px;line-height:1.55;color:#9f9fa5!important;}
.membership-clean-plans{display:grid;gap:30px;scroll-margin-top:100px;}
.membership-page-clean .membership-section-heading{max-width:700px!important;margin:0 auto!important;text-align:center!important;}
.membership-page-clean .membership-section-heading>span,.membership-clean-free>div>span,.membership-clean-close>span{color:#F39E9E!important;font-size:11px!important;letter-spacing:.15em!important;font-weight:900!important;}
.membership-page-clean .membership-section-heading h2{color:#f7f7f5!important;font-size:clamp(36px,4.5vw,56px)!important;margin:8px 0 10px!important;}
.membership-page-clean .membership-section-heading p{color:#aaaab0!important;font-size:17px!important;}
.membership-tier-grid-clean{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))!important;max-width:940px!important;margin:0 auto!important;width:100%!important;gap:22px!important;}
.membership-clean-card{min-height:500px!important;height:100%!important;padding:30px!important;background:#fff!important;color:#202124!important;border:1px solid #dedee3!important;box-shadow:none!important;transform:none!important;}
.membership-clean-card.featured{border:2px solid #F39E9E!important;box-shadow:0 18px 42px rgba(243,158,158,.12)!important;}
.membership-clean-card-head{min-height:116px;}
.membership-clean-card h3{font-size:30px!important;color:#202124!important;-webkit-text-fill-color:#202124!important;margin:0 0 10px!important;}
.membership-clean-card p{color:#666b73!important;-webkit-text-fill-color:#666b73!important;line-height:1.55!important;}
.membership-clean-card .tier-price,.membership-clean-card .tier-price small{color:#202124!important;-webkit-text-fill-color:#202124!important;}
.membership-clean-trial{display:inline-flex;width:max-content;padding:7px 10px;border-radius:999px;background:#f5f5f6;color:#34383e;font-size:12px;font-weight:900;margin:0 0 12px;}
.membership-clean-card ul{list-style:none!important;padding:0!important;margin:18px 0 28px!important;display:grid!important;gap:13px!important;flex:1!important;}
.membership-clean-card li{display:flex!important;gap:10px!important;color:#4f555f!important;-webkit-text-fill-color:#4f555f!important;line-height:1.45!important;}
.membership-clean-card li span{color:#F39E9E!important;-webkit-text-fill-color:#F39E9E!important;font-weight:900!important;}
.membership-clean-card .btn{margin-top:auto!important;width:100%!important;min-height:48px!important;text-align:center!important;}
.membership-clean-card.featured .btn-primary{background:#F39E9E!important;border-color:#F39E9E!important;color:#171719!important;-webkit-text-fill-color:#171719!important;}
.membership-clean-card:not(.featured) .btn-outline{background:#080809!important;border-color:#080809!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.membership-clean-free{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:36px 0;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);}
.membership-clean-free>div{max-width:720px;}
.membership-clean-free h2{font-size:clamp(30px,3vw,42px)!important;color:#f7f7f5!important;margin:8px 0 10px!important;}
.membership-clean-free p{color:#aaaab0!important;font-size:17px!important;line-height:1.65!important;margin:0!important;}
.membership-clean-free>strong{color:#f7f7f5!important;}
.membership-clean-close{text-align:center;max-width:780px;margin:0 auto 50px;}
.membership-clean-close h2{font-size:clamp(38px,4.8vw,62px)!important;line-height:1!important;letter-spacing:-.04em!important;color:#f7f7f5!important;margin:10px 0 16px!important;}
.membership-clean-close p{color:#aaaab0!important;font-size:18px!important;margin:0 0 28px!important;}
@media(max-width:760px){.membership-page-clean{gap:48px!important;padding-top:46px!important}.membership-clean-benefits{grid-template-columns:1fr}.membership-clean-free{align-items:flex-start;flex-direction:column}.membership-clean-free .btn{width:100%}.membership-clean-card-head{min-height:0}}

/* Modern About Us: image-led editorial layout, still built from editable rows/components. */
[data-component-id="about-modern-hero"],[data-component-id="about-modern-story"],[data-component-id="about-modern-pillars"],[data-component-id="about-modern-close"]{width:min(1280px,calc(100% - 80px))!important;margin-left:auto!important;margin-right:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;}
[data-component-id="about-modern-hero"]{padding:88px 0 76px!important;align-items:center!important;}
[data-component-id="about-modern-story"]{padding:46px 0 92px!important;align-items:center!important;}
[data-component-id="about-modern-pillars"]{padding:58px 0 84px!important;border-top:1px solid rgba(255,255,255,.12)!important;border-bottom:1px solid rgba(255,255,255,.12)!important;}
[data-component-id="about-modern-close"]{padding:96px 0 120px!important;}
[data-component-id^="about-modern-"] .home-text-section h2,[data-component-id^="about-modern-"] h2{color:#f7f7f5!important;letter-spacing:-.04em!important;line-height:1.02!important;}
[data-component-id^="about-modern-"] .muted{color:#b0b0b6!important;line-height:1.7!important;white-space:pre-line;}
[data-component-id^="about-modern-"] .eyebrow,[data-component-id^="about-modern-"] .section-kicker{color:#F39E9E!important;letter-spacing:.15em!important;font-size:11px!important;font-weight:900!important;}
[data-component-id="about-modern-hero-image"] img,[data-component-id="about-modern-story-image"] img{width:100%!important;display:block!important;border-radius:28px!important;aspect-ratio:1.18/1!important;object-fit:cover!important;background:#171717!important;}
[data-component-id="about-modern-story-image"] img{aspect-ratio:1.35/1!important;}
[data-component-id="about-modern-pillars"] h2{font-size:clamp(28px,2.8vw,38px)!important;}
[data-component-id="about-modern-close"] h2{font-size:clamp(42px,5vw,68px)!important;max-width:1000px!important;}
@media(max-width:900px){[data-component-id="about-modern-hero"],[data-component-id="about-modern-story"],[data-component-id="about-modern-pillars"],[data-component-id="about-modern-close"]{width:min(100% - 36px,760px)!important;flex-direction:column!important;gap:32px!important}[data-component-id^="about-modern-"] .weyada-builder-column{width:100%!important;flex:1 1 auto!important}}


/* WeYada 4.7.148 — modern legal documents */
body:not(.admin-page) .legal-modern-page{width:min(1240px,100%);margin:0 auto;padding:clamp(86px,9vw,142px) clamp(24px,5vw,72px) 120px;color:#f7f5f2;background:transparent}
body:not(.admin-page) .legal-modern-hero{max-width:960px;padding-bottom:clamp(52px,7vw,90px)}
body:not(.admin-page) .legal-modern-kicker{display:block;margin-bottom:20px;color:#f3979a;font-size:12px;font-weight:800;letter-spacing:.22em;text-transform:uppercase}
body:not(.admin-page) .legal-modern-hero h1{margin:0;color:#fff;font-size:clamp(52px,8vw,108px);line-height:.93;letter-spacing:-.055em;max-width:980px}
body:not(.admin-page) .legal-modern-hero>p{max-width:820px;margin:28px 0 0;color:#bbb7b5;font-size:clamp(18px,2vw,23px);line-height:1.55}
body:not(.admin-page) .legal-update-row{display:flex;align-items:center;gap:12px;margin-top:30px;color:#8f8b89;font-size:14px}
body:not(.admin-page) .legal-update-row strong{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#f7f5f2;background:rgba(255,255,255,.035);font-size:13px}
body:not(.admin-page) .legal-modern-shell{display:grid;grid-template-columns:minmax(190px,250px) minmax(0,1fr);gap:clamp(48px,8vw,118px);align-items:start}
body:not(.admin-page) .legal-modern-toc{position:sticky;top:92px;display:grid;gap:0;border-top:1px solid rgba(255,255,255,.15)}
body:not(.admin-page) .legal-modern-toc>span{padding:20px 0 14px;color:#8f8b89;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
body:not(.admin-page) .legal-modern-toc a{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:11px 0;color:#b8b4b2;text-decoration:none;font-size:13px;line-height:1.3;border-top:1px solid rgba(255,255,255,.06)}
body:not(.admin-page) .legal-modern-toc a:hover{color:#fff}
body:not(.admin-page) .legal-modern-toc a span{color:#f3979a;font-size:10px;font-weight:800;letter-spacing:.08em}
body:not(.admin-page) .legal-modern-content{min-width:0}
body:not(.admin-page) .legal-summary{padding:0 0 42px;border-top:1px solid rgba(255,255,255,.15)}
body:not(.admin-page) .legal-summary strong{display:block;margin-top:30px;color:#fff;font-size:clamp(26px,3vw,42px);letter-spacing:-.035em}
body:not(.admin-page) .legal-summary p{max-width:790px;margin:14px 0 0;color:#aaa6a4;font-size:17px;line-height:1.7}
body:not(.admin-page) .legal-modern-section{scroll-margin-top:110px;display:grid;grid-template-columns:52px minmax(0,1fr);gap:18px;padding:42px 0 48px;border-top:1px solid rgba(255,255,255,.12)}
body:not(.admin-page) .legal-section-number{padding-top:7px;color:#f3979a;font-size:11px;font-weight:900;letter-spacing:.12em}
body:not(.admin-page) .legal-modern-section h2{margin:0 0 18px;color:#fff;font-size:clamp(25px,3vw,38px);line-height:1.08;letter-spacing:-.035em}
body:not(.admin-page) .legal-modern-section p,body:not(.admin-page) .legal-modern-section li{color:#b9b5b3;font-size:16px;line-height:1.8}
body:not(.admin-page) .legal-modern-section p{margin:0 0 16px}
body:not(.admin-page) .legal-modern-section p:last-child{margin-bottom:0}
body:not(.admin-page) .legal-modern-section ul{margin:12px 0 0;padding-left:22px;display:grid;gap:8px}
body:not(.admin-page) .legal-modern-section strong{color:#efedeb}
body:not(.admin-page) .legal-modern-section a{color:#f3979a;text-underline-offset:4px}
@media(max-width:900px){body:not(.admin-page) .legal-modern-shell{grid-template-columns:1fr;gap:42px}body:not(.admin-page) .legal-modern-toc{position:static;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}body:not(.admin-page) .legal-modern-toc>span{grid-column:1/-1}body:not(.admin-page) .legal-modern-section{grid-template-columns:38px minmax(0,1fr)}}
@media(max-width:620px){body:not(.admin-page) .legal-modern-page{padding:78px 20px 90px}body:not(.admin-page) .legal-modern-toc{grid-template-columns:1fr}body:not(.admin-page) .legal-modern-section{grid-template-columns:1fr;gap:8px;padding:34px 0 38px}body:not(.admin-page) .legal-section-number{padding-top:0}body:not(.admin-page) .legal-modern-hero h1{font-size:clamp(48px,15vw,72px)}body:not(.admin-page) .legal-modern-section p,body:not(.admin-page) .legal-modern-section li{font-size:15px}}

/* ==========================================================
   WeYada 4.7.153 — FOOTER REBUILT FROM ZERO
   Legacy footer positioning rules removed. This is the single
   public footer layout source for desktop and mobile.
   ========================================================== */
.footer.footer-reference{
  position:relative!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:var(--footer-bg,#0c0c0d)!important;
  color:var(--footer-text,#f7f7f5)!important;
}
.footer.footer-reference::before{
  content:"";
  position:absolute;
  inset:-35% 18% 12%;
  pointer-events:none;
  background:
    radial-gradient(circle at 55% 35%,rgba(68,0,255,.20),transparent 24%),
    radial-gradient(circle at 51% 58%,rgba(0,155,91,.19),transparent 27%),
    radial-gradient(circle at 66% 25%,rgba(191,0,89,.20),transparent 22%);
  filter:blur(32px);
  opacity:.72;
}
.reference-footer-shell{
  position:relative;
  z-index:1;
  width:min(100%,1500px);
  min-height:410px;
  margin:0 auto;
  padding:104px 68px 34px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.reference-footer-main{
  display:grid;
  grid-template-columns:minmax(440px,1fr) minmax(360px,.9fr);
  column-gap:clamp(100px,12vw,190px);
  align-items:end;
  padding:0 34px 28px;
}
.reference-footer-newsletter{
  width:100%;
  max-width:560px;
  justify-self:start;
}
.reference-footer-label{
  display:block;
  margin:0 0 12px;
  color:var(--footer-text,#f7f7f5)!important;
  font-size:clamp(34px,2.45vw,42px)!important;
  line-height:1.03;
  font-weight:750;
  letter-spacing:-.04em;
}
.reference-footer-note{
  margin:0 0 24px!important;
  color:var(--footer-muted,#b7b7ba)!important;
  font-size:clamp(17px,1.25vw,20px)!important;
  line-height:1.45;
  letter-spacing:0;
}
.reference-footer-form{
  display:grid!important;
  grid-template-columns:200px max-content!important;
  justify-content:start!important;
  align-items:center!important;
  column-gap:20px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.reference-footer-form>label{display:none!important}
.reference-footer-form input[type="email"]{
  display:block!important;
  width:200px!important;
  min-width:0!important;
  margin:0!important;
  padding:10px 0 11px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--footer-text,#f7f7f5)!important;
  -webkit-text-fill-color:var(--footer-text,#f7f7f5)!important;
  font-size:18px!important;
  line-height:1.3!important;
  outline:0!important;
}
.reference-footer-form input[type="email"]::placeholder{
  color:var(--footer-muted,#b7b7ba)!important;
  -webkit-text-fill-color:var(--footer-muted,#b7b7ba)!important;
  opacity:1!important;
}
.reference-footer-form button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:10px 0 11px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--footer-text,#f7f7f5)!important;
  -webkit-text-fill-color:var(--footer-text,#f7f7f5)!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
.reference-footer-status{
  min-height:0!important;
  margin:0!important;
  color:var(--footer-muted,#b7b7ba)!important;
  font-size:13px!important;
}
.reference-footer-status:empty{display:none!important}
.reference-footer-status:not(:empty){display:block!important;margin-top:10px!important}
.reference-footer-contact{
  justify-self:end!important;
  align-self:end!important;
  min-width:0!important;
  margin:0!important;
  color:var(--footer-text,#f7f7f5)!important;
  text-decoration:none!important;
  text-align:left!important;
  font-size:clamp(46px,3.6vw,60px)!important;
  line-height:1.02!important;
  font-weight:500!important;
  letter-spacing:-.045em!important;
}
.reference-footer-contact-line{
  display:block!important;
  width:30px!important;
  height:2px!important;
  margin-top:18px!important;
  background:var(--footer-text,#f7f7f5)!important;
}
.reference-footer-divider{
  height:1px!important;
  margin:0 34px!important;
  background:rgba(255,255,255,.16)!important;
}
.reference-footer-bottom{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:44px!important;
  align-items:center!important;
  padding:30px 34px 0!important;
}
.reference-footer-links{display:flex!important;flex-wrap:wrap!important;gap:30px!important}
.reference-footer-links a{
  color:var(--footer-muted,#b7b7ba)!important;
  text-decoration:none!important;
  font-size:16px!important;
  line-height:1.25!important;
}
.reference-footer-links a:hover{color:var(--footer-text,#f7f7f5)!important}
.reference-footer-meta{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important}
.reference-footer-meta small{color:var(--footer-muted,#b7b7ba)!important;font-size:11px!important}
.reference-footer-socials{display:flex!important;align-items:center!important;gap:18px!important}
.reference-footer-socials[hidden]{display:none!important}
.reference-footer-social{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  color:var(--footer-text,#f7f7f5)!important;
  text-decoration:none!important;
}
.reference-footer-social svg{width:20px!important;height:20px!important}
.reference-footer-social-placeholder{opacity:.5!important}
.footer-live-editing [contenteditable="true"]{
  outline:1px dashed rgba(243,158,158,.78)!important;
  outline-offset:6px!important;
  border-radius:3px;
  cursor:text!important;
}
.footer.footer-reference.footer-live-editing .reference-footer-shell{padding-bottom:150px!important}
body:has(.footer.footer-reference.footer-live-editing) .live-editor-admin-bar{bottom:14px!important}

/* Footer subscriber administration */
.footer-newsletter-subscriber-admin{margin-top:34px;padding-top:28px;border-top:1px solid #e4e5e8}
.footer-newsletter-subscriber-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}
.footer-newsletter-subscriber-head h4{margin:0 0 6px;color:#1f2328;font-size:20px}
.footer-newsletter-subscriber-head p{margin:0}
.admin-count-pill{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:#f2f3f5;color:#3d434c;font-size:12px;font-weight:700}
.newsletter-subscriber-list{border:1px solid #e2e4e8;border-radius:14px;overflow:hidden;background:#fff}
.newsletter-subscriber-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border-bottom:1px solid #eceef1}
.newsletter-subscriber-row:last-child{border-bottom:0}
.newsletter-subscriber-row strong{display:block;color:#1f2328;font-size:14px}
.newsletter-subscriber-row small{display:block;margin-top:3px;color:#747b86;font-size:12px}

@media(max-width:800px){.reference-footer-shell{min-height:0;padding:78px 24px 30px}
  .reference-footer-main{grid-template-columns:1fr;gap:54px;padding:0 0 26px}
  .reference-footer-newsletter{max-width:none}
  .reference-footer-label{font-size:clamp(30px,9vw,40px)!important}
  .reference-footer-note{font-size:17px!important}
  .reference-footer-form{grid-template-columns:minmax(0,1fr) max-content!important;column-gap:24px!important;width:100%!important}
  .reference-footer-form input[type="email"]{width:100%!important;font-size:17px!important}
  .reference-footer-form button{font-size:16px!important}
  .reference-footer-contact{justify-self:start!important;font-size:clamp(38px,11vw,52px)!important}
  .reference-footer-divider{margin:0!important}
  .reference-footer-bottom{grid-template-columns:1fr!important;gap:24px!important;padding:24px 0 0!important}
  .reference-footer-meta{justify-content:flex-start!important;flex-wrap:wrap!important}
  .reference-footer-links{gap:18px 24px!important}
  .footer.footer-reference.footer-live-editing .reference-footer-shell{padding-bottom:170px!important}
  .footer-newsletter-subscriber-head{flex-direction:column}
  .footer-newsletter-subscriber-head .admin-inline-actions{width:100%;justify-content:flex-start}}

/* ==========================================================
   WeYada 4.7.154 — MY WEYADA dark-theme rebuild
   Dashboard, Group Study, Browse Topics, Membership,
   My Journey, Invite & Gift, Account & Settings, and Billing.
   ========================================================== */

/* Member account routes belong to the public dark experience. */
.member-dashboard-page,
.billing-page,
.profile-tools-page,
.groups-page,
.invite-gift-page,
.topics-page,
.my-journey-page,
.membership-page,
.membership-page-clean{
  background:transparent!important;
  color:var(--weyada-public-text)!important;
}

:is(.member-dashboard-page,.billing-page,.profile-tools-page,.groups-page,.invite-gift-page,.topics-page,.my-journey-page,.membership-page,.membership-page-clean)
:is(h1,h2,h3,h4,h5,h6,strong,b,label,legend){
  color:var(--weyada-public-text)!important;
  -webkit-text-fill-color:var(--weyada-public-text)!important;
}

:is(.member-dashboard-page,.billing-page,.profile-tools-page,.groups-page,.invite-gift-page,.topics-page,.my-journey-page,.membership-page,.membership-page-clean)
:is(p,li,small,.muted,.helper-text){
  color:var(--weyada-public-muted)!important;
  -webkit-text-fill-color:var(--weyada-public-muted)!important;
}

/* Dashboard */
.member-welcome,
.member-summary-card,
.member-dashboard-section,
.member-continue-card,
.member-empty-state{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.member-welcome{background:#111112!important;}
.member-welcome :is(h1,h2,h3,strong){color:var(--weyada-public-text)!important;-webkit-text-fill-color:var(--weyada-public-text)!important;}
.member-welcome p{color:var(--weyada-public-muted)!important;-webkit-text-fill-color:var(--weyada-public-muted)!important;}
.member-summary-card span,.member-summary-card small,.member-continue-card p{color:var(--weyada-public-muted)!important;}
.member-mini-cover{background:#1d1d1f!important;color:var(--weyada-public-text)!important;}
.member-progress-track{background:rgba(255,255,255,.10)!important;}
.member-quick-links button{
  background:#171718!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
}
.member-quick-links button:hover{background:#202022!important;border-color:rgba(243,158,158,.72)!important;}

/* Group Study */
.group-join-form,
.member-group-card{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.member-group-card blockquote,
.group-posts>div{
  background:#1a1a1c!important;
  color:var(--weyada-public-text)!important;
  border-color:rgba(255,255,255,.10)!important;
}
.member-group-card>p,.group-posts p{color:var(--weyada-public-muted)!important;}

/* Invite & Gift */
.invite-gift-grid>section,
.referral-stats span,
.referral-reward-history>div{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.referral-stats span{background:#1a1a1c!important;}
.invite-gift-grid hr{border-top-color:rgba(255,255,255,.11)!important;}

/* Browse Topics and My Journey */
.topic-card,
.journey-list-card,
.journey-entry{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.topic-card:hover,.journey-entry:hover{background:#1a1a1c!important;border-color:rgba(243,158,158,.70)!important;}
.topic-card span,.journey-entry-main small,.journey-note-entry small{color:var(--weyada-public-muted)!important;}
.journey-note-entry p{color:var(--weyada-public-text)!important;}

/* Account & Settings */
.profile-overview-card,
.profile-panel,
.profile-notification-item,
.profile-action-button,
.profile-empty-notifications{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.profile-status-row span{background:#202022!important;color:var(--weyada-public-text)!important;}
.profile-security-row,.profile-toggle-row{border-top-color:rgba(255,255,255,.10)!important;}
.profile-action-button:hover{background:#1c1c1e!important;border-color:rgba(255,255,255,.20)!important;}
.profile-action-button.danger{background:rgba(185,28,28,.08)!important;border-color:rgba(248,113,113,.28)!important;}
.profile-action-button.danger b{color:#ff9c9c!important;-webkit-text-fill-color:#ff9c9c!important;}

/* Billing */
.billing-summary-card,
.billing-panel,
.saved-card,
.billing-empty{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.saved-card{background:#19191b!important;}
.saved-card-brand{background:#27272a!important;color:#fff!important;}
.default-card-badge{background:rgba(243,158,158,.12)!important;color:#f6b2b2!important;}
.billing-summary-details strong,.billing-address strong{color:var(--weyada-public-text)!important;}
.billing-address,.billing-history-header{color:var(--weyada-public-muted)!important;}
.billing-history-header{background:#19191b!important;}
.billing-history-row{border-bottom-color:rgba(255,255,255,.09)!important;}
.billing-credit-row,.billing-modal-subheading{border-color:rgba(255,255,255,.10)!important;}
.billing-danger-button{background:transparent!important;color:#ff9c9c!important;border-color:rgba(248,113,113,.30)!important;}
.billing-danger-button:hover{background:rgba(185,28,28,.10)!important;}

/* Membership: remove white/light plan cards so this page belongs to the dark site. */
.membership-clean-card,
.membership-clean-card.featured{
  background:#141415!important;
  color:var(--weyada-public-text)!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:none!important;
}
.membership-clean-card.featured{border-color:#F39E9E!important;}
.membership-clean-card h3,
.membership-clean-card .tier-price,
.membership-clean-card .tier-price small{
  color:var(--weyada-public-text)!important;
  -webkit-text-fill-color:var(--weyada-public-text)!important;
}
.membership-clean-card p,
.membership-clean-card li{
  color:var(--weyada-public-muted)!important;
  -webkit-text-fill-color:var(--weyada-public-muted)!important;
}
.membership-clean-trial{background:#202022!important;color:var(--weyada-public-text)!important;}
.membership-clean-card:not(.featured) .btn-outline{background:transparent!important;border-color:rgba(255,255,255,.26)!important;color:var(--weyada-public-text)!important;-webkit-text-fill-color:var(--weyada-public-text)!important;}
.membership-clean-card:not(.featured) .btn-outline:hover{background:rgba(255,255,255,.07)!important;}
.membership-clean-card.featured .btn-primary{color:#171719!important;-webkit-text-fill-color:#171719!important;}

/* Forms on every MY WEYADA page use dark controls with light copy. */
:is(.member-dashboard-page,.billing-page,.profile-tools-page,.groups-page,.invite-gift-page,.topics-page,.my-journey-page,.membership-page,.membership-page-clean)
:is(input,textarea,select){
  background:#101011!important;
  color:var(--weyada-public-text)!important;
  -webkit-text-fill-color:var(--weyada-public-text)!important;
  border-color:rgba(255,255,255,.16)!important;
  color-scheme:dark;
}
:is(.member-dashboard-page,.billing-page,.profile-tools-page,.groups-page,.invite-gift-page,.topics-page,.my-journey-page,.membership-page,.membership-page-clean)
:is(input,textarea)::placeholder{
  color:rgba(245,243,240,.43)!important;
  -webkit-text-fill-color:rgba(245,243,240,.43)!important;
  opacity:1!important;
}
.referral-link-box input{background:#101011!important;}

/* Keep accent labels and positive status colors intentional. */
:is(.member-eyebrow,.billing-card-label,.groups-page>header>span,.invite-gift-page>header>span,.topic-page-hero>span,.journey-hero>span,.membership-eyebrow){
  color:#F39E9E!important;
  -webkit-text-fill-color:#F39E9E!important;
}
.billing-status{background:rgba(34,197,94,.12)!important;color:#86efac!important;}
.billing-status.paused{background:rgba(245,158,11,.12)!important;color:#facc6b!important;}
.billing-status.canceled{background:rgba(239,68,68,.12)!important;color:#fca5a5!important;}
.payment-status{color:#86efac!important;}.payment-status.failed{color:#fca5a5!important}.payment-status.pending{color:#facc6b!important;}

/* ==========================================================
   WeYada 4.7.155 — PRIMARY PUBLIC PAGES DARK THEME REBUILD
   Home, Store, Devotion, WeYada Live, Library,
   My Collection, and Grow.
   This replaces legacy light-surface assumptions on these routes.
   ========================================================== */
:is(.home-page,.store-page,.devotion-page,.events-page,.library-page-modern,.collection-page,.growth-paths-page,.growth-path-detail){
  color:var(--weyada-public-text)!important;
  background:transparent!important;
}
:is(.home-page,.store-page,.devotion-page,.events-page,.library-page-modern,.collection-page,.growth-paths-page,.growth-path-detail)
:is(h1,h2,h3,h4,h5,h6,strong,b){
  color:var(--weyada-public-text)!important;
  -webkit-text-fill-color:var(--weyada-public-text)!important;
}
:is(.home-page,.store-page,.devotion-page,.events-page,.library-page-modern,.collection-page,.growth-paths-page,.growth-path-detail)
:is(p,li,small,.muted){
  color:var(--weyada-public-muted)!important;
  -webkit-text-fill-color:var(--weyada-public-muted)!important;
}
:is(.home-page,.store-page,.devotion-page,.events-page,.library-page-modern,.collection-page,.growth-paths-page,.growth-path-detail)
:is(.home-kicker,.audiobook-card-series,.growth-path-number,.growth-step-copy>span,.events-page>header>span,.devotion-hero>span,.devotion-day-kicker span:first-child){
  color:#F39E9E!important;
  -webkit-text-fill-color:#F39E9E!important;
}

/* HOME — remove remaining light cards/sections and force readable copy. */
.home-page,
.home-page :is(.section,.home-story-section,.home-transform-section,.home-benefits-section,.home-featured-books,.home-faq-section,.growth-teaser,.live-events-teaser,.free-teaching-section){
  background:transparent!important;
  color:var(--weyada-public-text)!important;
}
.home-page :is(.home-story-copy,.home-transform-section,.home-benefits-section,.home-faq-section,.growth-teaser,.live-events-teaser,.free-teaching-section)
:is(h1,h2,h3,h4,strong){color:var(--weyada-public-text)!important;-webkit-text-fill-color:var(--weyada-public-text)!important;}
.home-page :is(.home-story-copy,.home-transform-section,.home-benefits-section,.home-faq-section,.growth-teaser,.live-events-teaser,.free-teaching-section)
:is(p,span,small,.muted){color:var(--weyada-public-muted)!important;-webkit-text-fill-color:var(--weyada-public-muted)!important;}
.home-page .home-benefit-grid article,
.home-page .growth-teaser-grid button,
.home-page .free-teaching-section,
.home-page .live-events-teaser>article{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.home-page .growth-teaser-grid button:hover{background:#1b1b1d!important;border-color:rgba(243,158,158,.68)!important;}
.home-page .home-faq-item{background:#141415!important;border-color:rgba(255,255,255,.11)!important;}
.home-page .home-faq-item summary{color:var(--weyada-public-text)!important;}
.home-page .home-faq-answer{color:var(--weyada-public-muted)!important;}

/* STORE — product metadata and support panel now use dark surfaces. */
.store-page .audiobook-store-hero{border-bottom-color:rgba(255,255,255,.12)!important;}
.store-page .audiobook-store-hero p,
.store-page .audiobook-store-author,
.store-page .audiobook-store-help span{color:var(--weyada-public-muted)!important;-webkit-text-fill-color:var(--weyada-public-muted)!important;}
.store-page .audiobook-store-info h2,
.store-page .audiobook-store-price{color:var(--weyada-public-text)!important;-webkit-text-fill-color:var(--weyada-public-text)!important;}
.store-page .audiobook-store-help{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
}
.store-page .audiobook-store-cover{background:#171719!important;box-shadow:0 18px 44px rgba(0,0,0,.28)!important;}
.store-page .audiobook-store-cart{background:rgba(20,20,21,.94)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important;}
.store-book-page .store-book-inner,
.store-success-card{background:#141415!important;border-color:rgba(255,255,255,.11)!important;color:var(--weyada-public-text)!important;box-shadow:none!important;}

/* DEVOTION — replace the old white devotional cards entirely. */
.devotion-page .devotion-hero{background:#141415!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:none!important;}
.devotion-page .devotion-hero :is(h1,strong){color:var(--weyada-public-text)!important;}
.devotion-page .devotion-hero :is(p,span){color:var(--weyada-public-muted)!important;}
.devotion-page :is(.devotion-day-card,.devotion-locked-card,.devotion-complete-card){
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.devotion-page .devotion-day-card section{border-top-color:rgba(255,255,255,.10)!important;}
.devotion-page .devotion-scripture{background:#1b1b1d!important;}
.devotion-page .devotion-reflection{border-top-color:rgba(255,255,255,.10)!important;}
.devotion-page .devotion-journal-entry{border-bottom-color:rgba(255,255,255,.10)!important;}
.devotion-page .devotion-reflection textarea{
  background:#101011!important;
  border-color:rgba(255,255,255,.16)!important;
  color:var(--weyada-public-text)!important;
  -webkit-text-fill-color:var(--weyada-public-text)!important;
  color-scheme:dark;
}
.devotion-page .devotion-reflection textarea::placeholder{color:var(--weyada-public-soft)!important;-webkit-text-fill-color:var(--weyada-public-soft)!important;}

/* WEYADA LIVE — event rows read as dark cards instead of inherited light panels. */
.events-page>header p{color:var(--weyada-public-muted)!important;}
.events-page .events-list>article{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.events-page .events-list>article p,
.events-page .events-list>article span{color:var(--weyada-public-muted)!important;}

/* LIBRARY — keep every discovery control in the same dark system. */
.library-page-modern .library-search-wrap,
.library-page-modern .library-filter-trigger{
  background:#141415!important;
  border-color:rgba(255,255,255,.13)!important;
}
.library-page-modern .library-filter-popover{background:#171719!important;border-color:rgba(255,255,255,.11)!important;}
.library-page-modern .library-filter-option{color:var(--weyada-public-text)!important;}
.library-page-modern .library-filter-option:hover{background:#202022!important;}
.library-page-modern .library-view-chip{color:var(--weyada-public-muted)!important;}
.library-page-modern .library-view-chip.is-active{color:var(--weyada-public-text)!important;}

/* MY COLLECTION — the route now has its own root class so old generic page
   rules can no longer make it light by accident. */
.collection-page .section-head{border-bottom:1px solid rgba(255,255,255,.10)!important;padding-bottom:20px!important;}
.collection-page .book-card,
.collection-page .audiobook-card{background:transparent!important;color:var(--weyada-public-text)!important;}
.collection-page .book-card :is(h3,strong),
.collection-page .audiobook-card :is(h3,strong){color:var(--weyada-public-text)!important;}
.collection-page .book-card p,
.collection-page .audiobook-card p{color:var(--weyada-public-muted)!important;}
.collection-page :is(.cover,.library-cover){background:#171719!important;box-shadow:0 18px 44px rgba(0,0,0,.25)!important;}

/* GROW — remove white cards from both list and detail routes. */
.growth-paths-page .growth-path-card,
.growth-path-detail .growth-step{
  background:#141415!important;
  border-color:rgba(255,255,255,.11)!important;
  color:var(--weyada-public-text)!important;
  box-shadow:none!important;
}
.growth-path-detail .growth-step.is-complete{background:#151a17!important;border-color:rgba(74,222,128,.28)!important;}
.growth-paths-page .growth-path-card p,
.growth-paths-page .growth-path-card small,
.growth-path-detail .growth-step-copy p,
.growth-path-detail .growth-step-copy small{color:var(--weyada-public-muted)!important;}
.growth-paths-page .growth-path-progress{background:rgba(255,255,255,.10)!important;}
.growth-path-detail .growth-step-index{background:#242426!important;color:#fff!important;}
.growth-path-detail .growth-step.is-complete .growth-step-index{background:#178448!important;}
.growth-path-detail .growth-step-cover{background:#1b1b1d!important;}

/* Shared outlines/buttons on these public routes. */
:is(.home-page,.store-page,.devotion-page,.events-page,.library-page-modern,.collection-page,.growth-paths-page,.growth-path-detail) .btn-outline{
  background:transparent!important;
  border-color:rgba(255,255,255,.24)!important;
  color:var(--weyada-public-text)!important;
  -webkit-text-fill-color:var(--weyada-public-text)!important;
}
:is(.home-page,.store-page,.devotion-page,.events-page,.library-page-modern,.collection-page,.growth-paths-page,.growth-path-detail) .btn-outline:hover{
  background:rgba(255,255,255,.07)!important;
  border-color:rgba(255,255,255,.38)!important;
}

/* 4.7.157 — Mobile header contains only logo + menu trigger.\n   Login / Sign Up live inside the menu drawer on phones and tablets. */n@media (max-width:900px){n  .topbar{n    display:flex!important;n    align-items:center!important;n    justify-content:space-between!important;n    flex-wrap:nowrap!important;n  }n  .topbar>.brand{n    flex:1 1 auto!important;n    min-width:0!important;n    margin-right:12px!important;n  }n  .topbar>.nav-auth-actions{n    display:none!important;n    visibility:hidden!important;n    pointer-events:none!important;n    width:0!important;n    min-width:0!important;n    max-width:0!important;n    height:0!important;n    margin:0!important;n    padding:0!important;n    overflow:hidden!important;n  }n  .topbar>.mobile-menu-toggle{n    display:flex!important;n    flex:0 0 44px!important;n    margin-left:auto!important;n  }n}n
/* 4.7.158 — Home page builder has no section backgrounds.
   The Home canvas supplies the only page background. Builder text, rows,
   spacers and section wrappers remain transparent so saved legacy colors
   cannot paint black rectangles behind content. The hero banner is excluded. */
.home-page > .section:not(.hero),
.home-page > .page-builder-section-bg,
.home-page .weyada-builder-row,
.home-page .home-text-section,
.home-page .home-button-section,
.home-page .page-builder-section-bg,
.home-page .page-builder-section-bg > .section,
.home-page .builder-preserved-text,
.home-page .system-page-editable:not(.hero){
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
.home-page .page-builder-section-bg::before,
.home-page .page-builder-section-bg.page-builder-section-fullbleed::before{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
}
.home-page .home-text-section::before,
.home-page .home-text-section::after,
.home-page .weyada-builder-row::before,
.home-page .weyada-builder-row::after{
  content:none!important;
  background:none!important;
}

/* Admin Page Builder preview for Home: the canvas is transparent too. */
.page-builder[data-page="home"] .builder-block:not(.builder-banner),
.page-builder[data-page="home"] .builder-row,
.page-builder[data-page="home"] .builder-spacer,
.builder-page-home .builder-block:not(.builder-banner),
.builder-page-home .builder-row,
.builder-page-home .builder-spacer{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* =========================================================
   WEYADA 4.7.159 — HOME BUILDER SURFACE REBUILD
   Home Page Builder rows, columns, text blocks and spacers are
   layout only. They are not allowed to paint a background at all.
   Backgrounds are removed in JS before render; these rules are a
   final structural guard for legacy markup still in the DOM.
   ========================================================= */
body:not(.admin-page) #app > .home-page{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}
body:not(.admin-page) #app > .home-page > .weyada-builder-row,
body:not(.admin-page) #app > .home-page .weyada-builder-row,
body:not(.admin-page) #app > .home-page .weyada-builder-column,
body:not(.admin-page) #app > .home-page .weyada-builder-column > .section,
body:not(.admin-page) #app > .home-page .weyada-builder-column > .page-builder-section-bg,
body:not(.admin-page) #app > .home-page .weyada-builder-column > .page-builder-section-bg > .section,
body:not(.admin-page) #app > .home-page .home-text-section,
body:not(.admin-page) #app > .home-page .home-button-section,
body:not(.admin-page) #app > .home-page .builder-preserved-text,
body:not(.admin-page) #app > .home-page .system-page-editable:not(.home-membership-card),
body:not(.admin-page) #app > .home-page [data-component-id]:not(.hero):not(.wy-lanes212):not(.home-membership-card){
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
}
body:not(.admin-page) #app > .home-page .weyada-builder-row::before,
body:not(.admin-page) #app > .home-page .weyada-builder-row::after,
body:not(.admin-page) #app > .home-page .weyada-builder-column::before,
body:not(.admin-page) #app > .home-page .weyada-builder-column::after,
body:not(.admin-page) #app > .home-page .home-text-section::before,
body:not(.admin-page) #app > .home-page .home-text-section::after,
body:not(.admin-page) #app > .home-page .page-builder-section-bg::before,
body:not(.admin-page) #app > .home-page .page-builder-section-bg::after{
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}
/* Empty spacers must reveal the exact same page canvas, never a strip. */
body:not(.admin-page) #app > .home-page .weyada-builder-column > div[style*="height:"]{
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
}
/* Live Page Builder preview uses the same no-surface model for Home. */
.live-editing-page.home-page .live-editor-section,
.live-editing-page.home-page .live-row-grid,
.live-editing-page.home-page .live-builder-column,
.live-editing-page.home-page .live-column-body,
.live-editing-page.home-page .live-editor-column-section{
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}

/* 4.7.163 — simplified member menu, dashboard return, and billing readiness */
.member-dashboard-backbar{width:100%;margin:0 0 18px;display:flex!important;justify-content:flex-end;align-items:center;visibility:visible!important;opacity:1!important}.member-dashboard-back-button{appearance:none;border:0;border-radius:999px;background:#fff;color:#111;font:inherit;font-size:15px;font-weight:900;line-height:1;padding:13px 22px;min-height:44px;cursor:pointer;box-shadow:none;transition:transform .15s ease,opacity .15s ease}.member-dashboard-back-button:hover{transform:translateY(-1px)}.member-dashboard-back-button:focus-visible{outline:3px solid var(--accent,#f39e9e);outline-offset:3px}
.billing-recurring-status{margin:18px 0 0;padding:14px 16px;border:1px solid rgba(255,255,255,.12);border-radius:14px;display:flex;flex-direction:column;gap:4px}.billing-recurring-status strong{font-size:14px}.billing-recurring-status span{font-size:13px;color:var(--muted,#9ca3af)}.billing-recurring-status.ready{border-color:rgba(243,158,158,.45);background:rgba(243,158,158,.06)}.billing-recurring-status.needs-attention{background:rgba(255,255,255,.025)}
.site-menu-account-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.mobile-drawer-account-btn{appearance:none;background:transparent;color:inherit;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:10px 24px;font:inherit;font-weight:700;cursor:pointer}.mobile-drawer-account-btn:hover{border-color:var(--accent,#f39e9e);color:var(--accent,#f39e9e)}
@media(max-width:900px){.member-dashboard-backbar{width:100%;margin:0 0 16px;justify-content:flex-end}.member-dashboard-back-button{min-height:42px;padding:12px 18px;font-size:14px}.site-menu-primary .mobile-drawer-link{display:block;width:100%;text-align:left}.site-menu-section-label{margin-top:26px}.site-menu-account{padding-top:18px}.site-menu-account-actions{gap:10px}.mobile-drawer-account-btn{padding:9px 22px}}
/* Match the approved logged-in menu composition: one strong column with account controls at the bottom. */
body.mobile-menu-open .site-menu-primary{grid-template-columns:minmax(0,620px)!important;width:min(100%,620px)!important;column-gap:0!important}
@media(min-width:761px){body.mobile-menu-open .site-menu-primary .mobile-drawer-link{font-size:clamp(38px,3.5vw,60px)!important;padding:8px 0!important}}

/* 4.7.165 — About WEYADA editorial redesign */
.about-v165{max-width:none!important;width:100%!important;padding:0!important;background:transparent!important;overflow:hidden}
.about-v165 *{box-sizing:border-box}
.about-v165-hero,.about-v165-story,.about-v165-feature{width:min(1320px,calc(100% - 96px));margin:0 auto;display:grid;align-items:center;column-gap:clamp(56px,7vw,112px)}
.about-v165-hero{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);padding:96px 0 104px}
.about-v165-story{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);padding:94px 0 118px;border-top:1px solid rgba(255,255,255,.09)}
.about-v165-feature{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);padding:118px 0}
.about-v165-copy{min-width:0;padding:10px 0}
.about-v165-kicker{display:block;color:#F39E9E;font-size:11px;font-weight:900;letter-spacing:.18em;line-height:1.2;margin:0 0 22px;text-transform:uppercase}
.about-v165 h1,.about-v165 h2,.about-v165 h3{color:#f8f8f6;margin:0;letter-spacing:-.045em}
.about-v165 h1{font-size:clamp(52px,5.4vw,82px);line-height:.98;max-width:760px}
.about-v165 h2{font-size:clamp(38px,4.1vw,62px);line-height:1.02}
.about-v165 h3{font-size:clamp(25px,2.2vw,34px);line-height:1.08}
.about-v165 p{color:#b7b7bd;font-size:clamp(16px,1.25vw,19px);line-height:1.78;margin:26px 0 0;max-width:720px}
.about-v165-copy p+p{margin-top:18px}
.about-v165-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:34px}
.about-v165-actions .btn,.about-v165-close .btn{min-height:48px;padding:0 22px;border-radius:999px}
.about-v165-media{position:relative;margin:0;min-width:0;overflow:hidden;border-radius:30px;background:#151517;border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 70px rgba(0,0,0,.28)}
.about-v165-media img{width:100%;height:100%;display:block;object-fit:cover}
.about-v165-hero-media{aspect-ratio:1.28/1}
.about-v165-hero-media img{object-position:center}
.about-v165-hero-media figcaption{position:absolute;left:22px;bottom:20px;padding:10px 14px;border-radius:999px;background:rgba(9,9,11,.78);backdrop-filter:blur(12px);color:#f5f5f5;font-size:12px;font-weight:800;letter-spacing:.06em;border:1px solid rgba(255,255,255,.13)}
.about-v165-story-media{aspect-ratio:1.42/1}
.about-v165-story-media img{object-position:center}
.about-v165-values{padding:108px max(48px,calc((100vw - 1320px)/2));background:linear-gradient(180deg,rgba(243,158,158,.035),rgba(255,255,255,.015));border-top:1px solid rgba(255,255,255,.09);border-bottom:1px solid rgba(255,255,255,.09)}
.about-v165-values-head{display:grid;grid-template-columns:.72fr 1.28fr;column-gap:clamp(42px,7vw,110px);align-items:end;margin-bottom:54px}
.about-v165-values-head .about-v165-kicker{margin-bottom:8px}
.about-v165-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.about-v165-value-grid article{min-height:270px;padding:34px 32px;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:rgba(255,255,255,.025)}
.about-v165-value-grid article>span{display:block;color:#F39E9E;font-size:13px;font-weight:900;letter-spacing:.15em;margin-bottom:48px}
.about-v165-value-grid p{font-size:16px;line-height:1.7;margin-top:18px}
.about-v165-image-stack{position:relative;min-height:560px;padding:0 0 70px 64px}
.about-v165-stack-main{height:500px}
.about-v165-stack-main img{object-position:center}
.about-v165-stack-small{position:absolute;width:48%;height:210px;left:0;bottom:0;border-radius:22px;border:8px solid #0b0b0d;box-shadow:0 20px 48px rgba(0,0,0,.4)}
.about-v165-stack-small img{object-position:center}
.about-v165-close{width:min(1180px,calc(100% - 96px));margin:0 auto;padding:124px 0 138px;text-align:center;border-top:1px solid rgba(255,255,255,.09)}
.about-v165-close .about-v165-kicker{margin-bottom:24px}
.about-v165-close h2{font-size:clamp(48px,6vw,84px);line-height:.98}
.about-v165-close p{max-width:760px;margin:30px auto 0}
.about-v165-close .btn{margin-top:34px}
@media(max-width:980px){.about-v165-hero,.about-v165-story,.about-v165-feature{width:min(100% - 48px,760px);grid-template-columns:1fr;row-gap:46px}
 .about-v165-hero{padding:72px 0 82px}
 .about-v165-story{padding:74px 0 92px}
 .about-v165-story .about-v165-story-media{order:2}
 .about-v165-story .about-v165-copy{order:1}
 .about-v165-feature{padding:90px 0;row-gap:52px}
 .about-v165-values{padding:86px 24px}
 .about-v165-values-head{grid-template-columns:1fr;row-gap:14px;max-width:760px;margin:0 auto 42px}
 .about-v165-value-grid{grid-template-columns:1fr;max-width:760px;margin:0 auto}
 .about-v165-value-grid article{min-height:0}
 .about-v165-value-grid article>span{margin-bottom:24px}
 .about-v165-image-stack{min-height:500px;padding-left:48px}
 .about-v165-stack-main{height:430px}
 .about-v165-close{width:min(100% - 48px,760px);padding:96px 0 110px}}
@media(max-width:620px){.about-v165-hero,.about-v165-story,.about-v165-feature{width:calc(100% - 36px);row-gap:34px}
 .about-v165-hero{padding:54px 0 66px}
 .about-v165-story{padding:62px 0 74px}
 .about-v165 h1{font-size:clamp(44px,13.2vw,60px)}
 .about-v165 h2{font-size:clamp(34px,10vw,48px)}
 .about-v165 p{font-size:16px;line-height:1.72}
 .about-v165-media{border-radius:22px}
 .about-v165-values{padding:68px 18px}
 .about-v165-value-grid{gap:16px}
 .about-v165-value-grid article{padding:28px 24px;border-radius:20px}
 .about-v165-feature{padding:74px 0}
 .about-v165-image-stack{min-height:390px;padding:0 0 50px 28px}
 .about-v165-stack-main{height:340px}
 .about-v165-stack-small{height:145px;width:52%;border-width:5px;border-radius:16px}
 .about-v165-close{width:calc(100% - 36px);padding:78px 0 92px}
 .about-v165-close h2{font-size:clamp(42px,12vw,58px)}
 .about-v165-actions{gap:10px}}

/* 4.7.166 deployment-hardening: guarantee About spacing and member back button visibility. */
.about-v165-hero,.about-v165-story,.about-v165-feature{column-gap:clamp(64px,8vw,128px)!important}
.about-v165-media{isolation:isolate}
.member-dashboard-backbar{position:relative;z-index:6}
@media(max-width:900px){.about-v165-hero,.about-v165-story,.about-v165-feature{row-gap:48px!important}.about-v165-media{margin-top:4px!important}}

/* ==========================================================
   WeYada 4.7.170 — LIBRARY SEARCH + TAB DARK THEME REPAIR
   These selectors intentionally do not depend on a route/body class,
   so saved page state or admin/member session classes cannot turn the
   Library controls back into light-theme controls.
   ========================================================== */
[data-library-filter-block] .library-search-wrap,
[data-collection-filter-block] .library-search-wrap{
  min-height:50px!important;
  background:#141415!important;
  background-color:#141415!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:none!important;
  color:#f5f3f0!important;
}
[data-library-filter-block] .library-search-wrap:focus-within,
[data-collection-filter-block] .library-search-wrap:focus-within{
  background:#19191b!important;
  border-color:rgba(243,158,158,.78)!important;
  box-shadow:0 0 0 2px rgba(243,158,158,.10)!important;
}
[data-library-filter-block] input[data-library-search],
[data-collection-filter-block] input[data-collection-search]{
  background:transparent!important;
  background-color:transparent!important;
  color:#f5f3f0!important;
  -webkit-text-fill-color:#f5f3f0!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  opacity:1!important;
}
[data-library-filter-block] input[data-library-search]::placeholder,
[data-collection-filter-block] input[data-collection-search]::placeholder{
  color:#aaa7a4!important;
  -webkit-text-fill-color:#aaa7a4!important;
  opacity:1!important;
}
[data-library-filter-block] .library-search-wrap svg,
[data-collection-filter-block] .library-search-wrap svg{
  stroke:#f5f3f0!important;
  opacity:.88!important;
}
[data-library-filter-block] .library-filter-trigger,
[data-collection-filter-block] .library-filter-trigger{
  background:#141415!important;
  background-color:#141415!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#f5f3f0!important;
  box-shadow:none!important;
}
[data-library-filter-block] .library-filter-trigger:hover,
[data-collection-filter-block] .library-filter-trigger:hover{
  background:#1b1b1d!important;
  border-color:rgba(243,158,158,.62)!important;
}
[data-library-filter-block] .library-filter-trigger img,
[data-collection-filter-block] .library-filter-trigger img{
  filter:invert(1)!important;
  opacity:.9!important;
}

/* Tabs now belong to the dark Library instead of the legacy light/pill system. */
[data-library-filter-block] .library-view-chips{
  display:flex!important;
  gap:22px!important;
  flex-wrap:wrap!important;
  margin:14px 0 10px!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
}
[data-library-filter-block] .library-view-chip{
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  border-bottom:3px solid transparent!important;
  border-radius:0!important;
  color:#aaa7a4!important;
  -webkit-text-fill-color:#aaa7a4!important;
  padding:10px 1px 9px!important;
  box-shadow:none!important;
  font-weight:800!important;
}
[data-library-filter-block] .library-view-chip:hover,
[data-library-filter-block] .library-view-chip:focus-visible{
  color:#f5f3f0!important;
  -webkit-text-fill-color:#f5f3f0!important;
}
[data-library-filter-block] .library-view-chip.is-active,
[data-library-filter-block] .library-view-chip[aria-selected="true"]{
  background:transparent!important;
  background-color:transparent!important;
  border-bottom-color:#F39E9E!important;
  color:#f5f3f0!important;
  -webkit-text-fill-color:#f5f3f0!important;
}

/* Search-empty state must never become a white card on the dark Library. */
[data-library-results] .collection-empty,
[data-collection-results] .collection-empty{
  background:#141415!important;
  background-color:#141415!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#f5f3f0!important;
  box-shadow:none!important;
}
[data-library-results] .collection-empty :is(h1,h2,h3,strong),
[data-collection-results] .collection-empty :is(h1,h2,h3,strong){
  color:#f5f3f0!important;
  -webkit-text-fill-color:#f5f3f0!important;
}
[data-library-results] .collection-empty :is(p,small),
[data-collection-results] .collection-empty :is(p,small){
  color:#aaa7a4!important;
  -webkit-text-fill-color:#aaa7a4!important;
}

@media (max-width:620px){[data-library-filter-block] .library-view-chips{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    gap:24px!important;
    scrollbar-width:none!important;
  }
  [data-library-filter-block] .library-view-chips::-webkit-scrollbar{display:none!important;}
  [data-library-filter-block] .library-view-chip{flex:0 0 auto!important;white-space:nowrap!important;}}


/* ==========================================================
   WeYada 4.7.171 — CHECKOUT SESSION + COLLECTION + LOGIN REPAIR
   ========================================================== */
/* My Collection empty state must follow the dark member theme. */
.collection-page .collection-empty,
.collection-page > .collection-empty,
.collection-page .section .collection-empty{
  background:#141415!important;
  background-color:#141415!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#f5f3f0!important;
  box-shadow:none!important;
}
.collection-page .collection-empty :is(h1,h2,h3,strong){
  color:#f5f3f0!important;
  -webkit-text-fill-color:#f5f3f0!important;
}
.collection-page .collection-empty :is(p,small){
  color:#aaa7a4!important;
  -webkit-text-fill-color:#aaa7a4!important;
}
.collection-page .collection-empty .btn-primary{
  background:#F39E9E!important;
  border-color:#F39E9E!important;
  color:#161616!important;
  -webkit-text-fill-color:#161616!important;
}

/* Login: align every form line to the same inner edge. */
.auth-login-page .signin-card form{
  width:100%!important;
  text-align:left!important;
  justify-items:stretch!important;
}
.auth-login-page .signin-card .field{
  width:100%!important;
  margin:0!important;
  text-align:left!important;
}
.auth-login-page .signin-card .field>span{
  display:block!important;
  width:100%!important;
  margin:0 0 7px!important;
  text-align:left!important;
  color:#232326!important;
  -webkit-text-fill-color:#232326!important;
}
.auth-login-page .signin-card .field input{
  width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  text-align:left!important;
}
.auth-login-page .signin-options{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  min-height:28px!important;
  margin:0!important;
}
.auth-login-page .signin-options .signin-remember{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
  color:#5f5f63!important;
  -webkit-text-fill-color:#5f5f63!important;
}
.auth-login-page .signin-options .signin-remember input{
  margin:0!important;
  flex:0 0 auto!important;
}
.auth-login-page .signin-options .signin-remember span{
  color:#5f5f63!important;
  -webkit-text-fill-color:#5f5f63!important;
}
.auth-login-page .signin-options .link-button{
  margin:0!important;
  padding:0!important;
  text-align:right!important;
}
.auth-login-page .signin-submit{
  width:100%!important;
  text-align:center!important;
}
.auth-login-page .signin-join-text{
  width:100%!important;
  text-align:center!important;
  margin:0!important;
  color:#6a6a6f!important;
  -webkit-text-fill-color:#6a6a6f!important;
}
@media(max-width:520px){.auth-login-page .signin-options{gap:10px!important;}}
nn/* WeYada 4.7.175 — keep mobile navigation fully clear of the persistent audio player */
@media (max-width:760px){
  body.mobile-menu-open .audible3-mini-player{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  body.mobile-menu-open .mobile-nav-drawer{
    z-index:12050!important;
  }
  body.mobile-menu-open .mobile-nav-backdrop{
    z-index:12040!important;
  }
  body.mobile-menu-open .mobile-menu-toggle{
    z-index:12060!important;
  }
  body.mobile-menu-open .mobile-nav-drawer-body{
    padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))!important;
  }
}


/* =========================================================
   WEYADA 4.7.177 — HERO TEXT EDITOR + HOME SPACING + MOBILE ADMIN NAV
   ========================================================= */

/* Give the book preview and pricing area a cleaner handoff. */
.home-page .home-standard-books-section{
  padding-bottom:clamp(56px,5vw,82px)!important;
  margin-bottom:0!important;
}
.home-page .home-standard-books-section ~ .home-membership-section{
  margin-top:clamp(18px,2vw,34px)!important;
  padding-top:clamp(42px,4vw,64px)!important;
}
.home-page .home-standard-books-section ~ .home-pricing-module,
.home-page .home-standard-books-section ~ .system-page-editable.home-pricing-module{
  margin-top:clamp(22px,2.5vw,42px)!important;
}
@media (max-width:767px){.home-page .home-standard-books-section{padding-bottom:48px!important;}
  .home-page .home-standard-books-section ~ .home-membership-section{
    margin-top:12px!important;
    padding-top:38px!important;
  }
  .home-page .home-standard-books-section ~ .home-pricing-module,
  .home-page .home-standard-books-section ~ .system-page-editable.home-pricing-module{margin-top:16px!important;}}

/* Full Admin navigation lives inside the mobile site drawer while on /admin. */
.mobile-admin-panel-nav{
  grid-column:1/-1!important;
  width:100%!important;
  margin:8px 0 12px!important;
  padding:8px 0 14px!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
}
.mobile-admin-panel-nav>.mobile-admin-link{
  min-height:48px!important;
  padding:10px 0!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:850!important;
}
.mobile-admin-panel-nav .mobile-admin-group{margin:3px 0!important;}
.mobile-admin-panel-nav .mobile-admin-group-toggle{
  min-height:48px!important;
  padding:10px 0!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:850!important;
}
.mobile-admin-panel-nav .mobile-admin-group-menu{
  margin:2px 0 8px 8px!important;
  padding:3px 0 6px 14px!important;
  border-left:1px solid rgba(255,255,255,.20)!important;
}
.mobile-admin-panel-nav .mobile-admin-group-menu .mobile-admin-link{
  min-height:42px!important;
  padding:8px 0!important;
  color:rgba(255,255,255,.78)!important;
  font-size:15px!important;
  font-weight:720!important;
}
.mobile-admin-panel-nav .mobile-admin-group-menu .mobile-admin-link:active,
.mobile-admin-panel-nav .mobile-admin-group-toggle:active,
.mobile-admin-panel-nav>.mobile-admin-link:active{
  color:#fff!important;
  background:rgba(255,255,255,.06)!important;
}
.site-menu-admin-label{margin-top:28px!important;color:#f39e9e!important;}

/* =========================================================
   WEYADA 4.7.178 — CLEAN NAVIGATION SURFACE
   Remove the glass/backdrop sampling that made hero content
   appear as a blurred floating strip inside the navigation.
   ========================================================= */
body:not(.backend-light-theme) .topbar,
body.admin-session:not(:has(#app .admin-page)) .topbar,
body.admin-session:not(.backend-light-theme) .topbar{
  background:#0c0c0d!important;
  background-color:#0c0c0d!important;
  background-image:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  filter:none!important;
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  isolation:isolate!important;
}
body:not(.backend-light-theme) .topbar::before,
body:not(.backend-light-theme) .topbar::after,
body.admin-session:not(:has(#app .admin-page)) .topbar::before,
body.admin-session:not(:has(#app .admin-page)) .topbar::after{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
  filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
/* Keep the actual Admin workspace header light and clean. */
body.backend-light-theme .topbar,
body.admin-session:has(#app .admin-page).backend-light-theme .topbar{
  background:#fff!important;
  background-image:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  filter:none!important;
}


/* =========================================================
   WEYADA 4.7.179 — GLASS NAV ONLY AFTER SCROLL
   Keep the header clean at page top. Once the page moves, restore the
   frosted glass treatment without allowing hero artwork to create a
   stray blurred strip inside the navigation.
   ========================================================= */
body:not(.backend-light-theme) .topbar,
body.admin-session:not(:has(#app .admin-page)) .topbar,
body.admin-session:not(.backend-light-theme) .topbar{
  background:#0c0c0d!important;
  background-color:#0c0c0d!important;
  background-image:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
  border-bottom:1px solid transparent!important;
  transition:background-color .22s ease,backdrop-filter .22s ease,-webkit-backdrop-filter .22s ease,border-color .22s ease,box-shadow .22s ease!important;
}
body:not(.backend-light-theme) .topbar.weyada-nav-scrolled,
body.admin-session:not(:has(#app .admin-page)) .topbar.weyada-nav-scrolled,
body.admin-session:not(.backend-light-theme) .topbar.weyada-nav-scrolled{
  background:rgba(12,12,13,.62)!important;
  background-color:rgba(12,12,13,.62)!important;
  -webkit-backdrop-filter:blur(22px) saturate(140%)!important;
  backdrop-filter:blur(22px) saturate(140%)!important;
  border-bottom-color:rgba(255,255,255,.08)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.18)!important;
}
body:not(.backend-light-theme) .topbar::before,
body:not(.backend-light-theme) .topbar::after,
body.admin-session:not(:has(#app .admin-page)) .topbar::before,
body.admin-session:not(:has(#app .admin-page)) .topbar::after{
  content:none!important;
  display:none!important;
}

/* =========================================================
   WEYADA 4.7.181 — HOME RHYTHM + AUDIO AUDIT + MODERN AUTHOR PAGE
   ========================================================= */
/* Admin Books — audio readiness at a glance. */
.admin-book-overview{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
.admin-audio-summary{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid #d9dee4;background:#fff;color:#2b3036}
.admin-audio-summary.is-complete{border-color:#b9dfca;background:#eef9f2;color:#17653b}
.admin-audio-summary.needs-attention{border-color:#f0c2c2;background:#fff1f1;color:#a42d2d}
.admin-book-cover-display{position:relative!important}
.admin-book-audio-badge{position:absolute;top:10px;left:10px;z-index:3;display:inline-flex;align-items:center;max-width:calc(100% - 20px);padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900;line-height:1;box-shadow:0 4px 16px rgba(0,0,0,.14)}
.admin-book-audio-badge.is-complete{background:#e8f7ee;color:#17653b;border:1px solid #b9dfca}
.admin-book-audio-badge.needs-attention{background:#fff0f0;color:#a42d2d;border:1px solid #efbcbc}

/* Public author page — portrait-led editorial redesign. */
.teacher-page-modern{max-width:1440px!important;margin:0 auto!important;padding-top:clamp(42px,6vw,88px)!important;padding-bottom:clamp(84px,9vw,140px)!important}
.teacher-modern-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.78fr);align-items:center;gap:clamp(64px,8vw,130px);min-height:min(760px,76vh);padding:0 0 clamp(90px,9vw,145px);border-bottom:1px solid rgba(255,255,255,.12)}
.teacher-modern-hero-copy{max-width:760px}
.teacher-modern-eyebrow,.teacher-modern-story>span,.teacher-modern-mission>span,.teacher-modern-close>span{display:block;color:var(--accent);font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;margin-bottom:16px}
.teacher-modern-hero h1{font-size:clamp(56px,7.2vw,108px);line-height:.92;letter-spacing:-.06em;margin:0 0 22px;max-width:880px;color:#f7f5f2!important}
.teacher-modern-role{font-size:clamp(17px,1.7vw,23px);line-height:1.5;color:#c7c5c3!important;margin:0 0 28px}
.teacher-modern-lede{font-size:clamp(19px,2vw,28px);line-height:1.48;color:#f1efec!important;max-width:700px;margin:0 0 34px}
.teacher-modern-actions{display:flex;flex-wrap:wrap;gap:12px}
.teacher-modern-portrait{position:relative;min-height:620px;border-radius:34px;overflow:hidden;background:linear-gradient(145deg,#171719,#242226);border:1px solid rgba(255,255,255,.12);box-shadow:0 34px 90px rgba(0,0,0,.34)}
.teacher-modern-portrait::after{content:"";position:absolute;inset:auto 0 0;height:34%;background:linear-gradient(180deg,transparent,rgba(0,0,0,.28));pointer-events:none}
.teacher-modern-image{width:100%;height:100%;min-height:620px;display:block;object-fit:cover;object-position:center top}
.teacher-modern-image-placeholder{min-height:620px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:44px;background:radial-gradient(circle at 70% 18%,rgba(243,158,158,.22),transparent 35%),linear-gradient(145deg,#171719,#242226);color:#fff}
.teacher-modern-image-placeholder span{color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.18em;margin-bottom:12px}.teacher-modern-image-placeholder strong{font-size:clamp(30px,3vw,48px);line-height:1}.teacher-modern-image-placeholder small{margin-top:14px;color:#aaa}
.teacher-modern-story-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:clamp(56px,7vw,110px);padding:clamp(90px,9vw,145px) 0;align-items:start}
.teacher-modern-story h2{font-size:clamp(44px,5vw,72px);line-height:1;letter-spacing:-.045em;margin:0 0 30px;color:#f7f5f2!important}
.teacher-modern-story p{font-size:clamp(18px,1.45vw,21px);line-height:1.75;color:#c7c5c3!important;max-width:850px;margin:0}
.teacher-modern-mission{padding:clamp(28px,3vw,42px);border-radius:26px;background:#151516;border:1px solid rgba(255,255,255,.11)}
.teacher-modern-mission blockquote{margin:0;font-size:clamp(25px,2.7vw,39px);line-height:1.22;letter-spacing:-.025em;color:#f5f2ef}
.teacher-modern-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.1);border-radius:28px;overflow:hidden;margin:0 0 clamp(90px,9vw,145px)}
.teacher-modern-values article{background:#0f0f10;padding:clamp(30px,3.4vw,50px)}
.teacher-modern-values article>span{display:block;color:var(--accent);font-size:12px;font-weight:900;letter-spacing:.13em;margin-bottom:38px}
.teacher-modern-values h3{font-size:clamp(25px,2.5vw,38px);letter-spacing:-.03em;margin:0 0 16px;color:#f7f5f2!important}.teacher-modern-values p{font-size:16px;line-height:1.65;color:#aaa!important;margin:0}
.teacher-modern-close{max-width:960px;margin:0 auto;text-align:center;padding:clamp(54px,7vw,92px) clamp(22px,4vw,60px)}
.teacher-modern-close h2{font-size:clamp(46px,6vw,84px);line-height:.98;letter-spacing:-.05em;margin:0 0 24px;color:#f7f5f2!important}.teacher-modern-close p{max-width:760px;margin:0 auto 30px;font-size:clamp(18px,1.6vw,22px);line-height:1.65;color:#aaa!important}
.teacher-page-modern .author-books-section{display:none!important}
@media(max-width:900px){.teacher-page-modern{width:calc(100% - 36px)!important}.teacher-modern-hero{grid-template-columns:1fr;gap:42px;min-height:0}.teacher-modern-portrait,.teacher-modern-image,.teacher-modern-image-placeholder{min-height:540px}.teacher-modern-story-grid{grid-template-columns:1fr}.teacher-modern-values{grid-template-columns:1fr}.teacher-modern-values article+article{border-top:1px solid rgba(255,255,255,.1)}}
@media(max-width:620px){.teacher-page-modern{width:calc(100% - 28px)!important;padding-top:28px!important}.teacher-modern-hero{padding-bottom:70px}.teacher-modern-hero h1{font-size:clamp(48px,15vw,72px)}.teacher-modern-portrait,.teacher-modern-image,.teacher-modern-image-placeholder{min-height:460px;border-radius:24px}.teacher-modern-story-grid{padding:72px 0}.teacher-modern-values{margin-bottom:72px}.teacher-modern-close{padding:40px 4px}.teacher-modern-actions .btn{width:100%}}

/* 4.7.184 collection controls: persistent top-right add affordance + disabled collected state */
.plus.is-added,.plus:disabled{opacity:.42;filter:grayscale(1);cursor:default;transform:none!important}
.book-summary-plus{right:12px!important;top:12px!important;width:32px!important;height:32px!important;z-index:6!important}
@media(max-width:700px){.book-summary-plus{right:10px!important;top:10px!important;width:28px!important;height:28px!important}}

/* 4.7.185 Royalty admin */
.royalty-admin-page{display:grid;gap:24px}.royalty-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.royalty-summary-grid article{border:1px solid var(--admin-border,#dfe3e8);border-radius:18px;padding:18px;background:#fff;display:grid;gap:8px}.royalty-summary-grid span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#6b7280}.royalty-summary-grid strong{font-size:32px}.royalty-member-list{display:grid;gap:10px;margin-top:16px}.royalty-member-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.royalty-member-row>div:first-child{display:grid;gap:3px}.royalty-member-row span,.royalty-member-row small{color:#6b7280}.royalty-member-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.royalty-approved-pill{display:inline-flex;padding:7px 11px;border-radius:999px;background:#e9f8ef;color:#176b3a!important;font-weight:800;font-size:12px}.royalty-admin-page details summary{cursor:pointer;padding:8px 0}.royalty-admin-page .private-tier-link-row{margin-top:14px}
@media(max-width:760px){.royalty-summary-grid{grid-template-columns:1fr}.royalty-member-row{align-items:flex-start;flex-direction:column}.royalty-member-actions{justify-content:flex-start;width:100%}}


/* WeYada 4.7.186 — Royalty entry experience */
.royalty-entry-page{max-width:1280px;margin:0 auto;padding:clamp(28px,5vw,72px) clamp(18px,4vw,54px) 84px;background:#0c0c0d;color:#f7f7f5}
.royalty-entry-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:clamp(28px,5vw,72px);align-items:start}
.royalty-entry-copy>h1{font-size:clamp(48px,7vw,96px);line-height:.94;letter-spacing:-.055em;margin:.15em 0 .3em;color:#fff}
.royalty-entry-copy>p{font-size:clamp(18px,2vw,24px);line-height:1.5;max-width:760px;color:#c7c7c8;margin:0 0 30px}
.royalty-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:28px 0}
.royalty-feature-grid article{padding:20px;border:1px solid #29292c;border-radius:18px;background:#141416;display:flex;flex-direction:column;gap:8px}
.royalty-feature-grid strong{font-size:17px;color:#fff}.royalty-feature-grid span{font-size:14px;line-height:1.5;color:#aaa}
.royalty-monthly-preview{display:flex;flex-direction:column;gap:6px;padding:22px 24px;border-radius:20px;background:linear-gradient(135deg,#1a1516,#241416);border:1px solid rgba(243,158,158,.28)}
.royalty-monthly-preview>span{font-size:11px;font-weight:800;letter-spacing:.16em;color:#f39e9e}.royalty-monthly-preview>strong{font-size:clamp(22px,3vw,34px);color:#fff}.royalty-monthly-preview>small{color:#aaa;line-height:1.45}
.royalty-auth-stack{display:grid;gap:18px;position:sticky;top:110px}
.royalty-auth-card{padding:26px;border-radius:24px;background:#f7f7f5;color:#151515;box-shadow:0 18px 60px rgba(0,0,0,.25)}
.royalty-auth-card h2{margin:.25em 0 .25em;font-size:30px;letter-spacing:-.035em}.royalty-auth-card>p{margin:0 0 18px;color:#606064;line-height:1.45}.royalty-auth-card .field span{color:#222}.royalty-auth-card .field input{background:#fff;color:#111;border-color:#d6d6d8}.royalty-auth-card .signin-options{color:#56565a}.royalty-auth-card .status-message{color:#222}.royalty-login-card{background:#151517;color:#f7f7f5;border:1px solid #303034}.royalty-login-card h2,.royalty-login-card .field span{color:#fff}.royalty-login-card>p,.royalty-login-card .signin-options{color:#aaa}.royalty-login-card .field input{background:#0d0d0f;color:#fff;border-color:#35353a}.royalty-login-card .btn-outline{border-color:#f39e9e;color:#fff;background:transparent}.royalty-login-card .status-message{color:#fff}
@media(max-width:820px){.royalty-entry-page{padding-top:28px}.royalty-entry-hero{grid-template-columns:1fr;gap:30px}.royalty-feature-grid{grid-template-columns:1fr}.royalty-auth-stack{position:static}.royalty-entry-copy>h1{font-size:clamp(46px,15vw,72px)}.royalty-entry-copy>p{font-size:18px}.royalty-auth-card{padding:22px 18px;border-radius:20px}}

/* 4.7.190 Royalty public page */
.royalty-page{max-width:1380px;margin:0 auto;padding:clamp(28px,5vw,72px) clamp(18px,4vw,56px) 90px;color:#f7f7f7}
.royalty-entry-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:clamp(28px,5vw,72px);align-items:start}
.royalty-entry-copy>h1{font-size:clamp(52px,7vw,108px);line-height:.92;letter-spacing:-.055em;margin:14px 0 24px}
.royalty-entry-copy>p{max-width:780px;font-size:clamp(18px,1.8vw,25px);line-height:1.55;color:#c9c9c9}
.royalty-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:34px}
.royalty-feature-grid article,.royalty-monthly-card,.royalty-auth-card,.royalty-member-status{background:#151515;border:1px solid #2e2e2e;border-radius:22px;padding:24px}
.royalty-feature-grid strong{display:block;font-size:17px;margin-bottom:7px}.royalty-feature-grid span{color:#aaa;line-height:1.45}
.royalty-monthly-card{position:sticky;top:110px}.royalty-monthly-card h2{font-size:clamp(28px,3vw,44px);margin:18px 0 10px}.royalty-monthly-card p{color:#aaa}
.royalty-study-cover{width:min(100%,330px);aspect-ratio:1/1;margin:18px auto;border-radius:18px;overflow:hidden;background:#202020}.royalty-study-cover img{width:100%;height:100%;object-fit:cover}.royalty-study-cover [data-cover-placeholder]{display:block;width:100%;height:100%;background:#202020}
.royalty-auth-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:38px}.royalty-auth-card h2,.royalty-member-status h2{font-size:clamp(28px,3vw,42px);margin:8px 0 10px}.royalty-auth-card>p,.royalty-member-status>p{color:#aaa;line-height:1.55}.royalty-member-status{margin-top:38px;max-width:850px}.royalty-member-status.approved{border-color:rgba(243,158,158,.5)}
@media(max-width:780px){.royalty-page{padding-top:24px}.royalty-entry-hero{grid-template-columns:1fr}.royalty-entry-copy>h1{font-size:clamp(50px,16vw,72px)}.royalty-feature-grid,.royalty-auth-stack{grid-template-columns:1fr}.royalty-monthly-card{position:static}.royalty-auth-card,.royalty-member-status,.royalty-feature-grid article{padding:20px}}

/* 4.7.192 — Royalty public page redesign */
.royalty-page{max-width:none!important;width:100%;margin:0!important;padding:0 0 88px!important;background:#0b0b0c!important;color:#f7f7f5!important;min-height:100vh}
.royalty-page *{box-sizing:border-box}
.royalty-hero{max-width:1420px;margin:0 auto;padding:clamp(54px,7vw,110px) clamp(22px,5vw,74px) clamp(40px,5vw,72px);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.72fr);gap:clamp(34px,6vw,90px);align-items:center}
.royalty-hero-copy{max-width:820px}.royalty-kicker{display:inline-block;color:#f39e9e;font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.royalty-hero-copy h1{font-size:clamp(70px,10vw,150px);line-height:.82;letter-spacing:-.065em;margin:18px 0 28px;color:#fff}.royalty-lead{font-size:clamp(24px,2.7vw,38px);line-height:1.15;letter-spacing:-.03em;margin:0 0 18px;color:#fff;max-width:760px}.royalty-sublead{font-size:clamp(17px,1.5vw,22px);line-height:1.55;color:#aaa;margin:0;max-width:760px}
.royalty-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.royalty-badges span{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#171719;border:1px solid #2d2d30;color:#f3f3f3;font-size:13px;font-weight:800}.royalty-badges span:first-child{background:#f39e9e;color:#161616;border-color:#f39e9e}
.royalty-monthly-card{position:static!important;top:auto!important;border:1px solid #2f2f32!important;background:linear-gradient(160deg,#171719,#111113)!important;border-radius:30px!important;padding:28px!important;box-shadow:0 24px 70px rgba(0,0,0,.34);color:#fff}.royalty-monthly-card .eyebrow{color:#f39e9e}.royalty-monthly-card h2{font-size:clamp(30px,3vw,46px)!important;line-height:1.02;margin:18px 0 10px!important;letter-spacing:-.04em}.royalty-monthly-card p{color:#9f9fa4!important;margin:0;line-height:1.5}.royalty-study-cover{width:min(100%,360px)!important;margin:22px auto 0!important;border-radius:22px!important;background:#202023!important;box-shadow:0 20px 50px rgba(0,0,0,.28)}
.royalty-benefits{max-width:1420px;margin:0 auto;padding:20px clamp(22px,5vw,74px) 56px}.royalty-section-heading{max-width:820px;margin-bottom:28px}.royalty-section-heading h2{font-size:clamp(38px,5vw,72px);line-height:.98;letter-spacing:-.05em;color:#fff;margin:12px 0 0}.royalty-feature-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:0!important}.royalty-feature-grid article{background:#141416!important;border:1px solid #2a2a2d!important;border-radius:22px!important;padding:24px!important;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end}.royalty-feature-grid strong{color:#fff!important;font-size:19px!important;margin-bottom:8px!important}.royalty-feature-grid span{color:#9d9da2!important;font-size:15px!important;line-height:1.5!important}
.royalty-access-shell{width:min(1120px,calc(100% - 44px));margin:20px auto 0;padding:clamp(26px,4vw,50px);border-radius:32px;background:#111113;border:1px solid #2a2a2d;box-shadow:0 28px 90px rgba(0,0,0,.28)}.royalty-access-intro{text-align:center;max-width:780px;margin:0 auto 32px}.royalty-access-intro h2{font-size:clamp(36px,5vw,64px);line-height:1;letter-spacing:-.045em;color:#fff;margin:12px 0 16px}.royalty-access-intro p{font-size:18px;line-height:1.55;color:#aaa;margin:0 auto;max-width:720px}.royalty-free-note{margin:22px auto 0;padding:16px 20px;border-radius:18px;background:#1a1516;border:1px solid rgba(243,158,158,.25);display:flex;gap:10px 18px;justify-content:center;align-items:center;flex-wrap:wrap}.royalty-free-note strong{color:#f39e9e;font-size:18px}.royalty-free-note span{color:#c6c6c8}
.royalty-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:960px;margin:0 auto}.royalty-auth-card{background:#f7f7f5!important;color:#151515!important;border:none!important;border-radius:24px!important;padding:28px!important;box-shadow:none!important}.royalty-auth-card h3{font-size:32px;line-height:1.05;letter-spacing:-.035em;margin:8px 0 10px;color:#111}.royalty-auth-card>p{color:#5c5c60!important;line-height:1.5;margin:0 0 20px}.royalty-auth-card .field span{color:#222!important}.royalty-auth-card .field input{background:#fff!important;color:#111!important;border:1px solid #d6d6d8!important}.royalty-login-card{background:#19191b!important;color:#fff!important;border:1px solid #333338!important}.royalty-login-card h3,.royalty-login-card .field span{color:#fff!important}.royalty-login-card>p,.royalty-login-card .signin-options{color:#a8a8ad!important}.royalty-login-card .field input{background:#0f0f11!important;color:#fff!important;border-color:#38383d!important}.royalty-login-card .btn-outline{border-color:#f39e9e!important;color:#fff!important;background:transparent!important}.royalty-auth-card .signin-submit{width:100%;justify-content:center;margin-top:6px}
.royalty-member-status{width:min(900px,calc(100% - 44px));margin:26px auto 0!important;padding:clamp(28px,4vw,48px)!important;border-radius:28px!important;background:#141416!important;border:1px solid #2c2c30!important;text-align:center;color:#fff}.royalty-member-status h2{font-size:clamp(36px,5vw,60px)!important;line-height:1;margin:12px 0 14px!important;color:#fff}.royalty-member-status p{font-size:18px;color:#aaa!important;line-height:1.55;max-width:700px;margin:0 auto 24px}.royalty-member-status.approved{border-color:rgba(243,158,158,.45)!important}
@media(max-width:900px){.royalty-hero{grid-template-columns:1fr;padding-top:42px}.royalty-hero-copy{text-align:center;margin:0 auto}.royalty-badges{justify-content:center}.royalty-monthly-card{max-width:620px;width:100%;margin:0 auto}.royalty-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.royalty-section-heading{text-align:center;margin-left:auto;margin-right:auto}.royalty-auth-grid{grid-template-columns:1fr;max-width:620px}}
@media(max-width:620px){.royalty-hero{padding:32px 18px 34px}.royalty-hero-copy h1{font-size:clamp(62px,22vw,96px)}.royalty-lead{font-size:24px}.royalty-sublead{font-size:17px}.royalty-benefits{padding:10px 18px 42px}.royalty-feature-grid{grid-template-columns:1fr!important}.royalty-feature-grid article{min-height:130px}.royalty-access-shell{width:calc(100% - 28px);padding:24px 16px;border-radius:24px}.royalty-auth-card{padding:22px 18px!important}.royalty-free-note{display:grid;gap:4px}.royalty-member-status{width:calc(100% - 28px)}}


/* =========================================================
   WEYADA 4.7.196 — SINGLE-SOURCE RESPONSIVE HOME HERO
   One saved hero DOM/state is used at every breakpoint. Responsive CSS changes
   geometry only; it never substitutes mobile copy, font settings, or saved content.
   ========================================================= */






/* Hero copy keeps the exact saved rich-text typography. Only its width responds. */

@media (max-width:767px){.home-page>[data-component-id="home-v103-about-row"]{
    padding-top:28px!important;
  }}



/* =========================================================
   WEYADA 4.7.198 — SINGLE-SOURCE HOME HERO
   The Home hero intentionally uses unique class names so no historical
   generic/mobile hero rule can alter its content or typography.
   Desktop/tablet/mobile render the same DOM and the same saved state.
   Breakpoints change geometry only.
   ========================================================= */
.weyada-home-hero-v198{
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:clamp(600px,70vh,790px);
  margin:0;
  padding:clamp(40px,5vw,72px) clamp(22px,5vw,68px);
  overflow:hidden;
  box-sizing:border-box;
  background:#0c0c0d;
  color:#f7f7f5;
}
.weyada-home-hero-motion-v198{
  position:absolute;
  z-index:0;
  left:50%;top:50%;
  width:min(1120px,76vw);
  transform:translate(-50%,-50%);
  display:flex;
  flex-direction:column;
  gap:clamp(14px,1.6vw,24px);
  pointer-events:none;
  overflow:hidden;
  opacity:.96;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);
}
.weyada-home-hero-lane-v198{display:flex;width:max-content;gap:clamp(14px,1.6vw,24px);align-items:center;will-change:transform}
.weyada-home-hero-lane-v198.lane-a{animation:weyadaHeroTop127 var(--hero-duration,46s) linear infinite}
.weyada-home-hero-lane-v198.lane-b{animation:weyadaHeroBottom127 calc(var(--hero-duration,46s) * 1.12) linear infinite}
.weyada-home-hero-tile-v198{width:clamp(142px,12vw,208px);aspect-ratio:1/1;flex:0 0 auto;overflow:hidden;border-radius:18px;background:#141416;box-shadow:0 20px 50px rgba(0,0,0,.3)}
.weyada-home-hero-tile-v198 img{display:block;width:100%;height:100%;object-fit:cover}
.weyada-home-hero-overlay-v198{position:absolute;z-index:1;inset:0;pointer-events:none;background:rgba(12,12,13,var(--hero-overlay,.72))}
.weyada-home-hero-stage-v198{position:relative;z-index:2;min-height:inherit;width:min(1380px,100%);margin:0 auto;display:flex;align-items:center;justify-content:center;text-align:center}
.weyada-home-hero-content-v198{width:min(900px,100%);margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.weyada-home-hero-eyebrow-v198{width:100%;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.weyada-home-hero-title-v198{width:100%;max-width:100%;margin:0;color:var(--hero-heading-color,#f7f7f5);font-size:var(--hero-heading-size,96px);line-height:.9;white-space:nowrap;text-align:center;letter-spacing:-.04em}
.weyada-home-hero-title-v198 .weyada-hero-rich,.weyada-home-hero-title-v198 .weyada-hero-rich *{font-size:inherit!important;line-height:inherit!important}
.weyada-home-hero-copy-v198{width:min(860px,100%);margin:0 auto;color:var(--hero-text-color,rgba(247,247,245,.86));font-size:var(--hero-text-size,19px);line-height:1.45;text-align:center}
.weyada-home-hero-copy-v198 p{margin:0;line-height:inherit;font-size:inherit!important;color:inherit}
.weyada-home-hero-copy-v198 .weyada-hero-rich,.weyada-home-hero-copy-v198 .weyada-hero-rich *{font-size:inherit!important;line-height:inherit!important}
.weyada-home-hero-v198 .actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
@media(max-width:767px){
 .weyada-home-hero-v198{min-height:clamp(540px,142vw,650px);padding:28px 16px 34px}
 .weyada-home-hero-motion-v198{width:108vw;gap:12px}
 .weyada-home-hero-tile-v198{width:clamp(124px,31vw,154px);border-radius:14px}
 .weyada-home-hero-stage-v198{width:100%}
 .weyada-home-hero-content-v198{width:100%;max-width:100%;gap:12px}
 .weyada-home-hero-title-v198{font-size:min(var(--hero-heading-size,96px),22vw);letter-spacing:-.045em}
 .weyada-home-hero-copy-v198{font-size:min(var(--hero-text-size,19px),5.5vw);max-width:92vw;line-height:1.42}
 .weyada-home-hero-v198 .actions{width:100%}
 .weyada-home-hero-v198 .actions .btn{min-width:0;max-width:calc(50% - 5px);padding:12px 16px}
}
@media(max-width:420px){
 .weyada-home-hero-v198{min-height:580px;padding-left:14px;padding-right:14px}
 .weyada-home-hero-title-v198{font-size:min(var(--hero-heading-size,96px),21vw)}
 .weyada-home-hero-copy-v198{font-size:min(var(--hero-text-size,19px),5.2vw)}
}
@media(prefers-reduced-motion:reduce){.weyada-home-hero-lane-v198{animation:none!important}}

/* 4.7.234: Do not let the fixed frontend editor cover the administrator footer controls.
   This clearance is active only while editing; published page layout remains unchanged. */
body:has(.live-editor-admin-bar:not(.live-editor-launcher)) > footer.footer{padding-bottom:calc(128px + env(safe-area-inset-bottom,0px))!important;}
@media(max-width:800px){body:has(.live-editor-admin-bar:not(.live-editor-launcher)) > footer.footer{padding-bottom:calc(176px + env(safe-area-inset-bottom,0px))!important;}}

/* 4.7.246 — collection actions follow every book cover; never the title row. */
.book-reference-cover .book-reference-cover-plus{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;bottom:auto!important;width:34px!important;height:34px!important;z-index:15!important;display:grid!important;place-items:center!important;border:0!important;padding:0!important;background:transparent!important;cursor:pointer!important;}
.book-reference-cover .book-reference-cover-plus img{position:static!important;inset:auto!important;width:100%!important;height:100%!important;object-fit:contain!important;}
.book-reference-cover .book-reference-cover-plus:disabled,.book-reference-cover .book-reference-cover-plus.is-added{opacity:.55!important;cursor:default!important;}
@media(max-width:700px){.book-reference-cover .book-reference-cover-plus{top:8px!important;right:8px!important;width:30px!important;height:30px!important;}}

/* 4.7.248 — dark collection empty state in both system and standalone renderers. */
.page .collection-empty, .section .collection-empty, [data-collection-results] .collection-empty,
[data-library-results] .collection-empty, .collection-empty {
  background:#171719!important;background-color:#171719!important;
  border:1px solid rgba(255,255,255,.15)!important;
  color:#f5f3f0!important;box-shadow:none!important;
}
.collection-empty :is(h1,h2,h3,strong){color:#f5f3f0!important;-webkit-text-fill-color:#f5f3f0!important;}
.collection-empty :is(p,small){color:#bcb7b7!important;-webkit-text-fill-color:#bcb7b7!important;}
.collection-empty .btn-primary {background:#F39E9E!important;border-color:#F39E9E!important;color:#161616!important;-webkit-text-fill-color:#161616!important;}

/* 4.7.248 collection removal control */
.audiobook-card-art{position:relative}.collection-remove-btn{position:absolute;right:9px;top:9px;z-index:8;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.30);border-radius:50%;background:rgba(18,18,20,.88);color:#fff;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.35)}.collection-remove-btn:hover,.collection-remove-btn:focus-visible{background:#f39e9e;color:#181818;border-color:#f39e9e}.collection-remove-btn:disabled{opacity:.55;cursor:wait}


/* 4.7.249 — Collection and Library share identical grid & cover dimensions. */
.collection-page {
  width:min(1420px,calc(100% - 48px)) !important;
  max-width:none !important;
  margin:0 auto !important;
  padding:clamp(38px,5vw,76px) 0 90px !important;
}
.collection-page .book-grid.audiobook-library-grid.weyada-unified-book-grid,
.library-page-modern .book-grid.audiobook-library-grid.weyada-unified-book-grid {
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:36px 22px !important;
}
.collection-page .audiobook-card .weyada-unified-book-cover,
.library-page-modern .audiobook-card .weyada-unified-book-cover {
  display:block !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  height:auto !important;
  border-radius:14px !important;
  padding:0 !important;
}
.collection-page .collection-remove-btn {
  position:absolute !important;
  top:8px !important;
  right:8px !important;
  z-index:9 !important;
  display:grid !important;
  place-items:center !important;
  width:28px !important;
  height:28px !important;
  padding:0 !important;
  border:1px solid rgba(255,91,103,.8) !important;
  border-radius:50% !important;
  background:rgba(20,12,15,.92) !important;
  color:#ff5969 !important;
  font-size:25px !important;
  font-family:Arial,sans-serif !important;
  font-weight:700 !important;
  line-height:1 !important;
  cursor:pointer !important;
  box-shadow:0 2px 8px rgba(0,0,0,.35) !important;
}
.collection-page .collection-remove-btn:hover,
.collection-page .collection-remove-btn:focus-visible {
  background:#bd2638 !important;
  color:#fff !important;
  border-color:#e84b5a !important;
}
.collection-page .collection-remove-btn:disabled {opacity:.5!important;cursor:wait!important;}
@media(max-width:1100px){
  .collection-page .book-grid.audiobook-library-grid.weyada-unified-book-grid,
  .library-page-modern .book-grid.audiobook-library-grid.weyada-unified-book-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media(max-width:820px){
  .collection-page{width:min(1420px,calc(100% - 30px))!important;padding-top:30px!important;}
  .collection-page .book-grid.audiobook-library-grid.weyada-unified-book-grid,
  .library-page-modern .book-grid.audiobook-library-grid.weyada-unified-book-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px 16px!important;}
}
@media(max-width:620px){
  .collection-page .book-grid.audiobook-library-grid.weyada-unified-book-grid,
  .library-page-modern .book-grid.audiobook-library-grid.weyada-unified-book-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 14px!important;}
}


/* 4.7.251 — removal control belongs to the actual cover, not the card wrapper. */
.collection-page .audiobook-card .cover.weyada-unified-book-cover {position:relative!important;isolation:isolate!important;overflow:hidden!important;}
.collection-page .audiobook-card .cover.weyada-unified-book-cover > .collection-remove-btn {
 position:absolute!important;top:9px!important;right:9px!important;bottom:auto!important;left:auto!important;
 z-index:30!important;display:grid!important;place-items:center!important;
 width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;
 margin:0!important;padding:0!important;border-radius:50%!important;
 border:1px solid #ff6671!important;background:rgba(33,12,18,.94)!important;
 color:#ff5969!important;-webkit-text-fill-color:#ff5969!important;
 font:700 26px/1 Arial,sans-serif!important;box-shadow:0 3px 12px rgba(0,0,0,.5)!important;
 cursor:pointer!important;transform:none!important;
}
.collection-page .audiobook-card .cover.weyada-unified-book-cover > .collection-remove-btn:hover,
.collection-page .audiobook-card .cover.weyada-unified-book-cover > .collection-remove-btn:focus-visible {
 background:#b82436!important;color:white!important;-webkit-text-fill-color:white!important;
}
/* Dark, readable confirmation only for the collection-removal dialog. */
.dialog-backdrop.collection-removal-dialog {z-index:10010!important;background:rgba(0,0,0,.76)!important;}
.collection-removal-dialog > .dialog {background:#1b1b1e!important;color:#f5f3f0!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 24px 70px rgba(0,0,0,.62)!important;}
.collection-removal-dialog > .dialog .dialog-head h3,
.collection-removal-dialog > .dialog p,
.collection-removal-dialog > .dialog p strong {color:#f5f3f0!important;-webkit-text-fill-color:#f5f3f0!important;opacity:1!important;}
.collection-removal-dialog > .dialog p {line-height:1.6!important;margin:16px 0 20px!important;}
.collection-removal-dialog > .dialog .dialog-close {background:#323237!important;color:#f5f3f0!important;-webkit-text-fill-color:#f5f3f0!important;}
.collection-removal-dialog > .dialog .dialog-actions {display:flex!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;}
.collection-removal-dialog > .dialog .dialog-actions .btn-outline {background:transparent!important;color:#f5f3f0!important;-webkit-text-fill-color:#f5f3f0!important;border:1px solid #68686e!important;}
.collection-removal-dialog > .dialog .dialog-actions .btn-primary {background:#f39e9e!important;color:#191919!important;-webkit-text-fill-color:#191919!important;}
@media(max-width:620px){.collection-page .audiobook-card .cover.weyada-unified-book-cover > .collection-remove-btn {width:30px!important;height:30px!important;min-width:30px!important;top:7px!important;right:7px!important;}}

/* 4.7.252: Shared collection cards used by standalone and builder page routes.
   Buttons are siblings of the cover so image stacking cannot hide the action. */
.book-grid.audiobook-library-grid.collection-book-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:36px 22px!important;width:100%!important;max-width:none!important;align-items:start!important;}
.collection-book-grid .collection-book-card{position:relative!important;min-width:0!important;width:100%!important;max-width:none!important;display:grid!important;align-content:start!important;gap:13px!important;}
.collection-book-grid .collection-book-card>.audiobook-card-art{position:relative!important;display:block!important;width:100%!important;min-width:0!important;}
.collection-book-grid .collection-book-card .cover.weyada-unified-book-cover{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;padding:0!important;overflow:hidden!important;border-radius:14px!important;}
.collection-book-grid .collection-book-card .cover.weyada-unified-book-cover>img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
.collection-book-grid .collection-book-card>.audiobook-card-art>.collection-remove-btn{position:absolute!important;top:9px!important;right:9px!important;bottom:auto!important;left:auto!important;z-index:100!important;display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;opacity:1!important;visibility:visible!important;transform:none!important;border:1px solid #ff5969!important;border-radius:50%!important;background:rgba(19,12,15,.94)!important;color:#ff5969!important;-webkit-text-fill-color:#ff5969!important;box-shadow:0 3px 12px rgba(0,0,0,.65)!important;font:700 27px/1 Arial,sans-serif!important;cursor:pointer!important;pointer-events:auto!important;}
.collection-book-grid .collection-book-card>.audiobook-card-art>.collection-remove-btn span{display:block!important;color:inherit!important;-webkit-text-fill-color:inherit!important;line-height:1!important;transform:translateY(-1px);}
.collection-book-grid .collection-book-card>.audiobook-card-art>.collection-remove-btn:hover{background:#b82436!important;color:white!important;-webkit-text-fill-color:white!important;}
@media(max-width:1100px){.book-grid.audiobook-library-grid.collection-book-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:820px){.book-grid.audiobook-library-grid.collection-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px 16px!important;}}
@media(max-width:620px){.book-grid.audiobook-library-grid.collection-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 14px!important;}.collection-book-grid .collection-book-card>.audiobook-card-art>.collection-remove-btn{width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;top:7px!important;right:7px!important;}}


/* 4.7.253 — Mobile navigation, readable authentication and announcement repairs */
@media(max-width:760px){
  /* Keep the announcement in the document flow beneath the site header; no hidden negative offset. */
  #app>.site-announcements{position:relative!important;inset:auto!important;top:auto!important;transform:none!important;display:block!important;visibility:visible!important;opacity:1!important;z-index:5!important;margin:0!important;}
  #app>.site-announcements .site-announcement{height:auto!important;min-height:56px!important;padding:12px 52px 12px 16px!important;line-height:1.4!important;white-space:normal!important;}
  #app>.site-announcements .site-announcement>span{display:block!important;overflow:visible!important;white-space:normal!important;}
  .auth-login-page>.section:first-child{text-align:center!important;justify-self:center!important;}
  .auth-login-page>.section:first-child h1,.auth-login-page>.section:first-child h2,.auth-login-page>.section:first-child p{text-align:center!important;margin-left:auto!important;margin-right:auto!important;}
}
/* The checkbox and label are a single row even with the narrowest mobile screen. */
.auth-login-page .signin-options .signin-remember,
.royalty-auth-card .signin-options .signin-remember{
  display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-width:max-content!important;white-space:nowrap!important;max-width:none!important;}
.auth-login-page .signin-options .signin-remember span,
.royalty-auth-card .signin-options .signin-remember span{display:inline!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:max-content!important;writing-mode:horizontal-tb!important;}
.auth-login-page .signin-options .signin-remember input{width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important;}
.auth-login-page .signin-options .link-button{white-space:nowrap!important;min-width:0!important;}
.auth-login-page .signin-card input::placeholder{color:#77777d!important;-webkit-text-fill-color:#77777d!important;opacity:1!important;}
/* Sign-up page is a light card against the black site, not white text on white. */
body:not(.admin-session) .signin-card .section-heading :is(h1,h2,h3,p,span),
body:not(.admin-session) .signin-card .signin-join-text,
body:not(.admin-session) .signin-card .signin-join-text :not(.link-button){color:#232326!important;-webkit-text-fill-color:#232326!important;}
body:not(.admin-session) .signin-card .section-heading p{color:#5f6065!important;-webkit-text-fill-color:#5f6065!important;}
body:not(.admin-session) .signin-card input::placeholder{color:#77777d!important;-webkit-text-fill-color:#77777d!important;opacity:1!important;}
@media(max-width:520px){.auth-login-page .signin-options{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;}.auth-login-page .signin-options .link-button{font-size:12px!important;}}


/* 4.7.254 — Public auth backdrop, admin empty states and accessibility */
/* One image setting controls maintenance, sign in, and sign up. */
.auth-login-page{background-color:#0c0c0d!important;background-image:linear-gradient(rgba(5,5,7,.56),rgba(5,5,7,.65)),var(--login-background,none)!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;}
.auth-login-page.auth-signup-page{min-height:calc(100vh - 130px);display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:clamp(28px,5vw,72px) 16px!important;}
.auth-signup-page>.section,.auth-signup-page .signin-card{width:min(600px,100%)!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;}
/* Center the real editable heading and paragraph, including desktop. */
.auth-login-page:not(.auth-signup-page)>.section:first-child,
.auth-login-page:not(.auth-signup-page)>.section:first-child .section-heading,
.auth-login-page:not(.auth-signup-page)>.section:first-child .builder-text,
.auth-login-page:not(.auth-signup-page)>.section:first-child :is(h1,h2,h3,p){text-align:center!important;}
.auth-login-page:not(.auth-signup-page)>.section:first-child :is(h1,h2,h3,p){margin-inline:auto!important;}
/* Administrator pages are light: a black empty card must use white readable text. */
body .groups-admin-page .member-empty-state,
body .testimonial-admin-list .member-empty-state{background:#171719!important;border:1px solid #343439!important;color:#f5f3f0!important;}
body .groups-admin-page .member-empty-state :is(h2,h3,h4,strong),
body .testimonial-admin-list .member-empty-state :is(h2,h3,h4,strong){color:#f5f3f0!important;-webkit-text-fill-color:#f5f3f0!important;opacity:1!important;}
body .groups-admin-page .member-empty-state :is(p,small,span),
body .testimonial-admin-list .member-empty-state :is(p,small,span){color:#c3c3cc!important;-webkit-text-fill-color:#c3c3cc!important;opacity:1!important;}
/* Space the password-reset submit below its email input. */
.dialog [data-forgot-form]>.field{display:flex;flex-direction:column;margin-bottom:18px!important;}
.dialog [data-forgot-form]>button[type=submit]{display:inline-flex;margin-top:6px!important;margin-bottom:8px!important;}


/* 4.7.255 — align login intro with form; admin empty states use light admin palette. */
/* Remove legacy desktop-only +7vw shift. Both heading and form now share a common centered parent. */
.auth-login-page:not(.auth-signup-page) .signin-form-section{
  left:0!important;
  right:auto!important;
}
.auth-login-page:not(.auth-signup-page)>.section:first-child{
  width:min(560px,100%)!important;
  margin-inline:auto!important;
  justify-self:center!important;
  text-align:center!important;
}
.auth-login-page:not(.auth-signup-page)>.section:first-child :is(h1,h2,h3,p),
.auth-login-page:not(.auth-signup-page)>.section:first-child .builder-text{
  text-align:center!important;
  margin-inline:auto!important;
}
/* The admin uses a light canvas; empty panels must be light with high-contrast dark text. */
body .groups-admin-page .group-admin-list>.member-empty-state,
body .testimonials-admin-page .testimonial-admin-list>.member-empty-state{
  background:#f7f8fa!important;
  border:1px solid #e1e4ea!important;
  border-radius:16px!important;
  color:#20232a!important;
  -webkit-text-fill-color:#20232a!important;
  box-shadow:none!important;
}
body .groups-admin-page .group-admin-list>.member-empty-state :is(h1,h2,h3,h4,strong),
body .testimonials-admin-page .testimonial-admin-list>.member-empty-state :is(h1,h2,h3,h4,strong){
  color:#20232a!important;
  -webkit-text-fill-color:#20232a!important;
  opacity:1!important;
}
body .groups-admin-page .group-admin-list>.member-empty-state :is(p,span,small),
body .testimonials-admin-page .testimonial-admin-list>.member-empty-state :is(p,span,small){
  color:#555e70!important;
  -webkit-text-fill-color:#555e70!important;
  opacity:1!important;
}


/* Reference screenshot homepage, 4.7.262. Scoped to this homepage only. */
.wyref-home{background:#0b0b0c;color:#f7f6f5;overflow:hidden}
.wyref-home .wyref-inner{width:min(1050px,calc(100% - 44px));margin:0 auto;padding:36px 0 82px}
.wyref-home .wyref-intro{display:grid;grid-template-columns:33% 1fr;gap:9%;margin:8px 0 92px;align-items:start}
.wyref-home .wyref-intro h2{font-size:clamp(28px,3vw,43px);line-height:1.05;max-width:250px;letter-spacing:-.045em;margin:0 0 12px}
.wyref-home .wyref-intro h3{font-size:clamp(22px,2.15vw,30px);line-height:1.12;letter-spacing:-.035em;margin:0 0 15px}
.wyref-home .wyref-intro p{font-size:14px;color:#bdbbbc;line-height:1.6;margin:0 0 17px}
.wyref-home .wyref-exclusives{text-align:center;margin:0 auto 90px}
.wyref-home .wyref-exclusives h2{font-size:clamp(30px,3vw,40px);line-height:1.1;margin:0 0 10px;font-weight:800}
.wyref-home .wyref-exclusives>p{color:#a7a5a9;margin:0 0 40px;font-size:14px}
.wyref-home .wyref-books{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;max-width:970px;margin:auto}
.wyref-home .wyref-book{position:relative;min-width:0;aspect-ratio:1/1;border-radius:10px;overflow:hidden}
.wyref-home .wyref-book-open{background:transparent;border:0;padding:0;cursor:pointer;width:100%;height:100%;display:block}
.wyref-home .wyref-book-open img{width:100%;height:100%;object-fit:cover;border-radius:10px;display:block}
.wyref-home .wyref-book-add{position:absolute;right:7px;top:7px;z-index:3;width:28px;height:28px;border-radius:50%;background:#1d1d1f;border:1px solid #f39e9e;color:#f39e9e;font-size:21px;line-height:1;cursor:pointer}
.wyref-home .wyref-membership{text-align:center;margin:0 auto 76px}
.wyref-home .wyref-eyebrow{display:block;color:#f39e9e;font-size:10px;letter-spacing:.16em;font-weight:800;margin-bottom:9px}
.wyref-home .wyref-membership h2{font-size:clamp(28px,3vw,38px);letter-spacing:-.04em;margin:0 0 8px}
.wyref-home .wyref-membership-description{font-size:13px;line-height:1.6;color:#bdbbbc;margin:0 auto 22px;max-width:520px}
.wyref-home .wyref-tier-grid{max-width:610px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;text-align:left}
.wyref-home .wyref-tier{border-radius:12px;background:#fff;color:#25252a;padding:20px 19px;position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;box-shadow:0 4px 28px rgba(255,255,255,.06)}
.wyref-home .wyref-tier-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}
.wyref-home .wyref-tier h3{font-size:20px;margin:0;color:#25252a}
.wyref-home .wyref-popular{font-size:8px;background:#f39e9e;color:white;padding:5px 7px;border-radius:20px;font-weight:800}
.wyref-home .wyref-tier-detail{color:#57575b;font-size:12px;margin:0;min-height:31px;line-height:1.5}
.wyref-home .wyref-tier-price{font-size:28px;font-weight:800;margin:0;white-space:nowrap}
.wyref-home .wyref-tier-price small{font-size:10px;font-weight:500}
.wyref-home .wyref-tier-access{background:#f5f5f6;color:#343439;padding:9px;font-size:12px;border-radius:7px}
.wyref-home .wyref-tier ul{margin:0 0 10px;padding:0;list-style:none;flex:1}
.wyref-home .wyref-tier li{color:#57575b;font-size:11px;margin:7px 0;line-height:1.45;padding-left:14px;position:relative}
.wyref-home .wyref-tier li:before{content:'✓';position:absolute;left:0;color:#f39e9e}
.wyref-home .wyref-tier .btn{min-height:36px;font-size:12px;width:100%}
.wyref-home .wyref-plan-footnote{font-size:12px;color:#bdbbbc;margin:20px 0 7px}
.wyref-home .wyref-compare{border:0;background:none;color:#f39e9e;font-size:12px;cursor:pointer}
.wyref-home .wyref-join{margin-top:44px}.wyref-home .wyref-join .btn{font-size:12px;min-height:35px;padding:9px 17px}
.wyref-home .wyref-purpose{display:grid;grid-template-columns:1fr 1fr;gap:55px;max-width:1010px;margin:0 auto}
.wyref-home .wyref-purpose h2{font-size:clamp(25px,2.4vw,36px);line-height:1.08;letter-spacing:-.035em;margin:0 0 15px}
.wyref-home .wyref-purpose p{font-size:13px;color:#bdbbbc;line-height:1.65;max-width:450px;margin:0}
.wyref-home .wyref-author-link{text-align:center;margin:55px auto 82px}
.wyref-home .wyref-author-link .btn{background:#fff;color:#161619;border:0;min-height:35px;padding:9px 19px;font-size:12px}
.wyref-home .wyref-testimonials{text-align:center;margin:0 0 78px}
.wyref-home .wyref-testimonials h2,.wyref-home .wyref-faq h2{font-size:clamp(22px,2.3vw,31px);margin:0 0 7px;letter-spacing:-.035em}
.wyref-home .wyref-testimonials>p{font-size:12px;color:#aaa8a9;margin:0 0 25px}
.wyref-home .wyref-testimonial-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;text-align:left}
.wyref-home .wyref-testimonial{margin:0;padding:0;background:transparent;border:0}
.wyref-home .wyref-testimonial p{font-size:13px;font-weight:650;line-height:1.5;color:#f7f6f5;margin:0 0 10px}
.wyref-home .wyref-testimonial footer{font-size:10px;letter-spacing:.05em;color:#f39e9e;text-transform:uppercase}
.wyref-home .wyref-testimonial-empty{grid-column:1/-1;text-align:center;color:#a7a5a8;font-size:13px}
.wyref-home .wyref-faq{max-width:900px;margin:auto;text-align:center}
.wyref-home .wyref-faq h2{margin-bottom:24px}
.wyref-home .wyref-faq-items{text-align:left}
.wyref-home .wyref-faq-items details{border-bottom:1px solid #262628}
.wyref-home .wyref-faq-items summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 2px;font-size:13px;font-weight:700;color:#f7f6f5}
.wyref-home .wyref-faq-items summary::-webkit-details-marker{display:none}
.wyref-home .wyref-faq-items details p{font-size:13px;line-height:1.6;color:#aaa8a9;margin:0 0 16px}
body:has(.wyref-home) footer.footer-reference{margin-top:0!important}
@media(max-width:740px){.wyref-home .wyref-inner{width:min(100% - 36px,560px);padding-top:36px}.wyref-home .wyref-intro{grid-template-columns:1fr;gap:26px;margin-bottom:65px}.wyref-home .wyref-books{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wyref-home .wyref-exclusives{margin-bottom:65px}.wyref-home .wyref-tier-grid{gap:10px}.wyref-home .wyref-tier{padding:14px 11px}.wyref-home .wyref-tier-price{font-size:23px}.wyref-home .wyref-purpose{grid-template-columns:1fr;gap:32px}.wyref-home .wyref-testimonial-list{grid-template-columns:1fr;gap:24px}.wyref-home .wyref-author-link{margin:35px auto 60px}}
@media(max-width:390px){.wyref-home .wyref-books{grid-template-columns:repeat(2,minmax(0,1fr))}.wyref-home .wyref-tier-grid{grid-template-columns:1fr;max-width:290px}}

/* WEYADA 4.7.263 — restore homepage scale, membership contrast and FAQ legibility.
   Scoped to the reference homepage; do not alter other routes or page-builder styles. */
.wyref-home .wyref-inner{width:min(1240px,calc(100% - 64px));padding-top:52px}
.wyref-home .wyref-books{max-width:1210px;gap:22px;grid-template-columns:repeat(5,minmax(0,1fr))}
.wyref-home .wyref-book{border-radius:13px}
.wyref-home .wyref-book-open img{border-radius:13px}
.wyref-home .wyref-exclusives h2{font-size:clamp(34px,3.2vw,46px)}
.wyref-home .wyref-exclusives>p{font-size:16px}
.wyref-home .wyref-tier-grid{max-width:810px;gap:22px}
.wyref-home .wyref-tier{background:#fff!important;color:#1b1b1e!important;padding:27px 27px 24px!important;border:1px solid #e6e4e6!important;box-shadow:0 16px 40px rgba(0,0,0,.22)!important}
.wyref-home .wyref-tier h3,.wyref-home .wyref-tier-price,.wyref-home .wyref-tier-price *{color:#171719!important}
.wyref-home .wyref-tier-detail,.wyref-home .wyref-tier li{color:#45454b!important}
.wyref-home .wyref-tier-access{background:#f3f3f5!important;color:#202025!important}
.wyref-home .wyref-tier h3{font-size:23px}
.wyref-home .wyref-tier-price{font-size:34px}
.wyref-home .wyref-tier-detail,.wyref-home .wyref-tier-access{font-size:14px}
.wyref-home .wyref-tier li{font-size:13px;line-height:1.55}
.wyref-home .wyref-tier .btn{min-height:44px;font-size:14px}
.wyref-home .wyref-tier .btn-outline{background:#fff!important;border:1px solid #d9d9de!important;color:#202025!important}
.wyref-home .wyref-tier .btn-primary{background:#f39e9e!important;color:#171719!important}
.wyref-home .wyref-purpose{max-width:1190px;gap:68px}
.wyref-home .wyref-purpose h2{font-size:clamp(30px,2.8vw,43px)}
.wyref-home .wyref-purpose p{font-size:16px;max-width:550px}
.wyref-home .wyref-author-link .btn{background:#fff!important;color:#111114!important;border:1px solid #fff!important;border-radius:12px!important;font-weight:700!important;font-size:15px!important;min-height:46px;padding:12px 26px!important}
.wyref-home .wyref-author-link .btn:hover{background:#eee!important;color:#111114!important}
.wyref-home .wyref-faq{max-width:1100px}
.wyref-home .wyref-faq h2{font-size:clamp(30px,3vw,42px);margin-bottom:32px}
.wyref-home .wyref-faq-items summary{padding:23px 8px;font-size:17px;line-height:1.5}
.wyref-home .wyref-faq-items details p{font-size:16px;line-height:1.7;padding:0 8px 8px}
@media(max-width:900px){.wyref-home .wyref-inner{width:calc(100% - 40px)}.wyref-home .wyref-books{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.wyref-home .wyref-tier-grid{max-width:700px}.wyref-home .wyref-purpose{gap:28px}}
@media(max-width:740px){.wyref-home .wyref-inner{width:min(100% - 30px,560px);padding-top:36px}.wyref-home .wyref-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.wyref-home .wyref-tier-grid{gap:12px}.wyref-home .wyref-tier{padding:17px 13px!important}.wyref-home .wyref-tier-price{font-size:26px}.wyref-home .wyref-tier li{font-size:12px}.wyref-home .wyref-purpose p{font-size:15px}.wyref-home .wyref-faq h2{font-size:29px}.wyref-home .wyref-faq-items summary{font-size:16px;padding:20px 4px}.wyref-home .wyref-faq-items details p{font-size:15px}}
@media(max-width:390px){.wyref-home .wyref-tier-grid{grid-template-columns:1fr;max-width:330px}.wyref-home .wyref-books{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* WEYADA 4.7.265 — restore original 4.7.255 membership presentation and homepage readability. */
.wyref-home .wyref-inner{width:min(1420px,calc(100% - 64px))!important}
.wyref-home .wyref-intro{grid-template-columns:36% 1fr;gap:7%;margin-bottom:100px}
.wyref-home .wyref-intro h2{font-size:clamp(38px,3.5vw,56px);max-width:410px}
.wyref-home .wyref-intro h3{font-size:clamp(29px,2.8vw,41px)}
.wyref-home .wyref-intro p{font-size:17px;line-height:1.75}
.wyref-home .wyref-exclusives h2{font-size:clamp(38px,3.6vw,54px)}
.wyref-home .wyref-exclusives>p{font-size:17px}
.wyref-home .wyref-books{max-width:1370px;gap:24px;grid-template-columns:repeat(5,minmax(0,1fr))}
.wyref-home .wyref-membership{margin-bottom:90px}
.wyref-home .wyref-membership h2{font-size:clamp(37px,3.6vw,52px)}
.wyref-home .wyref-membership-description{font-size:16px;max-width:700px}
/* The cards are the original 4.7.255 HTML, including its colors and saved tier benefits. */
.wyref-home .wyref-tier-grid.home-membership-grid{max-width:920px;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch!important}
.wyref-home .home-membership-card{min-width:0!important;min-height:525px!important;background:#fff!important;color:#202124!important;padding:30px!important;border-radius:18px!important;border:1px solid #e7e7ea!important;position:relative!important;display:flex!important;flex-direction:column!important;gap:13px!important;box-shadow:0 18px 50px rgba(0,0,0,.18)!important;box-sizing:border-box!important}
.wyref-home .home-membership-card .home-membership-card-head{min-height:108px!important}
.wyref-home .home-membership-card .home-membership-tier-name{color:#202124!important;-webkit-text-fill-color:#202124!important;font-size:27px!important;margin:0 0 9px!important}
.wyref-home .home-membership-card .home-membership-tier-copy{color:#585b64!important;-webkit-text-fill-color:#585b64!important;font-size:15px!important;line-height:1.45!important;margin:0!important}
.wyref-home .home-membership-card .home-membership-price{color:#202124!important;-webkit-text-fill-color:#202124!important;font-size:38px!important;font-weight:800!important}
.wyref-home .home-membership-card .home-membership-price small{color:#52545d!important;-webkit-text-fill-color:#52545d!important;font-size:13px!important}
.wyref-home .home-membership-card .home-membership-access{background:#f5f5f6!important;color:#33363d!important;-webkit-text-fill-color:#33363d!important;font-size:14px!important;padding:13px!important;border-radius:9px!important}
.wyref-home .home-membership-card .home-membership-access strong{color:#f39e9e!important;-webkit-text-fill-color:#f39e9e!important}
.wyref-home .home-membership-card ul{margin:6px 0 20px!important;list-style:none!important;padding:0!important;flex:1!important}
.wyref-home .home-membership-card ul li{color:#50535c!important;-webkit-text-fill-color:#50535c!important;font-size:14px!important;line-height:1.55!important;display:flex!important;gap:10px!important;margin:9px 0!important}
.wyref-home .home-membership-card ul li span{color:#f39e9e!important;-webkit-text-fill-color:#f39e9e!important}
.wyref-home .home-membership-card .home-membership-badge{background:#f39e9e!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.wyref-home .home-membership-card .btn{font-size:15px!important;min-height:49px!important;margin-top:auto!important}
.wyref-home .home-membership-card.featured .btn-primary{background:#f39e9e!important;color:#19191b!important;-webkit-text-fill-color:#19191b!important}
.wyref-home .home-membership-card:not(.featured) .btn-outline{background:#101012!important;border-color:#101012!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.wyref-home .wyref-plan-footnote{font-size:14px}
.wyref-home .wyref-compare{font-size:15px}
@media(max-width:900px){.wyref-home .wyref-inner{width:calc(100% - 40px)!important}.wyref-home .wyref-books{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.wyref-home .wyref-tier-grid.home-membership-grid{max-width:760px;gap:14px}}
@media(max-width:740px){.wyref-home .wyref-inner{width:calc(100% - 30px)!important}.wyref-home .wyref-intro{grid-template-columns:1fr;gap:24px;margin-bottom:70px}.wyref-home .wyref-intro p{font-size:15px}.wyref-home .wyref-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.wyref-home .wyref-tier-grid.home-membership-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wyref-home .home-membership-card{min-height:0!important;padding:16px 12px!important}.wyref-home .home-membership-card .home-membership-card-head{min-height:90px!important}.wyref-home .home-membership-card .home-membership-tier-name{font-size:20px!important}.wyref-home .home-membership-card .home-membership-tier-copy,.wyref-home .home-membership-card ul li{font-size:12px!important}.wyref-home .home-membership-card .home-membership-price{font-size:27px!important}.wyref-home .home-membership-card .home-membership-access{font-size:12px!important;padding:8px!important}}
@media(max-width:390px){.wyref-home .wyref-tier-grid.home-membership-grid{grid-template-columns:1fr;max-width:360px}.wyref-home .home-membership-card{padding:22px!important}}


/* 4.7.267: Accessible sign-up contrast on white card; leave dark page backdrop intact. */
body .auth-login-page.auth-signup-page .signin-card,
body .auth-signup-page .signin-card {background:#fff!important;color:#202124!important;-webkit-text-fill-color:#202124!important;}
body .auth-signup-page .signin-card .section-heading h1,
body .auth-signup-page .signin-card .section-heading h2,
body .auth-signup-page .signin-card .section-heading h3 {color:#17181b!important;-webkit-text-fill-color:#17181b!important;opacity:1!important;}
body .auth-signup-page .signin-card .section-heading p {color:#53565c!important;-webkit-text-fill-color:#53565c!important;opacity:1!important;}
body .auth-signup-page .signin-card .section-heading .eyebrow {color:#29292c!important;-webkit-text-fill-color:#29292c!important;opacity:1!important;}
body .auth-signup-page .signin-card .field>span,
body .auth-signup-page .signin-card .signin-join-text {color:#202124!important;-webkit-text-fill-color:#202124!important;opacity:1!important;}
body .auth-signup-page .signin-card .signin-join-text .link-button {color:#55565b!important;-webkit-text-fill-color:#55565b!important;text-decoration:underline!important;}
body .auth-signup-page .signin-card .field input {background:#fff!important;color:#202124!important;-webkit-text-fill-color:#202124!important;}
body .auth-signup-page .signin-card .field input::placeholder {color:#6b6d73!important;-webkit-text-fill-color:#6b6d73!important;opacity:1!important;}
/* Collection add/remove controls: glyphs only, never a circular button. */
body .audiobook-card .plus, body .book-card .plus,
body .home-standard-book-card .plus, body .book-summary-cover .plus,
body .book-reference-cover .plus, body .wyref-home .wyref-book-add {
 position:absolute!important;top:8px!important;right:8px!important;z-index:100!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 color:#ffb2b9!important;-webkit-text-fill-color:#ffb2b9!important;
 font:900 31px/1 Arial,sans-serif!important;line-height:1!important;
 text-shadow:0 1px 2px rgba(0,0,0,.72),0 0 3px rgba(0,0,0,.48)!important;
 box-shadow:none!important;filter:none!important;opacity:1!important;cursor:pointer!important;
}
body .audiobook-card .plus span,body .book-card .plus span,
body .book-summary-cover .plus span,body .book-reference-cover .plus span,
body .wyref-home .wyref-book-add span{color:inherit!important;-webkit-text-fill-color:inherit!important;text-shadow:inherit!important;}
body .audiobook-card .plus:hover,body .wyref-home .wyref-book-add:hover {background:transparent!important;transform:scale(1.08)!important;}
body .collection-page .collection-remove-btn,
body .collection-book-grid .collection-book-card>.audiobook-card-art>.collection-remove-btn,
body .collection-page .audiobook-card .cover.weyada-unified-book-cover>.collection-remove-btn {
 position:absolute!important;top:8px!important;right:8px!important;z-index:110!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:30px!important;min-width:30px!important;max-width:30px!important;
 height:30px!important;min-height:30px!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:0!important;background:transparent!important;
 color:#ff4d5c!important;-webkit-text-fill-color:#ff4d5c!important;
 font:900 33px/1 Arial,sans-serif!important;
 text-shadow:0 2px 2px #000,2px 0 3px #000,-2px 0 3px #000,0 -2px 4px #000,0 4px 8px #000!important;
 box-shadow:none!important;opacity:1!important;visibility:visible!important;cursor:pointer!important;
}
body .collection-page .collection-remove-btn span,
body .collection-book-grid .collection-book-card>.audiobook-card-art>.collection-remove-btn span{color:inherit!important;-webkit-text-fill-color:inherit!important;text-shadow:inherit!important;}
body .collection-page .collection-remove-btn:hover,
body .collection-book-grid .collection-book-card>.audiobook-card-art>.collection-remove-btn:hover {background:transparent!important;color:#ff7280!important;-webkit-text-fill-color:#ff7280!important;}
/* Homepage author action: keep exact author route, white CTA and black label. */
body .wyref-home .wyref-author-link .btn,
body .wyref-home .wyref-author-link button[data-route="teacher"]{
 background:#fff!important;color:#101012!important;-webkit-text-fill-color:#101012!important;
 border:1px solid #fff!important;border-radius:10px!important;font-weight:750!important;
}
body .wyref-home .wyref-author-link .btn:hover,
body .wyref-home .wyref-author-link button[data-route="teacher"]:hover{background:#ececec!important;color:#101012!important;-webkit-text-fill-color:#101012!important;}
@media(max-width:620px){
 body .audiobook-card .plus,body .book-card .plus,body .home-standard-book-card .plus,
 body .book-summary-cover .plus,body .book-reference-cover .plus,body .wyref-home .wyref-book-add,
 body .collection-page .collection-remove-btn,body .collection-book-grid .collection-book-card>.audiobook-card-art>.collection-remove-btn {
 top:6px!important;right:6px!important;width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;min-height:28px!important;}
}


/* v4.7.269: public and editable Home share the same reference layout. */
.wyref-home-editing .wyref-inline-edit{outline:1px dashed rgba(243,158,158,.46);outline-offset:4px;border-radius:3px;cursor:text;min-height:1em;}
.wyref-home-editing .wyref-inline-edit:focus{outline:2px solid #f39e9e;outline-offset:5px;background:rgba(243,158,158,.065);}
.wyref-home-editing .wyref-hero-editor{position:relative;}
.wyref-home-editing .wyref-hero-editor>.live-section-toolbar{position:absolute;z-index:100;top:12px;left:12px;}
.wyref-home-editing .wyref-faq summary [contenteditable=true]{cursor:text;}

/* v4.7.270: subtle contrast halo for + controls, no heavy black glow. */
body .audiobook-card .plus,body .book-card .plus,
body .home-standard-book-card .plus,body .book-summary-cover .plus,
body .book-reference-cover .plus,body .wyref-home .wyref-book-add {
 text-shadow:0 1px 2px rgba(0,0,0,.72),0 0 3px rgba(0,0,0,.48)!important;
}

/* v4.7.272: six featured books on desktop, two on mobile. */
@media (min-width:901px){.wyref-home .wyref-books{grid-template-columns:repeat(6,minmax(0,1fr))!important}}

/* v4.7.273: accessible rounded Preview action, shared across book views. */
body .preview-button.preview-png-button {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  width:auto!important;
  min-width:118px!important;
  height:42px!important;
  margin-top:12px!important;
  padding:0 17px!important;
  border:1px solid #e7dedd!important;
  border-radius:999px!important;
  background:#f7f5f3!important;
  color:#18181b!important;
  -webkit-text-fill-color:#18181b!important;
  font:700 14px/1.2 Arial,sans-serif!important;
  letter-spacing:.01em!important;
  box-shadow:none!important;
  cursor:pointer!important;
  vertical-align:middle!important;
  transition:background-color .18s ease, border-color .18s ease, transform .18s ease!important;
}
body .preview-button.preview-png-button:hover {
  background:#ece8e6!important;
  border-color:#d8cfcc!important;
  transform:translateY(-1px)!important;
}
body .preview-button.preview-png-button:focus-visible {
  outline:2px solid #f39e9e!important;
  outline-offset:3px!important;
}
body .preview-button.preview-png-button .preview-play-glyph {
  width:0!important;
  height:0!important;
  flex:none!important;
  border-top:6px solid transparent!important;
  border-bottom:6px solid transparent!important;
  border-left:9px solid #18181b!important;
  filter:none!important;
}
body .preview-button.preview-png-button .preview-button-label {
  color:#18181b!important;
  -webkit-text-fill-color:#18181b!important;
  line-height:1!important;
}
body .preview-button.preview-png-button.is-playing {
  border-color:#f39e9e!important;
}
@media (max-width:650px) {
  body .preview-button.preview-png-button {height:40px!important;min-width:110px!important;padding:0 14px!important;}
}

/* 4.7.275: ivory Preview state and unboxed book-cover hover behavior. */
body .preview-button.preview-png-button:is(.is-playing,:active,:focus,:focus-visible),
body .preview-card-button:is(.is-playing,:active,:focus-visible),
body .player-preview-button:is(.is-playing,:active,:focus-visible){
 border-color:#e7dedd!important;outline:none!important;box-shadow:none!important;
 background:#f7f5f3!important;color:#18181b!important;
}
body .preview-button.preview-png-button:hover{border-color:#e7dedd!important;box-shadow:none!important;}
/* All book-cover images remain borderless; no white flash on hover or focus. */
body #app :is(.book-summary-cover,.book-summary-recommendation-cover,.book-reference-cover,.library-cover,.home-standard-book-cover,.wyref-book-cover,.audiobook-card-art,.weyada-unified-book-cover),
body #app :is(.book-summary-cover,.book-summary-recommendation-cover,.book-reference-cover,.library-cover,.home-standard-book-cover,.wyref-book-cover,.audiobook-card-art,.weyada-unified-book-cover):is(:hover,:focus,:focus-visible,:focus-within),
body #app :is(.book-summary-recommendation,.audiobook-card,.book-card,.home-standard-book-card):is(:hover,:focus,:focus-visible,:focus-within) :is(.book-summary-recommendation-cover,.library-cover,.home-standard-book-cover,.wyref-book-cover,.audiobook-card-art,.weyada-unified-book-cover){
 border:0!important;outline:0!important;box-shadow:none!important;
 transform:none!important;filter:none!important;
}
body #app .book-summary-recommendation:is(:hover,:focus,:focus-visible){outline:0!important;box-shadow:none!important;}
body #app .book-summary-recommendation:focus-visible .book-summary-recommendation-copy strong{text-decoration:underline;text-decoration-color:#f39e9e;text-underline-offset:4px;}
/* Keep book-cover buttons accessible without a box around their image. */
body #app :is(.book-card,.audiobook-card,.home-standard-book-card):focus-within :is(h3,.audiobook-card-info strong){text-decoration-color:#f39e9e;}
/* Shared pill shape for book actions, matching the approved Preview radius. */
body #app .book-summary-actions .book-summary-action,
body #app :is(.book-reference-read,.book-reference-buy){border-radius:999px!important;min-height:42px!important;padding:10px 22px!important;}
/* Buy Now: white surface, dark text on dark book pages. */
body:not(.backend-light-theme) #app :is(.book-summary-buy,.book-reference-buy){
 background:#fff!important;background-color:#fff!important;border:1px solid #fff!important;
 color:#18181b!important;-webkit-text-fill-color:#18181b!important;
 box-shadow:none!important;
}
body:not(.backend-light-theme) #app :is(.book-summary-buy,.book-reference-buy):is(:hover,:focus-visible){
 background:#f0efed!important;background-color:#f0efed!important;border-color:#f0efed!important;
 color:#18181b!important;-webkit-text-fill-color:#18181b!important;
}

/* 4.7.277: Public pricing cards stack on phones; readable full-width actions. */
@media (max-width: 760px) {
  body .wyref-home .wyref-tier-grid,
  body .wyref-home .wyref-tier-grid.home-membership-grid,
  body .membership-plans-section .membership-tier-grid,
  body .membership-tier-grid.membership-tier-grid-clean,
  body .home-membership-grid,
  body .section > .tier-grid:not(.membership-tier-grid) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 520px !important;
    gap: 22px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body .wyref-home .home-membership-card,
  body .wyref-home .wyref-tier,
  body .membership-plans-section .membership-tier-card,
  body .membership-tier-grid .membership-tier-card,
  body .home-membership-grid .membership-tier-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 26px 22px !important;
    transform: none !important;
  }
  body .wyref-home .home-membership-card .home-membership-card-head { min-height: 0 !important; }
  body .wyref-home .home-membership-card .home-membership-tier-name { font-size: 25px !important; }
  body .wyref-home .home-membership-card .home-membership-tier-copy,
  body .wyref-home .home-membership-card ul li { font-size: 14px !important; }
  body .wyref-home .home-membership-card .home-membership-price { font-size: 36px !important; }
  body .wyref-home .home-membership-card .home-membership-access { font-size: 14px !important; padding: 12px !important; }
  body .wyref-home .home-membership-card .btn,
  body .wyref-home .wyref-tier .btn,
  body .membership-plans-section .membership-tier-card .btn,
  body .membership-tier-grid .membership-tier-card .btn,
  body .home-membership-grid .membership-tier-card .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
}

/* v4.7.278: separate Sign In and View Memberships in collection access prompt. */
.dialog .collection-signin-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px;margin-top:16px;}
.dialog .collection-signin-actions>.btn{margin:0!important;min-height:44px;}
@media(max-width:700px){.dialog .collection-signin-actions{flex-direction:column;gap:12px;width:100%;}.dialog .collection-signin-actions>.btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;}}


/* v4.7.283: About WEYADA — consistent 20px mobile gutters, one responsive DOM. */
@media (max-width: 620px) {
  .about-v165, .about-v165 * { box-sizing: border-box; }
  .about-v165 { width:100%!important; max-width:100%!important; overflow-x:clip!important; }
  .about-v165-hero, .about-v165-story, .about-v165-feature,
  .about-v165-close { width:calc(100% - 40px)!important; max-width:760px!important; margin-left:auto!important; margin-right:auto!important; min-width:0!important; }
  .about-v165-values { padding-left:20px!important; padding-right:20px!important; }
  .about-v165-values-head,.about-v165-value-grid,
  .about-v165-copy,.about-v165-image-stack,.about-v165-value-grid article { min-width:0; max-width:100%; }
  .about-v165 h1 { font-size:clamp(34px,10.5vw,52px)!important; line-height:1.06!important; overflow-wrap:break-word; }
  .about-v165 h2,.about-v165 h3 { overflow-wrap:break-word; }
  .about-v165-close h2 { font-size:clamp(34px,9.5vw,52px)!important; }
  .about-v165 p,.about-v165 .btn { max-width:100%; overflow-wrap:break-word; }
  .about-v165-actions { width:100%; }
  .about-v165-actions .btn { white-space:normal; min-width:0; text-align:center; }
  [data-component-id="about-modern-hero"],
  [data-component-id="about-modern-story"],
  [data-component-id="about-modern-pillars"],
  [data-component-id="about-modern-close"] { width:calc(100% - 40px)!important; max-width:760px!important; min-width:0!important; margin-left:auto!important; margin-right:auto!important; }
  [data-component-id^="about-modern-"] { box-sizing:border-box; }
  [data-component-id^="about-modern-"] h2 { font-size:clamp(32px,9vw,46px)!important; overflow-wrap:break-word; }
  [data-component-id^="about-modern-"] img,
  [data-component-id^="about-modern-"] .btn { max-width:100%; }
}
