:root { --bg:#0b1020; --fg:#f3f5f7; --muted:#b6c0cc; --card:#151a2c; --accent:#5da7ff; --danger:#ff6b6b; --ok:#7dffb3; }
* { box-sizing: border-box; }
body { margin:0; font:16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif; background:var(--bg); color:var(--fg); }
.container { max-width:1100px; margin:0 auto; padding:16px; }
.header { display:flex; justify-content:space-between; align-items:center; }
.header .brand { color:var(--fg); text-decoration:none; font-weight:700; }
.header nav a { color:var(--muted); margin-left:12px; text-decoration:none; }
.card { background:var(--card); padding:16px; border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.25); }


.btn { display:inline-block; background:var(--accent); color:#001; padding:10px 14px; border-radius:12px; text-decoration:none; border:none; cursor:pointer; font-weight:600; }
.btn.secondary { background:#2c3559; color:var(--fg); }
.btn.small { padding:6px 10px; border-radius:10px; font-size:14px; }
.btn.danger { background:var(--danger); color:#210; }
.table { width:100%; border-collapse: collapse; margin-top:8px; }
.table th, .table td { text-align:left; padding:8px; border-bottom:1px solid #263155; }
.flash { background:#233056; padding:8px 12px; border-radius:10px; }


.retro-header { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:12px; }
.code { color:var(--muted); }
.timer { text-align:right; }
.timer-controls { display:flex; gap:8px; justify-content:flex-end; margin-top:4px; }
.timer-controls input { width:80px; padding:6px; border-radius:10px; border:1px solid #2e3a66; background:#0e1430; color:var(--fg); }
.info.creator { margin:8px 0 16px; color:#a8ffd8; }


.columns { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:12px; }
.column { background:var(--card); border:1px solid #232b49; border-radius:16px; padding:12px; }
.column-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.add-card { display:flex; gap:8px; margin-bottom:8px; }
.add-card input { flex:1; padding:10px; border-radius:12px; border:1px solid #2e3a66; background:#0e1430; color:var(--fg); }
.cards { display:flex; flex-direction:column; gap:8px; }
.card-item { background:#0f1736; border:1px solid #263155; border-radius:12px; padding:10px; }
.card-item .actions { display:flex; justify-content:space-between; align-items:center; margin-top:8px; }
.card-item .text { white-space:pre-wrap; }
.card-item .votes { display:flex; align-items:center; gap:8px; }
.card-item .vote { background:#24305a; color:var(--fg); border:none; border-radius:8px; padding:4px 10px; cursor:pointer; }
.card-item .vote.down { background:#3a254a; }
.card-item .score { min-width:24px; text-align:center; font-weight:700; }
.footer-controls { margin-top:16px; display:flex; gap:8px; }
