/* Hush Plugin CSS
 * fading-to-dust.de
 * Hier kannst du alle Anpassungen vornehmen.
 */

/* ── HUSH RESET & VARS ── */
#starlit-wrap *, #starlit-wrap *::before, #starlit-wrap *::after { box-sizing: border-box; }
#starlit-wrap {
  --h-rosa:   #f5dde0;
  --h-creme:  #faf5f0;
  --h-mauve:  #c9a8b8;
  --h-lila:   #806c9a;
  --h-dunkel: #3a2e40;
  --h-text:   #5a4a5a;
  --h-border: #e8d8e0;
  --h-glass:  rgba(250,245,240,0.88);
  --h-pink:   #c97a8a;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 20px;
  font-family: 'Jost', sans-serif;
  color: var(--h-text);
  background-color: #ffffff7d !important;
}

/* BANNER WRAP */
.h-banner-wrap {
  position: relative;
}

.h-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #3a2e40 0%, #806c9a 50%, #c9a8b8 100%);
  border: 1px solid var(--h-border);
  border-bottom: none;
}

/* AVATAR + BLASE — aus Banner herausragend */
.h-avatar-col {
  position: absolute;
  bottom: -115px;
  left: 40px;
}

.h-avatar-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid #fff;
  outline: 2px solid var(--h-mauve);
  overflow: hidden;
  background: var(--h-rosa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--h-mauve);
  font-size: 36px;
}

.h-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* GEDANKENBLASE */
.h-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: rgba(250,245,250,0.95);
  border: 1px solid var(--h-border);
  border-radius: 12px 12px 12px 4px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 300;
  color: var(--h-text);
  font-style: italic;
  width: max-content;
  max-width: 250px;
  line-height: 1.4;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(128,108,154,0.15);
  transition: border-color 0.2s;
  z-index: 10;
}

.h-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 14px;
  width: 8px;
  height: 8px;
  background: rgba(250,245,250,0.95);
  border-right: 1px solid var(--h-border);
  border-bottom: 1px solid var(--h-border);
  transform: rotate(45deg);
}

.h-bubble:hover { border-color: var(--h-lila); }

.h-bubble-editor {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 20;
  background: rgba(250,245,250,0.98);
  border: 1px solid var(--h-lila);
  border-radius: 12px 12px 12px 4px;
  padding: 8px 10px;
  box-shadow: 0 4px 20px rgba(128,108,154,0.2);
  width: 250px;
}

.h-bubble-editor textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-style: italic;
  font-size: 11px;
  color: var(--h-text);
  resize: none;
  outline: none;
  height: 48px;
  line-height: 1.4;
}

.h-bubble-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 4px; }

.h-bbl-btn {
  background: none;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 2px 6px;
}

.h-bbl-btn.save { color: var(--h-lila); }
.h-bbl-btn.cancel { color: var(--h-mauve); }

/* PROFIL-BEREICH — drei Spalten */
.h-profile-area {
  display: flex;
  align-items: center;
  padding: 70px 22px 16px 260px;
  background: #806c9a29;
  border: 1px solid var(--h-border);
  border-top: none;
  border-bottom: none;
  gap: 0;
}

/* Spalte 1: Name, Handle, Meta */
.h-profile-left {
  flex: 1;
  padding: 20px;
}

/* Handle (Hush-Username) groß lila oben */
.h-handle {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--h-lila);
  margin-top: 0;
}

/* Accountname klein darunter */
.h-username {
  font-family: 'DM Serif Display', serif;
  font-size: 13px;
  color: var(--h-dunkel);
  margin-top: 2px;
}

