:root {
  --bg1: 20,22,28; 
  --bg2: 10,12,16; 
  --accent: 90,140,255; 
  --muted: 200,200,210; 
  --radius: 16px;
}

/* Komplett verstecke Standard-Cursor */
* {
  cursor: none !important;
}

html, body {
  height: 100%; 
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: white;
  background: linear-gradient(180deg, rgb(var(--bg1)) 0%, rgb(var(--bg2)) 100%);
  display: flex; 
  align-items: center; 
  justify-content: center;
  overflow: hidden;
}

canvas.bg-lines {
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100vw; 
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.app {
  width: 95%; 
  max-width: 1100px; 
  height: 95%;
  display: grid; 
  grid-template-columns: 1fr 2fr; 
  gap: 20px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius);
  overflow: hidden; 
  position: relative; 
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.left-panel {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  overflow: auto;
  border-radius: var(--radius);
  text-align: center;
}

.avatar {
  width: 110px; 
  height: 110px;
  border-radius: 50%;
  background: #222;
  display: grid; 
  place-items: center;
  font-size: 36px; 
  font-weight: 700;
  transition: transform 0.3s ease;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}

.avatar:hover {
  transform: scale(1.1) rotate(3deg);
}

h1 {
  margin: 0; 
  font-size: 26px; 
  font-weight: 600; 
  font-family: 'Poppins', sans-serif;
}

h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 600;
}

.sub {
  width: 100%; 
  font-style: italic; 
  font-weight: 400;
  margin-top: 3px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.nav {
  display: flex; 
  gap: 15px; 
  margin-top: 15px; 
  flex-wrap: wrap; 
  justify-content: center;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}

.nav button {
  background: rgba(255,255,255,0.08);
  border: 0;
  color: white;
  font-size: 14px;
  padding: 8px 15px;
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
  user-select: none;
  text-align: center;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.nav button.active, .nav button:hover {
  background: rgba(var(--accent), 0.4);
  transform: scale(1.05);
}

.nav button#login-tab-btn {
  display: none !important;
}

.right-panel {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: auto;
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  user-select: none;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.right-panel::-webkit-scrollbar {
  width: 8px;
}

.right-panel::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.right-panel::-webkit-scrollbar-thumb {
  background: rgba(var(--accent), 0.5);
  border-radius: 10px;
}

.right-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent), 0.7);
}

.tab {
  display: none;
  animation: fade 0.5s ease;
  text-align: center;
}

.tab.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(var(--accent), 0.8);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.02s ease-out;
  mix-blend-mode: screen;
  z-index: 9999;
  box-shadow: 0 0 12px rgba(var(--accent), 0.8), 0 0 20px rgba(var(--accent), 0.5);
  user-select: none;
  display: block;
}

/* Highlight */
.highlight {
  color: rgba(var(--accent), 1);
  font-weight: 600;
  position: relative;
}

/* Entry Styles */
.entry {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 15px 15px 50px 15px;
  user-select: none;
  font-family: 'Poppins', sans-serif;
  position: relative;
  transition: background 0.3s ease, transform 0.2s ease;
  overflow: hidden;
}

.entry:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.entry h3 {
  margin: 0;
  user-select: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  padding-right: 20px;
}

.entry h3::after {
  content: '▼';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 12px;
  transition: transform 0.4s ease;
  color: rgba(var(--accent), 0.8);
}

.entry.expanded h3::after {
  transform: translateY(-50%) rotate(0deg);
}

.entry h3:hover {
  color: rgba(var(--accent), 1);
}

