:root { --bg: #0b0a10; --bg2: #14121c; --card: rgba(255, 255, 255, 0.06); --card2: rgba(255, 255, 255, 0.09); --text: #f4f0ea; --muted: #9a94a8; --accent: #f0c674; --accent2: #7dd3c7; --danger: #f07178; --border: rgba(255, 255, 255, 0.1); --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px); --tab-h: 64px; --top-h: 56px; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html, body { height: 100%; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; } button, input, select, textarea { font: inherit; color: inherit; } button { border: 0; background: none; cursor: pointer; } .is-hidden { display: none !important; } #app { min-height: 100%; min-height: 100vh; padding-top: calc(var(--top-h) + var(--safe-t)); padding-bottom: calc(var(--tab-h) + var(--safe-b) + 8px); } .top-chrome { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: calc(var(--top-h) + var(--safe-t)); padding: var(--safe-t) 14px 0; display: flex; align-items: center; justify-content: space-between; background: rgba(11, 10, 16, 0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); } .top-left { display: flex; align-items: center; gap: 8px; } .top-brand { font-weight: 700; font-size: 16px; letter-spacing: 0.4px; } .top-sub { font-size: 11px; color: var(--muted); margin-top: 1px; } .icon-btn { width: 34px; height: 34px; border-radius: 10px; background: var(--card); color: var(--text); font-size: 16px; } .chip { padding: 6px 10px; border-radius: 999px; font-size: 12px; background: rgba(240, 198, 116, 0.15); color: var(--accent); border: 1px solid rgba(240, 198, 116, 0.35); } .main { padding: 12px 14px 20px; max-width: 720px; margin: 0 auto; } .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tab-h) + var(--safe-b)); padding: 6px 6px var(--safe-b); display: flex; background: rgba(16, 14, 24, 0.96); border-top: 1px solid var(--border); backdrop-filter: blur(14px); } .tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 10px; padding: 6px 0; } .tab span { font-size: 18px; line-height: 1; } .tab.is-active { color: var(--accent); } .hero { position: relative; overflow: hidden; border-radius: 22px; padding: 22px 18px 20px; background: radial-gradient(500px 220px at 0% 0%, rgba(240, 198, 116, 0.22), transparent 55%), radial-gradient(420px 200px at 100% 0%, rgba(125, 211, 199, 0.16), transparent 50%), linear-gradient(165deg, #15121d, #0e0c14 70%); border: 1px solid var(--border); margin-bottom: 16px; } .hero-badge { display: inline-block; font-size: 11px; color: var(--accent2); background: rgba(125, 211, 199, 0.12); padding: 4px 8px; border-radius: 999px; margin-bottom: 10px; } .hero h1 { font-size: 28px; line-height: 1.2; font-weight: 760; margin-bottom: 8px; } .hero p { color: var(--muted); font-size: 13px; line-height: 1.55; } .hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--accent); color: #1a1520; } .btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); } .btn.sm { padding: 7px 11px; font-size: 12px; } .section { margin: 18px 0 8px; } .section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; } .section-head h2 { font-size: 16px; font-weight: 700; } .section-head .more { font-size: 12px; color: var(--accent); } .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; } .stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 10px 6px; text-align: center; } .stat b { display: block; color: var(--accent); font-size: 16px; } .stat span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; } .ring-grid, .card-grid { display: grid; gap: 10px; } .ring-grid { grid-template-columns: 1fr 1fr; } .ring-card, .card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; text-align: left; } .ring-card .emoji, .card .emoji { font-size: 22px; display: block; margin-bottom: 8px; } .ring-card strong, .card strong { display: block; font-size: 14px; margin-bottom: 4px; } .ring-card span, .card .desc, .meta { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; } .list { display: flex; flex-direction: column; gap: 10px; } .list-item { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; text-align: left; width: 100%; } .list-item .lead { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--card2); font-size: 22px; } .list-item .body { flex: 1; min-width: 0; } .list-item .title { font-size: 14px; font-weight: 650; } .list-item .meta { margin-top: 4px; } .fav-dot { color: var(--accent); font-size: 12px; margin-left: 6px; } .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .chip-btn { padding: 7px 12px; border-radius: 999px; font-size: 12px; background: var(--card); border: 1px solid var(--border); color: var(--muted); } .chip-btn.is-on { color: #1a1520; background: var(--accent); border-color: var(--accent); } .detail-hero { border-radius: 20px; padding: 18px; margin-bottom: 14px; background: linear-gradient(160deg, rgba(240,198,116,.18), transparent 55%), var(--bg2); border: 1px solid var(--border); } .detail-hero .emoji { font-size: 36px; } .detail-hero h1 { font-size: 24px; margin: 8px 0 4px; } .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; } .kv .cell { background: var(--card); border-radius: 14px; padding: 12px; border: 1px solid var(--border); } .kv .k { color: var(--muted); font-size: 11px; } .kv .v { display: block; margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--accent); } .hl { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; } .hl span { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(125, 211, 199, 0.1); color: #b7efe6; } .article { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; line-height: 1.7; font-size: 14px; color: #e8e2f4; white-space: pre-wrap; } .article h2, .article h3 { color: var(--text); margin: 14px 0 8px; font-size: 16px; } .article p { margin: 0 0 10px; } .article ul, .article ol { padding-left: 18px; margin-bottom: 10px; } .article li { margin: 4px 0; } .article table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 10px 0; } .article th, .article td { border: 1px solid var(--border); padding: 6px 8px; text-align: left; } .form { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; } .field { margin-bottom: 12px; } .field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; } .field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--border); } .check-list { display: flex; flex-direction: column; gap: 8px; } .check-item { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; text-align: left; width: 100%; } .check-item.is-on { border-color: rgba(240,198,116,.5); background: rgba(240,198,116,.08); } .check-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--muted); display: flex; align-items: center; justify-content: center; font-size: 12px; } .check-item.is-on .check-box { background: var(--accent); border-color: var(--accent); color: #1a1520; } .lifestyle { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; } .life-card { min-width: 140px; flex-shrink: 0; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 12px; text-align: left; } .life-card.is-on { border-color: var(--accent); } .life-detail { margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(240,198,116,.08); color: #e8dfc8; font-size: 13px; line-height: 1.55; } .note { margin: 10px 0 14px; padding: 10px 12px; border-radius: 12px; background: rgba(240,198,116,.1); color: #e8d7a8; font-size: 12px; line-height: 1.5; } .empty { text-align: center; color: var(--muted); padding: 28px 10px; font-size: 13px; } .map-board { position: relative; height: 220px; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 20% 40%, rgba(125,211,199,.15), transparent 30%), radial-gradient(circle at 70% 35%, rgba(240,198,116,.12), transparent 28%), linear-gradient(180deg, #17141f, #0f0d15); border: 1px solid var(--border); margin-bottom: 12px; } .map-pin { position: absolute; transform: translate(-50%, -100%); font-size: 18px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); } .map-pin span { display: block; margin-top: 2px; font-size: 9px; color: var(--text); background: rgba(0,0,0,.45); padding: 1px 4px; border-radius: 4px; white-space: nowrap; } .sheet { position: fixed; inset: 0; z-index: 60; } .sheet-mask { position: absolute; inset: 0; background: rgba(0,0,0,.55); } .sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 78%; overflow: auto; background: #16131e; border-radius: 20px 20px 0 0; padding: 10px 16px calc(20px + var(--safe-b)); border-top: 1px solid var(--border); } .sheet-handle { width: 42px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.2); margin: 4px auto 14px; } .compare-pick { display: flex; gap: 8px; margin-bottom: 10px; } .compare-pick select { flex: 1; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--border); } .compare-table { width: 100%; border-collapse: collapse; font-size: 12px; } .compare-table th, .compare-table td { border-bottom: 1px solid var(--border); padding: 10px 6px; text-align: left; } .compare-table th { color: var(--muted); font-weight: 500; } .quote { background: var(--card); border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; padding: 12px 14px; margin-bottom: 10px; } .quote p { font-size: 13px; line-height: 1.55; } .quote .who { margin-top: 8px; color: var(--muted); font-size: 12px; }