.h-meta {
  display: flex;
  gap: 6px;
  font-size: 11px;
  font-weight: 300;
  margin-top: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.h-meta span { display: flex; align-items: center; gap: 4px; }
.h-meta .sep { opacity: 0.35; }

/* Spalte 2: Stats + Bio */
.h-profile-right {
  flex: 2.4;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h-stats { display: flex; gap: 22px; }
.h-stat { display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; }
.h-stat:hover .h-stat-num { color: var(--h-lila); }
.h-stat-num { font-size: 17px; font-weight: 500; color: var(--h-dunkel); transition: color 0.2s; }
.h-stat-label { font-size: 8px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }

.h-bio {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--h-text);
  line-height: 1.5;
}

/* Spalte 3: Follow + Glocke */
.h-follow-group {
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.h-follow-btn {
  padding: 7px 20px;
  background: transparent;
  border: 1px solid var(--h-lila);
  color: var(--h-lila);
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 2px;
  white-space: nowrap;
}

.h-follow-btn:hover, .h-follow-btn.following { background: var(--h-lila); color: #fff; }

/* Glocke — nur Icon */
.h-bell-btn {
  all: unset;
  display: none;
  cursor: pointer;
  color: var(--h-mauve);
  font-size: 18px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.h-bell-btn.visible { display: flex; }
.h-bell-btn.active { color: var(--h-lila); }

/* NAV */
.h-nav {
  display: flex;
  align-items: center;
  background: #806c9a29;
  border: 1px solid var(--h-border);
  border-top: none;
  margin-bottom: 0;
}

.h-nav-logo {
  padding: 11px 20px 11px 18px;
  border-right: 1px solid var(--h-border);
  margin-right: 4px;
  line-height: 1;
  flex-shrink: 0;
}

.h-nav-logo-main { font-family: 'DM Serif Display', serif; font-size: 16px; color: var(--h-dunkel); letter-spacing: 1px; }

.h-nav-tab {
  padding: 13px 20px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--h-text);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'Jost', sans-serif;
}

.h-nav-tab.active { color: var(--h-lila); border-bottom-color: var(--h-lila); }
.h-nav-tab:hover:not(.active) { color: var(--h-dunkel); }

/* UPLOAD BAR */
.h-upload-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--h-glass);
  border-bottom: 1px solid var(--h-border);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: var(--h-mauve);
  cursor: pointer;
  transition: color 0.2s;
  font-family: 'Jost', sans-serif;
}

.h-upload-bar:hover { color: var(--h-lila); }

/* MAIN BODY — zwei Spalten */
.h-main-body {
  display: grid;
  grid-template-columns: 1fr 185px;
  border: 1px solid var(--h-border);
  border-top: none;
  /* background: #806c9a29; */
}

#hGridView { border-right: 1px solid var(--h-border); min-width: 0; }
#hPostView { border-right: 1px solid var(--h-border); min-width: 0; }

/* FOLLOWER SIDEBAR */
.h-follower-sidebar { display: flex; flex-direction: column; }

.h-fsidebar-tabs {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--h-border);
}

.h-fsidebar-tab {
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--h-mauve); background: none; border: none;
  cursor: pointer; font-family: 'Jost', sans-serif;
  padding: 0; transition: color 0.2s;
}
.h-fsidebar-tab.active { color: var(--h-lila); }
.h-fsidebar-sep { color: var(--h-border); font-size: 10px; }

.h-fsidebar-list { flex: 1; }

.h-fsidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 15px 14px 7px 14px;
 cursor: pointer;
}
.h-fsidebar-item:hover { background: #e8d5e899; }

.h-fsidebar-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--h-rosa); overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--h-mauve); font-size: 10px;
}
.h-fsidebar-av img { width: 100%; height: 100%; object-fit: cover; }
.h-fsidebar-name { font-size: 11px; font-weight: 500; color: var(--h-lila); display: block; line-height: 1.2; }
.h-fsidebar-handle { font-size: 9px; color: var(--h-text); font-weight: 300; }
.h-fsidebar-loading { padding: 16px 14px; font-size: 10px; color: var(--h-mauve); letter-spacing: 1px; }

.h-upload-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--h-rosa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--h-lila);
  flex-shrink: 0;
}

/* UPLOAD FORM */
.h-upload-form {
  display: none;
  background: var(--h-glass);
  border: 1px solid var(--h-border);
  padding: 24px 28px;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.h-upload-form.open { display: block; }

.h-form-title {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  color: var(--h-dunkel);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--h-border);
}

.h-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.h-form-group { display: flex; flex-direction: column; gap: 6px; }
.h-form-group.full { grid-column: 1 / -1; }

.h-form-label { font-size: 10px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--h-dunkel); }
.h-form-hint { font-size: 10px; font-weight: 300; color: var(--h-text); opacity: 0.7; margin-top: 2px; }

#starlit-wrap .h-form-input,
#starlit-wrap .h-form-textarea,
#starlit-wrap input.h-form-input,
#starlit-wrap textarea.h-form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--h-border);
  padding: 8px 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #000 !important;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

#starlit-wrap .h-form-input:focus,
#starlit-wrap .h-form-textarea:focus { border-bottom-color: var(--h-lila); }
#starlit-wrap .h-form-input::placeholder,
#starlit-wrap .h-form-textarea::placeholder { color: var(--h-mauve); opacity: 1; }
.h-form-textarea { resize: none; height: 70px; width: 100%; margin-bottom: 10px; }

