/* Screen-only settings, also usable by Chromium 38 before the client boots. */
#screenRuntimeChooser { position: fixed; right: 20px; bottom: 20px; z-index: 9000; font: 18px/1.4 Nunito, Arial, sans-serif; color: #f8f3ff; }
/* Bootstrap errors use z-index 10000; recovery settings must stay above them. */
#screenRuntimeChooser[data-open="true"] { z-index: 10001; }
#screenRuntimeChooser [hidden], #screenRuntimeChooser[hidden] { display: none !important; }
#screenRuntimeChooser * { box-sizing: border-box; }
#screenRuntimeChooser button { font: inherit; color: inherit; cursor: pointer; text-align: left; }
#screenRuntimeChooser button:focus { outline: 3px solid #f1c0ff; outline-offset: 4px; }
.runtime-trigger { display: flex; align-items: center; padding: 12px 20px 12px 15px; border: 1px solid #655071; border-radius: 16px; background: #21142e; }
.runtime-trigger:hover { background: #352044; border-color: #cb93e5; }
.runtime-trigger__icon { font: 30px/1 Arial, sans-serif; margin-right: 13px; color: #dab5ed; }
.runtime-trigger strong { display: block; font-size: 1em; font-weight: 800; }
.runtime-trigger__value { display: block; margin-top: 2px; color: #cdbed8; font-size: .8em; }
.runtime-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: auto; background: rgba(6, 3, 12, .94); }
.runtime-dialog { position: relative; width: 900px; max-width: 100%; max-height: 100%; overflow: auto; padding: 30px; background: #1b1126; border: 1px solid #5e416f; border-radius: 24px; box-shadow: 0 24px 90px rgba(15, 2, 28, .6); }
.runtime-close { position: absolute; right: 18px; top: 16px; width: 42px; height: 42px; padding: 0; border: 1px solid #675371; border-radius: 50%; background: #30223b; text-align: center !important; font: 30px/1 Arial, sans-serif !important; }
.runtime-close:hover { background: #51325f; }
.runtime-eyebrow { margin: 0 55px 8px 0; color: #d5a1e6; font-size: .78em; font-weight: 800; }
.runtime-dialog h2 { margin: 0 50px 10px 0; font-size: 2em; line-height: 1.12; letter-spacing: -.025em; color: #fff; }
.runtime-intro { max-width: 680px; margin: 0 0 22px; color: #d5c9dd; font-size: .95em; }
.runtime-options { width: 100%; }
.runtime-option { display: block; position: relative; width: 100%; padding: 20px; border: 2px solid #554260; border-radius: 16px; background: #271b33; transition: background .15s, border-color .15s; }
.runtime-option:hover { background: #34213f; border-color: #be82d8; }
.runtime-option[aria-pressed="true"] { border-color: #d49cf0; background: #392047; }
.runtime-option__heading { display: flex; flex-wrap: wrap; align-items: center; }
.runtime-option__heading strong { font-size: 1.15em; margin-right: 14px; }
.runtime-badge { display: inline-block; padding: 3px 9px; border-radius: 6px; background: #d8b1ef; color: #291238; font-size: .65em; font-weight: 800; }
.runtime-option__description { display: block; margin-top: 9px; color: #d7cbdc; font-size: .9em; line-height: 1.45; }
.runtime-option__action { display: block; margin-top: 18px; color: #edc7ff; font-size: .85em; font-weight: 800; }
.runtime-option[aria-pressed="true"] .runtime-option__action:before { content: '\2713'; margin-right: 7px; }
.runtime-option--auto { margin-bottom: 14px; }
.runtime-option--auto .runtime-option__description { margin-top: 5px; }
.runtime-option--auto .runtime-option__action { margin-top: 10px; }
.runtime-manual { display: flex; align-items: stretch; }
.runtime-manual > .runtime-option { display: flex; flex-direction: column; width: 50%; }
.runtime-manual > .runtime-option:first-child { margin-right: 14px; }
.runtime-device { display: block; width: 42px; height: 35px; margin-bottom: 12px; color: #d0a3e5; }
.runtime-device svg { display: block; width: 100%; height: 100%; }
.runtime-option__title { display: block; font-size: 1.15em; line-height: 1.25; }
.runtime-manual .runtime-option__description { flex: 1; }
.runtime-note { margin: 18px 0 0; color: #b9a9c4; font-size: .75em; line-height: 1.5; }
@media (min-width: 1600px) {
  #screenRuntimeChooser { font-size: 22px; right: 30px; bottom: 28px; }
  .runtime-dialog { width: 1080px; padding: 38px; }
}
@media (max-height: 620px) and (min-width: 700px) {
  #screenRuntimeChooser { font-size: 16px; }
  .runtime-overlay { padding: 14px; }
  .runtime-dialog { padding: 22px; }
  .runtime-intro { margin-bottom: 14px; }
  .runtime-option { padding: 15px; }
  .runtime-device { display: none; }
  .runtime-note { margin-top: 12px; }
}
@media (max-width: 699px) {
  #screenRuntimeChooser { right: 12px; bottom: 12px; font-size: 16px; }
  .runtime-overlay { display: block; padding: 12px; }
  .runtime-dialog { margin: 0 auto; padding: 22px 18px; }
  .runtime-dialog h2 { font-size: 1.7em; }
  .runtime-manual { display: block; }
  .runtime-manual > .runtime-option { width: 100%; margin: 0 0 12px; }
  .runtime-device { display: none; }
  .runtime-badge { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { .runtime-option { transition: none; } }
