:root {
  color-scheme: dark;
  --bg: #020b15;
  --bg-soft: #061323;
  --panel: #07192c;
  --panel-2: #0b2037;
  --panel-3: #102b47;
  --line: #1c4a78;
  --line-soft: rgba(73, 142, 217, 0.34);
  --text: #eef6ff;
  --muted: #91a5bd;
  --muted-2: #647b95;
  --blue: #2e7bff;
  --blue-2: #6563ff;
  --purple: #6f3ff2;
  --cyan: #21dbc2;
  --green: #12caa8;
  --red: #ff4d6b;
  --orange: #ff9c2c;
  --violet: #a45dff;
  --logo-top: #ffffff;
  --logo-mid: #c6d8ff;
  --logo-bottom: #688cff;
  --logo-left: #8b42ff;
  --logo-right: #2d78ff;
  --logo-subtitle: #9caac7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
  --radius: 8px;
  --control: 56px;
  --h5-width: 430px;
  --phone-scale: 1;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 0%, rgba(77, 58, 194, 0.28), transparent 28rem),
    linear-gradient(180deg, #020b15 0%, #04101d 48%, #020b15 100%);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.7px),
    radial-gradient(circle at 34% 72%, rgba(175, 210, 255, 0.78) 0 1px, transparent 1.8px),
    radial-gradient(circle at 58% 28%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.8px),
    radial-gradient(circle at 82% 62%, rgba(137, 176, 255, 0.78) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 12%, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.7px),
    radial-gradient(circle at 18% 86%, rgba(116, 209, 255, 0.68) 0 1px, transparent 1.8px),
    radial-gradient(circle at 50% 50%, rgba(63, 111, 214, 0.24), transparent 34rem);
  background-size:
    160px 160px,
    220px 220px,
    280px 280px,
    190px 190px,
    330px 330px,
    260px 260px,
    100% 100%;
  background-position:
    0 0,
    38px 28px,
    86px 42px,
    16px 92px,
    120px 18px,
    72px 124px,
    center;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #7fb4ff;
  outline-offset: 3px;
}

noscript {
  display: block;
  padding: 24px;
  color: var(--text);
  text-align: center;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 24px max(44px, env(safe-area-inset-bottom));
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: -20px -24px 12px;
  padding: 14px 24px 10px;
  border-bottom: 1px solid rgba(69, 126, 189, 0.5);
  background:
    radial-gradient(circle at 77% 0%, rgba(87, 67, 205, 0.3), transparent 17rem),
    rgba(3, 13, 25, 0.84);
  backdrop-filter: blur(18px);
}

.brand-row {
  display: grid;
  grid-template-columns: minmax(108px, 1fr) minmax(0, 300px) minmax(108px, 1fr);
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 92px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.header-actions .outline-btn,
.header-actions .fee-btn,
.header-actions .primary-btn {
  min-height: 36px;
  padding: 0 10px;
  font-size: 13px;
}

.header-actions .fee-btn {
  min-width: 68px;
}

.ghost-btn,
.primary-btn,
.outline-btn,
.fee-btn,
.mini-btn,
.chip-btn {
  min-height: 44px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 72px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(95, 148, 255, 0.76);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.12);
  font-size: 15px;
  font-weight: 800;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(7, 25, 44, 0.74);
  font-size: 15px;
  font-weight: 750;
}

.fee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(33, 219, 194, 0.58);
  border-radius: var(--radius);
  background: rgba(7, 107, 93, 0.58);
  color: #dffff8;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.promo-header-btn {
  display: none;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.primary-btn:hover,
.outline-btn:hover,
.fee-btn:hover,
.ghost-btn:hover,
.mini-btn:hover,
.chip-btn:hover {
  transform: translateY(-1px);
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 64px;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.86);
}

.mode-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 10px;
  background: transparent;
  color: #cbd8e7;
  font-size: 24px;
  font-weight: 850;
}

.mode-tab + .mode-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(91, 143, 197, 0.44);
}

.mode-tab.is-active {
  background: linear-gradient(135deg, #2c76f1, #5b3fd0);
  color: var(--text);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.16);
}

.current-strip,
.info-grid,
.ratio-panel,
.trend-panel,
.verify-panel,
.lottery-card,
.history-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(8, 25, 43, 0.88);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 178, 0.06);
}

.hash-content-layout,
.hash-main-column {
  display: contents;
}

.current-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  margin-bottom: 14px;
  padding: 12px 16px;
}

.current-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.game-icon,
.result-badge,
.lottery-ball,
.coin-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  font-weight: 900;
}

.game-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 20px;
}

.game-icon.block,
.coin-dot.btc {
  background: linear-gradient(135deg, #4b8bff, #3e61df);
}

.coin-dot.usdt {
  background: linear-gradient(135deg, #27d6aa, #0d9f7a);
}

.game-icon.hash,
.coin-dot.trx {
  background: linear-gradient(135deg, #ffa22b, #ff7b31);
}

.game-icon.lottery {
  background: linear-gradient(135deg, #c06bff, #6e38d8);
}

.current-label {
  display: block;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.1;
}

.current-name {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--text);
  font-size: 27px;
  line-height: 1.12;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(80, 135, 194, 0.46);
  border-radius: 999px;
  color: #c7d4e5;
  background: rgba(2, 11, 21, 0.35);
  font-weight: 700;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(68, 129, 208, 0.78);
  background: rgba(27, 72, 132, 0.7);
  color: #e7f2ff;
  font-weight: 850;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  gap: 12px;
  margin-bottom: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.info-grid.block-overview {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 18%, rgba(46, 123, 255, 0.12), transparent 9rem),
    radial-gradient(circle at 88% 10%, rgba(111, 63, 242, 0.16), transparent 10rem),
    rgba(8, 25, 43, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(47, 111, 178, 0.05);
}

.metric-card {
  min-height: 104px;
  padding: 14px 16px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(10, 31, 53, 0.92);
}

.block-overview .metric-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 106px;
  padding: 15px 16px 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.block-overview .metric-card + .metric-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(91, 143, 197, 0.54), transparent);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.1;
}

.metric-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(33, 219, 194, 0.28);
  border-radius: 999px;
  background: rgba(8, 88, 80, 0.24);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.countdown-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.countdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.countdown-time {
  color: var(--text);
  font-size: clamp(38px, 8vw, 54px);
  line-height: 0.95;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.estimate {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--panel) 62%, transparent 63%),
    conic-gradient(var(--blue) var(--ring, 72%), rgba(31, 75, 122, 0.5) 0);
}

.height-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
}

.block-overview .height-card {
  grid-template-columns: 1fr;
  gap: 7px;
  align-items: stretch;
}

.height-info {
  min-width: 0;
}

.height-number {
  display: block;
  margin-top: 6px;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.height-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.height-main .height-number {
  min-width: 0;
  margin-top: 0;
}

.verify-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(94, 160, 255, 0.7);
  border-radius: 7px;
  background: rgba(30, 77, 141, 0.62);
  color: #dcebff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.height-side {
  display: flex;
  min-width: 54px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.height-caption {
  display: inline-flex;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.15;
}

.result-badge {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(56, 217, 191, 0.5);
  font-size: 23px;
}

.ratio-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 98px;
  margin-bottom: 16px;
  padding: 16px 24px;
}

.ratio-item {
  min-width: 0;
}

.ratio-item.right {
  text-align: right;
}

.ratio-title {
  display: block;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.ratio-title.single,
.ratio-number.single {
  color: var(--red);
}

.ratio-title.double,
.ratio-number.double {
  color: var(--cyan);
}

.ratio-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
}

.ratio-item.right .ratio-line {
  justify-content: flex-end;
}

.ratio-number {
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ratio-percent {
  color: #a7b8cc;
  font-size: 18px;
}

.bar-track {
  height: 10px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #10233a;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.ratio-item.right .bar-fill {
  margin-left: auto;
  background: var(--cyan);
}

.ratio-total {
  text-align: center;
}

.ratio-total-label {
  color: var(--muted);
  font-size: 19px;
}

.ratio-total-number {
  margin-top: 6px;
  color: #70a8ff;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.trend-panel,
.verify-panel,
.history-panel,
.lottery-card {
  margin-bottom: 16px;
  padding: 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.section-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.section-title small {
  color: var(--muted);
  font-size: 19px;
  font-weight: 650;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(33, 219, 194, 0.54);
  border-radius: var(--radius);
  background: rgba(7, 107, 93, 0.58);
  color: #dffff8;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.segmented {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(66px, auto);
  min-height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 11, 21, 0.46);
}

.segment {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
}

.segment.is-active {
  background: linear-gradient(135deg, #2c76f1, #6145db);
  color: var(--text);
}

.trend-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(58, 109, 164, 0.56);
  border-radius: var(--radius);
  background: rgba(6, 22, 38, 0.58);
  scrollbar-color: #3d85ff #132a44;
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(var(--trend-columns, 14), 86px);
  grid-template-rows: repeat(5, 54px);
  width: var(--trend-base-width, 1204px);
  min-width: var(--trend-base-width, 1204px);
  overflow: hidden;
  border-top: 1px solid rgba(44, 83, 128, 0.52);
  border-left: 1px solid rgba(44, 83, 128, 0.52);
  border-radius: 0;
  background: transparent;
}

.trend-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgba(44, 83, 128, 0.52);
  border-bottom: 1px solid rgba(44, 83, 128, 0.52);
}

.trend-token {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3fbff;
  font-size: 19px;
  font-weight: 900;
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.16),
    0 0 0 2px rgba(255, 255, 255, 0.08);
}

.trend-token.single {
  background: linear-gradient(135deg, #ff6578, #ef334f);
}

.trend-token.double {
  background: linear-gradient(135deg, #25e0c8, #11bba2);
}

.verify-panel {
  scroll-margin-top: 148px;
}

.verify-head {
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.verify-head .section-title {
  flex: 0 0 auto;
  white-space: nowrap;
}

.verify-toolbar {
  display: grid;
  flex: 1 1 250px;
  grid-template-columns: minmax(88px, 1fr) auto auto;
  gap: 6px;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.verify-toolbar.has-download {
  grid-template-columns: minmax(88px, 1fr) auto auto auto;
}

.verify-search-field {
  min-width: 0;
}

.verify-search-field input {
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(73, 112, 172, 0.32);
  border-radius: 7px;
  background: rgba(238, 246, 255, 0.1);
  color: var(--text);
  outline: 0;
}

.verify-search-field input::placeholder {
  color: #889bb1;
}

.verify-search-field input:focus {
  border-color: rgba(96, 154, 255, 0.86);
  box-shadow: 0 0 0 2px rgba(46, 123, 255, 0.14);
}

.verify-query-btn,
.verify-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 52px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  font-weight: 850;
  white-space: nowrap;
}

.verify-query-btn {
  border: 1px solid rgba(83, 143, 255, 0.8);
  background: linear-gradient(135deg, #2f78ff, #5864f2);
  color: #ffffff;
}

.verify-reset-btn {
  border: 1px solid rgba(82, 142, 217, 0.58);
  background: rgba(50, 101, 167, 0.32);
  color: #8ebcff;
}

.btn-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.search-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.reset-icon::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
}

.reset-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 1px;
  width: 5px;
  height: 5px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(15deg);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid rgba(35, 79, 124, 0.7);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.28);
}

.verify-table-shell {
  max-height: 296px;
  overflow: auto;
  scrollbar-color: #3d85ff rgba(19, 42, 68, 0.72);
}

.verify-table-shell::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.verify-table-shell::-webkit-scrollbar-track {
  background: rgba(19, 42, 68, 0.72);
}

.verify-table-shell::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(61, 133, 255, 0.78);
}

.verify-table-shell .data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.data-table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(40, 79, 119, 0.7);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  background: #112d4b;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.empty-row td {
  height: 78px;
  color: var(--muted);
  text-align: center;
}

.hash-cell {
  min-width: 188px;
}

.hash-main {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 850;
}

.hash-sub {
  display: block;
  max-width: 210px;
  margin-top: 5px;
  overflow: hidden;
  color: #6f86a2;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-text {
  font-size: 24px;
  font-weight: 900;
}

.result-text.single {
  color: var(--red);
}

.result-text.double {
  color: var(--cyan);
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(75, 134, 217, 0.84);
  background: rgba(27, 72, 132, 0.58);
  color: #dceaff;
  font-weight: 780;
}

.verify-note {
  margin: 20px 0 2px;
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.lottery-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 176px;
}

.lottery-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.lottery-title {
  margin: 0;
  font-size: 31px;
  line-height: 1.15;
}

.period {
  color: var(--muted);
  font-size: 18px;
}

.balls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lottery-ball {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 27px;
  color: #fff7fb;
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(143, 188, 255, 0.14);
}

.lottery-ball.single,
.result-badge.single {
  border-color: rgba(255, 77, 107, 0.55);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.3), transparent 26%),
    linear-gradient(145deg, #ff6b7f, #d91f45);
  color: #fff6f8;
  box-shadow:
    inset 0 -4px 0 rgba(90, 0, 20, 0.2),
    0 0 0 2px rgba(255, 77, 107, 0.14);
}

.lottery-ball.double,
.result-badge.double {
  border-color: rgba(33, 219, 194, 0.55);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.28), transparent 26%),
    linear-gradient(145deg, #23d5b7, #088d75);
  color: #effffb;
  box-shadow:
    inset 0 -4px 0 rgba(0, 70, 54, 0.22),
    0 0 0 2px rgba(33, 219, 194, 0.14);
}

.lottery-side {
  min-width: 220px;
}

.cutoff {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  text-align: right;
}

.cutoff-time {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-variant-numeric: tabular-nums;
}

.time-block {
  min-width: 48px;
  padding: 7px 8px;
  border: 1px solid rgba(99, 143, 232, 0.74);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #326deb, #5b64ea);
  color: var(--text);
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}

.history-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.history-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 11, 21, 0.4);
  color: var(--muted);
  font-weight: 800;
}

.history-tab.is-active {
  border-color: rgba(104, 147, 255, 0.75);
  background: linear-gradient(135deg, #2d78ff, #5d4ce9);
  color: var(--text);
}

.history-table {
  min-width: 680px;
}

.history-table .balls {
  min-width: 190px;
  gap: 5px;
}

.history-table .lottery-ball {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.history-table td {
  height: 58px;
}

.strong-red {
  color: var(--red);
  font-weight: 900;
}

.strong-blue {
  color: #4d91ff;
  font-weight: 900;
}

.strong-cyan {
  color: var(--cyan);
  font-weight: 900;
}

.history-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.sheet-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  background: rgba(0, 6, 12, 0.72);
  backdrop-filter: blur(2px);
}

.sheet-backdrop {
  align-items: flex-end;
}

.selector-sheet {
  width: min(100%, 760px);
  max-height: min(76vh, 860px);
  padding: 22px 24px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid rgba(61, 113, 169, 0.82);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #07192c;
  box-shadow: var(--shadow);
}

.sheet-handle {
  width: 118px;
  height: 8px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: #6f8fb3;
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.sheet-body {
  min-height: 0;
}

.sheet-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.16;
}

.sheet-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 18px;
}

.sheet-section {
  margin-top: 24px;
}

.sheet-section h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lottery-network-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(52, 105, 162, 0.82);
  border-radius: var(--radius);
  background: rgba(4, 18, 31, 0.7);
  color: #b9c7d9;
  font-weight: 800;
  text-align: center;
}

.option-btn.is-active {
  border-color: rgba(108, 160, 255, 0.88);
  background: linear-gradient(135deg, #2d78ff, #5d42db);
  color: var(--text);
}

.network-option {
  justify-content: center;
  gap: 8px;
}

.coin-dot {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.coin-dot.eth {
  background: linear-gradient(135deg, #8d93ff, #5e64e5);
}

.coin-dot.bnb {
  background: linear-gradient(135deg, #ffca2e, #f0a61d);
}

.current-network-pill {
  max-width: 124px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet-action {
  position: sticky;
  bottom: -1px;
  margin-top: 34px;
  padding-top: 16px;
  background: linear-gradient(180deg, rgba(7, 25, 44, 0), #07192c 28%);
}

.confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #2d7cff, #6f4dff);
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.modal-backdrop {
  align-items: center;
  padding: 24px;
}

.modal {
  width: min(100%, 560px);
  padding: 24px;
  border: 1px solid rgba(77, 136, 199, 0.76);
  border-radius: var(--radius);
  background: #07192c;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-title {
  margin: 0;
  font-size: 26px;
}

.login-backdrop {
  z-index: 92;
  background:
    radial-gradient(circle at 50% 8%, rgba(46, 123, 255, 0.24), transparent 18rem),
    rgba(0, 6, 12, 0.74);
}

.login-modal {
  position: relative;
  width: min(94vw, 460px);
  overflow: visible;
  padding: 36px 30px 30px;
  border: 1px solid rgba(73, 142, 217, 0.64);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(14, 39, 66, 0.98), rgba(5, 18, 33, 0.98)),
    var(--panel);
  color: var(--text);
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.login-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(46, 123, 255, 0.18), transparent) top / 100% 1px no-repeat,
    radial-gradient(circle at 50% 0%, rgba(46, 123, 255, 0.2), transparent 14rem);
}

.v6-logo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.login-logo {
  min-height: 72px;
  margin: 0 18px 30px;
  padding: 6px 38px 10px;
}

.brand-logo {
  width: min(258px, 100%);
  min-height: 58px;
  margin: 0;
  padding: 5px 0 7px;
}

.brand-logo .v6-logo-core {
  min-width: 148px;
}

.brand-logo .v6-logo-text {
  font-size: 42px;
}

.brand-logo .v6-logo-subtitle {
  font-size: 12px;
}

.v6-logo-core {
  display: grid;
  justify-items: center;
  min-width: 112px;
}

.v6-logo-text {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  color: var(--logo-top);
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 0 14px rgba(76, 115, 255, 0.5),
    0 3px 0 rgba(0, 0, 0, 0.2);
}

.v6-logo-main {
  display: inline-block;
  transform: skewX(-10deg);
  background: linear-gradient(180deg, var(--logo-top) 0%, var(--logo-mid) 40%, var(--logo-bottom) 100%);
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 14px rgba(76, 115, 255, 0.5),
    0 3px 0 rgba(0, 0, 0, 0.2);
}

.v6-logo-name {
  display: inline-block;
  color: #eaf3ff;
  font-size: 0.5em;
  font-weight: 950;
  text-shadow:
    0 0 10px rgba(104, 140, 255, 0.45),
    0 2px 0 rgba(0, 0, 0, 0.24);
  transform: translateY(-0.04em);
}

.v6-logo-subtitle {
  margin-top: 5px;
  color: var(--logo-subtitle);
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  white-space: nowrap;
}

.v6-logo-line {
  position: relative;
  height: 1px;
  border-radius: 999px;
  opacity: 0.96;
}

.v6-logo-line.is-left {
  background: linear-gradient(90deg, var(--logo-left), rgba(45, 120, 255, 0.34), transparent 82%);
}

.v6-logo-line.is-right {
  background: linear-gradient(90deg, transparent 18%, rgba(139, 66, 255, 0.34), var(--logo-right));
}

.v6-logo-line::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--logo-left);
  box-shadow: 0 0 10px rgba(139, 66, 255, 0.8);
}

.v6-logo-line.is-left::before {
  left: 0;
}

.v6-logo-line.is-right::before {
  right: 0;
  background: var(--logo-right);
  box-shadow: 0 0 10px rgba(45, 120, 255, 0.8);
}

.v6-logo-line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 22px;
  height: 7px;
  opacity: 0.66;
  background:
    repeating-linear-gradient(135deg, transparent 0 3px, rgba(167, 96, 255, 0.72) 3px 4px, transparent 4px 7px);
}

.v6-logo-line.is-left::after {
  right: 2px;
}

.v6-logo-line.is-right::after {
  left: 2px;
  background:
    repeating-linear-gradient(135deg, transparent 0 3px, rgba(98, 87, 255, 0.72) 3px 4px, transparent 4px 7px);
}

.login-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(79, 137, 199, 0.54);
  background: rgba(3, 13, 25, 0.8);
  color: transparent;
  font-size: 0;
  line-height: 0;
  padding: 0;
}

