/* Requested page layout refinements only. Existing content, routes and study engines remain authoritative. */
@layer taplurePalette {
 html#taplure-dashboard #root .courses-workspace #studyPhotoBanner[data-glass-banner]{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:18px!important;min-height:320px!important;background-position:center!important}
 html#taplure-dashboard #root .courses-workspace #studyPhotoBanner[data-glass-banner]>div:not(.absolute){width:52%!important;max-width:500px!important;margin:0!important}
 html#taplure-dashboard #root .courses-workspace #studyPhotoBanner[data-glass-banner] :is(h1,p){max-width:100%!important;margin-left:0!important;text-align:left!important}
 html#taplure-dashboard #root .courses-workspace #studyPhotoBanner[data-glass-banner] .primary{align-self:flex-start!important;position:static!important;margin:0!important;width:auto!important}
 html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner]{min-height:330px!important;align-items:flex-start!important;text-align:left!important;padding:34px!important}
 html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner]>div:not(.absolute){margin:0!important;max-width:none!important;width:100%!important;padding:0!important;text-align:left!important}
 html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner] :is(h1,p){max-width:52%!important;margin-left:0!important;margin-right:0!important;text-align:left!important;width:auto!important}
 html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner] h1{font-size:40px!important;line-height:1.15!important;margin-top:14px!important}
 html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner] p{font-size:15px!important;line-height:1.65!important;margin-top:14px!important}
 html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner] #myBadgesButton{position:static!important;margin:18px 0 0!important;align-self:flex-start!important}
 html#taplure-mock-exams body #examStart #examBadgeLegend{padding:16px!important;text-align:left!important;border-radius:16px!important;background:linear-gradient(135deg,#a88be612,#43c4b308),var(--mock-panel)!important;box-shadow:inset 0 1px 0 #ffffff18!important}
 html#taplure-mock-exams body #examBadgeLegend>p{max-width:760px!important;font-size:12px!important;line-height:1.55!important;margin-left:0!important}
 html#taplure-mock-exams body #examBadgeLegend>p:first-child{font-size:16px!important}
 html#taplure-mock-exams body #examBadgeExamples{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;justify-content:start!important}
 html#taplure-mock-exams body #examBadgeLegend .exam-badge-example{min-width:0!important;min-height:74px!important;padding:10px!important;gap:9px!important;border-radius:12px!important;background:linear-gradient(140deg,#ffffff0e,#8659ee0d),var(--mock-panel)!important;box-shadow:inset 0 1px 0 #ffffff1a!important}
 html#taplure-mock-exams body #examBadgeLegend .exam-badge-example :is(.exam-achievement-badge,.no-badge-mark){width:36px!important;height:36px!important;font-size:20px!important;flex:0 0 36px!important}
 html#taplure-mock-exams body #examBadgeLegend .exam-badge-example :is(strong,small){font-size:11px!important;line-height:1.4!important}
 html body #scenarioHero[data-glass-banner]{padding:34px!important;min-height:350px!important}
 html body #scenarioHero[data-glass-banner] #scenarioHeroCopy{width:52%!important;max-width:560px!important;margin:0!important;padding:0!important;text-align:left!important}
 html body #scenarioHero[data-glass-banner] #scenarioHeroCopy>span{display:inline-flex!important;font-size:19px!important;line-height:1.3!important;padding:8px 13px!important}
 html body #scenarioHero[data-glass-banner] #scenarioHeroCopy :is(h1,p){max-width:100%!important;margin-left:0!important;text-align:left!important}
 html body #scenarioHero[data-glass-banner] h1{font-size:38px!important;margin-top:14px!important}
 html body #scenarioHero[data-glass-banner] p.glass-banner-subtitle{font-size:15px!important;line-height:1.65!important}
 html body #scenarioHero[data-glass-banner] .scenario-stats{max-width:410px!important;width:100%!important;margin:22px 0 0!important;gap:9px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;text-align:left!important}
 html body #scenarioHero[data-glass-banner] .scenario-stats>div{min-width:0!important;padding:12px 10px!important;border-radius:12px!important;background:linear-gradient(135deg,#ffffff0e,#8659ee10),#121e32bd!important;border-color:#a88be64a!important;box-shadow:inset 0 1px 0 #ffffff24!important;backdrop-filter:blur(12px)}
 html body #scenarioHero[data-glass-banner] .scenario-stats>div>p:first-child{font-size:24px!important;line-height:1.1!important;color:#bc9cf5!important;margin:0!important}
 html body #scenarioHero[data-glass-banner] .scenario-stats>div>p:last-child{font-size:10px!important;letter-spacing:.04em!important;color:#d8deef!important;margin-top:6px!important}
 @media(max-width:950px){html#taplure-mock-exams body #examBadgeExamples{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
 @media(max-width:700px){
  html#taplure-dashboard #root .courses-workspace #studyPhotoBanner[data-glass-banner]>div:not(.absolute){width:100%!important;max-width:100%!important}
  html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner]{padding:26px 22px!important}
  html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner] :is(h1,p){max-width:100%!important}
  html#taplure-mock-exams body #examStart #studyPhotoBanner[data-study-banner] h1{font-size:32px!important}
  html#taplure-mock-exams body #examBadgeExamples{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body #scenarioHero[data-glass-banner]{padding:26px 22px!important}
  html body #scenarioHero[data-glass-banner] #scenarioHeroCopy{width:100%!important;max-width:100%!important}
  html body #scenarioHero[data-glass-banner] h1{font-size:30px!important}
 }
}
/* Compress the supplied game artwork without changing image crops, hit targets or engines. */
html body #gamesHero,html body #glassGameMenuIntro{display:none!important}
html body #gameSelector .uw-menu.art-menu-mounted{max-width:980px;margin:0 auto;padding:14px!important;border-radius:20px!important}
html body #gameSelector .art-menu{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px 16px!important;padding:14px!important;box-sizing:border-box!important;border-radius:16px!important}
html body #gameSelector .art-menu-image,html body #gameSelector .art-menu-glow-field{display:none!important}
html body #gameSelector .art-menu-sprite{display:block!important;width:100%;height:auto}
html body #gameSelector .art-menu-responsive-logo{grid-column:1/-1;grid-row:1;width:min(58%,380px)!important;justify-self:center;aspect-ratio:620/145}
html body #gameSelector .art-menu .art-menu-top{position:relative!important;inset:auto!important;grid-row:2;width:100%!important;height:auto!important;min-height:44px!important;max-width:160px!important;justify-self:start;border-radius:12px!important}
html body #gameSelector .art-menu .art-menu-top:nth-of-type(2){justify-self:end}
html body #gameSelector .art-menu-top-art{height:48px!important;width:100%}
html body #gameSelector .art-menu-games{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;grid-column:1/-1;align-items:end;min-width:0}
html body #gameSelector .art-menu .art-menu-game{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:56px!important;border-radius:12px!important;overflow:visible;aspect-ratio:auto;background:none!important}
html body #gameSelector .art-menu .art-menu-big{position:relative!important;inset:auto!important;grid-column:1/-1;width:min(100%,560px)!important;height:auto!important;justify-self:center;min-height:60px;aspect-ratio:auto;overflow:visible}
html body #gameSelector .art-menu-extras{display:flex;justify-content:flex-start;margin:0 0 12px!important}
html body #gameSelector .art-menu-extra{padding:10px 18px!important;min-height:44px!important;font-size:15px!important}
@media(max-width:760px){html body #gameSelector .art-menu-games{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:560px){html body #gameSelector .art-menu-games{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #gameSelector .art-menu{padding:10px!important;gap:8px!important}html body #gameSelector .art-menu-responsive-logo{width:min(85%,330px)!important}}
@media(max-width:560px){
 html body #gameSelector .art-menu .art-menu-game{display:flex!important;flex-direction:column-reverse!important;align-items:stretch!important}
 html body #gameSelector .art-menu .art-menu-game>.uw-sr-only{position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;margin:0!important;padding:5px 2px!important;font-size:12px!important;line-height:1.3!important;color:#fff!important;text-align:center!important}
}
@media(max-width:380px){html body #gameSelector .art-menu-responsive-logo{width:100%!important}}

/* Keep the new complete glass wordmark inside the existing Games header slot. */
html body #gameSelector img.art-menu-responsive-logo{object-fit:contain;object-position:center;height:auto!important;aspect-ratio:1700/640!important;}
