/* QuickSketch Account 0.6.57 */
.qs-auth-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 20% 10%, rgba(0,0,0,.035), transparent 36%),
    linear-gradient(180deg, #f7f8f9 0%, #eceff1 100%);
  color: #202428;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.qs-auth-card {
  width: min(460px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid #dfe3e7;
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 28px 80px rgba(24, 31, 36, .15);
}
.qs-auth-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 24px;
}
.qs-auth-logo img {
  display: block;
  width: min(290px, 78%);
  height: auto;
  max-height: 76px;
  object-fit: contain;
}
.qs-auth-copy { text-align: center; margin-bottom: 20px; }
.qs-auth-copy h1 { margin: 0 0 7px; font-size: 24px; letter-spacing: -.025em; }
.qs-auth-copy p { margin: 0; color: #69737c; font-size: 13px; line-height: 1.55; }
.qs-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: #f0f2f4;
}
.qs-auth-tabs button {
  border: 0;
  border-radius: 9px;
  padding: 10px 12px;
  background: transparent;
  color: #66717a;
  font-family: inherit; font-size: 13px; line-height: 1.2; font-weight: 700;
  cursor: pointer;
}
.qs-auth-tabs button.is-active { background: #fff; color: #202428; box-shadow: 0 2px 8px rgba(18,24,28,.08); }
.qs-auth-form { display: grid; gap: 13px; }
.qs-auth-form[hidden] { display: none !important; }
.qs-auth-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 750; color: #404950; }
.qs-auth-form input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd5da;
  border-radius: 11px;
  padding: 12px 13px;
  background: #fff;
  color: #202428;
  font-family: inherit; font-size: 14px; line-height: 1.2; font-weight: 600;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.qs-auth-form input:focus { border-color: #202428; box-shadow: 0 0 0 3px rgba(32,36,40,.08); }

.qs-auth-code-label { text-align: center; }
.qs-auth-form .qs-auth-code-input {
  max-width: 230px;
  justify-self: center;
  padding: 15px 16px;
  text-align: center;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: .38em;
  text-indent: .38em;
  font-variant-numeric: tabular-nums;
}
.qs-auth-reset {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e0e4e7;
  border-radius: 12px;
  background: #f8f9fa;
}
.qs-auth-reset[hidden] { display: none !important; }
.qs-auth-secondary {
  border: 1px solid #cfd5da;
  border-radius: 10px;
  padding: 10px 13px;
  background: #fff;
  color: #202428;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.qs-auth-secondary:hover { background: #f2f4f5; }
.qs-auth-secondary:disabled { opacity: .55; cursor: wait; }

.qs-auth-primary {
  border: 0;
  border-radius: 11px;
  padding: 12px 16px;
  background: #202428;
  color: #fff;
  font-family: inherit; font-size: 13px; line-height: 1.2; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(32,36,40,.16);
}
.qs-auth-primary:disabled { opacity: .55; cursor: wait; }
.qs-auth-link { border: 0; background: transparent; padding: 3px; color: #68737b; font-family: inherit; font-size: 12px; line-height: 1.2; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qs-auth-form-status { min-height: 18px; color: #67717a; font-size: 12px; line-height: 1.45; }
.qs-auth-form-status.is-error { color: #aa2b2b; }
.qs-auth-form-status.is-success { color: #23723a; }
.qs-auth-hint { padding: 11px 12px; border-radius: 10px; background: #f6f7f8; color: #66717a; font-size: 12px; line-height: 1.5; }
.qs-auth-notice { margin: 0 0 16px; padding: 11px 12px; border: 1px solid #dfe3e7; border-radius: 10px; background: #f7f8f9; font-size: 12px; line-height: 1.5; }
.qs-auth-notice.is-success { border-color: #c9e7d2; background: #eef9f1; color: #27683a; }
.qs-auth-notice.is-error { border-color: #f0cccc; background: #fff2f2; color: #8f2f2f; }
.qs-auth-foot { margin-top: 20px; padding-top: 15px; border-top: 1px solid #edf0f2; text-align: center; color: #8a939a; font-size: 10.5px; }

.qs-account-pill { display: inline-flex !important; align-items: center; gap: 7px; max-width: 180px; }
.qs-account-pill span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qs-account-pill-avatar { width: 22px; height: 22px; border-radius: 7px; border: 1px solid #d8dde1; background: #f7f8f9; object-fit: cover; flex: 0 0 22px; }

.qs-account-backdrop {
  opacity: 0;
  place-items: center;
  transition: opacity .14s ease;
}
.qs-account-backdrop.is-open { opacity: 1; }
.qs-account-modal { width: min(650px, calc(100vw - 36px)); max-height: min(760px, calc(100vh - 40px)); overflow: hidden; margin: auto; }
.qs-account-modal .qs-modal-head {
  position: relative;
  justify-content: center;
  text-align: center;
}
.qs-account-modal .qs-modal-head .qs-icon-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.qs-account-modal-body { max-height: calc(100vh - 130px); overflow: auto; }
.qs-account-welcome { display: grid; justify-items: center; gap: 10px; padding: 10px 10px 6px; text-align: center; }
.qs-account-welcome h2 { margin: 2px 0 0; font-size: 24px; }
.qs-account-welcome p { max-width: 460px; margin: 0 0 8px; color: #68727a; line-height: 1.55; font-size: 13px; }
.qs-account-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #202428;
  color: #fff;
  font-weight: 850;
  letter-spacing: .04em;
  box-shadow: 0 10px 24px rgba(32,36,40,.16);
}
.qs-account-storage-head { width: 100%; max-width: 570px; margin: 0 auto 14px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 13px 14px; border: 1px solid #e2e6e9; border-radius: 12px; background: #f8f9fa; }
.qs-account-storage-head > div:first-child { display: grid; gap: 3px; }
.qs-account-storage-head strong { font-size: 13px; }
.qs-account-storage-head span { color: #77818a; font-size: 11.5px; }
.qs-account-slotbar { display: flex; gap: 5px; }
.qs-account-slotbar i { display: block; width: 13px; height: 13px; border-radius: 4px; border: 1px solid #cbd2d8; background: #fff; }
.qs-account-slotbar i.is-used { border-color: #202428; background: #202428; }
.qs-account-inline-note { width: 100%; max-width: 570px; box-sizing: border-box; margin: 0 auto 12px; padding: 10px 12px; border-radius: 10px; font-size: 12px; }
.qs-account-inline-note.is-warning { background: #fff6df; color: #805d0d; border: 1px solid #f0daa1; }
.qs-account-plan-list { width: 100%; max-width: 570px; margin: 0 auto; display: grid; gap: 9px; }
.qs-account-plan { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid #dfe4e7; border-radius: 13px; background: #fff; }
.qs-account-plan-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: #f0f2f4; color: #202428; font-size: 11px; font-weight: 900; }
.qs-account-plan-main { display: grid; gap: 4px; min-width: 0; }
.qs-account-plan-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.qs-account-plan-main span { color: #74808a; font-size: 11.5px; }
.qs-account-plan-actions { display: flex; gap: 6px; }
.qs-account-delete { color: #9d3333 !important; }
.qs-account-delete-confirm { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid #edf0f2; }
.qs-account-delete-confirm span { margin-right: auto; font-size: 12px; color: #6f7880; }
.qs-account-empty { display: grid; justify-items: center; gap: 5px; padding: 38px 20px; border: 1px dashed #cfd6db; border-radius: 14px; color: #7a858d; text-align: center; }
.qs-account-empty strong { color: #394149; font-size: 13px; }
.qs-account-empty span { font-size: 12px; }
.qs-account-profile { display: flex; align-items: center; gap: 14px; padding: 6px 0 17px; border-bottom: 1px solid #edf0f2; }
.qs-account-profile > div:last-child { display: grid; gap: 3px; }
.qs-account-profile strong { font-size: 16px; }
.qs-account-profile span { color: #737d85; font-size: 12px; }
.qs-account-profile em { justify-self: start; margin-top: 3px; padding: 3px 7px; border-radius: 999px; background: #e8f0ff; color: #285db0; font-size: 10px; font-style: normal; font-weight: 800; }
.qs-account-profile-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 15px; }
.qs-account-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2147483640;
  max-width: min(560px, calc(100vw - 36px));
  padding: 11px 15px;
  border: 1px solid #d6dce0;
  border-radius: 11px;
  background: #fff;
  color: #202428;
  box-shadow: 0 16px 38px rgba(20,27,33,.2);
  font: 700 12px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.qs-account-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.qs-account-toast.is-success { border-color: #c9e4d0; }
.qs-account-toast.is-error { border-color: #e8c5c5; color: #8f2f2f; }

@media (max-width: 720px) {
  .qs-auth-screen { padding: 12px; }
  .qs-auth-card { padding: 20px; border-radius: 17px; }
  .qs-account-plan { grid-template-columns: 38px 1fr; }
  .qs-account-plan-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .qs-account-storage-head { align-items: flex-start; flex-direction: column; }
}
.quicksketch-app[data-account-developer="0"] [data-action="updates"],
.quicksketch-app[data-account-developer="0"] [data-action="developer"] {
  display: none !important;
}

/* 0.6.59 – feste persönliche Büro-Profilbilder & Zeichnungs-Badges */
.qs-account-avatar-sketchi {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f0f2f4 100%);
  border: 1px solid #dce1e5;
  color: transparent;
}
.qs-account-avatar-sketchi img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  filter: none;
}
.qs-account-avatar-profile {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  flex: 0 0 92px;
}
.qs-account-profile-card {
  align-items: center;
  gap: 18px;
  padding: 8px 0 20px;
}
.qs-account-profile-copy {
  display: grid !important;
  gap: 5px !important;
  min-width: 0;
}
.qs-account-profile-copy > strong {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.qs-account-profile-copy em {
  justify-self: start;
  margin: 0 0 3px;
}
.qs-account-drawing-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.qs-account-drawing-total b {
  font-size: 28px;
  line-height: 1;
  color: #202428;
  font-variant-numeric: tabular-nums;
}
.qs-account-drawing-total span {
  color: #727d85;
  font-size: 12px;
  font-weight: 700;
}
.qs-account-badge-card {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dde2e6;
  border-radius: 14px;
  background: linear-gradient(135deg, #fafbfc 0%, #f0f3f5 100%);
}
.qs-account-badge-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #202428;
  color: #fff;
  box-shadow: 0 10px 22px rgba(32,36,40,.15);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
}
.qs-account-badge-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.qs-account-badge-copy > span {
  color: #7b858d;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.qs-account-badge-copy strong {
  font-size: 18px;
  color: #202428;
}
.qs-account-badge-copy small {
  color: #6e7981;
  font-size: 11.5px;
  line-height: 1.45;
}
.qs-account-badge-progress {
  display: grid;
  gap: 7px;
  padding: 12px 2px 3px;
}
.qs-account-badge-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #78828a;
  font-size: 11px;
}
.qs-account-badge-progress-head strong {
  color: #3e474e;
  font-variant-numeric: tabular-nums;
}
.qs-account-badge-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eaed;
}
.qs-account-badge-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #202428;
  transition: width .28s ease;
}

@media (max-width: 520px) {
  .qs-account-profile-card {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .qs-account-profile-copy { justify-items: center; }
  .qs-account-drawing-total { justify-content: center; }
  .qs-account-badge-card { grid-template-columns: 50px minmax(0,1fr); text-align: left; }
  .qs-account-badge-icon { width: 50px; height: 50px; border-radius: 15px; }
}

/* 0.6.63 – Einladungen, Punkte und Freunde-Banner */
.qs-account-pill-copy { display:grid; gap:1px; min-width:0; text-align:left; }
.qs-account-pill-copy > strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; line-height:1.05; }
.qs-account-pill-copy > small { display:block; line-height:1; }
.qs-referral-mini { display:inline-flex; align-items:center; gap:4px; font-size:9px; font-weight:800; color:#69737b; white-space:nowrap; }
.qs-referral-mini b { display:grid; place-items:center; width:15px; height:15px; border-radius:50%; font-size:9px; color:#fff; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); }
.qs-referral-mini.is-bronze b { background:linear-gradient(135deg,#b97a43,#85512d); }
.qs-referral-mini.is-silver b { background:linear-gradient(135deg,#aeb4b9,#737b82); }
.qs-referral-mini.is-gold b { background:linear-gradient(135deg,#e7bf43,#ad7f0d); }
.qs-account-welcome-points { margin:3px 0 7px; padding:10px 13px; border:1px solid #e0e4e7; border-radius:11px; background:#f8f9fa; color:#69737b; font-size:12px; }
.qs-account-welcome-points strong { color:#202428; }
.qs-account-referral-line { margin:1px 0 2px; }
.qs-account-referral-line .qs-referral-mini { font-size:11px; }
.qs-account-referral-line .qs-referral-mini b { width:20px; height:20px; font-size:11px; }

.qs-invite-banner {
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:2147483350;
  display:flex;
  align-items:center;
  gap:9px;
  min-width:178px;
  padding:8px 11px 8px 8px;
  border:1px solid #d8dde1;
  border-radius:14px;
  background:rgba(255,255,255,.96);
  color:#202428;
  box-shadow:0 10px 28px rgba(20,27,33,.13);
  cursor:pointer;
  font-family:inherit;
  text-align:left;
  backdrop-filter:blur(8px);
  transition:transform .16s ease, box-shadow .16s ease;
}
.qs-invite-banner:hover { transform:translateY(-2px); box-shadow:0 14px 32px rgba(20,27,33,.17); }
.qs-invite-banner-copy { display:grid; gap:2px; }
.qs-invite-banner-copy strong { font-size:12px; line-height:1.1; }
.qs-invite-banner-copy small { color:#7a858d; font-size:9.5px; }
.qs-invite-envelope { position:relative; display:block; width:38px; height:29px; flex:0 0 38px; perspective:100px; }
.qs-invite-envelope-back { position:absolute; inset:5px 0 0; border:2px solid #202428; border-radius:4px; background:#f5f6f7; }
.qs-invite-envelope-letter { position:absolute; left:7px; right:7px; top:3px; height:19px; display:grid; place-items:center; border:1px solid #ccd3d8; border-radius:3px; background:#fff; color:#202428; font-size:8px; font-weight:900; transform:translateY(3px); animation:qs-invite-letter 7.5s ease-in-out infinite; }
.qs-invite-envelope-front { position:absolute; left:0; right:0; bottom:0; height:20px; overflow:hidden; border:2px solid #202428; border-top:0; border-radius:0 0 4px 4px; background:linear-gradient(145deg,#fff 0 49%,#e9edef 50% 100%); }
.qs-invite-envelope-front::after { content:""; position:absolute; width:28px; height:28px; left:3px; top:-17px; border-right:2px solid #202428; border-bottom:2px solid #202428; transform:rotate(45deg); background:#fff; }
.qs-invite-envelope-flap { position:absolute; left:2px; right:2px; top:5px; height:18px; transform-origin:top; clip-path:polygon(0 0,100% 0,50% 100%); background:#fff; border-top:2px solid #202428; animation:qs-invite-flap 7.5s ease-in-out infinite; }
@keyframes qs-invite-flap { 0%,65%,100%{transform:rotateX(0deg)} 71%,85%{transform:rotateX(150deg)} 91%{transform:rotateX(0deg)} }
@keyframes qs-invite-letter { 0%,64%,100%{transform:translateY(4px)} 73%,85%{transform:translateY(-7px)} 92%{transform:translateY(4px)} }

.qs-invite-dialog { width:100%; max-width:500px; margin:0 auto; display:grid; gap:16px; }
.qs-invite-dialog > p { margin:0; color:#65717a; font-size:13px; line-height:1.55; }
.qs-invite-score { display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid #e0e4e7; border-radius:13px; background:#f8f9fa; }
.qs-invite-score > div { display:grid; gap:2px; }
.qs-invite-score strong { font-size:14px; }
.qs-invite-score small { color:#7a858d; font-size:10.5px; }
.qs-referral-badge { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:#fff; font-size:18px; font-weight:900; box-shadow:0 7px 15px rgba(20,27,33,.16), inset 0 0 0 1px rgba(255,255,255,.28); }
.qs-referral-badge.is-bronze { background:linear-gradient(135deg,#c18a55,#84502d); }
.qs-referral-badge.is-silver { background:linear-gradient(135deg,#c5c9cc,#757d83); }
.qs-referral-badge.is-gold { background:linear-gradient(135deg,#f0cf5b,#aa7908); }
.qs-invite-dialog form { display:grid; gap:11px; }
.qs-invite-dialog label { display:grid; gap:5px; color:#59646d; font-size:11px; font-weight:750; }
.qs-invite-dialog input { width:100%; box-sizing:border-box; border:1px solid #d8dde1; border-radius:10px; padding:10px 11px; background:#fff; color:#202428; font:inherit; }
.qs-invite-dialog input:focus { outline:2px solid rgba(32,36,40,.1); border-color:#8e969d; }
.qs-invite-status { min-height:18px; color:#707b84; font-size:11.5px; }
.qs-invite-status.is-success { color:#24743b; }
.qs-invite-status.is-error { color:#a12f2f; }

@media (max-width:720px) {
  .qs-invite-banner { right:10px; bottom:10px; min-width:0; padding:7px; }
  .qs-invite-banner-copy small { display:none; }
}

/* 0.6.64 – Einladung/Captcha: normale Formularschrift */
.qs-invite-dialog label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
}
.qs-invite-dialog input {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: normal;
  padding: 11px 12px;
}
.qs-invite-captcha-label { gap: 7px !important; }
.qs-invite-captcha-row {
  display: grid;
  grid-template-columns: minmax(90px, auto) minmax(90px, 1fr) 38px;
  align-items: center;
  gap: 8px;
}
.qs-invite-captcha-row > strong {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #d8dde1;
  border-radius: 10px;
  background: #f6f7f8;
  color: #202428;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.qs-invite-captcha-row input { min-width: 0; }
.qs-invite-captcha-refresh {
  width: 38px;
  height: 42px;
  border: 1px solid #d8dde1;
  border-radius: 10px;
  background: #fff;
  color: #4e5962;
  cursor: pointer;
  font: 500 18px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.qs-invite-captcha-refresh:hover { background: #f4f6f7; color: #202428; }
.qs-invite-captcha-refresh:disabled { opacity: .5; cursor: wait; }
@media (max-width: 520px) {
  .qs-invite-captcha-row { grid-template-columns: 1fr 1fr 38px; }
}

/* 0.6.66 – rechter Slider / Schnellzugriff */
.qs-slider-source-hidden { display: none !important; }
.qs-right-slider {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2147483300;
  display: grid;
  gap: 7px;
  pointer-events: none;
}
.qs-right-slider-item {
  position: relative;
  width: 48px;
  min-height: 48px;
  pointer-events: auto;
}
.qs-right-slider-tab {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid #d9dee2;
  border-right: 0;
  border-radius: 13px 0 0 13px;
  background: rgba(255,255,255,.96);
  color: #232a30;
  box-shadow: -6px 7px 20px rgba(25,32,38,.09);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: width .18s ease, background .18s ease, box-shadow .18s ease;
}
.qs-right-slider-tab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qs-right-slider-tab svg .fill { fill: currentColor; stroke: none; }
.qs-right-slider-item:hover .qs-right-slider-tab,
.qs-right-slider-item:focus-within .qs-right-slider-tab {
  background: #202428;
  color: #fff;
  box-shadow: -10px 10px 28px rgba(25,32,38,.16);
}
.qs-right-slider-panel {
  position: absolute;
  right: 47px;
  top: 0;
  width: 265px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid #dce1e5;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  color: #202428;
  box-shadow: 0 18px 46px rgba(20,27,33,.16);
  opacity: 0;
  transform: translateX(24px) scale(.98);
  transform-origin: right top;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.qs-right-slider-panel::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 16px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-top: 1px solid #dce1e5;
  border-right: 1px solid #dce1e5;
  transform: rotate(45deg);
}
.qs-right-slider-item:hover .qs-right-slider-panel,
.qs-right-slider-item:focus-within .qs-right-slider-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}
.qs-right-slider-panel > strong,
.qs-slider-project-head strong {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.2;
}
.qs-right-slider-panel > span,
.qs-slider-project-head span {
  display: block;
  color: #717c85;
  font-size: 11.5px;
  line-height: 1.45;
}
.qs-right-slider-panel-project {
  width: 330px;
  padding: 16px;
}
.qs-slider-project-head {
  margin-bottom: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf0f2;
}
.qs-slider-project-form {
  display: grid;
  gap: 10px;
}
.qs-slider-project-form label {
  display: grid;
  gap: 5px;
  color: #4d565e;
  font-size: 11.5px;
  font-weight: 700;
}
.qs-slider-project-form input,
.qs-slider-project-form select,
.qs-slider-project-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d4dade;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
  color: #202428;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  outline: none;
}
.qs-slider-project-form textarea { resize: vertical; min-height: 105px; }
.qs-slider-project-form input:focus,
.qs-slider-project-form select:focus,
.qs-slider-project-form textarea:focus {
  border-color: #909ba4;
  box-shadow: 0 0 0 3px rgba(32,36,40,.06);
}
.qs-right-slider-panel-favorites { width: 286px; }
.qs-slider-favorites {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}
.qs-slider-favorites > button {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid #e1e5e8;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fafbfc;
  color: #202428;
  text-align: left;
  cursor: pointer;
}
.qs-slider-favorites > button:hover { background: #f0f2f4; border-color: #cfd5da; }
.qs-slider-favorites > button span { color: #b58b27; font-size: 17px; line-height: 1; }
.qs-slider-favorites > button b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.qs-slider-favorites-empty {
  padding: 11px;
  border: 1px dashed #d6dce0;
  border-radius: 10px;
  color: #7a858e;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}
.qs-favorite-capable { position: relative; overflow: visible !important; }
.qs-tool-favorite-star {
  position: absolute;
  right: -6px;
  top: -8px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #d3d8dc;
  border-radius: 50%;
  background: #fff;
  color: #939ca3;
  box-shadow: 0 3px 9px rgba(20,27,33,.12);
  font: 700 11px/1 Arial, sans-serif;
  cursor: pointer;
  opacity: .34;
  transform: scale(.9);
  transition: opacity .14s ease, transform .14s ease, color .14s ease;
}
.qs-favorite-capable:hover .qs-tool-favorite-star,
.qs-tool-favorite-star.is-active {
  opacity: 1;
  transform: scale(1);
}
.qs-tool-favorite-star.is-active { color: #b68a20; border-color: #dbc887; background: #fffaf0; }

@media (max-width: 780px) {
  .qs-right-slider { top: auto; bottom: 82px; transform: none; }
  .qs-right-slider-panel { width: min(280px, calc(100vw - 76px)); }
  .qs-right-slider-panel-project { width: min(320px, calc(100vw - 76px)); max-height: 70vh; overflow: auto; }
}

/* 0.6.67 – Profil/Entwickler im rechten Slider + ungelesene Updates */
.qs-slider-letter-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font: 800 17px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.02em;
}
.qs-right-slider-item.has-unread .qs-right-slider-tab {
  color: #d72828;
  border-color: rgba(215,40,40,.35);
}
.qs-right-slider-item.has-unread .qs-right-slider-tab::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d72828;
  box-shadow: 0 0 0 3px rgba(215,40,40,.11);
}
.qs-right-slider-item.has-unread:hover .qs-right-slider-tab,
.qs-right-slider-item.has-unread:focus-within .qs-right-slider-tab {
  color: #fff;
}
.qs-right-slider-panel-profile,
.qs-right-slider-panel-developer {
  width: 270px;
}


/* 0.6.70 – Kundenbildschirm / TV im rechten Slider */
.qs-right-slider-item.is-tv-active .qs-right-slider-tab {
  color: #24924d;
  border-color: rgba(36,146,77,.42);
  background: #f3fbf6;
  box-shadow: -8px 8px 24px rgba(36,146,77,.12);
}
.qs-right-slider-item.is-tv-active .qs-right-slider-tab::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ca75b;
  box-shadow: 0 0 0 3px rgba(44,167,91,.12);
}
.qs-right-slider-item.is-tv-active:hover .qs-right-slider-tab,
.qs-right-slider-item.is-tv-active:focus-within .qs-right-slider-tab {
  background: #24924d;
  color: #fff;
}
.qs-right-slider-panel-tv { width: 286px; }


/* 0.6.71 – Alternative & Kundenbildschirm */
.qs-alternative-btn{
  width:38px;min-width:38px;padding-left:0!important;padding-right:0!important;
  font-size:22px!important;font-weight:700!important;line-height:1;
}
.qs-account-plan-group{display:grid;gap:7px;margin:0 0 10px;}
.qs-account-plan-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.qs-alt-count-badge{
  display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;
  background:#202428;color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.01em;white-space:nowrap;
}
.qs-account-alternatives{display:grid;gap:6px;margin-left:28px;padding-left:12px;border-left:2px solid #e3e7ea;}
.qs-account-plan-alt{background:#fafbfc;border-style:dashed;}
.qs-account-plan-icon-alt{font-size:11px!important;background:#eef1f3!important;color:#4e5962!important;}
@media(max-width:760px){.qs-account-alternatives{margin-left:10px;padding-left:8px;}}

/* 0.6.73 – Chat-Benachrichtigung + persönliches Leeren */
.qs-alt-count-badge{
  background:#c93434!important;
  color:#fff!important;
  border:1px solid #a92525;
  box-shadow:0 3px 10px rgba(201,52,52,.16);
}
.qs-slider-online-badge{
  position:absolute;
  right:5px;
  top:4px;
  min-width:17px;
  height:17px;
  padding:0 4px;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#2ba65b;
  color:#fff;
  border:2px solid #fff;
  font-size:9px;
  font-weight:800;
  line-height:1;
}
.qs-right-slider-item:hover .qs-slider-online-badge,
.qs-right-slider-item:focus-within .qs-slider-online-badge{border-color:#202428;}
.qs-right-slider-panel-friends{width:286px;}
.qs-chat-modal-backdrop .qs-account-modal{width:min(820px,calc(100vw - 34px));max-width:820px;}
.qs-chat-modal-backdrop .qs-account-modal-body{padding:0;overflow:hidden;}
.qs-chat-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:520px;max-height:min(72vh,650px);}
.qs-chat-users{border-right:1px solid #e4e8eb;background:#f8f9fa;min-width:0;display:grid;grid-template-rows:auto 1fr;}
.qs-chat-users-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 10px;border-bottom:1px solid #e5e9ec;}
.qs-chat-users-head strong{font-size:13px;}
.qs-chat-users-head span{font-size:11px;color:#68737b;}
.qs-chat-user-list{overflow:auto;padding:8px;display:grid;align-content:start;gap:5px;}
.qs-chat-user{position:relative;width:100%;display:grid;grid-template-columns:38px 1fr 10px;align-items:center;gap:9px;padding:8px;border:0;border-radius:11px;background:transparent;text-align:left;cursor:pointer;color:#202428;}
.qs-chat-user:hover,.qs-chat-user.is-active{background:#fff;box-shadow:0 2px 10px rgba(20,27,33,.07);}
.qs-chat-user img{width:38px;height:38px;object-fit:cover;border-radius:10px;background:#fff;border:1px solid #e0e4e7;}
.qs-chat-user span{display:grid;gap:2px;min-width:0;}
.qs-chat-user strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.qs-chat-user small{font-size:10.5px;color:#7b858d;}
.qs-chat-presence{width:8px;height:8px;border-radius:50%;background:#c7cdd2;}
.qs-chat-presence.is-online{background:#2ba65b;box-shadow:0 0 0 3px rgba(43,166,91,.11);}
.qs-chat-conversation{min-width:0;background:#fff;position:relative;}
.qs-chat-placeholder{height:100%;display:grid;place-content:center;text-align:center;gap:5px;color:#7a848c;padding:30px;}
.qs-chat-placeholder strong{color:#2a3137;font-size:15px;}
.qs-chat-placeholder span{font-size:12px;}
.qs-chat-room{height:100%;display:grid;grid-template-rows:auto 1fr auto;min-height:0;}
.qs-chat-room[hidden]{display:none!important;}
.qs-chat-room-head{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #edf0f2;background:#fff;}
.qs-chat-room-head img{width:36px;height:36px;object-fit:cover;border-radius:10px;border:1px solid #e1e5e8;}
.qs-chat-room-head span{display:grid;gap:1px;}
.qs-chat-room-head strong{font-size:12.5px;}
.qs-chat-room-head small{font-size:10.5px;color:#6f7a82;}
.qs-chat-messages{min-height:0;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:8px;background:linear-gradient(#fbfcfd,#fff);}
.qs-chat-message{align-self:flex-start;max-width:min(76%,480px);display:grid;gap:4px;padding:9px 11px;border-radius:13px 13px 13px 4px;background:#eef1f3;color:#202428;font-size:12.5px;line-height:1.42;word-break:break-word;}
.qs-chat-message.is-mine{align-self:flex-end;border-radius:13px 13px 4px 13px;background:var(--qs-chat-mine,#68b5e8);color:#202428;}
.qs-chat-message small{font-size:9.5px;opacity:.62;}
.qs-chat-compose{display:grid;grid-template-columns:1fr;gap:8px;padding:10px;border-top:1px solid #e7ebee;background:#fff;}
.qs-chat-compose textarea{min-height:44px;max-height:110px;resize:vertical;padding:10px 11px;border:1px solid #dbe0e4;border-radius:10px;background:#fff;color:#202428;font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;line-height:1.35;}
.qs-chat-compose textarea:focus{outline:2px solid rgba(32,36,40,.10);border-color:#aab3ba;}
.qs-chat-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.qs-chat-compose-actions .qs-btn{min-width:92px;}
.qs-chat-clear{background:#fff!important;color:#5f6971!important;border:1px solid #d8dde1!important;}
.qs-chat-clear:hover{background:#f5f7f8!important;color:#202428!important;}
.qs-chat-empty{padding:18px 10px;text-align:center;color:#7a858d;font-size:11.5px;line-height:1.5;}
@media(max-width:720px){
  .qs-chat-layout{grid-template-columns:1fr;grid-template-rows:190px minmax(320px,1fr);max-height:80vh;}
  .qs-chat-users{border-right:0;border-bottom:1px solid #e4e8eb;}
  .qs-chat-user-list{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* 0.6.77 – persönliche Chatfarbe */
.qs-chat-color-options{grid-column:1/-1;padding:4px 0}.qs-chat-color-options h3{margin:0 0 6px;font-size:18px}.qs-chat-color-options p{margin:0 0 14px;color:#69747d;font-size:13px}.qs-chat-color-swatches{display:flex;flex-wrap:wrap;gap:10px}.qs-chat-color-swatches label{display:grid;grid-template-columns:34px auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid #dfe4e8;border-radius:10px;background:#fff;cursor:pointer}.qs-chat-color-swatches input{position:absolute;opacity:0;pointer-events:none}.qs-chat-color-swatches span{width:32px;height:32px;border-radius:8px;background:var(--chat-color);border:2px solid transparent;box-shadow:inset 0 0 0 1px rgba(20,27,33,.12)}.qs-chat-color-swatches b{font:600 12px/1.2 Arial,Helvetica,sans-serif;color:#30383e}.qs-chat-color-swatches input:checked+span{border-color:#202428;box-shadow:0 0 0 2px #fff,0 0 0 4px #202428}.qs-chat-color-swatches label:has(input:checked){border-color:#aeb7be;background:#f8fafb}

/* 0.6.89 – MYCODE */
.qs-tab.qs-mycode-attention{font-weight:800;color:#b42626;}
.qs-mycode-panel{grid-template-columns:1fr!important;}
.qs-mycode-card{width:min(520px,100%);display:grid;gap:13px;padding:4px 0 10px;}
.qs-mycode-current{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border:1px solid #dfe4e8;border-radius:12px;background:#f8fafb;}
.qs-mycode-current span{font-size:12px;font-weight:800;letter-spacing:.06em;color:#58636b;}
.qs-mycode-current strong{font:800 20px/1 Arial,Helvetica,sans-serif;letter-spacing:.18em;color:#202428;}
.qs-mycode-card label{display:grid;gap:6px;font:700 12px/1.2 Arial,Helvetica,sans-serif;color:#30383e;}
.qs-mycode-card input{width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid #d7dde1;border-radius:10px;background:#fff;color:#202428;font:700 18px/1 Arial,Helvetica,sans-serif;letter-spacing:.2em;}
.qs-mycode-card input:focus{outline:2px solid rgba(32,36,40,.10);border-color:#9ca7ae;}
.qs-mycode-note,.qs-mycode-hint{margin:0;color:#69747d;font-size:12px;line-height:1.45;}
.qs-mycode-warning{padding:10px 12px;border-radius:10px;background:#fff3f3;border:1px solid #efcaca;color:#9d2424;font-size:12px;font-weight:700;line-height:1.4;}
.qs-mycode-status{min-height:18px;font-size:12px;font-weight:700;line-height:1.4;}
.qs-mycode-status.is-success{color:#237a43;}.qs-mycode-status.is-error{color:#b42626;}
.qs-mycode-submit{justify-self:start;}

/* 0.6.90 – Chatgruppen & Entwickler-Profilbild */
.qs-chat-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px;border-bottom:1px solid #e5e9ec;background:#fff}
.qs-chat-groups button{border:1px solid #dfe4e8;background:#f7f8f9;border-radius:9px;padding:7px 5px;font-size:10.5px;font-weight:700;color:#4d5962;cursor:pointer;white-space:nowrap}
.qs-chat-groups button b{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;margin-left:3px;border-radius:999px;background:#e8ecef;font-size:9px}
.qs-chat-groups button.is-active{background:#24292d;color:#fff;border-color:#24292d}
.qs-chat-groups button.is-active b{background:rgba(255,255,255,.18);color:#fff}
.qs-developer-avatar-card{display:grid;gap:12px;max-width:520px}
.qs-developer-avatar-card h3{margin:0;font-size:16px}
.qs-developer-avatar-card p{margin:0;color:#66717a;font-size:12px;line-height:1.5}
.qs-developer-avatar-preview{width:112px;height:112px;border:1px solid #dce1e5;border-radius:18px;overflow:hidden;background:#f6f7f8;box-shadow:0 4px 18px rgba(24,31,36,.07)}
.qs-developer-avatar-preview img{width:100%;height:100%;object-fit:cover;display:block}
.qs-developer-avatar-file{display:grid;gap:6px;font-size:12px;font-weight:700}
.qs-developer-avatar-file input{font-weight:400;font-size:12px}
.qs-developer-avatar-status{min-height:18px;font-size:12px;color:#52616b}
@media(max-width:700px){.qs-chat-layout{grid-template-columns:180px minmax(0,1fr)}.qs-chat-groups{grid-template-columns:1fr}.qs-chat-groups button{font-size:10px}}

/* 0.6.99 – Chat PRO: feste Gruppen + Online/Offline + Offline-Nachrichten */
.qs-chat-pro-backdrop .qs-account-modal{width:min(980px,calc(100vw - 36px));max-width:980px;}
.qs-chat-pro-backdrop .qs-account-modal-body{padding:0;overflow:hidden;}
.qs-chat-pro{display:grid;grid-template-columns:300px minmax(0,1fr);height:min(72vh,680px);min-height:540px;background:#fff;}
.qs-chat-sidebar{min-width:0;border-right:1px solid #e3e7ea;background:#f6f7f8;display:grid;grid-template-rows:auto 1fr;}
.qs-chat-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #e0e4e7;background:#fff;}
.qs-chat-sidebar-head strong{font-size:15px;color:#202428;}
.qs-chat-sidebar-head span{font-size:11px;color:#66727b;}
.qs-chat-sidebar-head span b{color:#229652;}
.qs-chat-roster{overflow:auto;padding:10px;display:grid;align-content:start;gap:12px;}
.qs-chat-group-section{display:grid;gap:5px;}
.qs-chat-group-title{display:flex;align-items:center;justify-content:space-between;padding:3px 5px 5px;border-bottom:1px solid #dce1e5;}
.qs-chat-group-title strong{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#4f5b64;}
.qs-chat-group-title span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#e6eaed;color:#59656e;font-size:10px;font-weight:700;}
.qs-chat-group-users{display:grid;gap:4px;}
.qs-chat-pro .qs-chat-user{grid-template-columns:40px minmax(0,1fr) auto 10px;gap:9px;padding:8px 9px;border:1px solid transparent;border-radius:11px;}
.qs-chat-pro .qs-chat-user:hover,.qs-chat-pro .qs-chat-user.is-active{background:#fff;border-color:#dfe4e8;box-shadow:0 2px 10px rgba(20,27,33,.06);}
.qs-chat-user-copy{display:grid;gap:2px;min-width:0;}
.qs-chat-user-copy strong{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.qs-chat-user-copy small{font-size:10.5px;font-weight:600;}
.qs-chat-user-copy small.is-online,.qs-chat-room-head small.is-online{color:#218b4b;}
.qs-chat-user-copy small.is-offline,.qs-chat-room-head small.is-offline{color:#929ba2;}
.qs-chat-user-unread{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#249d55;color:#fff;font-size:10px;line-height:1;}
.qs-chat-pro .qs-chat-presence{width:8px;height:8px;background:#b9c0c5;box-shadow:none;}
.qs-chat-pro .qs-chat-presence.is-online{background:#2ba65b;box-shadow:0 0 0 3px rgba(43,166,91,.11);}
.qs-chat-pro .qs-chat-conversation{min-width:0;min-height:0;}
.qs-chat-pro .qs-chat-room-head{min-height:62px;padding:10px 16px;}
.qs-chat-pro .qs-chat-room-head img{width:40px;height:40px;border-radius:11px;}
.qs-chat-pro .qs-chat-room-head strong{font-size:14px;}
.qs-chat-pro .qs-chat-room-head small{font-size:11px;font-weight:600;}
.qs-chat-pro .qs-chat-messages{padding:18px 20px;}
.qs-chat-pro .qs-chat-compose{padding:12px 14px;}
.qs-chat-pro .qs-chat-compose textarea{min-height:52px;}
.qs-chat-pro .qs-chat-empty{padding:11px 8px;font-size:11px;color:#8a949b;}
@media (max-width:760px){
  .qs-chat-pro-backdrop .qs-account-modal{width:calc(100vw - 18px);}
  .qs-chat-pro{grid-template-columns:42% minmax(0,1fr);height:min(82vh,720px);min-height:500px;}
  .qs-chat-sidebar-head{padding:11px 10px;}
  .qs-chat-roster{padding:7px;gap:10px;}
  .qs-chat-pro .qs-chat-user{grid-template-columns:34px minmax(0,1fr) 8px;padding:7px 5px;gap:7px;}
  .qs-chat-pro .qs-chat-user img{width:34px;height:34px;}
  .qs-chat-user-unread{position:absolute;right:18px;top:3px;min-width:17px;height:17px;font-size:9px;}
  .qs-chat-pro .qs-chat-messages{padding:12px 10px;}
  .qs-chat-pro .qs-chat-compose{padding:8px;}
}

/* 0.7.00 – verbindliche Rollen-Profilbilder */
.qs-required-avatar-backdrop{z-index:100000!important}.qs-required-avatar-card{max-width:460px;margin:0 auto}.qs-required-avatar-card .qs-developer-avatar-preview{width:128px;height:128px}

/* 0.7.02 – echte Benutzerbilder direkt an Chatnachrichten */
.qs-chat-message-row{align-self:stretch;display:flex;align-items:flex-end;gap:7px;max-width:82%;}
.qs-chat-message-row.is-mine{align-self:flex-end;flex-direction:row-reverse;}
.qs-chat-message-row .qs-chat-message{align-self:auto;max-width:min(100%,480px);}
.qs-chat-message-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 28px;border:1px solid #dde2e6;background:#fff;}

/* 0.7.03 – Abmelden im rechten Slider + Rollenstatus im Willkommen */
.qs-right-slider-item[data-slider-key="logout"]{margin-top:6px;border-top:1px solid rgba(30,36,40,.12);padding-top:6px}
.qs-right-slider-item[data-slider-key="logout"] .qs-right-slider-tab:hover,.qs-right-slider-item[data-slider-key="logout"]:focus-within .qs-right-slider-tab{background:#8f2f2f;border-color:#8f2f2f;color:#fff}
.qs-account-welcome-role{display:inline-flex;align-items:center;justify-content:center;min-width:74px;height:26px;padding:0 12px;border-radius:999px;background:#eef1f3;color:#343a40;font:800 11px/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin:0 auto 10px}
.qs-account-welcome-role.is-admin{background:#202428;color:#fff}
.qs-account-welcome-role.is-developer{background:#e6f1ea;color:#287646}


/* 0.7.36 – Favoritenstern im Objekte-Dialog besser sichtbar */
.qs-modal-backdrop[data-tool-modal="objects"] .qs-tool-favorite-star {
  right: -8px;
  top: -9px;
  width: 24px;
  height: 24px;
  font-size: 15px;
  border-width: 1.5px;
  opacity: .55;
  transform: scale(.94);
}
.qs-modal-backdrop[data-tool-modal="objects"] .qs-favorite-capable:hover .qs-tool-favorite-star,
.qs-modal-backdrop[data-tool-modal="objects"] .qs-tool-favorite-star.is-active {
  transform: scale(1);
  opacity: 1;
}
.qs-modal-backdrop[data-tool-modal="objects"] .qs-tool-favorite-star.is-active {
  color: #a97900;
  border-color: #e0b32d;
  background: #fff7d6;
}

/* 0.7.38 – Favoritenbadge: weißer Kreis, gelber Stern, exakt zentriert */
.qs-modal-backdrop[data-tool-modal="objects"] .qs-tool-favorite-star {
  right: -9px;
  top: -10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 0 1px 0;
  border: 1.5px solid #d5dadd;
  background: #fff;
  color: #939ca3;
  font: 700 18px/1 Arial, sans-serif;
  text-align: center;
  opacity: .68;
  transform: none;
}
.qs-modal-backdrop[data-tool-modal="objects"] .qs-favorite-capable:hover .qs-tool-favorite-star,
.qs-modal-backdrop[data-tool-modal="objects"] .qs-tool-favorite-star.is-active {
  opacity: 1;
  transform: none;
  background: #fff;
}
.qs-modal-backdrop[data-tool-modal="objects"] .qs-tool-favorite-star.is-active {
  color: #f2b400;
  border-color: #d5dadd;
  background: #fff;
}


/* 0.7.66 – Freunde/Chat: Sprechblasen-Symbol + intelligentes Ungelesen-Signal */
.qs-right-slider-item[data-slider-key="friends"] .qs-right-slider-tab svg.qs-chat-slider-icon{
  width:27px;height:27px;overflow:visible;stroke-width:1.8;transition:color .18s ease,filter .18s ease,transform .18s ease;
}
.qs-chat-unread-badge{
  position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;
  display:grid;place-items:center;border-radius:999px;background:#cf3030;color:#fff;border:2px solid #fff;
  font-size:10px;font-weight:850;line-height:1;box-shadow:0 2px 8px rgba(115,20,20,.24);z-index:4;
}
.qs-chat-unread-badge[hidden]{display:none!important;}
.qs-right-slider-item[data-slider-key="friends"].has-chat-unread .qs-chat-slider-icon{
  color:#28a557;
  filter:drop-shadow(0 0 4px rgba(40,165,87,.36));
  animation:qs-chat-unread-pulse 1.35s ease-in-out infinite;
}
.qs-right-slider-item[data-slider-key="friends"].is-chat-incoming .qs-chat-slider-icon{
  animation:qs-chat-incoming-pulse .48s ease-in-out infinite alternate;
}
@keyframes qs-chat-unread-pulse{
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:.42;transform:scale(1.04);}
}
@keyframes qs-chat-incoming-pulse{
  from{opacity:1;transform:scale(1);filter:drop-shadow(0 0 2px rgba(40,165,87,.25));}
  to{opacity:.35;transform:scale(1.12);filter:drop-shadow(0 0 8px rgba(40,165,87,.62));}
}
.qs-chat-modal-title{display:inline-flex!important;align-items:center;gap:9px;}
.qs-chat-modal-title .qs-chat-slider-icon{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