.entry p {
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.4s ease, 
              margin-top 0.4s ease,
              padding-top 0.4s ease;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.entry.expanded p {
  max-height: 2000px;
  opacity: 1;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.entry .admin-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

.entry .admin-controls button {
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: rgb(var(--accent));
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 5px 8px;
  border-radius: 6px;
}

.entry .admin-controls button:hover {
  transform: scale(1.15);
  background: rgba(0, 0, 0, 0.5);
}

.entry .admin-controls button.delete-btn {
  color: #ff4c4c;
}

.entry .copy-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: rgb(var(--accent));
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  min-width: 40px;
  min-height: 40px;
}

.entry.expanded .copy-btn {
  opacity: 1;
  pointer-events: auto;
}

.entry .copy-btn:hover {
  transform: scale(1.15);
  background: rgba(0, 0, 0, 0.5);
}

.entry .copy-btn.copied {
  color: #4caf50;
  background: rgba(76, 175, 80, 0.2);
}

/* Admin Form */
#admin-entry-form {
  background: rgba(25,25,25,0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(var(--accent), 0.7);
  margin-bottom: 20px;
  display: none;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}

#admin-entry-form h3 {
  margin-top: 0;
  text-align: center;
  user-select: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 22px;
}

#admin-entry-form input[type="text"],
#admin-entry-form textarea,
#admin-entry-form select {
  width: calc(100% - 24px);
  background: #222;
  border-radius: 10px;
  border: none;
  color: white;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  margin-bottom: 5px;
  transition: border 0.3s;
  user-select: text;
}

#admin-entry-form input[type="text"]:focus,
#admin-entry-form textarea:focus,
#admin-entry-form select:focus {
  outline: 2px solid rgba(var(--accent), 0.5);
}

#admin-entry-form input[type="text"].error,
#admin-entry-form textarea.error,
#admin-entry-form select.error {
  border: 2px solid #ff4c4c;
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.form-row label {
  margin-left: 10px;
  user-select: none;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  vertical-align: middle;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 22px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(18px);
}

/* Buttons */
#new-entry-btn {
  display: block;
  margin: 0 auto 15px auto;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 15px;
  background: rgba(var(--accent), 0.8);
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
  user-select: none;
  font-family: 'Poppins', sans-serif;
  color: white;
}

#new-entry-btn:hover {
  background: rgba(var(--accent), 1);
  transform: scale(1.05);
}

#save-entry, #cancel-entry, #sort-summary, #sort-individual {
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  color: white;
  margin-right: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

#save-entry {
  background: rgba(var(--accent), 0.8);
}

#save-entry:hover {
  background: rgba(var(--accent), 1);
  transform: scale(1.05);
}

#cancel-entry {
  background: #aaa;
}

#cancel-entry:hover {
  background: #888;
  transform: scale(1.05);
}

#sort-buttons {
  margin-bottom: 10px;
  display: none;
  justify-content: center;
  gap: 10px;
}

#sort-summary, #sort-individual {
  background: rgba(60,60,60,0.5);
}

#sort-summary.active, #sort-individual.active {
  background: rgba(var(--accent), 0.9);
}

/* Login Form */
.login-form {
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}

.login-form input {
  width: 80%;
  padding: 10px;
  margin: 10px auto;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  background: #222;
  color: white;
  text-align: center;
  display: block;
  transition: background-color 0.3s ease;
  user-select: text;
}

.login-form input:hover, .login-form input:focus {
  background: #333;
  outline: 2px solid rgba(var(--accent), 0.5);
}

.login-form button {
  margin: 15px auto 0 auto;
  background: #222;
  color: white;
  border: none;
  padding: 8px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  display: block;
  transition: transform 0.2s ease, background-color 0.2s ease;
  user-select: none;
  font-family: 'Poppins', sans-serif;
}

.login-form button:hover:not(.logout) {
  background: #444;
  transform: scale(1.1);
}

.login-form button.error {
  background: #ff4c4c !important;
  color: white;
  transform: scale(1);
}

.login-form button.success {
  background: #4caf50 !important;
  color: white;
  transform: scale(1);
}

/* User Menu */
#user-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  user-select: none;
  color: white;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#login-btn-top {
  background: #222;
  border: none;
  border-radius: 12px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  transition: background-color 0.3s ease, transform 0.3s ease;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#login-btn-top:hover {
  background: #444;
  transform: scale(1.05) translateY(-3px);
}

#profile-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  user-select: none;
  position: relative;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#profile-circle:hover {
  transform: scale(1.07) translateY(-3px);
  box-shadow: 0 0 15px rgba(var(--accent), 0.85);
}

