:root { --bg: #05070f; --panel: rgba(12, 18, 36, 0.78); --line: rgba(120, 200, 255, 0.18); --text: #e8f4ff; --muted: #8aa0bd; --cyan: #5ce1ff; --violet: #9b6bff; --ok: #3dffb0; --warn: #ffcc66; --shadow: 0 16px 48px rgba(0, 0, 0, 0.4); --radius: 16px; --safe-bottom: env(safe-area-inset-bottom, 0px); --safe-top: env(safe-area-inset-top, 0px); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body { font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }
button, input { font-family: inherit; }
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; width: 50vw; height: 50vw; max-width: 400px; max-height: 400px; border-radius: 50%; filter: blur(70px); opacity: 0.38; animation: 18s ease-in-out 0s infinite normal none running drift; }
.orb-a { top: -10%; left: -10%; background: radial-gradient(circle, rgb(42, 108, 255), transparent 70%); }
.orb-b { right: -8%; top: 20%; background: radial-gradient(circle, rgb(122, 61, 255), transparent 70%); animation-delay: -7s; }
.orb-c { bottom: -15%; left: 25%; background: radial-gradient(circle, rgb(0, 213, 200), transparent 70%); animation-delay: -12s; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(92, 225, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 225, 255, 0.04) 1px, transparent 1px); background-size: 36px 36px; }
.scan { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(92, 225, 255, 0.03) 50%, transparent) 0% 0% / 100% 220%; animation: 8s linear 0s infinite normal none running scan; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4%, 6%); } }
@keyframes scan { 0% { background-position: 0 -80%; } 100% { background-position: 0 180%; } }
.wrap { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: calc(12px + var(--safe-top)) 12px calc(24px + var(--safe-bottom)); }
.header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: rgb(4, 16, 24); background: linear-gradient(135deg, #E23636, #C41E3A); flex-shrink: 0; }
.brand { flex: 1 1 0%; min-width: 0; }
.brand h1 { font-size: 18px; letter-spacing: 0.2em; font-weight: 700; background-image: linear-gradient(135deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand p { font-size: 10px; color: var(--muted); letter-spacing: 0.12em; }
.menu-btn { width: 40px; height: 40px; padding: 0; border: 1px solid rgba(92, 225, 255, 0.28); border-radius: 10px; background: rgba(14, 21, 40, 0.88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; flex-shrink: 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--cyan); transition: transform 0.25s, opacity 0.25s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-panel { display: flex; flex-direction: column; gap: 2px; margin-bottom: 0; padding: 0 8px; border-radius: 12px; border: 1px solid transparent; background: rgba(12, 18, 36, 0.95); max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; transform: translateY(-6px); transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s, margin 0.32s, padding 0.32s, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s; }
.menu-panel[hidden] { display: flex !important; }
.menu-panel.instant { transition: none !important; }
.menu-panel.instant a { transition: none !important; }
.menu-panel.open { max-height: 240px; opacity: 1; margin-bottom: 10px; padding: 8px; pointer-events: auto; transform: translateY(0); border-color: rgba(92, 225, 255, 0.22); }
.menu-panel a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 13px; color: var(--text); text-decoration: none; opacity: 0; transform: translateX(-8px); transition: background 0.15s, color 0.15s, transform 0.2s, opacity 0.2s; }
.menu-panel.open a { opacity: 1; transform: translateX(0); }
.menu-panel.open a:nth-child(1) { transition-delay: 0.04s; }
.menu-panel.open a:nth-child(2) { transition-delay: 0.08s; }
.menu-panel.open a:nth-child(3) { transition-delay: 0.12s; }
.menu-panel.open a:nth-child(4) { transition-delay: 0.16s; }
.menu-panel a.nav-press, .menu-panel a:active { background: rgba(92, 225, 255, 0.12); transform: scale(0.98); }
.menu-panel a.nav-go { color: var(--cyan); background: rgba(92, 225, 255, 0.08); }
.section-flash { animation: 0.7s ease 0s 1 normal none running section-hit; }
@keyframes section-hit { 0% { box-shadow: rgba(92, 225, 255, 0.45) 0 0 0 0; } 45% { box-shadow: rgba(92, 225, 255, 0.18) 0 0 0 3px; } 100% { box-shadow: none; } }
.notice-ticker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(92, 225, 255, 0.22); background: rgba(12, 18, 36, 0.9); overflow: hidden; }
.notice-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: 1.6s ease-out 0s infinite normal none running pulse; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: rgba(92, 225, 255, 0.5) 0 0 0 0; } 70% { box-shadow: rgba(92, 225, 255, 0) 0 0 0 8px; } 100% { box-shadow: rgba(92, 225, 255, 0) 0 0 0 0; } }
.notice-viewport { flex: 1 1 0%; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, rgb(0, 0, 0) 6%, rgb(0, 0, 0) 94%, transparent); }
.notice-track { display: inline-flex; align-items: center; white-space: nowrap; font-size: 12px; line-height: 1.5; color: rgb(184, 212, 239); animation: 18s linear 0s infinite normal none running notice-scroll; }
.notice-gap { display: inline-block; width: 48px; }
@keyframes notice-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 24px)); } }
.block, .section { scroll-margin-top: 12px; }
.block { margin-bottom: 16px; }
.block-title { font-size: 14px; letter-spacing: 0.14em; color: rgb(159, 215, 255); margin-bottom: 8px; padding-left: 2px; }
.card-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.card { padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.card-wide { padding: 14px; margin-bottom: 8px; }
.card-step { font-size: 10px; letter-spacing: 0.18em; color: var(--violet); margin-bottom: 2px; }
.card h3 { font-size: 14px; margin-bottom: 10px; letter-spacing: 0.06em; }
.field label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.demand-row { display: flex; gap: 8px; align-items: flex-end; }
.demand-cell { flex: 1 1 0%; min-width: 0; }
.nice-select { position: relative; z-index: 20; }
.nice-select-trigger { width: 100%; height: 38px; padding: 0 28px 0 10px; border-radius: 10px; border: 1.5px solid rgba(0, 229, 255, 0.75); background: linear-gradient(rgba(16, 26, 48, 0.98), rgba(8, 12, 24, 0.98)); color: rgb(255, 255, 255); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer; display: inline-flex; align-items: center; position: relative; box-shadow: rgba(255, 255, 255, 0.04) 0 1px 0 inset, rgba(0, 229, 255, 0.06) 0 0 0 1px; }
.nice-select.open .nice-select-trigger, .nice-select-trigger:hover { border-color: rgb(92, 225, 255); box-shadow: rgba(0, 229, 255, 0.22) 0 0 14px; }
.nice-chev { position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 2px solid rgb(0, 229, 255); border-bottom: 2px solid rgb(0, 229, 255); transform: rotate(45deg); transition: transform 0.15s; }
.nice-select.open .nice-chev { margin-top: -1px; transform: rotate(-135deg); }
.nice-select-menu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 100%; margin: 0; padding: 4px; list-style: none; background: rgba(10, 16, 32, 0.97); border: 1px solid rgba(92, 225, 255, 0.28); border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.5) 0 12px 32px, rgba(92, 225, 255, 0.06) 0 0 0 1px; backdrop-filter: blur(16px); overflow: hidden; z-index: 30; }
.nice-select-menu[hidden] { display: none !important; }
.nice-select-menu li { padding: 8px 12px; font-size: 12px; font-weight: 600; color: rgb(158, 182, 212); cursor: pointer; user-select: none; border-radius: 8px; }
.nice-select-menu li:hover { background: rgba(92, 225, 255, 0.12); color: rgb(232, 244, 255); }
.nice-select-menu li.active { background: linear-gradient(135deg, rgba(92, 225, 255, 0.28), rgba(155, 107, 255, 0.22)); color: rgb(255, 255, 255); box-shadow: rgba(92, 225, 255, 0.25) 0 0 0 1px inset; }
.stepper { display: flex; align-items: center; gap: 6px; }
.step-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(92, 225, 255, 0.3); background: rgba(8, 12, 24, 0.8); color: var(--cyan); font-size: 18px; cursor: pointer; }
.stepper input { flex: 1 1 0%; min-width: 0; height: 38px; text-align: center; border-radius: 10px; border: 1px solid rgba(120, 200, 255, 0.2); background: rgba(8, 12, 24, 0.75); color: var(--text); font-size: 17px; font-weight: 700; outline: none; }
.pool-stat { margin-top: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(120, 200, 255, 0.1); background: rgba(8, 12, 24, 0.5); display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.pool-stat em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }
.pay-amount { margin-bottom: 10px; }
.pay-label { font-size: 11px; color: var(--muted); }
.pay-value { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.pay-value em { font-style: normal; font-size: 32px; font-weight: 800; color: var(--cyan); line-height: 1; }
.pay-value span { font-size: 13px; color: var(--muted); }
.promo-tag { margin-top: 4px; font-size: 10px; color: var(--warn); }
.get-energy-hint { margin: 10px 0 0; font-size: 11px; line-height: 1.45; color: var(--muted); text-align: left; }
.get-energy-btn { width: 100%; margin-top: 14px; min-height: 52px; padding: 0 16px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 14px; font-size: 17px; font-weight: 800; letter-spacing: 0.12em; color: rgb(5, 7, 15); background: linear-gradient(135deg, rgb(92, 225, 255) 0%, rgb(126, 184, 255) 45%, rgb(155, 107, 255) 100%); box-shadow: rgba(92, 225, 255, 0.32) 0 10px 28px, rgba(255, 255, 255, 0.35) 0 1px 0 inset; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 0.12s, box-shadow 0.12s, opacity 0.12s; }
.get-energy-btn:active:not(:disabled) { transform: scale(0.98); box-shadow: rgba(92, 225, 255, 0.24) 0 6px 18px; }
.get-energy-btn:disabled { opacity: 0.72; cursor: wait; }
.get-energy-btn[hidden] { display: none !important; }
.addr-block { margin-top: 12px; }
.addr-block[hidden] { display: none !important; }
.addr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 11px; color: var(--muted); }
.copy-btn { height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(92, 225, 255, 0.35); background: rgba(14, 21, 40, 0.85); color: var(--cyan); font-size: 11px; cursor: pointer; }
.copy-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.addr-text { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; line-height: 1.5; word-break: break-all; color: rgb(184, 244, 255); padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(120, 200, 255, 0.15); background: rgba(8, 12, 24, 0.55); min-height: 36px; }
.addr-text.loading { color: var(--muted); font-family: inherit; }
.addr-progress-wrap { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.addr-progress-wrap.done { opacity: 0.35; }
.addr-progress { flex: 1 1 0%; height: 4px; border-radius: 999px; background: rgba(92, 225, 255, 0.12); overflow: hidden; }
.addr-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.addr-pct { font-size: 11px; color: var(--cyan); font-variant-numeric: tabular-nums; min-width: 36px; text-align: right; }
.hint-box { padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(120, 200, 255, 0.12); background: rgba(10, 15, 30, 0.6); }
.hint-box.hint-open .hint-title { font-size: 12px; font-weight: 600; color: rgb(159, 215, 255); margin-bottom: 8px; letter-spacing: 0.06em; }
.hint-box summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted); list-style: none; }
.hint-box summary::-webkit-details-marker { display: none; }
.hint-box ul { margin-top: 8px; padding-left: 16px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.section { margin-bottom: 18px; }
.section-title { font-size: 14px; letter-spacing: 0.12em; color: rgb(159, 215, 255); margin-bottom: 8px; }
.table-shell { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.record-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.record-table th, .record-table td { padding: 8px 6px; text-align: left; font-size: 11px; border-bottom: 1px solid rgba(120, 200, 255, 0.08); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-table th { color: rgb(159, 215, 255); background: rgba(8, 12, 24, 0.55); font-weight: 600; }
.record-table .col-addr { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; }
.record-table .ok { color: var(--ok); }
.pillars { display: flex; gap: 8px; margin-bottom: 10px; }
.pillar { flex: 1 1 0%; min-width: 0; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--line); background: rgba(12, 18, 36, 0.7); text-align: center; }
.pillar em { display: block; font-style: normal; font-size: 14px; font-weight: 700; color: var(--cyan); }
.pillar span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.feature-list li { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(12, 18, 36, 0.65); font-size: 12px; line-height: 1.5; color: var(--muted); }
.faq-item { margin-bottom: 6px; border-radius: 12px; border: 1px solid var(--line); background: rgba(12, 18, 36, 0.65); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; border: 0; background: transparent; color: var(--text); font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.faq-chev { width: 7px; height: 7px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform 0.2s; }
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-a.open { max-height: 500px; }
.faq-a-inner { padding: 0 12px 12px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.faq-a-inner p { margin-bottom: 8px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.footer { margin-top: 24px; padding: 16px 0; text-align: center; font-size: 10px; color: var(--muted); letter-spacing: 0.08em; }
.toast { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 16px; border-radius: 10px; background: rgba(10, 16, 32, 0.95); color: var(--text); font-size: 13px; text-align: center; z-index: 100; opacity: 0; pointer-events: none; transition: opacity 0.2s; box-shadow: rgba(0, 0, 0, 0.5) 0 12px 32px; }
.toast[hidden] { display: none !important; }
.toast.show { opacity: 1; }
