:root {
  --bg: #FFF8F0;
  --card: #FFFFFF;
  --header-bg: #2D3142;
  --header-text: #FFF8F0;
  --header-muted: rgba(255,248,240,0.7);
  --text-primary: #1A1A2E;
  --text-secondary: #5C5F70;
  --text-muted: #A89B8E;
  --border: #F0E8DC;
  --border-strong: #E5D9C7;
  --accent-cal: #EF5B5B;
  --accent-cal-soft: #FCE5E5;
  --accent-cal-over: #C9302C;
  --accent-protein: #3CA897;
  --accent-protein-soft: #DFF1ED;
  --accent-protein-done: #2B8174;
  --accent-burn: #F4A261;
  --accent-burn-soft: #FDEDD9;
  --accent-burn-strong: #D9892D;
  --tag-why-bg: #FCE9D9;
  --tag-why-text: #9C5F2D;
  --tag-ctx-bg: #E0EAF1;
  --tag-ctx-text: #3F5A6E;
  --tag-workout-bg: #FCEBE6;
  --tag-workout-text: #C44833;
  --shadow-soft: 0 2px 12px rgba(45,49,66,0.06);
  --shadow-card: 0 1px 3px rgba(45,49,66,0.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text-primary); max-width: 480px; margin: 0 auto; min-height: 100vh; -webkit-font-smoothing: antialiased; }
header { background: var(--header-bg); color: var(--header-text); padding: 18px 20px 14px; position: sticky; top: 0; z-index: 10; }
header h1 { font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; letter-spacing: -0.2px; }
header h1 .brand { display: flex; align-items: center; gap: 8px; }
header .date { font-size: 12px; color: var(--header-muted); margin-top: 3px; font-weight: 500; }
.net-pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,248,240,0.16); color: var(--header-text); }
.net-pill.offline { background: var(--accent-cal); color: white; }
.net-pill.pending { background: var(--accent-burn); color: white; }

.card { background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-soft); margin: 14px 14px 0; }
.card h3 { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; font-weight: 600; letter-spacing: 0.2px; text-transform: uppercase; }

