/* Study Lounge: approved tea, flowers and glossy learning design. */
body{background:linear-gradient(135deg,#f1f7fb,#e5f2f8);color:#10264d}.app{max-width:760px;padding-top:12px}.lounge-header,.top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:linear-gradient(120deg,#fff,#f5faff);border:1px solid #fff;border-radius:24px 24px 0 0;box-shadow:0 6px 22px #22486c0c}.top{max-width:720px;margin:14px auto 0;border-radius:24px}.lounge-brand,.top .brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#10264d;min-width:0}.lounge-brand img,.top .brand img{width:54px;height:54px;border-radius:12px;flex:0 0 54px}.lounge-brand h1,.lounge-server-title{font-size:clamp(21px,5.5vw,30px);font-weight:800;line-height:1.15;margin:0;letter-spacing:-.5px}.lounge-menu{position:relative;flex:0 0 auto}.lounge-menu summary{list-style:none;color:#46708d;font-size:28px;cursor:pointer;min-height:44px;min-width:44px;display:grid;place-items:center}.lounge-menu summary::-webkit-details-marker{display:none}.lounge-menu nav{position:absolute;right:0;top:50px;width:240px;padding:10px;background:#fff;border:1px solid #d9e6ed;box-shadow:0 12px 35px #10264d25;border-radius:16px;z-index:30;display:flex;flex-direction:column}.lounge-menu nav a{color:#10264d;text-decoration:none;padding:12px;border-radius:8px;font-weight:650}.lounge-menu nav a:hover{background:#e8f5fa}.lounge-menu summary:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #1573d5;outline-offset:3px}.lounge-tea-banner{display:block;width:100%;aspect-ratio:3/1;object-fit:cover;border-radius:0 0 12px 12px;margin-bottom:0}.panel{border-radius:24px;box-shadow:0 10px 24px #426c8510;border-color:#dce9ef}.current-topic-panel{background:linear-gradient(145deg,#fff,#eefbff)!important;margin-top:0!important;padding:22px!important;border-radius:22px!important}.current-topic-panel:before{display:none!important}.topic-eyebrow{background:none!important;padding:0!important;color:#6688a3!important;font-size:13px!important;letter-spacing:.12em}.current-topic-panel #currentDeckName{font-size:clamp(24px,6.2vw,34px);text-transform:none;line-height:1.2;margin:12px 0 8px;color:#10264d}.lounge-book-art{display:block;width:100%;max-height:300px;object-fit:contain;margin:8px 0 12px;filter:drop-shadow(0 7px 5px #254c641a)}.lounge-book-art[hidden]{display:none}.topic-study-label{margin:14px 0!important;font-size:15px!important;color:#54758a!important}.current-topic-panel .topic-modes button,.current-topic-panel .topic-nav button{border-radius:16px!important;text-transform:none;min-height:62px!important;font-size:15px!important;box-shadow:inset 0 2px 3px #ffffffaa,inset 0 -3px 4px #00000020,0 3px 0 var(--button-edge),0 7px 10px var(--button-shadow)!important}.current-topic-panel .topic-modes button:first-child{background:linear-gradient(#18bcde,#0080b2)!important;--button-edge:#046b99;--button-shadow:#0095bb25}.current-topic-panel .topic-modes button:nth-child(2){background:linear-gradient(#15c2cb,#007c94)!important;--button-edge:#006b80;--button-shadow:#0095bb25}.current-topic-panel .topic-modes button:last-child{background:linear-gradient(#ffba26,#f18b05)!important;--button-edge:#bc7208;--button-shadow:#ef9a0520}.current-topic-panel .topic-nav button:first-child{background:linear-gradient(#19bdce,#008899)!important;--button-edge:#006f80}.current-topic-panel .topic-nav button:nth-child(2){background:linear-gradient(#fff,#edf5fb)!important;color:#124779!important;--button-edge:#9bbad1;--button-shadow:#426b8420}.current-topic-panel .topic-nav{margin-top:14px!important;padding-top:0!important;border:0!important}.current-topic-panel .spelling-modes button:last-child{background:linear-gradient(#399cff,#1263d1)!important;--button-edge:#114a9d}.lounge-current-course{margin-top:18px!important}.lounge-current-course h2{font-size:24px}.lounge-topics-panel{padding:0!important;overflow:hidden;background:linear-gradient(#fff,#f8fcff)}.lounge-spanish-banner{position:relative;min-height:170px;display:flex;justify-content:flex-end;align-items:center;padding:20px}.lounge-spanish-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.lounge-spanish-banner #coursePageTitle{position:relative;width:54%;font-size:clamp(24px,6vw,36px);line-height:1.15;color:#10264d;text-transform:none;margin:0;text-shadow:0 1px 8px #ffffffdd}.lounge-spanish-banner .ro-course-flag{display:none!important}#courseDeckList{padding:16px}.lounge-topic-group{background:linear-gradient(145deg,hsl(var(--topic-hue) 60% 96%),hsl(var(--topic-hue) 60% 89%));border:1px solid hsl(var(--topic-hue) 40% 83%);padding:14px;border-radius:22px;margin:0 0 18px}.lounge-topic-group .topic-group-row{border-left:0!important;background:transparent!important;margin:0 0 12px!important;padding:0!important}.lounge-topic-group .topic-group-row:last-child{margin-bottom:0!important}#courseDeckList .lounge-topic-group .topic-group-first>button:first-child{background:transparent!important;color:#10264d!important;border:0!important;box-shadow:none;font-size:20px;text-transform:none;padding:10px 2px!important;gap:14px;font-weight:800}#courseDeckList .lounge-topic-group .topic-group-first .topic-header-icon{width:60px;height:60px;min-width:60px;border-radius:50%;padding:15px;background:linear-gradient(145deg,hsl(var(--topic-hue) 70% 56%),hsl(var(--topic-hue) 75% 30%));color:#fff!important;box-shadow:inset 0 2px 3px #ffffff99,0 4px 0 hsl(var(--topic-hue) 60% 28%),0 8px 12px #12384a20;border:1px solid #ffffffaa}#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child{background:linear-gradient(hsl(var(--topic-hue) 70% 53%),hsl(var(--topic-hue) 75% 31%))!important;color:#fff!important;border:1px solid #ffffff99!important;border-radius:15px!important;box-shadow:inset 0 2px 3px #ffffff80,0 3px 0 hsl(var(--topic-hue) 65% 26%),0 6px 9px #12384a20;text-transform:none;font-size:17px;padding:14px!important}#courseDeckList #beginDeckRow{flex-wrap:wrap}#courseDeckList #beginDeckRow>button:first-child{width:100%;flex-basis:100%}#courseDeckList #beginDeckRow>button:last-child{width:100%;background:linear-gradient(hsl(var(--topic-hue) 70% 53%),hsl(var(--topic-hue) 75% 31%));color:#fff;border:1px solid #ffffff90;border-radius:14px;font-size:17px;font-weight:800;box-shadow:inset 0 2px 3px #ffffff80,0 3px 0 hsl(var(--topic-hue) 65% 26%)}#courseDeckList .lounge-topic-group .locked-deck:disabled{background:#e5eaf0!important;color:#929dab!important;box-shadow:none!important;opacity:.65!important}#courseDeckList .lounge-topic-group:has(.topic-group-first .locked-deck:disabled){background:#f0f3f6;border-color:#e2e7ed}#courseDeckList .lounge-topic-group .topic-group-first>.locked-deck:disabled .topic-header-icon{background:#c4ccd5!important;color:#f1f5f9!important;box-shadow:none}
.ro-learning-card{background:linear-gradient(145deg,#fff,#f4faff);border-radius:24px;padding:24px}.ro-learning-card:before{display:none}.ro-learning-card h3{text-align:center;justify-content:center;font-size:27px;margin:0 0 22px}.learning-book{display:none}.learning-count{font-size:inherit;letter-spacing:normal;font-weight:500}.learning-total{font-size:inherit;max-width:none}#courseProgressText,#profileLearningProgress{display:block;text-align:center;font-size:21px;color:#10264d;margin:0 0 18px;line-height:1.4}.ro-learning-card progress,#profileLearningBar{width:100%;height:30px;border:3px solid #e0eaf0;border-radius:99px;overflow:hidden;appearance:none}.ro-learning-card progress::-webkit-progress-value,#profileLearningBar::-webkit-progress-value{background:linear-gradient(#20c8dc,#0091aa);border-radius:99px;box-shadow:inset 0 2px 3px #fff9}.ro-learning-card progress::-webkit-progress-bar,#profileLearningBar::-webkit-progress-bar{background:linear-gradient(#d8e3ec,#e7eef3)}.ro-learning-card .ro-milestone{background:none;border:0;text-align:center;padding:14px 0 0;box-shadow:none}.ro-learning-card .ro-milestone:before{display:none}.ro-learning-card .milestone-title,.lounge-profile-milestone strong{font-size:25px;font-family:Georgia,serif;font-style:italic;color:#d87c08}.ro-learning-card .milestone-detail{font-size:14px;margin:12px 0 0}.ro-learning-card .ro-milestone:after{content:"";display:block;margin:10px auto 0;width:130px;height:44px;background:url('/learning-flowers.png') center/contain no-repeat}.lounge-profile{max-width:720px;margin:14px auto;padding:0 14px}.lounge-profile>.auth{padding:0;background:none;border:0;box-shadow:none;overflow:visible}.lounge-profile .ro-learning-card{margin:0 0 16px!important;padding:26px!important;box-shadow:0 10px 24px #426c8510}.lounge-profile .ro-learning-card h3{font-size:26px!important;color:#10264d;margin:0 0 20px!important}.lounge-profile-milestone{text-align:center;border-top:1px solid #e4edf2;margin-top:16px;padding-top:18px}.lounge-profile-milestone img{display:block;width:140px;height:46px;object-fit:contain;margin:10px auto}.lounge-profile .achievement-panel{border-radius:24px!important;background:linear-gradient(135deg,#fff,#f5faff)!important;box-shadow:0 10px 24px #426c8510;padding:24px 18px!important}.lounge-profile .achievement-panel h3{text-align:center;font-size:27px!important;color:#10264d}.lounge-profile .achievement-grid{gap:18px 10px!important}.lounge-profile .achievement-item{padding:0!important;background:none!important;border:0!important}.lounge-profile .achievement-sprite{width:min(100%,130px)!important;height:auto!important;aspect-ratio:1}.lounge-profile .achievement-item strong{color:#10264d!important;font-size:15px!important}.lounge-profile form,.lounge-profile .push-profile{background:#fff;padding:22px;border:1px solid #dce9ef;border-radius:24px;margin:16px 0}.lounge-profile .fine{line-height:1.5}.lounge-profile .achievement-tag{font-size:10px}.lounge-profile .achievement-status-row .achievement-sprite{flex:0 0 110px}
html.ro-dark body,body.dark{background:#0f172a;color:#e8f3fa}html.ro-dark .lounge-header,html.ro-dark .top,body.dark .lounge-header{background:#172033;border-color:#334155}html.ro-dark .lounge-server-title,body.dark .lounge-brand{color:#e8f3fa}html.ro-dark .lounge-menu nav,body.dark .lounge-menu nav{background:#172033}html.ro-dark .lounge-menu nav a,body.dark .lounge-menu nav a{color:#e8f3fa}@media(max-width:420px){.lounge-header{padding:13px 12px;gap:8px}.lounge-brand{gap:10px}.lounge-brand img,.top .brand img{width:44px;height:44px;flex-basis:44px}.lounge-brand h1{font-size:24px}.current-topic-panel{padding:18px!important}.lounge-spanish-banner{min-height:155px}.lounge-profile .achievement-panel{padding:20px 12px!important}.lounge-profile .achievement-grid{gap:16px 6px!important}}
/* Faithful approved mobile control arrangement: Study / Silence, Listen, Answer / Next / Topics. */
.app{max-width:540px;padding:14px 14px 30px}.lounge-header{padding:17px 18px;border-radius:26px 26px 0 0}.lounge-brand img{width:58px;height:58px;flex-basis:58px}.lounge-brand h1{font-size:clamp(23px,6vw,31px)}.lounge-tea-banner{aspect-ratio:2.9/1;border-radius:0;margin:0}.current-topic-panel{border:1px solid #fff!important;border-radius:24px!important;padding:24px 18px 26px!important;background:linear-gradient(140deg,#fff,#f7fcff)!important;box-shadow:0 9px 15px #28597910!important}.topic-eyebrow{font-size:13px!important;font-weight:700;letter-spacing:.10em}.current-topic-panel #currentDeckName{font-size:clamp(25px,6vw,32px);letter-spacing:-.7px;font-weight:800;margin:10px 12px 12px 0;line-height:1.2}.lounge-book-art{max-height:225px;width:100%;margin:10px 0 16px;object-fit:contain}.lounge-controls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.current-topic-panel .lounge-controls>.topic-modes,.current-topic-panel .lounge-controls>.topic-nav{display:contents!important}.current-topic-panel .lounge-controls>.topic-modes[style*="display: none"]{display:none!important}.lounge-controls .lounge-study-button{grid-column:span 3;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:16px;color:white;font-size:16px;font-weight:800;min-height:66px;background:linear-gradient(#25cce1,#0187ba);border:1px solid #ffffffaa;box-shadow:inset 0 2px 3px #ffffffaa,inset 0 -3px 4px #00000020,0 3px 0 #046b99,0 7px 10px #0095bb25}.lounge-study-button svg{width:25px;height:25px;flex:0 0 25px}.lounge-controls .topic-modes>button:first-child{grid-column:span 3}.lounge-controls .topic-modes>button:nth-child(2){grid-column:1/-1;min-height:70px!important}.lounge-controls .topic-modes>button:last-child{grid-column:span 2}.lounge-controls .topic-nav>button{grid-column:span 2}.current-topic-panel .lounge-controls button{font-size:14px!important;padding:14px 6px!important;gap:7px!important;min-height:66px!important;white-space:normal;line-height:1.2;display:flex;align-items:center;justify-content:center}.current-topic-panel .lounge-controls button::before{width:21px!important;height:21px!important;flex:0 0 21px!important}.lounge-spelling-controls .lounge-study-button{display:none}.lounge-controls>.spelling-modes{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;margin:0 0 6px!important}.lounge-controls>.spelling-modes[style*="display: none"]{display:none!important}.lounge-controls>.spelling-modes>button{grid-column:auto!important;flex-direction:column!important;min-height:110px!important}.lounge-spelling-controls .topic-nav>button{grid-column:span 3}.lounge-controls .topic-nav button:nth-child(2){border:1px solid #93b9d1!important;box-shadow:inset 0 2px 3px white,0 3px 0 #b6cedf,0 7px 10px #47668012!important}
.lounge-topics-panel{border-radius:0 0 24px 24px!important}.lounge-spanish-banner{min-height:194px}.lounge-spanish-banner #coursePageTitle{font-size:clamp(25px,6vw,33px);font-weight:800;letter-spacing:-.7px;width:53%;align-self:flex-start;margin-top:12px}.lounge-topic-group{padding:18px 16px 20px;margin:0 0 16px;border-radius:24px;box-shadow:0 4px 6px #31576a0c}#courseDeckList{padding:0 12px 16px}#courseDeckList>p{padding:16px 6px;margin:0;font-size:13px}#courseDeckList .lounge-topic-group .topic-group-first>button:first-child{font-size:21px;line-height:1.3;gap:17px}#courseDeckList .lounge-topic-group .topic-group-first>button:first-child:after{content:'›';font-size:34px;font-weight:400;color:var(--topic-accent);margin-left:auto}#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child{position:relative;display:flex;align-items:center;gap:13px;padding:17px 12px!important;font-size:16px;min-height:64px}#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child:before{content:'✎';font-size:28px;line-height:1;flex:0 0 25px}#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child:after{content:'›';margin-left:auto;font-size:30px;font-weight:400}#courseDeckList .lounge-topic-group .topic-group-row:nth-child(2)>button:first-child:before{content:'☷';font-size:30px}#courseDeckList #beginDeckRow>button:last-child{min-height:61px;margin-top:5px}#courseDeckList #beginDeckRow>button:last-child:after{content:' ›';font-size:26px;margin-left:15px}
.top{max-width:512px;padding:17px 18px;border-radius:26px 26px 0 0}.top .brand img{width:58px;height:58px;flex-basis:58px}.top .lounge-server-title{font-size:clamp(23px,6vw,31px);font-weight:800}.lounge-profile{max-width:540px;margin:0 auto;padding:14px}.lounge-profile .ro-learning-card h3{font-size:clamp(24px,6vw,30px)!important;letter-spacing:-1px}.lounge-profile .ro-learning-card{padding:28px 22px 24px!important;background:linear-gradient(130deg,#fff,#f6fbff)}.lounge-profile .ro-learning-card progress{height:38px!important}.lounge-profile #profileLearningProgress{font-size:21px}.lounge-profile-milestone strong{font-family:'Segoe Print','Comic Sans MS',cursive;font-size:clamp(22px,5.6vw,27px);font-weight:500;letter-spacing:-.7px}.lounge-profile-milestone{padding-top:22px;margin-top:16px}.lounge-profile-milestone img{width:140px;height:45px}.lounge-profile .achievement-panel h3{font-size:clamp(24px,6vw,30px)!important;letter-spacing:-1px;margin-bottom:24px}.lounge-profile .achievement-item strong{font-size:15px!important;font-weight:800}.lounge-profile .achievement-grid{gap:28px 8px!important}.lounge-profile .achievement-sprite{max-width:145px!important;width:100%!important}.lounge-profile .achievement-item small{font-size:13px}.lounge-profile .achievement-tag{display:block;width:max-content;max-width:100%;margin:4px auto}.lounge-profile .achievement-tag:not(.earned){background:none;color:#7688a0;font-weight:500}.lounge-profile .ro-learning-card>.fine{font-size:12px;text-align:center;margin:14px 0 0}.lounge-profile>.auth>.achievement-panel:nth-of-type(2){padding-top:28px!important}.lounge-profile .achievement-panel>.fine{text-align:center;font-size:13px}
@media(max-width:380px){.app{padding:8px 9px 24px}.lounge-header{padding:14px 12px}.lounge-brand img,.top .brand img{width:49px;height:49px;flex-basis:49px}.lounge-brand h1{font-size:23px}.lounge-controls{gap:9px}.current-topic-panel .lounge-controls button{font-size:12px!important}.current-topic-panel .lounge-controls button::before{width:18px!important;height:18px!important;flex-basis:18px!important}.lounge-topic-group{padding:14px 12px}#courseDeckList .lounge-topic-group .topic-group-first>button:first-child{font-size:19px;gap:12px}.lounge-profile{padding:12px 9px}.lounge-profile .achievement-item strong{font-size:12px!important}.lounge-spanish-banner{min-height:170px}}

.lounge-spanish-banner #coursePageTitle img{display:none!important}.lounge-spanish-banner #coursePageTitle .ro-course-label{display:inline!important}.lounge-controls .lounge-study-button::before{display:none!important}
/* Option 1: slim glossy topic rows with compact inline Begin. */
#courseDeckList .lounge-topic-group{padding:10px 12px 12px;border-radius:13px;margin-bottom:12px;box-shadow:0 2px 5px #31576a09}
#courseDeckList .lounge-topic-group .topic-group-row{margin-bottom:8px!important;gap:8px}
#courseDeckList .lounge-topic-group .topic-group-first>button:first-child{min-height:48px;padding:6px 0!important;font-size:18px;gap:10px;border-radius:8px!important;line-height:1.3}
#courseDeckList .lounge-topic-group .topic-group-first .topic-header-icon{width:38px;height:38px;min-width:38px;padding:9px;box-shadow:inset 0 1px 2px #ffffff80,0 2px 0 hsl(var(--topic-hue) 60% 28%)}
#courseDeckList .lounge-topic-group .topic-group-first>button:first-child:after{font-size:26px}
#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child{min-height:44px;padding:9px 11px!important;border-radius:8px!important;font-size:15px;line-height:1.35;gap:10px;background:linear-gradient(180deg,hsl(var(--topic-hue) 65% 53%),hsl(var(--topic-hue) 74% 34%))!important;box-shadow:inset 0 1px 2px #ffffff85,inset 0 -1px 2px #00000016,0 2px 0 hsl(var(--topic-hue) 60% 29%),0 3px 5px #12384a12}
#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child:before{font-size:22px;flex-basis:20px}
#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child:after{font-size:24px}
#courseDeckList #beginDeckRow{flex-wrap:nowrap;align-items:center}
#courseDeckList #beginDeckRow>button:first-child{width:auto;flex:1 1 0;min-width:0}
#courseDeckList #beginDeckRow>button:last-child{flex:0 0 auto;width:auto;min-height:44px;padding:7px 12px;margin-top:0;border-radius:99px;border:2px solid hsl(var(--topic-hue) 65% 42%);background:linear-gradient(#fff,hsl(var(--topic-hue) 60% 96%));color:hsl(var(--topic-hue) 60% 34%);box-shadow:inset 0 1px 2px #fff,0 2px 3px #12384a0a;font-size:14px}
#courseDeckList #beginDeckRow>button:last-child:after{display:none}
@media(max-width:380px){#courseDeckList .lounge-topic-group .topic-group-first>button:first-child{font-size:16px;gap:8px}#courseDeckList .lounge-topic-group .topic-group-first .topic-header-icon{width:34px;height:34px;min-width:34px;padding:8px}#courseDeckList .lounge-topic-group .topic-group-row:not(.topic-group-first)>button:first-child{font-size:14px}#courseDeckList #beginDeckRow>button:last-child{padding:7px 10px}}
/* All unfinished topics are gray; the next available one stays clickable. */
#courseDeckList .lounge-topic-group .topic-group-row>button:first-child.locked-deck{background:#e7ebef!important;color:#919ba8!important;border-color:#dce2e8!important;box-shadow:none!important;opacity:1}
#courseDeckList .lounge-topic-group .topic-group-first>button:first-child.locked-deck .topic-header-icon{background:linear-gradient(#d5dce3,#adb8c4)!important;color:#f8fafc!important;box-shadow:inset 0 1px 2px #fff8,0 2px 0 #9aa8b6}
#courseDeckList .lounge-topic-group:has(.topic-group-first .locked-deck){background:#f0f3f6;border-color:#e2e7ed}
#courseDeckList #beginDeckRow>button:first-child.locked-deck{cursor:pointer;color:#596779!important;border:1px solid #dce2e8!important;padding:8px!important}

/* Remove decorative side stripes from every topic row. */
#courseDeckList .topic-group-row{border-left:0!important;padding-left:0!important}#journeyList .topic-group-card{border-left-width:1px!important}#journeyList .current-journey-deck,#journeyList .begin-journey-deck{border-left-width:1px!important}
/* Approved single-column current topic controls. */
.current-topic-panel .lounge-controls{grid-template-columns:minmax(0,1fr);gap:11px}
.current-topic-panel .lounge-controls .topic-modes>button,.current-topic-panel .lounge-controls .topic-nav>button{grid-column:1/-1!important;width:100%;min-height:46px!important;padding:12px 18px!important;border-radius:9px!important;font-size:15px!important;justify-content:flex-start;gap:13px!important;box-shadow:inset 0 1px 2px #ffffff70,inset 0 -1px 2px #00000012,0 2px 0 var(--button-edge),0 4px 7px var(--button-shadow)!important}
.current-topic-panel .lounge-controls .topic-modes>button::before,.current-topic-panel .lounge-controls .topic-nav>button::before{width:22px!important;height:22px!important;flex:0 0 22px!important}
.current-topic-panel .lounge-controls .topic-nav>button:first-child{background:linear-gradient(#239cff,#0864d6)!important;--button-edge:#1953a2;--button-shadow:#1269d220}
.current-topic-panel .lounge-controls>.spelling-modes{grid-template-columns:1fr!important}
.current-topic-panel .lounge-controls>.spelling-modes>button{flex-direction:row!important;min-height:46px!important;justify-content:flex-start}

/* Soft study panel matching the topic group treatment. */
#home .current-topic-panel{background:linear-gradient(145deg,#ecfafb,#dff2f5)!important;border:1px solid #c5e3e8!important}.current-topic-panel .topic-eyebrow{color:#577b85!important}

#home .study-course-name{margin:12px 0 6px;color:#426c80;font-size:16px;font-weight:650;line-height:1.4;}
#home .current-topic-panel #currentDeckName{margin-top:6px;}

#demoFinishFirstTopic{min-height:44px;border-radius:10px;background:linear-gradient(#a879df,#7145ad);color:white;font-weight:700;}#demoFinishFirstTopic[hidden]{display:none!important;}

/* Cup-and-flowers artwork integrated into the Study Lounge header. */
.lounge-header.lounge-study-header{min-height:110px;box-sizing:border-box;border-radius:24px;background:#f9fcfd;overflow:visible;margin-bottom:14px;isolation:isolate;}
.lounge-header.lounge-study-header::before{content:"";position:absolute;inset:0 0 0 82px;border-radius:0 24px 24px 0;background:linear-gradient(90deg,#f9fcfded 0%,#ffffffa6 40%,#ffffff26 78%),url('/study-lounge-tea.png') center/cover no-repeat;z-index:-1;}
.lounge-study-header .lounge-brand h1{color:#10264d;text-shadow:0 1px 5px #ffffff,0 0 14px #ffffff;}
.lounge-study-header .lounge-menu summary{background:#ffffffb3;border-radius:10px;color:#31546c;}
@media(max-width:380px){.lounge-header.lounge-study-header{padding:12px;min-height:98px;}.lounge-study-header .lounge-brand{gap:10px;}.lounge-study-header .lounge-brand h1{font-size:24px;}}

/* Previous and Next share the review navigation row. */
.current-topic-panel .lounge-controls .topic-nav>#dashboardPreviousBtn,.current-topic-panel .lounge-controls .topic-nav>#dashboardStarBtn{grid-column:span 3!important;width:100%;justify-content:center;background:linear-gradient(#239cff,#0864d6)!important;color:#fff!important;--button-edge:#1953a2;--button-shadow:#1269d220;border:1px solid #ffffff80!important}
.current-topic-panel #dashboardPreviousBtn::before{content:"←";display:inline-block;font-size:24px;line-height:1;text-align:center}
.current-topic-panel .lounge-controls .topic-nav>#dashboardPreviousBtn:disabled{opacity:.45;cursor:default}

.current-topic-panel .lounge-controls{grid-template-columns:repeat(6,minmax(0,1fr))}

/* Keep the page menu above all content panels. */
.lounge-header,.top{z-index:100}
.lounge-menu[open]{z-index:101}
.lounge-menu nav{z-index:102}

/* Matching photographic artwork for page headers. */
.lounge-header.lounge-art-header,.top.lounge-art-header{min-height:110px;box-sizing:border-box;border-radius:24px;background:#f9fcfd;overflow:visible;margin-bottom:14px;isolation:isolate}
.lounge-art-header::before{content:"";position:absolute;inset:0 0 0 82px;border-radius:0 24px 24px 0;background:linear-gradient(90deg,#f9fcfdde,#ffffff80 42%,#ffffff14 85%),var(--header-art) center/cover no-repeat;z-index:-1}
.lounge-art-header h1,.lounge-art-header .lounge-server-title{color:#10264d;text-shadow:0 1px 5px #fff,0 0 14px #fff}
.lounge-art-header .lounge-menu summary{background:#ffffffb3;border-radius:10px;color:#31546c}

/* Approved immersive artwork behind page titles. */
.lounge-header.lounge-art-header::before,.top.lounge-art-header::before{background-image:linear-gradient(90deg,#f9fcfdf2 0%,#ffffffaa 18%,#ffffff55 45%,#ffffff10 78%),var(--header-art);background-size:100% 100%,150% auto;background-position:center,right center;background-repeat:no-repeat}
.lounge-header.lounge-study-header::before{background-image:linear-gradient(90deg,#f9fcfdf2 0%,#ffffffaa 18%,#ffffff55 45%,#ffffff10 78%),url('/study-lounge-tea.png');background-size:100% 100%,150% auto;background-position:center,right center;background-repeat:no-repeat}

/* One shared size for all page header artwork. */
.lounge-header.lounge-study-header,.lounge-header.lounge-art-header,.top.lounge-art-header{width:100%;max-width:512px;min-height:110px;padding:16px 18px;box-sizing:border-box}
@media(max-width:380px){.lounge-header.lounge-study-header,.lounge-header.lounge-art-header,.top.lounge-art-header{min-height:98px;padding:12px}.lounge-art-header .brand,.lounge-art-header .lounge-brand{gap:10px}.lounge-art-header h1,.lounge-art-header .lounge-server-title{font-size:24px}}

/* Match standalone headers to the Study Lounge mobile gutters. */
.top.lounge-art-header{width:calc(100% - 28px);max-width:512px;margin-left:auto;margin-right:auto}

/* Same spacing above the first topic group as between groups. */
#courseDeckList{padding-top:12px!important}

#home .study-activity-label{margin:0 0 16px;color:#426c80;font-size:18px;font-weight:650;line-height:1.35}#home .study-activity-label[hidden]{display:none!important}

/* Approved trophy artwork with two accessible live destinations. */
.weekly-promo.trophy-journey-promo{position:relative;padding:0!important;overflow:hidden;border-radius:24px;aspect-ratio:924 / 1308;background:#fff;box-shadow:0 12px 28px #39668318}
.trophy-journey-promo .trophy-journey-art{position:absolute;inset:0;display:block}
.trophy-journey-promo .trophy-journey-art img{position:absolute;max-width:none!important;width:110.8225%!important;height:auto!important;left:-5.4113%;top:-8.7156%;display:block;border-radius:0!important}
.trophy-journey-promo .trophy-leaderboard-link{position:absolute;left:2.16%;top:81.65%;width:95.67%;height:15.44%;border-radius:24px;display:block;z-index:2;background:transparent}
.trophy-link-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.trophy-journey-promo a:focus-visible{outline:3px solid #0078ff;outline-offset:-5px}
.trophy-journey-promo .trophy-leaderboard-link:hover{box-shadow:inset 0 0 20px #fff6}

/* Main topic activity label, matching the practice labels beneath the topic. */
#courseDeckList .topic-name-text{display:block}#courseDeckList .topic-activity-subtitle{display:block;margin-top:6px;font-size:17px;font-family:inherit;font-weight:600;line-height:1.3;color:inherit;text-transform:none}

/* Compact inactive topic headings while preserving their blue artwork. */
html body #spanishCourseScreen #courseDeckList .lounge-topic-group[data-current-topic="false"]{padding:0 19px!important;margin:0 0 2px!important;border:0!important;background:none!important;box-shadow:none!important;min-height:0!important}
html body #spanishCourseScreen #courseDeckList .lounge-topic-group[data-current-topic="false"]>.topic-static-title{margin:0 16px!important}
html body #spanishCourseScreen #courseDeckList .lounge-topic-group[data-current-topic="false"]::before,html body #spanishCourseScreen #courseDeckList .lounge-topic-group[data-current-topic="false"]::after{display:none!important}

html body #spanishCourseScreen #courseDeckList{row-gap:0!important}

/* Responsive topic titles keep long names inside phone panels. */
html body #courseDeckList .topic-static-title{box-sizing:border-box;min-width:0;max-width:100%;font-size:clamp(16px,4.5vw,22px)!important;line-height:1.3!important;gap:10px!important;padding:10px 12px!important}
html body #courseDeckList .topic-static-title>span:not(.ro-topic-graphic){flex:1 1 0;min-width:0;white-space:normal;overflow-wrap:anywhere}
html body #currentDeckName,html body #guidedTitle{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:clamp(18px,5vw,30px)!important;line-height:1.3!important}
@media(max-width:400px){html body #courseDeckList .topic-static-title .ro-topic-graphic{width:48px!important;height:48px!important;min-width:48px!important;flex:0 0 48px!important;padding:13px!important}html body #spanishCourseScreen #courseDeckList .lounge-topic-group[data-current-topic="false"]>.topic-static-title{margin:0!important}}
