/* ============================================================
   plot – App CSS v0.1
   Dark AI Theme (Indigo/Violet)
   ============================================================ */

/* --- Inter Variable Font (v0.23.1: lokal statt Google-Fonts-CDN) ---
   Ein einziger Variable-Font deckt alle Weights 100-900 ab. Latin reicht
   fuer Deutsch + Westeuropaeisch; latin-ext fuer Polnisch/Tschechisch/...  */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/Inter-VariableFont_latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/Inter-VariableFont_latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- CSS Variables --- */
:root {
  --bg:          #0a0a0f;
  --surface:     #111118;
  --card:        #1a1a2e;
  --border:      rgba(99,102,241,0.15);
  --border-hover:rgba(99,102,241,0.35);
  --primary:     #6366f1;
  --primary-hov: #4f46e5;
  --accent:      #8b5cf6;
  --gradient:    linear-gradient(135deg, #6366f1, #8b5cf6);
  --text:        #e2e8f0;
  --muted:       #94a3b8;
  --success:     #10b981;
  --danger:      #ef4444;
  --warning:     #f59e0b;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 8px 32px rgba(0,0,0,.4);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.5);
  --nav-h:       64px;
  --footer-h:    38px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--footer-h);
}

/* --- Globaler Hintergrund-Canvas --- */
#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
body.with-bg-canvas #hero-canvas { opacity: 1; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,.5); }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { color: var(--text); font-weight: 700; line-height: 1.3; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
p { color: var(--muted); }

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn-primary-gradient {
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: .6rem 1.5rem;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary-gradient:hover {
  color: #fff;
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(99,102,241,.5);
}
.btn-primary-gradient:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  font-weight: 500;
  padding: .6rem 1.5rem;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover {
  background: rgba(99,102,241,.08);
  border-color: var(--primary);
  color: var(--text);
}

.btn-danger-outline {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  font-weight: 500;
  padding: .5rem 1.2rem;
  transition: background .2s;
}
.btn-danger-outline:hover { background: rgba(239,68,68,.1); }

/* --- Navigation --- */
.plot-nav {
  height: var(--nav-h);
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1030;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .25rem .5rem;
  border-radius: var(--radius-sm);
  transition: background .2s ease, transform .2s ease;
}
.nav-brand-icon {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  flex-shrink: 0;
  transition: stroke .2s ease, transform .25s ease;
}
.nav-brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-brand:hover {
  background: rgba(99,102,241,.08);
  transform: translateY(-1px);
}
.nav-brand:hover .nav-brand-icon { stroke: var(--accent); transform: rotate(-8deg); }

#nav-links .btn { font-size: 14px; }

/* Aktiver Nav-Button (Anmelden/Registrieren hervorgehoben, wenn gerade auf der Route) */
#nav-links .btn.nav-btn-active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99,102,241,.4);
}
#nav-links .btn.nav-btn-active:hover {
  color: #fff;
  opacity: .95;
}
.nav-version {
  font-size: .68rem;
  color: rgba(148,163,184,.4);
  padding-right: .25rem;
  user-select: none;
}

/* --- #app padding --- */
#app {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* --- Badge Pill --- */
.badge-pill {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--primary);
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.25);
}

/* ============================================================
   Landing Page
   ============================================================ */

/* --- Hero --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 0 6rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-cta { margin-bottom: 1rem; }

/* --- Browser Mockup --- */
.hero-preview {
  max-width: 560px;
}

.preview-browser {
  border-radius: 12px;
  border: 1px solid var(--border-hover);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: #16162a;
}

.preview-browser-bar {
  background: #0e0e1a;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot.red    { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green  { background: #10b981; }

.preview-url {
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
  background: rgba(255,255,255,.05);
  padding: 2px 10px;
  border-radius: 4px;
}

.preview-content {
  position: relative;
  padding: 20px;
  min-height: 180px;
}

.preview-website-mock { padding-right: 70px; }

.mock-header {
  height: 18px;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  margin-bottom: 14px;
  width: 45%;
  animation: mock-shimmer 2s infinite;
}

.mock-line {
  height: 10px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  margin-bottom: 10px;
  animation: mock-shimmer 2s infinite;
}
.mock-line:nth-child(odd) { animation-delay: .3s; }
.mock-line.w-40 { width: 40%; }
.mock-line.w-50 { width: 50%; }
.mock-line.w-60 { width: 60%; }
.mock-line.w-75 { width: 75%; }
.mock-line.w-80 { width: 80%; }

@keyframes mock-shimmer {
  0%,100% { opacity: .5; }
  50%      { opacity: 1;  }
}

.preview-chat-button {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,.5);
  animation: preview-pulse 2.5s infinite;
}
.preview-chat-button svg { width: 20px; height: 20px; }

@keyframes preview-pulse {
  0%,100% { box-shadow: 0 4px 16px rgba(99,102,241,.5); }
  50%      { box-shadow: 0 4px 28px rgba(99,102,241,.8); }
}

/* --- Demo Chat Panel (Landing Preview) --- */
.demo-chat-panel {
  position: absolute;
  bottom: 0; right: 0;
  width: 204px;
  background: #13131f;
  border: 1px solid rgba(99,102,241,.25);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -6px 28px rgba(0,0,0,.45);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}
.demo-chat-header {
  padding: 7px 10px;
  background: rgba(99,102,241,.1);
  border-bottom: 1px solid rgba(99,102,241,.15);
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 11px; color: #e2e8f0;
}
.demo-chat-dot {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0; transition: background .4s;
}
.demo-chat-close { margin-left: auto; color: #475569; font-size: 13px; line-height: 1; }
.demo-chat-messages {
  padding: 8px; height: 112px; overflow: hidden;
  display: flex; flex-direction: column; gap: 5px; justify-content: flex-end;
}
.demo-msg {
  display: flex; opacity: 0; transform: translateY(5px);
  transition: opacity .35s ease, transform .35s ease;
}
.demo-msg.visible { opacity: 1; transform: translateY(0); }
.demo-msg--user { justify-content: flex-end; }
.demo-msg-bubble {
  max-width: 88%; padding: 4px 8px; border-radius: 9px;
  font-size: 10.5px; line-height: 1.45; color: #e2e8f0; word-break: break-word;
}
.demo-msg--user .demo-msg-bubble {
  background: var(--demo-color, #6366f1); color: #fff; border-bottom-right-radius: 2px;
}
.demo-msg--bot .demo-msg-bubble {
  background: rgba(255,255,255,.07); border-bottom-left-radius: 2px;
}
.demo-typing-row { display: flex; opacity: 0; transition: opacity .3s; padding-left: 2px; }
.demo-typing-row.visible { opacity: 1; }
.demo-typing-bubble {
  background: rgba(255,255,255,.07); border-radius: 9px; border-bottom-left-radius: 2px;
  padding: 6px 9px; display: flex; gap: 3px; align-items: center;
}
.demo-typing-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--demo-color, #6366f1); animation: demo-blink 1.2s infinite;
}
.demo-typing-dot:nth-child(2) { animation-delay: .2s; }
.demo-typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes demo-blink {
  0%,80%,100% { opacity:.2; transform:scale(.8); }
  40%          { opacity:1;  transform:scale(1);  }
}
.demo-chat-input-row {
  padding: 5px 8px 7px; border-top: 1px solid rgba(99,102,241,.1);
  display: flex; gap: 5px; align-items: center;
}
.demo-chat-input-fake {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(99,102,241,.15);
  border-radius: 6px; padding: 3px 7px; color: #374151; font-size: 9.5px;
}
.demo-chat-send-btn {
  width: 22px; height: 22px; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--demo-color, #6366f1); transition: background .4s;
}
.demo-chat-send-btn svg { width: 11px; height: 11px; color: #fff; }

/* --- Steps Section --- */
.steps-section {
  padding: 6rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
}
.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: .75rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .4;
}

.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p  { font-size: .9rem; margin: 0; }

/* --- Features Section --- */
.features-section { padding: 6rem 0; }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(99,102,241,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p  { font-size: .88rem; margin: 0; }

/* --- Footer (ProLogixx-Stil, fixed unten) --- */
.plot-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--footer-h);
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 0 .75rem;
  font-size: .72rem;
  color: rgba(148,163,184,.7);
  letter-spacing: .03em;
  flex-wrap: wrap;
}
.plot-footer-logo {
  height: 18px;
  width: auto;
  border-radius: 3px;
  margin-right: .35rem;
  opacity: .8;
}
.plot-footer a {
  color: rgba(148,163,184,.75);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.plot-footer a:hover { color: var(--text); }
.plot-footer-sep { color: rgba(148,163,184,.35); }

/* Hoover-Effekt wie auf pdef.app.prologixx.de */
.plot-footer-credit {
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 1px 6px;
}
.plot-footer-credit:hover {
  color: var(--primary) !important;
  border-color: var(--primary);
  background: rgba(99,102,241,.08);
}

.plot-footer-legal:hover { color: var(--accent); }

@media (max-width: 560px) {
  :root { --footer-h: 56px; }
  .plot-footer { font-size: .68rem; padding: 4px .5rem; line-height: 1.3; }
  .plot-footer-logo { display: none; }
}

/* ============================================================
   Generic Components
   ============================================================ */

/* --- plot Card --- */
.plot-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s;
}
.plot-card:hover { border-color: var(--border-hover); }
.plot-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* --- Form Controls --- */
.plot-form-control,
.plot-form-select {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: .55rem .9rem;
  font-family: var(--font);
  font-size: .9rem;
  width: 100%;
  transition: border-color .2s, background .2s;
  outline: none;
}
.plot-form-control:focus,
.plot-form-select:focus {
  border-color: var(--primary);
  background: rgba(99,102,241,.05);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.plot-form-control::placeholder { color: #475569; }
.plot-form-control:disabled,
.plot-form-select:disabled {
  opacity: .5;
  cursor: not-allowed;
}

textarea.plot-form-control {
  resize: vertical;
  min-height: 90px;
}

.plot-form-select option {
  background: var(--card);
  color: var(--text);
}

.plot-form-label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: .35rem;
  display: block;
}

.plot-form-group { margin-bottom: 1.1rem; }

/* --- Auth Pages --- */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .25rem;
}

.auth-title  { font-size: 1.3rem; font-weight: 700; margin-bottom: .25rem; }
.auth-subtitle { font-size: .88rem; color: var(--muted); margin-bottom: 1.75rem; }

.auth-divider {
  text-align: center;
  position: relative;
  margin: 1.25rem 0;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  position: relative;
  background: var(--card);
  padding: 0 .75rem;
  font-size: .8rem;
  color: var(--muted);
}

/* --- Dashboard --- */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.dashboard-title { font-size: 1.6rem; font-weight: 700; margin: 0; }

/* v0.24.0: Header-Action-Cluster (Refresh-Icon + ggf. „Neuen Bot erstellen") */
.dash-actions { display: flex; align-items: center; gap: .6rem; }
.dash-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .35s;
}
.dash-icon-btn svg { width: 18px; height: 18px; }
.dash-icon-btn:hover {
  background: rgba(99,102,241,.08);
  border-color: rgba(99,102,241,.35);
  color: var(--text);
}
.dash-icon-btn:active svg { transform: rotate(360deg); transition: transform .5s ease-out; }

.bot-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color .2s, transform .15s;
  height: 100%;
}
.bot-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.bot-card-name { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.bot-card-desc { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.bot-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-bottom: .75rem; }
@media (max-width: 640px) { .bot-stats-grid { grid-template-columns: repeat(3, 1fr); } }

/* Sparkline pro Bot (v0.26.0): Anfragen pro Tag, letzte 30 Tage */
.bot-sparkline {
  margin: .25rem 0 .85rem;
  padding: .35rem .55rem .25rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.bot-sparkline svg { display: block; width: 100%; height: 36px; }
.bot-sparkline-axis {
  display: flex; justify-content: space-between;
  font-size: .65rem; color: var(--muted);
  margin-top: .15rem; padding: 0 1px;
  letter-spacing: .02em;
}
.bot-sparkline-axis span:nth-child(2) {
  color: rgba(165,180,252,.75);
  font-variant-numeric: tabular-nums;
}

/* Wissensbasis / Crawl-Info pro Bot (v0.28.0) */
.bot-crawl-info {
  margin: .85rem 0 .25rem;
  padding: .65rem .85rem;
  background: rgba(99,102,241,.06);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 8px;
  font-size: .85rem;
}
.bot-crawl-info .ci-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: .5rem; flex-wrap: wrap;
  margin-bottom: .45rem; padding-bottom: .35rem;
  border-bottom: 1px solid rgba(99,102,241,.15);
}
.bot-crawl-info .ci-label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: #a5b4fc;
}
.bot-crawl-info .ci-when {
  font-size: .76rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.bot-crawl-info .ci-row {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .15rem 0;
}
.bot-crawl-info .ci-key {
  flex-shrink: 0; min-width: 130px;
  color: var(--muted); font-size: .82rem;
}
.bot-crawl-info .ci-row strong { color: var(--text); font-variant-numeric: tabular-nums; }
.bot-crawl-info .ci-meta { color: var(--muted); font-size: .78rem; }
.bot-crawl-info .ci-url {
  color: #a5b4fc; text-decoration: none; word-break: break-all;
}
.bot-crawl-info .ci-url:hover { text-decoration: underline; color: #c7d2fe; }
@media (max-width: 480px) {
  .bot-crawl-info .ci-row { flex-direction: column; gap: .1rem; }
  .bot-crawl-info .ci-key { min-width: 0; font-size: .76rem; }
}

/* Embed-Snippet-Box pro Bot-Card (v0.22.0) */
.embed-snippet-row { margin-bottom: .85rem; }
.embed-snippet-label {
  display: block; font-size: .72rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
  font-weight: 600; margin-bottom: .3rem;
}
.embed-snippet-box {
  display: flex; align-items: stretch; gap: .5rem;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: 8px; padding: .5rem .65rem;
}
.embed-snippet-code {
  flex: 1; min-width: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .78rem; color: #cbd5e1;
  overflow-x: auto; white-space: nowrap;
  background: none; padding: 0; line-height: 1.5;
  align-self: center;
}
.embed-snippet-code::-webkit-scrollbar { height: 4px; }
.embed-snippet-code::-webkit-scrollbar-thumb { background: rgba(99,102,241,.3); border-radius: 2px; }
.btn-copy-snippet {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  color: #a5b4fc;
  font-size: .78rem; font-weight: 500;
  padding: .35rem .7rem; border-radius: 6px;
  cursor: pointer; flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-copy-snippet:hover { background: rgba(99,102,241,.22); border-color: rgba(99,102,241,.45); color: #c7d2fe; }
.btn-copy-snippet.copied { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.35); color: #4ade80; }
.btn-copy-snippet svg { flex-shrink: 0; }
.bot-stat { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: .5rem .3rem; text-align: center; }
.bot-stat-v { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.1; font-variant-numeric: tabular-nums; }
.bot-stat-l { font-size: .68rem; color: var(--muted); margin-top: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

.provider-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  background: rgba(99,102,241,.12);
  color: var(--primary);
  border: 1px solid rgba(99,102,241,.2);
}

.embed-key-display {
  font-family: 'Courier New', monospace;
  font-size: .75rem;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  padding: .2rem .5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}
.empty-state-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(99,102,241,.08);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.empty-state-icon svg { width: 32px; height: 32px; }
.empty-state h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.empty-state p  { font-size: .9rem; max-width: 360px; margin: 0 auto 1.5rem; }

/* --- Service-Worker Update-Banner (v0.23.0) --- */
.sw-update-banner {
  position: fixed; bottom: 16px; right: 16px; z-index: 100000;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px 11px 18px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08) inset;
  font-size: 14px; line-height: 1.3;
  animation: sw-slide-in .35s cubic-bezier(.34,1.56,.64,1);
  max-width: calc(100vw - 24px);
}
@keyframes sw-slide-in {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.sw-update-banner.hide { animation: sw-slide-out .28s ease-in forwards; }
@keyframes sw-slide-out {
  to { transform: translateY(40px); opacity: 0; }
}
.sw-update-text { font-weight: 500; }
.sw-update-btn {
  background: #fff; color: #6366f1;
  border: none; border-radius: 6px;
  padding: 6px 14px; font-weight: 600; font-size: 13px;
  cursor: pointer; flex-shrink: 0; font-family: inherit;
  transition: background .15s, transform .15s;
}
.sw-update-btn:hover  { background: #f5f5fc; transform: translateY(-1px); }
.sw-update-btn:active { transform: translateY(0); }
.sw-update-dismiss {
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px;
  transition: color .15s;
}
.sw-update-dismiss:hover { color: #fff; }
@media (max-width: 480px) {
  .sw-update-banner { left: 8px; right: 8px; bottom: 8px; }
}

/* --- Quota-Kachel (v0.20.0) — Token-Kontingent fuer Clients --- */
.quota-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.quota-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.quota-label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.quota-period { color: var(--muted); opacity: .7; font-weight: 400; margin-left: .25rem; }
.quota-value {
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.quota-of   { color: var(--muted); font-weight: 400; }
.quota-unit { color: var(--muted); font-weight: 400; font-size: .9rem; }
.quota-pct  { font-size: .85rem; margin-left: .5rem; padding: .1rem .5rem; border-radius: 999px; }
.quota-pct-ok   { background: rgba(34,197,94,.12);  color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.quota-pct-warn { background: rgba(245,158,11,.12); color: #fbbf24; border: 1px solid rgba(245,158,11,.25); }
.quota-pct-over { background: rgba(239,68,68,.14);  color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.quota-bar {
  margin-top: .65rem; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.06); overflow: hidden;
}
.quota-bar-fill {
  height: 100%; border-radius: 3px;
  transition: width .35s ease-out, background .15s;
}
.quota-bar-ok   { background: linear-gradient(90deg, #34d399, #10b981); }
.quota-bar-warn { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.quota-bar-over { background: linear-gradient(90deg, #f87171, #ef4444); }
.quota-hint { margin-top: .5rem; font-size: .82rem; color: var(--muted); }
.quota-over { color: #f87171; }

/* --- Client-Anfragen (v0.17.0) --- */
.client-requests-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.client-requests-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: .25rem;
}
.client-requests-title { font-size: 1.15rem; font-weight: 600; margin: 0; }
.client-requests-hint  {
  font-size: .88rem; margin-bottom: 1rem; max-width: 640px;
  color: #cbd5e1;       /* heller als var(--muted) — auf dunklem BG sonst kaum lesbar */
}

.client-request-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: grid; gap: .85rem;
}
.client-request-form .form-row { display: grid; gap: .3rem; }
.client-request-form label { font-size: .82rem; color: #cbd5e1; font-weight: 500; }
.client-request-form select,
.client-request-form input,
.client-request-form textarea {
  background: #1a1a2e;     /* solider als rgba — Select-Optionen erben den Hintergrund */
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .55rem .7rem;
  color: var(--text);
  font-size: .92rem;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
/* Custom Caret fuers Select-Element (sonst nimmt es OS-default, das mit dunklem BG bricht) */
.client-request-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2rem;
}
.client-request-form select option { background: #1a1a2e; color: var(--text); }
.client-request-form textarea { resize: vertical; min-height: 160px; }
.client-request-form select:focus,
.client-request-form input:focus,
.client-request-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.client-request-form .form-actions {
  display: flex; gap: .5rem; justify-content: flex-end;
}

.client-requests-list { display: grid; gap: .75rem; }
.cr-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1rem;
}
.cr-item-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: .25rem;
}
.cr-subject { font-weight: 600; font-size: .95rem; flex: 1; min-width: 0; }
.cr-meta { font-size: .78rem; color: var(--muted); margin-bottom: .5rem; }
.cr-meta .cr-sep { margin: 0 .35rem; opacity: .6; }
.cr-type { font-weight: 500; }
.cr-message {
  font-size: .88rem;
  white-space: pre-wrap;
  color: var(--text);
}
.cr-admin-note {
  margin-top: .6rem;
  padding: .55rem .75rem;
  background: rgba(99,102,241,.08);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  font-size: .85rem;
  white-space: pre-wrap;
}
.cr-status {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}
.cr-status.status-open       { background: rgba(234,179,8,.12);  color: #facc15; border: 1px solid rgba(234,179,8,.25); }
.cr-status.status-progress   { background: rgba(59,130,246,.12); color: #60a5fa; border: 1px solid rgba(59,130,246,.25); }
.cr-status.status-done       { background: rgba(34,197,94,.12);  color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.cr-status.status-rejected   { background: rgba(148,163,184,.12); color: #94a3b8; border: 1px solid rgba(148,163,184,.25); }

/* --- Editor --- */
.editor-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.editor-title { font-size: 1.5rem; font-weight: 700; margin: 0; flex: 1; }

.editor-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.editor-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.editor-section-title svg { width: 15px; height: 15px; color: var(--primary); }

.embed-code-block {
  background: #0a0a0f;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: .8rem;
  color: #a5b4fc;
  word-break: break-all;
  position: relative;
  margin-bottom: .75rem;
}

.info-box {
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .85rem;
  color: var(--muted);
}

/* --- Account Page --- */
.account-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.account-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.danger-zone {
  border-color: rgba(239,68,68,.25);
}
.danger-zone .account-section-title { color: var(--danger); }

/* --- Toast --- */
.plot-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  pointer-events: none;
}

.plot-toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1.1rem;
  font-size: .88rem;
  color: var(--text);
  box-shadow: var(--shadow);
  max-width: 320px;
  pointer-events: all;
  transform: translateX(120%);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-left: 3px solid var(--primary);
}
.plot-toast.show  { transform: translateX(0); opacity: 1; }
.plot-toast.hide  { transform: translateX(120%); opacity: 0; }
.plot-toast.success { border-left-color: var(--success); }
.plot-toast.error   { border-left-color: var(--danger);  }
.plot-toast.warning { border-left-color: var(--warning); }

/* --- Confirm Modal --- */
.plot-confirm-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  animation: fade-in .15s ease;
}
.plot-confirm-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: slide-up .2s ease;
}
.plot-confirm-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.plot-confirm-text  { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.plot-confirm-actions { display: flex; gap: .75rem; justify-content: flex-end; }

@keyframes fade-in  { from { opacity: 0; }          to { opacity: 1; }          }
@keyframes slide-up { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- Loading Spinner --- */
.plot-spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid rgba(99,102,241,.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.plot-spinner-lg { width: 40px; height: 40px; border-width: 3px; }

@keyframes spin { to { transform: rotate(360deg); } }

.loading-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1rem;
  color: var(--muted);
  font-size: .9rem;
}

/* --- Page container --- */
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.page-container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

/* --- Utility --- */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.monospace {
  font-family: 'Courier New', monospace;
  font-size: .85rem;
}

/* --- Color picker row --- */
.color-preview {
  width: 32px; height: 32px;
  border-radius: 6px;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
}

input[type="color"] {
  -webkit-appearance: none;
  width: 42px; height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 2px;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 4px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-section { padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3rem; }
  .steps-section, .features-section { padding: 3.5rem 0; }
  .auth-card { padding: 2rem 1.5rem; }
  .page-container, .page-container-wide { padding: 1.5rem 1rem; }
}

/* ============================================================
   Feedback Widget
   ============================================================ */

.feedback-trigger {
  position: fixed;
  bottom: calc(var(--footer-h) + 42px);
  left: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 12px 10px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  box-shadow: 3px 0 12px rgba(99,102,241,.4);
  transition: background .15s ease, box-shadow .15s ease;
  line-height: 1;
  font-family: var(--font);
}
.feedback-trigger:hover,
.feedback-trigger:focus-visible {
  background: var(--primary-hov);
  box-shadow: 3px 0 18px rgba(99,102,241,.6);
  outline: none;
}
.feedback-trigger svg { width: 16px; height: 16px; flex-shrink: 0; }

.feedback-panel {
  position: fixed;
  bottom: calc(var(--footer-h) + 8px);
  left: 24px;
  z-index: 1055;
  width: 340px;
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms ease, opacity 240ms ease;
}
.feedback-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.feedback-panel-header {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .875rem 1rem .75rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.feedback-panel-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  font-family: var(--font);
}

.feedback-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 2px;
  transition: color .15s ease;
}
.feedback-close:hover { color: var(--text); }

.fb-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 2px 4px 2px 0;
  display: flex;
  align-items: center;
  transition: color .15s ease;
}
.fb-back:hover { color: var(--primary); }
.fb-back svg { width: 18px; height: 18px; }

.feedback-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1 1 auto;
}

.feedback-question {
  font-size: .875rem;
  color: var(--text);
  margin-bottom: .75rem;
  font-weight: 500;
}

.fb-types { display: flex; flex-direction: column; gap: .5rem; }

.fb-type-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .7rem .875rem;
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
  font-family: var(--font);
}
.fb-type-btn:hover {
  border-color: var(--primary);
  background: rgba(99,102,241,.08);
}
.fb-type-icon  { font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
.fb-type-label { flex: 1; }
.fb-type-arrow { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }

.feedback-ratings { display: flex; gap: .5rem; margin-bottom: .875rem; }

.feedback-rating-btn {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: .5rem 0;
  font-size: 1.5rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
  line-height: 1.3;
}
.feedback-rating-btn:hover {
  border-color: var(--primary);
  background: rgba(99,102,241,.08);
  transform: scale(1.08);
}
.feedback-rating-btn.selected {
  border-color: var(--primary);
  background: rgba(99,102,241,.12);
  box-shadow: 0 0 0 3px rgba(99,102,241,.2);
}

.fb-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}

.feedback-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .6rem .75rem;
  font-size: .85rem;
  font-family: var(--font);
  color: var(--text);
  background: rgba(255,255,255,.04);
  resize: vertical;
  min-height: 72px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feedback-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
  background: rgba(255,255,255,.06);
}
.feedback-textarea::placeholder { color: var(--muted); }

.fb-screenshot-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .5rem .75rem;
  margin-top: .5rem;
  background: rgba(255,255,255,.03);
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: .8rem;
  font-family: var(--font);
  color: var(--muted);
  font-weight: 500;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.fb-screenshot-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99,102,241,.06);
}
.fb-screenshot-btn:disabled { opacity: .6; cursor: not-allowed; }
.fb-screenshot-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.fb-screenshot-preview {
  position: relative;
  margin-top: .5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.fb-screenshot-preview img { width: 100%; height: auto; display: block; max-height: 110px; object-fit: cover; }
.fb-screenshot-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(0,0,0,.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: .7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.fb-screenshot-remove:hover { background: rgba(0,0,0,.9); }

.fb-contact {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.fb-contact-question {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: .4rem;
}
.fb-radio-group { display: flex; gap: 1.25rem; margin-bottom: .5rem; }
.fb-radio {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  color: var(--text);
  cursor: pointer;
}
.fb-radio input[type="radio"] { accent-color: var(--primary); cursor: pointer; }

.feedback-email {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .5rem .7rem;
  font-size: .85rem;
  font-family: var(--font);
  color: var(--text);
  background: rgba(255,255,255,.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feedback-email:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.feedback-email::placeholder { color: var(--muted); }

.feedback-submit {
  display: block;
  width: 100%;
  margin-top: .875rem;
  padding: .6rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity .15s ease, transform .15s ease;
}
.feedback-submit:hover:not(:disabled) { filter: brightness(1.1); }
.feedback-submit:disabled { opacity: .55; cursor: not-allowed; }

.fb-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .875rem;
  padding: 2rem 1rem;
  text-align: center;
}
.fb-success svg { width: 48px; height: 48px; color: var(--success); }
.fb-success p { margin: 0; font-weight: 600; color: var(--text); font-size: .95rem; }

@media (max-width: 400px) {
  .feedback-panel { left: 8px; right: 8px; width: auto; }
}
