/* Main-site palette and useful teaching space instead of a second page intro. */
body{background:#050505;color:#d5d2ce}
.fcm-shell,.fcm-view{color:#d5d2ce}
.fcm-site-header .masthead-art{filter:none}
body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-site-header{margin:4px auto 0}
body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-site-header .masthead-stage{min-height:112px}
body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-compact-brand{width:clamp(280px,32vw,400px)}
body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-compact-brand img{object-fit:cover;object-position:center 58%;filter:none}
body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-site-header .nav-bar{padding-left:calc(clamp(280px,32vw,400px) + 18px)}
body[data-view=intro] .fcm-player-heading,body[data-view=intro] .fcm-player-description,body[data-view=intro] .fcm-player-notes{display:none}
body[data-view=intro] main{padding-top:8px}
body[data-view=intro] #introView{margin:0;padding:0}
body[data-view=intro] .fcm-player-wrap{border:0;margin:0;padding:0;min-height:0;background:#050505;overflow:hidden}
body[data-view=intro] #introPlayer{display:block;width:100%;height:calc(100dvh - 136px);min-height:300px;border:0}
body[data-view=intro] footer{margin-top:8px;padding-top:12px;padding-bottom:12px}
.fcm-site-header .hero-links :is(a,button),.fcm-secondary,.fcm-primary{border-radius:4px}
.fcm-primary{background:#e19048;color:#150c04;border-color:#e19048}
.fcm-secondary{background:#0d0b09;border-color:#815332;color:#efae72}
@media(max-width:900px){body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-site-header .masthead-stage{min-height:88px}body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-compact-brand{width:255px}body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-site-header .nav-bar{padding-left:270px}body[data-view=intro] #introPlayer{height:calc(100dvh - 108px);min-height:300px}}
@media(max-width:560px){body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-compact-brand{width:215px}body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-site-header .nav-bar{padding-left:225px}body[data-view=intro] #introPlayer{height:1000px;min-height:0}}
@media(orientation:landscape) and (max-height:500px){body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-site-header .masthead-stage{min-height:64px}body:is([data-view=intro],[data-view=guided],[data-view=record]) .fcm-compact-brand{width:235px}body[data-view=intro] #introPlayer{height:calc(100dvh - 80px)!important;min-height:270px}}
@media(orientation:landscape) and (max-height:500px){body[data-view=intro] .fcm-site-header .masthead-stage{height:64px;min-height:64px}body[data-view=intro] .fcm-site-header .nav-bar{position:absolute;top:0;right:0;min-height:30px;padding-top:2px;padding-bottom:2px}body[data-view=intro] .fcm-site-header .hero-actions{position:absolute;right:0;bottom:0;padding-block:3px}body[data-view=intro] .fcm-site-header .hero-links button[data-go=intro]{display:none}body[data-view=intro] .fcm-site-header .hero-links button{min-height:25px;height:25px;padding-block:3px}body[data-view=intro] main{padding-top:4px}}

/* The portrait introduction is a single screen, including its embedded controls. */
@media (orientation:portrait) and (max-width:800px){
  body[data-view=intro]{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-top:var(--player-safe-top,env(safe-area-inset-top,0px));padding-bottom:var(--player-safe-bottom,env(safe-area-inset-bottom,0px))}
  body[data-view=intro] .fcm-app{display:flex;flex:1;min-height:0;flex-direction:column}
  body[data-view=intro] .fcm-site-header{flex:none}
  body[data-view=intro] #learningMain{display:flex;flex:1;min-height:0;max-width:none;margin:0;padding:4px 7px 0;width:100%}
  body[data-view=intro] #introView.active{display:flex;flex:1;min-height:0;flex-direction:column;width:100%}
  body[data-view=intro] .fcm-player-wrap{display:flex;flex:1;min-height:0;width:100%}
  body[data-view=intro] #introPlayer{height:100%!important;min-height:0!important;flex:1}
  body[data-view=intro] .fcm-learning-footer{display:none}
}
