* { margin: 0; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
  background: #0b0f14;
  color: #e8eef4;
  font-family: Roboto, "Droid Sans", "Segoe UI", Arial, sans-serif;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
}
#topbar, #stage, #tabs { -webkit-transition: -webkit-transform 1.5s ease; transition: transform 1.5s ease; }
.hidden { display: none !important; }
svg.ic { fill: #ffffff; display: inline-block; vertical-align: middle; }

#topbar {
  position: absolute; left: 0; right: 0; top: 0; height: 44px; line-height: 44px;
  background: #0f151c; border-bottom: 1px solid #1d2733; padding: 0 12px;
  font-size: 15px; white-space: nowrap; overflow: hidden; z-index: 10;
}
.tb-left { position: absolute; left: 12px; top: 0; height: 44px; padding-right: 12px; font-weight: bold; letter-spacing: 1px; }
#status-dot {
  display: inline-block; width: 12px; height: 12px; border-radius: 6px; margin-right: 8px;
  background: #e5534b; vertical-align: -1px;
}
#status-dot.on { background: #3fb950; }
#page-title {
  text-align: center; font-weight: bold; letter-spacing: 3px; font-size: 16px; color: #9fb3c8;
  margin: 0 30%;
}
.tb-right { position: absolute; right: 12px; top: 0; height: 44px; }
#mini { color: #8b9bab; font-size: 14px; margin-right: 16px; }
#settings-btn, #refresh-btn { display: inline-block; width: 40px; height: 44px; text-align: center; margin-right: 6px; vertical-align: top; }
#home-btn { display: inline-block; height: 100%; vertical-align: top; }
#refresh-btn { margin: 0 0 0 4px; }
#settings-btn svg.ic, #refresh-btn svg.ic { width: 24px; height: 24px; fill: #9fb3c8; margin-top: -3px; }
#settings-btn.pressed svg.ic, #refresh-btn.pressed svg.ic { fill: #3d8bfd; }
#refresh-btn.spin svg.ic { fill: #3d8bfd; -webkit-animation: rfspin 0.8s linear infinite; animation: rfspin 0.8s linear infinite; }
@-webkit-keyframes rfspin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes rfspin { 100% { transform: rotate(360deg); } }
.theme-layer { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 70; }
.theme-menu { position: absolute; right: 10px; top: 50px; width: 270px; padding: 10px; background: #141c25; border: 1px solid #2a3746; border-radius: 14px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }
.theme-h { font-size: 12px; font-weight: bold; letter-spacing: 2px; color: #8b9bab; padding: 2px 6px 8px; }
.theme-opt { height: 52px; line-height: 52px; padding: 0 12px; margin-bottom: 4px; border-radius: 10px; background: #1d2835; font-size: 16px; font-weight: bold; white-space: nowrap; }
.theme-opt:last-child { margin-bottom: 0; }
.theme-opt.on { background: #26354a; -webkit-box-shadow: inset 4px 0 0 #3d8bfd; box-shadow: inset 4px 0 0 #3d8bfd; }
.theme-opt.pressed { background: #223041; }
.theme-sw { display: inline-block; vertical-align: middle; margin: -4px 12px 0 0; height: 26px; width: 66px; border: 1px solid #000000; border-radius: 6px; overflow: hidden; }
.theme-sw i { float: left; width: 33.33%; height: 26px; }
.set-menu { width: 540px; max-width: 94%; }
.set-themes { max-height: 344px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.set-themes .theme-opt { overflow: hidden; text-overflow: ellipsis; }
.set-menu:after { content: ""; display: block; clear: both; }
.set-col { float: left; width: 50%; padding-right: 5px; -webkit-box-sizing: border-box; box-sizing: border-box; }
.set-col2 { padding: 0 0 0 5px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.set-h2 { padding-top: 8px; }
.set-flag { display: inline-block; vertical-align: middle; width: 30px; margin: -4px 12px 0 0; }
.set-flag svg.flag { display: block; width: 30px; height: 20px; border-radius: 3px; -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); }
.set-code { font-size: 13px; letter-spacing: 1px; color: #9fb3c8; }
.set-awake { position: relative; padding-right: 66px; }
.set-tog { position: absolute; right: 12px; top: 13px; width: 46px; height: 26px; border-radius: 13px; background: #4d5d70; }
.set-tog i { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 10px; background: #e8eef4; }
.set-awake.on .set-tog { background: #3d8bfd; }
.set-awake.on .set-tog i { left: 23px; }
.set-full { margin-top: 8px; }
.set-full svg.ic { width: 22px; height: 22px; fill: #9fb3c8; margin: -3px 10px 0 0; }
.set-chips { padding: 8px 0 2px; }
.set-chip { display: inline-block; margin: 0 6px 6px 0; padding: 0 12px; height: 34px; line-height: 34px; border-radius: 17px; background: #243142; color: #c4d0dc; font-size: 14px; font-weight: bold; }
.set-chip.on { background: #3d8bfd; color: #fff; }
.set-desc { font-size: 12px; line-height: 16px; color: #8b9bab; padding: 6px 6px 0; }

#banner {
  position: absolute; left: 0; right: 0; top: 44px; height: 30px; line-height: 30px; z-index: 20;
  background: #8b1d1d; color: #fff; text-align: center; font-weight: bold; font-size: 14px; letter-spacing: 1px;
}

#stage { position: absolute; left: 0; right: 0; top: 44px; bottom: 58px; overflow: hidden; }
body.no-tabs #stage { bottom: 0; }
#stage.sw-next { -webkit-animation: swnext 0.22s ease-out; animation: swnext 0.22s ease-out; }
#stage.sw-prev { -webkit-animation: swprev 0.22s ease-out; animation: swprev 0.22s ease-out; }
#stage.sw-end-l { -webkit-animation: swendl 0.3s ease-out; animation: swendl 0.3s ease-out; }
#stage.sw-end-r { -webkit-animation: swendr 0.3s ease-out; animation: swendr 0.3s ease-out; }
@-webkit-keyframes swnext { 0% { opacity: 0.3; -webkit-transform: translateX(60px); } 100% { opacity: 1; -webkit-transform: translateX(0); } }
@keyframes swnext { 0% { opacity: 0.3; transform: translateX(60px); } 100% { opacity: 1; transform: translateX(0); } }
@-webkit-keyframes swprev { 0% { opacity: 0.3; -webkit-transform: translateX(-60px); } 100% { opacity: 1; -webkit-transform: translateX(0); } }
@keyframes swprev { 0% { opacity: 0.3; transform: translateX(-60px); } 100% { opacity: 1; transform: translateX(0); } }
@-webkit-keyframes swendl { 0%, 100% { -webkit-transform: translateX(0); } 40% { -webkit-transform: translateX(-24px); } }
@keyframes swendl { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(-24px); } }
@-webkit-keyframes swendr { 0%, 100% { -webkit-transform: translateX(0); } 40% { -webkit-transform: translateX(24px); } }
@keyframes swendr { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(24px); } }
body.kb-open #stage { top: 0; bottom: 0; }
.tile {
  position: absolute; border-radius: 12px; overflow: hidden;
  background: #18212c; border: 1px solid #222e3b;
}

.tile.btn {
  background-color: #1d2835;
  -webkit-transition: -webkit-transform 0.08s, background-color 0.15s;
  transition: transform 0.08s, background-color 0.15s;
  cursor: pointer;
}
.tile.btn:after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%;
  background: rgba(255, 255, 255, 0.04); pointer-events: none;
}
.tile.btn.pressed { -webkit-transform: scale(0.95); transform: scale(0.95); border-color: #3d8bfd; }
.tile.btn.ok { border-color: #3fb950; -webkit-box-shadow: inset 0 0 0 2px #3fb950; box-shadow: inset 0 0 0 2px #3fb950; }
.tile.btn.err { border-color: #e5534b; -webkit-box-shadow: inset 0 0 0 2px #e5534b; box-shadow: inset 0 0 0 2px #e5534b; }
.tile.btn.busy .t-icon { opacity: 0.45; }
.t-icon { position: absolute; left: 0; right: 0; top: 14%; height: 40%; text-align: center; }
.t-icon svg { height: 100%; width: 100%; }
.t-img { left: 8%; right: 8%; top: 8%; height: 62%; background-repeat: no-repeat; background-position: center; -webkit-background-size: contain; background-size: contain; }
.tile.short .t-img { top: 6%; height: 56%; }
.t-label {
  position: absolute; left: 6px; right: 6px; bottom: 24%; text-align: center;
  font-weight: bold; font-size: 1em; letter-spacing: 1px; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t-sub {
  position: absolute; left: 6px; right: 6px; bottom: 8%; text-align: center; font-size: 0.75em; color: rgba(232, 238, 244, 0.65);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tile.btn.no-icon .t-label { bottom: auto; top: 38%; font-size: 1.15em; }
.tile.btn.no-icon .t-sub { bottom: 18%; }
.tile.short .t-icon { top: 10%; height: 36%; }
.tile.short .t-label { bottom: 22%; font-size: 0.9em; }
.tile.short .t-sub { display: none; }

.tile.btn.running { border-color: #3fb950; -webkit-box-shadow: inset 0 0 0 2px rgba(63, 185, 80, 0.55); box-shadow: inset 0 0 0 2px rgba(63, 185, 80, 0.55); }
.tile.btn.running:before {
  content: ""; position: absolute; top: 9px; right: 9px; width: 13px; height: 13px; border-radius: 7px; z-index: 2;
  background: #3fb950; -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.35); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.35);
}

.t-hold { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0, 0, 0, 0.3); }
.t-hold i { display: block; height: 100%; width: 0; background: #ffb454; }
.tile.btn.confirm.holding .t-hold i {
  width: 100%;
  -webkit-transition: width 0.9s linear; transition: width 0.9s linear;
}

#tabs {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: #0f151c;
  border-top: 1px solid #1d2733; white-space: nowrap; overflow: hidden; z-index: 10;
}
.tab {
  display: inline-block; height: 58px; text-align: center; vertical-align: top; padding-top: 7px;
  color: #b6c4d2; font-size: 12px; font-weight: bold; letter-spacing: 1px; overflow: hidden;
}
.tab svg.ic { width: 24px; height: 24px; fill: #b6c4d2; display: block; margin: 0 auto 3px; }
.tab span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.tab.active { color: #fff; background: #18212c; -webkit-box-shadow: inset 0 3px 0 #3d8bfd; box-shadow: inset 0 3px 0 #3d8bfd; }
.tab.active svg.ic { fill: #fff; }
.tab.pressed { background: #223041; }
body.kb-open #topbar, body.kb-open #tabs { display: none; }

body.rot {
  right: auto; bottom: auto;
  -webkit-transform-origin: 0 0; transform-origin: 0 0;
  -webkit-transform: rotate(90deg) translateY(-100%); transform: rotate(90deg) translateY(-100%);
}
body.phone #topbar { height: 38px; line-height: 38px; font-size: 14px; }
body.phone .tb-left, body.phone .tb-right, body.phone #settings-btn, body.phone #refresh-btn { height: 38px; }
body.phone #banner { top: 38px; }
body.phone #stage { top: 38px; bottom: 54px; }
body.phone.no-tabs #stage { bottom: 0; }
body.phone.kb-open #stage { top: 0; bottom: 0; }
body.phone #tabs, body.phone .tab { height: 48px; }
body.phone .tab { padding-top: 5px; font-size: 10px; letter-spacing: 0; }
body.phone .tab svg.ic { width: 20px; height: 20px; margin-bottom: 2px; }
body.phone #toast { bottom: 60px; }
body.phone .theme-opt { height: 44px; line-height: 44px; }
body.phone .set-tog { top: 9px; }
body.phone .theme-menu { top: 44px; }
body.phone .tile.btn.short .t-label { letter-spacing: 0; }

#toast {
  position: absolute; left: 50%; bottom: 76px; width: 520px; margin-left: -260px; z-index: 50;
  background: #26313d; color: #fff; padding: 12px 16px; border-radius: 10px; text-align: center;
  font-size: 16px; font-weight: bold; opacity: 0; visibility: hidden; pointer-events: none;
  -webkit-transition: opacity 0.2s; transition: opacity 0.2s;
  -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
#toast.show { opacity: 1; visibility: visible; }
#toast.ok { background: #1e5631; }
#toast.err { background: #8b1d1d; }
@media (max-width: 600px) { #toast { width: 90%; left: 5%; margin-left: 0; } }

#modal, #pair, #boot, #offline, #perm {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 60; background: rgba(5, 8, 12, 0.88);
}
.modal-box {
  position: absolute; left: 6%; right: 6%; top: 7%; bottom: 7%;
  background: #141c25; border: 1px solid #2a3746; border-radius: 14px; padding: 14px;
}
.modal-title { font-weight: bold; font-size: 17px; letter-spacing: 1px; height: 30px; }
.modal-body {
  position: absolute; left: 14px; right: 14px; top: 48px; bottom: 74px; overflow: auto; -webkit-overflow-scrolling: touch;
  font-family: "Droid Sans Mono", Consolas, monospace; font-size: 14px; color: #cfd9e3; white-space: pre-wrap; word-wrap: break-word;
  background: #0b0f14; border-radius: 8px; padding: 10px;
}
.modal-close {
  position: absolute; right: 14px; bottom: 12px; width: 160px; height: 50px; line-height: 50px; text-align: center;
  background: #3d8bfd; border-radius: 10px; font-weight: bold; letter-spacing: 1px;
}

.perm-box {
  position: absolute; left: 8%; right: 8%; top: 8%; bottom: 8%;
  background: #141c25; border: 1px solid #2a3746; border-radius: 14px; padding: 14px;
}
.perm-head { font-weight: bold; font-size: 17px; letter-spacing: 1px; height: 28px; color: #e3b341; }
.perm-tool { font-weight: bold; font-size: 20px; height: 32px; overflow: hidden; white-space: nowrap; }
.perm-body {
  position: absolute; left: 14px; right: 14px; top: 78px; bottom: 90px; overflow: auto; -webkit-overflow-scrolling: touch;
  font-family: "Droid Sans Mono", Consolas, monospace; font-size: 15px; color: #cfd9e3; white-space: pre-wrap; word-wrap: break-word;
  background: #0b0f14; border-radius: 8px; padding: 10px; margin: 0;
}
.perm-jump { position: absolute; right: 14px; top: 38px; height: 34px; line-height: 34px; font-size: 14px; color: #c4d0dc; }
.perm-jbtn { display: inline-block; margin-left: 8px; padding: 0 14px; height: 30px; line-height: 30px; border-radius: 15px; background: #243142; font-weight: bold; font-size: 13px; letter-spacing: 1px; }
.perm-jgo { background: #3d8bfd; color: #fff; }
.perm-more { position: absolute; left: 14px; bottom: 34px; font-size: 13px; color: #8b9bab; }
.perm-btn {
  position: absolute; bottom: 12px; width: 44%; height: 62px; line-height: 62px; text-align: center;
  border-radius: 10px; font-weight: bold; font-size: 18px; letter-spacing: 1px;
}
.perm-deny { left: 14px; background: #8b1d1d; }
.perm-allow { right: 14px; background: #1e5631; }

.pair-box, #boot .boot-title { text-align: center; }
.pair-box {
  position: absolute; left: 50%; top: 12%; width: 440px; margin-left: -220px;
  background: #141c25; border: 1px solid #2a3746; border-radius: 14px; padding: 22px;
}
.pair-title { font-size: 22px; font-weight: bold; margin-bottom: 10px; }
.pair-msg { color: #9fb3c8; font-size: 15px; margin-bottom: 16px; line-height: 1.4; }
#pair-code {
  width: 100%; height: 56px; font-size: 26px; text-align: center; letter-spacing: 6px; text-transform: uppercase;
  background: #0b0f14; color: #fff; border: 2px solid #2a3746; border-radius: 10px; margin-bottom: 14px;
  -webkit-user-select: text; user-select: text;
}
.pair-go { height: 56px; line-height: 56px; background: #3d8bfd; border-radius: 10px; font-weight: bold; font-size: 18px; letter-spacing: 2px; }
.pair-go.pressed { background: #2f6fd0; }
#boot { background: #0b0f14; }
#offline { z-index: 65; background: rgba(5, 8, 12, 0.94); }
#offline-host { color: #fff; }
#offline-wait { margin-bottom: 12px; font-size: 13px; }
body.phone #offline .pair-box { top: 4%; padding: 14px 18px; }
body.phone #offline .pair-msg { margin-bottom: 10px; font-size: 14px; }
.boot-title { position: absolute; left: 0; right: 0; top: 38%; font-size: 26px; font-weight: bold; letter-spacing: 6px; }
#boot-msg { position: absolute; left: 0; right: 0; top: 50%; text-align: center; color: #8b9bab; font-size: 16px; }

.tile.widget { padding: 10px 12px; }
.w-head { height: 34px; line-height: 30px; position: relative; white-space: nowrap; overflow: hidden; }
.w-title { font-weight: bold; letter-spacing: 2px; font-size: 14px; color: #9fb3c8; overflow: hidden; text-overflow: ellipsis; }
.w-head.tools .w-title { margin-right: 150px; }
.w-head .sbtn, .w-head .chat-tools { position: absolute; right: 0; top: 0; }
.sbtn {
  display: inline-block; height: 30px; line-height: 30px; padding: 0 10px; border-radius: 8px;
  background: #243142; font-size: 12px; font-weight: bold; letter-spacing: 1px; margin-left: 6px; vertical-align: top;
}
.sbtn svg.ic { width: 18px; height: 18px; margin-top: -2px; }
.sbtn span { margin-left: 4px; }
.sbtn.pressed { background: #3d8bfd; }
.sbtn.spin svg.ic { opacity: 0.4; }
.w-list {
  position: absolute; left: 10px; right: 10px; bottom: 10px; overflow: auto; -webkit-overflow-scrolling: touch;
}
.empty { color: #8b9bab; font-size: 15px; padding: 14px 6px; text-align: center; line-height: 1.4; }
.empty.err { color: #ff9c94; }

.m-list { position: absolute; left: 12px; right: 12px; top: 44px; bottom: 6px; }
.metric { position: relative; white-space: nowrap; overflow: hidden; }
.m-label { position: absolute; left: 0; top: 0; width: 3.4em; font-weight: bold; color: #9fb3c8; font-size: 0.85em; letter-spacing: 1px; }
.m-val { position: absolute; right: 0; top: 0; width: 8.8em; text-align: right; font-weight: bold; overflow: hidden; text-overflow: ellipsis; }
.m-nobar .m-val { left: 3.4em; width: auto; }
.bar {
  position: absolute; left: 3.3em; right: 9.2em; top: 50%; height: 0.62em; margin-top: -0.31em;
  background: #0b0f14; border-radius: 4px; overflow: hidden;
}
.m-nobar .bar { display: none; }
.bar i { display: block; height: 100%; width: 0; background: #3d8bfd; }
.bar.ok i { background: #3fb950; }
.bar.warn i { background: #d29922; }
.bar.hot i { background: #e5534b; }

.w-shape.sh-tap.pressed { border-color: #3d8bfd; }
.w-shape.ok { border-color: #3fb950; }
.w-shape.err { border-color: #e5534b; }
.sh-big { position: absolute; left: 12px; right: 12px; top: 40px; font-weight: bold; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-big.warn { color: #e3b341; }
.sh-big.hot { color: #ff7b72; }
.sh-unit { font-size: 0.45em; margin-left: 4px; color: #9fb3c8; }
.sh-sub { position: absolute; left: 12px; right: 12px; bottom: 22px; font-size: 14px; color: #9fb3c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-bar { left: 12px; right: 12px; top: auto; bottom: 10px; margin-top: 0; height: 8px; }
.sh-status { position: absolute; left: 12px; right: 12px; top: 44px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-dot { display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%; margin-right: 0.35em; vertical-align: 0.05em; background: #4a5868; }
.sh-dot.warn { background: #d29922; -webkit-box-shadow: 0 0 8px rgba(210, 153, 34, 0.7); box-shadow: 0 0 8px rgba(210, 153, 34, 0.7); }
.sh-dot.hot { background: #e5534b; -webkit-box-shadow: 0 0 8px rgba(229, 83, 75, 0.7); box-shadow: 0 0 8px rgba(229, 83, 75, 0.7); }
.sh-dot.on { background: #3fb950; -webkit-box-shadow: 0 0 8px rgba(63, 185, 80, 0.7); box-shadow: 0 0 8px rgba(63, 185, 80, 0.7); }
.sh-text { position: absolute; left: 12px; right: 12px; top: 42px; font-weight: bold; line-height: 1.15; overflow: hidden; word-wrap: break-word; }
.sh-canvas { position: absolute; left: 10px; right: 10px; top: 40px; bottom: 8px; }
.sh-piece { position: absolute; }
.sh-pin { position: absolute; left: 3px; right: 3px; top: 3px; bottom: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: bold; }
.sh-p-icon .sh-pin { right: auto; bottom: auto; }
.sh-p-icon svg.ic { display: block; width: 100%; height: 100%; }
.sh-pnum { font-weight: bold; }
.sh-punit { font-size: 0.5em; margin-left: 4px; color: #9fb3c8; }
.sh-ptxt { color: #e8eef4; }
.sh-pbar { position: absolute; left: 0; right: 0; height: 10px; margin-top: 0; }
.sh-grid { position: absolute; left: 12px; right: 12px; top: 44px; bottom: 10px; }
.sh-btn {
  position: absolute; border-radius: 10px; background: #243142; text-align: center; overflow: hidden;
  font-weight: bold; letter-spacing: 1px;
}
.sh-btn svg.ic { display: block; width: 32px; height: 32px; margin: 0 auto 4px; }
.sh-btn.flat { padding-top: 0; }
.sh-btn.flat svg.ic { display: none; }
.sh-btn.flat .sh-blabel { position: absolute; left: 4px; right: 4px; top: 50%; margin-top: -0.6em; }
.sh-blabel { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.sh-btn.pressed { background: #3d8bfd; }
.sh-btn.ok { -webkit-box-shadow: inset 0 0 0 2px #3fb950; box-shadow: inset 0 0 0 2px #3fb950; }
.sh-btn.err { -webkit-box-shadow: inset 0 0 0 2px #e5534b; box-shadow: inset 0 0 0 2px #e5534b; }
.sh-vform { position: absolute; left: 12px; right: 12px; top: 44px; height: 52px; }
.sh-vin {
  position: absolute; left: 0; right: 124px; top: 0; height: 52px; padding: 0 12px; font-size: 17px;
  background: #0b0f14; color: #fff; border: 1px solid #2a3746; border-radius: 10px; font-family: inherit;
  -webkit-user-select: text; user-select: text;
}
.sh-vmic, .sh-vsend { position: absolute; top: 0; width: 56px; height: 52px; border-radius: 10px; text-align: center; padding-top: 11px; }
.sh-vmic { right: 62px; background: #243142; }
.sh-vmic.on { background: #b62324; }
.sh-vsend { right: 0; background: #2f6fd0; }
.sh-vsend.busy { opacity: 0.4; }
.sh-vmic svg.ic, .sh-vsend svg.ic { width: 28px; height: 28px; }
.sh-vmic.pressed, .sh-vsend.pressed { -webkit-transform: scale(0.94); transform: scale(0.94); }
.sh-said { position: absolute; left: 12px; right: 12px; top: 104px; font-size: 15px; color: #9fb3c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-said.ok { color: #7ee2a8; }
.sh-said.err { color: #ff9c94; }
.sh-hints { position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 13px; color: #6e7f91; overflow: hidden; max-height: 3em; line-height: 1.5em; }

svg.ic .p-sun { fill: #f7b928; }
svg.ic .p-moon { fill: #e8dfb0; }
svg.ic .p-cloud { fill: #dfe7ef; }
svg.ic .p-cloud2 { fill: #8d9cad; }
svg.ic .p-rain { fill: #4aa3ff; }
svg.ic .p-snow { fill: #ffffff; }
svg.ic .p-bolt { fill: #ffd43b; }
svg.ic .p-fog { fill: #9fb3c8; }
.sh-glyph { position: absolute; right: 12px; top: 36px; width: 64px; height: 64px; }
.sh-glyph svg.ic { width: 100%; height: 100%; }
.sh-has-glyph .sh-big, .sh-has-glyph .sh-sub, .sh-has-glyph .sh-text, .sh-has-glyph .sh-status { right: 90px; }
.sh-ricon { float: left; width: 30px; height: 30px; margin: 1px 10px 0 0; }
.sh-ricon svg.ic { width: 30px; height: 30px; }
.sh-row.has-icon .sh-rbar { margin-left: 40px; }
.sh-sicon { position: absolute; left: 12px; top: 58px; width: 28px; height: 28px; margin-top: -4px; padding-top: 4px; }
.sh-sicon svg.ic { width: 28px; height: 28px; }
.sh-has-glyph .sh-track { left: 54px; }
.w-shape.sh-compact .w-head { height: 28px; line-height: 24px; }
.w-shape.sh-compact .w-title { margin-right: 55%; }
.w-shape.sh-compact .sh-big { top: 7px; left: auto; right: 12px; max-width: 55%; text-align: right; font-size: 22px !important; line-height: 26px; }
.w-shape.sh-compact .sh-has-glyph .sh-big { right: 46px; }
.w-shape.sh-compact .sh-sub { display: none !important; }
.w-shape.sh-compact .sh-bar { bottom: 6px; height: 5px; }
.w-shape.sh-compact .sh-glyph { top: 6px; right: 12px; width: 28px !important; height: 28px !important; }
.w-shape.sh-compact .sh-text, .w-shape.sh-compact .sh-status { top: 30px; }
.w-shape.sh-compact .sh-has-glyph .sh-text, .w-shape.sh-compact .sh-has-glyph .sh-status { right: 12px; }
.w-shape.sh-compact .sh-sval { top: 6px; height: 26px; line-height: 26px; font-size: 18px !important; }
.w-shape.sh-compact .sh-track { top: 30px; height: 26px; margin-top: 0; left: 18px; right: 18px; }
.w-shape.sh-compact .sh-has-glyph .sh-track { left: 44px; }
.w-shape.sh-compact .sh-track:before, .w-shape.sh-compact .sh-tfill { top: 9px; height: 8px; }
.w-shape.sh-compact .sh-knob { top: 1px; width: 24px; height: 24px; margin-left: -12px; }
.w-shape.sh-compact .sh-sicon { top: 32px; width: 22px; height: 22px; padding: 0; margin: 0; }
.w-shape.sh-compact .sh-sicon svg.ic { width: 22px; height: 22px; }
.sh-list { top: 48px; }
.sh-row { padding: 8px 12px; border-radius: 8px; margin-bottom: 4px; background: #1d2835; }
.sh-row.tap.pressed { background: #26354a; }
.sh-row.ok { -webkit-box-shadow: inset 4px 0 0 #3fb950; box-shadow: inset 4px 0 0 #3fb950; }
.sh-row.err { -webkit-box-shadow: inset 4px 0 0 #e5534b; box-shadow: inset 4px 0 0 #e5534b; }
.sh-rtop { white-space: nowrap; overflow: hidden; }
.sh-rtitle { display: block; font-weight: bold; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.sh-rright { float: right; margin-left: 10px; font-weight: bold; font-size: 15px; color: #c9d6e3; }
.sh-rsub { font-size: 13px; color: #9fb3c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.sh-rbar { height: 6px; margin-top: 6px; background: #0b0f14; border-radius: 3px; overflow: hidden; }
.sh-rbar i { display: block; height: 100%; background: #3d8bfd; }
.sh-rbar.ok i { background: #3fb950; }
.sh-rbar.warn i { background: #d29922; }
.sh-rbar.hot i { background: #e5534b; }
.sh-sval { position: absolute; right: 12px; top: 10px; font-weight: bold; line-height: 34px; height: 34px; font-size: 20px; }
.sh-track { position: absolute; left: 24px; right: 24px; top: 58px; height: 36px; margin-top: -4px; }
.sh-track:before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 10px; border-radius: 5px; background: #0b0f14; }
.sh-tfill { position: absolute; left: 0; top: 13px; height: 10px; width: 0; border-radius: 5px; background: #3d8bfd; }
.sh-knob { position: absolute; top: 2px; width: 32px; height: 32px; margin-left: -16px; border-radius: 50%; background: #e6edf3; -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.sh-track.on .sh-knob { background: #3d8bfd; }

.w-np { padding: 0 !important; }
.np-art { position: absolute; border-radius: 10px; overflow: hidden; background: #0b0f14; }
.np-art img { display: none; width: 100%; height: 100%; }
.np-art-ph { width: 100%; height: 100%; text-align: center; padding: 26%; }
.np-art-ph svg.ic { width: 100%; height: 100%; fill: #2a3746; }
.np-info { position: absolute; top: 12px; bottom: 88px; overflow: hidden; }
.np-src { font-size: 0.75em; font-weight: bold; color: #8b9bab; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-title {
  font-size: 1.45em; font-weight: bold; margin-top: 0.3em; line-height: 1.2; max-height: 2.4em; overflow: hidden; word-wrap: break-word;
}
.np-artist { color: #b6c4d2; font-size: 1em; margin-top: 0.25em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-seek { padding: 0.6em 0 0.45em; }
.np-prog { height: 6px; background: #0b0f14; border-radius: 3px; overflow: hidden; }
.np-prog i { display: block; height: 100%; width: 0; background: #e8eef4; }
.np-times { font-size: 0.75em; color: #8b9bab; margin-top: 4px; height: 1.2em; }
.np-ctr { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 64px; text-align: center; white-space: nowrap; }
.np-btn {
  display: inline-block; width: 19%; max-width: 92px; height: 64px; margin: 0 1%; border-radius: 12px; background: #243142;
  text-align: center; padding-top: 12px; vertical-align: top;
  -webkit-transition: -webkit-transform 0.08s; transition: transform 0.08s;
}
.np-btn svg.ic { width: 40px; height: 40px; }
.np-btn.np-play { background: #e8eef4; }
.np-btn.np-play svg.ic { fill: #0b0f14; }
.np-btn.pressed { -webkit-transform: scale(0.92); transform: scale(0.92); background: #3d8bfd; }
.np-btn.np-vol { width: 13%; background: #18212c; border: 1px solid #2a3746; }
.np-novol .np-ctr .np-btn { width: 30%; max-width: 120px; }
.np-compact .np-ctr { height: 50px; }
.np-compact .np-btn { height: 50px; padding-top: 7px; }
.np-compact .np-btn svg.ic { width: 34px; height: 34px; }
.np-compact .np-title { font-size: 1.2em; max-height: 1.25em; }
.np-compact .np-times { display: none; }
.np-seek.can .np-prog { height: 9px; }
.np-tall .np-title { font-size: 1.3em; }
.np-ctr2 { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; text-align: center; white-space: nowrap; }
.np-btn.np-opt {
  width: auto; max-width: none; height: 38px; padding: 7px 10px 0; background: #18212c; border: 1px solid #2a3746;
  font-size: 12px; font-weight: bold; letter-spacing: 1px; color: #b6c4d2;
}
.np-btn.np-opt svg.ic { width: 20px; height: 20px; vertical-align: -5px; }
.np-btn.np-opt span { margin-left: 5px; }
.np-btn.on { border-color: #3d8bfd; background: #1f3b63; color: #fff; }
.np-btn.off { opacity: 0.3; }
.np-vollabel { display: inline-block; vertical-align: top; height: 38px; line-height: 38px; margin-left: 6px; font-size: 13px; font-weight: bold; color: #9fb3c8; min-width: 72px; }

.badge { display: inline-block; font-size: 12px; font-weight: bold; padding: 4px 8px; border-radius: 6px; margin-left: 4px; background: #2a3746; }
.badge.pr { background: #213a5c; }
.badge.is { background: #3a3220; }
.badge.good { background: #1e5631; }
.badge.bad { background: #8b1d1d; }
.badge.run { background: #6b5214; }

.voice-file { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }

.chat-tools { white-space: nowrap; }
.w-head .chat-tools .sbtn { position: static; display: inline-block; vertical-align: top; margin-left: 6px; }
.chat-model {
  height: 30px; font-size: 14px; max-width: 280px; background: #0b0f14; color: #fff;
  border: 1px solid #2a3746; border-radius: 8px; padding: 0 6px; vertical-align: top;
}
.chat-model-label { font-size: 13px; color: #8b9bab; vertical-align: top; margin-right: 4px; }
.chat-narrow .chat-model-label, .chat-narrow .chat-tools .sbtn span { display: none; }
.w-chat .w-title { margin-right: 360px; }
.chat-log {
  position: absolute; left: 10px; right: 10px; top: 48px; bottom: 76px; overflow: auto; -webkit-overflow-scrolling: touch;
  background: #0f151c; border-radius: 10px; padding: 10px;
}
.msg { max-width: 86%; padding: 10px 13px; border-radius: 12px; margin-bottom: 8px; font-size: 16px; line-height: 1.45; word-wrap: break-word; -webkit-user-select: text; user-select: text; }
.msg.user { margin-left: auto; background: #1f4f8f; text-align: left; }
.msg.assistant { background: #1d2835; }
.msg.error { background: #4d1717; color: #ffc9c4; }
.msg pre.code {
  background: #0b0f14; border-radius: 6px; padding: 8px; margin: 6px 0; font-family: "Droid Sans Mono", Consolas, monospace;
  font-size: 13px; white-space: pre-wrap; word-wrap: break-word;
}
.msg code { font-family: "Droid Sans Mono", Consolas, monospace; background: #0b0f14; padding: 1px 4px; border-radius: 4px; font-size: 0.9em; }
.msg.typing i {
  display: inline-block; width: 9px; height: 9px; border-radius: 5px; background: #8b9bab; margin-right: 5px;
  -webkit-animation: blink 1.2s infinite; animation: blink 1.2s infinite;
}
.msg.typing i:nth-child(2) { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; }
.msg.typing i:nth-child(3) { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; }
@-webkit-keyframes blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
.chat-form {
  position: absolute; left: 10px; right: 10px; bottom: 10px; height: 58px; padding-right: 74px;
  -webkit-box-sizing: border-box; box-sizing: border-box;
}
.chat-input {
  display: block; width: 100%; height: 58px; margin: 0; padding: 8px 12px; font-size: 16px; resize: none;
  -webkit-box-sizing: border-box; box-sizing: border-box;
  background: #0b0f14; color: #fff; border: 1px solid #2a3746; border-radius: 10px; font-family: inherit;
  -webkit-user-select: text; user-select: text;
}
.chat-send { position: absolute; right: 0; top: 0; width: 66px; height: 58px; border-radius: 10px; background: #2f6fd0; text-align: center; padding-top: 13px; }
.chat-send svg.ic { width: 30px; height: 30px; }
.chat-send.busy { opacity: 0.4; }
.chat-send.pressed { -webkit-transform: scale(0.94); transform: scale(0.94); }

.w-clock { text-align: center; }
.clk-time { font-family: "VDClockClassic", Roboto, "Segoe UI", sans-serif; font-size: 80px; font-weight: normal; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.clk-date { font-size: 18px; color: #9fb3c8; text-transform: capitalize; margin-top: 0.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.w-queue .w-list { top: 48px; }
.q-row { padding: 9px 12px; border-radius: 8px; margin-bottom: 4px; background: #1d2835; }
.q-row.current { background: #1f3b63; -webkit-box-shadow: inset 4px 0 0 #3d8bfd; box-shadow: inset 4px 0 0 #3d8bfd; }
.q-row.pressed { background: #26354a; }
.q-row.busy { opacity: 0.5; }
.q-title { font-weight: bold; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-title svg.ic { width: 16px; height: 16px; margin-right: 4px; vertical-align: -2px; }
.q-artist { font-size: 13px; color: #9fb3c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

.msg.queued { opacity: 0.7; }
.msg .tool { display: inline-block; font-size: 12px; color: #8b9bab; background: #0b0f14; border-radius: 6px; padding: 1px 6px; margin: 2px 0; }

@media (max-width: 860px) {
  #mini { display: none; }
  #page-title { margin: 0 25%; }
  .w-chat .w-title { margin-right: 300px; }
  .chat-model { max-width: 200px; }
  .np-btn.np-opt span { display: none; }
}

.noav { display: inline-block; background: #4752c4; color: #fff; text-align: center; font-weight: bold; line-height: 38px; font-size: 16px; }
@-webkit-keyframes dcblink { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
@keyframes dcblink { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }




.saver { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 900; background: #000; }
.saver.hidden { display: none; }
.saver.waking { background: transparent; }
.saver.waking .saver-clock, .saver.waking .saver-hint { display: none; }
@font-face { font-family: "VDClockClassic"; src: url("../fonts/clock-classic.ttf") format("truetype"); }
.saver-clock { position: absolute; font-family: "VDClockClassic", Roboto, "Segoe UI", sans-serif; font-size: 104px; font-weight: normal; line-height: 1; letter-spacing: 2px; color: #3c4c5e; white-space: nowrap; }
.saver-hint { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; letter-spacing: 2px; color: #1c242d; text-transform: uppercase; }




.gg-sec { font-size: 12px; font-weight: bold; letter-spacing: 1px; color: #6cb6ff; margin: 14px 4px 6px; }
.gg-sec:first-child { margin-top: 2px; }
.gg-note { font-size: 13px; color: #8b9bab; margin: 0 4px 8px; }
.gg-row { background: #1d2835; border-radius: 10px; padding: 9px 12px; margin-bottom: 6px; border-left: 4px solid #3d8bfd; }
.gg-row code { display: block; font-family: Consolas, "DejaVu Sans Mono", monospace; font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gg-row span { display: block; font-size: 14px; color: #b6c4d2; margin-top: 3px; line-height: 1.35; }
.gg-row.warn { border-left-color: #d29922; }
.gg-row.danger { border-left-color: #e5534b; background: #2a1c1f; }
.gg-row.danger code { color: #ff9c94; }
