@import './tokens.css'; *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html, body, #root { height: 100%; overflow: hidden; } body { font-family: var(--gc-font); background: var(--gc-bg); color: var(--gc-text); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; } button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; border: none; background: none; min-height: var(--gc-touch); } a { color: var(--gc-accent); } .app-shell { display: flex; flex-direction: column; height: 100%; padding-top: var(--gc-safe-top); } .app-content { flex: 1; overflow: hidden; display: flex; flex-direction: column; min-height: 0; } .screen { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding-bottom: calc(var(--gc-tab-height) + var(--gc-safe-bottom) + 8px); } .screen-header { padding: 12px 16px 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 10; background: var(--gc-bg); backdrop-filter: blur(12px); } .screen-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; } .card { background: var(--gc-bg-card); border: 1px solid var(--gc-border); border-radius: var(--gc-radius-lg); padding: 16px; } .chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; } .chip-row::-webkit-scrollbar { display: none; } .chip { flex-shrink: 0; padding: 8px 14px; border-radius: var(--gc-radius-sm); border: 1px solid var(--gc-border); background: rgba(255, 255, 255, 0.05); color: var(--gc-text-muted); font-size: 13px; font-weight: 500; min-height: 36px; } .chip.active { background: var(--gc-accent-soft); border-color: var(--gc-accent); color: var(--gc-accent); } .btn-primary { background: var(--gc-accent); color: #fff; border-radius: var(--gc-radius-sm); padding: 10px 16px; font-weight: 600; font-size: 14px; } .btn-secondary { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--gc-border); border-radius: var(--gc-radius-sm); padding: 10px 16px; font-weight: 500; font-size: 14px; } .btn-danger { background: rgba(239, 68, 68, 0.15); color: var(--gc-red); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: var(--gc-radius-sm); padding: 10px 16px; } .text-green { color: var(--gc-green); } .text-red { color: var(--gc-red); } .text-muted { color: var(--gc-text-muted); } .loading-center { display: flex; align-items: center; justify-content: center; padding: 48px; color: var(--gc-text-muted); } .empty-state { text-align: center; padding: 48px 24px; color: var(--gc-text-muted); } .empty-state h3 { font-size: 16px; margin-bottom: 8px; color: var(--gc-text); } .fab { position: fixed; right: 16px; bottom: calc(var(--gc-tab-height) + var(--gc-safe-bottom) + 16px); width: 56px; height: 56px; border-radius: 50%; background: var(--gc-accent); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4); z-index: 50; } .connection-banner { background: rgba(239, 68, 68, 0.15); color: var(--gc-red); text-align: center; padding: 6px 12px; font-size: 12px; font-weight: 500; } .toast-stack { position: fixed; top: calc(var(--gc-safe-top) + 8px); left: 12px; right: 12px; z-index: 200; display: flex; flex-direction: column; gap: 8px; pointer-events: none; } .toast-item { pointer-events: auto; background: var(--gc-bg-elevated); border: 1px solid var(--gc-border); border-radius: var(--gc-radius-md); padding: 12px 14px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35); animation: slideDown 0.25s ease; } @keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } } .pull-indicator { text-align: center; padding: 8px; font-size: 12px; color: var(--gc-text-muted); } /* ── 모바일 목록 → 상세/매매 스택 ── */ .stack-screen { display: flex; flex-direction: column; height: 100%; overflow: hidden; } .stack-screen-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 16px 24px; } .stack-list { display: flex; flex-direction: column; gap: 10px; } .mobile-stack-header { flex-wrap: nowrap; } .mobile-back-btn { font-size: 22px; min-width: 44px; padding: 0 8px; color: var(--gc-accent); flex-shrink: 0; } .mobile-stack-header-titles { flex: 1; min-width: 0; } .mobile-stack-title { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mobile-stack-subtitle { font-size: 12px; margin-top: 2px; } .mobile-list-row { padding: 12px 14px; } .mobile-list-row--unread { background: rgba(139, 92, 246, 0.08); } .mobile-list-row-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; } .mobile-list-row-info { flex: 1; min-width: 0; } .mobile-list-row-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; } .mobile-list-row-meta { font-size: 11px; margin-top: 4px; line-height: 1.35; } .mobile-list-row-pin { display: flex; gap: 4px; flex-shrink: 0; } .mobile-list-row-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .mobile-action-btn { padding: 10px 6px; font-size: 12px; font-weight: 600; min-height: 40px; text-align: center; } .mobile-action-btn--buy { background: var(--gc-green); color: #fff; } .icon-btn { min-width: 36px; min-height: 36px; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); font-size: 14px; } .icon-btn--danger { color: var(--gc-red); } .live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gc-text-dim); flex-shrink: 0; } .live-dot.live { background: var(--gc-green); } .live-dot.connecting { background: var(--gc-orange); } .live-dot.disconnected { background: var(--gc-red); } .mobile-history-row, .mobile-detail-row { padding: 12px 14px; }