.section {
  margin-top: 12px;
  border-top: 1px solid #1e293b;
  padding-top: 8px;
}
.section h3 {
  margin: 4px 0 8px 0;
  font-size: 12px;
  color: #8ea0bf;
  font-weight: 600;
}
/* Základní styly z předchozího vývoje (zjednodušeně) */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0b1020;
  color: #e5e9f0;
  min-height: 100vh;
}
header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e293b;
}
h1 { font-size: 20px; margin: 0; }
main { padding: 8px 16px 40px; }
#search {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid #1e293b; background: #111a30; color: #e5e9f0; font-size: 16px; outline: none;
}
#search:focus { border-color: #2563eb; }
.count { font-size: 12px; color: #8ea0bf; margin: 10px 2px; }
.list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.card {
  display: flex; align-items: center; gap: 12px;
  background: #111a30; border: 1px solid #1e293b; border-radius: 14px; padding: 12px;
}
.card-emoji {
  width: 46px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: #1e293b; border-radius: 12px;
}
.card-body { min-width: 0; flex: 1; }
.card-name { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-url { font-size: 12px; color: #8ea0bf; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.open-btn { flex: none; margin-left: auto; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font-weight: 600; padding: 10px 14px; font-size: 14px; cursor: pointer; }
.open-btn:active { transform: scale(0.97); }
.delete-btn { flex: none; border: 0; background: transparent; color: #8ea0bf; font-size: 15px; padding: 8px 10px; cursor: pointer; }
.empty { text-align: center; color: #8ea0bf; padding: 60px 20px; font-size: 15px; }
.hidden { display: none !important; }
.modal {
  position: fixed; inset: 0; background: rgba(2, 6, 23, 0.8);
  display: flex; align-items: flex-end; justify-content: center; z-index: 20;
}
.modal form {
  width: 90%; background: #111a30; border: 1px solid #1e293b; border-bottom: 0;
  border-radius: 20px 20px 0 0; padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
@media (min-width: 600px) { .modal { width: 50%; } }
.modal h2 { margin: 0; font-size: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #8ea0bf; }
.field input, .field textarea {
  padding: 12px; border-radius: 10px; border: 1px solid #1e293b; background: #0b1020; color: #e5e9f0; font-size: 16px; outline: none; width: 100%; font-family: inherit;
}
.field input:focus, .field textarea:focus { border-color: #2563eb; }
.emoji-row { display: flex; flex-wrap: wrap; gap: 6px; }
.emoji-btn { width: 38px; height: 38px; font-size: 20px; border-radius: 10px; border: 1px solid #1e293b; background: #0b1020; cursor: pointer; }
.emoji-btn.active { border-color: #2563eb; background: #1e293b; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.btn { border: 0; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; background: #1e293b; color: #e5e9f0; cursor: pointer; }
.btn.primary { background: #2563eb; color: #fff; }
.section {
  margin-top: 12px;
  border-top: 1px solid #1e293b;
  padding-top: 8px;
}
.section h3 {
  margin: 4px 0 8px 0;
  font-size: 12px;
  color: #8ea0bf;
  font-weight: 600;
}
