Refresh audience/admin UX, ntfy/track, social paths, and replace ebook chapters with the expanded catalog; keep local SQLite and one-off probe scripts out of tree. Co-authored-by: Cursor <cursoragent@cursor.com>
706 lines
16 KiB
CSS
706 lines
16 KiB
CSS
:root {
|
||
/* 默认:Nomadro 微信台绿(admin.nomadro.cn) */
|
||
--bg: #0c0c0f;
|
||
--panel: #141418;
|
||
--line: rgba(94, 196, 120, 0.18);
|
||
--text: #f4f4f5;
|
||
--muted: #a1a1aa;
|
||
--accent: #5ec478;
|
||
--accent-2: #7be0a4;
|
||
--danger: #f87171;
|
||
--font-display: 'Syne', 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
||
--font-body: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
|
||
--brand-glow: rgba(94, 196, 120, 0.16);
|
||
--brand-ink: #062012;
|
||
}
|
||
|
||
/* admin.hackrobot.cn · VIP 运营台:紫(勿用琥珀/绿,避免与另两套后台混淆) */
|
||
html.brand-vip {
|
||
--line: rgba(139, 92, 246, 0.22);
|
||
--accent: #8b5cf6;
|
||
--accent-2: #c4b5fd;
|
||
--brand-glow: rgba(139, 92, 246, 0.18);
|
||
--brand-ink: #1e1033;
|
||
}
|
||
|
||
* { box-sizing: border-box; }
|
||
html, body, #root { min-height: 100%; margin: 0; }
|
||
html {
|
||
-webkit-text-size-adjust: 100%;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
body {
|
||
font-family: var(--font-body);
|
||
color: var(--text);
|
||
background:
|
||
radial-gradient(900px 480px at 8% -10%, var(--brand-glow), transparent 55%),
|
||
radial-gradient(720px 400px at 92% 0%, rgba(56, 189, 248, 0.07), transparent 50%),
|
||
linear-gradient(180deg, #0e0e12 0%, var(--bg) 40%),
|
||
var(--bg);
|
||
padding:
|
||
env(safe-area-inset-top, 0)
|
||
env(safe-area-inset-right, 0)
|
||
env(safe-area-inset-bottom, 0)
|
||
env(safe-area-inset-left, 0);
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
|
||
a { color: inherit; text-decoration: none; }
|
||
button, a, input, textarea, select { touch-action: manipulation; }
|
||
|
||
.shell {
|
||
display: grid;
|
||
grid-template-columns: 260px 1fr;
|
||
min-height: 100vh;
|
||
min-height: 100dvh;
|
||
}
|
||
|
||
.topbar,
|
||
.nav-scrim {
|
||
display: none;
|
||
}
|
||
|
||
.side {
|
||
border-right: 1px solid var(--line);
|
||
padding: 28px 20px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 24px;
|
||
background: rgba(10, 18, 14, 0.7);
|
||
backdrop-filter: blur(10px);
|
||
}
|
||
|
||
.logo { display: flex; gap: 12px; align-items: center; }
|
||
.logo-mark,
|
||
.logo-mark-img {
|
||
width: 42px; height: 42px; border-radius: 12px;
|
||
display: grid; place-items: center;
|
||
background: linear-gradient(135deg, var(--accent), var(--accent-2));
|
||
color: var(--brand-ink); font-family: var(--font-display); font-weight: 800;
|
||
flex-shrink: 0;
|
||
}
|
||
.logo-mark-img {
|
||
object-fit: cover;
|
||
box-shadow: 0 4px 14px var(--brand-glow);
|
||
}
|
||
.logo-title { font-family: var(--font-display); font-size: 20px; }
|
||
.logo-sub { color: var(--muted); font-size: 12px; }
|
||
|
||
.nav { display: flex; flex-direction: column; gap: 8px; flex: 1; }
|
||
.nav a {
|
||
padding: 12px 14px; border-radius: 12px; color: var(--muted);
|
||
min-height: 44px;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.nav a.active, .nav a:hover {
|
||
background: rgba(94, 196, 120, 0.12);
|
||
color: var(--text);
|
||
}
|
||
|
||
.ghost-btn {
|
||
border: 1px solid var(--line);
|
||
background: transparent;
|
||
color: var(--muted);
|
||
border-radius: 12px;
|
||
padding: 10px 12px;
|
||
min-height: 44px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.main {
|
||
padding: 32px 36px 60px;
|
||
min-width: 0;
|
||
}
|
||
.page-head {
|
||
display: flex; justify-content: space-between; align-items: end; gap: 16px;
|
||
margin-bottom: 24px;
|
||
}
|
||
.page-head h1 {
|
||
margin: 0 0 6px;
|
||
font-family: var(--font-display);
|
||
font-size: 32px;
|
||
}
|
||
.page-head p { margin: 0; color: var(--muted); }
|
||
|
||
.primary-link {
|
||
background: linear-gradient(135deg, #3f9d68, #67d094);
|
||
color: #062012 !important;
|
||
padding: 12px 16px;
|
||
border-radius: 12px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.stat-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||
gap: 14px;
|
||
margin-bottom: 20px;
|
||
}
|
||
.stat-card {
|
||
background: var(--panel);
|
||
border: 1px solid var(--line);
|
||
border-radius: 18px;
|
||
padding: 18px;
|
||
}
|
||
.stat-emoji { font-size: 22px; }
|
||
.stat-value { font-size: 28px; font-family: var(--font-display); margin-top: 8px; }
|
||
.stat-label { color: var(--muted); margin-top: 4px; font-size: 13px; }
|
||
|
||
.panel {
|
||
background: var(--panel);
|
||
border: 1px solid var(--line);
|
||
border-radius: 20px;
|
||
padding: 22px;
|
||
}
|
||
.panel h2, .panel h3 { font-family: var(--font-display); margin-top: 0; }
|
||
.quick { display: flex; flex-wrap: wrap; gap: 12px; }
|
||
.quick a {
|
||
padding: 12px 16px;
|
||
border-radius: 12px;
|
||
background: rgba(255,255,255,0.04);
|
||
border: 1px solid var(--line);
|
||
}
|
||
|
||
.login-page {
|
||
min-height: 100vh;
|
||
min-height: 100dvh;
|
||
display: grid;
|
||
place-items: center;
|
||
position: relative;
|
||
padding: 24px;
|
||
}
|
||
.login-bg {
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
background: radial-gradient(600px 360px at 50% 0%, var(--brand-glow), transparent 60%);
|
||
}
|
||
.login-orbit {
|
||
position: absolute;
|
||
width: min(640px, 90vw);
|
||
height: min(640px, 90vw);
|
||
border-radius: 50%;
|
||
border: 1px solid var(--line);
|
||
pointer-events: none;
|
||
animation: login-spin 48s linear infinite;
|
||
}
|
||
.login-orbit::before,
|
||
.login-orbit::after {
|
||
content: '';
|
||
position: absolute;
|
||
border-radius: 50%;
|
||
border: 1px dashed rgba(56, 189, 248, 0.15);
|
||
inset: 12%;
|
||
}
|
||
.login-orbit::after {
|
||
inset: 28%;
|
||
border-style: solid;
|
||
border-color: var(--line);
|
||
}
|
||
@keyframes login-spin {
|
||
to { transform: rotate(360deg); }
|
||
}
|
||
.login-card {
|
||
position: relative;
|
||
width: min(420px, 100%);
|
||
background: rgba(20, 20, 24, 0.92);
|
||
border: 1px solid var(--line);
|
||
border-radius: 20px;
|
||
padding: 28px 24px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 14px;
|
||
box-shadow: 0 24px 80px #00000040;
|
||
}
|
||
.login-brand {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 14px;
|
||
margin-bottom: 4px;
|
||
}
|
||
.login-brand img {
|
||
border-radius: 14px;
|
||
box-shadow: 0 12px 40px var(--brand-glow);
|
||
flex-shrink: 0;
|
||
}
|
||
.login-card h1 {
|
||
font-family: var(--font-display);
|
||
margin: 0 0 4px;
|
||
font-size: 24px;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
.login-card p { margin: 0; color: var(--muted); font-size: 13px; }
|
||
.login-tagline {
|
||
margin: 0 !important;
|
||
font-size: 14px !important;
|
||
font-weight: 600;
|
||
background: linear-gradient(90deg, var(--accent-2), var(--accent));
|
||
-webkit-background-clip: text;
|
||
background-clip: text;
|
||
color: transparent !important;
|
||
}
|
||
.login-hint-top {
|
||
margin: -4px 0 0 !important;
|
||
font-size: 12px !important;
|
||
color: var(--muted) !important;
|
||
}
|
||
.login-install-hint {
|
||
margin: 4px 0 0 !important;
|
||
font-size: 12px !important;
|
||
line-height: 1.5;
|
||
opacity: 0.85;
|
||
}
|
||
.login-card button {
|
||
margin-top: 6px;
|
||
min-height: 46px;
|
||
border: 0;
|
||
border-radius: 12px;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
background: linear-gradient(135deg, var(--accent), var(--accent-2));
|
||
color: var(--brand-ink);
|
||
}
|
||
.login-card button:disabled { opacity: 0.6; cursor: not-allowed; }
|
||
.login-card input {
|
||
border-radius: 12px;
|
||
border: 1px solid var(--line);
|
||
background: #0c0c0f;
|
||
color: var(--text);
|
||
padding: 12px 14px;
|
||
min-height: 44px;
|
||
font-size: 16px;
|
||
}
|
||
label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
|
||
input, textarea, button {
|
||
font: inherit;
|
||
}
|
||
input, textarea {
|
||
border-radius: 12px;
|
||
border: 1px solid var(--line);
|
||
background: rgba(0,0,0,0.25);
|
||
color: var(--text);
|
||
padding: 12px 14px;
|
||
}
|
||
button {
|
||
border: none;
|
||
border-radius: 12px;
|
||
padding: 12px 16px;
|
||
background: linear-gradient(135deg, #3f9d68, #67d094);
|
||
color: #062012;
|
||
font-weight: 700;
|
||
cursor: pointer;
|
||
}
|
||
.error { color: #ffb4a8; font-size: 13px; }
|
||
.banner {
|
||
padding: 12px 14px;
|
||
border-radius: 12px;
|
||
background: rgba(94,196,120,0.12);
|
||
border: 1px solid rgba(94,196,120,0.3);
|
||
}
|
||
|
||
.form { display: flex; flex-direction: column; gap: 16px; }
|
||
.grid-2 {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 14px;
|
||
}
|
||
.unlock-hero {
|
||
display: grid;
|
||
grid-template-columns: 1.4fr 1fr;
|
||
gap: 18px;
|
||
padding: 16px;
|
||
border-radius: 16px;
|
||
background: rgba(0,0,0,0.2);
|
||
}
|
||
.unlock-row { display: flex; align-items: center; gap: 12px; }
|
||
.unlock-row input[type=range] { flex: 1; }
|
||
.bar-preview {
|
||
position: relative;
|
||
height: 12px;
|
||
border-radius: 999px;
|
||
background: rgba(255,255,255,0.08);
|
||
margin-top: 14px;
|
||
}
|
||
.bar-preview-fill {
|
||
height: 100%;
|
||
border-radius: inherit;
|
||
background: linear-gradient(90deg, #3f9d68, #7be0a4);
|
||
}
|
||
.bar-preview span {
|
||
position: absolute; top: -18px; transform: translateX(-50%);
|
||
}
|
||
.hint { color: var(--muted); font-size: 13px; }
|
||
.price-box { display: flex; flex-direction: column; gap: 8px; }
|
||
.yuan { color: var(--accent-2); font-weight: 600; }
|
||
.chapter-editor {
|
||
border: 1px solid var(--line);
|
||
border-radius: 14px;
|
||
padding: 12px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
}
|
||
.table-wrap { overflow: auto; }
|
||
table { width: 100%; border-collapse: collapse; font-size: 13px; }
|
||
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
|
||
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
|
||
|
||
.checklist { list-style: none; padding: 0; margin: 0; }
|
||
.checklist li {
|
||
display: flex; justify-content: space-between; gap: 16px; align-items: center;
|
||
padding: 14px 0; border-bottom: 1px solid var(--line);
|
||
}
|
||
.badge {
|
||
flex-shrink: 0;
|
||
font-size: 12px;
|
||
padding: 4px 10px;
|
||
border-radius: 999px;
|
||
}
|
||
.badge.ok { background: rgba(94,196,120,.18); color: #9ee0b4; }
|
||
.badge.bad { background: rgba(220,80,60,.18); color: #ffb4a8; }
|
||
.badge.manual { background: rgba(215,179,90,.18); color: #f0d78a; }
|
||
.fee-note { margin-top: 20px; color: var(--muted); }
|
||
.fee-note ul { padding-left: 18px; }
|
||
.guide-ol { color: var(--muted); line-height: 1.7; padding-left: 22px; }
|
||
.guide-ol code {
|
||
color: var(--accent-2);
|
||
background: rgba(0,0,0,0.25);
|
||
padding: 2px 8px;
|
||
border-radius: 6px;
|
||
}
|
||
|
||
/* 平台选择中间页 */
|
||
.platform-page {
|
||
min-height: 100vh;
|
||
display: grid;
|
||
place-items: center;
|
||
padding: 32px 20px;
|
||
position: relative;
|
||
}
|
||
.platform-bg {
|
||
position: absolute;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
background:
|
||
radial-gradient(700px 420px at 18% 8%, rgba(94, 196, 120, 0.18), transparent 55%),
|
||
radial-gradient(640px 400px at 88% 12%, rgba(254, 44, 85, 0.1), transparent 52%),
|
||
radial-gradient(480px 320px at 50% 100%, rgba(37, 244, 238, 0.06), transparent 55%);
|
||
}
|
||
.platform-inner {
|
||
position: relative;
|
||
width: min(720px, 100%);
|
||
}
|
||
.platform-brand {
|
||
display: flex;
|
||
gap: 14px;
|
||
align-items: center;
|
||
margin-bottom: 28px;
|
||
}
|
||
.platform-brand h1 {
|
||
margin: 0 0 4px;
|
||
font-family: var(--font-display);
|
||
font-size: 28px;
|
||
}
|
||
.platform-brand p {
|
||
margin: 0;
|
||
color: var(--muted);
|
||
font-size: 14px;
|
||
line-height: 1.5;
|
||
}
|
||
.platform-brand-note {
|
||
opacity: 0.7;
|
||
font-size: 13px;
|
||
}
|
||
.platform-grid {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 16px;
|
||
}
|
||
.platform-grid--duo {
|
||
grid-template-columns: 1fr 1fr;
|
||
}
|
||
.platform-card {
|
||
text-align: left;
|
||
border: 1px solid var(--line);
|
||
border-radius: 20px;
|
||
padding: 22px 20px 20px;
|
||
background: rgba(21, 32, 25, 0.9);
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
min-height: 200px;
|
||
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
|
||
}
|
||
.platform-card:hover {
|
||
transform: translateY(-3px);
|
||
}
|
||
.platform-card-top {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-bottom: 6px;
|
||
}
|
||
.platform-ico {
|
||
width: 48px;
|
||
height: 48px;
|
||
border-radius: 14px;
|
||
display: grid;
|
||
place-items: center;
|
||
font-size: 22px;
|
||
line-height: 1;
|
||
}
|
||
.platform-ico--wechat {
|
||
background: rgba(94, 196, 120, 0.15);
|
||
box-shadow: inset 0 0 0 1px rgba(94, 196, 120, 0.25);
|
||
}
|
||
.platform-ico--douyin {
|
||
background: linear-gradient(145deg, rgba(254, 44, 85, 0.9), rgba(37, 244, 238, 0.55));
|
||
color: #fff;
|
||
font-weight: 800;
|
||
font-size: 18px;
|
||
font-family: var(--font-display);
|
||
box-shadow: 0 8px 20px rgba(254, 44, 85, 0.28);
|
||
}
|
||
.platform-badge {
|
||
font-size: 11px;
|
||
font-weight: 700;
|
||
letter-spacing: 0.06em;
|
||
text-transform: uppercase;
|
||
padding: 4px 9px;
|
||
border-radius: 999px;
|
||
color: var(--accent);
|
||
background: rgba(94, 196, 120, 0.12);
|
||
border: 1px solid rgba(94, 196, 120, 0.28);
|
||
}
|
||
.platform-badge--dy {
|
||
color: #ff7a93;
|
||
background: rgba(254, 44, 85, 0.1);
|
||
border-color: rgba(254, 44, 85, 0.28);
|
||
}
|
||
.platform-card--wechat:hover {
|
||
border-color: rgba(94, 196, 120, 0.5);
|
||
box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
|
||
}
|
||
.platform-card--douyin {
|
||
background:
|
||
linear-gradient(160deg, rgba(22, 14, 20, 0.96), rgba(12, 12, 16, 0.96));
|
||
border-color: rgba(255, 255, 255, 0.08);
|
||
}
|
||
.platform-card--douyin:hover {
|
||
border-color: rgba(254, 44, 85, 0.45);
|
||
box-shadow: 0 16px 40px rgba(254, 44, 85, 0.16);
|
||
}
|
||
.platform-card strong {
|
||
font-family: var(--font-display);
|
||
font-size: 20px;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
.platform-desc {
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
line-height: 1.5;
|
||
flex: 1;
|
||
}
|
||
.platform-cta {
|
||
margin-top: 8px;
|
||
color: var(--accent);
|
||
font-weight: 700;
|
||
font-size: 14px;
|
||
}
|
||
.platform-card--douyin .platform-cta {
|
||
color: #ff7a93;
|
||
}
|
||
|
||
/* VIP 配置页 */
|
||
.vip-row {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
padding: 12px 0;
|
||
border-bottom: 1px solid var(--line);
|
||
}
|
||
.vip-row:last-of-type { border-bottom: none; }
|
||
.vip-hint {
|
||
margin: 4px 0 0;
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
line-height: 1.45;
|
||
}
|
||
.vip-field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
margin-top: 12px;
|
||
font-size: 13px;
|
||
color: var(--muted);
|
||
}
|
||
.vip-field input {
|
||
background: rgba(0, 0, 0, 0.25);
|
||
border: 1px solid var(--line);
|
||
border-radius: 10px;
|
||
color: var(--text);
|
||
padding: 10px 12px;
|
||
font-size: 14px;
|
||
}
|
||
.vip-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
}
|
||
|
||
@media (max-width: 960px) {
|
||
.shell {
|
||
grid-template-columns: 1fr;
|
||
grid-template-rows: auto 1fr;
|
||
}
|
||
|
||
.topbar {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 40;
|
||
min-height: 56px;
|
||
padding: 10px 14px;
|
||
padding-top: max(10px, env(safe-area-inset-top, 0px));
|
||
border-bottom: 1px solid var(--line);
|
||
background: rgba(10, 18, 14, 0.92);
|
||
backdrop-filter: blur(14px);
|
||
}
|
||
.topbar-menu {
|
||
width: 44px;
|
||
height: 44px;
|
||
border-radius: 12px;
|
||
border: 1px solid var(--line);
|
||
background: rgba(255, 255, 255, 0.04);
|
||
display: grid;
|
||
place-content: center;
|
||
gap: 5px;
|
||
padding: 0;
|
||
flex-shrink: 0;
|
||
}
|
||
.topbar-menu span {
|
||
display: block;
|
||
width: 18px;
|
||
height: 2px;
|
||
border-radius: 2px;
|
||
background: var(--text);
|
||
}
|
||
.topbar-brand {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
min-width: 0;
|
||
flex: 1;
|
||
}
|
||
.topbar-brand img {
|
||
border-radius: 8px;
|
||
flex-shrink: 0;
|
||
}
|
||
.topbar-title {
|
||
font-family: var(--font-display);
|
||
font-size: 15px;
|
||
line-height: 1.2;
|
||
}
|
||
.topbar-sub {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
.topbar-action {
|
||
flex-shrink: 0;
|
||
min-height: 40px;
|
||
padding: 8px 12px;
|
||
border-radius: 10px;
|
||
border: 1px solid var(--line);
|
||
background: rgba(255, 255, 255, 0.04);
|
||
color: var(--text);
|
||
font-weight: 600;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.nav-scrim {
|
||
display: block;
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 45;
|
||
border: 0;
|
||
background: rgba(0, 0, 0, 0.55);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.side {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
bottom: 0;
|
||
width: min(300px, 86vw);
|
||
z-index: 50;
|
||
border-right: 1px solid var(--line);
|
||
border-bottom: none;
|
||
transform: translateX(-105%);
|
||
transition: transform 0.22s ease;
|
||
padding-top: max(24px, env(safe-area-inset-top, 0px));
|
||
padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
|
||
overflow-y: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
background: rgba(10, 18, 14, 0.98);
|
||
}
|
||
.shell--nav-open .side {
|
||
transform: translateX(0);
|
||
}
|
||
|
||
.main {
|
||
padding: 18px 14px max(28px, env(safe-area-inset-bottom, 0px));
|
||
}
|
||
.page-head {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
}
|
||
.page-head h1 { font-size: 24px; }
|
||
.primary-link {
|
||
text-align: center;
|
||
min-height: 44px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
.stat-grid, .unlock-hero, .grid-2, .platform-grid { grid-template-columns: 1fr; }
|
||
.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||
.panel { padding: 16px; border-radius: 16px; }
|
||
.table-wrap {
|
||
margin: 0 -4px;
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
table { font-size: 12px; min-width: 520px; }
|
||
th, td { padding: 12px 8px; }
|
||
input, textarea, button, .ghost-btn {
|
||
min-height: 44px;
|
||
font-size: 16px; /* iOS 避免自动放大 */
|
||
}
|
||
.login-card {
|
||
width: min(420px, calc(100vw - 28px));
|
||
padding: 22px 18px;
|
||
}
|
||
.platform-page { padding: 20px 14px max(24px, env(safe-area-inset-bottom, 0px)); }
|
||
.platform-brand { margin-bottom: 20px; }
|
||
.platform-brand h1 { font-size: 22px; }
|
||
.platform-card { min-height: 160px; }
|
||
.vip-row {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
}
|
||
.vip-actions button { flex: 1 1 auto; }
|
||
}
|
||
|
||
@media (max-width: 420px) {
|
||
.stat-grid { grid-template-columns: 1fr; }
|
||
}
|