/* ============================================================
   ☕ Profil-Editor — Standalone Tabbed UI
   Kompaktes 3-Spalten-Layout: Tabs | Form | Live-Preview
   Passt komplett in den Viewport, kein Scrollen der ganzen Seite.
   ============================================================ */

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

html, body {
    height: 100%;
    overflow: hidden;
}

body.pfe-body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: #0a0a14;
    color: white;
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:root {
    --pfe-accent: #0077be;
    --pfe-bg: #0a0a14;
    --pfe-surface: rgba(255,255,255,0.04);
    --pfe-surface-2: rgba(255,255,255,0.08);
    --pfe-border: rgba(255,255,255,0.10);
    --pfe-text: #ffffff;
    --pfe-text-soft: rgba(255,255,255,0.72);
    --pfe-text-mute: rgba(255,255,255,0.45);
    --pfe-topbar-h: 56px;
}

/* ============================================================
   LOGIN GATE + ERROR OVERLAY
   ============================================================ */
/* Respect the HTML hidden attribute — CSS display: flex would override it */
.pfe-login-gate[hidden], .pfe-error-overlay[hidden],
.pfe-app[hidden] {
    display: none !important;
}
.pfe-login-gate, .pfe-error-overlay {
    position: fixed; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 100%);
    z-index: 100;
}
.pfe-login-card, .pfe-error-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pfe-login-logo {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0,119,190,0.3);
}
.pfe-login-card h1, .pfe-error-card h2 {
    font-size: 26px; font-weight: 800; margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #6cd2ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pfe-login-card p, .pfe-error-card p {
    color: var(--pfe-text-soft);
    margin-bottom: 24px;
    line-height: 1.5;
}
.pfe-login-card .pfe-btn, .pfe-error-card .pfe-btn { margin: 6px 4px; }
.pfe-error-icon { font-size: 56px; margin-bottom: 12px; }

/* ============================================================
   APP SHELL
   ============================================================ */
.pfe-app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #0a0a14 0%, #12122a 100%);
}
/* When pfe-app is hidden, the flex display would override the hidden attribute.
   The [hidden] rule above handles this. */

/* ============================================================
   TOPBAR
   ============================================================ */
.pfe-topbar {
    height: var(--pfe-topbar-h);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    background: rgba(13, 13, 22, 0.78);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--pfe-border);
    flex-shrink: 0;
    z-index: 5;
    box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.pfe-topbar-emoji {
    font-size: 20px;
    filter: drop-shadow(0 0 12px var(--pfe-accent));
}
.pfe-back {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--pfe-surface);
    border: 1px solid var(--pfe-border);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.15s ease;
}
.pfe-back:hover { background: var(--pfe-surface-2); transform: translateX(-2px); }
.pfe-back-icon { font-size: 16px; }
.pfe-topbar-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px;
    color: var(--pfe-text-soft);
    font-weight: 600;
    white-space: nowrap;
}
.pfe-topbar-title strong { color: var(--pfe-text); }
.pfe-topbar-emoji { font-size: 18px; }
.pfe-topbar-url {
    display: flex; align-items: center; gap: 6px;
    background: var(--pfe-surface);
    border: 1px solid var(--pfe-border);
    border-radius: 999px;
    padding: 4px 6px 4px 14px;
    flex: 1;
    max-width: 460px;
    min-width: 0;
}
.pfe-url-value {
    font-family: 'JetBrains Mono', monospace;
    color: #6cd2ff;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.pfe-icon-btn {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--pfe-surface-2);
    border: none;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}
