:root {
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-panel: #f1f5f9;
    --border-color: #e5e7eb;
    --border-highlight: #e53935;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --accent: #e53935;
    --accent-hover: #c62828;
    --accent-light: #fee2e2;
    --primary: #e53935;
    --primary-hover: #c62828;
    --dark-navy: #111827;
    --success: #0d9488;
    --success-bg: #ccfbf1;
    --danger: #dc2626;
    --danger-bg: #fee2e2;
    --warning: #d97706;
    --purple: #7c3aed;
    --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(17, 24, 39, 0.08), 0 4px 10px -2px rgba(17, 24, 39, 0.04);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Inter', 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

/* TOPBAR — DACE CORPORATE HEADER */
.topbar.dace-corporate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.dace-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.corporate-divider {
    width: 1px;
    height: 28px;
    background: #e5e7eb;
}

.corporate-title-block {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.corporate-tag {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #e53935;
    text-transform: uppercase;
}

.corporate-sub {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
}

/* FŐBB MÁRKÁINK SÁV A FEJLÉCBEN */
.topbar-brands-strip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.mini-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 0.3rem 0.75rem 0.3rem 0.45rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

.mini-brand-pill:hover {
    text-decoration: none;
    background: #ffffff;
    border-color: #e53935;
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.1);
}

.mini-brand-pill img,
.mini-brand-svg {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 5px;
    flex-shrink: 0;
}

/* DACE SECTION TAG (dace.hu stílusú piros vonalas címke) */
.dace-section-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #e53935;
    margin-bottom: 0.4rem;
}

.dace-section-tag::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background-color: #e53935;
    margin-right: 10px;
}

/* DACE HERO BANNER AZ ADMINBAN */
.welcome-hero.dace-hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(17, 24, 39, 0.92) 0%, rgba(31, 41, 55, 0.84) 60%, rgba(229, 57, 53, 0.78) 100%),
                url('https://dace.hu/assets/images/uploads/hero_1789742757_headerv2.jpg') center/cover no-repeat;
    border: none;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    margin-bottom: 1.85rem;
    color: #ffffff;
    box-shadow: 0 16px 36px -8px rgba(17, 24, 39, 0.22);
}

.welcome-hero.dace-hero-banner .welcome-title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0.15rem 0 0.4rem;
}

.welcome-hero.dace-hero-banner .welcome-subtitle {
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
}

.welcome-hero.dace-hero-banner .dace-section-tag {
    color: #fca5a5;
}

.welcome-hero.dace-hero-banner .dace-section-tag::before {
    background-color: #ef4444;
}

