/* ============================================
   base.css — Bereich: base
   ============================================ */
html {
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hidden {
  display: none;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.chat-type {
  background: var(--primary-dark);
  left: auto;
  right: 0;
  top: 0;
  border-bottom-left-radius: 10px;
  padding: 4px;
  width: 24px;
  color: var(--inverse-text);
  font-size: 12px;
}

.site-header {
  padding: 4px 0;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
  width: 100%;
}

.site-header__inner {
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.site-header__logo {
  width: 48px;
  height: 48px;
}

.site-header__name {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd6;
  --accent: #F8E441;
  --on-accent: #333333;
  --bg: #f5f5f5;
  --surface-hover: #f8f9fa;
  --chat-panel-pattern: url("/assets/doodle_pattern_logo_banana_filled-d721c26f.svg");
  /* Milchiger Schleier üBer dem Chat-Panel-Muster (nur helles Theme) — macht
     das Doodle-Muster dezent "eingebrannt". Im Dark-Theme bewusst none, dort
     gibt es ein eigenes (dezentes) Dark-Pattern ohne zusätzlichen Überzug. */
  --chat-panel-overlay: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85));
  --surface: #ffffff;
  --inverse-text: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #888888;
  --text-secondary: #667;
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  --border-input: #dddddd;
  --success: #4caf50;
  --muted: #9e9e9e;
  --danger: #e74c3c;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-round: 24px;
}

[data-theme="dark"] {
  --primary: #8b7cf7;
  --primary-dark: #7a6ce0;
  --accent: #F8E441;
  --bg: #1a1a2e;
  --surface-hover: #30305e;
  --chat-panel-pattern: url("/assets/doodle_pattern_logo_banana_filled_dark-0875d298.svg");
  --chat-panel-overlay: none;
  --surface: #16213e;
  --inverse-text: #ffffff;
  --text: #e0e0e0;
  --text-light: #b0b0b0;
  --text-muted: #808080;
  --border: #2a2a4a;
  --border-light: #222244;
  --border-input: #3a3a5a;
  --success: #66bb6a;
  --muted: #9e9e9e;
  --danger: #ef5350;
}

@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    --primary: #8b7cf7;
    --primary-dark: #7a6ce0;
    --accent: #F8E441;
    --bg: #1a1a2e;
    --surface-hover: #30305e;
    --chat-panel-pattern: url("/assets/doodle_pattern_logo_banana_filled_dark-0875d298.svg");
    --chat-panel-overlay: none;
    --surface: #16213e;
    --inverse-text: #ffffff;
    --text: #e0e0e0;
    --text-light: #b0b0b0;
    --text-muted: #808080;
    --text-secondary: #b0b0b0;
    --border: #2a2a4a;
    --border-light: #222244;
    --border-input: #3a3a5a;
    --success: #66bb6a;
    --muted: #9e9e9e;
    --danger: #ef5350;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

turbo-frame {
  display: contents;
}

@font-face {
  font-family: "Twemoji";
  src: url("/assets/TwemojiMozilla-cff5c208.woff2") format("woff2");
  font-display: swap;
  unicode-range:
    U+200D, U+203C, U+2049, U+20E3, U+2139,
    U+2194-2199, U+21A9-21AA, U+231A-231B, U+2328, U+23CF, U+23E9-23F3,
    U+23F8-23FA, U+25AA-25AB, U+25B6, U+25C0, U+25FB-25FE, U+2600-2604,
    U+260E, U+2611, U+2614-2615, U+2618, U+261D, U+2620, U+2622-2623,
    U+2626, U+262A, U+262E-262F, U+2638-263A, U+2640, U+2642, U+2648-2653,
    U+265F-2660, U+2663, U+2665-2666, U+2668, U+267B, U+267E-267F,
    U+2692-2697, U+2699, U+269B-269C, U+26A0-26A1, U+26A7, U+26AA-26AB,
    U+26B0-26B1, U+26BD-26BE, U+26C4-26C5, U+26C8, U+26CE-26CF, U+26D1,
    U+26D3-26D4, U+26E9-26EA, U+26F0-26F5, U+26F7-26FA, U+26FD, U+2702,
    U+2705, U+2708-270D, U+270F, U+2712, U+2714, U+2716, U+271D, U+2721,
    U+2728, U+2733-2734, U+2744, U+2747, U+274C, U+274E, U+2753-2755,
    U+2757, U+2763-2764, U+2795-2797, U+27A1, U+27B0, U+27BF, U+2934-2935,
    U+2B05-2B07, U+2B1B-2B1C, U+2B50, U+2B55, U+3030, U+303D, U+3297,
    U+3299, U+E50A, U+FE0F, U+1F004, U+1F0CF, U+1F170-1F171, U+1F17E-1F17F,
    U+1F18E, U+1F191-1F19A, U+1F1E6-1F1FF, U+1F201-1F202, U+1F21A, U+1F22F,
    U+1F232-1F23A, U+1F250-1F251, U+1F300-1F321, U+1F324-1F393,
    U+1F396-1F397, U+1F399-1F39B, U+1F39E-1F3F0, U+1F3F3-1F3F5,
    U+1F3F7-1F4FD, U+1F4FF-1F53D, U+1F549-1F54E, U+1F550-1F567,
    U+1F56F-1F570, U+1F573-1F57A, U+1F587, U+1F58A-1F58D, U+1F590,
    U+1F595-1F596, U+1F5A4-1F5A5, U+1F5A8, U+1F5B1-1F5B2, U+1F5BC,
    U+1F5C2-1F5C4, U+1F5D1-1F5D3, U+1F5DC-1F5DE, U+1F5E1, U+1F5E3,
    U+1F5E8, U+1F5EF, U+1F5F3, U+1F5FA-1F64F, U+1F680-1F6C5,
    U+1F6CB-1F6D2, U+1F6D5-1F6D8, U+1F6DC-1F6E5, U+1F6E9, U+1F6EB-1F6EC,
    U+1F6F0, U+1F6F3-1F6FC, U+1F7E0-1F7EB, U+1F7F0, U+1F90C-1F93A,
    U+1F93C-1F945, U+1F947-1F9FF, U+1FA70-1FA7C, U+1FA80-1FA8A,
    U+1FA8E-1FAC6, U+1FAC8, U+1FACD-1FADC, U+1FADF-1FAEA, U+1FAEF-1FAF8;
}