/* Shared editorial presentation layer. Scoped to existing GidiReads page structures. */
:root{--gr-editorial-rule:var(--border-color,rgba(255,255,255,.12));--gr-editorial-muted:var(--text-muted,#a69daa);--gr-editorial-gutter:clamp(16px,3.2vw,42px)}
html,body{max-width:100%;overflow-x:clip}
img,video,svg,canvas{max-width:100%}
button,a,input,select,textarea{min-width:0}

/* Notifications and creator finance: wider working area, restrained rows. */
body:has(.notifications-hero) .section-inner{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
body:has(.notifications-hero) .notifications-hero{padding-inline:0}
body:has(.notifications-hero) .notifications-section{padding-block:clamp(18px,3vw,32px)}
body:has(.notifications-hero) .notification-toolbar,body:has(.notifications-hero) .announcement-feed-panel,body:has(.notifications-hero) .push-optin-panel{border-radius:5px;box-shadow:none}
body:has(.notifications-hero) .notification-tabs{justify-content:flex-start;overflow-x:auto;max-width:100%}
body:has(.notifications-hero) .notification-tabs>*{flex:0 0 auto}
.ce-wrap{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto;padding:clamp(20px,3vw,38px) 0 80px}
.ce-hero{padding:0 0 22px;border-bottom:1px solid var(--gr-editorial-rule);border-radius:0;box-shadow:none}
.ce-card,.ce-stat,.ce-application-panel{border-radius:5px;box-shadow:none}
.ce-stats{gap:1px;background:var(--gr-editorial-rule);border:1px solid var(--gr-editorial-rule);border-radius:5px;overflow:hidden}
.ce-stat{border:0;border-radius:0}
.ce-section{padding-block:24px;border-bottom:1px solid var(--gr-editorial-rule)}

/* AE and AS editorial desks. Keep their distinct role navigation and work areas. */
.ae-shell,.as-shell{width:100%;max-width:none}
.ae-header{padding-inline:clamp(16px,3vw,36px)}
.ae-hero{border-radius:5px;box-shadow:none}
.ae-pane,.ae-card,.as-form-card,.as-lead-card{box-shadow:none}
.ae-pane{max-width:none}
.ae-grid,.as-work-grid{align-items:start}
.ae-card,.as-form-card,.as-lead-card{border-radius:5px}
.ae-public-wrap{width:min(980px,calc(100% - 32px));margin-inline:auto}
.ae-apply-panel{border-radius:5px;box-shadow:none}

/* Authors Studio: retain the drawer/sidebar and give the editorial canvas room. */
.studio-main{min-width:0}
.studio-content{width:100%;max-width:1480px;margin-inline:auto;padding-inline:clamp(16px,2.8vw,40px)}
.studio-topbar{padding-inline:clamp(14px,2.8vw,36px)}
.studio-section,.activity-section,.notices-section{border-radius:0;box-shadow:none}
.quick-actions{gap:0;border-top:1px solid var(--gr-editorial-rule)}
.quick-action{border-bottom:1px solid var(--gr-editorial-rule);border-radius:0;box-shadow:none}

/* Opportunities and campaign pages: compact editorial rows and poster-led heroes. */
.oc,.od{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.oc-hero,.od-hero,.oc-card,.od-card{box-shadow:none}
.oc-cards{gap:16px}
.oc-card,.od-card{border-radius:5px}
.od-back{margin-bottom:18px}

/* Explore and public story pages. */
.explore-page .section-inner,.story-page .section-inner{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.explore-story-grid,.explore-featured-grid,.explore-discovery-grid{gap:clamp(12px,1.8vw,24px)}
.story-hero-inner-v2{width:min(1380px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1380px}
.story-intro-grid{align-items:start}
.story-synopsis-text-v2{line-height:1.75}
.story-full-chapter-list{border-top:1px solid var(--gr-editorial-rule)}
.story-full-chapter-list>*{border-bottom:1px solid var(--gr-editorial-rule);border-radius:0;box-shadow:none}
.story-recommend-grid{gap:clamp(12px,1.8vw,22px)}

/* Reading surface: manuscript first, utility controls secondary. */
.reader-body{max-width:100%;overflow-x:clip}
.reader-top{padding-inline:clamp(12px,3vw,32px)}
.book{width:min(100%,820px);margin-inline:auto;padding-inline:clamp(18px,4vw,54px)}
.manuscript{max-width:100%;overflow-wrap:anywhere}
.reader-actions{gap:8px;flex-wrap:wrap}
.reader-action{box-shadow:none}
.comments-section{width:min(100%,900px);margin-inline:auto}

/* Library and account surfaces. */
.library-main{width:100%;max-width:1480px;margin-inline:auto;padding-inline:clamp(16px,3vw,40px)}
.library-content{width:100%;max-width:none}
.story-grid,.bookmark-story-grid{gap:clamp(12px,1.8vw,22px)}

/* Admin, manuscript workspace, story bible and creator tools. */
#adminDashboard .section-inner,.admin-dashboard .section-inner{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.adm-manager-panel,.adm-role-row{border-radius:5px;box-shadow:none}
.workspace-page,.ws-content{min-width:0;max-width:1480px;margin-inline:auto}
.workspace-main,.ws-layout{min-width:0}
.workspace-hero,.ws-hero{border-radius:5px;box-shadow:none}
.workspace-main-heading{gap:12px}
.chapter-list-editorial{border-top:1px solid var(--gr-editorial-rule)}
.chapter-row-editorial{border-bottom:1px solid var(--gr-editorial-rule);border-radius:0;box-shadow:none}
.ws-card{border-radius:5px;box-shadow:none}

/* Responsive editorial layout: natural stacking, no desktop-width grids on phones. */
@media(max-width:760px){
  .ce-wrap{width:calc(100% - 32px);padding-top:20px}
  .ce-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-content{padding-inline:16px}
  .oc,.od{width:calc(100% - 32px)}
  .explore-page .section-inner,.story-page .section-inner{width:calc(100% - 32px)}
  .story-hero-inner-v2{width:calc(100% - 32px)}
  .library-main{padding-inline:16px}
  .ae-header{padding-inline:16px}
  .ae-grid,.as-work-grid{grid-template-columns:minmax(0,1fr)}
  .ae-tabs{max-width:100%;overflow-x:auto}
  .ae-tabs>*{flex:0 0 auto}
  .story-intro-grid{grid-template-columns:minmax(0,1fr)}
  .story-detail-actions-v2{flex-wrap:wrap}
  .reader-actions{justify-content:center}
  .adm-role-row{min-width:0;overflow-wrap:anywhere}
  .ae-approved-contract-row{grid-template-columns:minmax(0,1fr)!important}
  .ae-approved-contract-row>*{grid-column:1/-1}
}
@media(max-width:480px){
  .ce-stats{grid-template-columns:minmax(0,1fr)}
  .notification-toolbar{align-items:flex-start;flex-wrap:wrap}
  .notification-toolbar>*{max-width:100%}
  .sam-message{max-width:100%}
  .sam-form-foot{align-items:flex-start;flex-direction:column}
  .sam-form-foot button{width:100%}
}

/* Opportunity detail: keep its artwork beside the editorial summary on phones. */
@media(max-width:620px){
  .od-hero{grid-template-columns:minmax(104px,34%) minmax(0,1fr);gap:13px;align-items:start;justify-items:stretch;padding:14px;text-align:left}
  .od-poster{width:100%;max-width:none;border-radius:5px}
  .od-hero h1{font-size:clamp(1.12rem,4.8vw,1.55rem);overflow-wrap:anywhere}
  .od-dates{justify-content:flex-start;gap:10px;flex-wrap:wrap}
  .od-hero .oc-btn{width:auto;max-width:100%;white-space:normal}
  .od-cta{display:flex;justify-content:flex-start;flex-wrap:wrap}
}

/* Holiday Hearts prompt cards become compact poster-and-copy rows on mobile. */
@media(max-width:760px){
  .hh-prompts{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;overflow:visible;scroll-snap-type:none;margin:0;padding:0}
  .hh-prompt{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:stretch;flex:none;width:100%;max-width:none;scroll-snap-align:none;border-radius:5px}
  .hh-prompt-poster{aspect-ratio:3/4;min-height:0}
  .hh-prompt-copy{justify-content:center;padding:12px;min-width:0}
  .hh-prompt h3{font-size:1.08rem}
}
@media(max-width:380px){.od-hero{grid-template-columns:96px minmax(0,1fr);gap:10px}.hh-prompt{grid-template-columns:88px minmax(0,1fr)}}

.rankings-method-details{margin:10px 0 18px;border-bottom:1px solid var(--gr-editorial-rule,rgba(255,255,255,.12));padding:10px 0}
.rankings-method-details>summary{cursor:pointer;color:var(--text-muted,#aaa);font-size:.84rem;list-style-position:inside}
.rankings-method-details .rankings-explainer{margin:10px 0 0;max-width:760px;color:var(--text-secondary,#aaa);font-size:.84rem;line-height:1.6}

/* Community, discovery collections and public reading identities. */
.gathering-shell{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.gathering-layout{min-width:0;gap:clamp(16px,2.5vw,32px)}
.gathering-content{min-width:0}
.gathering-content :is(.community-card,.community-post,.community-topic){box-shadow:none;border-radius:5px}
.gr-profile-wrap{width:min(1320px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1320px;margin-inline:auto}
.gr-profile-card,.gr-panel{box-shadow:none;border-radius:5px}
.gr-section{padding-block:clamp(18px,2.5vw,30px)}
.gr-story-grid{gap:clamp(12px,1.8vw,22px)}
.gr-people-list{width:100%;max-width:none}
.rlp{width:min(1200px,calc(100% - 32px));max-width:1200px;margin-inline:auto}
.collection-page .section-inner{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.collection-hero{border-radius:5px;box-shadow:none}
.collection-grid{gap:clamp(12px,1.8vw,22px)}

/* Member hub, account editing and settings. */
.mgr-page{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.mgr-hero,.mgr-panel,.mgr-card,.mgr-wallet-card{border-radius:5px;box-shadow:none}
.mgr-tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}
.mgr-tab{flex:0 0 auto;white-space:nowrap}
.mgr-stat-grid,.mgr-overview-grid,.mgr-wallet-grid{gap:1px;background:var(--gr-editorial-rule);border:1px solid var(--gr-editorial-rule);border-radius:5px;overflow:hidden}
.mgr-stat,.mgr-card,.mgr-wallet-card{border-radius:0;box-shadow:none}
.gr-edit-page .gr-profile-wrap{width:min(1320px,calc(100% - 32px))}
.gr-editor-layout{align-items:start;gap:clamp(16px,2.5vw,32px)}
.gr-editor-layout .gr-panel{border-radius:5px;box-shadow:none}
.settings-shell{width:min(1120px,calc(100% - 32px));max-width:1120px;margin-inline:auto}
.settings-card,.gr-notification-preferences,.gr-panel{border-radius:5px;box-shadow:none}
.theme-options,.font-options{gap:10px}
.theme-option,.font-option{border-radius:5px;min-width:0}
.theme-option-copy,.font-option-copy{min-width:0}

/* Author bookshelf, guided story creation and manuscript companion tools. */
.stories-page{max-width:1480px;margin-inline:auto}
.stories-library,.story-library-grid{min-width:0}
.story-library-grid{gap:clamp(12px,1.8vw,22px)}
.shell:has(.classification-paper),.shell:has(.discovery-paper){max-width:1480px}
.create-story .paper,.classification-paper,.discovery-paper,.audience-paper,.context-paper,.cover-paper{border-radius:5px;box-shadow:none}
.ws-content{width:100%;padding-inline:clamp(16px,2.8vw,40px)}
.ws-layout{gap:clamp(14px,2vw,24px)}
.ws-card,.ws-companion-card{border-radius:5px;box-shadow:none}
.ws-entry-list>*{border-radius:0;box-shadow:none}
.resources-page{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.resource-article,.resources-featured{border-radius:5px;box-shadow:none}

/* Moderation and dedicated search pages. */
body:has(.mod-hero) .section-inner{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.mod-report-list{gap:1px;border-top:1px solid var(--gr-editorial-rule)}
.mod-report-list>*{border-radius:0;box-shadow:none;border-bottom:1px solid var(--gr-editorial-rule)}
.gr-search-main{width:min(1480px,calc(100% - 2*var(--gr-editorial-gutter)));max-width:1480px;margin-inline:auto}
.gr-search-results-list{gap:clamp(12px,1.8vw,22px)}

@media(max-width:760px){
  .gathering-shell,.gr-profile-wrap,.collection-page .section-inner,.mgr-page,.resources-page,.gr-search-main{width:calc(100% - 32px)}
  .gathering-layout{grid-template-columns:minmax(0,1fr)}
  .gathering-sidebar{width:100%;max-width:none}
  .gr-editor-layout{grid-template-columns:minmax(0,1fr)}
  .mgr-stat-grid,.mgr-overview-grid,.mgr-wallet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mgr-panel{min-width:0;overflow-wrap:anywhere}
  .mgr-tabs{margin-inline:-2px}
  .settings-shell{width:calc(100% - 32px)}
  .theme-options,.font-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ws-layout{grid-template-columns:minmax(0,1fr)}
  .stories-page{width:100%;padding-inline:16px}
  .resources-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px){
  .mgr-stat-grid,.mgr-overview-grid,.mgr-wallet-grid{grid-template-columns:minmax(0,1fr)}
  .theme-options,.font-options{grid-template-columns:minmax(0,1fr)}
  .gr-actions{flex-wrap:wrap}
}

/* Story Workspace mobile repair: compact metadata, controls and workroom links. */
.workspace-page,.workspace-hero,.workspace-main,.workspace-doors,.chapter-list-editorial,.chapter-row-editorial{min-width:0;max-width:100%;box-sizing:border-box}
.workspace-meta{min-width:0;gap:7px 12px;line-height:1.5;letter-spacing:.08em}
.workspace-meta span{min-width:0;max-width:100%;overflow-wrap:anywhere}
.chapter-row-editorial{width:100%;gap:8px}
.chapter-main-link{min-width:0;max-width:100%;overflow-wrap:anywhere}
.chapter-number,.chapter-info,.chapter-info strong,.chapter-info small{min-width:0;overflow-wrap:anywhere}
.chapter-info small{line-height:1.45}
.chapter-reorder{min-width:0;flex:0 0 auto}
.chapter-move{width:32px;height:32px;min-width:32px}
.workspace-door-link{min-width:0;max-width:100%;overflow-wrap:anywhere}
.bulk-import-panel,.bulk-import-preview,.bulk-import-methods,.google-docs-import,.google-docs-controls{min-width:0;max-width:100%;box-sizing:border-box}
.bulk-import-preview>*{min-width:0;max-width:100%;overflow-wrap:anywhere}

@media(max-width:650px){
  .workspace-page{padding-top:18px}
  .workspace-back{margin-bottom:18px}
  .workspace-hero{grid-template-columns:112px minmax(0,1fr);gap:15px;padding-bottom:24px;align-items:start}
  .workspace-cover{width:112px;max-height:168px;min-width:0}
  .workspace-title{max-width:none;min-width:0;align-self:start}
  .workspace-title h1{font-size:clamp(1.55rem,6vw,2.05rem);line-height:1.05;overflow-wrap:anywhere;margin:5px 0 9px}
  .workspace-description{font-size:11px;line-height:1.55;overflow-wrap:anywhere}
  .workspace-meta{font-size:7px;gap:4px 8px;margin-top:12px}
  .workspace-meta span:not(:last-child)::after{display:none}
  .workspace-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin-top:14px}
  .workspace-actions .button{min-height:38px;width:100%;padding-inline:8px}
  .workspace-main{padding:30px 0}
  .workspace-main-heading{gap:14px;margin-bottom:18px}
  .workspace-main-heading h2,.workspace-doors h2{font-size:clamp(1.5rem,6vw,1.9rem)}
  .workspace-main-heading p:not(.eyebrow){font-size:11px;line-height:1.55}
  .workspace-main-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}
  .workspace-main-actions .button{width:100%;padding-inline:8px;white-space:normal}
  .chapter-row-editorial{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:13px 0}
  .chapter-main-link{grid-template-columns:minmax(0,1fr);gap:5px}
  .chapter-main-link .chapter-number,.chapter-main-link .chapter-info{grid-column:1}
  .chapter-main-link .chapter-info strong{font-size:15px;line-height:1.35}
  .chapter-main-link .chapter-info small{font-size:8px;white-space:normal}
  .chapter-status{display:none!important}
  .chapter-reorder{flex-direction:column;gap:4px;padding:0}
  .chapter-move{width:29px;height:29px;min-width:29px;font-size:14px}
  .workspace-doors{padding:30px 0}
  .door-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}
  .door-grid a.workspace-door-link{min-height:132px;padding:13px;overflow-wrap:anywhere}
  .door-grid a.workspace-door-link strong{font-size:17px;line-height:1.2;margin-top:24px}
  .door-grid a.workspace-door-link small{font-size:8px;line-height:1.4;max-width:100%}
  .door-grid a.workspace-door-link::after{right:12px;bottom:10px;font-size:14px}
  .bulk-import-heading,.google-docs-import-head{align-items:flex-start;gap:10px;flex-wrap:wrap}
  .google-docs-controls>div{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .bulk-import-methods{grid-template-columns:minmax(0,1fr)}
  .bulk-import-footer{align-items:stretch;flex-direction:column;gap:10px}
  .bulk-import-footer .button{width:100%}
}
@media(max-width:370px){
  .workspace-hero{grid-template-columns:96px minmax(0,1fr);gap:12px}
  .workspace-cover{width:96px;max-height:144px}
  .door-grid a.workspace-door-link{padding:11px;min-height:124px}
  .door-grid a.workspace-door-link strong{font-size:15px}
}

/* Holiday Hearts is the live Opportunities detail: poster left, copy and actions right. */
@media(max-width:860px){
  .hh-hero{grid-template-columns:minmax(104px,31%) minmax(0,1fr);gap:14px;align-items:start;justify-items:stretch;padding:14px;border-radius:10px;text-align:left}
  .hh-hero-poster{width:100%;max-width:none;aspect-ratio:4/5;border-radius:5px;align-self:start}
  .hh-hero-copy{min-width:0;max-width:none}
  .hh-hero h1{font-size:clamp(1.35rem,5.5vw,2.1rem);line-height:1.04;overflow-wrap:anywhere}
  .hh-lead{margin:8px 0 12px;font-size:.82rem;line-height:1.5}
  .hh-hero-actions{justify-content:flex-start;gap:7px;margin-bottom:12px}
  .hh-hero-actions .oc-btn{width:100%;min-height:38px;padding:8px 10px;font-size:.78rem;white-space:normal}
  .hh-facts{justify-content:flex-start;gap:5px 10px;font-size:.68rem;line-height:1.4}
}
@media(max-width:370px){.hh-hero{grid-template-columns:92px minmax(0,1fr);gap:10px;padding:11px}.hh-hero h1{font-size:1.28rem}.hh-lead{font-size:.76rem}}

/* Story details: compact metadata, contained section rules and resilient chapter rows. */
.story-intro-section,.story-taxonomy-section-v2,.story-chapters-section-v2{min-width:0;overflow:clip}
.story-intro-grid,.story-at-a-glance,.story-quick-facts-v2{min-width:0;max-width:100%}
.story-at-a-glance{border-left:0!important;padding:18px 0 0!important;border-top:1px solid var(--gr-editorial-rule)}
.story-quick-facts-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}
.story-quick-facts-v2>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--gr-editorial-rule);min-width:0}
.story-quick-facts-v2>div span{font-size:.78rem;line-height:1.35;min-width:0}
.story-quick-facts-v2>div strong{font-size:.82rem;line-height:1.35;min-width:0;overflow-wrap:anywhere;text-align:right}
.story-taxonomy-section-v2{border-top:0!important;border-bottom:0!important}
.story-taxonomy-section-v2>.section-inner{border-top:1px solid var(--gr-editorial-rule);border-bottom:1px solid var(--gr-editorial-rule);padding-block:28px}
.story-chapters-section-v2{border-top:0!important}
.story-latest-chapters{width:100%;max-width:100%;min-width:0}
.story-latest-chapter{grid-template-columns:64px minmax(0,1fr) 18px;gap:12px;min-width:0;box-sizing:border-box}
.story-latest-chapter>*{min-width:0}
.story-chapter-number-v2{white-space:nowrap;overflow-wrap:normal;word-break:normal;line-height:1.25}
.story-chapter-title-v2{display:block;min-width:0;overflow-wrap:anywhere;line-height:1.4}
.story-chapter-meta-v2{overflow-wrap:anywhere;line-height:1.4}
.story-full-chapter-list{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;padding:4px clamp(12px,2.5vw,20px)}
.story-full-chapter-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(58px,auto);gap:12px;align-items:center;width:100%;min-width:0;box-sizing:border-box;padding:14px 0}
.story-full-chapter-row>*{min-width:0}
.story-full-chapter-row .story-chapter-number-v2{white-space:nowrap;word-break:normal;overflow-wrap:normal}
.story-full-chapter-row>a{display:block;min-width:0;max-width:100%;line-height:1.45;overflow-wrap:anywhere;word-break:normal;text-decoration:none}
.story-full-chapter-row>small{display:block;white-space:nowrap;text-align:right;font-size:.78rem;line-height:1.35;overflow-wrap:normal;word-break:normal}
.story-view-all-btn{max-width:100%;margin-top:16px}
.story-taxonomy-section-v2 .section-inner,.story-chapters-section-v2 .section-inner{min-width:0}

/* Creator finance pages: real working width and compact editorial rhythm. */
.ce-wrap{width:min(1240px,calc(100% - 40px));margin:22px auto 96px;padding:0;box-sizing:border-box}
.ce-hero{padding:26px 0 22px!important;border:0!important;border-bottom:1px solid var(--gr-editorial-rule)!important;border-radius:0!important;background:none!important;box-shadow:none!important}
.ce-hero h1{font-size:clamp(28px,4vw,40px);margin-bottom:8px}
.ce-hero p:not(.ce-eyebrow){max-width:760px;font-size:13px;line-height:1.6}
.ce-notice{margin:14px 0;padding:11px 14px;border-radius:6px}
.ce-section{margin-top:22px!important;padding:0 0 22px;border-bottom:1px solid var(--gr-editorial-rule)}
.ce-heading{margin-bottom:11px!important;align-items:flex-end}
.ce-heading h2{font-size:clamp(21px,2.6vw,26px);margin-bottom:4px}
.ce-heading p:not(.ce-eyebrow){font-size:12px;line-height:1.5}
.ce-list{gap:8px}
.ce-item,.ce-contract-card,.ce-card,.ce-disclaimer{border-radius:7px!important;box-shadow:none!important}
.ce-item,.ce-contract-card{padding:14px 16px!important}
.ce-contract-card{gap:12px!important}
.ce-contract-details{gap:8px!important}
.ce-contract-details>div{padding:10px 12px!important;border-radius:5px!important}
.ce-stats{gap:1px!important;margin-top:14px!important;border-radius:7px!important}
.ce-stat{padding:14px 16px!important;gap:5px!important}
.ce-stat strong{font-size:24px!important}
.ce-disclaimer{margin-top:16px!important;padding:15px 17px!important}
.ce-form{gap:11px!important}
.ce-form-section{padding:17px!important;gap:11px!important}
.ce-application-panel{margin-top:20px!important}
@media(max-width:760px){
 .story-quick-facts-v2{grid-template-columns:minmax(0,1fr)}
 .story-quick-facts-v2>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px 0}
 .story-latest-chapter{grid-template-columns:64px minmax(0,1fr) 16px;gap:9px;padding:15px 0}
 .story-chapter-number-v2{font-size:.75rem;letter-spacing:0}
 .story-chapter-title-v2{font-size:.94rem}
 .story-full-chapter-list{padding-inline:12px}
 .story-full-chapter-row{grid-template-columns:34px minmax(0,1fr) 54px;gap:8px;padding:13px 0}
 .story-full-chapter-row>small{font-size:.7rem}
 .ce-wrap{width:calc(100% - 32px);margin:14px auto 90px}
 .ce-hero{padding:12px 0 18px!important}
 .ce-section{margin-top:18px!important;padding-bottom:18px}
 .ce-heading{margin-bottom:9px!important}
 .ce-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .ce-stat{padding:11px 9px!important}
 .ce-stat strong{font-size:20px!important}
 .ce-stat span,.ce-stat small{font-size:10px!important;line-height:1.35}
 .ce-item,.ce-contract-card{padding:12px!important}
 .ce-actions{gap:7px}
 .ce-actions .ce-btn{min-height:38px;padding:8px 11px}
}
@media(max-width:390px){
 .story-full-chapter-row{grid-template-columns:30px minmax(0,1fr) 48px;gap:6px}
 .story-full-chapter-row>small{font-size:.66rem}
 .story-latest-chapter{grid-template-columns:60px minmax(0,1fr) 14px;gap:7px}
 .ce-stats{grid-template-columns:minmax(0,1fr)!important}
}

/* Holiday Hearts mobile readability and prompt-card containment. */
.hh-prompts{min-width:0;overflow:visible}
.hh-prompt{min-width:0;overflow:hidden}
.hh-prompt-copy{min-width:0;overflow-wrap:anywhere}
.hh-prompt-copy>*{max-width:100%;min-width:0}
.hh-prompt h3,.hh-prompt p{overflow-wrap:anywhere}
.hh-prize{border-radius:7px;gap:clamp(14px,3vw,28px);padding:clamp(14px,2.5vw,24px)}
.hh-prize-row{border-radius:6px;padding:10px 12px}
.hh-prize-row strong{color:#fff!important;line-height:1.4}
.hh-prize-row span:not(.hh-prize-tag){color:#d2c6da!important;line-height:1.5}
.hh-prize-tag{color:#e6c58e!important}
.he-note,.he-count,.he-field small,.he-import,.he-import strong{color:#d4c8dc}
.he-count{font-size:.82rem;line-height:1.5}
@media(max-width:760px){
 .hh-prompts{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin:0!important;padding:0!important}
 .hh-prompt{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;align-items:stretch!important;width:100%!important;max-width:none!important;flex:none!important;scroll-snap-align:none!important}
 .hh-prompt-poster{width:100%;height:100%;min-height:120px;aspect-ratio:auto;overflow:hidden}
 .hh-prompt-poster img{width:100%;height:100%;object-fit:cover}
 .hh-prompt-copy{padding:11px!important;justify-content:center;gap:6px!important}
 .hh-prompt-copy .oc-btn{max-width:100%;white-space:normal;line-height:1.3}
 .hh-prize{grid-template-columns:minmax(0,1fr)!important;justify-items:stretch!important;gap:14px!important}
 .hh-prize-poster{width:min(54%,220px)!important;justify-self:center}
 .hh-prize-row{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
}

/* Story metadata is a compact fact grid, not a tall settings table. */
.story-quick-facts-v2{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0 14px!important}
.story-quick-facts-v2>div{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center!important;gap:4px!important;padding:12px 8px!important;border-bottom:1px solid var(--gr-editorial-rule)!important;min-height:58px}
.story-quick-facts-v2>div span{font-size:.7rem!important;letter-spacing:.025em;color:var(--gr-editorial-muted)!important}
.story-quick-facts-v2>div strong{text-align:left!important;font-size:.86rem!important;color:var(--text-primary,#eee5f5)!important;overflow-wrap:anywhere}
@media(max-width:760px){.story-quick-facts-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 10px!important}.story-quick-facts-v2>div{padding:11px 5px!important;min-height:54px}}
