:root { --bg: #FCF9F4; --bg-card: #FFFFFF; --bg-warm: #F5EDE6; --text-primary: #1A1A1A; --text-secondary: #666666; --text-tertiary: #999999; --accent: #E8C4A0; --accent-light: #FFF6ED; --accent-peach: #FFE8E0; --border: #F0E8DF; --danger: #E74C3C; --success: #27AE60; --radius: 16px; --radius-sm: 10px; --radius-xs: 6px; --nav-height: 68px; } * { margin: 0; padding: 0; box-sizing: border-box; } html, body, #root { height: 100%; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background: var(--bg); color: var(--text-primary); -webkit-font-smoothing: antialiased; user-select: none; } button { font-family: inherit; cursor: pointer; border: none; } input, select, textarea { font-family: inherit; } ::-webkit-scrollbar { width: 0; height: 0; } .app-shell { display: flex; flex-direction: column; height: 100%; max-width: 500px; margin: 0 auto; } .app-content { flex: 1; overflow-y: auto; padding: 8px 20px 20px; } .page-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 16px; position: sticky; top: 0; background: var(--bg); z-index: 10; } .page-title { font-size: 26px; font-weight: 700; } /* Bottom Nav */ .bottom-nav { display: flex; height: var(--nav-height); background: var(--bg-card); border-top: 1px solid var(--border); padding: 6px 8px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); } .nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: none; color: var(--text-tertiary); font-size: 11px; transition: color 0.2s; } .nav-item.active { color: var(--text-primary); font-weight: 600; } .nav-item .nav-icon { font-size: 20px; } .center-nav-btn { position: relative; top: -14px; } .center-nav-btn .fab-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--text-primary); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } /* Buttons */ .btn { padding: 12px 20px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: opacity 0.15s, transform 0.15s; } .btn:active { opacity: 0.85; transform: scale(0.98); } .btn-primary { background: var(--text-primary); color: #fff; width: 100%; } .btn-secondary { background: var(--bg-warm); color: var(--text-primary); width: 100%; } .btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); width: 100%; } .btn-danger { background: var(--danger); color: #fff; } /* Cards */ .card { background: var(--bg-card); border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); padding: 16px; } /* Forms */ .input-group { margin-bottom: 16px; } .input-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; } .input { width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-card); font-size: 15px; outline: none; transition: border-color 0.2s; } .input:focus { border-color: var(--accent); } .code-row { display: flex; gap: 10px; } .code-row .input { flex: 1; } .code-btn { padding: 13px 18px; background: var(--accent-light); color: #B8734A; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; white-space: nowrap; } .code-btn:disabled { opacity: 0.5; } /* Tag Pills */ .tag-pill { display: inline-block; padding: 5px 14px; border-radius: 20px; background: var(--bg-card); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; } .tag-pill-active { background: var(--text-primary); border-color: var(--text-primary); color: #fff; } /* Toast */ .toast { position: fixed; top: 60px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.8); color: #fff; padding: 10px 24px; border-radius: 20px; font-size: 14px; z-index: 1000; animation: toast-in 0.3s; } @keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }