/* Mein RUDI – "Der Rat der Sprachmodelle" Erklaerseite */

.rt-page { flex: 1 1 auto; padding: 18px 16px 28px; max-width: 760px; margin: 0 auto; width: 100%; }
/* Fixe Bottom-Nav (uebersicht.css) darf den letzten Inhalt nicht ueberdecken */
.app.has-bottomnav .rt-page { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

/* ===== HERO ===== */
.rt-hero { text-align: center; margin-bottom: 22px; }
.rt-hero h1 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.6px;
  color: var(--text-primary); margin-bottom: 8px; line-height: 1.15;
}
.rt-hero .rt-lead {
  font-size: 14.5px; color: var(--text-secondary); line-height: 1.5;
  max-width: 540px; margin: 0 auto;
}

/* ===== WHY chips ===== */
.rt-why { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.rt-why .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  padding: 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--text-primary);
}
.rt-why .chip .ce { font-size: 16px; }

/* ===== Section title ===== */
.rt-sec { margin-top: 30px; }
.rt-sec-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px;
  font-weight: 800; color: var(--text-secondary); opacity: .8;
  text-align: center; margin-bottom: 16px;
}

/* ===== ROUND TABLE SVG ===== */
.rt-table-wrap { display: flex; justify-content: center; }
.rt-table-svg { width: 100%; max-width: 440px; height: auto; display: block; }
.rt-line { stroke: var(--text-tertiary); stroke-opacity: .3; stroke-width: 2; }
.rt-table-shape { fill: var(--badge-bg); stroke: var(--accent); stroke-width: 2; stroke-opacity: .6; }
.rt-table-label { fill: var(--accent); font: 800 14px 'Inter', sans-serif; letter-spacing: 1.5px; text-anchor: middle; }
.rt-table-q { font-size: 22px; text-anchor: middle; }
.rt-seat-ring { stroke: rgba(255,255,255,.55); stroke-width: 2.5; }
[data-theme="dark"] .rt-seat-ring { stroke: rgba(255,255,255,.14); }
.rt-emoji { font-size: 30px; text-anchor: middle; dominant-baseline: central; }
.rt-label { fill: var(--text-primary); font: 700 13px 'Inter', sans-serif; text-anchor: middle; }
.rt-label-chair { fill: var(--accent); font: 800 13px 'Inter', sans-serif; text-anchor: middle; }
.rt-label-model { fill: var(--text-secondary); font: 700 9.5px 'Inter', sans-serif; text-anchor: middle; letter-spacing: .3px; }

/* ===== MEMBER CARDS ===== */
.rt-members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.rt-member {
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 16px; padding: 14px; box-shadow: var(--card-shadow);
  display: flex; gap: 12px; align-items: flex-start;
}
.rt-member.chair { grid-column: 1 / -1; border-color: rgba(255,214,10,.5); }
.rt-ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.rt-ic.red    { background: linear-gradient(135deg,#ff453a,#ff6b6b); }
.rt-ic.purple { background: linear-gradient(135deg,#5e5ce6,#bf5af2); }
.rt-ic.orange { background: linear-gradient(135deg,#ff9500,#ff6b00); }
.rt-ic.green  { background: linear-gradient(135deg,#30d158,#28a745); }
.rt-ic.cyan   { background: linear-gradient(135deg,#04b3d6,#0090b0); }
.rt-ic.gold   { background: linear-gradient(135deg,#ffd60a,#f0a500); }
.rt-m-name { font-size: 14.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; letter-spacing: -.2px; }
.rt-m-role { font-size: 12.5px; color: var(--text-secondary); line-height: 1.4; }
.rt-model {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 8px;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--badge-bg); color: var(--badge-color); border: 1px solid var(--card-border);
}

/* ===== FLOW TIMELINE ===== */
.rt-timeline { margin-top: 4px; }
.rt-step { display: flex; gap: 16px; align-items: stretch; }
.rt-step-rail { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.rt-step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg,#04b3d6,#0090b0); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; box-shadow: 0 3px 10px rgba(4,179,214,.35);
}
.rt-step-line { flex: 1 1 auto; width: 2px; background: var(--card-border); margin: 4px 0; min-height: 14px; }
.rt-step-body {
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 16px; padding: 14px 16px; box-shadow: var(--card-shadow);
  margin-bottom: 14px; flex: 1 1 auto;
}
.rt-step-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 5px; }
.rt-step-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.rt-step-emojis { font-size: 20px; letter-spacing: 4px; margin-top: 10px; }
.rt-anon { display: flex; gap: 7px; margin-top: 10px; flex-wrap: wrap; }
.rt-anon span {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--badge-bg); color: var(--badge-color);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.rt-verdict { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.rt-verdict .vc {
  font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  background: var(--badge-bg); color: var(--badge-color); border: 1px solid var(--card-border);
}

/* ===== USAGE: dafuer / nicht ===== */
.rt-usage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rt-use-box {
  background: var(--card-bg); border: 1px solid var(--card-border);
  backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 16px; padding: 14px 16px; box-shadow: var(--card-shadow);
}
.rt-use-box h3 { font-size: 13px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.rt-use-box.good h3 { color: #30d158; }
.rt-use-box.bad h3 { color: #ff453a; }
.rt-use-box ul { list-style: none; margin: 0; padding: 0; }
.rt-use-box li { font-size: 12.5px; color: var(--text-secondary); line-height: 1.45; padding: 4px 0; }

/* ===== START callout ===== */
.rt-start {
  margin-top: 26px; text-align: center;
  background: linear-gradient(135deg, rgba(4,179,214,.12), rgba(94,92,230,.10));
  border: 1px solid var(--card-border); border-radius: 18px; padding: 20px 18px;
}
.rt-start .rt-start-em { font-size: 26px; }
.rt-start h3 { font-size: 16px; font-weight: 800; color: var(--text-primary); margin: 6px 0 6px; }
.rt-start p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; max-width: 480px; margin: 0 auto; }
.rt-start code {
  display: inline-block; margin: 10px 0 2px; padding: 7px 14px; border-radius: 10px;
  background: var(--input-bg); border: 1px solid var(--input-border);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px;
  color: var(--accent); font-weight: 700;
}
.rt-start .rt-note { font-size: 11.5px; color: var(--text-tertiary); margin-top: 10px; }

/* ===== responsive ===== */
@media (max-width: 480px) {
  .rt-members { grid-template-columns: 1fr; }
  .rt-usage { grid-template-columns: 1fr; }
  .rt-hero h1 { font-size: 22px; }
}
