.ro-request-notifications{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:4px;width:60px;min-height:42px;padding:7px;border:1px solid #e8bd50;border-radius:12px;color:#ffe395!important;background:linear-gradient(#164983,#071c42);text-decoration:none!important;box-sizing:border-box}
.ro-request-icons{display:flex;align-items:center;gap:3px}.ro-request-icons svg{display:block;flex:none}.ro-request-count{position:absolute;top:-8px;right:-6px;min-width:20px;padding:2px 5px;border-radius:20px;background:#ffe395;color:#071c42;font:700 12px/16px system-ui;text-align:center;border:1px solid #071c42}.ro-request-count[hidden]{display:none!important}.ro-request-notifications:focus-visible{outline:3px solid white;outline-offset:3px}
.lounge-header:has(.ro-request-notifications),header.top:has(.ro-request-notifications){gap:10px}.lounge-header:has(.ro-request-notifications) .lounge-brand,header.top:has(.ro-request-notifications) .brand{min-width:0;flex:1 1 auto}.lounge-header:has(.ro-request-notifications) h1,header.top:has(.ro-request-notifications) .lounge-server-title{overflow-wrap:anywhere}
@media(max-width:480px){.ro-request-notifications{width:52px;min-height:38px;padding:5px}.ro-request-icons svg{width:18px;height:18px}.lounge-header:has(.ro-request-notifications),header.top:has(.ro-request-notifications){gap:8px!important}.lounge-header:has(.ro-request-notifications) .lounge-brand img,header.top:has(.ro-request-notifications) .brand img{width:44px!important;height:44px!important;flex-basis:44px!important}.lounge-header:has(.ro-request-notifications) h1,header.top:has(.ro-request-notifications) .lounge-server-title{font-size:24px!important}.lounge-header:has(.ro-request-notifications) .lounge-menu summary,header.top:has(.ro-request-notifications) .lounge-menu summary{min-width:38px!important;width:38px!important;height:38px!important;padding:3px!important;font-size:25px!important}.lounge-header:has(.ro-request-notifications) .lounge-menu,header.top:has(.ro-request-notifications) .lounge-menu{flex:0 0 auto}}

.arena-sound-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 20px}.arena-sound-row .arena-sound-toggle{margin:0!important}.arena-sound-row .ro-request-notifications{min-height:36px;width:58px;padding:5px}.arena-sound-row .ro-request-icons svg{width:18px;height:18px}

.arena-sound-row .ro-request-notifications{width:36px}.arena-sound-row .ro-request-icons svg{width:22px;height:22px}

.arena-sound-row{align-items:flex-start}.arena-sound-row .arena-sound-toggle{flex-direction:column!important;gap:4px!important}.arena-sound-row .arena-trumpet{height:36px}.arena-sound-setting{display:inline-flex;align-items:center;gap:8px}

.arena-sound-row .arena-sound-toggle{flex-direction:row!important;align-items:flex-end!important;gap:8px!important}.arena-sound-row .arena-trumpet{height:67px}.arena-sound-row #arenaSound{margin-bottom:4px!important}.arena-sound-row .ro-request-notifications{margin-top:16px}

.arena-notification-row{display:flex;align-items:center;margin:14px 0}.arena-notification-row .ro-request-notifications{width:38px;min-height:38px}.arena-notification-row .ro-request-icons svg{width:22px;height:22px}

#friendsBadge svg{display:inline-block;vertical-align:middle;margin:0 3px 2px 0;color:#ffe395}#friendsBadge{white-space:normal}

#friendsBadge .friends-request-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;vertical-align:middle;margin:0 12px 2px 8px}


/* Keep decorative corners inside reserved space, clear of panel controls. */
body .panel::after,body .auth::after,body .weekly-card::after,body .achievement-panel::after,body .flash::after,body .deck::after,body #courseDeckList .lounge-topic-group::before{inset:7px!important;background-size:14px 14px,14px 14px!important;pointer-events:none!important}
body .panel,body .auth,body .weekly-card,body .achievement-panel,body .flash,body .deck,body #courseDeckList .lounge-topic-group{padding-top:28px!important;padding-bottom:28px!important}

body [data-ro-install-panel]{box-sizing:border-box;max-width:100%;min-width:0;overflow-wrap:anywhere}
body [data-ro-install-panel] [data-ro-install]{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center;padding:12px 16px}
body [data-ro-install-panel] h3,body [data-ro-install-panel] p{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}

/* Selected mockup 1: realistic gold floral frame, original topic SVG inside. */
body #courseDeckList .lounge-topic-group .topic-group-first .topic-header-icon{width:88px;height:88px;min-width:88px;padding:30px;border:0!important;border-radius:0!important;box-shadow:none!important;background-color:transparent!important;background-image:url(/topic-laurel-wreath-no-ring-v3.png),radial-gradient(circle closest-side at 50% 50%,hsl(var(--topic-hue) 85% 58%) 0%,hsl(var(--topic-hue) 80% 28%) 76%,#061832 90%,transparent 91%)!important;background-size:100% 100%!important;background-repeat:no-repeat!important}
@media(max-width:380px){body #courseDeckList .lounge-topic-group .topic-group-first .topic-header-icon{width:72px;height:72px;min-width:72px;padding:24px}}
body #courseDeckList .lounge-topic-group .topic-group-first>.locked-deck:disabled .topic-header-icon{filter:grayscale(1);opacity:.7}

/* Equal edge columns keep every page title centered in the whole header. */
header.ro-centered-header{display:grid!important;grid-template-columns:58px minmax(0,1fr) 58px!important;align-items:center!important;column-gap:12px!important}
header.ro-centered-header>.brand,header.ro-centered-header>.lounge-brand{grid-column:1;grid-row:1;display:flex!important;align-items:center;justify-content:flex-start;min-width:0!important;width:58px;flex:none!important;margin:0!important;padding:0!important}
header.ro-centered-header>.brand img,header.ro-centered-header>.lounge-brand img{width:58px!important;height:58px!important;max-width:100%;object-fit:contain;flex:none!important;margin:0!important}
header.ro-centered-header>.ro-page-title{grid-column:2;grid-row:1;min-width:0!important;max-width:100%;margin:0!important;padding:0!important;display:block!important;text-align:center!important;font-family:var(--ro-heading-font,Georgia,"Times New Roman",serif);font-weight:700;font-size:clamp(22px,5.6vw,31px)!important;line-height:1.15!important;color:#f5cc63;letter-spacing:-.5px;text-shadow:none!important;overflow-wrap:anywhere;text-wrap:balance}
header.ro-centered-header>.lounge-menu{grid-column:3;grid-row:1;justify-self:end;align-self:center;margin:0!important;flex:none!important}
@media(max-width:420px){header.ro-centered-header{grid-template-columns:44px minmax(0,1fr) 44px!important;column-gap:8px!important}header.ro-centered-header>.brand,header.ro-centered-header>.lounge-brand{width:44px}header.ro-centered-header>.brand img,header.ro-centered-header>.lounge-brand img{width:44px!important;height:44px!important}}

/* Selected Celestial Courses/Topics and Academy manuscript Study Lounge. */
header.ro-centered-header[style*="header-courses"]{background-image:url(/header-courses-celestial-v1.png)!important;background-size:cover!important;background-position:center!important}
header.ro-centered-header[style*="header-topics"]{background-image:url(/header-topics-celestial-v1.png)!important;background-size:cover!important;background-position:center!important}
header.ro-centered-header.lounge-study-header{background-image:url(/header-study-academy-v1.png)!important;background-size:cover!important;background-position:center!important}

/* Compact topic medallions: 64px gold frame, unchanged 28px center icon. */
body #courseDeckList .lounge-topic-group .topic-group-first .topic-header-icon{box-sizing:border-box!important;width:64px!important;height:64px!important;min-width:64px!important;padding:18px!important;flex-shrink:0!important}
body #courseDeckList .lounge-topic-group{padding-top:20px!important;padding-bottom:20px!important}
body #courseDeckList .lounge-topic-group .topic-group-first{margin-top:8px!important}
body #courseDeckList .lounge-topic-group .topic-group-first>button:first-child{padding:8px 10px!important;gap:10px!important}

/* Apply selected artwork to the header overlay as well as its base. */
header.ro-centered-header[style*="header-courses"]{--header-art:url(/header-courses-celestial-v1.png)!important}
header.ro-centered-header[style*="header-topics"]{--header-art:url(/header-topics-celestial-v1.png)!important}
header.ro-centered-header.lounge-study-header{--header-art:url(/header-study-academy-v1.png)!important}

header.ro-centered-header.lounge-study-header::before{background-image:linear-gradient(90deg,#071c42 0%,#071c42bf 20%,#071c4240 55%,#071c4210 85%),url(/header-study-academy-v1.png)!important}

/* Approved full-width artwork, matching single-line titles, and compact bow. */
header.ro-centered-header:not(.ro-welcome-header){background-image:var(--header-art)!important;background-size:cover!important;background-position:center!important;column-gap:16px!important;padding-left:18px!important;padding-right:18px!important}
header.ro-centered-header:not(.ro-welcome-header)::before{display:none!important}
header.ro-centered-header[style*="header-achievements"]{--header-art:url(/header-achievements-celestial-20261010.png)!important}
header.ro-centered-header[style*="header-leaderboard"]{--header-art:url(/header-leaderboard-celestial-20261010.png)!important}
body:has(main.arena-wrap) header.ro-centered-header{--header-art:url(/arena-header-20261009.jpg)!important}
header.ro-centered-header:not(.ro-welcome-header)>.ro-page-title{position:relative;isolation:isolate;justify-self:center;width:max-content!important;max-width:100%!important;box-sizing:border-box;white-space:nowrap!important;overflow-wrap:normal!important;text-wrap:nowrap!important;font-size:clamp(16px,4.4vw,30px)!important;line-height:1.15!important;padding:10px 18px!important;border:2px solid #d8b351;border-radius:12px;background-image:linear-gradient(#fff5ba 0%,#fff0a2 16%,#edc45e 37%,#b98219 51%,#ffe89b 65%,#e8b943 83%,#a56c12 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;box-shadow:0 2px 0 #332407,0 0 12px #e2bd543d}
header.ro-centered-header:not(.ro-welcome-header)>.ro-page-title::before{content:"";position:absolute;inset:0;z-index:-1;background:#071c42eb;border-radius:10px;pointer-events:none}
@media(max-width:420px){header.ro-centered-header:not(.ro-welcome-header){column-gap:12px!important;padding-left:12px!important;padding-right:12px!important}header.ro-centered-header:not(.ro-welcome-header)>.ro-page-title{padding:9px 12px!important}}
.ro-learning-card .ro-learning-bow{display:block;width:64px;height:64px;object-fit:contain;margin:18px auto 0;position:relative;z-index:1}
.current-topic-panel::after{background-position:left bottom,right bottom!important}
.ro-learning-card::after{background-image:none!important}
.ro-learning-card .learning-count{margin-right:.35em}
.ro-learning-card #learningMilestone{display:none!important}
.lounge-menu nav .ro-menu-share{display:flex;align-items:center;gap:9px;width:100%;box-sizing:border-box;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:inherit!important;padding:10px 12px!important;font:inherit!important;text-align:left;cursor:pointer;margin:0!important}
.lounge-menu nav .ro-menu-share:hover{background:#ffffff12!important}
.lounge-menu nav .ro-menu-share svg{width:18px;height:18px;flex:none}

header.ro-centered-header:not(.ro-welcome-header)>.ro-page-title{background:#071c42eb!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;-webkit-text-fill-color:#ffe59a!important;color:#ffe59a!important}
header.ro-centered-header:not(.ro-welcome-header)>.ro-page-title::before{display:none!important}
header.ro-centered-header:not(.ro-welcome-header) .ro-title-ink{background:linear-gradient(#fff5ba,#fff0a2 16%,#edc45e 37%,#b98219 51%,#ffe89b 65%,#e8b943 83%,#a56c12)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#ffe59a}

.lounge-menu nav .ro-menu-share{color:#fff0c0!important;-webkit-text-fill-color:#fff0c0!important;opacity:1!important}

/* Hamburger keeps its gold border without the raised gold shadow. */
header.ro-centered-header .lounge-menu summary{box-shadow:0 2px 4px rgba(0,0,0,.38)!important}

footer.ro-profile-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}footer.ro-profile-footer .ro-profile-footer-share{display:inline-flex;align-items:center;gap:7px;background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;font:inherit!important;padding:8px 0!important;margin:0!important;width:auto!important;cursor:pointer}.ro-profile-footer-share:focus-visible{outline:2px solid #d8b351;outline-offset:3px}

/* Consistent menu lettering and More-page icon emphasis. */
.lounge-menu nav a,.lounge-menu nav button,.ro-more-options>a,.ro-more-options>button,.ro-more-options summary{text-transform:uppercase!important}.ro-more-icon{font-size:22px;font-weight:800}.ro-more-icon svg{width:22px;height:22px;stroke-width:2.4}

/* Return-to-Study-Lounge controls share the More pane appearance. */
.ro-study-return{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;width:auto!important;min-height:22px!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#f5cc63!important;-webkit-text-fill-color:#f5cc63!important;text-shadow:none!important;text-transform:none!important;font:inherit!important;padding:0!important;margin:0!important}.ro-study-return svg{width:22px;height:22px;flex:none;stroke-width:2.4}.ro-study-return-divider{display:block!important;width:100%;border:0!important;height:1px!important;background:linear-gradient(90deg,#d8b351,rgba(216,179,81,.18))!important;margin:16px 0 20px!important}.row:has(>.ro-study-return){display:block!important}.ro-study-return:focus-visible{outline:2px solid #d8b351;outline-offset:4px}

/* Shared information-page artwork and uniform title lettering. */
header.ro-centered-header[data-ro-more-header]{--header-art:url(/header-more-celestial-v1.png)!important;background-image:url(/header-more-celestial-v1.png)!important;background-size:cover!important;background-position:center!important}
header.ro-centered-header:not(.ro-welcome-header)>.ro-page-title{font-family:Georgia,"Times New Roman",serif!important;font-weight:700!important}
/* Compact advertising spacing keeps the sponsor label and corner flourish clear. */
.panel.ro-ad-placement{padding:10px 16px!important;margin-top:12px!important;margin-bottom:12px!important}
.ro-ad-placement>a,.ro-ad-placement>a>img{display:block}
.ro-ad-placement>.muted{margin-top:4px!important;line-height:1.3}
#coursesScreen>.panel:not(.ro-ad-placement)>h2:first-child{margin-top:0!important;margin-bottom:16px!important}

/* Balance image-to-panel spacing, including the Sponsor caption below. */
.panel.ro-ad-placement{padding:28px 16px 10px!important}

/* Keep the shared footer close to the last content panel. */
body > .app{min-height:0!important;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
body > main{margin-bottom:8px!important;padding-bottom:8px!important}
footer.ro-profile-footer{margin-top:0!important}

/* Shared medallion corners on content panels; headers retain their artwork. */
body :is(.panel,.auth,.weekly-card,.achievement-panel,.flash,.deck,.arena-panel,.lounge-topic-group):not(header):not(.ro-page-title){position:relative}
body :is(.panel,.auth,.weekly-card,.achievement-panel,.flash,.deck,.arena-panel,.lounge-topic-group):not(header):not(.ro-page-title)::after{content:""!important;display:block!important;position:absolute!important;inset:7px!important;background-image:url(/medallion-corner.svg),url(/medallion-corner.svg)!important;background-position:left top,right bottom!important;background-size:14px 14px,14px 14px!important;background-repeat:no-repeat!important;pointer-events:none!important}
body #courseDeckList .lounge-topic-group::before{content:none!important}
body .arena-panel{padding-top:28px!important;padding-bottom:28px!important}

/* Course artwork stays clear; decorate only the outer Courses panel. */
#coursesScreen .deck::after,#coursesScreen .deck::before{content:none!important;display:none!important;background-image:none!important}

/* Consistent uppercase page header titles. */
header .ro-page-title{text-transform:uppercase!important}

/* Match all back-to-Study Lounge labels to the uppercase navigation format. */
.ro-study-return,.ro-more-back{text-transform:uppercase!important}

/* Restore a standalone framed panel behind the Topics course banner. */
#spanishCourseScreen .lounge-spanish-banner{box-sizing:border-box!important;width:100%!important;background:linear-gradient(145deg,#0d2e58,#061a36)!important;border:2px solid #d8b351!important;border-radius:22px!important;box-shadow:0 4px 0 #94742b,0 0 0 3px #dbc77a77,0 8px 18px #0002!important;padding:28px 16px!important;margin:10px 0 20px!important;overflow:hidden}
#spanishCourseScreen .lounge-spanish-banner>img{display:block;width:100%;height:auto;border-radius:12px}
#spanishCourseScreen .lounge-topics-panel::after{content:none!important;display:none!important}

#spanishCourseScreen .lounge-spanish-banner{height:auto!important;min-height:0!important;aspect-ratio:auto!important;display:block!important}
#spanishCourseScreen .lounge-spanish-banner>img{position:static!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;object-fit:contain!important}

#spanishCourseScreen .lounge-spanish-banner>img{aspect-ratio:4.45/1!important;object-fit:cover!important;object-position:center!important}

/* One shared vertical rhythm for content panels and their sub-panels. */
:root{--ro-panel-gap:16px}
body :is(.panel,.deck,.flash,.arena-panel,.weekly-card,.achievement-panel,.lounge-topic-group,.profile-public-name){margin-top:var(--ro-panel-gap)!important;margin-bottom:var(--ro-panel-gap)!important}
body main.lounge-profile>.auth>:is(section,form,.ro-learning-card,.push-profile){margin-top:var(--ro-panel-gap)!important;margin-bottom:var(--ro-panel-gap)!important}
body #helpFeedbackPage .panel,body #feedbackPage .panel,body #aboutScreen .panel,body #coursesScreen .deck,body #courseDeckList .lounge-topic-group,body #spanishCourseScreen .lounge-spanish-banner{margin-top:var(--ro-panel-gap)!important;margin-bottom:var(--ro-panel-gap)!important}
body #spanishCourseScreen>.lounge-topics-panel{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}

/* One clear topic action: a bold gold arrow on the current or next topic. */
#courseDeckList #beginDeckRow>button:first-child::after,#courseDeckList .topic-group-row[aria-current="step"]>button:first-child::after{content:"➜"!important;color:#f5cc63!important;-webkit-text-fill-color:#f5cc63!important;font-weight:900!important;font-size:26px!important;text-shadow:0 1px 2px #0005!important;opacity:1!important}

#courseDeckList #beginDeckRow>button:only-child{flex:1 1 0!important;width:100%!important;position:relative!important;padding-right:44px!important;font-size:inherit!important}
#courseDeckList #beginDeckRow>button:first-child::after,#courseDeckList .topic-group-row[aria-current="step"]>button:first-child::after{display:block!important;position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;line-height:1!important}

/* Public leaderboard visibility: native checkbox with a clear state icon below its label. */
.profile-public-visibility>span:first-child{display:block}
.profile-public-visibility .profile-visibility-toggle{display:block;position:relative;width:44px;height:44px;margin:10px 0 0}
.profile-public-visibility .profile-visibility-toggle>input{position:absolute!important;inset:0!important;opacity:0!important;display:block!important;width:44px!important;height:44px!important;min-height:0!important;margin:0!important;padding:0!important;z-index:2;cursor:pointer}
.profile-public-visibility .profile-visibility-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;box-sizing:border-box;border:1px solid #d8b351;border-radius:10px;background:#0a2850;pointer-events:none}
.profile-public-visibility .profile-visibility-icon::before{content:"✕";color:#ff7777;font-size:28px;font-weight:900;line-height:1}
.profile-public-visibility input:checked~.profile-visibility-icon::before{content:"✓";color:#58e49d}
.profile-public-visibility input:focus-visible~.profile-visibility-icon{outline:2px solid #fff0b8;outline-offset:3px}

/* Compact public visibility control beside the profile form controls. */
.profile-public-visibility .profile-visibility-toggle{width:32px;height:32px}
.profile-public-visibility .profile-visibility-toggle>input{width:32px!important;height:32px!important}
.profile-public-visibility .profile-visibility-icon{width:32px;height:32px;border-radius:8px}
.profile-public-visibility .profile-visibility-icon::before{font-size:22px}

/* Shared uppercase panel headings and removal of redundant Study Lounge back links. */
body :is(.panel,.auth,.arena-panel,.weekly-card,.achievement-panel,.ro-learning-card,.profile-public-name) :is(h1,h2,h3,h4){text-transform:uppercase!important}
.ro-study-return,.ro-more-back,.ro-study-return-divider,.ro-more-divider{display:none!important}
.ro-more-panel-title{margin:0 0 12px;color:#ffe395}

.ro-more-panel-title{color:#fff3d0!important;-webkit-text-fill-color:#fff3d0!important}

.arena-welcome{margin:0;padding:16px 16px 8px;text-align:center;color:#fff3d0;font-family:var(--ro-heading-font);font-size:21px;overflow-wrap:anywhere}.arena-welcome span{display:inline-block;text-transform:none}

/* Theme-wide panel title treatment, matching Courses. */
:root{--ro-panel-title-color:#fff3d0}
body :is(.panel,.auth,.arena-panel,.weekly-card,.achievement-panel,.ro-learning-card,.profile-public-name) :is(h1,h2,h3,h4){color:var(--ro-panel-title-color)!important;-webkit-text-fill-color:var(--ro-panel-title-color)!important;font-family:var(--ro-heading-font)!important;text-transform:uppercase!important}
body main.lounge-profile .panel.profile-details::before{content:none!important;display:none!important}
.arena-welcome-panel .arena-welcome{padding:0}

/* Study Lounge footer treatment shared across every page. */
body footer.ro-profile-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;font:16px/24px Arial,Helvetica,sans-serif!important;color:#10264d!important;-webkit-text-fill-color:#10264d!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:46px!important;text-align:left!important}body footer.ro-profile-footer>span{margin:0!important}body footer.ro-profile-footer .ro-profile-footer-share{min-height:46px!important;font:inherit!important;color:inherit!important;-webkit-text-fill-color:inherit!important}body footer.ro-profile-footer svg{width:16px;height:16px;flex:none}

/* Keep the approved ring-free wreath visible on both available and locked topics. */
body #courseDeckList .lounge-topic-group .topic-group-first > button:first-child .topic-header-icon,
body #courseDeckList .lounge-topic-group .topic-group-first > button:first-child.locked-deck .topic-header-icon {
 background-color:transparent!important;
 background-image:url(/topic-laurel-wreath-no-ring-v3.png),radial-gradient(circle closest-side at 50% 50%,hsl(var(--topic-hue) 85% 58%) 0%,hsl(var(--topic-hue) 80% 28%) 76%,#061832 90%,transparent 91%)!important;
 background-size:100% 100%!important;
 background-repeat:no-repeat!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}

/* Highlight Arena in the hamburger navigation. */
.lounge-menu nav a[href="/arena.php"]{color:#ffe395!important;-webkit-text-fill-color:#ffe395!important}
