:root{--primary: #c2410c;--accent: #c2410c;--success: #00a699;--danger: #c13515;--surface: #ffffff;--bg: #f7f7f7;--border: #ebebeb;--text: #222222;--text-2: #717171;--text-3: #b0b0b0;--shadow-sm: 0 1px 2px rgba(0,0,0,.08);--shadow-md: 0 2px 16px rgba(0,0,0,.12);--shadow-card: 0 6px 20px rgba(0,0,0,.08);--tab-h: 68px;--safe-bottom: env(safe-area-inset-bottom, 0px);--radius: 14px;--radius-lg: 20px}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;width:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}.app{display:flex;flex-direction:column;height:100%;width:100%;max-width:430px;margin:0 auto;position:relative;background:var(--bg);overflow:hidden}.screen{display:flex;flex-direction:column;flex:1;overflow:hidden}.scroll{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.scroll::-webkit-scrollbar{display:none}.tab-bar{display:flex;height:calc(var(--tab-h) + var(--safe-bottom));background:#fff;border-top:1px solid var(--border);flex-shrink:0;padding-bottom:var(--safe-bottom)}.tab-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:8px;gap:4px;cursor:pointer;border:none;background:none;color:var(--text-3);transition:color .15s}.tab-icon{font-size:22px;line-height:1}.tab-label{font-size:10px;font-weight:500}.tab-dot{display:none}.tab-item.active{color:var(--text)}.tab-item.active .tab-label{font-weight:700}.nav-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#fff;border-bottom:1px solid var(--border);flex-shrink:0}.nav-back{color:var(--text);font-size:15px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:2px;background:none;border:none;font-family:inherit}.nav-title{font-size:15px;font-weight:700;color:var(--text);letter-spacing:-.2px}.nav-action{color:var(--primary);font-size:14px;font-weight:700;cursor:pointer;background:none;border:none;font-family:inherit}.card{background:var(--surface);border-radius:var(--radius-lg);padding:16px;margin:0 16px 12px;border:1px solid var(--border)}.book-card{display:flex;align-items:center;gap:14px}.book-cover{width:58px;height:82px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:28px;flex-shrink:0}.cover-fiction{background:#e8eaf6}.cover-scifi{background:#e3f2fd}.cover-nonfiction{background:#e8f5e9}.cover-mystery{background:#fff8e1}.cover-default{background:#f3e5f5}.book-info{flex:1;min-width:0}.book-title{font-size:15px;font-weight:700;color:var(--text);letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}.book-author{font-size:13px;color:var(--text-2);margin-bottom:6px}.genre-badge{display:inline-flex;background:#f3f4f6;color:var(--text-2);border-radius:6px;padding:2px 8px;font-size:11px;font-weight:500}.stars{color:#f59e0b;font-size:12px;margin-top:4px;letter-spacing:1px}.btn-primary{background:var(--text);color:#fff;border:none;border-radius:10px;padding:15px;font-size:16px;font-weight:600;width:100%;cursor:pointer;font-family:inherit;letter-spacing:-.2px;margin-bottom:12px}.btn-secondary{border:1.5px solid var(--border);color:var(--text);background:#fff;border-radius:10px;padding:14px;font-size:14px;font-weight:600;width:100%;cursor:pointer;font-family:inherit;margin-bottom:10px}.btn-danger{border:1.5px solid #fecaca;color:var(--danger);background:#fff;border-radius:10px;padding:14px;font-size:14px;font-weight:600;width:100%;cursor:pointer;font-family:inherit;margin-bottom:10px}.btn-link{color:var(--primary);font-weight:600;cursor:pointer;font-size:14px;background:none;border:none;font-family:inherit}.sell-btn{background:var(--text);color:#fff;border-radius:10px;padding:9px 18px;font-size:13px;font-weight:600;cursor:pointer;border:none;font-family:inherit}.input-wrap{margin-bottom:16px}.input-label{font-size:12px;font-weight:600;color:var(--text-2);text-transform:uppercase;letter-spacing:.5px;margin-bottom:7px;display:block}.input-field{border:1.5px solid var(--border);border-radius:var(--radius);padding:14px 16px;font-size:16px;width:100%;background:var(--surface);outline:none;color:var(--text);font-family:inherit}.input-field:focus{border-color:var(--text)}textarea.input-field{resize:none}.chips-row{display:flex;gap:8px;padding:0 16px 14px;overflow-x:auto}.chips-row::-webkit-scrollbar{display:none}.chip-tab{padding:9px 18px;border-radius:100px;background:#fff;border:1.5px solid var(--border);font-size:13px;color:var(--text-2);cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;font-family:inherit;font-weight:500}.chip-tab.active{background:var(--text);color:#fff;border-color:var(--text)}.chip-badge{background:#fff3;border-radius:10px;padding:1px 7px;font-size:11px;font-weight:700;color:inherit}.chip-tab:not(.active) .chip-badge{background:#f3f4f6;color:var(--text-2)}.chips-wrap{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 20px}.genre-chip{border:1.5px solid var(--border);border-radius:100px;padding:8px 16px;font-size:14px;color:var(--text-2);cursor:pointer;background:#fff;font-family:inherit;font-weight:500}.genre-chip.active{background:var(--text);color:#fff;border-color:var(--text)}.section-title{font-size:11px;font-weight:600;color:var(--text-3);text-transform:uppercase;letter-spacing:1px;padding:16px 20px 8px}.screen-header-row{display:flex;justify-content:space-between;align-items:center;padding:6px 20px 14px}.screen-title{font-size:26px;font-weight:800;color:var(--text);letter-spacing:-.8px}.screen-sub{font-size:13px;color:var(--text-2);margin-top:2px}.search-bar{margin:0 16px 14px;background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);padding:12px 16px;font-size:14px;color:var(--text-3);display:flex;align-items:center;gap:8px}.notif-btn{width:38px;height:38px;border-radius:100px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;border:1.5px solid var(--border);cursor:pointer;position:relative}.notif-pip{position:absolute;top:6px;right:6px;width:7px;height:7px;border-radius:4px;background:#c13515;border:1.5px solid #fff}.divider{display:flex;align-items:center;gap:12px;margin:8px 0 20px}.divider-line{flex:1;height:1px;background:var(--border)}.divider-text{font-size:12px;color:var(--text-3);font-weight:500}.form-label{font-size:12px;font-weight:600;color:var(--text-2);text-transform:uppercase;letter-spacing:.5px;margin-bottom:7px;display:block}.auth-footer{display:flex;justify-content:center;gap:4px;font-size:14px;color:var(--text-2)}.scan-area{background:#fafafa;border-radius:var(--radius);padding:20px;text-align:center;margin-bottom:18px;cursor:pointer;border:1.5px dashed var(--border)}.stats-row{display:flex;background:#fff;border-radius:var(--radius-lg);margin:16px 16px 0;border:1px solid var(--border)}.stat-box{flex:1;padding:20px 0;text-align:center}.stat-num{font-size:26px;font-weight:800;color:var(--text);letter-spacing:-.5px}.stat-lbl{font-size:11px;color:var(--text-3);margin-top:4px;font-weight:500}.stat-div{width:1px;background:var(--border);margin:14px 0}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--border)}.setting-row:last-child{border-bottom:none}.setting-label{font-size:15px;color:var(--text);font-weight:400}.toggle{width:48px;height:28px;border-radius:14px;position:relative;cursor:pointer;transition:background .2s}.toggle.on{background:var(--text)}.toggle.off{background:#e5e7eb}.toggle:after{content:"";position:absolute;width:24px;height:24px;background:#fff;border-radius:12px;top:2px;transition:left .2s;box-shadow:0 1px 4px #00000026}.toggle.on:after{left:22px}.toggle.off:after{left:2px}.profile-banner{height:110px;background:var(--text);position:relative;flex-shrink:0}.profile-avatar-abs{position:absolute;bottom:-38px;left:20px}.profile-avatar{width:76px;height:76px;border-radius:100px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;color:var(--text);border:3px solid #fff;box-shadow:var(--shadow-md)}.profile-info{background:var(--surface);padding:48px 20px 16px;border-bottom:1px solid var(--border);margin-bottom:14px}.profile-name{font-size:22px;font-weight:800;color:var(--text);letter-spacing:-.5px}.profile-handle{font-size:13px;color:var(--text-2);margin-top:2px}.profile-bio{font-size:14px;color:var(--text-2);margin-top:8px;line-height:1.5}.edit-btn{border:1.5px solid var(--border);border-radius:100px;padding:8px 22px;font-size:13px;color:var(--text);font-weight:600;cursor:pointer;background:#fff;font-family:inherit}.signout-btn{background:#fff;border:1.5px solid var(--border);border-radius:12px;padding:15px;text-align:center;color:var(--text-2);font-weight:500;cursor:pointer;font-size:14px;font-family:inherit;width:100%;margin-bottom:8px}.feed-avatar{width:42px;height:42px;border-radius:100px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:#fff;flex-shrink:0}.feed-user{font-weight:700;color:var(--text);font-size:14px}.feed-action{font-size:13px;color:var(--text-2)}.feed-book{color:var(--primary);font-size:12px;margin-top:3px;font-weight:600}.feed-time{color:var(--text-3);font-size:11px;margin-top:3px}.reaction-btn{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--text-2);cursor:pointer;background:none;border:none;font-family:inherit;padding:0}.author-card{display:flex;align-items:flex-start;gap:12px}.author-avatar{width:50px;height:50px;border-radius:100px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:#fff;flex-shrink:0}.author-name{font-size:15px;font-weight:700;color:var(--text);letter-spacing:-.2px}.author-bio{font-size:12px;color:var(--text-2);margin-top:2px;line-height:1.4}.author-followers{font-size:11px;color:var(--text-3);margin-top:4px;font-weight:500}.follow-btn{border:1.5px solid var(--border);border-radius:100px;padding:7px 16px;font-size:12px;color:var(--text);font-weight:600;cursor:pointer;align-self:center;flex-shrink:0;font-family:inherit;background:#fff}.follow-btn.following{background:var(--text);color:#fff;border-color:var(--text)}.join-btn{background:var(--text);color:#fff;border-radius:100px;padding:8px 18px;font-size:12px;font-weight:600;cursor:pointer;border:none;font-family:inherit}.join-btn.joined{background:var(--success)}.condition-badge{display:inline-flex;background:#ecfdf5;color:#059669;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:600}.price-tag{font-size:17px;font-weight:800;color:var(--text);letter-spacing:-.3px;white-space:nowrap}.progress-wrap{height:4px;background:#f3f4f6;border-radius:100px;overflow:hidden}.progress-fill{height:100%;background:var(--text);border-radius:100px}.progress-wrap-light{height:4px;background:#ffffff4d;border-radius:100px;overflow:hidden}.progress-fill-light{height:100%;background:#fff;border-radius:100px}.activity-bar-row{display:flex;align-items:flex-end;gap:5px;height:40px}.activity-bar{flex:1;border-radius:4px 4px 0 0;min-height:4px;background:var(--border)}.activity-bar.active{background:var(--text)}.activity-labels{display:flex;gap:5px;margin-top:6px}.activity-label{flex:1;text-align:center;font-size:9px;color:var(--text-3);font-weight:500}.menu-icon-wrap{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.purple{background:#f3f4f6}.blue{background:#f0f9ff}.green{background:#f0fdf4}.amber{background:#fffbeb}