.pfe-icon-btn:hover { background: rgba(255,255,255,0.18); transform: scale(1.05); }
.pfe-icon-btn.is-copied { background: #5fe16a; color: #013; }
.pfe-save-state {
    font-size: 12px;
    color: var(--pfe-text-mute);
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pfe-surface);
    border: 1px solid var(--pfe-border);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.pfe-save-state.is-saving { color: #ffd24c; background: rgba(255,210,76,0.12); border-color: rgba(255,210,76,0.3); }
.pfe-save-state.is-saved  { color: #5fe16a; background: rgba(95,225,106,0.12); border-color: rgba(95,225,106,0.3); }
.pfe-save-state.is-error  { color: #ff7070; background: rgba(255,112,112,0.15); border-color: rgba(255,112,112,0.4); }

/* ============================================================
   MAIN GRID
   ============================================================ */
.pfe-main {
    flex: 1;
    min-height: 0;
    display: grid;
    /* Live-Preview ist jetzt ~40% der Breite auf Wide-Screens.
       Auf 1920px = 700px Preview, auf 1440px = 580px. */
    grid-template-columns: 200px minmax(340px, 1fr) clamp(520px, 38vw, 760px);
    overflow: hidden;
}

@media (max-width: 1400px) {
    .pfe-main { grid-template-columns: 180px 1fr clamp(460px, 36vw, 540px); }
}
@media (max-width: 1200px) {
    .pfe-main { grid-template-columns: 64px 1fr clamp(380px, 36vw, 460px); }
    .pfe-tab-label { display: none; }
    .pfe-tab { justify-content: center; padding: 12px 8px; }
}
@media (max-width: 900px) {
    html, body { overflow: auto; }
    .pfe-app { height: auto; min-height: 100vh; }
    .pfe-main {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        overflow: visible;
    }
    .pfe-tabs {
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: none !important;
        border-bottom: 1px solid var(--pfe-border);
    }
    .pfe-tab { flex-direction: row !important; }
    .pfe-tab-label { display: inline; }
    .pfe-panel, .pfe-preview-wrap { overflow: visible !important; }
    .pfe-preview-wrap { min-height: 600px; }
}

/* ============================================================
   TABS (sidebar)
   ============================================================ */
.pfe-tabs {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 10px;
    background: rgba(0,0,0,0.25);
    border-right: 1px solid var(--pfe-border);
    overflow-y: auto;
}
.pfe-tab {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border: none;
    background: transparent;
    color: var(--pfe-text-soft);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    transition: background 0.18s cubic-bezier(.4,0,.2,1), color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
}
.pfe-tab-icon {
    font-size: 17px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.pfe-tab:hover {
    background: var(--pfe-surface);
    color: var(--pfe-text);
}
.pfe-tab:hover .pfe-tab-icon { transform: scale(1.15); }
.pfe-tab.is-active {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--pfe-accent) 28%, transparent),
        color-mix(in srgb, var(--pfe-accent) 12%, transparent));
    color: var(--pfe-text);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--pfe-accent) 35%, transparent),
        0 4px 12px color-mix(in srgb, var(--pfe-accent) 18%, transparent);
}
.pfe-tab.is-active::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 18%; bottom: 18%;
    width: 3px;
    background: var(--pfe-accent);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px var(--pfe-accent);
}
.pfe-tab.is-active .pfe-tab-icon { transform: scale(1.1); }

/* ============================================================
   PANEL (form scrolling area)
   ============================================================ */
.pfe-panel {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 32px 36px;
    scrollbar-gutter: stable;
}
.pfe-tab-content {
    display: none;
    animation: pfeTabFade 0.28s cubic-bezier(.4,0,.2,1);
}
.pfe-tab-content.is-active { display: flex; flex-direction: column; gap: 18px; }
@keyframes pfeTabFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pfe-tab-h {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--pfe-text);
    letter-spacing: -0.3px;
    display: flex; align-items: center; gap: 8px;
}
.pfe-tab-h::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--pfe-border), transparent);
    margin-left: 4px;
}

/* ============================================================
   FIELDS
   ============================================================ */
