    /* ── Profiles Screen ── */
    #screen-profiles {
      padding: 1.5rem 1.25rem 3rem; min-height: 60vh;
    }
    #screen-profiles.screen.active { display: block; }
    .profiles-header {
      display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem;
    }
    .profiles-back {
      background: none; border: none; border-radius: 8px; color: var(--muted); cursor: pointer;
      font-size: .85rem; font-family: inherit; padding: .3rem .5rem; margin: -.3rem -.5rem;
      display: inline-flex; align-items: center; gap: .3rem;
      transition: background .12s, color .12s;
      -webkit-tap-highlight-color: transparent;
    }
    .profiles-back:hover  { color: var(--text); background: rgba(255,255,255,.05); }
    .profiles-back:active { background: rgba(255,255,255,.09); }
    .profiles-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
    .profiles-title { font-size: 1.1rem; font-weight: 700; }

    .profile-card {
      background: rgba(255,255,255,.03); border: 1px solid var(--line-strong);
      border-radius: 16px; padding: 1.1rem 1.1rem .9rem; margin-bottom: .9rem;
    }
    .profile-card-name {
      font-weight: 700; font-size: 1rem; margin-bottom: .2rem;
    }
    .profile-card-meta {
      font-size: .8rem; color: var(--muted); margin-bottom: .85rem;
    }
    .profile-card-flags { display: flex; flex-direction: column; gap: .55rem; }
    .profile-flag-row {
      display: flex; align-items: center; justify-content: space-between;
    }
    .profile-flag-label {
      font-size: .85rem; color: var(--muted); display: flex;
      flex-direction: column; gap: .1rem;
    }
    .profile-flag-label small { font-size: .75rem; color: rgba(240,236,227,.35); }
    .profile-card-actions {
      display: flex; gap: .5rem; margin-top: .9rem; padding-top: .75rem;
      border-top: 1px solid var(--line-strong);
    }
    .btn-card-action {
      flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--line-strong);
      color: var(--text); border-radius: 10px; padding: .45rem .6rem;
      font-size: .8rem; cursor: pointer; font-family: inherit;
      transition: background .12s;
    }
    .btn-card-action:hover { background: rgba(255,255,255,.09); }
    .btn-card-action:disabled {
      opacity: .4; cursor: not-allowed; background: rgba(255,255,255,.05);
    }

    /* Quell-Link auf der Bestätigungsseite - bewusst prominenteste
       Footer-Komponente (Accent-Border statt --line-strong), da der Link
       zur Original-Seite dort das Wichtigste ist. */
    .source-card {
      display: flex; align-items: center; gap: .8rem;
      background: rgba(255,255,255,.04); border: 1.5px solid var(--accent);
      border-radius: 14px; padding: .75rem .9rem;
      text-decoration: none; color: var(--text);
      margin-bottom: .9rem;
      transition: background .12s;
    }
    .source-card:hover { background: rgba(255,255,255,.07); }
    .source-card-favicon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
    .source-card-text { flex: 1; min-width: 0; }
    .source-card-label {
      font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em;
    }
    .source-card-domain {
      font-size: .95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .source-card-arrow { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; }

    /* ÖV-Karte auf der Bestätigungsseite - bewusst schlicht (reine
       Link-Liste, keine Start/Ende-Box mit Pfeil-Grafik wie .route-row),
       damit sie zusammen mit .source-card als kompaktes "Top-Paar" wirkt. */
    .oev-card {
      background: rgba(255,255,255,.03); border: 1px solid var(--line-strong);
      border-radius: 14px; padding: .2rem .9rem; margin-bottom: .9rem;
    }
    /* Die ganze Zeile ist klickbar (nicht nur das SBB-Badge) - mit
       deutlichem Hover/Active/Tastatur-Fokus statt nur dem kleinen Icon. */
    .oev-card-row {
      display: flex; align-items: center; gap: .6rem;
      padding: .65rem 0; border-bottom: 1px solid var(--line-strong);
      text-decoration: none; color: inherit; cursor: pointer;
      transition: background .12s;
    }
    .oev-card-row:last-child { border-bottom: none; }
    .oev-card-row:hover  { background: rgba(255,255,255,.05); }
    .oev-card-row:active { background: rgba(255,255,255,.09); }
    .oev-card-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
    .oev-card-icon { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; flex-shrink: 0; }
    .oev-card-text { flex: 1; font-size: .88rem; }
    .oev-card-link { display: flex; flex-shrink: 0; }
    .oev-card-link .sbb-badge { width: 22px; height: 22px; }

    .result-divider { border: none; border-top: 2px dashed rgba(200,225,235,.4); margin: 1.2rem 0; }

