/* Display styles. The engine's own elements carry a "w-" prefix and are placed inside the engine's root, so
   the same engine can run full-screen on a TV and inside the editor's preview. */
html.w-screen, html.w-screen body { margin: 0; height: 100%; background: #000; color: #e8ecf3; overflow: hidden;
  font: 18px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.hide { display: none !important; }
#screen-root { position: fixed; left: 0; top: 0; width: 100%; height: 100%; }
.w-root { position: relative; overflow: hidden; color: #e8ecf3; }
#screen-root.w-root { position: fixed; }
.w-wall { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #000; }
.w-pane { position: absolute; overflow: hidden; background: #000; -webkit-box-sizing: border-box; box-sizing: border-box;
  border: 0 solid transparent; -webkit-background-clip: padding-box; background-clip: padding-box; }
.w-pane[data-gap="0"] { outline: 1px solid #1c1f26; outline-offset: -1px; }
.w-pane.big { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; z-index: 50;
  border-width: 0 !important; }
.w-stage { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.w-pane.big .w-stage { top: 44px; }
/* One page of a pane: a full-pane slot (what fades or slides), a clip (the visible box) and the frame inside it. */
.w-page { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; z-index: 1; background: #000;
  -webkit-transition: opacity .6s; transition: opacity .6s; }
.w-page.on { opacity: 1; z-index: 2; }
.w-effect-none .w-page { -webkit-transition: none; transition: none; }
.w-effect-slide .w-page { opacity: 1; -webkit-transform: translateX(100%); transform: translateX(100%);
  -webkit-transition: -webkit-transform .6s; transition: transform .6s; }
.w-effect-slide .w-page.on { -webkit-transform: none; transform: none; }
.w-effect-slide .w-page.out { -webkit-transform: translateX(-100%); transform: translateX(-100%); z-index: 2; }
.w-effect-slide .w-page.w-jump { -webkit-transition: none; transition: none; }
.w-clip { position: absolute; overflow: hidden; }
.w-clip iframe { position: absolute; border: 0; background: #000; -webkit-transform-origin: 0 0; transform-origin: 0 0; }
.w-cover { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 10; cursor: pointer; background: rgba(0, 0, 0, 0); }
.w-cover:focus { outline: 3px solid #4f8cff; outline-offset: -3px; }
.w-empty { position: absolute; left: 0; top: 45%; width: 100%; text-align: center; color: #667085; z-index: 3; }
.w-caption { position: absolute; left: 8px; bottom: 6px; z-index: 11; font-size: 13px; color: #fff; background: rgba(0, 0, 0, .55);
  padding: 1px 8px; border-radius: 4px; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-dots { position: absolute; right: 8px; bottom: 6px; z-index: 11; }
.w-dots i { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.w-dots i.on { background: rgba(255, 255, 255, .9); }
.w-pnum { position: absolute; left: 12px; top: 8px; z-index: 12; font-size: 44px; font-weight: 700; color: #fff;
  background: rgba(20, 60, 160, .85); border-radius: 10px; padding: 0 16px; }
.w-bar { position: absolute; left: 0; top: 0; right: 0; height: 44px; z-index: 20; background: #1b2029; color: #e8ecf3;
  border-bottom: 1px solid #2e3542; white-space: nowrap; overflow: hidden; line-height: 44px; padding: 0 10px; font-size: 16px; }
.w-bar-title { margin-right: 16px; }
.w-bar-count { margin: 0 8px; color: #98a2b3; }
.w-bar-btn { font: inherit; font-size: 15px; color: #e8ecf3; background: #2a3140; border: 1px solid #3a4354; border-radius: 6px;
  padding: 4px 12px; margin: 0 2px; cursor: pointer; }
.w-bar-btn:focus { outline: 2px solid #4f8cff; }
.w-bar-close { float: right; margin-top: 7px; background: #4f8cff; border-color: #4f8cff; color: #0b1220; font-weight: 600; }
.w-notice { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 40; background: #0b0d12; text-align: center; }
.w-card { position: absolute; left: 10%; right: 10%; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.w-card-number { font-size: 120px; font-weight: 700; line-height: 1; color: #4f8cff; }
.w-card-name { font-size: 40px; margin: 8px 0 20px; }
.w-card-line { font-size: 24px; color: #98a2b3; margin: 6px 0; word-break: break-all; }
.w-identify { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 100; background: rgba(8, 20, 60, .82);
  text-align: center; pointer-events: none; }
.w-identify-number { font-size: 40vh; font-weight: 800; line-height: 1; margin-top: 18vh; color: #fff; }
.w-identify-name { font-size: 7vh; color: #dbe6ff; }
/* the device page's own marks */
.mark { position: fixed; left: 8px; bottom: 8px; z-index: 110; font-size: 14px; background: #7a1f1a; color: #fff; padding: 2px 10px; border-radius: 999px; }
.banner { position: fixed; left: 0; top: 0; width: 100%; z-index: 120; background: #7a4b00; color: #fff; text-align: center; padding: 8px 0; font-size: 18px; }
.banner button, .pairing button { font: inherit; margin-left: 12px; padding: 4px 14px; border-radius: 6px; border: 0; background: #fff; color: #111; cursor: pointer; }
/* pairing and join screens */
.pairing { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: #0b0d12; }
.pairing-in { position: absolute; left: 6%; right: 6%; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); text-align: center; }
.pairing h1 { font-size: 5vh; margin: 0 0 2vh; font-weight: 600; }
.pairing p { font-size: 2.6vh; color: #98a2b3; margin: 1vh 0; }
.pairing .qr { width: 42vh; height: 42vh; background: #fff; border-radius: 2vh; padding: 1vh; margin: 2vh 0; }
.pairing .code { font: 700 7vh ui-monospace, Menlo, Consolas, monospace; letter-spacing: .6vh; color: #fff; }
.pairing .big { font-size: 12vh; font-weight: 700; color: #4f8cff; line-height: 1.1; }
.pairing button { font-size: 3vh; padding: 1.2vh 3vh; margin: 2vh 1vh 0; }
.pairing button.primary { background: #4f8cff; color: #0b1220; font-weight: 700; }
.pairing button:focus { outline: 4px solid #fff; outline-offset: 2px; }