.h-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--h-border);
}

.h-btn-primary {
  padding: 9px 24px;
  background: var(--h-lila);
  color: #000;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.h-btn-primary:hover { opacity: 0.85; }

.h-btn-secondary {
  padding: 9px 24px;
  background: transparent;
  color: var(--h-mauve);
  border: 1px solid var(--h-border);
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s;
}

.h-btn-secondary:hover { border-color: var(--h-mauve); }

/* GRID */
.h-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 5px;
  padding: 10px;
  max-height: calc(3 * 200px + 2 * 5px + 20px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--h-mauve) transparent;
}

.h-grid::-webkit-scrollbar { width: 4px; }
.h-grid::-webkit-scrollbar-track { background: transparent; }
.h-grid::-webkit-scrollbar-thumb { background: var(--h-mauve); border-radius: 2px; }

.h-grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--h-rosa);
}

.h-grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.h-grid-item:hover img { transform: scale(1.06); }

.h-grid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58,46,64,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.h-grid-item:hover .h-grid-overlay { opacity: 1; }
.h-overlay-stat { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; }

/* POST VIEW */
.h-post-card { background: var(--h-glass); border: 1px solid var(--h-border); }

.h-post-header { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--h-border); }

.h-post-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--h-mauve);
  overflow: hidden;
  background: var(--h-rosa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--h-mauve);
  font-size: 14px;
  flex-shrink: 0;
}

.h-post-avatar img { width: 100%; height: 100%; object-fit: cover; }
.h-post-meta { flex: 1; }
.h-post-username { font-size: 13px; font-weight: 500; color: var(--h-dunkel); }
.h-post-handle { color: var(--h-mauve); font-size: 11px; font-weight: 300; }
.h-post-datetime { font-size: 10px; font-weight: 300; color: var(--h-mauve); letter-spacing: 1px; margin-top: 1px; }

.h-post-options { position: relative; margin-left: auto; }

.h-options-btn { background: none; border: none; color: var(--h-mauve); cursor: pointer; padding: 4px 8px; font-size: 16px; transition: color 0.2s; }
.h-options-btn:hover { color: var(--h-lila); }

.h-options-dd {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--h-glass);
  border: 1px solid var(--h-border);
  backdrop-filter: blur(12px);
  min-width: 130px;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(58,46,64,0.1);
}

.h-options-dd.open { display: block; }

.h-option-item {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 300;
  color: var(--h-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  font-family: 'Jost', sans-serif;
  text-align: left;
}

.h-option-item:hover { background: var(--h-rosa); }
.h-option-item.danger { color: var(--h-pink); }

/* POST TOPBAR */
.h-post-topbar {
  width: 100%;
  height: 14px;
  background: linear-gradient(90deg, #ffdde0, #c9a8b2, #806c9a, #c9a8b2, #ffdde0);
  border-radius: 0;
}

.h-post-card { border-top: none; border-radius: 0; }

/* SPLIT: Bild links, Caption rechts */
.h-post-split { display: flex; align-items: stretch; border-bottom: 1px solid var(--h-border); }

.h-post-img-wrap { flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--h-dunkel); overflow: hidden; }
.h-post-img { width: 500px; height: 500px; object-fit: cover; display: block; max-width: 100%; }

/* Caption-Spalte rechts */
.h-post-caption-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px;
  border-left: 1px solid var(--h-border);
  background: #fff;
  gap: 14px;
  position: relative;
}

/* User-Info */
.h-cap-who { display: flex; align-items: center; gap: 10px; }
.h-cap-names { flex: 1; }
.h-cap-username { font-size: 14px; font-weight: 500; color: var(--h-lila); display: block; line-height: 1.2; }
.h-cap-handle { font-size: 11px; font-weight: 300; color: var(--h-text); display: block; margin-top: 2px; }
.h-cap-datetime { font-size: 10px; color: var(--h-mauve); font-weight: 300; text-align: right; flex-shrink: 0; line-height: 1.8; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; }
.h-cap-divider { height: 1px; background: var(--h-border); }

/* Options in Caption-Spalte */
.h-cap-options { position: absolute; top: 14px; right: 14px; }

/* Quote Block */
.h-cap-quote-block { display: flex; flex-direction: column; gap: 4px; width: 100%; }

.h-quote-top {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  color: var(--h-rosa);
  line-height: 1;
  user-select: none;
  display: block;
  width: 100%;
  text-align: left;
}

