/* style.css */
:root {
  --bg: #0b1120; --card: #111827; --text: #e5e7eb; --sub: #9ca3af;
  --border: #1f2937; --accent: #06b6d4; --danger: #ef4444; --warn: #f59e0b; --success: #10b981;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; min-height: 100vh; display: flex; justify-content: center; padding: 1.5rem; }
#app { width: 100%; max-width: 800px; display: flex; flex-direction: column; gap: 1.25rem; }
.header h1 { font-size: clamp(1.5rem, 4vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.subtitle { color: var(--sub); font-size: 0.95rem; margin-top: 0.25rem; }
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.chip { background: var(--card); color: var(--sub); border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; touch-action: manipulation; }
.chip:hover { border-color: var(--sub); color: var(--text); }
.chip.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.item-list { display: flex; flex-direction: column; gap: 0.75rem; }
.item-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; touch-action: manipulation; }
.item-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
.item-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.item-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.5rem; }
.item-title { font-size: 1rem; font-weight: 600; line-height: 1.4; flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; flex-shrink: 0; animation: pulse 2s infinite; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.item-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--sub); }
.owner { display: flex; align-items: center; gap: 0.25rem; }
.priority { opacity: 0.85; }
.overlay { position: fixed; inset: 0; background: rgba(11, 17, 32, 0.85); backdrop-filter: blur(6px); z-index: 50; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 500; letter-spacing: 0.02em; }
.hidden { display: none !important; }
.paused * { animation-play-state: paused !important; transition-duration: 0s !important; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@media (max-width: 480px) { .item-header { flex-direction: column; gap: 0.5rem; } .badge { align-self: flex-start; } }
