* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, Arial, sans-serif; background: #0b0f17; color: #e9eefc; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #1a2440; position: sticky; top: 0; background: #0b0f17; }
.brand { font-weight: 800; letter-spacing: 0.2px; }
.room { display: flex; gap: 10px; align-items: center; }
button { cursor: pointer; border: 1px solid #2a3a66; background: #111a2e; color: #e9eefc; padding: 10px 12px; border-radius: 10px; }
button:hover { filter: brightness(1.08); }

main { padding: 18px; }
.hidden { display: none !important; }

.join h1 { margin: 10px 0 14px; font-size: 28px; }
.card { max-width: 520px; background: #0f1627; border: 1px solid #1a2440; border-radius: 16px; padding: 16px; }
label { display: block; margin-top: 10px; margin-bottom: 6px; color: #b8c6f5; }
input { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid #1a2440; background: #0b1020; color: #e9eefc; }
.row { display: flex; gap: 10px; margin-top: 12px; }
.hint { color: #b8c6f5; font-size: 13px; margin-top: 10px; }

.toast { margin-top: 12px; opacity: 0; transition: opacity .2s; color: #b8c6f5; }
.toast.show { opacity: 1; }

.presence { height: 22px; color: #9bd3a5; margin: 6px 0 10px; }

.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.column { background: #0f1627; border: 1px solid #1a2440; border-radius: 16px; padding: 12px; min-height: 70vh; }
.columnHeader { display: flex; justify-content: space-between; align-items: center; }
.column h2 { margin: 6px 0 10px; font-size: 18px; }

.addNoteForm { display: flex; gap: 8px; margin-bottom: 12px; }
.noteInput { flex: 1; }

.noteList { display: flex; flex-direction: column; gap: 10px; }
.note { background: #111a2e; border: 1px solid #23335e; border-radius: 14px; padding: 10px; }
.noteText { white-space: pre-wrap; }
.noteMeta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12px; color: #b8c6f5; }
.noteActions { display: flex; gap: 8px; margin-top: 8px; }
.noteActions button { padding: 8px 10px; border-radius: 10px; }
.noteText {
    font-size: 14px;
  }
  
  .noteText:has(+ .noteMeta) {
    min-height: 24px;
  }
  .note .noteText {
    opacity: 0.95;
  }
  
  .note .noteText:contains("🔒") {
    opacity: 0.6;
  }