.h-quote-bottom {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  color: var(--h-rosa);
  line-height: 1;
  user-select: none;
  display: block;
  width: 100%;
  text-align: right;
}

.h-post-caption {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--h-dunkel);
  text-align: center;
  padding: 0 4px;
}

.h-caption-tag { color: var(--h-lila); font-weight: 400; font-style: normal; }

.h-post-actions { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--h-border); }

.h-action-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--h-mauve); font-family: 'Jost', sans-serif; font-weight: 300; transition: color 0.2s; padding: 0; }
.h-action-btn:hover { color: var(--h-lila); }
.h-action-btn.liked { color: var(--h-pink); }
.h-action-btn i { font-size: 17px; }

/* KOMMENTARE */
.h-comments { padding: 4px 20px 0; }

.h-comment { padding: 10px 0; border-bottom: 1px solid var(--h-border); display: flex; gap: 10px; font-size: 12px; font-weight: 300; line-height: 1.5; align-items: flex-start; }
.h-comment:last-child { border-bottom: none; }

.h-comment-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--h-rosa); border: 1px solid var(--h-border); display: flex; align-items: center; justify-content: center; color: var(--h-mauve); font-size: 10px; flex-shrink: 0; overflow: hidden; }
.h-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }

.h-comment-body { flex: 1; }
.h-comment-author { font-weight: 500; color: var(--h-lila); margin-right: 6px; font-size: 11px; letter-spacing: 0.5px; }
.h-comment-actions { display: flex; gap: 8px; margin-top: 4px; }

.h-comment-action {
  background: none;
  border: none;
  font-size: 10px;
  font-family: 'Jost', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--h-mauve);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.h-comment-action:hover { color: var(--h-lila); }
.h-comment-action.danger:hover { color: var(--h-pink); }

.h-comment-form { display: flex; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--h-border); align-items: center; position: relative; }

#starlit-wrap .h-comment-input,
#starlit-wrap input.h-comment-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--h-border);
  padding: 6px 0;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #000 !important;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
#starlit-wrap .h-comment-input:focus { border-bottom-color: var(--h-lila); }
#starlit-wrap .h-comment-input::placeholder { color: var(--h-mauve); opacity: 1; }

.h-comment-submit { background: none; border: none; color: var(--h-lila); cursor: pointer; font-size: 14px; padding: 4px; transition: color 0.2s; }
.h-comment-submit:hover { color: var(--h-dunkel); }

.h-tag-dd { display: none; position: absolute; bottom: 100%; left: 48px; background: var(--h-glass); border: 1px solid var(--h-border); backdrop-filter: blur(12px); min-width: 180px; z-index: 100; box-shadow: 0 -4px 20px rgba(58,46,64,0.1); }
.h-tag-dd.open { display: block; }
.h-tag-option { padding: 9px 14px; font-size: 12px; font-weight: 300; cursor: pointer; transition: background 0.15s; display: flex; align-items: center; gap: 8px; }
.h-tag-option:hover { background: var(--h-rosa); }
.h-tag-handle { color: var(--h-lila); font-size: 11px; }

/* FOLLOWER */
.h-follower-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.h-follower-card { background: var(--h-glass); border: 1px solid var(--h-border); padding: 20px 16px; text-align: center; transition: border-color 0.2s; cursor: pointer; }
.h-follower-card:hover { border-color: var(--h-mauve); }
.h-follower-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--h-rosa); border: 1px solid var(--h-mauve); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; color: var(--h-mauve); font-size: 20px; overflow: hidden; }
.h-follower-avatar img { width: 100%; height: 100%; object-fit: cover; }
.h-follower-name { font-family: 'DM Serif Display', serif; font-size: 14px; color: var(--h-dunkel); margin-bottom: 2px; }
.h-follower-handle { font-size: 10px; font-weight: 300; letter-spacing: 1.5px; text-transform: uppercase; color: var(--h-mauve); }

/* ZURÜCK — nur Pfeil, subtil in der Nav */
.h-back-btn {
  display: none;
  align-items: center;
  font-size: 12px;
  color: var(--h-mauve);
  cursor: pointer;
  background: none;
  border: none;
  border-right: 1px solid var(--h-border);
  font-family: 'Jost', sans-serif;
  padding: 13px 16px 13px 18px;
  margin-right: 4px;
  transition: color 0.2s;
}
.h-back-btn:hover { color: var(--h-lila) !important; background: none !important; }
.h-back-btn.visible { display: flex; }

