/* Approved interface frame; the existing page content stays in place. */
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}
.brand-mark:after{display:none}
.brand-approved-wordmark{display:block;width:220px;height:55px;object-fit:contain}
.brand-type{display:none!important}
.mobile-profile-toggle{display:none}
.app-shell{background:#24120f url('/beta/assets/brand/rose-candles-20261027.png') center top/cover no-repeat fixed}
.ambient{display:none}
.topbar{background:#270c0e;border-bottom:1px solid #a98043}
.hero-copy h1{color:#fff;text-shadow:0 2px 7px #3b1a14,0 0 2px #3b1a14}
.hero-copy h1 em{font-family:Allura,cursive;font-weight:400;color:#f6d489;text-shadow:0 2px 6px #3b1a14}
@media(max-width:800px){
 .topbar{height:72px;padding:0 12px;gap:8px}
 .brand{min-width:0;flex:1;gap:6px}
 .brand-mark{width:38px;height:38px;flex:0 0 38px}
 .brand-approved-wordmark{width:100%;max-width:220px;min-width:0;height:52px;object-fit:contain}
 .member-pill{display:none!important}
 .menu-button{display:grid!important;flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid #826033;background:#160b0bd9}
 .mobile-profile-toggle{display:grid;place-items:center;width:100%;height:100%}
 .desktop-menu-toggle{display:none}
 .treat-pocket,.notification-button{border-color:#826033}
 .hero-copy h1{font-family:Georgia,'Times New Roman',serif}
}
@media(max-width:360px){.topbar{padding:0 8px;gap:4px}.brand{gap:3px}.brand-mark{width:32px;height:32px;flex-basis:32px}.menu-button{width:38px;height:38px;flex-basis:38px}}
/* Notification window uses the approved dark cherry and gold treatment. */
.notification-panel{background:#210909!important;border:1px solid #a98247!important;border-radius:16px!important;box-shadow:0 18px 48px #0008!important;color:#f9eedc!important}
.notification-panel>header{border-bottom:1px solid #70462d;padding:15px 17px}
.notification-panel>header strong{font-family:Georgia,serif;color:#fff2dd;font-size:21px;font-weight:400}
.notification-panel>header button{color:#dfb96e}
.notification-list>button{border-bottom:1px solid #663727!important;color:#f9eedc!important}
.notification-list>button>span{border:1px solid #825242;border-radius:50%;color:#f1d79d}
.notification-list>button strong{font-family:Georgia,serif;color:#fff1de;font-weight:400}
.notification-list>button small{color:#bca69c}
@media(max-width:800px){.notification-panel{max-width:calc(100vw - 24px)!important;right:0!important}}
.composer-card{background:#270c0e;border:1px solid #a98043;border-radius:18px;color:#fff2df}
.composer-card h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#fff2df}
.announcement-picture{display:grid;gap:9px;margin:16px 0;color:#fff2df}
.announcement-picture input{max-width:100%;color:#f1d8a8}
.announcement-picture img{width:92px;max-height:120px;object-fit:cover;border:1px solid #a98043;border-radius:8px}
.notification-list .notification-thumbnail{width:58px;height:72px;object-fit:cover;border-radius:6px;border:1px solid #a98043}
.notification-rm-badge{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}
.update-detail-image{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:10px;margin:0 0 16px}
.author-update-controls{display:flex;gap:8px;margin:12px 0}.author-update-controls button{border:1px solid #9c7840;background:#270c0e;color:#f4d99b;border-radius:999px;padding:9px 15px}
/* Keep the floral art sized to the viewport, rather than stretching it over a long page. */
.app-shell{isolation:isolate;background:#270c0e!important}
.app-shell::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:#270c0e url('/beta/assets/brand/rose-candles-20261027.png') center center/cover no-repeat}
/* Solid panels retain legibility over the brighter floral background. */
.notification-panel,.composer-card,.studio-side,.studio-backup-bar,.new-story-card,.chapter-uploader-card,.tier-card,.amazon-card{background:#270c0e!important;border-color:#a98043!important;color:#fff2df}
.top-actions>.icon-button{color:#eac36d!important;border-color:#826033}
.top-actions>.icon-button svg{stroke:currentColor}
/* Consistent cherry panels over the bright floral site background. */
.rosie-world-card,.mood-card,.update-card,.free-invite-card,.tier-card,.amazon-card,.standalone-card,
.red-room-entry-card,.red-room-composer,.red-room-post,.red-room-side>section,.room-card,
.composer-card,.studio-side,.studio-backup-bar,.new-story-card,.chapter-uploader-card,
.notification-panel,.notification-email-setting,.notification-empty{
 background:#270c0e!important;border-color:#a98043!important;color:#fff4e4
}
.rosie-world-card h2,.rosie-world-card h3,.mood-card h3,.update-card h3,.free-invite-card h2,
.tier-card h3,.amazon-card h3,.red-room-entry-card h2,.red-room-post strong,.room-card strong,
.studio-page h2,.studio-page h3,.notification-panel strong{color:#fff4e4}
.rosie-world-card p,.mood-card p,.update-card p,.free-invite-card p,.tier-card p,.tier-card li,
.amazon-card p,.red-room-entry-card p,.red-room-post p,.room-card small,.studio-page p,
.studio-page small,.notification-panel p,.notification-panel small{color:#e2cfc3}
/* Homepage story cards retain their original desktop rendering. */
.mood-legacy{display:contents}.mood-reference{display:none}
@media(max-width:800px){
 .mood-grid{grid-template-columns:1fr}
 .mood-card{min-height:0!important;padding:14px!important;border:1px solid #cba45f!important;border-radius:16px!important;background:#270c0e!important}
 .mood-legacy{display:none!important}
 .mood-reference{display:grid;grid-template-columns:minmax(96px,43%) minmax(0,1fr);gap:15px;align-items:center}
 .mood-reference>img{position:static!important;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border:1px solid #9f7e4b;border-radius:8px}
 .mood-reference-copy{display:flex;flex-direction:column;gap:8px;min-width:0;color:#e8d4c5;font:13px/1.4 Georgia,serif}
 .mood-reference-copy>small{font:8px/1.3 system-ui;letter-spacing:.14em;text-transform:uppercase;color:#e5c278}
 .mood-reference-copy>strong{font:400 clamp(19px,5vw,28px)/1.04 Georgia,serif;color:#f4d18b}
 .mood-reference-divider{color:#d6ae62;text-align:center;border-bottom:1px solid #82613c}
 .mood-reference-tags{display:flex;gap:4px;flex-wrap:wrap}.mood-reference-tags i{font:8px/1.2 system-ui;font-style:normal;color:#e5c278;border:1px solid #82613c;border-radius:99px;padding:4px 6px}
 .mood-reference-copy>b{align-self:flex-start;padding:9px 11px;border:1px solid #d5b46d;border-radius:99px;color:#f3da9b;font:11px/1.2 Georgia,serif}
 .hero-copy h1{background:radial-gradient(ellipse,#4b201bcf 0%,#4b201b8c 58%,transparent 88%);padding:12px 8px;color:#fff!important}
 .hero-copy h1 em{color:#ffd776!important;-webkit-text-fill-color:#ffd776!important;text-shadow:0 2px 4px #38120f,0 0 1px #38120f!important;font-weight:600}
 .top-actions>.icon-button svg{stroke:#efc66e!important}.treat-pocket{color:#efc66e!important}
}
@media(min-width:801px){.mood-legacy>img{object-fit:cover;width:100%;height:100%;transition:transform .45s,filter .35s;position:absolute;inset:0}.mood-card:hover .mood-legacy>img{filter:saturate(1.15);transform:scale(1.055)}}
/* Distinct cherry-brown color blotch and dimensional gold heading. */
.hero-copy h1{position:relative;isolation:isolate;background:none!important}
.hero-copy h1:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:8% -3% 4%;background:#49211a;border-radius:43% 56% 48% 52% / 50% 42% 58% 47%;transform:rotate(-2deg);box-shadow:0 0 18px 8px #49211a55}
.hero-copy h1 em{display:inline-block;background:linear-gradient(180deg,#fff1bc 0%,#ffe590 18%,#d9a849 37%,#fff1ac 52%,#ad721e 72%,#f7d67a 88%,#a36b1a 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#eac572!important;text-shadow:none!important;filter:drop-shadow(0 2px 1px #5a2c0a) drop-shadow(0 4px 4px #291009aa)}
@media(forced-colors:active){.hero-copy h1 em{background:none!important;-webkit-text-fill-color:currentColor!important;filter:none!important}}

/* Approved greeting and deep rose treatment at every screen size. */
.hero-copy h1{position:relative;isolation:isolate;background:none!important;font-family:"Bodoni Moda",Didot,"Times New Roman",serif!important;font-weight:400!important;letter-spacing:-.065em!important;color:#fff!important;text-shadow:0 2px 5px #30130dbb!important}
.hero-copy h1>span{display:inline-block;transform:scaleX(.82);transform-origin:center;white-space:nowrap;font-weight:400!important;letter-spacing:-.025em!important}
.hero-copy h1:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:8% -3% 4%;background:radial-gradient(circle closest-side at center,rgba(55,25,20,.90) 0%,rgba(67,31,24,.76) 35%,rgba(67,31,24,.38) 66%,transparent 100%);border-radius:0;transform:none;box-shadow:none}
.hero-copy h1 em{font-family:Italianno,Allura,cursive!important;font-weight:400!important;font-style:normal!important;letter-spacing:-.035em!important;line-height:.68!important;display:block;margin:0 auto!important;font-size:1.12em!important;background:linear-gradient(180deg,#fff1bc 0%,#ffe590 18%,#d9a849 37%,#fff1ac 52%,#ad721e 72%,#f7d67a 88%,#a36b1a 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#eac572!important;text-shadow:none!important;filter:drop-shadow(0 1px 1px #5a2c0a88)}
.hero-copy h1 em>span{display:block;white-space:nowrap;line-height:.68!important;letter-spacing:-.025em!important;-webkit-text-stroke:.6px #170908;paint-order:stroke fill}
@media(max-width:390px){.hero-copy h1 em{font-size:1em!important}}
.notification-panel,.rosie-world-card,.mood-card,.update-card,.tier-card,.amazon-card,.studio-side,.new-story-card,.chapter-uploader-card,.composer-card{background:#26070b!important;color:#fff5e8!important;border-color:#ac8748!important}
.notification-panel{border-radius:5px!important}
.notification-panel>header button{border:0!important;background:transparent!important;border-radius:0!important;color:#d6ad69!important;font:400 14px Georgia,serif!important;white-space:nowrap}
@media(forced-colors:active){.hero-copy h1 em{background:none!important;-webkit-text-fill-color:currentColor!important;filter:none!important}}

/* Age check: retain the real two-stage consent flow. */
.age-gate-shell{background:#080405!important;min-height:100vh}.age-gate-glow{display:none!important}.age-gate-card{background:#350810!important;border-color:#997139!important}.age-gate-seal{background:transparent!important;overflow:visible!important}.age-gate-seal img{width:100%;height:100%;display:block;object-fit:contain;border-radius:50%}.age-gate-seal small{z-index:2}

/* Keep failed-image browser icons out of the public homepage while retrying. */
.hero-cover[data-cover-unavailable]:after,.mood-card[data-cover-unavailable]:after{content:attr(data-cover-title);position:absolute;inset:22% 10% 25%;display:flex;align-items:center;justify-content:center;text-align:center;color:#f0d28c;font:400 clamp(18px,2vw,28px)/1.25 Georgia,serif;pointer-events:none;z-index:2}

/* Member library: preserve cover-above-copy layout, match approved brown/gold cards. */
#member-story-grid>.book-card{background:#26070b;border:1px solid #ac8748;border-radius:18px;overflow:hidden;color:#f4d18b}
#member-story-grid>.book-card>.book-cover{border:0;border-bottom:1px solid #82613c;border-radius:17px 17px 0 0}
#member-story-grid>.book-card>.book-info{background:#26070b;padding:18px 16px 16px;color:#ead4a8}
#member-story-grid .book-info h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#f4d18b}
#member-story-grid .book-info p{font-family:Georgia,'Times New Roman',serif;color:#ead4a8}
#member-story-grid .book-info .status-row,#member-story-grid .book-info .status-row span{color:#e5c278}
#member-story-grid .book-info .tag-row span{color:#e5c278;border-color:#82613c;background:#26070b}
#member-story-grid .book-info .book-card-actions>button{color:#f3da9b;border:1px solid #a98247;background:#26070b}

/* Reading guide overlay follows existing lines without changing the artwork. */
.reading-order-connections{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.room-consolidated .room-unlock-explainer{display:block;color:#f4d18b;font-size:12px;line-height:1.5;margin:8px 0 14px}

/* Approved companion selection invitations — all viewport sizes. */

.room-consolidated .room-companion-rail button{height:auto}
/* Approved Studio reader activity: desktop artwork and portrait artwork on phones. */

.rh-studio-activity{margin:0 0 36px;color:#f5e8dc;font:15px/1.5 var(--body,system-ui,sans-serif)}
.rh-studio-activity>h2{font:400 36px/1.15 Georgia,serif;color:#f5e8dc;margin:8px 0 12px}
.rh-studio-activity>p{color:#cdb9ac;margin:0 0 25px}
.rh-activity-tabs{display:flex;gap:10px;align-items:stretch}
.rh-activity-tabs>button{background:#1c080b;color:#cdb9ac;border:1px solid #785332;border-radius:12px 12px 0 0;padding:17px 22px;font:inherit}
.rh-activity-tabs>button[aria-selected=true]{background:#350c12;color:#f2d28e;border-bottom-color:#350c12}
.rh-activity-count{display:inline-flex;background:#6b222b;color:#ffe3a4;border-radius:20px;padding:1px 8px;font:12px/1.5 system-ui;margin-left:8px}
.rh-activity-panel{background:#26070bf5;border:1px solid #98723e;border-radius:0 12px 12px 12px;overflow:hidden;box-shadow:0 20px 60px #0005}
.rh-activity-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 24px;border-bottom:1px solid #6e452c}
.rh-activity-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.rh-activity-filters select{max-width:260px;background:#19080a;color:#ebcf99;border:1px solid #80603a;border-radius:6px;padding:9px 12px;font:inherit}
.rh-activity-filters label{display:flex;gap:6px;align-items:center;color:#dfc69b;font-size:12px}
.rh-activity-filters input{accent-color:#d1a55e}
.rh-activity-toolbar button,.rh-activity-footer button{background:none;border:0;color:#e6c47f;padding:8px;font:13px var(--body,system-ui)}
.rh-activity-row{padding:24px;border-bottom:1px solid #69402c;display:grid;grid-template-columns:42px minmax(0,1fr);gap:15px}
.rh-activity-avatar{background:#42151a;color:#ecc986;border:1px solid #94713d;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;font:18px Georgia}
.rh-activity-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rh-activity-meta strong{font-weight:550}.rh-activity-meta time{font-size:12px;color:#bba391}
.rh-unread-dot{height:6px;width:6px;border-radius:50%;background:#f0c875}
.rh-activity-location{font-size:12px;color:#d6ae69;margin-top:5px}
.rh-activity-quote{font:18px/1.55 Georgia,serif;margin:12px 0;color:#f4e7da;white-space:pre-wrap;overflow-wrap:anywhere}
.rh-activity-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.rh-activity-actions button{background:none;border:0;padding:3px 0;color:#dfc080;font:12px var(--body,system-ui)}
.rh-activity-actions button.rh-remove{color:#e7aaa4}
.rh-report-reason{padding:10px 12px;background:#46161d;border-left:2px solid #c69b58;font-size:12px;color:#e8c7b2;margin:10px 0}
.rh-report-reason p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.rh-activity-footer{padding:16px 24px;color:#b59e8b;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rh-activity-footer>div{display:flex;align-items:center;gap:12px}
.rh-activity-status,.rh-activity-error{padding:18px 24px;color:#d9c3ad}.rh-activity-error{color:#ffd1c9}
.rh-studio-activity button:disabled{opacity:.45;cursor:default}
.rh-studio-activity button:focus-visible,.rh-studio-activity select:focus-visible{outline:2px solid #f2d28e;outline-offset:3px}
.rh-activity-dialog{position:fixed;inset:0;margin:auto;max-width:700px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;border:1px solid #b08a50;border-radius:12px;background:#26070b;color:#f5e8dc;padding:24px;z-index:200}
.rh-activity-dialog::backdrop{background:#000b}
.rh-activity-dialog>header{display:flex;justify-content:space-between;gap:20px;align-items:center}.rh-activity-dialog h3{font:26px Georgia;color:#edcf91}
.rh-activity-dialog button{background:#471019;color:#f4d695;border:1px solid #9b743d;padding:9px 15px;border-radius:6px}
.rh-context-messages article{padding:14px;border-bottom:1px solid #69402c}.rh-context-messages p{white-space:pre-wrap;overflow-wrap:anywhere;color:#f4e7da;font:17px/1.5 Georgia}
.rh-context-selected{outline:1px solid #c9a35d;background:#401219}.rh-context-messages blockquote{border-left:2px solid #c9a35d;padding:12px;color:#dbc299;white-space:pre-wrap}
.rh-activity-dialog form{display:grid;gap:12px;margin-top:20px}.rh-activity-dialog label{display:grid;gap:8px}.rh-activity-dialog textarea{width:100%;color:#f6e9d8;background:#180609;border:1px solid #8d693d;padding:12px}
.rh-studio-nav-count{font-size:10px;color:#eac17e;white-space:nowrap}
.rh-companion-bookmark-locked{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;width:100%;min-height:280px;border:1px solid #ae884c;border-radius:18px;background:#26070b;color:#f3d591;padding:36px;text-align:center}
.rh-companion-bookmark-locked strong{font:400 clamp(24px,4vw,40px)/1.2 Georgia}.rh-companion-bookmark-locked span{color:#e9d8c0}.rh-companion-bookmark-locked small{color:#c6ad91}
@media(max-width:800px){.rh-studio-activity>h2{font-size:29px}.rh-activity-tabs>button{padding:13px 11px;font-size:13px}.rh-activity-toolbar{padding:16px;align-items:flex-start;flex-direction:column}.rh-activity-row{padding:20px 16px;grid-template-columns:32px minmax(0,1fr);gap:12px}.rh-activity-avatar{width:32px;height:32px;font-size:15px}.rh-activity-quote{font-size:17px}.rh-activity-filters select{max-width:100%}.rh-activity-dialog{padding:16px}.rh-companion-bookmark-locked{min-height:340px;padding:24px}.rh-studio-nav-count{white-space:normal}}

.reading-order-poster{position:relative}.reading-order-poster>.rh-universe-connections{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;padding:0!important;background:none!important;pointer-events:none}.rh-universe-connections>svg{display:block;width:100%;height:100%}
.reading-order-poster>.rh-universe-connections{display:block!important;border:0!important;border-radius:0!important;letter-spacing:normal!important}


/* Scoped reader bug fixes; no game or candy-rule changes. */
.reader-body{scroll-behavior:auto;overflow-anchor:none}
.room-consolidated .room-feed-button .rh-feed-candy{display:inline-block;width:30px;height:30px;object-fit:contain;flex-shrink:0;vertical-align:middle}

.rh-chapter-access-control{display:grid!important;gap:8px;align-content:start}.rh-chapter-access-control select{width:100%;max-width:100%;background:#18080b;color:#f0d49c;border:1px solid #987040;border-radius:8px;padding:11px;font:inherit}.rh-chapter-access-control small{color:#d1bca7;font-size:12px;line-height:1.5}


/* Artwork only: locked bookmark banner and permanent My Rosie development card. */
.rh-companion-bookmark-locked{overflow:hidden;}
.rh-companion-bookmark-locked .rh-coming-soon-banner{display:block;width:100%;max-width:760px;height:auto;max-height:none;object-fit:contain;border-radius:12px;border:1px solid #b18a45;margin:0 auto 16px;}
.my-rosie-room .rh-game-development-card{display:block;width:min(100%,290px);margin:26px 0 0 auto;border:1px solid #b18a45;border-radius:13px;overflow:hidden;background:#280b0d;text-align:center;box-shadow:0 6px 18px #0004;}
.my-rosie-room .rh-game-development-card img{display:block;width:100%;height:auto;object-fit:contain;}
.my-rosie-room .rh-game-development-card strong{display:block;margin:13px 10px 6px;color:#f1ce78;font:600 12px/1.4 Georgia,serif;letter-spacing:.08em;}
.my-rosie-room .rh-game-development-card strong::before{content:"●";color:#efbb4f;margin-right:7px;}
.my-rosie-room .rh-game-development-card p{margin:0 12px 14px;color:#f2e7db;font:400 14px/1.5 Georgia,serif;letter-spacing:0;}
@media(max-width:700px){.my-rosie-room .rh-game-development-card{width:min(100%,320px);}.rh-companion-bookmark-locked .rh-coming-soon-banner{border-radius:9px;}}

/* Visitor, Admirer and Free Member promotional artwork; eligibility unchanged. */
.library-showpiece.is-guest .rh-game-promo-banner{display:block;width:100%;padding:0 0 20px;border:1px solid #b18a45;border-radius:16px;overflow:hidden;background:#280b0d;color:#f1ce78;text-align:center;cursor:pointer;}
.library-showpiece.is-guest .rh-game-promo-banner img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;}
.rh-game-promo-banner strong{display:block;margin:16px 16px 7px;font:600 clamp(22px,4vw,30px)/1.3 var(--display,Georgia,serif);}
.rh-game-promo-banner span{display:block;margin:0 16px;color:#f2e7db;font:400 14px/1.5 var(--body,Arial,sans-serif);}
.rosie-locked-card .locked-rosie-preview{padding:0;overflow:hidden;position:relative;min-height:0;}
.rosie-locked-card .locked-rosie-preview .rh-locked-game-art{display:block;position:static;width:100%;height:auto;max-height:none;object-fit:contain;transform:none;opacity:1;filter:none;}
.rosie-locked-card .locked-rosie-preview>span{position:relative;display:flex;justify-content:center;gap:8px;padding:12px;inset:auto;background:#280b0d;color:#f1ce78;}

/* Approved full-panel coming-soon banner, desktop and phone. */
.my-rosie-room .room-obsession-console .rh-game-development-card{width:100%;max-width:none;margin:26px auto 0;box-sizing:border-box;}
.my-rosie-room .room-obsession-console .rh-game-development-card img{width:100%;height:auto;object-fit:contain;}

/* Larger invitation artwork for locked-room audiences only. */
.rosie-locked-page .rosie-locked-card{width:min(1500px,100%);max-width:1500px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(24px,3vw,48px);padding:clamp(22px,3vw,48px);align-items:center;box-sizing:border-box;}
.rosie-locked-page .rosie-locked-card .locked-rosie-preview{width:100%;max-width:none;min-width:0;align-self:center;margin:0;}
.rosie-locked-page .rosie-locked-card .rh-locked-game-art{width:100%;height:auto;max-width:none;}
.rosie-locked-page .rosie-locked-card>div{min-width:0;}
.rosie-locked-page .rosie-locked-card h1{font-size:clamp(34px,4vw,62px);line-height:1.08;}
@media(max-width:850px){.rosie-locked-page .rosie-locked-card{grid-template-columns:minmax(0,1fr);padding:22px;gap:26px;}.rosie-locked-page .rosie-locked-card h1{font-size:clamp(32px,7vw,48px);}}

/* Notification destination: highlight the exact conversation item. */
.rh-notification-highlight{outline:2px solid #edc66d;outline-offset:4px;box-shadow:0 0 18px #d5a03b35;scroll-margin:100px;}

/* Candy caption sits higher and stays readable within its dark label area. */
.my-rosie-room.room-consolidated .room-jar-caption{top:70%;left:16%;right:16%;gap:5px;padding:8px 6px;box-sizing:border-box;background:#100707ed;border:1px solid #ad843c;border-radius:8px;}
.my-rosie-room.room-consolidated .room-jar-caption strong{font:700 clamp(17px,1.45vw,23px)/1.2 Georgia,serif;color:#ffe89c;white-space:normal;}
.my-rosie-room.room-consolidated .room-jar-caption small{font:400 clamp(11px,.8vw,13px)/1.35 var(--body,Arial,sans-serif);color:#fff2de;white-space:normal;}

/* Explicit reset notice and strong dark backing for count/countdown. */
.my-rosie-room.room-consolidated .room-jar-caption{background:#100505;border:2px solid #d3ad55;box-shadow:0 4px 14px #000b;}
.my-rosie-room.room-consolidated .room-jar-caption strong{font-weight:800;text-shadow:0 2px 2px #000;}
.my-rosie-room.room-consolidated .room-jar-details{left:0;right:0;top:99%;padding:12px 14px;border:1px solid #b28a42;border-radius:10px;background:#100505;color:#fff3d9;box-shadow:0 4px 14px #000b;box-sizing:border-box;font-size:13px;line-height:1.5;gap:8px;}
.my-rosie-room.room-consolidated .room-jar-details time{display:block;color:#ffe18a;font-weight:800;font-size:14px;line-height:1.5;}

.my-rosie-room.room-consolidated .room-candy-jar{margin-bottom:110px;}

.rh-announcement-conversation{margin-top:24px;padding-top:20px;border-top:1px solid #a27b3f;}
.rh-announcement-comments{max-height:330px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:8px 12px;background:#170809;border:1px solid #76542b;border-radius:12px;}
.rh-announcement-comments article{display:flex;align-items:flex-start;gap:12px;min-height:90px;padding:12px 0;border-bottom:1px solid #76542b66;box-sizing:border-box;}
.rh-announcement-comments article>div{min-width:0;flex:1;}.rh-announcement-comments article p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:14px;}
.rh-announcement-comment-input{margin-top:16px;display:grid;gap:10px;}.rh-announcement-comment-input label{display:grid;gap:8px;}.rh-announcement-comment-input textarea{width:100%;box-sizing:border-box;}
.rh-red-room-image-upload{margin:12px 0;padding:14px;border:1px solid #a27b3f;border-radius:12px;background:#240c0f;}.rh-red-room-image-upload label{display:grid;gap:8px;color:#f0d082;}.rh-red-room-image-upload img{display:block;width:auto;max-width:100%;max-height:240px;object-fit:contain;margin-top:10px;border-radius:8px;}
.rh-red-post-image{display:block;max-width:100%;max-height:600px;width:auto;height:auto;object-fit:contain;border-radius:12px;margin:12px auto;}.rh-update-locked{padding:18px;border:1px solid #a27b3f;border-radius:12px;background:#240c0f;}.rh-broadcast-note{color:#f0d082;}

/* Announcement actions are discoverable before the final close button. */
.rh-announcement-conversation{margin-top:18px;padding-top:18px;}.rh-announcement-comment-input{margin:14px 0 18px;}.rh-update-close-bottom{margin-top:20px;}
/* Studio stays compact: ten records per page, scroll only inside the list. */
.rh-studio-activity .rh-activity-scroll{max-height:min(70vh,760px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px 10px 8px 4px;}
.rh-studio-activity .rh-activity-scroll .rh-activity-quote{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.5;max-height:4.5em;}
.rh-studio-activity .rh-activity-footer{position:relative;margin-top:12px;}
@media(max-width:700px){.rh-studio-activity .rh-activity-scroll{max-height:60vh;padding-right:5px;}.rh-studio-activity .rh-activity-footer{gap:12px;flex-wrap:wrap;}}

.rh-membership-badge{display:inline-flex;align-items:center;vertical-align:middle;margin:3px 6px;padding:3px 8px;border:1px solid #b68d4c88;border-radius:999px;font:700 10px/1.3 system-ui,sans-serif;letter-spacing:.04em;color:#f1d49e;background:#211018;white-space:nowrap}.rh-membership-free-member{color:#e3d8cb}.rh-membership-admirer{color:#ffd3e1;border-color:#b87c94}.rh-membership-curious{color:#dccdff;border-color:#9174b7}.rh-membership-devoted{color:#ffb8cc;border-color:#c96989}.rh-membership-obsessed,.rh-membership-owner,.rh-membership-editor{color:#ffe09a;border-color:#d3ac5a;background:#3d1021}

/* Refined featured membership: match the reader house's existing rose-and-gold styling. */
.tier-card.tier-obsessed.featured{position:relative;isolation:isolate;border:1px solid #e4bd72!important;background:linear-gradient(125deg,#310a16,#1e060c 65%)!important;box-shadow:inset 0 0 0 4px #260810,inset 0 0 0 5px #ae82474d,0 8px 24px #17030844!important;padding:32px 28px!important;overflow:visible!important;min-height:0!important}
.tier-card.tier-obsessed.featured:before,.tier-card.tier-obsessed.featured:after{position:absolute;content:'❧';font:400 25px/1 Georgia,serif;color:#d2a65f;pointer-events:none;z-index:1}
.tier-card.tier-obsessed.featured:before{left:11px;top:8px;transform:rotate(-35deg)}.tier-card.tier-obsessed.featured:after{right:11px;bottom:8px;transform:rotate(145deg)}
.tier-card.tier-obsessed.featured .popular-flag{position:absolute!important;top:-22px!important;right:24px!important;left:auto!important;bottom:auto!important;width:auto!important;min-height:0!important;transform:none!important;display:block!important;padding:1px 23px 4px!important;border:1px solid #c49b58!important;border-radius:50% 50% 14px 14px / 12px 12px 14px 14px!important;background:#300b18!important;color:#ffe1a0!important;box-shadow:0 2px 7px #17030755!important;font-family:'Allura','Italianno','Brush Script MT',cursive!important;font-size:38px!important;font-weight:400!important;line-height:1.1!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap;z-index:3}
.tier-card.tier-obsessed.featured .popular-flag:before,.tier-card.tier-obsessed.featured .popular-flag:after{content:none!important}
.tier-card.tier-obsessed.featured .tier-copy h3{font-size:clamp(25px,2.05vw,34px)!important;font-weight:400!important;line-height:1.2!important;letter-spacing:-.025em!important;white-space:nowrap!important;color:#fff0d5!important;text-shadow:none!important;margin-bottom:9px}
.tier-card.tier-obsessed.featured .tier-copy{min-width:0}.tier-card.tier-obsessed.featured .tier-proof{display:none!important}
.tier-card.tier-obsessed.featured .tier-actions button{min-height:46px!important;padding:11px 19px!important;border:1px solid #d6ad65!important;border-radius:99px!important;background:linear-gradient(125deg,#8f102e,#650d29)!important;color:#ffe5b6!important;font-family:var(--body,Arial,sans-serif)!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important;box-shadow:inset 0 1px 0 #e7b67922!important;white-space:nowrap}
.tier-card.tier-obsessed.featured .tier-actions button:hover{background:linear-gradient(125deg,#ad193e,#7d1232)!important;border-color:#ffe1a0!important}
@media(max-width:800px){.tier-card.tier-obsessed.featured{margin-top:18px;padding:36px 22px 24px!important}.tier-card.tier-obsessed.featured .popular-flag{font-size:35px!important;right:20px!important;top:-20px!important}.tier-card.tier-obsessed.featured .tier-copy h3{font-size:30px!important}}
@media(max-width:380px){.tier-card.tier-obsessed.featured .tier-copy h3{font-size:26px!important}}

.rh-approved-room-live{width:100%;min-width:0}.rh-approved-room-live>.room-treat-ribbon{margin-top:20px}.rh-approved-room-live>.room-account-line{margin-top:20px}.library-companion-system>iframe{width:100%;max-width:none}
