* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #000000;
  background: #ffffff;
  font-family: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  font-size: 25px;
}

.kindle-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 758px;
  height: 100%;
  overflow: hidden;
  background: #ffffff url("/static/kindle/assets/dither-tile.png") repeat;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.topbar {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  padding: 8px 18px 7px;
  border-top: 7px solid #000000;
  border-bottom: 3px double #000000;
  background: #ffffff;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.topbar-brand,
.console-brand,
.command-row,
.notice-title-lockup {
  min-width: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.topbar-emblem {
  width: 53px;
  height: 53px;
  margin-right: 10px;
  padding: 4px;
  border: 3px solid #000000;
  background: #ffffff;
}

.topbar-emblem img {
  display: block;
  width: 41px;
  height: 41px;
}

.topbar h1,
.noticeboard-heading h2,
.fear-panel h2,
.section-title-row h2 {
  margin: 0;
  font-weight: 900;
  line-height: 1;
}

.topbar h1 {
  max-width: 430px;
  overflow: hidden;
  font-size: 32px;
  letter-spacing: 1px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eyebrow,
.section-kicker {
  display: block;
  margin: 0 0 4px;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1px;
}

.topbar-status {
  width: 190px;
  font-size: 23px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.page-code {
  display: block;
  margin-bottom: 5px;
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
}

.link-state {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connection-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  border: 3px solid #000000;
  background: #ffffff;
  vertical-align: 1px;
}

.connection-dot.is-online {
  background: #000000;
}

.stale-banner {
  position: absolute;
  z-index: 5;
  top: 92px;
  right: 18px;
  width: 410px;
  height: 44px;
  padding: 7px 12px;
  border: 4px double #000000;
  background: #ffffff url("/static/kindle/assets/dither-tile.png") repeat;
  font-size: 23px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}

.view-container {
  position: absolute;
  top: 84px;
  right: 0;
  bottom: 86px;
  left: 0;
  padding: 9px 16px 8px;
  overflow: hidden;
  background: #eeeeee url("/static/kindle/assets/dither-tile.png") repeat;
}

.view {
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.view.is-active {
  display: block;
}

.hero-card,
.quota-card,
.fear-panel,
.notice-item,
.empty-state,
.image-frame {
  border: 3px solid #000000;
  border-bottom-width: 7px;
  background: #ffffff;
}

.codex-hero {
  height: 178px;
  padding: 8px 14px 6px;
  overflow: hidden;
  color: #ffffff;
  background: #000000;
}

.card-heading-row,
.section-title-row,
.task-meta,
.image-caption,
.noticeboard-heading,
.quota-heading {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.console-brand img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border: 3px solid #ffffff;
  background: #ffffff;
}

.section-kicker-light {
  color: #ffffff;
}

.status-stamp {
  min-width: 104px;
  padding: 4px 8px;
  border: 3px solid #ffffff;
  color: #000000;
  background: #ffffff;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.status-stamp.is-running,
.status-stamp.is-waiting,
.status-stamp.is-failed {
  color: #ffffff;
  background: #000000;
}

.status-stamp.is-running {
  border-style: double;
  border-width: 5px;
}

.status-stamp.is-waiting {
  border-style: dashed;
}

.status-stamp.is-failed {
  border-style: dashed;
}

.command-row {
  height: 47px;
  margin-top: 1px;
}

.command-prompt {
  width: 50px;
  margin-right: 6px;
  font-family: "Courier New", monospace;
  font-size: 34px;
  font-weight: 900;
}

.task-title {
  height: 46px;
  margin: 0;
  overflow: hidden;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.02;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.console-rule {
  height: 20px;
  border-top: 2px solid #ffffff;
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 900;
  line-height: 19px;
  text-align: right;
}

.console-rule span {
  padding-left: 8px;
  background: #000000;
}

.task-meta {
  height: 24px;
  overflow: hidden;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.task-meta span {
  max-width: 57%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quota-row {
  height: 105px;
  margin-top: 8px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.quota-card {
  width: 50%;
  padding: 5px 11px 3px;
  overflow: hidden;
}

.quota-card:first-child {
  margin-right: 8px;
}

.quota-heading .section-kicker {
  margin: 0;
}

.quota-code {
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 900;
}

.quota-card strong {
  display: block;
  margin-top: 1px;
  font-size: 35px;
  line-height: 1;
}

.fear-meter {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.quota-note {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  font-size: 23px;
  line-height: 1;
  white-space: nowrap;
}

.list-section {
  margin-top: 7px;
}

.section-title-row {
  height: 39px;
  padding: 0 4px;
  border-top: 3px solid #000000;
  border-bottom: 3px solid #000000;
  background: #ffffff;
}

.section-title-row h2 {
  font-family: "Courier New", monospace;
  font-size: 25px;
}

.section-title-row span {
  font-size: 22px;
  font-weight: 900;
}

.task-list {
  padding-top: 4px;
}

.task-row {
  height: 64px;
  padding: 5px 7px;
  border-right: 3px solid #000000;
  border-bottom: 2px solid #777777;
  border-left: 3px solid #000000;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.task-row:last-child {
  border-bottom: 3px solid #000000;
}

.task-row-index {
  width: 62px;
  font-family: "Courier New", monospace;
  font-size: 24px;
  font-weight: 900;
}

.task-row-index:before {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 4px;
  border: 2px solid #000000;
  content: "";
}

.task-row.is-running .task-row-index:before,
.task-row.is-completed .task-row-index:before {
  background: #000000;
}

.task-row.is-failed .task-row-index:before {
  border-style: double;
  border-width: 4px;
}

.task-row.is-selected {
  padding-left: 1px;
  border-left-width: 9px;
  background: #e5e5e5;
}

.task-row-main {
  min-width: 0;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.task-row-title,
.task-row-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-row-title {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.05;
}

.task-row-meta {
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.05;
}

.task-row-status {
  width: 88px;
  margin-left: 6px;
  font-size: 22px;
  font-weight: 900;
  text-align: right;
}

.empty-state {
  min-height: 82px;
  padding: 22px 16px;
  font-size: 25px;
  font-weight: 900;
  text-align: center;
}

.list-pager {
  height: 50px;
  margin-top: 4px;
  border-top: 3px solid #000000;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.list-pager button {
  width: 176px;
  height: 48px;
  border: 3px solid #000000;
  border-radius: 0;
  color: #000000;
  background: #ffffff;
  font-size: 23px;
  font-weight: 900;
}

.list-pager button:disabled {
  color: #999999;
  border-color: #999999;
}

.list-pager span {
  font-size: 23px;
  font-weight: 900;
}

.image-view {
  position: relative;
  padding-top: 40px;
}

.archive-plate {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 35px;
  padding: 4px 10px;
  border: 3px solid #000000;
  color: #ffffff;
  background: #000000;
  font-family: "Courier New", monospace;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.image-frame {
  position: absolute;
  top: 40px;
  right: 0;
  bottom: 47px;
  left: 0;
  padding: 22px;
  overflow: hidden;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

#display-image {
  display: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#display-image.is-visible {
  display: block;
}

.frame-corner {
  position: absolute;
  width: 50px;
  height: 50px;
}

.frame-corner-tl {
  top: 10px;
  left: 10px;
  border-top: 7px double #000000;
  border-left: 7px double #000000;
}

.frame-corner-tr {
  top: 10px;
  right: 10px;
  border-top: 7px double #000000;
  border-right: 7px double #000000;
}

.frame-corner-bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 7px double #000000;
  border-left: 7px double #000000;
}

.frame-corner-br {
  right: 10px;
  bottom: 10px;
  border-right: 7px double #000000;
  border-bottom: 7px double #000000;
}

.frame-spine {
  position: absolute;
  top: 22%;
  left: 8px;
  width: 8px;
  height: 42px;
  background: #000000;
}

.frame-spine-two {
  top: 47%;
}

.frame-spine-three {
  top: 72%;
}

.image-empty {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin-top: -100px;
  font-size: 25px;
  text-align: center;
}

.image-empty span,
.image-empty strong {
  display: block;
}

.image-empty img {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
}

.image-caption {
  position: absolute;
  right: 2px;
  bottom: 0;
  left: 2px;
  height: 41px;
  padding: 4px 10px;
  border-top: 3px solid #000000;
  border-bottom: 3px solid #000000;
  background: #ffffff;
  font-size: 23px;
  font-weight: 900;
}

.caption-divider {
  margin: 0 auto;
}

.fear-panel {
  position: relative;
  height: 132px;
  padding: 10px 18px 27px;
  overflow: hidden;
  color: #ffffff;
  background: #000000;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.fear-copy {
  width: 370px;
}

.fear-panel h2 {
  font-size: 37px;
}

.fear-caption {
  display: block;
  margin-top: 5px;
  font-size: 23px;
  font-weight: 800;
}

.fear-panel strong {
  margin-left: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  line-height: 1;
}

.fear-limit {
  -webkit-align-self: center;
  align-self: center;
  margin: 32px 0 0 7px;
  font-size: 27px;
  font-weight: 900;
}

.fear-meter {
  position: absolute;
  right: 18px;
  bottom: 9px;
  left: 18px;
  height: 16px;
}

.fear-meter span {
  height: 16px;
  margin-right: 6px;
  border: 2px solid #ffffff;
  background: #000000;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.fear-meter span:last-child {
  margin-right: 0;
}

.fear-meter span.is-filled {
  background: #ffffff;
}

.noticeboard-heading {
  height: 68px;
  margin-top: 7px;
  padding: 6px 7px;
  border-top: 4px double #000000;
  border-bottom: 4px double #000000;
  background: #ffffff;
}

.compatible-mark {
  width: 132px;
  height: auto;
  margin-right: 10px;
}

.noticeboard-heading h2 {
  font-size: 29px;
}

.notice-title-lockup .section-kicker {
  font-size: 22px;
}

.notice-heading-meta {
  text-align: right;
}

.notice-heading-meta span,
.notice-heading-meta a {
  display: block;
}

.notice-heading-meta span {
  font-size: 24px;
  font-weight: 900;
}

.notice-heading-meta a {
  margin-top: 3px;
  color: #000000;
  font-size: 21px;
  font-weight: 900;
  text-decoration: underline;
  white-space: nowrap;
}

.notice-list {
  padding-top: 5px;
}

.notice-item {
  position: relative;
  height: 68px;
  margin-bottom: 3px;
  padding: 4px 116px 4px 54px;
  overflow: hidden;
}

.notice-number {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 44px;
  padding-top: 19px;
  border-right: 3px solid #000000;
  background: #eeeeee url("/static/kindle/assets/dither-tile.png") repeat;
  font-family: "Courier New", monospace;
  font-size: 23px;
  font-weight: 900;
  text-align: center;
}

.notice-item h3 {
  margin: 0;
  overflow: hidden;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-item p {
  height: 25px;
  margin: 2px 0 0;
  overflow: hidden;
  font-size: 22px;
  line-height: 1.04;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-status {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 96px;
  padding: 5px 3px;
  border: 4px double #000000;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

.notice-item.is-completed h3,
.notice-item.is-completed p {
  color: #666666;
  text-decoration: line-through;
}

.notice-item.is-completed .notice-status {
  color: #ffffff;
  background: #000000;
}

.notice-empty {
  margin-top: 12px;
}

.bottom-tabs {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 86px;
  border-top: 5px solid #000000;
  background: #ffffff;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}

.bottom-tab {
  position: relative;
  height: 81px;
  border-right: 3px solid #000000;
  color: #000000;
  background: #ffffff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.bottom-tab:last-child {
  border-right: 0;
}

.bottom-tab.is-active {
  color: #ffffff;
  background: #000000;
}

.tab-icon-wrap {
  width: 46px;
  height: 46px;
  margin-right: 7px;
  padding: 3px;
  border: 3px solid #000000;
  background: #ffffff;
}

.bottom-tab.is-active .tab-icon-wrap {
  border-color: #ffffff;
}

.tab-icon {
  display: block;
  width: 34px;
  height: 34px;
}

.tab-label {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab-code {
  position: absolute;
  top: 4px;
  right: 7px;
  font-family: "Courier New", monospace;
  font-size: 21px;
}

.eink-flash {
  display: none;
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000000;
}

.eink-flash.is-white {
  display: block;
  background: #ffffff;
}

.eink-flash.is-black {
  display: block;
  background: #000000;
}

.diagnostics-body {
  overflow: auto;
}

.diagnostics-page {
  width: 758px;
  min-height: 100%;
  padding: 30px;
  background: #ffffff;
}

.diagnostics-page h1 {
  margin: 8px 0 20px;
  padding-bottom: 12px;
  border-bottom: 5px solid #000000;
  font-size: 48px;
}

.diagnostics-help {
  font-size: 26px;
  line-height: 1.35;
}

.diagnostics-list {
  margin: 25px 0;
  border: 3px solid #000000;
  border-bottom-width: 7px;
}

.diagnostics-list dt,
.diagnostics-list dd {
  min-height: 60px;
  margin: 0;
  padding: 12px;
  border-bottom: 2px solid #777777;
  font-size: 24px;
}

.diagnostics-list dt {
  width: 210px;
  float: left;
  clear: left;
  font-weight: 900;
}

.diagnostics-list dd {
  margin-left: 210px;
  overflow-wrap: break-word;
}

.diagnostics-back {
  display: block;
  min-height: 80px;
  padding: 23px;
  border: 4px solid #000000;
  color: #ffffff;
  background: #000000;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}
