[v-cloak] {
  display: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #04070d;
}

body.screen-body {
  overflow: auto;
  color: #d7f4ff;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(28, 96, 145, 0.24), transparent 60%),
    radial-gradient(900px 600px at 90% 110%, rgba(18, 130, 130, 0.14), transparent 60%),
    #04070d;
}

#screenApp {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: block;
  overflow: auto;
}

.screen-shell {
  position: relative;
  width: 100%;
  max-width: 1600px;
  min-width: 0;
  margin: 0 auto;
  height: auto;
  min-height: 100vh;
  padding: 18px 24px 26px;
  background:
    linear-gradient(rgba(76, 170, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 170, 255, 0.035) 1px, transparent 1px),
    radial-gradient(1000px 620px at 50% 40%, rgba(16, 64, 102, 0.28), transparent 70%),
    linear-gradient(180deg, #050b13, #03060b);
  background-size: 52px 52px, 52px 52px, auto, auto;
  border: 1px solid rgba(90, 190, 255, 0.18);
  box-shadow: 0 0 80px rgba(40, 130, 220, 0.12), inset 0 0 120px rgba(20, 90, 150, 0.08);
}

.screen-shell::before,
.screen-shell::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  pointer-events: none;
  border-color: rgba(90, 190, 255, 0.6);
  border-style: solid;
}

.screen-shell::before {
  left: 10px;
  top: 10px;
  border-width: 2px 0 0 2px;
}

.screen-shell::after {
  right: 10px;
  bottom: 10px;
  border-width: 0 2px 2px 0;
}

.screen-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
}

.top-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.title-en {
  display: block;
  margin-bottom: 4px;
  color: rgba(90, 190, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-shadow: 0 0 14px rgba(90, 190, 255, 0.5);
}

.top-title h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.18em;
  background: linear-gradient(120deg, #e8fbff, #7fd4ff 45%, #b7f7e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(80, 180, 255, 0.35));
}

.title-line {
  width: 340px;
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, #5db9ff, #7ff0dc, #5db9ff, transparent);
  box-shadow: 0 0 18px rgba(90, 190, 255, 0.7);
}

.top-wing {
  position: absolute;
  top: 26px;
  width: 420px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(90, 190, 255, 0.5));
}

.top-wing.left {
  left: 40px;
}

.top-wing.right {
  right: 40px;
  transform: scaleX(-1);
}