#profile-circle:active {
  transform: scale(0.95) translateY(0);
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutDropdown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

#profile-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: rgba(40, 40, 40, 0.85);
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  display: none;
  min-width: 180px;
  color: white;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  z-index: 2000;
  user-select: none;
}

#profile-dropdown.visible {
  display: block;
  animation: fadeInDropdown 0.25s ease forwards;
}

#profile-dropdown.fade-out {
  animation: fadeOutDropdown 0.25s ease forwards;
}

#profile-dropdown p {
  margin: 0 0 8px;
  font-weight: 600;
}

#logout-btn-dropdown {
  background: #ff4c4c;
  border: none;
  border-radius: 10px;
  padding: 6px 16px;
  color: white;
  font-weight: 600;
  width: auto;
  min-width: 80px;
  margin: 0 auto;
  display: block;
  user-select: none;
}

#logout-btn-dropdown:hover {
  background: #e24343;
}

/* Confirmation Modal */
.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  animation: fadeIn 0.2s ease;
}

.confirm-modal-overlay.visible {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.confirm-modal {
  background: rgba(30, 30, 35, 0.98);
  border-radius: 16px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  text-align: center;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.confirm-modal h3 {
  margin: 0 0 15px 0;
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.confirm-modal p {
  margin: 0 0 25px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.confirm-modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.confirm-modal-buttons button {
  padding: 10px 25px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.confirm-modal-buttons .confirm-yes {
  background: #ff4c4c;
  color: white;
}

.confirm-modal-buttons .confirm-yes:hover {
  background: #e24343;
  transform: scale(1.05);
}

.confirm-modal-buttons .confirm-no {
  background: #666;
  color: white;
}

.confirm-modal-buttons .confirm-no:hover {
  background: #555;
  transform: scale(1.05);
}

/* Discord Loading Overlay */
.discord-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9500;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
}

.discord-loading-overlay.visible {
  display: flex;
}

.discord-loading-content {
  text-align: center;
  animation: slideUp 0.4s ease;
  min-width: 350px;
}

.hourglass-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px auto;
}

.hourglass {
  font-size: 80px;
  animation: rotateHourglass 2s linear infinite;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(var(--accent), 0.6));
}

@keyframes rotateHourglass {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success Checkmark Animation */
.success-checkmark {
  font-size: 100px;
  color: #4caf50;
  display: none;
  filter: drop-shadow(0 0 30px rgba(76, 175, 80, 0.8));
  animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-checkmark.visible {
  display: inline-block;
}

@keyframes successPop {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Error X Animation */
.error-x {
  font-size: 100px;
  color: #ff4c4c;
  display: none;
  filter: drop-shadow(0 0 30px rgba(255, 76, 76, 0.8));
  animation: errorShake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.error-x.visible {
  display: inline-block;
}

@keyframes errorShake {
  0%, 100% {
    transform: translateX(0) scale(1);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-10px) scale(1.1);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(10px) scale(1.1);
  }
}

.discord-loading-text {
  color: white;
  font-size: 24px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
  animation: pulse 2s ease-in-out infinite;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-loading-subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
  min-height: 24px;
}

.discord-loading-dots {
  display: inline-block;
  width: 20px;
  text-align: left;
}

.discord-loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% {
    content: '';
  }
  40% {
    content: '.';
  }
  60% {
    content: '..';
  }
  80%, 100% {
    content: '...';
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.discord-loading-progress {
  margin: 25px auto 0 auto;
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.discord-loading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(var(--accent), 0.8) 0%, 
    rgba(var(--accent), 1) 50%, 
    rgba(var(--accent), 0.8) 100%);
  border-radius: 10px;
  animation: progressSlide 2s ease-in-out infinite;
  width: 50%;
}

@keyframes progressSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(300%);
  }
}

.discord-info-badge {
  display: inline-block;
  background: rgba(var(--accent), 0.2);
  color: rgba(var(--accent), 1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
  border: 1px solid rgba(var(--accent), 0.4);
  transition: all 0.3s ease;
}

/* Copyright */
.copyright {
  position: fixed;
  bottom: 15px;
  right: 15px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 400;
  z-index: 1000;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;
}

.copyright:hover {
  color: rgba(var(--accent), 0.8);
}

.copyright::before {
  content: '©';
  font-size: 14px;
  font-weight: 600;
}

/* Responsive für Mobile */
@media (max-width: 768px) {
  /* Cursor verstecken auf Mobile */
  .cursor {
    display: none !important;
  }
  
  * {
    cursor: auto !important;
  }
  
  .app {
    width: 98%;
    height: 98vh;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .left-panel {
    flex-direction: row;
    justify-content: center;
    padding: 10px;
    gap: 10px;
  }
  
  .avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  h1 {
    font-size: 20px;
  }
  
  .sub {
    font-size: 12px;
  }
  
  .nav {
    margin-top: 0;
    justify-content: center;
    gap: 8px;
  }
  
  .nav button {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  #sort-buttons {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  #sort-summary, #sort-individual {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .right-panel {
    padding: 15px;
    height: auto;
    max-height: 70vh;
    overflow-y: auto;
  }
  
  h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .tab p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .entry {
    padding: 12px 12px 45px 12px;
  }
  
  .entry h3 {
    font-size: 16px;
    padding-right: 25px;
  }
  
  .entry p {
    font-size: 14px;
  }
  
  .entry .copy-btn {
    font-size: 18px;
    padding: 6px 10px;
    bottom: 8px;
    right: 8px;
    min-width: 36px;
    min-height: 36px;
  }
  
  .entry .admin-controls {
    top: 8px;
    right: 8px;
  }
  
  .entry .admin-controls button {
    font-size: 14px;
    padding: 4px 6px;
  }
  
  #admin-entry-form {
    padding: 15px;
  }
  
  #admin-entry-form h3 {
    font-size: 18px;
  }
  
  #admin-entry-form input[type="text"],
  #admin-entry-form textarea,
  #admin-entry-form select {
    font-size: 14px;
  }
  
  #save-entry, #cancel-entry {
    padding: 8px 15px;
    font-size: 14px;
  }
  
  #new-entry-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  #user-menu {
    top: 10px;
    right: 10px;
  }
  
  #profile-circle, #login-btn-top {
    width: 36px;
    height: 36px;
    font-size: 14px;
    padding: 6px 12px;
  }
  
  #profile-dropdown {
    min-width: 160px;
    font-size: 12px;
    padding: 10px 15px;
  }
  
  #logout-btn-dropdown {
    padding: 5px 12px;
    min-width: 70px;
    font-size: 12px;
  }
  
  .confirm-modal {
    padding: 20px;
    max-width: 90%;
  }
  
  .confirm-modal h3 {
    font-size: 18px;
  }
  
  .confirm-modal p {
    font-size: 14px;
  }
  
  .confirm-modal-buttons button {
    padding: 8px 20px;
    font-size: 14px;
  }
  
  .copyright {
    bottom: 10px;
    right: 10px;
    font-size: 10px;
  }
  
  .copyright::before {
    font-size: 12px;
  }
  
  .login-form input {
    font-size: 14px;
    width: 85%;
  }
  
  .login-form button {
    font-size: 14px;
    padding: 8px 24px;
  }
  
  .discord-loading-content {
    min-width: 280px;
  }
  
  .hourglass {
    font-size: 60px;
  }
  
  .success-checkmark,
  .error-x {
    font-size: 80px;
  }
  
  .discord-loading-text {
    font-size: 20px;
  }
  
  .discord-loading-subtext {
    font-size: 14px;
  }
  
  .discord-loading-progress {
    width: 250px;
  }
  
  .discord-info-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Touch-Support für Mobile */
@media (hover: none) and (pointer: coarse) {
  .entry:active {
    background: rgba(255,255,255,0.15);
  }
  
  .nav button:active {
    transform: scale(0.95);
  }
  
  #new-entry-btn:active,
  #save-entry:active,
  #cancel-entry:active {
    transform: scale(0.95);
  }
}
