/* RO Flash Cards — Midnight & Gold. Shared site-wide theme. */
:root{--ro-midnight:#071c42;--ro-sapphire:#075fcb;--ro-gold:#e8b844;--ro-ice:#eaf6fc;--ro-ink:#10264d;--ro-light:#f6fbff;--ro-muted:#c0d8ed;color-scheme:light}
body,html.ro-dark body{background:linear-gradient(135deg,#f2f9fd,#dcedf6)!important;color:var(--ro-ink)!important}
.panel,.auth,.weekly-card,.achievement-panel,.flash,.owner>section,.deck{background:radial-gradient(ellipse at 85% 0%,#155ba666,transparent 62%),linear-gradient(145deg,#0a2a58,#071c42)!important;color:var(--ro-light)!important;border:1px solid var(--ro-gold)!important;border-radius:22px;box-shadow:inset 0 1px 1px #fff7,0 7px 18px #12395618!important}
.panel h1,.panel h2,.panel h3,.panel h4,.auth h1,.auth h2,.weekly-card h1,.weekly-card h2,.achievement-panel h3,.achievement-panel h4,.flash .text,.panel p,.auth p,.weekly-card p,.panel strong,.panel label,.auth label,.weekly-card label{color:var(--ro-light)!important}
.panel .muted,.panel .tiny,.panel .fine,.auth .muted,.auth .fine,.weekly-status,.weekly-card small,.achievement-note,.achievement-panel small{color:var(--ro-muted)!important}
.panel a,.auth a,.weekly-card a,.achievement-panel a{color:#ffe093}
.lounge-header.lounge-study-header,.lounge-header.lounge-art-header,.top.lounge-art-header{background:linear-gradient(110deg,#061b40,#12457b)!important;border:1px solid #edc45c!important;border-radius:24px!important;box-shadow:inset 0 1px 2px #fff8,0 4px 16px #0b3b641c!important}
.lounge-header.lounge-study-header::before,.lounge-header.lounge-art-header::before,.top.lounge-art-header::before{background-image:linear-gradient(90deg,#071c42 0%,#071c42bf 20%,#071c4240 55%,#071c4210 85%),var(--header-art)!important}
.lounge-header.lounge-study-header{--header-art:url(/study-lounge-tea.png)}
.lounge-brand h1,.lounge-server-title{color:#ffe397!important;font-family:Georgia,serif;letter-spacing:-.5px;text-shadow:0 2px 2px #0008}
.lounge-menu summary{background:linear-gradient(#164983,#071c42);color:#ffe397;border:1px solid #e9c159;border-radius:12px;box-shadow:inset 0 1px 2px #fff9}
.lounge-menu nav{background:#09234b;border:1px solid #e8bc53}.lounge-menu nav a{color:#f9e6b0}.lounge-menu nav a:hover{background:#174f86}
button,.primary,.weekly-actions a,.weekly-button,.achievement-continue{background:linear-gradient(180deg,#168fe9,#034381)!important;border:1px solid #edc45c!important;color:#fff!important;border-radius:12px!important;box-shadow:inset 0 2px 3px #ffffff85,inset 0 -2px 2px #00153380,0 2px 0 #946b1b,0 4px 8px #09254b20!important;font-weight:750}
button:hover:not(:disabled),.weekly-actions a:hover{filter:brightness(1.1)}button:disabled{opacity:.5;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #29cbff!important;outline-offset:3px}
input,textarea,select{background:#f6fbff!important;color:#12294b!important;border:1px solid #b5c8d8!important;border-radius:10px}
.current-topic-panel{background:radial-gradient(ellipse at 80% 0%,#155ba680,transparent 65%),linear-gradient(145deg,#092857,#071b40)!important;border:1px solid #edc45c!important;padding:22px!important}
.current-topic-panel #currentDeckName{color:#fff!important;font-family:Georgia,serif;font-weight:750;line-height:1.15}
.current-topic-panel .topic-eyebrow{color:#ffe397!important}.current-topic-panel .study-course-name{color:#fff!important}.current-topic-panel .study-activity-label{color:#99e6ff!important}
.current-topic-panel .lounge-controls .topic-modes button,.current-topic-panel .lounge-controls .topic-nav button{border:1px solid #efc95d!important;border-radius:12px!important;box-shadow:inset 0 2px 3px #fff9,inset 0 -2px 3px #001d4090,0 2px 0 #9a732d,0 5px 9px #00122940!important;min-height:46px!important}
.current-topic-panel .lounge-controls .topic-modes button:first-child{background:linear-gradient(#1bbcdf,#006888)!important}
.current-topic-panel .lounge-controls .topic-modes button:nth-child(2){background:linear-gradient(#19c8c7,#006578)!important}
.current-topic-panel .lounge-controls .topic-modes button:last-child,.current-topic-panel .lounge-controls .topic-nav button{background:linear-gradient(#208dec,#0650a5)!important;color:#fff!important}
.ro-learning-card{background:radial-gradient(ellipse at top right,#1168a480,transparent 70%),#071c42!important}.ro-learning-card progress{accent-color:#eabd4c}.ro-learning-card progress::-webkit-progress-bar{background:#284667}.ro-learning-card progress::-webkit-progress-value{background:linear-gradient(90deg,#13a9df,#f4cd60)}.ro-learning-card .ro-milestone{color:#ffe397!important}.ro-learning-card .ro-milestone p{color:#c0d8ed!important}
.lounge-topics-panel{background:#071c42!important}.lounge-spanish-banner #coursePageTitle{color:#10264d!important}
#courseDeckList .lounge-topic-group{background:linear-gradient(145deg,hsl(var(--topic-hue) 50% 22%),#0a2347)!important;border:1px solid hsl(var(--topic-hue) 45% 62%)!important}
#courseDeckList .lounge-topic-group .topic-group-first>button:first-child{color:#f5fbff!important}
#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child{border-color:#dab955!important}
#courseDeckList .lounge-topic-group:has(.topic-group-first .locked-deck){background:#edf0f4!important;border-color:#bfc8d3!important}
#courseDeckList .lounge-topic-group .topic-group-row>button:first-child.locked-deck{background:#dfe5ec!important;color:#7b8796!important;border-color:#bac6d3!important;box-shadow:none!important}
#courseDeckList #beginDeckRow>button:first-child.locked-deck{color:#42566c!important}#courseDeckList #beginDeckRow>button:last-child{background:linear-gradient(#f5d77f,#c79529)!important;color:#10264d!important}
.weekly-hero{background:linear-gradient(135deg,#0658b5,#082346);border:1px solid #e8bc53}.weekly-note{background:#153955!important;color:#d7edf9!important;border-color:#98793c!important}.weekly-table th,.weekly-table td,.weekly-table small{color:#d8eafa}.weekly-table .mine{background:#164579}
.achievement-item,.achievement-scale,.achievement-status-info,.weekly-badge{color:#f6fbff!important}.achievement-item small{color:#bad4eb!important}.achievement-item strong{color:#fff!important}.achievement-step{color:#a7c2da!important}.achievement-step.active{color:#ffe397!important}
.ad-panel,.ro-ad-panel{background:#fff!important;color:#65748c!important}.trophy-journey-promo{background:#fff!important}
.ro-theme-details{line-height:1.7}.ro-theme-swatches{display:flex;gap:10px;flex-wrap:wrap}.ro-theme-swatch{padding:12px;border-radius:10px;border:1px solid #e8b844;color:#fff}.ro-theme-swatch.gold{background:#e8b844;color:#10264d}.ro-theme-swatch.ice{background:#eaf6fc;color:#10264d}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
#home .panel.current-topic-panel{background:radial-gradient(ellipse at 80% 0%,#155ba680,transparent 65%),linear-gradient(145deg,#092857,#071b40)!important;border-color:#edc45c!important}
.lounge-header.lounge-study-header::before{background-image:linear-gradient(90deg,#071c42 0%,#071c42bf 20%,#071c4240 55%,#071c4210 85%),url(/study-lounge-tea.png)!important}

/* Spanish Essentials course graphic shares the Midnight & Gold theme. */
.lounge-topics-panel .lounge-spanish-banner{border:1px solid #edc45c;border-radius:22px;overflow:hidden;isolation:isolate;box-shadow:inset 0 1px 2px #fff8,0 5px 14px #00183230;margin:0 0 16px;}
.lounge-topics-panel .lounge-spanish-banner>img{border-radius:21px}
.lounge-topics-panel .lounge-spanish-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071c4220,#071c4260 40%,#071c42c0);z-index:0;pointer-events:none}
.lounge-topics-panel .lounge-spanish-banner #coursePageTitle{position:relative;z-index:1;color:#ffe397!important;font-family:Georgia,serif;text-shadow:0 2px 3px #000b;text-transform:none;}
#spanishCourseScreen .lounge-topics-panel{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#spanishCourseScreen #courseDeckList{padding-top:0!important}

/* Metallic gold lettering shared by all page headers and course artwork. */
.lounge-brand h1,.lounge-server-title,.lounge-topics-panel .lounge-spanish-banner #coursePageTitle{color:#f5cc63!important;background:linear-gradient(180deg,#fff5ba 0%,#fff0a2 16%,#edc45e 37%,#b98219 51%,#ffe89b 65%,#e8b943 83%,#a56c12 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 1px 1px #001632cc);}
@media(forced-colors:active){.lounge-brand h1,.lounge-server-title,.lounge-topics-panel .lounge-spanish-banner #coursePageTitle{background:none!important;-webkit-text-fill-color:CanvasText!important;filter:none}}

/* Achievement Medallions — approved October 7, 2026, option two. */
:root{--ro-theme-name:"Achievement Medallions"}
.panel,.auth,.weekly-card,.achievement-panel,.flash,.deck,.lounge-header.lounge-art-header,.lounge-header.lounge-study-header,.top.lounge-art-header{border:2px solid #e8bd50!important;box-shadow:inset 0 0 0 2px #fff0a15c,inset 0 0 0 5px #071c42,0 4px 0 #95661c,0 8px 20px #06325128!important}
.lounge-brand img{filter:drop-shadow(0 0 5px #ffdb7b70)}
.lounge-topics-panel .lounge-spanish-banner{border:2px solid #eec55b;border-radius:24px;box-shadow:inset 0 0 0 2px #fff4b480,0 4px 0 #9c6c20,0 8px 16px #06325128;margin-bottom:22px}
#courseDeckList .lounge-topic-group{position:relative;border:2px solid #e8bd50!important;border-radius:24px;padding:16px!important;background:radial-gradient(ellipse at 40% 0%,hsl(var(--topic-hue) 65% 32% / .65),transparent 72%),linear-gradient(145deg,#061a39,#08264e)!important;box-shadow:inset 0 0 0 2px #fff0a170,inset 0 0 0 5px #071c42,0 4px 0 #926119,0 8px 16px #05345328!important}
#courseDeckList .lounge-topic-group::before{content:"";position:absolute;inset:5px;pointer-events:none;background:url(/medallion-corner.svg) left top/28px 28px no-repeat,url(/medallion-corner.svg) right bottom/28px 28px no-repeat;border-radius:20px}
#courseDeckList .lounge-topic-group .topic-group-first>button:first-child{background:transparent!important;border:0!important;box-shadow:none!important;font-family:Georgia,serif;font-size:20px;color:#ffe8a5!important;line-height:1.2;padding:4px 2px 13px!important}
#courseDeckList .lounge-topic-group .topic-group-first .topic-header-icon{width:72px;height:72px;min-width:72px;padding:21px;border:0!important;background-image:url(/medallion-frame.svg),radial-gradient(circle at 35% 22%,hsl(var(--topic-hue) 85% 69%),hsl(var(--topic-hue) 80% 33%) 60%,#061832 90%)!important;background-size:100% 100%;box-shadow:0 2px 4px #0008,0 0 10px #eac45b40!important}
#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child{padding:11px 13px!important;min-height:44px!important;border:2px solid #e9bc48!important;border-radius:13px!important;background:linear-gradient(165deg,#ffffff75 0%,hsl(var(--topic-hue) 85% 50%) 15%,hsl(var(--topic-hue) 82% 32%) 65%,hsl(var(--topic-hue) 85% 19%) 100%)!important;box-shadow:inset 0 0 0 1px #fff4ac,inset 0 3px 3px #ffffff80,0 3px 0 #926419,0 4px 8px #00122a60!important;font-size:16px!important}
button,.primary,.weekly-button,.weekly-actions a,.achievement-continue{border:2px solid #ebc254!important;background:linear-gradient(165deg,#91d4ff,#167ee2 20%,#064780 80%,#032c58)!important;box-shadow:inset 0 0 0 1px #fff4a680,inset 0 3px 3px #ffffff90,0 3px 0 #93651b,0 6px 12px #00193435!important}
#home .panel.current-topic-panel{background:radial-gradient(ellipse at 50% 0%,#14609c80,transparent 72%),linear-gradient(145deg,#061a39,#08264e)!important}
.lounge-profile .achievement-panel{background:radial-gradient(ellipse at top,#18508b80,transparent 70%),#071c42!important;border:2px solid #e8bd50!important}
.lounge-profile .achievement-panel h3,.lounge-profile .achievement-item strong{color:#ffe8a5!important}.lounge-profile .ro-learning-card h3,#courseProgressText,#profileLearningProgress{color:#f6fbff!important}
.achievement-sprite{filter:drop-shadow(0 0 6px #f3d57566)}
#courseDeckList .lounge-topic-group:has(.topic-group-first .locked-deck:disabled){background:linear-gradient(#edf0f4,#dfe5ed)!important;border-color:#bcc5d1!important;box-shadow:inset 0 0 0 2px #fff8,0 3px 0 #b3bdc9,0 5px 12px #122a4317!important}
#courseDeckList .lounge-topic-group:has(.topic-group-first .locked-deck:disabled)::before{opacity:.15;filter:grayscale(1)}
#courseDeckList .lounge-topic-group .topic-group-row>button:first-child.locked-deck:disabled{background:#dfe5ec!important;color:#7b8796!important;border-color:#bac6d3!important;box-shadow:none!important}
#courseDeckList .lounge-topic-group .topic-group-first>.locked-deck:disabled .topic-header-icon{background:#bac5d2!important;box-shadow:none!important;color:#f8fbff!important;filter:grayscale(1)}
@media(max-width:380px){#courseDeckList .lounge-topic-group{padding:12px!important}#courseDeckList .lounge-topic-group .topic-group-first .topic-header-icon{width:58px;height:58px;min-width:58px;padding:17px}#courseDeckList .lounge-topic-group .topic-group-first>button:first-child{font-size:18px}}

#courseDeckList #beginDeckRow>button:first-child.locked-deck:not(:disabled){color:#fff!important}

/* Sitewide Topics jewel-gradient button system. */
:root{--topic-hue:195}
button,input[type="submit"],input[type="button"],[role="button"],.primary,.weekly-button,.weekly-actions a,.achievement-continue,.lounge-menu summary,.current-topic-panel .lounge-controls .topic-modes button,.current-topic-panel .lounge-controls .topic-nav button,.current-topic-panel .lounge-controls .topic-modes button:first-child,.current-topic-panel .lounge-controls .topic-modes button:nth-child(2),.current-topic-panel .lounge-controls .topic-modes button:last-child,#courseDeckList .lounge-topic-group .topic-group-first>button:first-child,#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child,#courseDeckList #beginDeckRow>button:last-child{background:linear-gradient(165deg,#ffffff75 0%,hsl(var(--topic-hue,195) 85% 50%) 15%,hsl(var(--topic-hue,195) 82% 32%) 65%,hsl(var(--topic-hue,195) 85% 19%) 100%)!important;border:2px solid #e9bc48!important;border-radius:13px!important;box-shadow:inset 0 0 0 1px #fff4ac,inset 0 3px 3px #ffffff80,0 3px 0 #926419,0 4px 8px #00122a60!important;color:#fff!important;}
#courseDeckList #beginDeckRow>button:first-child.locked-deck:not(:disabled){background:linear-gradient(165deg,#ffffff75,hsl(var(--topic-hue) 85% 50%) 15%,hsl(var(--topic-hue) 82% 32%) 65%,hsl(var(--topic-hue) 85% 19%))!important;color:#fff!important}
button:disabled,input[type="submit"]:disabled{background:#dfe5ec!important;color:#7b8796!important;border-color:#bac6d3!important;box-shadow:none!important}

.current-topic-panel .lounge-controls .topic-nav>#dashboardPreviousBtn,.current-topic-panel .lounge-controls .topic-nav>#dashboardStarBtn{background:linear-gradient(165deg,#ffffff75 0%,hsl(var(--topic-hue,195) 85% 50%) 15%,hsl(var(--topic-hue,195) 82% 32%) 65%,hsl(var(--topic-hue,195) 85% 19%) 100%)!important;border:2px solid #e9bc48!important;border-radius:13px!important;box-shadow:inset 0 0 0 1px #fff4ac,inset 0 3px 3px #ffffff80,0 3px 0 #926419,0 4px 8px #00122a60!important;color:#fff!important;}
.current-topic-panel .lounge-controls .topic-nav>#dashboardPreviousBtn:disabled{background:#dfe5ec!important;color:#7b8796!important;border-color:#bac6d3!important;box-shadow:none!important}

/* Achievement Medallions — consistent sitewide typography and panel system. */
:root{--ro-heading-font:Georgia,"Times New Roman",serif;--ro-body-font:Arial,Helvetica,sans-serif;--ro-panel-fill:linear-gradient(145deg,#082955,#061b3d);--ro-frame:#e8bd50}
body,input,textarea,select,button{font-family:var(--ro-body-font)!important}
body{font-size:16px;line-height:1.5}
h1,h2,h3,h4,.lounge-server-title{font-family:var(--ro-heading-font)!important;font-weight:700!important;line-height:1.2;letter-spacing:0}
button,.primary,.weekly-button,.weekly-actions a,.achievement-continue,.lounge-menu summary{font-family:var(--ro-body-font)!important;font-weight:750!important;line-height:1.25!important;text-shadow:0 1px 1px #00182c70}
.panel,.auth,.weekly-card,.achievement-panel,.flash,.deck,.weekly-hero,.lounge-profile form,.lounge-profile .push-profile{position:relative;background:var(--ro-panel-fill)!important;color:#f6fbff!important;border:3px solid var(--ro-frame)!important;border-radius:24px!important;box-shadow:inset 0 0 0 2px #fff0a175,inset 0 0 0 6px #071c42,0 5px 0 #926119,0 9px 18px #05345325!important}
.panel::after,.auth::after,.weekly-card::after,.achievement-panel::after,.flash::after,.deck::after{content:"";position:absolute;inset:7px;pointer-events:none;z-index:0;border-radius:18px;background:url(/medallion-corner.svg) left top/25px 25px no-repeat,url(/medallion-corner.svg) right bottom/25px 25px no-repeat;opacity:.85}
#courseDeckList .lounge-topic-group{border-width:3px!important;box-shadow:inset 0 0 0 2px #fff0a175,inset 0 0 0 6px #071c42,0 5px 0 #926119,0 9px 18px #05345325!important}
.lounge-header.lounge-art-header,.lounge-header.lounge-study-header,.top.lounge-art-header,.lounge-topics-panel .lounge-spanish-banner{border-width:3px!important;border-color:#e8bd50!important;box-shadow:inset 0 0 0 2px #fff0a175,0 5px 0 #926119,0 9px 18px #05345325!important}
.panel h1,.panel h2,.panel h3,.panel h4,.auth h1,.auth h2,.weekly-card h1,.weekly-card h2,.achievement-panel h3,.achievement-panel h4,.lounge-profile .achievement-panel h3,.lounge-profile .ro-learning-card h3{color:#fff3d0!important;font-family:var(--ro-heading-font)!important}
#home .panel.current-topic-panel,.lounge-profile .achievement-panel,.lounge-profile .ro-learning-card,.ro-learning-card{background:var(--ro-panel-fill)!important}
.lounge-profile .achievement-item strong{color:#fff3d0!important}.lounge-profile form label,.lounge-profile form p,.lounge-profile .push-profile p,.lounge-profile .fine,.lounge-profile-milestone{color:#c0d8ed!important}
.weekly-table{border-collapse:collapse;width:100%}.weekly-table th{background:#123962;color:#ffe6a0!important;font-weight:750}.weekly-table td{border-bottom:1px solid #d9b45a40;color:#f6fbff!important}
.lounge-menu nav{background:var(--ro-panel-fill)!important;border:2px solid #e8bd50!important;box-shadow:inset 0 0 0 1px #fff0a170,0 7px 16px #00132d50!important}.lounge-menu nav a{font-family:var(--ro-body-font);color:#fff3d0!important}
input,textarea,select{font-family:var(--ro-body-font)!important;border:2px solid #d8b65c!important;background:#f6fbff!important;color:#10264d!important;box-shadow:inset 0 2px 3px #001c4220}
#spanishCourseScreen .lounge-topics-panel{border:0!important;box-shadow:none!important;background:transparent!important}#spanishCourseScreen .lounge-topics-panel::after{display:none}
#courseDeckList .lounge-topic-group:has(.topic-group-first .locked-deck:disabled){border-color:#bcc5d1!important;box-shadow:inset 0 0 0 2px #fff8,0 4px 0 #b3bdc9,0 6px 14px #122a4317!important}
.trophy-journey-promo::after,.ad-panel::after,.ro-ad-panel::after{display:none}
.lounge-profile>.auth{background:transparent!important;border:0!important;box-shadow:none!important}.lounge-profile>.auth::after{display:none}
@media(max-width:380px){body{font-size:15px}.panel,.auth,.weekly-card,.achievement-panel{border-radius:20px!important}}

/* Study panel: course and topic above a landscape example book. */
#home .current-topic-panel #studyCourseName{display:flex;align-items:center;gap:10px;color:#fff;font:700 22px Arial,sans-serif;margin:20px 0 14px}
#home .book-course-flag{width:32px;height:26px;object-fit:contain;flex-shrink:0}
#home .current-topic-panel #currentDeckName{font:700 clamp(28px,7vw,38px)/1.15 Georgia,serif;color:#fff;margin:12px 0 14px;overflow-wrap:break-word}
#home #currentTopicActivity{font:700 19px/1.4 Arial,sans-serif;color:#cedeea;margin:0 0 12px}
#home .lounge-topic-book{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13%;padding:11% 10% 20%;margin:20px -12px 24px;min-height:280px;background:url(/study-topic-book-blank.png) center/100% 100% no-repeat;color:#10264d;filter:drop-shadow(0 5px 3px #0004)}
#home .book-left-page,#home .book-right-page{min-width:0}
#home .book-left-page{transform:skewY(2deg)}#home .book-right-page{transform:skewY(-2deg);padding-bottom:30px}
#home .book-examples{display:flex;flex-direction:column;gap:20px}
#home .book-example{display:flex;flex-direction:column;gap:3px;overflow-wrap:break-word;text-align:left}
#home .book-example strong{font:700 clamp(16px,4vw,22px)/1.2 Georgia,serif;color:#10264d!important}
#home .book-example span{font:italic clamp(13px,3.3vw,17px)/1.25 Georgia,serif;color:#536477}

/* Approved option 3: compact centered example book. */
#home .lounge-topic-book{width:74%;min-height:180px;padding:8% 7% 15%;gap:12%;margin:16px auto 24px;background-size:100% 100%}
#home .book-examples{gap:0}
#home .book-right-page{padding-bottom:32px}
#home .book-example strong{font-size:clamp(14px,3.6vw,18px)}
#home .book-example span{font-size:clamp(12px,3vw,14px)}

/* Approved full-width, shorter landscape book (reference 3134). */
#home .lounge-topic-book{width:calc(100% + 20px);min-height:190px;padding:7% 9% 10%;gap:13%;margin:16px -10px 24px}
#home .book-right-page{padding-bottom:38px}
#home .book-example strong{font-size:clamp(16px,4vw,22px)}
#home .book-example span{font-size:clamp(13px,3.3vw,17px)}

.qm-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.qm-grid h3{font:700 14px Arial;color:#b9d6e8}.qm-grid button{display:block;width:100%;margin:10px 0;min-height:56px;white-space:normal;overflow-wrap:anywhere;text-align:left}.qm-selected{outline:3px solid #ffe390;outline-offset:2px}.qm-matched{opacity:1!important;background:linear-gradient(#207b62,#10473d)!important;color:#dfffee!important}.quick-match-panel>button{margin-top:12px}

.qm-grid button.qm-wrong{background:linear-gradient(165deg,#ef6670,#ab1737 55%,#650e25)!important;color:white!important;outline:3px solid #ff8798}.qm-grid button.qm-matched{background:linear-gradient(165deg,#46ce88,#16834e 55%,#075735)!important;color:white!important}.quick-match-panel #qmCheck{display:none!important}

/* Short course banner with its title aligned to the bottom. */
.lounge-topics-panel .lounge-spanish-banner{min-height:0;height:120px;padding:8px 18px;display:flex;flex-direction:row;justify-content:flex-end;align-items:flex-end;box-sizing:border-box}
.lounge-topics-panel .lounge-spanish-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:21px}
.lounge-topics-panel .lounge-spanish-banner #coursePageTitle{width:54%;align-self:flex-end;margin:0;font-size:clamp(24px,6vw,33px);line-height:1.15;text-align:left}

.lounge-topics-panel .lounge-spanish-banner{height:auto;aspect-ratio:4.45/1;border:0!important;box-shadow:0 5px 12px #06325128!important;background:#071c42;padding:0}
.lounge-topics-panel .lounge-spanish-banner>img{width:100%;height:149%;top:-24.5%;object-fit:fill;inset-inline:0;border-radius:0}
.lounge-topics-panel .lounge-spanish-banner::after{display:none}
.lounge-topics-panel .lounge-spanish-banner #coursePageTitle{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

#coursesScreen .course-entry{display:block;padding:12px!important}
#coursesScreen .course-banner-art{display:block;position:relative;aspect-ratio:4.45/1;overflow:hidden;border-radius:17px;margin-bottom:12px}
#coursesScreen .course-banner-art>img{position:absolute;left:0;top:-24.5%;width:100%;height:149%;object-fit:fill}
#coursesScreen .course-entry>.muted{display:block;padding:0 6px 5px}

#coursesScreen .upcoming-course{padding:12px!important}
.upcoming-banner{width:100%;aspect-ratio:4.45/1;border-radius:13px;background-image:url('/coming-soon-course-banners-soft.png');background-size:100% 304%;background-repeat:no-repeat}
.upcoming-english{background-position:center top}.upcoming-chinese{background-position:center center}.upcoming-french{background-position:center bottom}
#coursesScreen .upcoming-course-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
#coursesScreen .upcoming-course>.muted{padding:8px 6px 2px}
