* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f0e8; color: #333; max-width: 480px; margin: 0 auto; min-height: 100vh; }
.page { display: none; min-height: 100vh; padding-bottom: 70px; }
.page.active { display: block; }
.tab-content { display: none; padding: 16px; }
.tab-content.active { display: block; }
.login-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 20px; }
.login-container h1 { font-size: 2em; margin-bottom: 8px; }
.login-container p { color: #888; margin-bottom: 30px; }
.login-form { width: 100%; max-width: 300px; }
.login-form input { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; }
.login-form button { width: 100%; padding: 12px; background: #333; color: white; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; }
.header-card { background: #2d2d2d; color: white; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.countdown-row { display: flex; justify-content: space-around; margin-bottom: 12px; }
.countdown-item { text-align: center; }
.countdown-label { font-size: 11px; color: #aaa; }
.countdown-value { font-size: 14px; font-weight: bold; color: #ffd700; }
.work-progress { display: flex; justify-content: space-between; font-size: 12px; color: #ccc; }
.price-card { background: white; border-radius: 12px; padding: 20px; margin-bottom: 12px; }
.earning-card { background: #e8f5e9; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.earning-card a { color: #4caf50; text-decoration: none; font-size: 14px; }
.card-label { font-size: 12px; color: #888; margin-bottom: 4px; }
.price-main { font-size: 42px; font-weight: bold; color: #333; }
.price-main small { font-size: 16px; color: #888; }
.price-sub { font-size: 12px; color: #888; margin-top: 4px; }
.earning-main { font-size: 36px; font-weight: bold; color: #4caf50; }
.earning-sub { font-size: 12px; color: #666; margin-top: 4px; }
.timer-container { display: flex; flex-direction: column; align-items: center; padding-top: 40px; }
.timer-display { font-size: 64px; font-weight: bold; color: #333; font-variant-numeric: tabular-nums; }
.timer-earning { font-size: 18px; color: #4caf50; margin: 20px 0; }
.timer-buttons { display: flex; gap: 12px; margin-top: 20px; }
.btn-start, .btn-pause, .btn-stop { padding: 14px 32px; border: none; border-radius: 12px; font-size: 16px; cursor: pointer; font-weight: bold; }
.btn-start { background: #4caf50; color: white; }
.btn-pause { background: #ff9800; color: white; }
.btn-stop { background: #f44336; color: white; }
.convert-form { background: white; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.convert-form input { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; }
.convert-form button { width: 100%; padding: 12px; background: #333; color: white; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; }
.section-title { font-size: 18px; font-weight: bold; margin-bottom: 4px; }
.section-subtitle { font-size: 13px; color: #888; margin-bottom: 16px; }
.wishlist-item { background: white; border-radius: 12px; padding: 16px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.wishlist-item .item-info { flex: 1; }
.wishlist-item .item-name { font-weight: bold; font-size: 16px; }
.wishlist-item .item-price { color: #888; font-size: 13px; }
.wishlist-item .item-time { color: #4caf50; font-size: 14px; font-weight: bold; }
.wishlist-item .item-days { color: #888; font-size: 12px; }
.wishlist-item .item-actions { display: flex; gap: 8px; }
.btn-bought { background: #4caf50; color: white; border: none; border-radius: 6px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.btn-delete { background: none; border: none; font-size: 18px; cursor: pointer; color: #999; }
.settings-form { background: white; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.settings-form label { display: block; font-size: 12px; color: #888; margin-bottom: 4px; margin-top: 12px; }
.settings-form label:first-child { margin-top: 0; }
.settings-form input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; }
.settings-form button { width: 100%; padding: 12px; background: #333; color: white; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; margin-top: 16px; }
.bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: white; display: flex; justify-content: space-around; padding: 8px 0; border-top: 1px solid #eee; z-index: 100; }
.nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #999; font-size: 10px; cursor: pointer; padding: 4px 12px; }
.nav-item.active { color: #333; }
.nav-icon { font-size: 20px; margin-bottom: 2px; }
.summary-card { background: white; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.summary-card .label { font-size: 12px; color: #888; }
.summary-card .value { font-size: 24px; font-weight: bold; margin-top: 4px; }
.summary-card .sub { font-size: 12px; color: #888; }