/* DACE CORPORATE FOOTER A MÁRKÁKKAL */
.dace-corporate-footer {
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 2rem;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-company {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.footer-dace-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-brands {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.footer-brands-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.footer-brand-card {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 0.45rem 0.85rem;
    border-radius: 12px;
}

.footer-brand-card img,
.footer-brand-card .mini-brand-svg {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 6px;
}

.footer-brand-card div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand-card strong {
    font-size: 0.8rem;
    color: #111827;
}

.footer-brand-card small {
    font-size: 0.7rem;
    color: #6b7280;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-panel);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    font-size: 0.86rem;
    color: var(--text-primary);
}

.user-role-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
}

.user-role-dot.superadmin {
    background: var(--purple);
}

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.badge-raw {
    background: var(--accent-light);
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

.badge-live {
    background: var(--success-bg);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.badge-scheduled {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.badge-accent {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
}

.badge-dsp-off {
    background: #dcfce7;
    color: #166534;
}

/* CONTAINER & CARDS */
.main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.text-muted {
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent);
}

/* BUTTONS & INPUTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    color: var(--text-primary);
    background: #f1f5f9;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.42rem 0.85rem;
    font-size: 0.83rem;
    border-radius: 8px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.btn-success {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-success:hover {
    background: var(--accent-hover);
    color: #ffffff;
}

.btn-danger {
    background: var(--danger);
    color: #ffffff;
}

.btn-danger:hover {
    background: #b91c1c;
    color: #ffffff;
}

.btn-accent {
    background: var(--purple);
    color: #ffffff;
}

.btn-outline {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f8fafc;
}

.btn-outline-danger {
    background: #ffffff;
    border-color: #fecaca;
    color: #dc2626;
}

.btn-outline-danger:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    background: #f1f5f9;
    color: var(--text-primary);
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
textarea,
.form-select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-primary);
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.input-sm,
.select-sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.84rem;
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    cursor: pointer;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* AUTH LOGIN */
.auth-wrapper {
    max-width: 480px;
    margin: 3rem auto;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 0.85rem;
}

.quick-login-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.quick-role-btn {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
    text-align: left;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.quick-role-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.quick-role-title {
    font-weight: 700;
    font-size: 0.94rem;
    color: #0f172a;
}

.quick-role-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* WELCOME HERO & TABS */
.welcome-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 1.5rem 1.85rem;
    margin-bottom: 1.75rem;
    gap: 1.25rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.welcome-title {
    margin: 0 0 0.3rem 0;
    font-size: 1.5rem;
    color: #0f172a;
}

.welcome-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tab-switcher {
    display: flex;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    gap: 0.35rem;
}

.tab-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 0.55rem 1.15rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.role-tag {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
}

.role-tag-sa {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
}

.role-tag-user {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.meeting-time-tag {
    font-size: 0.84rem;
    color: #334155;
    background: #f1f5f9;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-weight: 500;
}

.friendly-panel-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

.invite-bar-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: #334155;
}

.empty-state-card {
    text-align: center;
    padding: 3rem 1.5rem;
}

/* USERS TABLE */
.users-table-wrap {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.users-table th,
.users-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.users-table th {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f8fafc;
}

.users-table tr:hover td {
    background: #f8fafc;
}

/* DASHBOARD GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: 1.75rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.section-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #0f172a;
}

.meetings-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.meeting-card {
    border-left: 5px solid #cbd5e1;
    transition: box-shadow 0.2s ease;
}

.meeting-card.meeting-live {
    border-left-color: var(--accent);
    background: #ffffff;
}

.meeting-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.meeting-badges {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
}

.room-code-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    font-size: 0.78rem;
}

.meeting-title {
    margin: 0.15rem 0;
    font-size: 1.25rem;
    color: #0f172a;
}

.meeting-desc {
    margin: 0.25rem 0 0.4rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.meeting-header-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

/* LIVE PEERS & SILENT SHARE PANEL IN DASHBOARD */
.meeting-live-panel {
    margin-top: 1.15rem;
    padding: 1.1rem 1.25rem;
    background: #f8faf9;
    border: 1px solid #e2e8e5;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1.25rem;
}

@media (max-width: 820px) {
    .meeting-live-panel {
        grid-template-columns: 1fr;
    }
}

.peers-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.peer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.peer-chip.role-ghost_presenter {
    border-color: #99f6e4;
    background: #f0fdfa;
    color: #0f766e;
}

.sharing-tag {
    color: var(--accent);
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 600;
}

.silent-control-row {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.silent-control-row .form-select {
    flex: 1;
    min-width: 190px;
}

/* SILENT SHARE ACTIVE BANNER */
.silent-share-banner {
    border: 2px solid var(--accent);
    background: #f0fdfa;
    margin-bottom: 1.5rem;
}

.silent-banner-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.silent-preview-box {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid #ccfbf1;
}

#silentLocalPreview {
    width: 220px;
    height: 125px;
    background: #0f172a;
    border-radius: 10px;
    object-fit: contain;
    border: 1px solid #99f6e4;
}

/* INVITE BAR */
.meeting-invite-bar {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.inline-invite-form {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    align-items: center;
}

.sent-invites-list {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.82rem;
}

.invite-badge {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 0.2rem 0.65rem;
    border-radius: 8px;
    font-weight: 500;
}

.info-guide-card {
    background: #fffbeb;
    border-color: #fde68a;
}

.info-guide-card h4 {
    color: #92400e;
}

/* ============================================================================
   CONFERENCE ROOM — MODERN MEET-INSPIRED CINEMA STAGE
   ============================================================================ */

body.body-conference-room {
    background: #131314;
    color: #e3e3e3;
    overflow: hidden;
}

body.body-conference-room .main-container {
    max-width: none;
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
}

.room-layout.meet-canvas {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #131314;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* FELSŐ MINIMALISTA SÁV */
.meet-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.meet-top-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #e3e3e3;
    font-size: 0.94rem;
    font-weight: 500;
}

.meet-clock {
    font-variant-numeric: tabular-nums;
    color: #e3e3e3;
}

.meet-divider {
    color: #5f6368;
}

.meet-title {
    color: #e3e3e3;
    font-weight: 600;
}

.meet-share-pill {
    background: rgba(13, 148, 136, 0.25);
    border: 1px solid #0d9488;
    color: #5eead4;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.meet-top-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.meet-layout-pills {
    display: inline-flex;
    background: #202124;
    padding: 0.22rem;
    border-radius: 999px;
    border: 1px solid #3c4043;
    gap: 0.2rem;
}

.meet-layout-pills .layout-mode-btn {
    background: transparent;
    border: none;
    color: #9aa0a6;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.meet-layout-pills .layout-mode-btn:hover {
    color: #ffffff;
}

.meet-layout-pills .layout-mode-btn.active {
    background: #3c4043;
    color: #ffffff;
}

.meet-participant-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #202124;
    border: 1px solid #3c4043;
    padding: 0.22rem 0.65rem 0.22rem 0.28rem;
    border-radius: 999px;
    color: #e3e3e3;
    font-size: 0.82rem;
    font-weight: 600;
}

.meet-avatar-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #8e24aa;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 700;
}

/* KÖZÉPSŐ SZÍNPAD TERÜLET */
.meet-stage-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 2rem;
    overflow: hidden;
    min-height: 0;
}

/* PRESENTATION STAGE */
.presentation-stage {
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stage-video-container {
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
}

#stageVideoElement {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Amikor megosztás fut, a résztvevők kamerái NEM látszódnak, csak a megosztás teljes képernyőben! */
.room-layout.has-active-presentation .video-grid {
    display: none !important;
}

/* VIDEÓ CSEMPÉK RÁCSA */
.video-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
    align-items: center;
    justify-items: center;
}

/* Ha 1 résztvevő van (mint a küldött Meet képen): középre rendezett, arányos 16:9-es kártya */
.video-grid.count-1:not(.has-featured-tile) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-grid.count-1:not(.has-featured-tile) .video-tile {
    width: min(1080px, 84vw);
    height: min(640px, 76vh);
    aspect-ratio: 16 / 9;
}

/* Ha 2 résztvevő van Rács módban: két szép, egymás melletti 16:9 kártya */
.video-grid.count-2:not(.has-featured-tile) {
    grid-template-columns: 1fr 1fr;
    max-width: 1460px;
}

.video-grid.count-2:not(.has-featured-tile) .video-tile {
    width: 100%;
    max-height: 72vh;
    aspect-ratio: 16 / 9;
}

/* 2. & 3. MÓD: KIEMELT (BAL OLDALT NAGY KÉP, JOBB OLDALT FÜGGŐLEGESEN A KICSIK) */
.video-grid.has-featured-tile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    grid-template-rows: repeat(auto-fill, minmax(145px, 185px));
    gap: 1rem;
    width: 100%;
    height: calc(100vh - 140px);
    max-height: calc(100vh - 140px);
    align-items: stretch;
}

.video-grid.has-featured-tile.count-1 {
    grid-template-columns: 1fr;
    justify-items: center;
}

.video-grid.has-featured-tile .video-tile.featured-tile {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 140px);
    border: 2px solid #0d9488;
}

.room-layout:fullscreen .video-grid.has-featured-tile,
.room-layout:-webkit-full-screen .video-grid.has-featured-tile,
body.room-immersive-mode .room-layout .video-grid.has-featured-tile,
.room-layout:fullscreen .video-grid.has-featured-tile .video-tile.featured-tile,
.room-layout:-webkit-full-screen .video-grid.has-featured-tile .video-tile.featured-tile,
body.room-immersive-mode .room-layout .video-grid.has-featured-tile .video-tile.featured-tile {
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
}

.video-grid.has-featured-tile .video-tile:not(.featured-tile) {
    grid-column: 2;
    width: 100%;
    height: 165px;
    min-height: 140px;
    max-height: 185px;
}

.video-tile {
    position: relative;
    width: 100%;
    height: 100%;
    background: #202124;
    border: 2px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #202124;
}

.tile-conn-status {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background: rgba(19, 19, 20, 0.72);
    color: #e3e3e3;
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 5;
    pointer-events: none;
}

.tile-conn-status small {
    color: #fca5a5;
    margin-top: 0.35rem;
    font-size: 0.78rem;
}

/* Aktív beszélő finom türkiz/zöld keret */
.video-tile.is-speaking {
    border-color: #2dd4bf !important;
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35), 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* Csempe gombok (Pin gomb csak hoverre vagy ha aktív jelenik meg, hogy tiszta maradjon a kép) */
.tile-overlay-top {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-tile:hover .tile-overlay-top,
.video-tile.is-pinned .tile-overlay-top {
    opacity: 1;
}

.btn-pin-tile {
    background: rgba(32, 33, 36, 0.78);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.15s ease;
}

.btn-pin-tile:hover {
    background: #3c4043;
    transform: scale(1.05);
}

.video-tile.is-pinned .btn-pin-tile {
    background: #0d9488;
    border-color: #5eead4;
}

.tile-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.65rem 0.95rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.peer-name-tag {
    font-size: 0.88rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.vu-meter-wrap {
    width: 54px;
    height: 6px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    overflow: hidden;
}

.vu-meter-bar {
    height: 100%;
    width: 0%;
    background: #2dd4bf;
    transition: width 0.06s linear;
}

/* ALSÓ LEBEGŐ VEZÉRLŐSÁV (Meet-stílusú kapszula dokk) */
.meet-bottombar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.75rem 1.1rem;
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.meet-bottom-left,
.meet-bottom-right {
    display: flex;
    align-items: center;
    min-width: 210px;
}

.meet-bottom-right {
    justify-content: flex-end;
}

.meet-quick-gain {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #202124;
    border: 1px solid #3c4043;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    color: #e3e3e3;
}

.meet-gain-range {
    width: 85px;
    accent-color: #2dd4bf;
    cursor: pointer;
}

.meet-gain-val {
    min-width: 36px;
    font-weight: 600;
    color: #5eead4;
}

.meet-control-Dock {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #202124;
    border: 1px solid #3c4043;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.meet-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #3c4043;
    color: #e3e3e3;
    border: none;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.meet-icon-btn:hover {
    background: #4f5357;
    color: #ffffff;
}

.meet-icon-btn.active {
    background: #3c4043;
    color: #ffffff;
}

.meet-icon-btn.muted,
.meet-icon-btn.btn-muted {
    background: #ea4335;
    color: #ffffff;
}

.meet-icon-btn.sharing {
    background: #0d9488;
    color: #ffffff;
}

.meet-leave-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ea4335;
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
}

.meet-leave-pill:hover {
    background: #d93025;
    color: #ffffff;
    text-decoration: none;
}

.mobile-only-fs-btn {
    display: none;
}

.meet-corner-btn {
    background: #202124;
    color: #e3e3e3;
    border: 1px solid #3c4043;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.meet-corner-btn:hover {
    background: #3c4043;
    color: #ffffff;
}

/* FELUGRÓ BEÁLLÍTÁSOK PANEL (POPOVER) */
.meet-settings-popover {
    position: fixed;
    bottom: 86px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    max-width: 92vw;
    background: #202124;
    border: 1px solid #3c4043;
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    color: #e3e3e3;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    z-index: 1200;
}

.popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.7rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #3c4043;
    font-size: 0.92rem;
}

.popover-close-btn {
    background: transparent;
    border: none;
    color: #9aa0a6;
    font-size: 1rem;
    cursor: pointer;
}

.popover-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.popover-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.popover-field label {
    font-size: 0.78rem;
    color: #bdc1c6;
    font-weight: 600;
}

.meet-select {
    background: #303134;
    border: 1px solid #5f6368;
    color: #e3e3e3;
    padding: 0.48rem 0.7rem;
    border-radius: 8px;
    font-size: 0.83rem;
    outline: none;
}

.remote-vol-control {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(32, 33, 36, 0.75);
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
}

.remote-vol-slider {
    width: 70px;
    accent-color: #2dd4bf;
    cursor: pointer;
}

/* TELJES KÉPERNYŐS MÓD ÉS 2 MP AUTOMATIKUS GOMB-ELREJTÉS */
.room-layout:fullscreen,
.room-layout:-webkit-full-screen,
body.room-immersive-mode .room-layout {
    position: fixed;
    inset: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: #131314;
    z-index: 900;
}

.room-layout:fullscreen .meet-stage-area,
.room-layout:-webkit-full-screen .meet-stage-area,
body.room-immersive-mode .room-layout .meet-stage-area {
    width: 100vw;
    height: 100vh;
    padding: 12px;
}

.room-layout:fullscreen .room-floating-top,
.room-layout:-webkit-full-screen .room-floating-top,
body.room-immersive-mode .room-layout .room-floating-top {
    position: fixed;
    top: 8px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(32, 33, 36, 0.88);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.room-layout:fullscreen .room-floating-bottom,
.room-layout:-webkit-full-screen .room-floating-bottom,
body.room-immersive-mode .room-layout .room-floating-bottom {
    position: fixed;
    bottom: 8px;
    left: 16px;
    right: 16px;
    z-index: 1000;
}

.room-layout.controls-auto-hidden .room-floating-top {
    opacity: 0 !important;
    transform: translateY(-25px);
    pointer-events: none !important;
}

.room-layout.controls-auto-hidden .room-floating-bottom,
.room-layout.controls-auto-hidden .meet-settings-popover {
    opacity: 0 !important;
    transform: translateY(25px);
    pointer-events: none !important;
}

.room-layout.controls-auto-hidden {
    cursor: none;
}

/* TOAST NOTIFICATION */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.toast {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-left: 5px solid var(--primary);
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================================================
   MOBILE & TABLET RESPONSIVE DESIGN (ADMIN, AUTH & CONFERENCE ROOM)
   ============================================================================ */

/* Dinamikus viewport magasság mobilon (Safari / Chrome címsor kezelése) */
@supports (height: 100dvh) {
    body.body-conference-room .main-container,
    .room-layout.meet-canvas,
    .room-layout:fullscreen,
    body.room-immersive-mode .room-layout {
        height: 100dvh !important;
    }
}

/* 1. TABLET ÉS KISEBB LAPTOP (max 1024px) */
@media (max-width: 1024px) {
    .topbar.dace-corporate-header {
        padding: 0.65rem 1.15rem;
        gap: 0.75rem;
    }

    .topbar-brands-strip {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .mini-brand-pill {
        flex-shrink: 0;
    }

    .main-container {
        padding: 1.1rem 1rem;
    }

    .welcome-hero.dace-hero-banner {
        padding: 1.35rem 1.4rem;
        border-radius: 16px;
    }

    .welcome-hero.dace-hero-banner .welcome-title {
        font-size: 1.35rem;
    }

    /* Konferenciaszoba: Beszélő / Pin nézetben a kis kamerák alulra kerülnek vízszintes sávba */
    .video-grid.has-featured-tile {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr 135px !important;
        height: calc(100dvh - 125px);
        max-height: calc(100dvh - 125px);
    }

    .video-grid.has-featured-tile .video-tile.featured-tile {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        max-height: calc(100dvh - 275px);
    }

    .video-grid.has-featured-tile .video-tile:not(.featured-tile) {
        grid-column: auto !important;
        grid-row: 2 !important;
        height: 130px !important;
        min-height: 120px !important;
    }
}

/* 2. MOBILTELEFON (max 768px) — NULLA VÍZSZINTES GÖRGETÉS, MINDEN 100%-RA TÖRDELVE */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .main-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.75rem !important;
        margin: 0 !important;
        overflow-x: hidden;
    }

    .dashboard-grid,
    .dashboard-main,
    .dashboard-sidebar,
    .meetings-stack,
    .card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* iOS Safari automatikus zoom megakadályozása input mezőknél (min 16px font-size) */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="datetime-local"],
    textarea,
    .form-select,
    .meet-select {
        font-size: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* ADMIN FEJLÉC MOBILON: Kompakt, a márkaszalagot a fejlécben elrejtjük (a láblécben ott van) */
    .topbar.dace-corporate-header {
        padding: 0.55rem 0.75rem !important;
        gap: 0.5rem !important;
        flex-wrap: nowrap;
    }

    .topbar-brands-strip {
        display: none !important;
    }

    .dace-logo-img {
        height: 24px !important;
    }

    .corporate-divider,
    .corporate-title-block {
        display: none !important;
    }

    .topbar-user {
        gap: 0.35rem;
        margin-left: auto;
    }

    .user-pill {
        padding: 0.25rem 0.55rem;
        font-size: 0.75rem;
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-pill .role-tag {
        display: none !important;
    }

    /* ADMIN WELCOME HERO & FÜLEK (Nincs oldalra húzogatás, egymás alá vagy 100%-ra tördelve!) */
    .welcome-hero.dace-hero-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem !important;
        margin-bottom: 1rem;
        border-radius: 14px;
    }

    .welcome-hero.dace-hero-banner .welcome-title {
        font-size: 1.2rem;
        word-break: break-word;
    }

    .welcome-hero.dace-hero-banner .welcome-subtitle {
        font-size: 0.84rem;
    }

    .welcome-actions {
        width: 100%;
    }

    .tab-switcher {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.35rem;
    }

    .tab-btn {
        width: 100%;
        white-space: normal;
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        text-align: center;
    }

    /* ADMIN KÁRTYÁK ÉS GOMBOK */
    .card {
        padding: 0.95rem !important;
        border-radius: 14px;
        box-sizing: border-box;
    }

    .meeting-title {
        font-size: 1.1rem;
        word-break: break-word;
    }

    .meeting-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .meeting-header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
    }

    .meeting-header-actions .btn-primary {
        grid-column: 1 / -1;
        padding: 0.7rem;
    }

    .meeting-live-panel {
        grid-template-columns: 1fr !important;
        padding: 0.75rem !important;
        gap: 0.75rem;
    }

    .silent-control-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .silent-control-row .form-select,
    .silent-control-row .btn {
        width: 100% !important;
        min-width: 0 !important;
    }

    .silent-preview-box {
        flex-direction: column;
        align-items: flex-start;
    }

    #silentLocalPreview {
        width: 100%;
        height: 150px;
    }

    .inline-invite-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .inline-invite-form input,
    .inline-invite-form .btn {
        width: 100% !important;
    }

    .sent-invites-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .invite-badge {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    /* TÁBLÁZATOK MOBILON: Oldalra görgetés helyett kártyásított sorok! */
    .users-table-wrap {
        overflow-x: hidden;
    }

    .users-table,
    .users-table thead,
    .users-table tbody,
    .users-table tr,
    .users-table td {
        display: block;
        width: 100%;
    }

    .users-table thead {
        display: none;
    }

    .users-table tr {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 0.75rem;
        margin-bottom: 0.65rem;
    }

    .users-table td {
        padding: 0.25rem 0 !important;
        border-bottom: none !important;
        text-align: left !important;
        word-break: break-word;
    }

    /* LÁBLÉC MOBILON */
    .dace-corporate-footer {
        padding: 1rem 0.75rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .footer-brands {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .footer-brand-card {
        width: 100%;
    }

    /* ========================================================================
       KONFERENCIASZOBA MOBIL NÉZET (PORTRAIT & LANDSCAPE)
       ======================================================================== */
    .meet-topbar {
        padding: 0.45rem 0.65rem !important;
        gap: 0.35rem !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
    }

    .meet-top-left {
        font-size: 0.78rem;
        gap: 0.35rem;
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .meet-clock,
    .meet-divider {
        display: none;
    }

    .meet-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.85rem;
    }

    .meet-top-right {
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .meet-layout-pills {
        padding: 0.15rem;
        gap: 0.12rem;
    }

    .meet-layout-pills .layout-mode-btn {
        padding: 0.24rem 0.48rem;
        font-size: 0.7rem;
    }

    .meet-participant-pill {
        padding: 0.16rem 0.45rem 0.16rem 0.2rem;
        font-size: 0.74rem;
        gap: 0.3rem;
    }

    .meet-avatar-circle {
        width: 20px;
        height: 20px;
        font-size: 0.68rem;
    }

    /* KÖZÉPSŐ SZÍNPAD TERÜLET: flex:1 + min-height:0 -> SOHA nem tolja le vagy vágja le a csempét! */
    .meet-stage-area {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        width: 100% !important;
        padding: 0.3rem 0.55rem !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Videócsempék mobilon: 100% magasság a stage-area-n belül, fix 100dvh számolgatás nélkül! */
    .video-grid:not(.has-featured-tile) {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        overflow: hidden !important;
    }

    .video-grid.count-1:not(.has-featured-tile) {
        display: flex !important;
    }

    .video-grid.count-1:not(.has-featured-tile) .video-tile {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        aspect-ratio: auto !important;
    }

    .video-grid.count-2:not(.has-featured-tile) {
        grid-template-columns: 1fr !important;
        grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) !important;
    }

    .video-grid.count-2:not(.has-featured-tile) .video-tile {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }

    .video-grid.count-many:not(.has-featured-tile) {
        grid-template-columns: 1fr 1fr !important;
        grid-auto-rows: minmax(0, 1fr) !important;
    }

    /* MOBIL KIEMELT (BESZÉLŐ / RÖGZÍTETT) NÉZET: Felül a nagy fő-kép, alul a kicsi(k) */
    .video-grid.has-featured-tile {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        gap: 0.5rem !important;
        overflow: hidden !important;
    }

    .video-grid.has-featured-tile .video-tile.featured-tile {
        flex: 1 1 0% !important;
        width: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        order: 1 !important;
        border: 2px solid #0d9488 !important;
    }

    .video-grid.has-featured-tile .video-tile:not(.featured-tile) {
        flex: 0 0 120px !important;
        width: 100% !important;
        height: 120px !important;
        min-height: 110px !important;
        max-height: 125px !important;
        order: 2 !important;
    }

    .video-tile {
        min-height: 0 !important;
        border-radius: 14px !important;
    }

    /* Mobilon a Pin (📌) gomb mindig jól látszik a csempe jobb felső sarkában */
    .tile-overlay-top {
        opacity: 1 !important;
        top: 10px !important;
        right: 10px !important;
    }

    .tile-overlay-bottom {
        padding: 0.45rem 0.75rem !important;
        bottom: 0 !important;
    }

    .peer-name-tag {
        font-size: 0.8rem !important;
    }

    /* ALSÓ DOKK MOBILON: Egyetlen középső kapszula, amiből SEMMI nem lóg ki jobbra! */
    .meet-bottombar {
        flex-shrink: 0 !important;
        padding: 0.35rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px)) !important;
        justify-content: center !important;
        width: 100% !important;
    }

    /* A bal és jobb oldali külön konténereket elrejtjük mobilon (a teljes képernyő gomb bekerült a kapszulába!) */
    .meet-bottom-left,
    .meet-bottom-right {
        display: none !important;
    }

    .mobile-only-fs-btn {
        display: inline-flex !important;
    }

    .meet-control-Dock {
        display: flex !important;
        justify-content: space-evenly !important;
        align-items: center !important;
        width: auto !important;
        max-width: calc(100vw - 16px) !important;
        padding: 0.35rem 0.55rem !important;
        gap: 0.4rem !important;
    }

    .meet-icon-btn {
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    /* Mobilon a gombok szöveges feliratát elrejtjük, csak a tiszta kör alakú ikonok látszanak */
    .meet-icon-btn .btn-label {
        display: none !important;
    }

    .meet-icon-btn .btn-icon {
        font-size: 1.15rem !important;
    }

    .meet-leave-pill {
        height: 42px !important;
        padding: 0 0.95rem !important;
        border-radius: 999px !important;
        font-size: 0.82rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.3rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* BEÁLLÍTÁSOK PANEL MOBILON (Bottom-sheet jellegű) */
    .meet-settings-popover {
        bottom: 68px !important;
        width: calc(100vw - 20px) !important;
        max-height: 70dvh !important;
        overflow-y: auto !important;
        padding: 1rem !important;
    }

    .toast-container {
        left: 12px;
        right: 12px;
        bottom: 70px;
    }
}