.login-close::before,
.login-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #b7c8dc;
  transform-origin: center;
}

.login-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.login-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.login-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.promo-field {
  position: relative;
  display: block;
}

.promo-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 50px 0 48px;
  border: 1px solid rgba(73, 142, 217, 0.46);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.74);
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.promo-field input::placeholder {
  color: #6f879f;
}

.promo-field input:focus {
  border-color: rgba(68, 141, 255, 0.92);
  box-shadow:
    0 0 0 3px rgba(46, 123, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.promo-field.has-error input {
  border-color: rgba(255, 77, 107, 0.95);
  box-shadow:
    0 0 0 3px rgba(255, 77, 107, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.field-error {
  position: absolute;
  right: 10px;
  top: -12px;
  z-index: 2;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 77, 107, 0.88);
  border-radius: 6px;
  background: #07192c;
  color: var(--red);
  font-style: normal;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.password-toggle + .field-error {
  right: 44px;
}

.field-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
}

.user-icon::before,
.user-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #4f98ff;
}

.user-icon::before {
  top: 1px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.user-icon::after {
  bottom: 0;
  width: 15px;
  height: 8px;
  border-radius: 7px 7px 3px 3px;
}

.lock-icon {
  width: 14px;
  height: 12px;
  border-radius: 2px;
  background: #6f879f;
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -6px;
  width: 10px;
  height: 8px;
  border: 2px solid #6f879f;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #526b84;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: #8ab8ff;
  background: rgba(46, 123, 255, 0.12);
}

.eye-icon {
  position: relative;
  width: 16px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.eye-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: currentColor;
}

.password-toggle.is-visible .eye-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-42deg);
  box-shadow: 0 0 0 2px #07192c;
}

.remember-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 760;
}

.remember-line input {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
}

.promo-remember {
  gap: 8px;
  margin-top: -2px;
  font-size: 15px;
}

.login-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin-top: -2px;
}

.login-meta-actions {
  display: contents;
}

.login-meta-row .remember-line,
.login-meta-link {
  justify-self: center;
}

.login-meta-row .remember-line {
  min-width: 0;
  white-space: nowrap;
}

.login-meta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #74a7ff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.login-meta-link.fee-link {
  color: #74a7ff;
}

.login-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.register-btn,
.login-submit-btn {
  min-height: 54px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 900;
}

.register-btn {
  border: 1px solid rgba(67, 136, 255, 0.78);
  background: rgba(4, 18, 34, 0.72);
  color: #a9ccff;
}

.login-submit-btn {
  border: 1px solid rgba(109, 163, 255, 0.7);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #ffffff;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.12);
}

.login-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8px;
}

.login-links button {
  min-height: 32px;
  padding: 0;
  background: transparent;
  color: #74a7ff;
  font-size: 15px;
  font-weight: 850;
  text-align: left;
}

.login-links button:last-child {
  color: var(--muted);
  text-align: right;
}

.service-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border: 2px solid var(--muted);
  border-radius: 999px;
  vertical-align: -2px;
}

.verify-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.verify-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(42, 88, 137, 0.7);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.4);
}

.verify-line dt {
  color: var(--muted);
}

.verify-line dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 760;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 120;
  transform: translateX(-50%);
  width: min(92vw, 420px);
  padding: 14px 18px;
  border: 1px solid rgba(90, 151, 238, 0.75);
  border-radius: var(--radius);
  background: rgba(9, 32, 55, 0.96);
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow);
}

.rental-shell {
  gap: 14px;
  padding-top: 0;
  padding-bottom: 92px;
}

.rental-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 68px;
  margin: 0 -24px 12px;
  padding: 8px 24px;
  border-bottom: 1px solid rgba(55, 112, 193, 0.42);
  background:
    linear-gradient(90deg, rgba(4, 18, 32, 0.98), rgba(14, 30, 79, 0.94)),
    rgba(3, 12, 22, 0.96);
  backdrop-filter: blur(16px);
}

.rental-header h1 {
  margin: 0;
  color: #edf5ff;
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.rental-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(80, 139, 219, 0.36);
  border-radius: var(--radius);
  background: rgba(7, 25, 44, 0.68);
  color: #9ebcff;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.rental-hero {
  position: relative;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  align-items: center;
  min-height: 138px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.5);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 34%, rgba(101, 99, 255, 0.46), transparent 88px),
    radial-gradient(circle at 88% 30%, rgba(33, 219, 194, 0.28), transparent 120px),
    linear-gradient(135deg, rgba(8, 31, 62, 0.98), rgba(31, 34, 104, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rental-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 44%, rgba(255, 255, 255, 0.12) 45% 48%, transparent 49%),
    radial-gradient(circle at 70% 76%, rgba(255, 156, 44, 0.18), transparent 56px);
}

.rental-hero-mark {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  margin-left: 16px;
}

.trx-orbit {
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(113, 161, 255, 0.75);
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.26), transparent 38px),
    linear-gradient(135deg, rgba(47, 123, 255, 0.82), rgba(111, 63, 242, 0.82));
  box-shadow:
    0 0 26px rgba(69, 126, 255, 0.45),
    inset 0 0 22px rgba(255, 255, 255, 0.12);
}

.trx-orbit::before,
.trx-orbit::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffcd74, #ff7246);
  box-shadow: 0 8px 18px rgba(255, 126, 58, 0.28);
}

.trx-orbit::before {
  right: -9px;
  top: 18px;
}

.trx-orbit::after {
  left: -7px;
  bottom: 20px;
  background: linear-gradient(135deg, #5de6ff, #4f82ff);
}

.trx-symbol {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.34);
}

.rental-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 20px 18px 20px 0;
}

.rental-hero-copy p,
.rental-hero-copy span {
  margin: 0;
  color: #bcd4ff;
  font-size: 15px;
  font-weight: 850;
}

.rental-hero-copy strong {
  color: #ffffff;
  font-size: 32px;
  font-weight: 980;
  line-height: 1.08;
  text-shadow: 0 0 18px rgba(110, 161, 255, 0.4);
}

.rental-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid rgba(41, 91, 156, 0.76);
  border-radius: var(--radius);
  background: rgba(7, 25, 44, 0.82);
}

.rental-tab {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
}

.rental-tab.active {
  background: linear-gradient(135deg, rgba(46, 123, 255, 0.96), rgba(111, 63, 242, 0.92));
  color: #ffffff;
}

.rental-card {
  border: 1px solid rgba(39, 90, 148, 0.88);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(8, 30, 52, 0.92), rgba(5, 19, 34, 0.92)),
    rgba(7, 25, 44, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rental-form-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.rental-mode-panel {
  display: none;
  gap: 14px;
}

.rental-mode-panel.active {
  display: grid;
}

.rental-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rental-section-head h2 {
  margin: 0;
  color: #edf5ff;
  font-size: 19px;
  font-weight: 950;
}

.rental-methods,
.rental-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rental-methods.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rental-choice,
.rental-quick button {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(84, 139, 219, 0.45);
  border-radius: var(--radius);
  background: rgba(9, 31, 53, 0.72);
  color: #9eb7d7;
  font-size: 15px;
  font-weight: 850;
}

.rental-choice.active,
.rental-quick button:hover {
  border-color: rgba(96, 154, 255, 0.92);
  background: rgba(46, 123, 255, 0.22);
  color: #76a8ff;
}

.rental-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
}

.rental-field > span {
  min-width: 0;
}

.rental-field b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 13px;
  font-style: normal;
}

.rental-field em {
  color: #b8c9dd;
  font-style: normal;
}

.rental-field-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rental-address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.rental-address-row input,
.rental-input-unit,
.rental-field input,
.rental-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(64, 112, 177, 0.58);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.66);
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
}

.rental-address-row input,
.rental-field input,
.rental-field select {
  padding: 0 16px;
}

.rental-address-row input::placeholder {
  color: rgba(145, 165, 189, 0.68);
}

.rental-bind-btn {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(33, 219, 194, 0.58);
  border-radius: var(--radius);
  background: rgba(18, 202, 168, 0.84);
  color: #eafffb;
  font-size: 15px;
  font-weight: 950;
}

.rental-bind-btn.small {
  min-height: 34px;
  padding: 0 13px;
  font-size: 13px;
}

.rental-input-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 0;
}

.rental-input-unit input {
  min-height: 50px;
  border: 0;
  background: transparent;
  color: #6ea5ff;
}

.rental-input-unit button {
  min-width: 130px;
  min-height: 50px;
  border: 0;
  border-left: 1px solid rgba(77, 142, 229, 0.58);
  border-radius: 0;
  background: rgba(46, 123, 255, 0.22);
  color: #74a7ff;
  font-size: 16px;
  font-weight: 950;
}

.rental-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9fb9d5;
  font-size: 16px;
  font-weight: 850;
}

.rental-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.rental-check strong {
  color: var(--red);
}

.rental-warning {
  margin: 0;
  color: #ff657d;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.55;
}

.rental-warning.is-compact {
  line-height: 1.45;
}

.activation-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  counter-reset: activate-step;
}

.activation-steps span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 8px 0 26px;
  border: 1px solid rgba(96, 154, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(46, 123, 255, 0.1);
  color: #bcd4ff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.activation-steps span::before {
  counter-increment: activate-step;
  content: counter(activate-step);
  position: absolute;
  left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #ffffff;
  font-size: 10px;
  font-weight: 950;
}

.rental-pay-title {
  color: #b8c9dd;
  font-size: 16px;
  font-weight: 900;
}

.rental-pay-list {
  display: grid;
  gap: 12px;
}

.rental-pay-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  overflow: hidden;
  padding: 0 14px;
  border: 1px solid rgba(71, 119, 188, 0.42);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.52);
  color: var(--text);
  text-align: left;
}

.rental-pay-card.active {
  border-color: rgba(96, 154, 255, 0.96);
  background: rgba(46, 123, 255, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(96, 154, 255, 0.32),
    0 10px 24px rgba(46, 123, 255, 0.16);
}

.rental-pay-card.active::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, transparent 0 48%, var(--blue) 49%);
}

.rental-pay-card strong {
  color: #dfeaff;
  font-size: 17px;
  font-weight: 950;
}

.rental-pay-card em {
  color: #b9cce3;
  font-size: 15px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.rental-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rental-field.compact input {
  background: rgba(46, 123, 255, 0.15);
  color: #bcd4ff;
}

.rental-field select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #9eb7d7 50%) calc(100% - 22px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(8, 30, 52, 0.84), rgba(2, 12, 22, 0.76));
}

.rental-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  border-bottom: 1px solid rgba(42, 88, 137, 0.52);
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
}

.rental-summary strong {
  color: #6ea5ff;
  font-size: 17px;
  font-weight: 950;
  text-align: right;
}

.activation-target-summary strong {
  max-width: 66%;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.activation-target-summary strong.is-empty {
  color: #91a5bd;
}

.rental-wallet {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.wallet-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 14px;
  border: 1px solid rgba(71, 119, 188, 0.42);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.52);
}

.wallet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.wallet-icon.usdt {
  background: #16b58e;
}

.wallet-icon.cny {
  background: #ff3f54;
}

.wallet-icon.trx {
  background: linear-gradient(135deg, var(--red), var(--blue));
}

.wallet-item strong {
  min-width: 0;
  color: #dfeaff;
  font-size: 17px;
  font-weight: 900;
}

.wallet-item em {
  color: #9fb4cc;
  font-size: 15px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.rental-sticky-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 60;
  width: min(100%, 760px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 12px 24px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(55, 112, 193, 0.34);
  background: rgba(3, 12, 22, 0.9);
  backdrop-filter: blur(16px);
}

.rental-sticky-actions.is-single {
  grid-template-columns: 1fr;
}

.rental-sticky-actions.is-single .rental-confirm-btn {
  display: none;
}

.rental-record-btn,
.rental-confirm-btn {
  min-height: 50px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 950;
}

.rental-record-btn {
  border: 1px solid rgba(103, 161, 255, 0.56);
  background: rgba(46, 123, 255, 0.2);
  color: #78aaff;
}

.rental-confirm-btn {
  border: 1px solid rgba(33, 219, 194, 0.56);
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #ffffff;
}

.rental-confirm-btn:disabled {
  border-color: rgba(90, 112, 135, 0.28);
  background: rgba(96, 116, 138, 0.32);
  color: rgba(238, 246, 255, 0.52);
}

.rental-tip {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
  color: #aebed2;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.45;
}

.rental-transfer-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(64, 112, 177, 0.44);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 74% 16%, rgba(70, 130, 255, 0.16), transparent 86px),
    rgba(2, 12, 22, 0.42);
  text-align: center;
}

.rental-transfer-card > span {
  justify-self: start;
  color: #92a8c4;
  font-size: 15px;
  font-weight: 850;
}

.rental-transfer-card > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #5f98ff;
  font-size: 26px;
  font-weight: 980;
  line-height: 1.2;
}

.rental-transfer-card > em,
.rental-transfer-card > small {
  color: #aebed2;
  font-size: 15px;
  font-style: normal;
  font-weight: 850;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(96, 154, 255, 0.52);
  border-radius: 6px;
  background: rgba(46, 123, 255, 0.14);
  color: #80adff;
  font-size: 11px;
  font-weight: 900;
}

.copy-btn.square {
  min-width: 34px;
  min-height: 34px;
  padding: 0;
}

.platform-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  color: #92a8c4;
  font-size: 15px;
  font-weight: 850;
}

.platform-title em {
  color: #ff657d;
  font-size: 14px;
  font-style: normal;
}

.platform-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.platform-address input {
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(64, 112, 177, 0.4);
  border-radius: var(--radius);
  background: rgba(238, 246, 255, 0.08);
  color: #dbe8ff;
  font-size: 14px;
  font-weight: 820;
}