.summary-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.stat { display: flex; flex-direction: column; }
.stat-val { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.stat-val .unit { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-right: 2px; }
.stat-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.stat.cal .stat-val { color: var(--accent-cal); }
.stat.protein .stat-val { color: var(--accent-protein); }
.stat.burn .stat-val { color: var(--accent-burn-strong); }

.net-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 6px; border-top: 1px solid var(--border); }
.net-label { font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.net-val { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.net-val.over { color: var(--accent-cal-over); }
.net-val .goal { font-size: 12px; font-weight: 500; color: var(--text-muted); }

.progress-section { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.progress-item { display: flex; align-items: center; gap: 10px; }
.progress-label { font-size: 11px; color: var(--text-secondary); width: 56px; flex-shrink: 0; font-weight: 600; }
.progress-bar { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; transition: width 0.4s ease; }
.progress-fill.cal { background: var(--accent-cal); }
.progress-fill.cal.over { background: var(--accent-cal-over); }
.progress-fill.protein { background: var(--accent-protein); }
.progress-fill.protein.done { background: var(--accent-protein-done); }
.progress-val { font-size: 11px; color: var(--text-secondary); width: 38px; text-align: left; flex-shrink: 0; font-weight: 600; }

.good-day { background: linear-gradient(135deg, var(--accent-protein), var(--accent-protein-done)); color: white; border-radius: 14px; padding: 10px 14px; margin: 12px 14px 0; text-align: center; font-size: 13px; font-weight: 700; display: none; }
.good-day.show { display: block; }

.action-row { display: flex; gap: 8px; margin: 14px 14px 0; }
.action-btn { flex: 1; padding: 14px 12px; border-radius: 14px; border: none; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 5px; box-shadow: var(--shadow-card); transition: transform 0.1s; }
.action-btn:active { transform: scale(0.97); }
.action-btn.primary { background: var(--accent-cal); color: white; }
.action-btn.burn { background: var(--accent-burn); color: white; }
.action-btn.summary { background: var(--card); color: var(--text-secondary); border: 1.5px solid var(--border-strong); font-weight: 600; }

.section-header { display: flex; justify-content: space-between; align-items: baseline; padding: 0 18px 6px; margin-top: 18px; }
.section-header h2 { font-size: 13px; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.section-header .count { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.entries-list { padding: 0 14px; display: flex; flex-direction: column; gap: 8px; }
.entry { background: var(--card); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 10px; }
.entry-info { flex: 1; min-width: 0; }
.entry-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.entry-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; font-weight: 500; }
.entry-tags { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.tag { font-size: 10px; padding: 2px 7px; border-radius: 8px; font-weight: 600; }
.tag-why { background: var(--tag-why-bg); color: var(--tag-why-text); }
.tag-ctx { background: var(--tag-ctx-bg); color: var(--tag-ctx-text); }
.tag-workout { background: var(--tag-workout-bg); color: var(--tag-workout-text); }
.entry-val { font-size: 15px; font-weight: 700; color: var(--accent-cal); white-space: nowrap; }
.entry-val.burn { color: var(--accent-burn-strong); }
.entry-val .unit { font-size: 10px; font-weight: 500; color: var(--text-muted); }
.del-btn { background: none; border: none; font-size: 16px; color: var(--text-muted); cursor: pointer; padding: 4px 6px; }
.del-btn:active { color: var(--accent-cal); }
.empty { text-align: center; color: var(--text-muted); padding: 24px 20px; font-size: 13px; }

.weight-input-row { display: flex; gap: 8px; align-items: center; }
.weight-input-row input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--border-strong); border-radius: 12px; font-size: 16px; outline: none; font-family: inherit; background: var(--bg); }
.weight-input-row input:focus { border-color: var(--accent-cal); background: white; }
.btn-inline { background: var(--accent-cal); color: white; border: none; border-radius: 12px; padding: 11px 18px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.weight-history { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.weight-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); padding: 8px 0; border-bottom: 1px solid var(--border); }
.weight-row:last-child { border-bottom: none; }
.weight-val { font-weight: 700; color: var(--text-primary); }
.weight-diff.down { color: var(--accent-protein); font-weight: 600; }
.weight-diff.up { color: var(--accent-cal); font-weight: 600; }

.tabs { display: flex; background: var(--card); border-top: 1px solid var(--border); position: fixed; bottom: 0; width: 100%; max-width: 480px; z-index: 10; padding-bottom: env(safe-area-inset-bottom); }
.tab { flex: 1; padding: 11px 4px 9px; text-align: center; cursor: pointer; font-size: 10px; color: var(--text-muted); border: none; background: none; font-family: inherit; font-weight: 600; }
.tab.active { color: var(--accent-cal); }
.tab-icon { font-size: 20px; display: block; margin-bottom: 2px; }
.page { display: none; padding-bottom: 90px; }
.page.active { display: block; }

.history-day { background: var(--card); margin: 12px 14px 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.history-day-header { padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; border-bottom: 1px solid var(--border); }
.history-day-header .day-name { font-weight: 700; font-size: 14px; color: var(--text-primary); }
.history-day-header .day-stats { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; }
.history-day-header .day-cal { color: var(--accent-cal); }
.history-day-header .day-burn { color: var(--accent-burn-strong); }
.history-day-header .day-protein { color: var(--accent-protein); }
.history-meals { padding: 6px 0; }
.history-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 7px 16px; font-size: 13px; gap: 8px; }
.history-row .meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.history-row .val.cal { color: var(--accent-cal); font-weight: 600; white-space: nowrap; }
.history-row .val.burn { color: var(--accent-burn-strong); font-weight: 600; white-space: nowrap; }
.history-section-label { padding: 6px 16px 2px; font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }
.history-day-summary { padding: 9px 16px; background: var(--bg); font-size: 11px; color: var(--text-secondary); border-top: 1px solid var(--border); }

.btn-full { display: block; width: calc(100% - 28px); margin: 8px 14px; padding: 13px; border-radius: 13px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; border: none; }
.btn-full.cal { background: var(--card); color: var(--accent-cal); border: 2px solid var(--accent-cal); }
.btn-full.protein { background: var(--card); color: var(--accent-protein); border: 2px solid var(--accent-protein); }
.btn-full.primary { background: var(--accent-cal); color: white; }
.btn-full.burn { background: var(--accent-burn); color: white; }
.btn-full.info { background: var(--card); color: #4F6F8A; border: 2px solid #B8CDDC; }
.btn-full.secondary { background: var(--accent-burn-soft); color: var(--accent-burn-strong); }
.btn-full.danger { background: var(--card); color: var(--accent-cal-over); border: 1.5px solid #F0CCC9; }

.settings-input-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.settings-input-row label { font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.settings-input-row input { padding: 11px 13px; border: 1.5px solid var(--border-strong); border-radius: 11px; font-size: 16px; outline: none; font-family: inherit; background: var(--bg); }
.settings-input-row input:focus { border-color: var(--accent-cal); background: white; }

.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.insight-card { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.insight-card.full { grid-column: span 2; }
.insight-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px; }
.insight-val { font-size: 22px; font-weight: 800; color: var(--text-primary); line-height: 1.1; letter-spacing: -0.3px; }
.insight-val.cal { color: var(--accent-cal); }
.insight-val.protein { color: var(--accent-protein); }
.insight-val.burn { color: var(--accent-burn-strong); }
.insight-val.weight { color: var(--text-primary); }
.insight-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.insight-empty { color: var(--text-muted); font-size: 13px; }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(26,26,46,0.55); z-index: 100; align-items: flex-end; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal { background: var(--card); width: 100%; max-width: 480px; border-radius: 24px 24px 0 0; animation: slideUp 0.25s ease; max-height: 94vh; display: flex; flex-direction: column; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-header { padding: 18px 20px 0; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.modal-header h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.2px; }
.modal-close { background: none; border: none; font-size: 22px; color: var(--text-muted); cursor: pointer; padding: 4px 8px; }

.meal-type-row { display: flex; gap: 6px; padding: 14px 18px 0; flex-shrink: 0; }
.mtype-btn { flex: 1; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--bg); font-size: 11px; font-weight: 700; color: var(--text-muted); cursor: pointer; font-family: inherit; transition: all 0.15s; }
.mtype-btn .mtype-icon { font-size: 18px; display: block; margin-bottom: 2px; }
.mtype-btn.active { background: var(--accent-cal); border-color: var(--accent-cal); color: white; }
.mtype-btn.workout-active { background: var(--tag-workout-text); border-color: var(--tag-workout-text); color: white; }
.sub-tabs { display: flex; gap: 6px; padding: 10px 18px 0; flex-shrink: 0; }
.stab { flex: 1; padding: 7px 4px; border: 1.5px solid var(--border-strong); border-radius: 10px; background: var(--card); font-size: 12px; font-weight: 700; color: var(--text-muted); cursor: pointer; font-family: inherit; text-align: center; }
.stab.active { background: var(--accent-cal-soft); border-color: var(--accent-cal); color: var(--accent-cal); }
.modal-body { flex: 1; overflow-y: auto; padding: 12px 18px 0; }

.food-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.food-item { background: var(--bg); border-radius: 12px; padding: 10px 12px; border: 1.5px solid transparent; transition: all 0.12s; }
.food-item.checked { background: var(--accent-cal-soft); border-color: var(--accent-cal); }
.food-item-row { display: flex; align-items: center; gap: 9px; }
.checkbox { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--border-strong); display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; background: white; font-size: 13px; color: white; font-weight: 700; }
.food-item.checked .checkbox { background: var(--accent-cal); border-color: var(--accent-cal); }
.food-name { flex: 1; min-width: 0; }
.food-name-text { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.food-sub { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.food-item.checked .food-sub { color: var(--accent-cal); opacity: 0.8; }
.qty-controls { display: flex; align-items: center; gap: 3px; }
.qty-btn { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border-strong); background: white; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); flex-shrink: 0; font-family: inherit; }
.food-item.checked .qty-btn { border-color: var(--accent-cal); color: var(--accent-cal); }
.qty-val { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; color: var(--text-primary); }
.food-cal-display { font-size: 12px; font-weight: 700; color: var(--accent-cal); min-width: 50px; text-align: left; white-space: nowrap; }
.with-what-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border-strong); }
.ww-chip { padding: 4px 10px; border-radius: 16px; border: 1.5px solid var(--border-strong); background: white; font-size: 11px; color: var(--text-secondary); cursor: pointer; font-family: inherit; font-weight: 600; }
.ww-chip.sel { background: var(--accent-burn); border-color: var(--accent-burn); color: white; }
.search-bar { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 12px; padding: 10px 13px; margin-bottom: 10px; border: 1px solid var(--border); }
.search-bar input { flex: 1; border: none; background: none; font-size: 14px; outline: none; font-family: inherit; direction: rtl; color: var(--text-primary); }
.search-results { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.search-chip { background: var(--accent-protein-soft); border: 1px solid var(--accent-protein); color: var(--accent-protein-done); border-radius: 14px; padding: 5px 11px; font-size: 12px; cursor: pointer; white-space: nowrap; font-weight: 600; }
.divider { height: 1px; background: var(--border); margin: 12px 0; }
.section-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 7px; display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.chip { padding: 6px 11px; border-radius: 18px; font-size: 12px; cursor: pointer; border: 1.5px solid var(--border-strong); background: var(--card); color: var(--text-secondary); font-family: inherit; white-space: nowrap; font-weight: 600; }
.chip.sel-why { background: var(--tag-why-bg); border-color: var(--tag-why-text); color: var(--tag-why-text); }
.chip.sel-ctx { background: var(--tag-ctx-bg); border-color: var(--tag-ctx-text); color: var(--tag-ctx-text); }
.chip.sel-workout { background: var(--tag-workout-bg); border-color: var(--tag-workout-text); color: var(--tag-workout-text); }
.custom-food-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 11px; background: var(--card); border: 1.5px dashed var(--accent-cal); color: var(--accent-cal); border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; margin-bottom: 10px; }
.custom-food-form { background: var(--bg); border-radius: 12px; padding: 12px; margin-bottom: 12px; display: none; }
.custom-food-form.open { display: block; }
.cf-row { display: flex; gap: 8px; margin-bottom: 8px; }
.cf-row input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--border-strong); border-radius: 10px; font-size: 14px; outline: none; font-family: inherit; direction: rtl; background: white; }
.cf-row input:focus { border-color: var(--accent-cal); }
.cf-save { background: var(--accent-cal); color: white; border: none; border-radius: 10px; padding: 9px 14px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; white-space: nowrap; }
.save-btn { display: block; width: calc(100% - 36px); margin: 14px 18px; background: var(--accent-cal); color: white; border: none; border-radius: 14px; padding: 15px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; flex-shrink: 0; box-shadow: 0 4px 12px rgba(239,91,91,0.3); }
.save-btn.burn { background: var(--accent-burn); box-shadow: 0 4px 12px rgba(244,162,97,0.35); }
.save-btn:active { transform: scale(0.98); }
.save-btn:disabled { background: var(--border-strong); color: white; box-shadow: none; }

.workout-input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: 12px; font-size: 16px; outline: none; font-family: inherit; background: var(--bg); }
.workout-input:focus { border-color: var(--accent-burn); background: white; }