.screen-back {
  position: absolute;
  left: 40px;
  top: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(90, 190, 255, 0.4);
  border-radius: 6px;
  color: #d9f6ff;
  background: rgba(12, 42, 66, 0.5);
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 0 16px rgba(90, 190, 255, 0.15);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.screen-back:hover {
  background: rgba(30, 90, 140, 0.6);
  box-shadow: 0 0 24px rgba(90, 190, 255, 0.35);
  transform: translateY(-1px);
}

.top-meta {
  position: absolute;
  right: 44px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.screen-time {
  padding: 7px 14px;
  border: 1px solid rgba(90, 190, 255, 0.3);
  border-radius: 6px;
  color: #9fe6ff;
  background: rgba(12, 42, 66, 0.45);
  font-family: "Consolas", monospace;
  font-size: 15px;
  letter-spacing: 1px;
  box-shadow: 0 0 16px rgba(90, 190, 255, 0.15);
}

.screen-btn {
  padding: 8px 16px;
  border: 1px solid rgba(90, 190, 255, 0.45);
  border-radius: 6px;
  color: #d9f6ff;
  background: linear-gradient(180deg, rgba(90, 190, 255, 0.16), rgba(90, 190, 255, 0.04));
  cursor: pointer;
  font-size: 13px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.screen-btn:hover {
  box-shadow: 0 0 22px rgba(90, 190, 255, 0.35);
  transform: translateY(-1px);
}

.screen-main {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 330px;
  gap: 18px;
  height: auto;
  min-height: 620px;
  min-width: 0;
  margin-top: 8px;
}

.screen-left,
.screen-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.glass-card {
  position: relative;
  min-height: 0;
  padding: 14px 16px;
  border: 1px solid rgba(90, 190, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(16, 48, 74, 0.42), rgba(6, 16, 28, 0.58));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(180, 230, 255, 0.08), 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #5db9ff, #7ff0dc, transparent);
  opacity: 0.7;
}

.glass-card:hover {
  border-color: rgba(90, 190, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(180, 230, 255, 0.12), 0 0 28px rgba(70, 170, 255, 0.16);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(90, 190, 255, 0.16);
}

.card-head span {
  color: #c9f3ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card-head i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(90, 190, 255, 0.45), transparent);
}

.chart {
  width: 100%;
  height: 180px;
}

.ring-chart {
  height: 118px;
}

.gauge-chart {
  height: 118px;
}

.radar-chart {
  height: 142px;
}

.flip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid rgba(90, 190, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 24, 40, 0.4);
}

.flip-label {
  flex: 0 0 54px;
  color: #7fd4ff;
  font-size: 12px;
  font-weight: 700;
}

.flip-nums {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.flip-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 30px;
  border: 1px solid rgba(120, 210, 255, 0.45);
  border-radius: 4px;
  color: #eafcff;
  background: linear-gradient(180deg, rgba(30, 90, 140, 0.6), rgba(8, 30, 52, 0.8));
  font-family: "Consolas", monospace;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 10px rgba(90, 190, 255, 0.12);
}

.flip-num.back {
  border-color: rgba(127, 240, 220, 0.5);
  color: #c8fff2;
}

.flip-plus {
  color: #5db9ff;
  font-weight: 800;
}

.rank-table {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 9px;
  border: 1px solid rgba(90, 190, 255, 0.1);
  border-radius: 6px;
  background: rgba(10, 32, 54, 0.34);
  color: #a9dfff;
  font-size: 12px;
}

.rank-row.head {
  color: #5db9ff;
  background: rgba(40, 120, 190, 0.12);
}

.rank-row b {
  color: #7ff0dc;
  font-family: "Consolas", monospace;
  font-size: 14px;
}

.rank-empty {
  padding: 18px 0;
  color: #5f8ba5;
  font-size: 12px;
  text-align: center;
}

.overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.overview-item {
  padding: 10px;
  border: 1px solid rgba(90, 190, 255, 0.14);
  border-radius: 8px;
  background: rgba(10, 32, 54, 0.35);
}

.overview-item span {
  display: block;
  margin-bottom: 6px;
  color: #6fa8c8;
  font-size: 11px;
}

.overview-item b {
  color: #d9f6ff;
  font-family: "Consolas", monospace;
  font-size: 18px;
  text-shadow: 0 0 14px rgba(90, 190, 255, 0.4);
}

.screen-center {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.earth-wrap {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 1px solid rgba(90, 190, 255, 0.16);
  border-radius: 12px;
  background: radial-gradient(600px 420px at 50% 50%, rgba(20, 80, 130, 0.18), transparent 70%);
  overflow: hidden;
}

.earth-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: fill;
}

.earth-hud {
  position: absolute;
  left: 16px;
  top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.earth-hud span {
  color: rgba(127, 240, 220, 0.75);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.earth-hud b {
  color: #d9f6ff;
  font-size: 15px;
  text-shadow: 0 0 14px rgba(90, 190, 255, 0.5);
}

.screen-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
  color: rgba(110, 180, 220, 0.55);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.screen-detail {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
  min-width: 0;
  margin-top: 14px;
}

.history-table,
.prize-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
}

.history-row,
.prize-row {
  display: grid;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(90, 190, 255, 0.1);
  border-radius: 5px;
  background: rgba(10, 32, 54, 0.3);
  color: #9fc9e2;
  font-size: 11px;
}

.history-row {
  grid-template-columns: 64px 1fr 82px;
}

.prize-row {
  grid-template-columns: 1fr 54px 84px;
}

.history-row.head,
.prize-row.head {
  color: #5db9ff;
  background: rgba(40, 120, 190, 0.14);
}

.history-nums {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d9f6ff;
  font-family: "Consolas", monospace;
}

.prize-row b {
  color: #7ff0dc;
  font-family: "Consolas", monospace;
}

.prize-row i {
  color: #f0d694;
  font-style: normal;
  font-family: "Consolas", monospace;
  text-align: right;
}

.hot-cold {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hot-cold-block {
  padding: 8px;
  border: 1px solid rgba(90, 190, 255, 0.12);
  border-radius: 7px;
  background: rgba(8, 26, 46, 0.38);
}

.hot-cold-block > span {
  display: block;
  margin-bottom: 8px;
  color: #6fa8c8;
  font-size: 11px;
  font-weight: 700;
}

.hot-cold-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.hot-cold-nums em {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(120, 210, 255, 0.4);
  border-radius: 50%;
  color: #eafcff;
  background: linear-gradient(180deg, rgba(30, 90, 140, 0.6), rgba(8, 30, 52, 0.8));
  font-family: "Consolas", monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.hot-cold-nums.cold em {
  border-color: rgba(127, 240, 220, 0.35);
  color: #c8fff2;
}

.screen-ticker {
  display: flex;
  align-items: center;
  height: 34px;
  margin-top: 8px;
  border: 1px solid rgba(90, 190, 255, 0.18);
  border-radius: 6px;
  background: rgba(6, 20, 34, 0.55);
  overflow: hidden;
}

.ticker-tag {
  flex: 0 0 auto;
  padding: 0 12px;
  border-right: 1px solid rgba(90, 190, 255, 0.2);
  color: #7ff0dc;
  background: rgba(90, 190, 255, 0.08);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ticker-text {
  flex: 1;
  padding: 0 14px;
  white-space: nowrap;
  overflow: hidden;
  color: #8fc8e8;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
}

.bottom-stats {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bottom-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(90, 190, 255, 0.14);
  border-radius: 6px;
  background: rgba(10, 32, 54, 0.32);
}

.bottom-stat span {
  color: #6fa8c8;
  font-size: 10px;
}

.bottom-stat b {
  color: #7ff0dc;
  font-family: "Consolas", monospace;
  font-size: 12px;
}

.bottom-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

@media (max-width: 1300px) {
  .top-wing {
    width: 260px;
  }

  .screen-main {
    grid-template-columns: 280px minmax(0, 1fr) 280px;
  }

  .screen-detail {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 1200px) {
  body.screen-body {
    overflow: auto;
  }

  .screen-shell {
    width: 100%;
    padding: 14px;
  }

  .screen-main,
  .screen-detail {
    grid-template-columns: 1fr;
  }

  .earth-wrap {
    height: 460px;
    min-height: 460px;
  }
}