.rental-qr {
  position: relative;
  justify-self: center;
  width: 148px;
  height: 148px;
  margin-top: 4px;
  border: 8px solid #f3f8ff;
  border-radius: 4px;
  background:
    linear-gradient(#061323 0 0) 8px 8px / 28px 28px no-repeat,
    linear-gradient(#061323 0 0) calc(100% - 36px) 8px / 28px 28px no-repeat,
    linear-gradient(#061323 0 0) 8px calc(100% - 36px) / 28px 28px no-repeat,
    repeating-linear-gradient(90deg, #061323 0 5px, #f3f8ff 5px 10px, #061323 10px 14px, #f3f8ff 14px 21px),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(6, 19, 35, 0.9) 8px 12px, transparent 12px 19px),
    #f3f8ff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.rental-qr::before,
.rental-qr::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 4px solid #f3f8ff;
  background: #061323;
}

.rental-qr::before {
  left: 14px;
  top: 14px;
  box-shadow:
    82px 0 0 #061323,
    82px 0 0 4px #f3f8ff,
    0 82px 0 #061323,
    0 82px 0 4px #f3f8ff;
}

.rental-qr::after {
  right: 31px;
  bottom: 31px;
  width: 10px;
  height: 10px;
  border-width: 0;
  box-shadow:
    -20px 2px 0 #061323,
    -42px -16px 0 #061323,
    -60px 18px 0 #061323,
    18px -28px 0 #061323,
    4px -58px 0 #061323;
}

@media (min-width: 900px) {
  :root {
    --desktop-h5-scale: 0.68;
  }

  body {
    overflow-x: hidden;
  }

  .app-shell {
    width: 760px;
    max-width: none;
    padding-top: 20px;
    padding-bottom: 64px;
    transform: scale(var(--desktop-h5-scale));
    transform-origin: top center;
  }

  .rental-shell {
    padding-bottom: 118px;
  }

  .rental-sticky-actions {
    width: calc(760px * var(--desktop-h5-scale));
    padding: 8px 16px max(8px, env(safe-area-inset-bottom));
  }

  .rental-record-btn,
  .rental-confirm-btn {
    min-height: 34px;
    font-size: 12px;
  }

  .app-header {
    position: static;
    margin-top: -20px;
  }

  .sheet-backdrop {
    bottom: auto;
    height: calc(100vh / var(--desktop-h5-scale));
  }

  .login-modal {
    width: 660px;
    padding: 54px 50px 48px;
  }

  .login-logo {
    min-height: 92px;
    margin-bottom: 42px;
    margin-inline: 28px;
    padding-top: 14px;
    padding-bottom: 16px;
  }

  .login-logo .v6-logo-text {
    font-size: 58px;
  }

  .login-logo .v6-logo-subtitle {
    font-size: 15px;
  }

  .login-logo .v6-logo-core {
    min-width: 180px;
  }

  .promo-field input {
    min-height: 66px;
    font-size: 20px;
  }

  .register-btn,
  .login-submit-btn {
    min-height: 62px;
    font-size: 20px;
  }

  .login-links button {
    font-size: 17px;
  }

  .login-meta-link {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding-inline: 14px;
  }

  .app-header {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .brand-row {
    grid-template-columns: 1fr auto;
  }

  .app-header.is-logged .brand-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .brand-spacer {
    display: none;
  }

  .brand {
    text-align: left;
    justify-content: flex-start;
  }

  .brand-logo {
    width: min(270px, 100%);
    min-height: 56px;
    grid-template-columns: minmax(22px, 1fr) auto minmax(22px, 1fr);
    gap: 8px;
  }

  .brand-logo .v6-logo-text {
    font-size: 36px;
  }

  .brand-logo .v6-logo-subtitle {
    font-size: 10px;
  }

  .brand-logo .v6-logo-core {
    min-width: 118px;
  }

  .header-actions {
    gap: 7px;
  }

  .app-header.is-logged .header-actions {
    justify-content: flex-end;
  }

  .header-actions .outline-btn,
  .header-actions .fee-btn,
  .header-actions .primary-btn {
    min-width: auto;
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  .mode-tabs {
    min-height: 54px;
  }

  .mode-tab {
    font-size: 18px;
  }

  .lottery-card {
    grid-template-columns: 1fr;
  }

  .current-strip {
    grid-template-columns: minmax(118px, 1fr) auto;
    gap: 8px;
    min-height: 78px;
    padding: 10px 14px;
  }

  .current-strip.lottery-strip {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .current-copy {
    gap: 9px;
  }

  .game-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .lottery-side,
  .cutoff,
  .cutoff-time {
    justify-content: flex-start;
    text-align: left;
  }

  .current-name {
    margin-top: 3px;
    font-size: 20px;
  }

  .current-side {
    gap: 6px;
  }

  .pill {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }

  .chip-btn {
    min-width: 68px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }

  .current-strip.lottery-strip .current-side {
    justify-content: flex-end;
  }

  .info-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 8px;
  }

  .metric-card {
    min-height: 92px;
    padding: 12px 12px 10px;
  }

  .metric-label {
    font-size: 13px;
  }

  .countdown-row {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
    margin-top: 6px;
  }

  .countdown-time {
    font-size: 36px;
  }

  .estimate,
  .height-caption {
    font-size: 12px;
  }

  .ring {
    width: 34px;
    height: 34px;
  }

  .height-card {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 7px;
  }

  .height-number {
    margin-top: 5px;
    font-size: 26px;
  }

  .height-side {
    min-width: 42px;
    gap: 9px;
  }

  .verify-chip {
    width: 42px;
    min-height: 28px;
    padding: 0 6px;
    font-size: 12px;
  }

  .result-badge {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .ratio-panel {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    gap: 10px;
    min-height: 84px;
    margin-bottom: 14px;
    padding: 12px 14px;
  }

  .ratio-item.right,
  .ratio-total {
    text-align: center;
  }

  .ratio-item.right .ratio-line {
    justify-content: flex-end;
  }

  .ratio-item.right .bar-fill {
    margin-left: auto;
  }

  .ratio-title {
    font-size: 20px;
  }

  .ratio-line {
    gap: 7px;
    margin-top: 6px;
  }

  .ratio-number {
    font-size: 25px;
  }

  .ratio-percent {
    font-size: 13px;
  }

  .ratio-total-label {
    font-size: 13px;
    white-space: nowrap;
  }

  .ratio-total-number {
    margin-top: 4px;
    font-size: 30px;
  }

  .bar-track {
    height: 8px;
  }

  .trend-panel,
  .verify-panel,
  .history-panel,
  .lottery-card {
    padding: 18px;
  }

  .trend-panel {
    padding: 14px;
  }

  .section-head {
    align-items: center;
    flex-direction: row;
    margin-bottom: 12px;
  }

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

  .section-title small {
    font-size: 14px;
  }

  .trend-grid {
    grid-template-columns: repeat(10, 70px);
    grid-template-rows: repeat(5, 40px);
    width: 700px;
    min-width: 700px;
  }

  .trend-token {
    width: 28px;
    height: 28px;
    font-size: 15px;
    box-shadow:
      inset 0 -2px 0 rgba(0, 0, 0, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .segmented {
    width: 100%;
    grid-auto-columns: 1fr;
  }

  .option-grid,
  .option-grid.four {
    grid-template-columns: 1fr;
  }

  .lottery-network-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .network-option {
    min-height: 40px;
    padding: 0 7px;
    gap: 5px;
  }

  .selector-sheet {
    padding-inline: 16px;
  }

  .sheet-title {
    font-size: 28px;
  }

  .confirm-btn {
    min-height: 58px;
    font-size: 22px;
  }

  body {
    font-size: 12px;
  }

  .brand-logo .v6-logo-text {
    font-size: 32px;
  }

  .brand-logo .v6-logo-subtitle {
    font-size: 9px;
  }

  .header-actions .outline-btn,
  .header-actions .fee-btn,
  .header-actions .primary-btn,
  .chip-btn,
  .pill,
  .download-btn,
  .segment,
  .mini-btn,
  .history-tab,
  .option-btn {
    font-size: 12px;
  }

  .mode-tab {
    font-size: 16px;
  }

  .game-icon {
    font-size: 16px;
  }

  .current-label,
  .metric-label,
  .estimate,
  .height-caption,
  .ratio-percent,
  .ratio-total-label,
  .section-title small,
  .period,
  .hash-sub,
  .sheet-subtitle,
  .history-more {
    font-size: 12px;
  }

  .current-name {
    font-size: 18px;
  }

  .countdown-time {
    font-size: 32px;
  }

  .height-number {
    font-size: 24px;
  }

  .verify-chip {
    font-size: 11px;
  }

  .result-badge {
    font-size: 18px;
  }

  .ratio-title {
    font-size: 18px;
  }

  .ratio-number {
    font-size: 22px;
  }

  .ratio-total-number {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .trend-token {
    font-size: 13px;
  }

  .data-table th,
  .data-table td {
    font-size: 13px;
  }

  .hash-main {
    font-size: 16px;
  }

  .result-text {
    font-size: 18px;
  }

  .verify-note {
    font-size: 13px;
  }

  .lottery-title {
    font-size: 22px;
  }

  .lottery-ball {
    font-size: 20px;
  }

  .cutoff {
    font-size: 16px;
  }

  .time-block {
    font-size: 18px;
  }

  .sheet-title {
    font-size: 22px;
  }

  .sheet-section h3 {
    font-size: 16px;
  }

  .confirm-btn {
    font-size: 18px;
  }

  .promo-field input {
    font-size: 15px;
  }

  .login-links button,
  .login-meta-link,
  .remember-line {
    font-size: 12px;
  }
}

@media (max-width: 0px) {
  .current-strip {
    grid-template-columns: minmax(102px, 1fr) auto;
    padding-inline: 10px;
  }

  .current-copy {
    gap: 7px;
  }

  .game-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .current-label {
    font-size: 11px;
  }

  .current-name {
    font-size: 16px;
  }

  .current-side {
    gap: 4px;
  }

  .pill {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }

  .chip-btn {
    min-width: 58px;
    min-height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }

  .info-grid {
    gap: 6px;
  }

  .metric-card {
    padding-inline: 10px;
  }

  .height-card {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 5px;
  }

  .height-number {
    font-size: 22px;
  }

  .height-side {
    min-width: 38px;
    gap: 8px;
  }

  .verify-chip {
    width: 38px;
    min-height: 26px;
    font-size: 11px;
  }

  .result-badge {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .countdown-time {
    font-size: 30px;
  }

  .trend-panel {
    padding: 12px;
  }

  .trend-grid {
    grid-template-columns: repeat(10, 64px);
    grid-template-rows: repeat(5, 36px);
    width: 640px;
    min-width: 640px;
  }

  .trend-token {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .login-modal {
    padding: 32px 20px 24px;
  }

  .login-logo {
    gap: 10px;
    margin-inline: 0;
    padding-inline: 8px;
  }

  .login-logo .v6-logo-text {
    font-size: 32px;
  }

  .login-logo .v6-logo-subtitle {
    font-size: 10px;
  }

  .brand-logo {
    width: min(218px, 100%);
  }

  .brand-logo .v6-logo-text {
    font-size: 28px;
  }

  .brand-logo .v6-logo-subtitle {
    font-size: 8px;
  }

  .mode-tab {
    font-size: 15px;
  }

  .pill {
    font-size: 11px;
  }

  .lottery-ball {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }
}

@media (max-width: 640px) {
  .rental-shell {
    gap: 10px;
    padding-inline: 12px;
    padding-bottom: 78px;
  }

  .rental-header {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    min-height: 54px;
    margin-inline: -12px;
    margin-bottom: 10px;
    padding: 7px 12px;
  }

  .rental-header h1 {
    font-size: 18px;
  }

  .rental-back {
    width: 34px;
    height: 34px;
    font-size: 31px;
  }

  .rental-hero {
    grid-template-columns: 100px minmax(0, 1fr);
    min-height: 96px;
  }

  .rental-hero-mark {
    width: 78px;
    height: 78px;
    margin-left: 8px;
  }

  .trx-symbol {
    font-size: 18px;
  }

  .trx-orbit::before,
  .trx-orbit::after {
    width: 22px;
    height: 22px;
  }

  .rental-hero-copy {
    gap: 4px;
    padding: 14px 12px 14px 0;
  }

  .rental-hero-copy p,
  .rental-hero-copy span {
    font-size: 12px;
  }

  .rental-hero-copy strong {
    font-size: 22px;
  }

  .rental-tabs {
    min-height: 44px;
  }

  .rental-tab {
    font-size: 14px;
  }

  .rental-form-card {
    gap: 9px;
    padding: 11px;
  }

  .rental-mode-panel {
    gap: 9px;
  }

  .rental-section-head h2 {
    font-size: 15px;
  }

  .rental-methods,
  .rental-quick {
    gap: 7px;
  }

  .rental-choice,
  .rental-quick button {
    min-height: 36px;
    padding: 0 6px;
    font-size: 12px;
  }

  .rental-field {
    gap: 6px;
    font-size: 12px;
  }

  .rental-field b {
    width: 16px;
    height: 16px;
    font-size: 11px;
  }

  .rental-address-row {
    gap: 7px;
  }

  .rental-address-row input,
  .rental-input-unit,
  .rental-field input,
  .rental-field select {
    min-height: 42px;
    font-size: 14px;
  }

  .rental-address-row input,
  .rental-field input,
  .rental-field select {
    padding: 0 11px;
  }

  .rental-bind-btn {
    min-height: 42px;
    padding: 0 10px;
    font-size: 12px;
  }

  .rental-bind-btn.small {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .rental-input-unit input {
    min-height: 40px;
  }

  .rental-input-unit button {
    min-width: 102px;
    min-height: 40px;
    font-size: 12px;
  }

  .rental-check {
    gap: 7px;
    font-size: 12px;
  }

  .rental-check input {
    width: 16px;
    height: 16px;
  }

  .rental-warning {
    font-size: 12px;
    line-height: 1.45;
  }

  .activation-steps {
    gap: 6px;
  }

  .activation-steps span {
    min-height: 30px;
    padding: 0 6px 0 23px;
    font-size: 12px;
  }

  .activation-steps span::before {
    left: 7px;
    width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .rental-pay-title {
    font-size: 12px;
  }

  .rental-pay-list {
    gap: 8px;
  }

  .rental-pay-card {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 48px;
    padding: 0 10px;
  }

  .rental-pay-card strong {
    font-size: 13px;
  }

  .rental-pay-card em {
    font-size: 12px;
  }

  .rental-form-grid {
    gap: 10px;
  }

  .rental-summary {
    min-height: 30px;
    font-size: 12px;
  }

  .rental-summary strong {
    font-size: 12px;
  }

  .activation-target-summary strong {
    max-width: 60%;
  }

  .rental-wallet {
    gap: 8px;
    padding: 10px;
  }

  .wallet-item {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 48px;
    padding: 0 10px;
  }

  .wallet-icon {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .wallet-item strong {
    font-size: 13px;
  }

  .wallet-item em {
    font-size: 12px;
  }

  .rental-sticky-actions {
    gap: 9px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  }

  .rental-record-btn,
  .rental-confirm-btn {
    min-height: 44px;
    font-size: 14px;
  }

  .rental-tip {
    padding-left: 8px;
    font-size: 12px;
  }

  .rental-transfer-card {
    gap: 6px;
    padding: 12px;
  }

  .rental-transfer-card > span,
  .rental-transfer-card > em,
  .rental-transfer-card > small,
  .platform-title {
    font-size: 12px;
  }

  .rental-transfer-card > strong {
    font-size: 20px;
  }

  .copy-btn {
    min-width: 30px;
    min-height: 22px;
    padding: 0 6px;
    font-size: 10px;
  }

  .platform-title em {
    font-size: 12px;
  }

  .platform-address {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 6px;
  }

  .platform-address input {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .copy-btn.square {
    min-width: 32px;
    min-height: 32px;
  }

  .rental-qr {
    width: 132px;
    height: 132px;
    border-width: 7px;
  }
}

@media (max-width: 0px) {
  .rental-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rental-address-row,
  .rental-form-grid {
    grid-template-columns: 1fr;
  }

  .rental-bind-btn {
    width: 100%;
  }

  .wallet-item {
    grid-template-columns: 28px minmax(0, 1fr);
    row-gap: 2px;
  }

  .wallet-item em {
    grid-column: 2;
    justify-self: start;
  }

  .rental-input-unit button {
    min-width: 96px;
  }

  .rental-hero {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .rental-hero-copy strong {
    font-size: 20px;
  }
}

@media (min-width: 900px) {
  .info-grid.block-overview {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 0;
  }

  .block-overview .metric-card {
    min-height: 92px;
    padding: 12px 14px 11px;
  }

  .metric-status {
    min-height: 22px;
    padding: 0 7px;
    font-size: 11px;
  }

  .countdown-main {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 10px;
    margin-top: 7px;
  }

  .block-overview .countdown-time {
    font-size: 38px;
  }

  .block-overview .estimate,
  .block-overview .height-caption {
    font-size: 12px;
  }

  .block-overview .ring {
    width: 34px;
    height: 34px;
  }

  .block-overview .height-card {
    gap: 6px;
  }

  .height-main {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 10px;
  }

  .height-main .height-number {
    font-size: 30px;
  }

  .block-overview .verify-chip {
    width: auto;
    min-width: 42px;
    min-height: 25px;
    padding: 0 8px;
    font-size: 11px;
  }

  .block-overview .result-badge {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .info-grid.block-overview {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 0;
  }

  .block-overview .metric-card {
    min-height: 84px;
    padding: 10px 11px;
  }

  .block-overview .metric-card + .metric-card::before {
    top: 11px;
    bottom: 11px;
  }

  .metric-status {
    min-height: 19px;
    padding: 0 6px;
    font-size: 10px;
  }

  .countdown-main {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 7px;
    margin-top: 6px;
  }

  .block-overview .countdown-time {
    font-size: 33px;
  }

  .block-overview .estimate,
  .block-overview .height-caption {
    font-size: 11px;
  }

  .block-overview .ring {
    width: 30px;
    height: 30px;
  }

  .block-overview .height-card {
    gap: 5px;
  }

  .height-main {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .height-main .height-number {
    font-size: 26px;
  }

  .block-overview .verify-chip {
    width: auto;
    min-width: 38px;
    min-height: 24px;
    padding: 0 7px;
    font-size: 11px;
  }

  .block-overview .result-badge {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
}

@media (max-width: 0px) {
  .block-overview .metric-card {
    min-height: 78px;
    padding: 9px;
  }

  .metric-status {
    display: none;
  }

  .countdown-main {
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 6px;
    margin-top: 5px;
  }

  .block-overview .countdown-time {
    font-size: 28px;
  }

  .block-overview .ring {
    width: 26px;
    height: 26px;
  }

  .height-main {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 6px;
  }

  .height-main .height-number {
    font-size: 22px;
  }

  .block-overview .verify-chip {
    min-width: 34px;
    min-height: 22px;
    padding: 0 5px;
    font-size: 10px;
  }

  .block-overview .result-badge {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
}

.current-strip {
  min-height: 48px;
  margin-bottom: 7px;
  padding: 7px 10px;
  background:
    linear-gradient(90deg, rgba(9, 33, 57, 0.92), rgba(5, 20, 36, 0.9)),
    rgba(8, 25, 43, 0.88);
}

.current-copy {
  gap: 9px;
}

.game-icon {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.current-strip .current-label {
  font-size: 12px;
  display: none;
}

.current-name {
  margin-top: 0;
  font-size: 17px;
}

.current-side {
  gap: 6px;
}

.pill {
  min-height: 25px;
  padding: 0 8px;
  font-size: 11px;
}

.chip-btn {
  min-width: 54px;
  min-height: 29px;
  padding: 0 9px;
  font-size: 11px;
}

.info-grid.block-overview {
  margin-bottom: 8px;
}

.block-overview .metric-card {
  min-height: 70px;
  padding: 8px 10px;
}

.block-overview .metric-card + .metric-card::before {
  top: 8px;
  bottom: 8px;
}

.block-overview .metric-label {
  font-size: 11px;
}

.block-overview .metric-status {
  display: none;
}

.countdown-main {
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 6px;
  margin-top: 4px;
}

.block-overview .countdown-time {
  font-size: 27px;
}

.block-overview .estimate,
.block-overview .height-caption {
  margin-top: 2px;
  font-size: 10px;
}

.block-overview .ring {
  width: 24px;
  height: 24px;
}

.block-overview .height-card {
  gap: 4px;
}

.height-main {
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 6px;
}

.height-main .height-number {
  font-size: 23px;
}

.block-overview .verify-chip {
  min-width: 34px;
  min-height: 20px;
  padding: 0 5px;
  font-size: 10px;
}

.block-overview .result-badge {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.ratio-panel {
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 8px;
  min-height: 50px;
  margin-bottom: 8px;
  padding: 6px 10px;
}

.ratio-title {
  font-size: 13px;
}

.ratio-line {
  gap: 5px;
  margin-top: 3px;
}

.ratio-number {
  font-size: 18px;
}

.ratio-percent {
  font-size: 11px;
}

.bar-track {
  height: 4px;
  margin-top: 3px;
}

.ratio-total-label {
  font-size: 11px;
}

.ratio-total-number {
  margin-top: 1px;
  font-size: 20px;
}

@media (max-width: 0px) {
  .current-strip {
    grid-template-columns: minmax(96px, 1fr) auto;
    padding-inline: 9px;
  }

  .game-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .current-name {
    font-size: 17px;
  }

  .pill {
    min-height: 25px;
    padding: 0 7px;
    font-size: 11px;
  }

  .chip-btn {
    min-width: 50px;
    min-height: 28px;
    padding: 0 8px;
  }

  .block-overview .metric-status {
    display: none;
  }

  .block-overview .metric-card {
    min-height: 72px;
    padding: 8px;
  }

  .block-overview .countdown-time {
    font-size: 26px;
  }

  .height-main .height-number {
    font-size: 21px;
  }

  .ratio-panel {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    padding-inline: 9px;
  }
}

.current-strip {
  min-height: 64px;
  margin-bottom: 10px;
  padding: 10px 13px;
}

.current-copy {
  gap: 10px;
}

.game-icon {
  width: 38px;
  height: 38px;
  font-size: 16px;
}

.current-strip .current-label {
  display: block;
  font-size: 12px;
}

.current-name {
  margin-top: 2px;
  font-size: 20px;
}

.pill {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.chip-btn {
  min-width: 64px;
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.block-dashboard {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 24%, rgba(46, 123, 255, 0.14), transparent 10rem),
    radial-gradient(circle at 86% 12%, rgba(111, 63, 242, 0.22), transparent 10rem),
    rgba(8, 25, 43, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(47, 111, 178, 0.05);
}

.dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(136px, 0.8fr);
}

.dashboard-height,
.dashboard-countdown {
  min-width: 0;
  padding: 14px 15px 12px;
}

.dashboard-height {
  border-right: 1px solid rgba(74, 129, 198, 0.36);
  background: linear-gradient(90deg, rgba(46, 123, 255, 0.08), transparent);
}

.dashboard-countdown {
  display: grid;
  align-content: center;
}

.dashboard-title-row,
.dashboard-height-row,
.dashboard-countdown-row {
  display: grid;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dashboard-title-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.dashboard-height-row {
  grid-template-columns: minmax(0, 1fr) 42px;
  margin-top: 8px;
}

.dashboard-countdown-row {
  grid-template-columns: minmax(0, 1fr) 34px;
  margin-top: 8px;
}

.block-dashboard .metric-label {
  color: #94a9c4;
  font-size: 13px;
  font-weight: 850;
}

.block-dashboard .height-number {
  margin-top: 0;
  font-size: 34px;
}

.block-dashboard .countdown-time {
  font-size: 34px;
}

.block-dashboard .height-caption,
.block-dashboard .estimate {
  margin-top: 5px;
  color: #8fa5bf;
  font-size: 12px;
}

.block-dashboard .result-badge {
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.block-dashboard .ring {
  width: 34px;
  height: 34px;
}

.block-dashboard .verify-chip {
  min-width: 46px;
  min-height: 28px;
  padding: 0 9px;
  font-size: 12px;
}

.dashboard-ratio {
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(74, 129, 198, 0.34);
  background: rgba(2, 12, 22, 0.2);
}

.dashboard-ratio-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.ratio-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.ratio-pill.double {
  justify-content: flex-end;
}

.ratio-pill em {
  font-size: 18px;
  font-style: normal;
  font-weight: 950;
}

.ratio-pill strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

.ratio-pill small {
  color: #afbed0;
  font-size: 12px;
  font-weight: 800;
}

.ratio-pill.single em,
.ratio-pill.single strong {
  color: var(--red);
}

.ratio-pill.double em,
.ratio-pill.double strong {
  color: var(--cyan);
}

.ratio-total-inline {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(96, 154, 255, 0.22);
  border-radius: 999px;
  background: rgba(46, 123, 255, 0.08);
  color: #91a8c3;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.ratio-total-inline strong {
  color: #70a8ff;
  font-size: 22px;
  line-height: 1;
}

.dashboard-ratio-track {
  display: flex;
  height: 8px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 35, 58, 0.9);
}

.dashboard-ratio-track span {
  min-width: 4px;
  height: 100%;
}

.dashboard-ratio-track .single {
  background: linear-gradient(90deg, rgba(255, 77, 107, 0.92), rgba(255, 77, 107, 0.68));
}

.dashboard-ratio-track .double {
  background: linear-gradient(90deg, rgba(33, 219, 194, 0.72), rgba(33, 219, 194, 0.96));
}

@media (max-width: 640px) {
  .current-strip {
    grid-template-columns: minmax(110px, 1fr) auto;
    min-height: 62px;
    margin-bottom: 10px;
    padding: 10px 12px;
  }

  .game-icon {
    width: 36px;
    height: 36px;
  }

  .current-name {
    font-size: 18px;
  }

  .current-side {
    gap: 6px;
  }

  .pill {
    min-height: 28px;
    padding: 0 9px;
  }

  .chip-btn {
    min-width: 58px;
    min-height: 32px;
    padding: 0 10px;
  }

  .dashboard-main {
    grid-template-columns: minmax(0, 1.16fr) minmax(132px, 0.84fr);
  }

  .dashboard-height,
  .dashboard-countdown {
    padding: 12px;
  }

  .dashboard-height-row {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .dashboard-countdown-row {
    grid-template-columns: minmax(0, 1fr) 30px;
  }

  .block-dashboard .metric-label {
    font-size: 12px;
  }

  .block-dashboard .height-number,
  .block-dashboard .countdown-time {
    font-size: 30px;
  }

  .block-dashboard .result-badge {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .block-dashboard .ring {
    width: 30px;
    height: 30px;
  }

  .block-dashboard .verify-chip {
    min-width: 42px;
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
  }

  .dashboard-ratio {
    padding: 9px 12px 11px;
  }

  .ratio-pill em {
    font-size: 16px;
  }

  .ratio-pill strong {
    font-size: 22px;
  }

  .ratio-total-inline {
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
  }

  .ratio-total-inline strong {
    font-size: 20px;
  }
}

@media (max-width: 0px) {
  .dashboard-main {
    grid-template-columns: 1fr;
  }

  .dashboard-height {
    border-right: 0;
    border-bottom: 1px solid rgba(74, 129, 198, 0.36);
  }

  .dashboard-countdown {
    padding-top: 10px;
  }

  .dashboard-ratio-meta {
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
  }

  .ratio-pill {
    gap: 4px;
  }

  .ratio-pill em {
    font-size: 14px;
  }

  .ratio-pill strong {
    font-size: 18px;
  }

  .ratio-pill small {
    font-size: 10px;
  }

  .ratio-total-inline {
    padding: 0 6px;
  }
}

.fused-dashboard {
  display: grid;
  gap: 10px;
  padding: 12px;
  background:
    radial-gradient(circle at 18% 18%, rgba(46, 123, 255, 0.18), transparent 9rem),
    radial-gradient(circle at 84% 8%, rgba(111, 63, 242, 0.22), transparent 9rem),
    linear-gradient(135deg, rgba(8, 30, 52, 0.94), rgba(5, 17, 31, 0.94));
}

.fused-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.58fr);
  gap: 10px;
  align-items: stretch;
}

.fused-height,
.fused-next {
  min-width: 0;
  border: 1px solid rgba(66, 124, 200, 0.36);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.32);
}

.fused-height {
  padding: 13px 14px;
  background:
    linear-gradient(90deg, rgba(46, 123, 255, 0.14), transparent 70%),
    rgba(2, 12, 22, 0.32);
}

.fused-next {
  display: grid;
  align-content: center;
  padding: 13px 12px;
}

.fused-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fused-height-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
}

.fused-countdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-top: 8px;
}

.result-stack {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 42px;
}

.result-stack small {
  color: #a9bbd0;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.fused-dashboard .metric-label {
  color: #a4b8d0;
  font-size: 13px;
  font-weight: 850;
}

.fused-dashboard .height-number {
  margin-top: 0;
  font-size: 38px;
}

.fused-dashboard .countdown-time {
  font-size: 34px;
}

.fused-dashboard .estimate {
  margin-top: 5px;
  color: #95a9c1;
  font-size: 12px;
}

.fused-dashboard .result-badge {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.fused-dashboard .ring {
  width: 34px;
  height: 34px;
}

.fused-dashboard .verify-chip {
  width: auto;
  min-width: 48px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.fused-ratio {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid rgba(66, 124, 200, 0.3);
  border-radius: var(--radius);
  background: rgba(2, 12, 22, 0.28);
}

.ratio-mini {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 62px;
}

.ratio-mini.double {
  justify-content: flex-end;
}

.ratio-mini em {
  font-size: 18px;
  font-style: normal;
  font-weight: 950;
}

.ratio-mini strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}

.ratio-mini small {
  color: #afbed0;
  font-size: 12px;
  font-weight: 850;
}

.ratio-mini.single em,
.ratio-mini.single strong {
  color: var(--red);
}

.ratio-mini.double em,
.ratio-mini.double strong {
  color: var(--cyan);
}

.fused-ratio-center {
  display: grid;
  align-items: center;
  min-width: 0;
  gap: 7px;
}

.fused-ratio-center .ratio-total-inline {
  justify-self: center;
  min-height: 24px;
  padding: 0 9px;
  border-color: rgba(96, 154, 255, 0.28);
  background: rgba(46, 123, 255, 0.12);
  font-size: 11px;
}

.fused-ratio-center .ratio-total-inline strong {
  font-size: 18px;
}

.fused-ratio .dashboard-ratio-track {
  height: 7px;
  margin-top: 0;
}

@media (max-width: 640px) {
  .fused-dashboard {
    gap: 8px;
    padding: 10px;
  }

  .fused-status {
    grid-template-columns: minmax(0, 1fr) minmax(132px, 0.52fr);
    gap: 8px;
  }

  .fused-height {
    padding: 11px 10px;
  }

  .fused-next {
    padding: 11px 10px;
  }

  .fused-height-row {
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 9px;
    margin-top: 8px;
  }

  .fused-countdown-row {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 7px;
  }

  .fused-dashboard .metric-label {
    font-size: 12px;
  }

  .fused-dashboard .height-number {
    font-size: 30px;
  }

  .fused-dashboard .countdown-time {
    font-size: 27px;
  }

  .fused-dashboard .estimate,
  .result-stack small {
    font-size: 10px;
  }

  .fused-dashboard .result-badge {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .fused-dashboard .ring {
    width: 28px;
    height: 28px;
  }

  .fused-dashboard .verify-chip {
    min-width: 42px;
    min-height: 25px;
    padding: 0 8px;
    font-size: 11px;
  }

  .fused-ratio {
    gap: 8px;
    min-height: 54px;
    padding: 8px 9px;
  }

  .ratio-mini {
    min-width: 52px;
    gap: 5px;
  }

  .ratio-mini em {
    font-size: 15px;
  }

  .ratio-mini strong {
    font-size: 20px;
  }

  .ratio-mini small {
    font-size: 10px;
  }

  .fused-ratio-center {
    gap: 5px;
  }
}

@media (max-width: 0px) {
  .fused-status {
    grid-template-columns: 1fr;
  }

  .fused-height-row {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .fused-ratio {
    grid-template-columns: 1fr;
  }

  .ratio-mini,
  .ratio-mini.double {
    justify-content: center;
  }
}

.fused-status {
  grid-template-columns: minmax(0, 1fr) 62px minmax(122px, 0.54fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(66, 124, 200, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(46, 123, 255, 0.13), transparent 45%),
    rgba(2, 12, 22, 0.3);
}

.fused-height,
.fused-result,
.fused-next {
  min-width: 0;
  min-height: 104px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.fused-height {
  display: grid;
  align-content: center;
  padding: 13px 14px;
  background: transparent;
}

.fused-result {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-left: 1px solid rgba(74, 129, 198, 0.28);
  border-right: 1px solid rgba(74, 129, 198, 0.28);
}

.fused-next {
  padding: 13px 12px;
}

.fused-height .height-number {
  margin-top: 8px;
}

.fused-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.fused-result small {
  color: #a9bbd0;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .fused-status {
    grid-template-columns: minmax(0, 1fr) 52px minmax(112px, 0.52fr);
    gap: 0;
  }

  .fused-height,
  .fused-result,
  .fused-next {
    min-height: 98px;
  }

  .fused-height {
    padding: 11px 10px;
  }

  .fused-result {
    padding: 10px 6px;
  }

  .fused-next {
    padding: 11px 10px;
  }

  .fused-result small {
    font-size: 10px;
  }
}

@media (max-width: 0px) {
  .fused-status {
    grid-template-columns: minmax(0, 1fr) 48px minmax(104px, 0.5fr);
  }

  .fused-height,
  .fused-result,
  .fused-next {
    min-height: 90px;
  }
}

.bet-dashboard {
  gap: 10px;
  padding: 12px;
}

.bet-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 92px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid rgba(66, 124, 200, 0.36);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 48%, rgba(96, 154, 255, 0.08), transparent 8rem),
    linear-gradient(90deg, rgba(10, 36, 62, 0.86), rgba(4, 16, 29, 0.78) 48%, rgba(18, 20, 68, 0.82)),
    rgba(2, 12, 22, 0.32);
}

.opened-block,
.betting-block {
  display: flex;
  min-height: 100%;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.bet-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a9bbd0;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.opened-block-head {
  max-width: 100%;
}

.opened-block-head .inline-verify {
  margin-left: 2px;
}

.opened-block-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin-top: 8px;
}

.opened-block-main strong,
.betting-block strong {
  min-width: 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.opened-block-main strong {
  color: #edf6ff;
}

.betting-block {
  text-align: right;
}

.betting-block .bet-label {
  justify-content: flex-end;
  color: #6ea5ff;
}

.betting-block strong {
  display: block;
  margin-top: 8px;
  color: #5f98ff;
}

.result-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.result-mini.single {
  background: linear-gradient(135deg, #ff4d6b, #f33359);
}

.result-mini.double {
  background: linear-gradient(135deg, #28dfc3, #10b99b);
}

.inline-verify {
  flex: 0 0 auto;
  width: auto;
  min-width: 36px;
  min-height: 23px;
  padding: 0 6px;
  font-size: 11px;
}

.bet-countdown {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.bet-countdown::before,
.bet-countdown::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(91, 143, 197, 0.38), transparent);
}

.bet-countdown::before {
  left: 0;
}

.bet-countdown::after {
  right: 0;
}

.bet-countdown-ring {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(238, 246, 255, 0.98) 0 56%, transparent 57%),
    conic-gradient(#5f83ff var(--ring, 72%), rgba(238, 246, 255, 0.2) 0);
  box-shadow:
    0 0 0 1px rgba(95, 131, 255, 0.16),
    0 6px 14px rgba(0, 0, 0, 0.2);
}

.bet-countdown-ring b {
  color: #07182a;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.bet-countdown-ring b.is-long {
  font-size: 13px;
}

@media (max-width: 640px) {
  .bet-dashboard {
    gap: 8px;
    padding: 10px;
  }

  .bet-status-row {
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    gap: 7px;
    min-height: 76px;
    padding: 10px 9px;
  }

  .bet-label {
    gap: 4px;
    font-size: 11px;
  }

  .opened-block-head {
    gap: 5px;
  }

  .opened-block-main {
    gap: 5px;
    margin-top: 5px;
  }

  .opened-block-main strong,
  .betting-block strong {
    font-size: 24px;
  }

  .betting-block strong {
    margin-top: 7px;
  }

  .result-mini {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }

  .inline-verify {
    min-width: 30px;
    min-height: 20px;
    padding: 0 5px;
    font-size: 10px;
  }

  .bet-countdown::before,
  .bet-countdown::after {
    top: 8px;
    bottom: 8px;
  }

  .bet-countdown-ring {
    width: 42px;
    height: 42px;
  }

  .bet-countdown-ring b {
    font-size: 14px;
  }

  .bet-countdown-ring b.is-long {
    font-size: 11px;
  }
}

@media (max-width: 0px) {
  .bet-status-row {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: 5px;
    padding-inline: 7px;
  }

  .opened-block-main strong,
  .betting-block strong {
    font-size: 21px;
  }

  .inline-verify {
    min-width: 27px;
    padding: 0 4px;
  }

  .bet-countdown-ring {
    width: 38px;
    height: 38px;
  }
}

/* H5 typography normalization */
:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    Arial, "Microsoft YaHei", sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

body {
  font-size: 12px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.primary-btn,
.outline-btn,
.fee-btn,
.mini-btn,
.chip-btn,
.download-btn,
.verify-query-btn,
.verify-reset-btn,
.segment,
.option-btn,
.sheet-action button,
.confirm-btn,
.register-btn,
.login-submit-btn {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
}

.primary-btn {
  min-width: 58px;
}

.outline-btn,
.fee-btn,
.download-btn {
  min-width: 56px;
}

.fee-btn,
.download-btn {
  min-height: 32px;
  padding: 0 11px;
}

.verify-query-btn,
.verify-reset-btn {
  min-height: 30px;
  height: 30px;
  padding: 0 8px;
}

.verify-toolbar .download-btn {
  min-width: 48px;
  min-height: 30px;
  height: 30px;
  padding: 0 9px;
}

.chip-btn {
  min-width: 62px;
  min-height: 32px;
  padding: 0 10px;
}

.mini-btn {
  min-width: 46px;
  min-height: 28px;
  padding: 0 8px;
}

.pill {
  min-height: 28px;
  padding: 0 10px;
}

.block-switch-strip {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 8px;
  min-height: 82px;
  padding: 8px 10px;
}

.block-switch-strip .current-copy {
  min-width: 0;
}

.block-switch-strip .current-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block-switch-strip .current-side {
  min-width: 0;
}

.block-inline-tabs {
  display: flex;
  align-items: center;
  min-width: 0;
}

.block-source-tabs {
  justify-content: flex-end;
  gap: 5px;
}

.block-mode-tabs {
  grid-column: 1 / -1;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(48, 95, 147, 0.74);
  border-radius: 8px;
  background: rgba(1, 12, 23, 0.5);
}

.block-inline-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(68, 125, 194, 0.64);
  border-radius: 999px;
  background: rgba(4, 18, 33, 0.72);
  color: #a9bed4;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.block-inline-tab.is-active {
  border-color: rgba(105, 149, 255, 0.9);
  background: linear-gradient(135deg, #2d78ff, #6250ee);
  color: #ffffff;
  box-shadow: 0 7px 15px rgba(45, 120, 255, 0.18);
}

.block-source-tabs .block-inline-tab {
  min-width: 38px;
}

.block-source-tabs .block-inline-tab:first-child {
  min-width: 72px;
}

.block-mode-tabs .block-inline-tab {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 6px;
}

.segmented {
  min-height: 30px;
  grid-auto-columns: minmax(50px, auto);
}

.segment {
  padding: 0 10px;
}

.trend-panel {
  margin-bottom: 12px;
  padding: 14px;
}

.trend-panel .section-head {
  gap: 8px;
  margin-bottom: 10px;
}

.trend-panel .trend-controls {
  justify-content: space-between;
  margin-bottom: 10px;
}

.trend-latest-card {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 30px;
  gap: 7px;
  padding: 3px 9px;
  border: 1px solid rgba(67, 122, 190, 0.58);
  border-radius: 999px;
  background: rgba(4, 18, 33, 0.62);
  color: #a9bad0;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.trend-latest-card strong {
  color: #eef7ff;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.trend-latest-label {
  color: #8fa7c0;
}

.trend-latest-result {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.trend-latest-result em {
  font-style: normal;
  font-weight: 950;
}

.trend-latest-result .single,
.trend-latest-result .big {
  color: var(--red);
}

.trend-latest-result .double {
  color: var(--cyan);
}

.trend-latest-result .small {
  color: #70a8ff;
}

.trend-range-tabs {
  width: min(100%, 230px);
  min-height: 30px;
}

.trend-scroll {
  border-radius: 7px;
}

.trend-grid {
  position: relative;
  grid-template-columns: repeat(var(--trend-columns, 14), minmax(40px, 1fr));
  grid-template-rows: repeat(5, 34px);
  width: max(100%, var(--trend-mid-width, 560px));
  min-width: var(--trend-mid-width, 560px);
}

.trend-countdown-cell {
  display: grid;
  place-items: center;
  border: 1px solid rgba(89, 145, 255, 0.9);
  background: rgba(5, 20, 36, 0.92);
  color: #70a8ff;
  font-size: 12px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(112, 168, 255, 0.12),
    0 0 12px rgba(46, 123, 255, 0.2);
}

.trend-countdown-cell-grid {
  width: auto;
  height: auto;
  border-top: 0;
  border-left: 0;
}

.trend-countdown-cell-floating {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 8;
  width: 40px;
  height: 34px;
}

.trend-countdown-cell b {
  color: inherit;
  font: inherit;
}

.trend-countdown-cell b.is-long {
  font-size: 10px;
}

.trend-token {
  width: 26px;
  height: 26px;
  font-size: 13px;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.option-btn {
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
}

.coin-dot {
  width: 22px;
  height: 22px;
  font-size: 11px;
}

.sheet-action {
  margin-top: 22px;
  padding-top: 12px;
}

.confirm-btn {
  min-height: 44px;
}

.register-btn,
.login-submit-btn {
  min-height: 44px;
}

.login-action-row {
  gap: 8px;
}

.password-toggle {
  width: 28px;
  height: 28px;
}

.inline-verify {
  min-width: 30px;
  min-height: 20px;
  padding: 0 6px;
  font-size: 10px;
}

.header-actions .outline-btn,
.header-actions .fee-btn,
.header-actions .primary-btn {
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
}

.brand-logo {
  min-height: 50px;
}

.brand-logo .v6-logo-text {
  font-size: 34px;
}

.brand-logo .v6-logo-subtitle {
  font-size: 10px;
}

.v6-logo-text {
  font-size: 36px;
}

.v6-logo-subtitle {
  font-size: 10px;
}

.mode-tabs {
  min-height: 48px;
}

.mode-tab {
  font-size: 17px;
}

.current-label,
.pill,
.metric-label,
.section-title small,
.verify-note,
.hash-sub,
.sheet-subtitle,
.login-meta-row .remember-line,
.login-meta-link {
  font-size: 11px;
}

.current-name {
  font-size: 18px;
}

.section-title,
.lottery-title,
.sheet-title,
.modal-title {
  font-size: 20px;
}

.bet-label,
.data-table th,
.data-table td,
.hash-main,
.result-text,
.history-more,
.verify-line,
.toast {
  font-size: 12px;
}

.opened-block-main strong,
.betting-block strong {
  font-size: 30px;
}

.bet-countdown-ring b {
  font-size: 15px;
}

.bet-countdown-ring b.is-long {
  font-size: 12px;
}

.ratio-mini em,
.ratio-mini small,
.ratio-total-inline {
  font-size: 11px;
}

.ratio-mini strong,
.ratio-total-inline strong {
  font-size: 20px;
}

.trend-token {
  font-size: 13px;
}

.lottery-ball {
  font-size: 14px;
}

.lottery-title-row .period,
.cutoff,
.history-tab {
  font-size: 12px;
}

.cutoff-time,
.lottery-title-row + .metric-label + .balls .lottery-ball {
  font-size: 16px;
}

.login-logo .v6-logo-text {
  font-size: 40px;
}

.login-logo .v6-logo-subtitle {
  font-size: 11px;
}

.promo-field input {
  min-height: 50px;
  font-size: 14px;
}

.field-error {
  font-size: 11px;
}

.energy-title,
.energy-section-title,
.rental-title {
  font-size: 18px;
}

.energy-label,
.energy-note,
.energy-field,
.energy-tab,
.energy-option,
.energy-card,
.energy-action,
.payment-option,
.order-row,
.address-copy,
.fixed-action-bar button,
.rental-hero-copy p,
.rental-hero-copy span,
.rental-tab,
.rental-choice,
.rental-quick button,
.rental-field,
.rental-field b,
.rental-field em,
.rental-field input,
.rental-field select,
.rental-address-row input,
.rental-input-unit,
.rental-input-unit button,
.rental-bind-btn,
.rental-check,
.rental-warning,
.rental-pay-title,
.rental-pay-card strong,
.rental-pay-card em,
.rental-summary,
.rental-summary strong,
.rental-wallet,
.rental-tip,
.rental-transfer-card > span,
.rental-transfer-card > em,
.rental-transfer-card > small,
.platform-address input,
.copy-btn {
  font-size: 12px;
}

.energy-amount,
.price-value,
.pay-amount,
.rental-transfer-card > strong {
  font-size: 22px;
}

.rental-header h1,
.rental-section-head h2 {
  font-size: 18px;
}

.rental-back {
  font-size: 28px;
}

.trx-symbol {
  font-size: 18px;
}

.rental-hero-copy strong {
  font-size: 22px;
}

.rental-record-btn,
.rental-confirm-btn {
  min-height: 42px;
  padding: 0 10px;
  font-size: 14px;
}

.rental-choice,
.rental-quick button {
  min-height: 34px;
  padding: 0 8px;
}

.rental-bind-btn {
  min-height: 32px;
  padding: 0 10px;
}

.rental-input-unit button {
  min-height: 36px;
  padding: 0 10px;
}

.copy-btn {
  min-width: 30px;
  min-height: 22px;
  padding: 0 6px;
  font-size: 10px;
}

.copy-btn.square {
  min-width: 28px;
  min-height: 28px;
}

.history-panel {
  padding: 14px;
}

.history-panel .section-head {
  gap: 8px;
  margin-bottom: 8px;
}

.lottery-history-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: #a8bbd1;
  font-weight: 850;
}

.lottery-history-deadline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.lottery-mini-countdown {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}

.lottery-mini-countdown .time-block {
  min-width: 20px;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.1;
}

.history-tabs {
  gap: 6px;
  margin: 0 0 10px;
  padding-bottom: 4px;
}

.history-tab {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 12px;
}

.lottery-history-content {
  margin-top: 0;
}

.lottery-history-scroll {
  position: relative;
  max-height: 430px;
  overflow: auto;
  scrollbar-color: #3d85ff rgba(19, 42, 68, 0.72);
}

.lottery-history-scroll.has-trend-countdown {
  padding-top: 0;
}

.lottery-history-scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.lottery-history-scroll::-webkit-scrollbar-track {
  background: rgba(19, 42, 68, 0.72);
}

.lottery-history-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(61, 133, 255, 0.78);
}

.lottery-detail-table {
  min-width: 680px;
  table-layout: fixed;
}

.lottery-detail-table th,
.lottery-detail-table td {
  height: 30px;
  padding: 0 6px;
  text-align: center;
  white-space: nowrap;
}

.lottery-detail-table thead th,
.ball-trend-head {
  background: rgba(17, 45, 75, 0.94);
  color: #b9c9dc;
  font-weight: 850;
}

.two-side-table {
  min-width: 700px;
}

.shape-table {
  min-width: 420px;
}

.shape-split-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.shape-split-table .period-col {
  width: 15%;
}

.shape-split-table .shape-number-col {
  width: 9%;
}

.shape-split-table .shape-type-col {
  width: 11.6%;
}

.shape-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}

.shape-number.single {
  background: linear-gradient(180deg, #ff6683 0%, #f0345b 100%);
}

.shape-number.double {
  background: linear-gradient(180deg, #2ee3cf 0%, #0da896 100%);
}

.lottery-side-text {
  font-weight: 900;
}

.lottery-side-text.red {
  color: var(--red);
}

.lottery-side-text.blue {
  color: #63a0ff;
}

.lottery-side-text.cyan {
  color: var(--cyan);
}

.shape-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(128, 165, 206, 0.62);
  border-radius: 999px;
  background: rgba(10, 28, 48, 0.72);
}

.shape-dot.is-hit {
  border-color: transparent;
}

.shape-dot.red {
  background: #f0444f;
}

.shape-dot.blue {
  background: #2f78ff;
}

.shape-dot.orange {
  background: #ff8a2a;
}

.shape-dot.green {
  background: #20c46b;
}

.shape-dot.violet {
  background: #a45dff;
}

.ball-trend-scroll {
  max-height: 430px;
}

.ball-trend-board {
  position: relative;
  width: var(--trend-width);
  min-width: var(--trend-width);
  height: var(--trend-height);
  background:
    radial-gradient(circle at 75% 8%, rgba(46, 123, 255, 0.08), transparent 100px),
    rgba(3, 14, 26, 0.42);
}

.ball-trend-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: var(--trend-width);
  height: var(--trend-height);
  pointer-events: none;
}

.ball-trend-lines polyline {
  fill: none;
  stroke: rgba(255, 202, 91, 0.92);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ball-trend-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 58px repeat(10, 38px);
  grid-auto-rows: 30px;
}

.ball-trend-board .trend-countdown-cell-floating {
  width: 38px;
  height: 28px;
}

.lottery-history-scroll.has-trend-countdown > .trend-countdown-cell-floating {
  position: sticky;
  top: 0;
  left: calc(100% - 38px);
  z-index: 9;
  width: 38px;
  height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lottery-history-scroll.has-trend-countdown > .trend-countdown-cell-floating b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 28px;
  border: 1px solid rgba(89, 145, 255, 0.9);
  background: rgba(5, 20, 36, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(112, 168, 255, 0.12),
    0 0 12px rgba(46, 123, 255, 0.2);
}

.ball-trend-head,
.ball-trend-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgba(44, 83, 128, 0.58);
  border-bottom: 1px solid rgba(44, 83, 128, 0.58);
  color: #7890aa;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.ball-trend-head:first-child,
.ball-trend-cell.period-cell {
  color: #b8c8db;
  font-weight: 850;
}

.ball-hit {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.3), transparent 26%),
    linear-gradient(145deg, #ff5869, #d92936);
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 0 0 2px rgba(255, 77, 107, 0.14);
}

.miss-num {
  position: relative;
  z-index: 2;
}

.lottery-number-table {
  min-width: 620px;
}

.lottery-number-table .balls {
  min-width: 132px;
  gap: 4px;
}

.lottery-number-table .lottery-ball {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.lottery-number-table td {
  height: 38px;
}

.history-more {
  margin-top: 10px;
}

.history-panel {
  padding: 12px;
  background:
    radial-gradient(circle at 82% 0%, rgba(93, 76, 233, 0.14), transparent 150px),
    linear-gradient(180deg, rgba(8, 25, 43, 0.95), rgba(4, 17, 31, 0.94));
}

.history-panel .section-head {
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.history-panel .section-title {
  font-size: 18px;
  line-height: 1.15;
}

.history-panel .section-title small {
  font-size: 11px;
  font-weight: 750;
}

.history-panel .section-actions {
  gap: 6px;
}

.history-panel .section-actions .strong-cyan {
  padding: 3px 8px;
  border: 1px solid rgba(33, 219, 194, 0.28);
  border-radius: 999px;
  background: rgba(33, 219, 194, 0.08);
  font-size: 10px;
}

.lottery-history-meta {
  min-height: 30px;
  padding: 6px 8px;
  border: 1px solid rgba(42, 85, 132, 0.72);
  border-radius: 7px;
  background: rgba(3, 14, 26, 0.58);
  color: #a7bad0;
  font-size: 11px;
}

.lottery-history-period {
  color: #c9d8ea;
}

.lottery-history-deadline {
  color: #8fa7c0;
}

.lottery-mini-countdown .time-block {
  min-width: 18px;
  padding: 2px 4px;
  border-color: rgba(99, 143, 232, 0.56);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(45, 120, 255, 0.85), rgba(93, 76, 233, 0.9));
  font-size: 10px;
}

.history-tabs {
  gap: 5px;
  margin: 0 0 8px;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.history-tabs::-webkit-scrollbar {
  display: none;
}

.history-tab {
  min-height: 26px;
  padding: 0 10px;
  border-color: rgba(65, 117, 174, 0.62);
  border-radius: 999px;
  background: rgba(3, 14, 26, 0.74);
  color: #a9bbcf;
  font-size: 11px;
  box-shadow: inset 0 0 0 1px rgba(97, 151, 219, 0.04);
}

.history-tab.is-active {
  border-color: rgba(111, 150, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(45, 120, 255, 0.95), rgba(111, 63, 242, 0.92));
  color: #f3f8ff;
  box-shadow: 0 8px 18px rgba(45, 120, 255, 0.18);
}

.lottery-history-content {
  overflow: hidden;
  border: 1px solid rgba(38, 83, 130, 0.86);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 6%, rgba(46, 123, 255, 0.08), transparent 130px),
    rgba(2, 12, 22, 0.58);
}

.lottery-history-scroll {
  max-height: 390px;
  border: 0;
  border-radius: 0;
  background: transparent;
  scrollbar-color: #3d85ff rgba(19, 42, 68, 0.72);
}

.lottery-detail-table,
.lottery-number-table {
  border-collapse: separate;
  border-spacing: 0;
}

.lottery-detail-table th,
.lottery-detail-table td,
.lottery-number-table th,
.lottery-number-table td {
  height: 28px;
  padding: 0 6px;
  border-right: 1px solid rgba(42, 85, 132, 0.58);
  border-bottom: 1px solid rgba(42, 85, 132, 0.58);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.lottery-detail-table th:last-child,
.lottery-detail-table td:last-child,
.lottery-number-table th:last-child,
.lottery-number-table td:last-child {
  border-right: 0;
}

.lottery-detail-table tr:last-child td,
.lottery-number-table tr:last-child td {
  border-bottom: 0;
}

.lottery-detail-table thead th,
.lottery-number-table thead th,
.ball-trend-head {
  background: rgba(13, 35, 60, 0.95);
  color: #b8c9dd;
  font-size: 11px;
  font-weight: 850;
}

.lottery-detail-table tbody tr:nth-child(even) td,
.lottery-number-table tbody tr:nth-child(even) td {
  background: rgba(12, 34, 57, 0.32);
}

.lottery-detail-table tbody td,
.lottery-number-table tbody td {
  color: #c9d7e8;
  font-size: 11px;
}

.lottery-side-text.red,
.strong-red {
  color: var(--red);
}

.lottery-side-text.blue,
.strong-blue {
  color: #62a0ff;
}

.lottery-side-text.cyan,
.strong-cyan {
  color: var(--cyan);
}

.lottery-side-text {
  display: inline-flex;
  justify-content: center;
  min-width: 16px;
  font-weight: 900;
}

.shape-dot {
  width: 7px;
  height: 7px;
  border-color: rgba(128, 165, 206, 0.62);
  background: rgba(8, 28, 48, 0.9);
}

.shape-table {
  min-width: 420px;
}

.shape-split-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.shape-split-table .period-col {
  width: 15%;
}

.shape-split-table .shape-number-col {
  width: 9%;
}

.shape-split-table .shape-type-col {
  width: 11.6%;
}

.shape-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(143, 188, 255, 0.1);
}

.shape-number.single {
  background: linear-gradient(180deg, #ff6683 0%, #f0345b 100%);
}

.shape-number.double {
  background: linear-gradient(180deg, #2ee3cf 0%, #0da896 100%);
}

.shape-dot.is-hit {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 3px rgba(74, 130, 255, 0.08);
}

.shape-dot.red {
  background: var(--red);
}

.shape-dot.blue {
  background: #3d85ff;
}

.shape-dot.orange {
  background: var(--orange);
}

.shape-dot.green {
  background: #20c46b;
}

.shape-dot.violet {
  background: var(--violet);
}

.ball-trend-scroll {
  max-height: 380px;
}

.ball-trend-board {
  overflow: hidden;
  width: max(100%, var(--trend-width));
  min-width: var(--trend-width);
  background:
    linear-gradient(90deg, rgba(46, 123, 255, 0.08), transparent 42%),
    rgba(3, 14, 26, 0.36);
}

.ball-trend-lines {
  width: 100%;
  height: 100%;
}

.ball-trend-grid {
  grid-template-columns: var(--trend-period-ratio) repeat(10, minmax(0, 1fr));
  grid-auto-rows: 28px;
}

.ball-trend-head,
.ball-trend-cell {
  font-size: 10px;
  border-right-color: rgba(42, 85, 132, 0.62);
  border-bottom-color: rgba(42, 85, 132, 0.62);
}

.ball-trend-cell.period-cell {
  font-size: 10px;
}

.ball-hit {
  width: 19px;
  height: 19px;
  font-size: 10px;
}

.miss-num {
  color: #7189a3;
}

.lottery-number-table {
  min-width: 0;
  table-layout: fixed;
}

.lottery-number-table th:nth-child(1),
.lottery-number-table td:nth-child(1) {
  width: 14%;
}

.lottery-number-table th:nth-child(2),
.lottery-number-table td:nth-child(2) {
  width: 34%;
}

.lottery-number-table th:nth-child(n+3),
.lottery-number-table td:nth-child(n+3) {
  width: 13%;
}

.lottery-number-table .balls {
  justify-content: center;
  min-width: 0;
  gap: 4px;
}

.lottery-number-table .lottery-ball {
  width: 22px;
  height: 22px;
  font-size: 11px;
}

.lottery-number-table td {
  height: 34px;
}

.history-more {
  margin-top: 8px;
  font-size: 11px;
}

.lottery-card {
  gap: 14px;
  min-height: 112px;
}

.lottery-title-row {
  gap: 8px;
  margin-bottom: 12px;
}

.lottery-card > div > .balls {
  gap: 6px;
}

.lottery-card > div > .balls .lottery-ball {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.lottery-side {
  min-width: 178px;
}

.cutoff {
  font-size: 14px;
}

.cutoff-time {
  gap: 5px;
  margin-top: 8px;
}

.time-block {
  min-width: 34px;
  padding: 5px 6px;
  font-size: 15px;
}

@media (max-width: 640px) {
  .mode-tab {
    font-size: 15px;
  }

  .current-name {
    font-size: 16px;
  }

  .section-title,
  .lottery-title,
  .sheet-title,
  .modal-title {
    font-size: 18px;
  }

  .opened-block-main strong,
  .betting-block strong {
    font-size: 24px;
  }

  .bet-countdown-ring b {
    font-size: 13px;
  }

  .bet-countdown-ring b.is-long {
    font-size: 10px;
  }

  .ratio-mini strong,
  .ratio-total-inline strong {
    font-size: 18px;
  }

  .trend-panel {
    padding: 12px;
  }

  .trend-panel .section-head {
    margin-bottom: 8px;
  }

  .trend-panel .trend-controls {
    margin-bottom: 8px;
  }

  .trend-grid {
    grid-template-columns: repeat(14, 40px);
    grid-template-rows: repeat(5, 32px);
    width: 560px;
    min-width: 560px;
  }

  .trend-token {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .login-logo .v6-logo-text {
    font-size: 34px;
  }

  .promo-field input {
    font-size: 13px;
  }

  .rental-header h1,
  .rental-section-head h2 {
    font-size: 16px;
  }

  .rental-hero-copy strong,
  .rental-transfer-card > strong {
    font-size: 20px;
  }
}

@media (max-width: 0px) {
  .mode-tab {
    font-size: 14px;
  }

  .opened-block-main strong,
  .betting-block strong {
    font-size: 21px;
  }

  .trend-grid {
    grid-template-columns: repeat(14, 38px);
    grid-template-rows: repeat(5, 30px);
    width: 532px;
    min-width: 532px;
  }

  .trend-token {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  body.rental-page {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  body.rental-page .rental-shell {
    width: var(--h5-width);
    max-width: none;
    margin-inline: 0;
    zoom: var(--phone-scale);
  }

  body.rental-page .rental-sticky-actions {
    left: 0;
    width: var(--h5-width);
    max-width: none;
    transform: none;
    transform-origin: left bottom;
    zoom: var(--phone-scale);
  }

  body {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .app-shell {
    width: var(--h5-width);
    max-width: none;
    margin-inline: 0;
    zoom: var(--phone-scale);
  }

  .lottery-card {
    grid-template-columns: minmax(0, 1fr) minmax(128px, 0.52fr);
    align-items: center;
    gap: 8px;
    min-height: 94px;
    padding: 12px;
  }

  .block-switch-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 7px;
    min-height: 76px;
    padding: 7px 9px;
  }

  .block-source-tabs {
    gap: 4px;
  }

  .block-inline-tab {
    min-height: 24px;
    padding: 0 7px;
    font-size: 10px;
  }

  .block-source-tabs .block-inline-tab:first-child {
    min-width: 66px;
  }

  .block-mode-tabs {
    gap: 3px;
    padding: 2px;
  }

  .lottery-title-row {
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
    margin-bottom: 8px;
  }

  .lottery-title {
    font-size: 18px;
    white-space: nowrap;
  }

  .period {
    font-size: 10px;
    white-space: nowrap;
  }

  .lottery-card .metric-label {
    font-size: 10px;
  }

  .lottery-card > div > .balls {
    flex-wrap: nowrap;
    gap: 4px;
    margin-top: 6px;
  }

  .lottery-card > div > .balls .lottery-ball {
    width: 32px;
    height: 32px;
    font-size: 12px;
    box-shadow:
      inset 0 -3px 0 rgba(0, 0, 0, 0.16),
      0 0 0 1px rgba(143, 188, 255, 0.12);
  }

  .lottery-side {
    min-width: 0;
  }

  .lottery-side,
  .cutoff,
  .cutoff-time {
    justify-content: flex-end;
    text-align: right;
  }

  .cutoff {
    font-size: 12px;
  }

  .cutoff-time {
    gap: 3px;
    margin-top: 6px;
  }

  .time-block {
    min-width: 28px;
    padding: 4px 5px;
    font-size: 12px;
  }

}

@supports not (zoom: 1) {
  @media (max-width: 430px) {
    body {
      width: 100%;
      min-width: 0;
      min-height: 100vh;
      zoom: 1;
    }

    .app-shell {
      zoom: 1;
      min-height: calc(100vh / var(--phone-scale));
      transform: scale(var(--phone-scale));
      transform-origin: top left;
    }
  }
}

@media (min-width: 900px) {
  body.layout-pc {
    min-width: 1120px;
    overflow-x: auto;
    background:
      radial-gradient(circle at 16% 0%, rgba(46, 123, 255, 0.22), transparent 30rem),
      radial-gradient(circle at 86% 8%, rgba(111, 63, 242, 0.28), transparent 34rem),
      linear-gradient(180deg, #020b15 0%, #06111f 52%, #020b15 100%);
  }

  .app-shell.layout-pc {
    display: grid;
    width: min(calc(100vw - 48px), 1280px);
    max-width: none;
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px 24px 22px;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: max-content;
    align-items: start;
    align-content: start;
    gap: 9px;
    transform: none;
    transform-origin: center top;
  }

  .rental-shell,
  .rental-shell.layout-pc,
  body.layout-pc .rental-shell {
    display: block;
    width: min(calc(100vw - 48px), 980px);
    padding-bottom: 118px;
  }

  .app-header,
  .mode-tabs,
  .current-strip,
  .history-panel,
  .lottery-card {
    grid-column: 1 / -1;
  }

  .app-header {
    position: sticky;
    top: 10px;
    z-index: 30;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid rgba(69, 126, 189, 0.48);
    border-radius: 10px;
    background:
      radial-gradient(circle at 78% 0%, rgba(87, 67, 205, 0.28), transparent 18rem),
      rgba(3, 13, 25, 0.88);
  }

  .brand-row {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) minmax(0, 1fr);
  }

  .brand-logo {
    min-height: 46px;
  }

  .brand-logo .v6-logo-text {
    font-size: 34px;
  }

  .brand-logo .v6-logo-subtitle {
    font-size: 11px;
  }

  .header-actions .outline-btn,
  .header-actions .fee-btn,
  .header-actions .primary-btn {
    min-width: 68px;
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .mode-tabs {
    min-height: 48px;
    margin: 0;
    border-radius: 10px;
  }

  .mode-tab {
    font-size: 18px;
  }

  .current-strip {
    min-height: 58px;
    margin: 0;
    padding: 9px 16px;
    border-radius: 10px;
    background:
      linear-gradient(90deg, rgba(9, 33, 57, 0.92), rgba(16, 21, 63, 0.82)),
      rgba(8, 25, 43, 0.9);
  }

  .block-switch-strip {
    grid-template-columns: minmax(220px, 0.65fr) minmax(176px, auto) minmax(410px, 1fr);
    gap: 8px;
  }

  .block-switch-strip .current-label {
    display: block;
    font-size: 12px;
  }

  .block-switch-strip .current-name {
    font-size: 19px;
  }

  .block-switch-strip .current-side {
    justify-self: end;
  }

  .block-mode-tabs {
    grid-column: auto;
    gap: 5px;
    min-width: 410px;
    padding: 3px;
  }

  .block-source-tabs {
    gap: 5px;
  }

  .block-inline-tab {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
  }

  .block-source-tabs .block-inline-tab:first-child {
    min-width: 96px;
  }

  .block-source-tabs .block-inline-tab {
    min-width: 58px;
  }

  .block-mode-tabs .block-inline-tab {
    min-height: 27px;
    border-radius: 7px;
  }

  .hash-content-layout {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: start;
    gap: 14px;
    height: auto;
    min-height: 0;
  }

  .hash-main-column {
    display: grid;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 12px;
    min-width: 0;
    min-height: 0;
  }

  .app-shell.layout-pc .hash-content-layout .block-dashboard,
  .app-shell.layout-pc .hash-content-layout .trend-panel,
  .app-shell.layout-pc .hash-content-layout .verify-panel {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .app-shell.layout-pc .hash-content-layout .verify-panel {
    position: static;
    display: flex;
    flex-direction: column;
    align-self: start;
    height: var(--pc-side-height, 556px);
    min-height: 0;
    max-height: var(--pc-side-height, 556px);
    padding: 18px;
    overflow: hidden;
  }

  .bet-dashboard {
    padding: 16px;
    border-radius: 12px;
  }

  .bet-status-row {
    grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
    min-height: 122px;
    padding: 18px 20px;
    border-radius: 10px;
  }

  .bet-label {
    font-size: 13px;
  }

  .opened-block-main strong,
  .betting-block strong {
    font-size: 36px;
  }

  .bet-countdown-ring {
    width: 58px;
    height: 58px;
  }

  .bet-countdown-ring b {
    font-size: 18px;
  }

  .fused-ratio {
    min-height: 72px;
    padding: 12px 16px;
    border-radius: 10px;
  }

  .ratio-mini strong,
  .ratio-total-inline strong {
    font-size: 24px;
  }

  .trend-panel,
  .history-panel,
  .lottery-card {
    margin: 0;
    padding: 20px;
    border-radius: 12px;
  }

  .hash-main-column .trend-panel {
    display: block;
    min-height: 0;
  }

  .hash-main-column .trend-scroll {
    flex: none;
  }

  .trend-panel .section-head,
  .history-panel .section-head,
  .verify-panel .section-head {
    margin-bottom: 14px;
  }

  .trend-panel .trend-controls {
    margin-bottom: 12px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-title small {
    font-size: 13px;
  }

  .segmented {
    min-height: 34px;
    grid-auto-columns: minmax(72px, auto);
  }

  .segment {
    font-size: 12px;
  }

  .trend-scroll {
    border-radius: 10px;
  }

  .trend-grid {
    grid-template-columns: repeat(var(--trend-columns, 14), minmax(48px, 1fr));
    grid-template-rows: repeat(5, 42px);
    width: max(100%, var(--trend-wide-width, 672px));
    min-width: var(--trend-wide-width, 672px);
  }

  .trend-token {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .verify-head {
    display: grid;
    align-items: stretch;
    gap: 12px;
  }

  .verify-toolbar,
  .verify-toolbar.has-download {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
  }

  .verify-toolbar.has-download {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
  }

  .verify-search-field input,
  .verify-query-btn,
  .verify-reset-btn,
  .verify-toolbar .download-btn {
    height: 32px;
    min-height: 32px;
    font-size: 12px;
  }

  .verify-table-shell {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
    overflow: auto;
  }

  .verify-panel .data-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .verify-panel .data-table th,
  .verify-panel .data-table td {
    height: 44px;
    padding: 9px 7px;
    font-size: 12px;
  }

  .verify-panel .data-table th:nth-child(1),
  .verify-panel .data-table td:nth-child(1) {
    width: 41%;
  }

  .verify-panel .data-table th:nth-child(2),
  .verify-panel .data-table td:nth-child(2) {
    width: 18%;
  }

  .verify-panel .data-table th:nth-child(3),
  .verify-panel .data-table td:nth-child(3) {
    width: 18%;
  }

  .verify-panel .data-table th:nth-child(4),
  .verify-panel .data-table td:nth-child(4) {
    width: 23%;
    text-align: center;
  }

  .verify-panel .hash-main {
    font-size: 14px;
  }

  .verify-panel .hash-sub {
    max-width: 100%;
    font-size: 10px;
  }

  .verify-panel .result-text {
    font-size: 16px;
  }

  .verify-panel .mini-btn {
    min-width: 58px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .verify-note {
    margin: 12px 0 0;
    font-size: 12px;
  }

  .lottery-card {
    grid-template-columns: minmax(0, 1fr) minmax(360px, auto);
    gap: 28px;
    min-height: 170px;
  }

  .lottery-title {
    font-size: 28px;
  }

  .lottery-card > div > .balls {
    flex-wrap: nowrap;
  }

  .lottery-card > div > .balls .lottery-ball {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .lottery-side {
    min-width: 330px;
  }

  .cutoff {
    font-size: 18px;
  }

  .cutoff-time {
    gap: 6px;
    margin-top: 10px;
  }

  .time-block {
    min-width: 40px;
    padding: 5px 8px;
    font-size: 18px;
  }

  .history-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .history-tab {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .lottery-history-scroll {
    max-height: 520px;
  }

  .lottery-number-table .balls {
    gap: 5px;
  }

  .lottery-number-table .lottery-ball,
  .shape-number {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .ball-trend-scroll {
    max-height: 520px;
  }

  .ball-trend-grid {
    grid-auto-rows: 32px;
  }

  .ball-hit {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  body:not(.layout-h5),
  body.layout-pc,
  body.layout-pc button,
  body.layout-pc input,
  body.layout-pc select,
  body.layout-pc textarea {
    font-size: 14px;
    line-height: 1.45;
  }

  :where(body:not(.layout-h5)) :where(button, input, select, textarea) {
    font-size: 14px;
    line-height: 1.45;
  }

  .app-shell.layout-pc {
    font-size: 14px;
  }

  .app-shell.layout-pc .app-header {
    font-size: 14px;
  }

  .app-shell.layout-pc .brand-logo .v6-logo-text {
    font-size: 34px;
  }

  .app-shell.layout-pc .brand-logo .v6-logo-subtitle {
    font-size: 12px;
  }

  .app-shell.layout-pc .header-actions .outline-btn,
  .app-shell.layout-pc .header-actions .fee-btn,
  .app-shell.layout-pc .header-actions .primary-btn {
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .app-shell.layout-pc .mode-tab {
    font-size: 17px;
  }

  .app-shell.layout-pc .current-label,
  .app-shell.layout-pc .bet-label,
  .app-shell.layout-pc .metric-label,
  .app-shell.layout-pc .ratio-total-label,
  .app-shell.layout-pc .section-title small,
  .app-shell.layout-pc .lottery-title-row .period,
  .app-shell.layout-pc .verify-note {
    font-size: 13px;
  }

  .app-shell.layout-pc .block-switch-strip .current-name {
    font-size: 22px;
  }

  .app-shell.layout-pc .block-inline-tab,
  .app-shell.layout-pc .segment,
  .app-shell.layout-pc .history-tab {
    font-size: 13px;
  }

  .app-shell.layout-pc .block-inline-tab {
    min-height: 30px;
    padding: 0 12px;
  }

  .app-shell.layout-pc .block-mode-tabs .block-inline-tab {
    min-height: 30px;
  }

  .app-shell.layout-pc .section-title {
    font-size: 22px;
  }

  .app-shell.layout-pc .opened-block-main strong,
  .app-shell.layout-pc .betting-block strong {
    font-size: 34px;
  }

  .app-shell.layout-pc .inline-verify {
    min-width: 44px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .app-shell.layout-pc .opened-block-head {
    gap: 7px;
  }

  .app-shell.layout-pc .opened-block-main {
    margin-top: 6px;
  }

  .sheet-backdrop {
    align-items: center;
    padding: 32px;
    background:
      radial-gradient(circle at 50% 34%, rgba(46, 123, 255, 0.18), transparent 28rem),
      rgba(0, 6, 12, 0.72);
    backdrop-filter: blur(8px);
  }

  .selector-sheet {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(820px, calc(100vw - 64px));
    max-height: min(82vh, 760px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(76, 137, 210, 0.62);
    border-radius: 12px;
    background:
      radial-gradient(circle at 78% 0%, rgba(93, 76, 233, 0.18), transparent 17rem),
      linear-gradient(180deg, rgba(9, 31, 54, 0.98), rgba(4, 16, 29, 0.98));
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.52),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .selector-sheet.selector-hash {
    width: min(900px, calc(100vw - 64px));
  }

  .sheet-handle {
    display: none;
  }

  .sheet-head {
    align-items: center;
    margin: 0;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(49, 101, 162, 0.72);
    background: rgba(2, 12, 22, 0.36);
  }

  .sheet-title {
    font-size: 22px;
  }

  .sheet-subtitle {
    margin-top: 4px;
    font-size: 13px;
  }

  .sheet-head .outline-btn {
    min-width: 72px;
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .sheet-body {
    display: block;
    min-height: 0;
    padding: 18px 24px 20px;
    overflow: auto;
    scrollbar-color: #3d85ff rgba(19, 42, 68, 0.72);
  }

  .sheet-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  .sheet-body::-webkit-scrollbar-track {
    background: rgba(19, 42, 68, 0.72);
  }

  .sheet-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(61, 133, 255, 0.72);
  }

  .sheet-section {
    margin-top: 0;
  }

  .sheet-section + .sheet-section {
    margin-top: 18px;
  }

  .sheet-section h3 {
    margin: 0 0 10px;
    color: #cfdef2;
    font-size: 15px;
  }

  .option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .selector-hash .option-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .selector-lottery .option-grid,
  .selector-lottery .lottery-network-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .option-btn {
    min-height: 42px;
    padding: 0 12px;
    border-color: rgba(65, 125, 194, 0.58);
    border-radius: 8px;
    background: rgba(3, 16, 30, 0.76);
    font-size: 14px;
    font-weight: 850;
  }

  .option-btn.is-active {
    border-color: rgba(111, 150, 255, 0.9);
    background:
      linear-gradient(135deg, rgba(45, 120, 255, 0.96), rgba(98, 75, 237, 0.96));
    box-shadow:
      0 10px 22px rgba(45, 120, 255, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .network-option {
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .network-option .coin-dot {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .sheet-action {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(49, 101, 162, 0.72);
    background: rgba(2, 12, 22, 0.42);
  }

  .selector-sheet .confirm-btn {
    width: auto;
    min-width: 148px;
    min-height: 40px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
  }

  .app-shell.layout-pc .bet-countdown-ring b {
    font-size: 18px;
  }

  .app-shell.layout-pc .ratio-mini small,
  .app-shell.layout-pc .ratio-total-inline {
    font-size: 13px;
  }

  .app-shell.layout-pc .ratio-mini em {
    font-size: 14px;
  }

  .app-shell.layout-pc .ratio-mini strong,
  .app-shell.layout-pc .ratio-total-inline strong {
    font-size: 24px;
  }

  .app-shell.layout-pc .trend-token {
    font-size: 13px;
  }

  .app-shell.layout-pc .verify-search-field input,
  .app-shell.layout-pc .verify-query-btn,
  .app-shell.layout-pc .verify-reset-btn,
  .app-shell.layout-pc .verify-toolbar .download-btn {
    height: 34px;
    min-height: 34px;
    font-size: 13px;
  }

  .app-shell.layout-pc .verify-panel .data-table th,
  .app-shell.layout-pc .verify-panel .data-table td {
    font-size: 13px;
  }

  .app-shell.layout-pc .verify-panel .hash-main {
    font-size: 15px;
  }

  .app-shell.layout-pc .verify-panel .hash-sub {
    font-size: 11px;
  }

  .app-shell.layout-pc .verify-panel .result-text {
    font-size: 17px;
  }

  .app-shell.layout-pc .verify-panel .mini-btn {
    min-height: 30px;
    font-size: 13px;
  }

  .app-shell.layout-pc .lottery-title {
    font-size: 24px;
  }

  .app-shell.layout-pc .lottery-card > div > .balls .lottery-ball {
    font-size: 22px;
  }

  .app-shell.layout-pc .cutoff,
  .app-shell.layout-pc .time-block {
    font-size: 16px;
  }

  .app-shell.layout-pc .lottery-detail-table thead th,
  .app-shell.layout-pc .lottery-number-table thead th,
  .app-shell.layout-pc .lottery-detail-table tbody td,
  .app-shell.layout-pc .lottery-number-table tbody td,
  .app-shell.layout-pc .ball-trend-head,
  .app-shell.layout-pc .ball-trend-cell {
    font-size: 12px;
  }

  .app-shell.layout-pc .shape-number,
  .app-shell.layout-pc .lottery-number-table .lottery-ball,
  .app-shell.layout-pc .ball-hit {
    font-size: 12px;
  }

  .rental-shell,
  .rental-sticky-actions {
    font-size: 14px;
  }

  .rental-header h1,
  .rental-section-head h2 {
    font-size: 20px;
  }

  .rental-back {
    font-size: 30px;
  }

  .trx-symbol {
    font-size: 22px;
  }

  .rental-hero-copy p,
  .rental-hero-copy span {
    font-size: 14px;
  }

  .rental-hero-copy strong {
    font-size: 30px;
  }

  .rental-tab {
    font-size: 16px;
  }

  .rental-choice,
  .rental-quick button,
  .rental-field,
  .rental-warning,
  .rental-tip,
  .rental-pay-title,
  .rental-summary,
  .rental-wallet,
  .rental-transfer-card > span,
  .rental-transfer-card > em,
  .rental-transfer-card > small,
  .platform-title,
  .platform-address input {
    font-size: 14px;
  }

  .rental-field b,
  .activation-steps span,
  .rental-bind-btn,
  .rental-input-unit button,
  .copy-btn,
  .platform-title em {
    font-size: 13px;
  }

  .rental-address-row input,
  .rental-input-unit,
  .rental-field input,
  .rental-field select,
  .rental-pay-card strong,
  .rental-pay-card em,
  .rental-summary strong,
  .wallet-item strong,
  .wallet-item em {
    font-size: 15px;
  }

  .rental-transfer-card > strong {
    font-size: 24px;
  }

  .rental-record-btn,
  .rental-confirm-btn {
    font-size: 16px;
  }

  .sheet-backdrop {
    height: 100vh;
  }
}

@media (max-width: 899px) {
  body.layout-h5 {
    min-width: 0;
    overflow-x: hidden;
  }

  .app-shell.layout-h5 {
    width: var(--h5-width);
    max-width: none;
    margin: 0 auto;
    padding-inline: 14px;
  }

  .app-shell.layout-h5 .app-header {
    margin-inline: -14px;
    padding-inline: 14px;
  }
}

@media (max-width: 430px) {
  .app-shell.layout-h5 {
    margin-inline: 0;
    zoom: var(--phone-scale);
  }
}

.lottery-draw-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 20%, rgba(45, 120, 255, 0.14), transparent 18rem),
    linear-gradient(105deg, rgba(9, 33, 57, 0.96) 0%, rgba(8, 25, 43, 0.94) 56%, rgba(22, 22, 72, 0.82) 100%),
    rgba(8, 25, 43, 0.9);
}

.lottery-draw-main {
  min-width: 0;
}

.lottery-draw-card .lottery-title-row {
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 10px;
}

.lottery-number-row {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.lottery-draw-card .metric-label {
  flex: 0 0 auto;
  white-space: nowrap;
}

.lottery-draw-card .balls {
  flex: 0 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  gap: 6px;
}

.lottery-draw-card .lottery-number-row .balls .lottery-ball {
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.lottery-draw-card .lottery-side {
  display: grid;
  align-content: center;
  justify-items: end;
  min-width: 122px;
}

.lottery-draw-card .cutoff,
.lottery-draw-card .cutoff-time {
  justify-content: flex-end;
  text-align: right;
}

.lottery-draw-card .cutoff {
  color: #c4d6eb;
  font-size: 12px;
}

.lottery-draw-card .cutoff-time {
  gap: 4px;
  margin-top: 7px;
}

.lottery-draw-card .time-block {
  min-width: 30px;
  padding: 4px 5px;
  border-radius: 7px;
  font-size: 12px;
}

@media (min-width: 900px) {
  .app-shell.layout-pc .lottery-draw-card {
    grid-template-columns: minmax(0, 1fr) 232px;
    gap: 18px;
    min-height: 118px;
    padding: 18px 22px;
  }

  .app-shell.layout-pc .lottery-draw-main {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-title {
    font-size: 24px;
  }

  .app-shell.layout-pc .lottery-draw-card .period {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    border: 1px solid rgba(72, 126, 190, 0.42);
    border-radius: 999px;
    background: rgba(3, 14, 26, 0.42);
    font-size: 13px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row {
    justify-content: center;
    gap: 18px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row .balls {
    gap: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-side {
    justify-items: center;
    min-width: 0;
    min-height: 78px;
    padding: 12px 14px;
    border: 1px solid rgba(83, 130, 220, 0.54);
    border-radius: 12px;
    background:
      radial-gradient(circle at 78% 0%, rgba(112, 80, 255, 0.22), transparent 7rem),
      rgba(4, 17, 31, 0.54);
  }

  .app-shell.layout-pc .lottery-draw-card .cutoff {
    font-size: 15px;
    text-align: center;
  }

  .app-shell.layout-pc .lottery-draw-card .cutoff-time {
    justify-content: center;
    gap: 6px;
    margin-top: 9px;
  }

  .app-shell.layout-pc .lottery-draw-card .time-block {
    min-width: 40px;
    padding: 5px 8px;
    font-size: 16px;
  }
}

@media (max-width: 899px) {
  .app-shell.layout-h5 .lottery-draw-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 96px;
    padding: 11px 12px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-title {
    font-size: 18px;
  }

  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 128px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    gap: 5px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 33px;
    height: 33px;
    font-size: 12px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-side {
    min-width: 112px;
    padding-left: 10px;
  }
}

@media (max-width: 430px) {
  .app-shell.layout-h5 .lottery-draw-card {
    grid-template-columns: minmax(0, 1fr) 102px;
    gap: 8px;
    min-height: 90px;
    padding: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-title-row {
    gap: 6px;
    margin-bottom: 7px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-title {
    font-size: 17px;
  }

  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 108px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    gap: 5px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    gap: 4px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 31px;
    height: 31px;
    font-size: 12px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-side {
    min-width: 0;
    padding-left: 8px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff {
    font-size: 11px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff-time {
    gap: 2px;
    margin-top: 5px;
  }

  .app-shell.layout-h5 .lottery-draw-card .time-block {
    min-width: 24px;
    padding: 3px 4px;
    font-size: 10px;
  }
}

.lottery-number-table .balls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, min(22px, calc((100% - 12px) / 5))));
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 3px;
}

.lottery-number-table .lottery-ball {
  justify-self: center;
  width: 100%;
  max-width: 22px;
  height: auto;
  aspect-ratio: 1;
  font-size: 11px;
  line-height: 1;
}

@media (min-width: 900px) {
  .app-shell.layout-pc .lottery-number-table .balls {
    grid-template-columns: repeat(5, minmax(0, min(24px, calc((100% - 16px) / 5))));
    gap: 4px;
  }

  .app-shell.layout-pc .lottery-number-table .lottery-ball {
    max-width: 24px;
    font-size: 12px;
  }
}

@media (max-width: 899px) {
  .app-shell.layout-h5 .lottery-number-table th:nth-child(1),
  .app-shell.layout-h5 .lottery-number-table td:nth-child(1) {
    width: 13%;
  }

  .app-shell.layout-h5 .lottery-number-table th:nth-child(2),
  .app-shell.layout-h5 .lottery-number-table td:nth-child(2) {
    width: 39%;
    padding-inline: 3px;
  }

  .app-shell.layout-h5 .lottery-number-table th:nth-child(n+3),
  .app-shell.layout-h5 .lottery-number-table td:nth-child(n+3) {
    width: 12%;
  }

  .app-shell.layout-h5 .lottery-number-table .balls {
    grid-template-columns: repeat(5, minmax(0, min(20px, calc((100% - 8px) / 5))));
    gap: 2px;
  }

  .app-shell.layout-h5 .lottery-number-table .lottery-ball {
    max-width: 20px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .app-shell.layout-h5 .lottery-number-table .balls {
    grid-template-columns: repeat(5, minmax(0, min(18px, calc((100% - 8px) / 5))));
  }

  .app-shell.layout-h5 .lottery-number-table .lottery-ball {
    max-width: 18px;
    font-size: 9px;
  }
}

.lottery-draw-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
  min-height: 0;
  padding: 14px 16px;
}

.lottery-draw-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.lottery-title-group {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.lottery-draw-card .lottery-title {
  flex: 0 0 auto;
}

.lottery-draw-card .period {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(72, 126, 190, 0.42);
  border-radius: 999px;
  background: rgba(3, 14, 26, 0.46);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lottery-draw-card .lottery-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  gap: 8px;
}

.lottery-draw-card .cutoff,
.lottery-draw-card .cutoff-time {
  justify-content: flex-end;
  margin: 0;
  text-align: right;
}

.lottery-draw-card .cutoff {
  color: #c7d9ee;
  font-weight: 850;
}

.lottery-draw-card .lottery-number-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 2px 0 0;
}

.lottery-draw-card .lottery-number-label {
  position: absolute;
  left: 0;
  top: 50%;
  max-width: 80px;
  transform: translateY(-50%);
  color: #8ea8c4;
}

.lottery-draw-card .lottery-number-row .balls {
  justify-content: center;
  width: auto;
  max-width: calc(100% - 96px);
  gap: 9px;
}

.lottery-draw-card .lottery-number-row .balls .lottery-ball {
  width: 42px;
  max-width: 42px;
  height: 42px;
  font-size: 18px;
}

@media (min-width: 900px) {
  .app-shell.layout-pc .lottery-draw-card {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 112px;
    padding: 16px 22px 14px;
  }

  .app-shell.layout-pc .lottery-draw-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .app-shell.layout-pc .lottery-title-group {
    gap: 10px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-title {
    font-size: 23px;
  }

  .app-shell.layout-pc .lottery-draw-card .period {
    max-width: 230px;
    min-height: 24px;
    font-size: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-side {
    min-height: 34px;
    padding: 4px 8px 4px 12px;
    border: 1px solid rgba(82, 136, 219, 0.42);
    border-radius: 999px;
    background:
      linear-gradient(90deg, rgba(12, 35, 59, 0.66), rgba(18, 26, 76, 0.54));
    gap: 9px;
  }

  .app-shell.layout-pc .lottery-draw-card .cutoff {
    font-size: 13px;
  }

  .app-shell.layout-pc .lottery-draw-card .cutoff-time {
    gap: 4px;
  }

  .app-shell.layout-pc .lottery-draw-card .time-block {
    min-width: 32px;
    padding: 4px 7px;
    border-radius: 7px;
    font-size: 14px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row {
    min-height: 52px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-label {
    left: 2px;
    font-size: 13px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row .balls {
    max-width: calc(100% - 120px);
    gap: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 46px;
    max-width: 46px;
    height: 46px;
    font-size: 21px;
  }
}

@media (max-width: 899px) {
  .app-shell.layout-h5 .lottery-draw-card {
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 0;
    padding: 11px 12px;
  }

  .app-shell.layout-h5 .lottery-draw-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  .app-shell.layout-h5 .lottery-title-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-title {
    font-size: 17px;
  }

  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 160px;
    min-height: 19px;
    padding: 0 7px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-side {
    align-items: flex-end;
    flex-direction: column;
    gap: 4px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff {
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff-time {
    gap: 2px;
  }

  .app-shell.layout-h5 .lottery-draw-card .time-block {
    min-width: 24px;
    padding: 3px 4px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    justify-content: flex-start;
    min-height: 33px;
    gap: 8px;
    padding: 0;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-label {
    position: static;
    flex: 0 0 auto;
    max-width: none;
    transform: none;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(5, minmax(0, min(31px, calc((100% - 16px) / 5))));
    justify-content: space-between;
    width: 100%;
    max-width: none;
    gap: 4px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    justify-self: center;
    width: 100%;
    max-width: 31px;
    height: auto;
    aspect-ratio: 1;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .app-shell.layout-h5 .lottery-draw-card {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 138px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    gap: 7px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, minmax(0, min(29px, calc((100% - 12px) / 5))));
    gap: 3px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    max-width: 29px;
    font-size: 11px;
  }
}

.lottery-draw-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 0;
  padding: 13px 14px;
  overflow: hidden;
  border-color: rgba(60, 123, 200, 0.78);
  background:
    radial-gradient(circle at 15% 0%, rgba(45, 120, 255, 0.2), transparent 13rem),
    radial-gradient(circle at 92% 16%, rgba(111, 63, 242, 0.24), transparent 15rem),
    linear-gradient(135deg, rgba(7, 26, 46, 0.98), rgba(6, 17, 36, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px rgba(88, 152, 235, 0.08);
}

.lottery-draw-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(80, 148, 255, 0.75), transparent);
  opacity: 0.85;
}

.lottery-draw-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
}

.lottery-title-group {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.lottery-draw-card .lottery-title {
  margin: 0;
  color: #f4f9ff;
  line-height: 1;
}

.lottery-draw-card .period {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid rgba(72, 126, 190, 0.38);
  border-radius: 999px;
  background: rgba(3, 14, 26, 0.46);
  color: #8fa7c2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lottery-draw-card .lottery-side {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 4px 7px 4px 10px;
  border: 1px solid rgba(80, 142, 220, 0.42);
  border-radius: 999px;
  background: rgba(4, 16, 32, 0.6);
  gap: 7px;
}

.lottery-draw-card .cutoff,
.lottery-draw-card .cutoff-time {
  justify-content: flex-end;
  margin: 0;
  text-align: right;
}

.lottery-draw-card .cutoff {
  color: #a9bed7;
  font-weight: 850;
  white-space: nowrap;
}

.lottery-draw-card .cutoff-time {
  gap: 3px;
}

.lottery-draw-card .time-block {
  min-width: 27px;
  padding: 3px 5px;
  border-color: rgba(111, 150, 255, 0.74);
  border-radius: 7px;
  background: linear-gradient(135deg, #3578ff, #6159eb);
  font-weight: 900;
}

.lottery-draw-card .lottery-number-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid rgba(47, 99, 158, 0.62);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(4, 16, 30, 0.75), rgba(14, 33, 72, 0.56) 50%, rgba(4, 16, 30, 0.7)),
    rgba(2, 11, 22, 0.54);
  gap: 12px;
}

.lottery-draw-card .lottery-number-label {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(70, 129, 199, 0.45);
  border-radius: 999px;
  background: rgba(8, 27, 48, 0.72);
  color: #a9bed7;
  transform: none;
  white-space: nowrap;
}

.lottery-draw-card .lottery-number-row .balls {
  display: grid;
  grid-template-columns: repeat(5, 42px);
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  gap: 12px;
}

.lottery-draw-card .lottery-number-row .balls .lottery-ball {
  justify-self: center;
  width: 42px;
  max-width: 42px;
  height: 42px;
  aspect-ratio: 1;
  font-size: 18px;
}

@media (min-width: 900px) {
  .app-shell.layout-pc .lottery-draw-card {
    gap: 9px;
    min-height: 112px;
    padding: 12px 16px 14px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-title {
    font-size: 20px;
  }

  .app-shell.layout-pc .lottery-draw-card .period {
    max-width: 236px;
    min-height: 22px;
    font-size: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-side {
    min-height: 30px;
  }

  .app-shell.layout-pc .lottery-draw-card .cutoff {
    font-size: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .time-block {
    min-width: 30px;
    padding: 3px 6px;
    font-size: 13px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row {
    min-height: 54px;
    padding: 7px 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-label {
    min-width: 72px;
    min-height: 28px;
    font-size: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, 40px);
    gap: 13px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 40px;
    max-width: 40px;
    font-size: 18px;
  }
}

@media (max-width: 899px) {
  .app-shell.layout-h5 .lottery-draw-card {
    gap: 8px;
    padding: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-head {
    align-items: flex-start;
    gap: 8px;
  }

  .app-shell.layout-h5 .lottery-title-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-title {
    font-size: 17px;
  }

  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 156px;
    min-height: 18px;
    padding: 0 7px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-side {
    align-items: flex-end;
    flex-direction: column;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 4px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff {
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff-time {
    gap: 2px;
  }

  .app-shell.layout-h5 .lottery-draw-card .time-block {
    min-width: 24px;
    padding: 3px 4px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    min-height: 46px;
    padding: 7px 8px;
    gap: 7px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-label {
    min-width: 48px;
    min-height: 22px;
    padding: 0 6px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, minmax(0, min(29px, calc((100% - 12px) / 5))));
    justify-content: space-between;
    gap: 3px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 100%;
    max-width: 29px;
    height: auto;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 132px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    min-height: 44px;
    padding: 6px 7px;
    gap: 6px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-label {
    min-width: 44px;
    padding: 0 5px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, minmax(0, min(27px, calc((100% - 10px) / 5))));
    gap: 2px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    max-width: 27px;
    font-size: 10px;
  }
}

@media (min-width: 900px) {
  .app-shell.layout-pc .lottery-draw-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.28fr) minmax(360px, 1fr) minmax(168px, 0.22fr);
    align-items: center;
    gap: 12px;
    min-height: 94px;
    padding: 13px 16px;
  }

  .app-shell.layout-pc .lottery-draw-head {
    display: contents;
  }

  .app-shell.layout-pc .lottery-title-group {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-title {
    font-size: 22px;
  }

  .app-shell.layout-pc .lottery-draw-card .period {
    max-width: 100%;
    min-height: 24px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 68px;
    padding: 10px 16px;
    border-radius: 14px;
    background:
      radial-gradient(circle at 50% 0%, rgba(45, 120, 255, 0.16), transparent 9rem),
      linear-gradient(90deg, rgba(3, 14, 27, 0.88), rgba(14, 38, 75, 0.72), rgba(3, 14, 27, 0.84));
    gap: 16px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-label {
    min-width: 72px;
    min-height: 30px;
    border-radius: 8px;
    font-size: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, 42px);
    justify-content: center;
    gap: 16px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 42px;
    max-width: 42px;
    font-size: 19px;
  }

  .app-shell.layout-pc .lottery-draw-card .lottery-side {
    grid-column: 3;
    grid-row: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 68px;
    padding: 9px 10px;
    border-radius: 14px;
    background:
      radial-gradient(circle at 80% 0%, rgba(111, 63, 242, 0.24), transparent 6rem),
      rgba(6, 18, 38, 0.72);
    gap: 7px;
  }

  .app-shell.layout-pc .lottery-draw-card .cutoff {
    font-size: 12px;
  }

  .app-shell.layout-pc .lottery-draw-card .cutoff-time {
    justify-content: center;
    gap: 4px;
  }

  .app-shell.layout-pc .lottery-draw-card .time-block {
    min-width: 31px;
    padding: 4px 6px;
    font-size: 13px;
  }
}

@media (max-width: 899px) {
  .app-shell.layout-h5 .lottery-draw-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 10px;
    border-radius: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  .app-shell.layout-h5 .lottery-title-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-title {
    font-size: 17px;
  }

  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 160px;
    min-height: 18px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-side {
    align-items: flex-end;
    flex-direction: column;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 4px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff {
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff-time {
    gap: 2px;
  }

  .app-shell.layout-h5 .lottery-draw-card .time-block {
    min-width: 24px;
    padding: 3px 4px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 46px;
    padding: 7px 8px;
    border-radius: 9px;
    gap: 7px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-label {
    min-width: 46px;
    min-height: 22px;
    padding: 0 6px;
    border-radius: 7px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, minmax(0, min(29px, calc((100% - 12px) / 5))));
    justify-content: space-between;
    gap: 3px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 100%;
    max-width: 29px;
    height: auto;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 132px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    min-height: 44px;
    padding: 6px 7px;
    gap: 6px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-label {
    min-width: 42px;
    padding: 0 5px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, minmax(0, min(27px, calc((100% - 10px) / 5))));
    gap: 2px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    max-width: 27px;
    font-size: 10px;
  }
}

@media (max-width: 899px) {
  .app-shell.layout-h5 .lottery-draw-card {
    gap: 8px;
    min-height: 0;
    padding: 10px;
    border-radius: 10px;
    background:
      radial-gradient(circle at 16% 0%, rgba(45, 120, 255, 0.18), transparent 9rem),
      radial-gradient(circle at 100% 0%, rgba(111, 63, 242, 0.2), transparent 10rem),
      linear-gradient(145deg, rgba(7, 27, 48, 0.98), rgba(4, 15, 29, 0.96));
  }

  .app-shell.layout-h5 .lottery-draw-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .app-shell.layout-h5 .lottery-title-group {
    display: flex;
    align-items: center;
    flex-direction: row;
    min-width: 0;
    gap: 6px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-title {
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
  }

  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 132px;
    min-height: 18px;
    padding: 0 7px;
    border-color: rgba(74, 130, 255, 0.34);
    background: rgba(5, 18, 33, 0.62);
    color: #8ea8c4;
    font-size: 9px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-side {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 4px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff {
    color: #92a9c2;
    font-size: 9px;
  }

  .app-shell.layout-h5 .lottery-draw-card .cutoff-time {
    gap: 2px;
  }

  .app-shell.layout-h5 .lottery-draw-card .time-block {
    min-width: 22px;
    padding: 2px 4px;
    border-radius: 6px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 46px;
    padding: 7px 8px;
    border-radius: 10px;
    background:
      linear-gradient(90deg, rgba(2, 12, 23, 0.78), rgba(13, 34, 65, 0.58), rgba(2, 12, 23, 0.78));
    gap: 0;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-label {
    display: none;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 30px));
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    justify-self: center;
    width: 30px;
    max-width: 30px;
    height: auto;
    aspect-ratio: 1;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 114px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row {
    min-height: 44px;
    padding: 6px 7px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, minmax(0, 28px));
    gap: 7px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 28px;
    max-width: 28px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .app-shell.layout-h5 .lottery-draw-card .period {
    max-width: 94px;
  }

  .app-shell.layout-h5 .lottery-draw-card .time-block {
    min-width: 20px;
    padding-inline: 3px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls {
    grid-template-columns: repeat(5, minmax(0, 26px));
    gap: 5px;
  }

  .app-shell.layout-h5 .lottery-draw-card .lottery-number-row .balls .lottery-ball {
    width: 26px;
    max-width: 26px;
    font-size: 10px;
  }
}

@media (max-width: 899px) {
  .app-shell.layout-h5 .selector-sheet {
    padding-inline: 14px;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-subtitle {
    display: none;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-head {
    align-items: center;
    margin-bottom: 12px;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-title {
    font-size: 18px;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-section {
    margin-top: 14px;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-section:first-child {
    margin-top: 0;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-section h3 {
    margin-bottom: 8px;
    color: #d6e6fa;
    font-size: 13px;
  }

  .app-shell.layout-h5 .selector-lottery .lottery-network-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .app-shell.layout-h5 .selector-lottery .lottery-network-grid .option-btn {
    min-height: 34px;
    padding: 0 6px;
    border-radius: 8px;
    font-size: 10px;
    gap: 5px;
  }

  .app-shell.layout-h5 .selector-lottery .network-option .coin-dot {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-section:not(.lottery-network-section) .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-section:not(.lottery-network-section) .option-btn {
    min-height: 42px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
  }

  .app-shell.layout-h5 .selector-hash .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .app-shell.layout-h5 .selector-hash .option-btn {
    min-height: 38px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
  }

  .app-shell.layout-h5 .selector-hash .option-btn .coin-dot {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .app-shell.layout-h5 .selector-lottery .lottery-network-grid {
    gap: 5px;
  }

  .app-shell.layout-h5 .selector-lottery .lottery-network-grid .option-btn {
    min-height: 32px;
    padding: 0 4px;
    font-size: 9px;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-section:not(.lottery-network-section) .option-grid {
    gap: 6px;
  }

  .app-shell.layout-h5 .selector-lottery .sheet-section:not(.lottery-network-section) .option-btn {
    min-height: 40px;
    padding: 0 6px;
    font-size: 10px;
  }

  .app-shell.layout-h5 .selector-hash .option-grid {
    gap: 6px;
  }

  .app-shell.layout-h5 .selector-hash .option-btn {
    min-height: 36px;
    padding: 0 6px;
    font-size: 10px;
  }
}

.promo-float-btn {
  position: fixed;
  right: 14px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 75;
  display: grid;
  grid-template-rows: 61px auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  width: 100px;
  height: 100px;
  padding: 7px 8px 10px;
  border: 1px solid rgba(95, 179, 255, 0.72);
  border-radius: 26px;
  background:
    radial-gradient(circle at 32% 18%, rgba(74, 229, 255, 0.32), transparent 35%),
    radial-gradient(circle at 75% 72%, rgba(119, 80, 255, 0.34), transparent 38%),
    linear-gradient(150deg, rgba(12, 42, 76, 0.98), rgba(5, 18, 36, 0.98) 56%, rgba(12, 26, 70, 0.98)),
    rgba(4, 16, 30, 0.92);
  color: #f4ffff;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(32, 207, 218, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(12px);
}

.promo-float-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 25px;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(255, 255, 255, 0.16) 36%, transparent 53%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
  opacity: 0.86;
}

.promo-float-btn::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(83, 232, 255, 0.84), transparent);
  pointer-events: none;
}

.promo-float-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 70px;
  height: 58px;
  margin-top: -1px;
  filter: drop-shadow(0 10px 14px rgba(42, 120, 255, 0.28));
}

.promo-float-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.promo-crystal {
  fill: url(#energyCrystal);
  stroke: rgba(214, 247, 255, 0.7);
  stroke-width: 1.4;
}

.promo-crystal-shine {
  fill: rgba(255, 255, 255, 0.22);
}

.promo-bolt {
  fill: url(#energyBolt);
  filter: drop-shadow(0 0 7px rgba(73, 255, 220, 0.78));
}

.promo-orbit,
.promo-orbit.is-back {
  fill: none;
  stroke: rgba(70, 230, 255, 0.72);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.promo-orbit.is-back {
  stroke: rgba(118, 106, 255, 0.72);
}

.promo-spark {
  fill: #5ceaff;
}

.promo-spark.is-right {
  fill: #7b74ff;
}

.promo-float-text {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  color: #ecf7ff;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(67, 221, 255, 0.42);
}

.promo-float-sub {
  display: none;
}

.result-pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.result-mini.big {
  background: linear-gradient(135deg, #ff6578, #ef334f);
}

.result-mini.small {
  background: linear-gradient(135deg, #5fa0ff, #2e76ff);
}

.result-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.result-digit {
  color: #dbe8ff;
}

.result-size.big,
.trend-token.big {
  color: #ff5f78;
}

.result-size.small,
.trend-token.small {
  color: #66a2ff;
}

.result-parity.single {
  color: var(--red);
}

.result-parity.double {
  color: var(--cyan);
}

.trend-board-group {
  display: grid;
  gap: 10px;
}

.trend-type-switch {
  display: none;
}

.trend-board {
  min-width: 0;
}

.trend-board-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 2px 7px;
  color: #dceaff;
  font-size: 13px;
  font-weight: 900;
}

.trend-board-title small {
  color: #8ea5bf;
  font-size: 11px;
  font-weight: 750;
}

.trend-token.big {
  background: linear-gradient(135deg, #ff6578, #ef334f);
  color: #fff6f8;
}

.trend-token.small {
  background: linear-gradient(135deg, #5fa0ff, #2e76ff);
  color: #f2f7ff;
}

.v6-logo-name {
  font-size: 0.42em;
}

.brand-logo {
  width: min(318px, 100%);
}

.brand-logo .v6-logo-core {
  min-width: 198px;
}

@media (min-width: 900px) {
  .app-shell.layout-pc .promo-float-btn {
    display: none;
  }

  .app-shell.layout-pc .promo-header-btn {
    display: inline-flex;
    min-width: 88px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
  }

  .app-shell.layout-pc .trend-board-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-shell.layout-pc .trend-grid {
    grid-template-columns: repeat(var(--trend-columns, 14), minmax(40px, 1fr));
    grid-template-rows: repeat(5, 30px);
    width: max(100%, var(--trend-wide-width, 672px));
    min-width: var(--trend-wide-width, 672px);
  }

  .app-shell.layout-pc .trend-token {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

@media (max-width: 899px) {
  .app-shell.layout-h5 .promo-float-btn {
    right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    width: 100px;
    height: 100px;
    padding: 9px 8px 8px;
  }

  .app-shell.layout-h5 .brand-logo {
    width: min(300px, 100%);
  }

  .app-shell.layout-h5 .brand-logo .v6-logo-core {
    min-width: 172px;
  }

  .app-shell.layout-h5 .brand-logo .v6-logo-text {
    font-size: 30px;
  }

  .app-shell.layout-h5 .trend-board-group {
    gap: 9px;
  }

  .app-shell.layout-h5 .trend-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 7px;
  }

  .app-shell.layout-h5 .trend-controls {
    display: contents;
    margin: 0;
  }

  .app-shell.layout-h5 .trend-latest-card {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    width: 100%;
    min-height: 28px;
    margin: 0;
    padding-inline: 7px;
    font-size: 11px;
  }

  .app-shell.layout-h5 .trend-latest-card strong {
    font-size: 12px;
  }

  .app-shell.layout-h5 .trend-range-tabs {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 34px;
  }

  .app-shell.layout-h5 .trend-type-switch {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    min-width: 0;
    min-height: 34px;
    margin: 0;
    padding: 3px;
    border: 1px solid rgba(68, 126, 192, 0.62);
    border-radius: 999px;
    background: rgba(2, 12, 22, 0.62);
  }

  .app-shell.layout-h5 .trend-type-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #9fb4cc;
    font-size: 12px;
    font-weight: 900;
  }

  .app-shell.layout-h5 .trend-board-group {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .app-shell.layout-h5 .trend-type-btn.is-active {
    background: linear-gradient(135deg, #2c76f1, #6145db);
    color: #f4f9ff;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14);
  }

  .app-shell.layout-h5 .trend-board {
    display: none;
  }

  .app-shell.layout-h5 .trend-board.is-active {
    display: block;
  }

  .app-shell.layout-h5 .trend-board-title {
    display: none;
  }

  .app-shell.layout-h5 .trend-grid {
    grid-template-columns: repeat(var(--trend-columns, 14), 28px);
    grid-template-rows: repeat(5, 28px);
    width: var(--trend-h5-width, 392px);
    min-width: 392px;
  }
}

.app-header .brand-row {
  position: relative;
  min-height: 58px;
}

.app-header .brand-spacer {
  visibility: hidden;
}

.app-header .brand {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(318px, calc(100% - 132px));
  justify-content: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.app-header .brand-logo {
  width: 100%;
}

.app-header .header-actions {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 2;
  justify-self: end;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .app-header .brand-row,
  .app-header.is-logged .brand-row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 58px;
  }

  .app-header .brand-spacer {
    display: block;
  }

  .app-header .brand {
    left: 50%;
    width: min(286px, calc(100% - 116px));
    justify-content: center;
    text-align: center;
  }

  .app-header .header-actions {
    right: 0;
  }

  .app-header .brand-logo {
    min-height: 54px;
  }
}

.bet-dashboard {
  gap: 4px;
  padding: 8px;
  overflow: hidden;
}

.bet-status-row {
  min-height: 76px;
  padding: 8px 14px;
  border: 1px solid rgba(66, 124, 200, 0.36);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 48%, rgba(96, 154, 255, 0.08), transparent 8rem),
    linear-gradient(90deg, rgba(10, 36, 62, 0.86), rgba(4, 16, 29, 0.78) 48%, rgba(18, 20, 68, 0.82)),
    rgba(2, 12, 22, 0.32);
}

.opened-block-main {
  align-items: center;
  margin-top: 5px;
}

.opened-block-head .inline-verify {
  margin-left: 2px;
}

.block-result-line {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 10px 4px;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.block-result-arrow {
  color: var(--red);
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.block-hash-tail {
  color: var(--text);
  font-weight: 950;
}

.block-result-value em {
  font-style: normal;
  font-weight: 950;
}

.block-result-value .single,
.block-result-value .big {
  color: var(--red);
}

.block-result-value .double {
  color: var(--cyan);
}

.block-result-value .small {
  color: #70a8ff;
}

@media (max-width: 640px) {
  .app-shell.layout-h5 .bet-dashboard {
    border-radius: 10px;
  }

  .app-shell.layout-h5 .bet-status-row {
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    min-height: 66px;
    gap: 6px;
    padding: 7px 10px;
  }

  .app-shell.layout-h5 .bet-label {
    font-size: 12px;
  }

  .app-shell.layout-h5 .opened-block-main,
  .app-shell.layout-h5 .betting-block strong {
    margin-top: 4px;
  }

  .app-shell.layout-h5 .opened-block-main strong,
  .app-shell.layout-h5 .betting-block strong {
    font-size: 23px;
  }

  .app-shell.layout-h5 .bet-countdown-ring {
    width: 42px;
    height: 42px;
  }

  .app-shell.layout-h5 .block-result-line {
    min-height: 20px;
    padding: 0 8px 4px;
    font-size: 11px;
  }

}

@media (min-width: 900px) {
  .app-shell.layout-pc .bet-status-row {
    min-height: 86px;
    padding: 9px 18px;
  }

  .app-shell.layout-pc .block-result-line {
    min-height: 26px;
    padding-bottom: 6px;
    font-size: 14px;
  }
}

@media (min-width: 900px) {
  body.rental-page {
    overflow-x: hidden;
    background:
      radial-gradient(circle at 18% 0%, rgba(46, 123, 255, 0.18), transparent 31rem),
      radial-gradient(circle at 86% 6%, rgba(111, 63, 242, 0.24), transparent 34rem),
      linear-gradient(180deg, #020b15 0%, #06111f 52%, #020b15 100%);
  }

  body.rental-page .app-shell.rental-shell {
    display: grid;
    width: min(calc(100vw - 48px), 1180px);
    max-width: none;
    min-height: auto;
    margin: 0 auto;
    padding: 16px 0 12px;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
      "header header"
      "hero tabs"
      "form form";
    gap: 12px 16px;
    transform: none;
    transform-origin: center top;
  }

  body.rental-page .rental-header {
    grid-area: header;
    position: sticky;
    top: 12px;
    min-height: 50px;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid rgba(69, 126, 189, 0.46);
    border-radius: 12px;
    background:
      radial-gradient(circle at 78% 0%, rgba(87, 67, 205, 0.24), transparent 18rem),
      rgba(3, 13, 25, 0.9);
  }

  body.rental-page .rental-header h1 {
    font-size: 20px;
  }

  body.rental-page .rental-back {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 32px;
  }

  body.rental-page .rental-hero {
    grid-area: hero;
    min-height: 110px;
    margin: 0;
    border-radius: 12px;
    grid-template-columns: 124px minmax(0, 1fr);
  }

  body.rental-page .rental-hero-mark {
    width: 82px;
    height: 82px;
    margin-left: 20px;
  }

  body.rental-page .trx-symbol {
    font-size: 24px;
  }

  body.rental-page .rental-hero-copy p,
  body.rental-page .rental-hero-copy span {
    font-size: 14px;
  }

  body.rental-page .rental-hero-copy strong {
    font-size: 28px;
  }

  body.rental-page .rental-tabs {
    grid-area: tabs;
    display: grid;
    grid-template-columns: 1fr;
    align-self: stretch;
    min-height: 110px;
    margin: 0;
    padding: 8px;
    gap: 8px;
    border-radius: 12px;
  }

  body.rental-page .rental-tab {
    min-height: 0;
    border-radius: 9px;
    font-size: 16px;
  }

  body.rental-page .rental-form-card {
    grid-area: form;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 14px;
    border-radius: 12px;
  }

  body.rental-page .rental-section-head {
    grid-column: 1;
    min-height: 42px;
    align-items: center;
  }

  body.rental-page .rental-section-head h2 {
    font-size: 20px;
  }

  body.rental-page .rental-methods {
    grid-column: 2;
    align-self: center;
    gap: 10px;
  }

  body.rental-page .rental-choice,
  body.rental-page .rental-quick button {
    min-height: 40px;
    border-radius: 9px;
    font-size: 14px;
  }

  body.rental-page .rental-mode-panel {
    grid-column: 1 / -1;
  }

  body.rental-page .rental-mode-panel.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 14px 18px;
    align-items: start;
  }

  body.rental-page .rental-mode-panel.active > :not(.rental-transfer-card) {
    grid-column: 1;
  }

  body.rental-page .rental-mode-panel.active > .rental-transfer-card {
    grid-column: 2;
    grid-row: 1 / span 8;
    align-self: stretch;
  }

  body.rental-page .rental-field,
  body.rental-page .rental-warning,
  body.rental-page .rental-tip {
    font-size: 14px;
  }

  body.rental-page .rental-address-row input,
  body.rental-page .rental-input-unit,
  body.rental-page .rental-field input,
  body.rental-page .rental-field select {
    min-height: 42px;
    font-size: 15px;
  }

  body.rental-page .rental-bind-btn {
    min-height: 42px;
    font-size: 13px;
  }

  body.rental-page .activation-steps,
  body.rental-page .rental-quick,
  body.rental-page .rental-form-grid {
    gap: 10px;
  }

  body.rental-page .activation-steps span {
    min-height: 38px;
    font-size: 13px;
  }

  body.rental-page .rental-transfer-card {
    grid-template-columns: minmax(0, 1fr) 126px;
    align-items: center;
    gap: 8px 14px;
    padding: 14px;
    border-radius: 12px;
    text-align: left;
  }

  body.rental-page .rental-transfer-card > span,
  body.rental-page .rental-transfer-card > strong,
  body.rental-page .rental-transfer-card > em,
  body.rental-page .rental-transfer-card > small {
    grid-column: 1;
  }

  body.rental-page .rental-transfer-card > strong {
    justify-content: flex-start;
  }

  body.rental-page .rental-transfer-card > em {
    margin-left: 66px;
  }

  body.rental-page .rental-transfer-card .rental-summary,
  body.rental-page .rental-transfer-card .platform-title,
  body.rental-page .rental-transfer-card .platform-address {
    grid-column: 1 / -1;
  }

  body.rental-page .rental-transfer-card > span,
  body.rental-page .rental-transfer-card > em,
  body.rental-page .rental-transfer-card > small,
  body.rental-page .platform-title,
  body.rental-page .platform-address input {
    font-size: 13px;
  }

  body.rental-page .rental-transfer-card > strong {
    font-size: 24px;
  }

  body.rental-page .rental-summary {
    min-height: 34px;
    font-size: 13px;
  }

  body.rental-page .rental-summary strong {
    font-size: 13px;
  }

  body.rental-page .platform-address input {
    min-height: 36px;
  }

  body.rental-page .rental-qr {
    grid-column: 2;
    grid-row: 1 / span 5;
    width: 118px;
    height: 118px;
    margin-top: 0;
    border-width: 7px;
  }

  body.rental-page .rental-qr::before {
    left: 12px;
    top: 12px;
    width: 14px;
    height: 14px;
    box-shadow:
      62px 0 0 #061323,
      62px 0 0 4px #f3f8ff,
      0 62px 0 #061323,
      0 62px 0 4px #f3f8ff;
  }

  body.rental-page .rental-qr::after {
    right: 25px;
    bottom: 25px;
    width: 9px;
    height: 9px;
    box-shadow:
      -16px 2px 0 #061323,
      -34px -13px 0 #061323,
      -48px 15px 0 #061323,
      15px -22px 0 #061323,
      3px -46px 0 #061323;
  }

  body.rental-page .rental-sticky-actions {
    position: static;
    left: auto;
    bottom: auto;
    width: min(calc(100vw - 48px), 1180px);
    max-width: none;
    transform: none;
    margin: 0 auto;
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
    border: 1px solid rgba(55, 112, 193, 0.42);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: rgba(3, 12, 22, 0.9);
  }

  body.rental-page .rental-sticky-actions.is-single {
    grid-template-columns: 240px;
    justify-content: start;
  }

  body.rental-page .rental-record-btn,
  body.rental-page .rental-confirm-btn {
    min-height: 40px;
    border-radius: 9px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