.ds-modal { background: var(--card); width: 100%; max-width: 480px; border-radius: 24px 24px 0 0; animation: slideUp 0.25s ease; padding: 22px 18px 30px; max-height: 92vh; overflow-y: auto; }
.ds-modal h2 { font-size: 18px; font-weight: 700; margin-bottom: 18px; letter-spacing: -0.2px; }
.ds-question { margin-bottom: 18px; }
.ds-question label { display: block; font-size: 12px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.3px; }
.ds-emoji-row { display: flex; gap: 6px; flex-wrap: wrap; }
.ds-emoji-btn { padding: 8px 12px; border-radius: 11px; border: 1.5px solid var(--border-strong); background: var(--card); font-size: 13px; cursor: pointer; font-family: inherit; transition: all 0.15s; color: var(--text-secondary); font-weight: 600; }
.ds-emoji-btn.sel { border-color: var(--accent-cal); background: var(--accent-cal-soft); color: var(--accent-cal-over); }
.ds-sleep-row { display: flex; align-items: center; gap: 10px; }
.ds-sleep-row input { width: 90px; padding: 10px 12px; border: 1.5px solid var(--border-strong); border-radius: 10px; font-size: 16px; outline: none; font-family: inherit; text-align: center; background: var(--bg); }
.ds-sleep-row input:focus { border-color: var(--accent-cal); background: white; }
.ds-save-btn { width: 100%; background: var(--accent-cal); color: white; border: none; border-radius: 14px; padding: 14px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; margin-top: 12px; box-shadow: 0 4px 12px rgba(239,91,91,0.3); }