/* EDIT OVERLAY */
.h-edit-overlay { display:none; position:fixed; inset:0; background:rgba(58,46,64,0.6); z-index:200; align-items:center; justify-content:center; backdrop-filter:blur(4px); }
.h-edit-overlay.open { display:flex; }
.h-edit-box {
  background: #faf5f0;
  border: 1px solid var(--h-border);
  box-shadow: 0 8px 40px rgba(58,46,64,0.35);
  padding: 32px;
  width: 460px;
  max-width: 95vw;
}
.h-edit-box .h-form-title { margin-bottom: 16px; }
#starlit-wrap .h-edit-box .h-form-input,
#starlit-wrap .h-edit-box .h-form-textarea,
#starlit-wrap .h-edit-box textarea {
  background: #fff !important;
  border: 1px solid var(--h-border) !important;
  border-radius: 2px !important;
  padding: 10px 12px !important;
  color: #000 !important;
  font-size: 13px;
  width: 100%;
}
#starlit-wrap .h-edit-box .h-form-textarea,
#starlit-wrap .h-edit-box textarea { height: 100px !important; resize: none !important; width: 100% !important; box-sizing: border-box !important; }
#starlit-wrap .h-edit-box .h-form-group { grid-column: 1 / -1; }

/* Edit-Box Buttons - global.css override */
#starlit-wrap .h-edit-overlay.open .h-edit-box .h-btn-primary,
#starlit-wrap .h-edit-overlay .h-edit-box button.h-btn-primary {
  color: #fff !important;
  background: var(--h-lila) !important;
  border-color: var(--h-lila) !important;
}
#starlit-wrap .h-edit-overlay.open .h-edit-box .h-btn-primary:hover,
#starlit-wrap .h-edit-overlay .h-edit-box button.h-btn-primary:hover {
  background: var(--h-lila) !important;
  color: #fff !important;
  border-color: var(--h-lila) !important;
  opacity: 0.85;
}
#starlit-wrap .h-edit-overlay.open .h-edit-box .h-btn-secondary:hover,
#starlit-wrap .h-edit-overlay .h-edit-box button.h-btn-secondary:hover {
  background: transparent !important;
  color: var(--h-mauve) !important;
  border-color: var(--h-mauve) !important;
}

/* GLOBAL.CSS HOVER OVERRIDE */
#starlit-wrap button:hover,
#starlit-wrap input[type="submit"]:hover,
div#starlit-wrap button:hover {
  background: unset;
  color: unset;
  border-color: unset;
}

/* Spezifische Hover-Styles pro Button */
#starlit-wrap .h-btn-primary:hover { background: var(--h-lila) !important; color: #fff !important; opacity: 0.85; }
#starlit-wrap .h-btn-secondary:hover { background: transparent !important; color: var(--h-mauve) !important; border-color: var(--h-mauve) !important; }
#starlit-wrap .h-follow-btn:hover { background: var(--h-lila) !important; color: #fff !important; }
#starlit-wrap .h-nav-tab:hover { background: none !important; color: var(--h-dunkel) !important; }
#starlit-wrap .h-options-btn:hover { background: none !important; color: var(--h-lila) !important; }
#starlit-wrap .h-action-btn:hover { background: none !important; color: var(--h-lila) !important; }
#starlit-wrap .h-comment-submit:hover { background: none !important; color: var(--h-dunkel) !important; }
#starlit-wrap .h-bbl-btn:hover { background: none !important; }
#starlit-wrap .h-comment-action:hover { background: none !important; color: var(--h-lila) !important; }
#starlit-wrap .h-back-btn:hover { background: none !important; color: var(--h-lila) !important; }
#starlit-wrap .h-upload-bar:hover { background: var(--h-glass) !important; color: var(--h-lila) !important; }