.pfe-field { display: flex; flex-direction: column; gap: 6px; }
.pfe-field-label {
    font-size: 13px; font-weight: 600;
    color: var(--pfe-text);
    display: flex; justify-content: space-between; align-items: center;
}
.pfe-counter { font-size: 11px; color: var(--pfe-text-mute); font-weight: 400; }
.pfe-field-hint { font-size: 12px; color: var(--pfe-text-mute); line-height: 1.4; }
.pfe-field-hint.is-error { color: #ff8080; font-weight: 600; }
.pfe-field-hint.is-ok    { color: #5fe16a; font-weight: 600; }

.pfe-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0,0,0,0.32);
    border: 1px solid var(--pfe-border);
    border-radius: 11px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.pfe-input:hover { border-color: rgba(255,255,255,0.18); }
.pfe-input:focus {
    outline: none;
    border-color: var(--pfe-accent);
    background: rgba(0,0,0,0.42);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pfe-accent) 18%, transparent);
}
.pfe-textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.pfe-select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff80' d='M2 4l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.pfe-range {
    width: 100%;
    accent-color: var(--pfe-accent);
    cursor: pointer;
    height: 28px;
}
.pfe-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Slug row */
.pfe-slug-row {
    display: flex; align-items: stretch;
    background: rgba(0,0,0,0.30);
    border: 1px solid var(--pfe-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pfe-slug-row:focus-within { border-color: var(--pfe-accent); }
.pfe-slug-row.is-invalid { border-color: #ff5050; box-shadow: 0 0 0 3px rgba(255,80,80,0.15); }
.pfe-slug-row.is-ok      { border-color: #5fe16a; }
.pfe-slug-prefix {
    padding: 11px 12px;
    background: rgba(255,255,255,0.05);
    border-right: 1px solid var(--pfe-border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--pfe-text-mute);
    white-space: nowrap;
}
.pfe-slug-row .pfe-input {
    border: none; background: transparent; border-radius: 0;
    flex: 1; font-family: 'JetBrains Mono', monospace;
}
.pfe-slug-row .pfe-input:focus { background: transparent; }

/* Avatar editor */
.pfe-avatar-row {
    display: flex; align-items: center; gap: 14px;
    padding: 12px;
    background: rgba(0,0,0,0.18);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}
.pfe-avatar-preview {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.pfe-avatar-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* Theme grid */
.pfe-theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}
.pfe-theme-tile {
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.2s cubic-bezier(.4,0,.2,1), border-color 0.18s ease, box-shadow 0.18s ease;
    aspect-ratio: 16 / 10;
    position: relative;
    background: #1a1a2e;
    display: flex;
    align-items: flex-end;
    padding: 7px 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.pfe-theme-tile:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}
.pfe-theme-tile.is-active {
    border-color: var(--pfe-accent);
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--pfe-accent) 35%, transparent),
        0 8px 24px color-mix(in srgb, var(--pfe-accent) 25%, transparent);
}
.pfe-theme-tile.is-active::after {
    content: '✓';
    position: absolute;
    top: 6px; right: 6px;
    width: 22px; height: 22px;
    background: var(--pfe-accent);
    color: white;
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    z-index: 3;
}
.pfe-theme-tile .pfe-theme-name {
    position: relative; z-index: 2;
    font-size: 11px; font-weight: 700; color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.pfe-theme-tile.t-aurora   { background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); }
.pfe-theme-tile.t-sunset   { background: linear-gradient(135deg, #ff6e7f, #bfe9ff); }
.pfe-theme-tile.t-ocean    { background: linear-gradient(180deg, #001f3f, #0077be, #00bcd4); }
.pfe-theme-tile.t-forest   { background: linear-gradient(135deg, #134e5e, #71b280); }
.pfe-theme-tile.t-midnight { background: linear-gradient(135deg, #0f0f1e, #1a1a2e, #16213e); }
.pfe-theme-tile.t-neon     { background: linear-gradient(135deg, #ff00cc, #333399, #00ffcc); }
.pfe-theme-tile.t-pastel   { background: linear-gradient(135deg, #ffd1ff, #c1c8ff, #a0e9ff); }
.pfe-theme-tile.t-coffee   { background: linear-gradient(135deg, #3e2723, #6d4c41, #a1887f); }
.pfe-theme-tile.t-minimal  { background: #1a1a1a; }
.pfe-theme-tile.t-retro    { background: linear-gradient(180deg, #0c0026, #2d0066, #ff006e); }
.pfe-theme-tile.t-cherry   { background: linear-gradient(135deg, #ff0844, #ffb199); }
.pfe-theme-tile.t-galaxy   { background: radial-gradient(ellipse at top, #1b2735, #090a0f); }
.pfe-theme-tile.t-lava     { background: radial-gradient(ellipse at bottom, #ff4e00, #8a0000, #240000); }
.pfe-theme-tile.t-ice      { background: linear-gradient(135deg, #e0f7ff, #80c8ff, #1e3c72); }
.pfe-theme-tile.t-candy    { background: linear-gradient(135deg, #ffafbd, #ffc3a0, #fda4ff, #c2e9fb); }
.pfe-theme-tile.t-cyberpunk{ background: linear-gradient(135deg, #0a0014, #240046, #ff006e); }
.pfe-theme-tile.t-mint     { background: linear-gradient(135deg, #00b09b, #96c93d); }
.pfe-theme-tile.t-rose     { background: linear-gradient(135deg, #e0c3fc, #f093fb, #f5576c); }
.pfe-theme-tile.t-deepsea  { background: linear-gradient(180deg, #000428, #004e92); }
.pfe-theme-tile.t-autumn   { background: linear-gradient(135deg, #d38312, #a83279); }

.pfe-bg-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pfe-color-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pfe-field-color { gap: 4px; }
.pfe-color {
    width: 100%; height: 44px;
    border-radius: 10px;
    border: 1px solid var(--pfe-border);
    background: rgba(0,0,0,0.30);
    padding: 4px;
    cursor: pointer;
}

.pfe-toggle {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; user-select: none;
    font-size: 14px;
    padding: 10px 14px;
    background: var(--pfe-surface);
    border: 1px solid var(--pfe-border);
    border-radius: 10px;
}
.pfe-toggle input { width: 18px; height: 18px; accent-color: var(--pfe-accent); cursor: pointer; }

/* ============================================================
   BUTTONS
   ============================================================ */
.pfe-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: var(--pfe-surface-2);
    color: white;
    font-family: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.15s ease;
    white-space: nowrap;
}
.pfe-btn:hover  { background: rgba(255,255,255,0.18); transform: translateY(-1px); }
.pfe-btn:active { transform: translateY(0); }
.pfe-btn-primary { background: linear-gradient(135deg, #0077be, #0099dd); }
.pfe-btn-primary:hover { background: linear-gradient(135deg, #0099dd, #00bbff); }
.pfe-btn-ghost { background: transparent; border: 1px solid var(--pfe-border); }
.pfe-btn-ghost:hover { background: var(--pfe-surface); }
.pfe-btn-secondary { background: rgba(0,119,190,0.18); border: 1px solid rgba(0,119,190,0.4); color: #6cd2ff; }
.pfe-btn-secondary:hover { background: rgba(0,119,190,0.28); }
.pfe-btn-add {
    width: 100%;
    justify-content: center;
    padding: 12px;
    border: 1.5px dashed rgba(255,255,255,0.2);
    background: transparent;
}
.pfe-btn-add:hover { background: var(--pfe-surface); border-color: rgba(255,255,255,0.4); }

.pfe-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* ============================================================
   LINKS-EDITOR
   ============================================================ */
.pfe-links-list { display: flex; flex-direction: column; gap: 8px; }
.pfe-link-item {
    background: rgba(0,0,0,0.20);
    border: 1px solid var(--pfe-border);
    border-radius: 12px;
    padding: 10px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
}
.pfe-link-handle {
    cursor: grab; user-select: none;
    color: var(--pfe-text-mute);
    font-size: 18px; padding: 4px 6px;
}
.pfe-link-handle:active { cursor: grabbing; }
.pfe-link-item.is-dragging { opacity: 0.5; }
.pfe-link-item.is-drop-target { border-color: var(--pfe-accent); background: rgba(0,119,190,0.15); }
.pfe-link-fields {
    display: grid;
    grid-template-columns: 130px 1fr 1fr;
    gap: 6px;
    min-width: 0;
}
@media (max-width: 720px) {
    .pfe-link-fields { grid-template-columns: 1fr; }
}
.pfe-link-fields .pfe-input { padding: 8px 10px; font-size: 13px; }
.pfe-link-remove {
    background: transparent; border: none;
    color: rgba(255,80,80,0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s ease;
}
.pfe-link-remove:hover { background: rgba(255,80,80,0.15); color: #ff8080; }

/* ============================================================
   PREVIEW PANE
   ============================================================ */
.pfe-preview-wrap {
    background: rgba(0,0,0,0.35);
    border-left: 1px solid var(--pfe-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.pfe-preview-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--pfe-border);
    background: linear-gradient(180deg, rgba(0,0,0,0.40), rgba(0,0,0,0.20));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.pfe-preview-title {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--pfe-text-soft);
}
.pfe-preview-tag {
    color: #5fe16a; font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(95,225,106,0.12);
    border-radius: 999px;
}

/* Stage = the in-page preview canvas. profile.css selectors apply
   inside (.pf-bg, .pf-card, .pf-name, etc.) — but absolutely
   positioned so they stay inside this box. */
.pfe-stage {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #0a0a14;
    isolation: isolate; /* contain z-index */
}
.pfe-stage .pf-bg,
.pfe-stage .pf-bg-overlay,
.pfe-stage .pf-particles {
    position: absolute !important;
    inset: 0 !important;
}
.pfe-stage .pf-bg         { z-index: 0 !important; }
.pfe-stage .pf-bg-overlay { z-index: 1 !important; pointer-events: none; }
.pfe-stage .pf-particles  { z-index: 2 !important; }
.pfe-stage .pf-shell {
    position: relative;
    z-index: 3;
    min-height: auto !important;
    padding: 24px 14px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow-y: auto;
    height: 100%;
}
.pfe-stage .pf-card {
    /* Karte behält ihre echte Maximum-Breite (460px) — wird nicht
       gestretcht. So sieht sie EXAKT aus wie auf der echten Seite. */
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    /* Kein scale mehr — die Karte wird in echter Größe gerendert. */
}
.pfe-stage .pf-player,
.pfe-stage .pf-share,
.pfe-stage .pf-yt-host,
.pfe-stage .pf-loading,
.pfe-stage .pf-error { display: none !important; }
.pfe-stage .pf-link { transition: none; }
.pfe-stage .pf-link:hover { transform: none; }