.login-overlay { display: none; position: fixed; inset: 0; background: var(--header-bg); z-index: 200; align-items: center; justify-content: center; padding: 24px; }
.login-overlay.open { display: flex; }
.login-box { background: var(--card); border-radius: 22px; padding: 32px 24px; width: 100%; max-width: 360px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-box h2 { font-size: 22px; margin-bottom: 6px; color: var(--text-primary); }
.login-box p { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.login-box input { width: 100%; padding: 14px; border: 1.5px solid var(--border-strong); border-radius: 12px; font-size: 18px; text-align: center; letter-spacing: 4px; font-family: inherit; outline: none; background: var(--bg); }
.login-box input:focus { border-color: var(--accent-cal); background: white; }
.login-box button { width: 100%; background: var(--accent-cal); color: white; border: none; border-radius: 12px; padding: 14px; font-size: 16px; font-weight: 700; margin-top: 12px; cursor: pointer; font-family: inherit; }
.login-box .err { color: var(--accent-cal-over); font-size: 13px; margin-top: 10px; min-height: 16px; font-weight: 600; }

.migrate-banner { background: var(--accent-burn-soft); color: var(--accent-burn-strong); border-radius: 14px; padding: 12px 14px; margin: 14px 14px 0; font-size: 13px; display: none; }
.migrate-banner.show { display: block; }
.migrate-banner .actions { display: flex; gap: 8px; margin-top: 8px; }
.migrate-banner button { flex: 1; padding: 8px; border-radius: 10px; border: none; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }
.migrate-banner .yes { background: var(--accent-burn-strong); color: white; }
.migrate-banner .no { background: white; color: var(--text-secondary); border: 1px solid var(--border-strong); }

.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--text-primary); color: white; padding: 11px 22px; border-radius: 22px; font-size: 14px; z-index: 250; opacity: 0; transition: opacity 0.3s; pointer-events: none; white-space: nowrap; max-width: 90%; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.2); font-weight: 600; }
.toast.show { opacity: 1; }
.toast.err { background: var(--accent-cal-over); }

.skeleton { background: linear-gradient(90deg, var(--border) 0%, #F5EBD8 50%, var(--border) 100%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; height: 22px; margin: 8px 0; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