/* UPLOAD TABS */
.h-upload-tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid var(--h-border); }
.h-upload-tab { padding: 8px 18px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-family: 'Jost', sans-serif; color: var(--h-mauve); cursor: pointer; border-bottom: 2px solid transparent; background: none; border-top: none; border-left: none; border-right: none; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.h-upload-tab.active { color: var(--h-lila); border-bottom-color: var(--h-lila); }
.h-upload-tab:hover { color: var(--h-text) !important; background: none !important; }
.h-upload-panel { display: none; }
.h-upload-panel.active { display: block; }

/* DROPZONE */
.h-dropzone { border: 2px dashed var(--h-border); padding: 28px 20px; text-align: center; cursor: pointer; transition: border-color 0.2s, color 0.2s; font-size: 12px; color: var(--h-mauve); font-weight: 300; letter-spacing: 0.5px; }
.h-dropzone:hover, .h-dropzone.dragover { border-color: var(--h-lila); color: var(--h-lila); }
.h-dropzone i { font-size: 28px; display: block; margin-bottom: 10px; opacity: 0.6; }

/* KOMMENTAR NEUES LAYOUT */
.hc { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--h-border); }
.hc:last-child { border-bottom: none; }
.hc-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--h-border); background: var(--h-rosa); display: flex; align-items: center; justify-content: center; color: var(--h-mauve); font-size: 12px; }
.hc-av img { width: 100%; height: 100%; object-fit: cover; }
.hc-who { flex-shrink: 0; min-width: 80px; max-width: 100px; }
.hc-handle { font-size: 13px; font-weight: 500; color: var(--h-lila); text-decoration: none; display: block; line-height: 1.3; }
.hc-handle:hover { text-decoration: underline; }
.hc-name { font-size: 10px; font-weight: 300; color: var(--h-mauve); display: block; margin-top: 1px; }
.hc-text { flex: 1; font-size: 12px; font-weight: 300; color: var(--h-text); line-height: 1.5; padding-top: 1px; }
.hc-meta { font-size: 10px; color: var(--h-mauve); margin-top: 3px; display: block; font-weight: 300; }
.hc-actions { margin-left: auto; display: flex; gap: 10px; flex-shrink: 0; padding-top: 2px; }
.hc-btn { background: none !important; border: none !important; box-shadow: none !important; outline: none !important; cursor: pointer; color: var(--h-mauve); font-size: 11px; padding: 0; line-height: 1; }
.hc-btn:hover { color: var(--h-lila) !important; background: none !important; }

/* KOMMENTAR DATUM/ZEIT */
.h-comment-date { font-size: 11px; width: 100px; flex-shrink: 0; background: transparent; border: none; border-bottom: 1px solid var(--h-border); padding: 6px 0; font-family: 'Jost', sans-serif; color: #000; outline: none; }
.h-comment-time { font-size: 11px; width: 60px; flex-shrink: 0; background: transparent; border: none; border-bottom: 1px solid var(--h-border); padding: 6px 0; font-family: 'Jost', sans-serif; color: #000; outline: none; }
.h-comment-date::placeholder, .h-comment-time::placeholder { color: var(--h-mauve); }
.h-comment-date:focus, .h-comment-time:focus { border-bottom-color: var(--h-lila); }
.h-comment-handle { color: var(--h-mauve); font-size: 10px; }

.h-toast { position: fixed; bottom: 28px; right: 28px; background: var(--h-dunkel); color: #faf5f0; padding: 12px 20px; font-size: 12px; font-weight: 300; letter-spacing: 0.5px; border-left: 3px solid var(--h-lila); opacity: 0; transform: translateY(10px); transition: all 0.3s; pointer-events: none; z-index: 300; max-width: 300px; font-family: 'Jost', sans-serif; }
.h-toast.show { opacity: 1; transform: translateY(0); }

/* ALERT PRÄFERENZEN */
.h-alert-prefs { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }

.h-alert-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--h-border);
  cursor: pointer;
  gap: 12px;
}
.h-alert-pref-row:last-child { border-bottom: none; }

.h-alert-pref-label {
  font-size: 12px;
  font-weight: 300;
  color: var(--h-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.h-alert-pref-label i { color: var(--h-mauve); font-size: 13px; width: 16px; text-align: center; }

.h-alert-pref-check {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 20px;
  background: #ddd0d8;
  border: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s;
  outline: none;
}
.h-alert-pref-check::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(58,46,64,0.25);
  z-index: 1;
}
.h-alert-pref-check:checked { background: #806c9a !important; }
.h-alert-pref-check:checked::before { transform: translateX(18px); }
#starlit-wrap .h-alert-pref-check:checked { background: #806c9a !important; }
#starlit-wrap .h-alert-pref-check:not(:checked) { background: #ddd0d8 !important; }


/* HUSH/STARLIT TOGGLE BAR */
.h-toggle-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  background: var(--h-glass);
  border-bottom: 1px solid var(--h-border);
  font-size: 10px;
  font-family: 'Jost', sans-serif;
}

.h-toggle-link {
  color: var(--h-lila);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}

.h-toggle-link:hover { opacity: 0.7; }

.h-toggle-status {
  color: var(--h-mauve);
  font-weight: 300;
}