body{background:linear-gradient(180deg,color-mix(in srgb,var(--rf-primary) 4%,var(--rf-bg)) 0,var(--rf-bg) 520px)!important}
.site-header{background:color-mix(in srgb,var(--rf-bg) 94%,black)!important;backdrop-filter:none!important}
.panel,.stat-card,.auth-card,.library-card,.shop-card,.friend-card,.reader-result,.profile-library-card{background-color:var(--rf-surface)!important;backdrop-filter:none!important}
.account-popover,.site-search-dock form,.admin-tabs,.settings-nav,.settings-save{background:color-mix(in srgb,var(--rf-surface) 94%,black)!important;backdrop-filter:none!important}
.site-nav>a:hover,.site-nav>a.active,.account-trigger,.mobile-coin-balance,.nav-coin-balance{background-color:color-mix(in srgb,var(--rf-surface) 86%,white)!important}
.review-modal .modal-scrim{background:#050710!important;backdrop-filter:none!important}.review-dialog{background:var(--rf-surface)!important}
.readerflow-web-modal-9f3a{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(3,4,9,.9)}
.readerflow-web-dialog-9f3a{width:min(500px,100%);display:grid;gap:12px;border:1px solid color-mix(in srgb,var(--rf-primary) 52%,white);border-radius:6px 20px;padding:26px;color:var(--rf-text);background:var(--rf-surface);box-shadow:10px 10px 0 color-mix(in srgb,var(--rf-primary) 23%,transparent),0 28px 75px rgba(0,0,0,.62)}
.readerflow-web-dialog-9f3a,.review-dialog,dialog,.rf-profile-window-dialog{border-color:color-mix(in srgb,var(--modal-frame-accent) 58%,white)!important}
.rf-web-responsive-frame{--rf-modal-frame-outset:clamp(24px,5vw,46px);position:relative!important;isolation:isolate!important;overflow:visible!important;background-image:none!important}
.rf-web-responsive-frame>.rf-web-responsive-frame-layer{position:absolute!important;display:block!important;max-width:none!important;pointer-events:none!important;background:none!important;filter:drop-shadow(0 0 9px color-mix(in srgb,var(--modal-frame-accent) 32%,transparent))}
.rf-web-responsive-frame>:not(.rf-web-responsive-frame-layer){position:relative;z-index:3}
.rf-web-legacy-frame>.rf-web-frame-inside{z-index:1!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:.42!important}
.rf-web-legacy-frame>.rf-web-frame-top,.rf-web-legacy-frame>.rf-web-frame-bottom{z-index:5!important;left:calc(-1 * var(--rf-modal-frame-outset))!important;width:calc(100% + 2 * var(--rf-modal-frame-outset))!important;height:calc(var(--rf-modal-frame-outset) + 3px)!important;object-fit:fill!important;opacity:1!important}
.rf-web-legacy-frame>.rf-web-frame-top{top:calc(-1 * var(--rf-modal-frame-outset))!important}.rf-web-legacy-frame>.rf-web-frame-bottom{top:auto!important;bottom:calc(-1 * var(--rf-modal-frame-outset))!important}
.rf-web-legacy-frame>.rf-web-frame-left,.rf-web-legacy-frame>.rf-web-frame-right{z-index:5!important;top:calc(-1 * var(--rf-modal-frame-outset))!important;width:calc(var(--rf-modal-frame-outset) + 3px)!important;height:calc(100% + 2 * var(--rf-modal-frame-outset))!important;object-fit:fill!important;opacity:1!important}
.rf-web-legacy-frame>.rf-web-frame-left{left:calc(-1 * var(--rf-modal-frame-outset))!important}.rf-web-legacy-frame>.rf-web-frame-right{left:auto!important;right:calc(-1 * var(--rf-modal-frame-outset))!important}
.rf-profile-window-backdrop{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;padding:18px;background:#030409e8}.rf-profile-window-dialog{position:relative;width:min(1000px,96vw);height:min(760px,92vh);padding:0;overflow:hidden;border:1px solid var(--modal-frame-accent);background-color:var(--rf-bg);box-shadow:0 30px 90px #000}.rf-profile-window-dialog iframe{width:100%;height:100%;border:0}.rf-profile-window-close{position:absolute;z-index:2;top:10px;right:10px;width:38px;height:38px;border:1px solid #ffffff40;border-radius:50%;color:#fff;background:#050711dd;cursor:pointer}
.readerflow-web-dialog-9f3a>small{color:var(--rf-secondary);font-size:.62rem;font-weight:900;letter-spacing:.17em}.readerflow-web-dialog-9f3a h2{margin:0;font-size:1.55rem}.readerflow-web-dialog-9f3a p{margin:0;color:var(--rf-muted);line-height:1.65;white-space:pre-line}.readerflow-web-modal-actions-9f3a{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.readerflow-web-modal-actions-9f3a button{border:1px solid var(--rf-line);border-radius:5px 10px;padding:9px 14px;color:var(--rf-text);background:color-mix(in srgb,var(--rf-surface) 88%,white);font-weight:800;cursor:pointer}.readerflow-web-modal-actions-9f3a .readerflow-web-modal-primary-9f3a{border-color:color-mix(in srgb,var(--rf-primary) 55%,white);background:var(--rf-primary)}.readerflow-web-modal-success-9f3a .readerflow-web-dialog-9f3a{border-color:var(--rf-success)}.readerflow-web-modal-alert-9f3a .readerflow-web-dialog-9f3a{border-color:var(--rf-danger)}.readerflow-web-modal-warning-9f3a .readerflow-web-dialog-9f3a{border-color:var(--rf-warning)}
@media(max-width:560px){.readerflow-web-dialog-9f3a{padding:20px}.readerflow-web-modal-actions-9f3a{flex-direction:column-reverse}.readerflow-web-modal-actions-9f3a button{width:100%}}
.readerflow-web-modal-9f3a{background:rgba(3,4,9,.7)!important;backdrop-filter:blur(8px)}.review-modal .modal-scrim{background:rgba(5,7,16,.68)!important}.rf-profile-window-backdrop{background:rgba(3,4,9,.7)!important;backdrop-filter:blur(8px)}dialog,[role="dialog"],[role="alertdialog"],.readerflow-web-dialog-9f3a,.review-dialog,.rf-profile-window-dialog{scrollbar-width:none!important}.readerflow-web-dialog-9f3a::-webkit-scrollbar,.review-dialog::-webkit-scrollbar,.rf-profile-window-dialog::-webkit-scrollbar,dialog::-webkit-scrollbar{width:0!important;height:0!important}

/* Production baseline: keep user-selected colors without glass or decorative glow. */
body{background:var(--rf-bg)!important}
.panel,.stat-card,.auth-card,.library-card,.shop-card,.friend-card,.reader-result,.profile-library-card{border-radius:8px!important;box-shadow:0 12px 28px rgba(0,0,0,.14)!important}
.account-popover,.site-search-dock form,.admin-tabs,.settings-nav,.settings-save{backdrop-filter:none!important}
.readerflow-web-modal-9f3a,.rf-profile-window-backdrop{backdrop-filter:none!important}
.readerflow-web-dialog-9f3a,.review-dialog,.rf-profile-window-dialog{border-radius:8px!important;box-shadow:0 24px 56px rgba(0,0,0,.48)!important}
