/* =========================================================
   Vibrafy Host Web — Estilos del Panel de Control
   ========================================================= */

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

:root,
[data-theme="dark"] {
    --bg-main: #0c0d14;
    --bg-surface: #151722;
    --bg-surface-elevated: #1e2130;
    --bg-glass: rgba(26, 29, 43, 0.75);

    --color-primary: #8b5cf6;
    --color-primary-glow: rgba(139, 92, 246, 0.35);
    --color-accent: #ec4899;
    --color-accent-glow: rgba(236, 72, 153, 0.35);
    
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #272a3d;

    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
}

[data-theme="light"] {
    --bg-main: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #e2e8f0;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --color-primary: #7c3aed;
    --color-primary-glow: rgba(124, 58, 237, 0.25);
    --color-accent: #db2777;
    --color-accent-glow: rgba(219, 39, 119, 0.25);
    
    --color-success: #059669;
    --color-danger: #dc2626;
    --color-warning: #d97706;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* ─── Modal Backdrop & Auth / Creation Cards ─────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 13, 20, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

#settings-modal,
#upgrade-modal,
#console-modal {
    z-index: 2500;
}

#confirm-modal {
    z-index: 9999;
}

[data-theme="light"] .modal-backdrop {
    background: rgba(15, 23, 42, 0.55);
}

.auth-card,
.party-create-card,
.settings-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 2.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
}

.auth-top-bar {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
}

/* ─── Settings Gear Button (Ultra-Fine Minimalist Line Art) ─ */
.btn-settings {
    background: transparent;
    border: none;
    color: var(--text-muted);
    opacity: 0.45;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.3s ease;
    user-select: none;
    box-sizing: border-box;
    border-radius: 0;
    box-shadow: none;
}

.btn-settings svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.2 !important;
    transition: stroke 0.2s ease, transform 0.3s ease;
}

.btn-settings:hover {
    opacity: 0.9;
    color: var(--text-main);
    transform: rotate(30deg);
    background: transparent;
    border-color: transparent;
}

/* ─── Settings Modal Layout ──────────────────────────────── */
.settings-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.settings-modal-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: var(--color-danger);
}

.settings-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.settings-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.settings-pill-switch {
    display: flex;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 4px;
}

.settings-pill-opt {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.settings-pill-opt:hover:not(.active) {
    color: var(--text-main);
}

.settings-pill-opt.active {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px var(--color-primary-glow);
}

.settings-modal-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.settings-legal-link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: color 0.2s;
}

.settings-legal-link:hover {
    color: var(--text-main);
}

.settings-actions {
    margin-top: 1.2rem;
}

.brand {
    text-align: center;
    margin-bottom: 1.8rem;
}

.brand h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.brand-icon-lg {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    display: inline-block;
    vertical-align: middle;
}

.brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.btn-google {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.2rem;
}

.btn-google:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-google:active {
    transform: translateY(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.auth-divider span {
    padding: 0 0.75rem;
}

.auth-tabs {
    display: flex;
    background: var(--bg-main);
    border-radius: var(--radius-md);
    padding: 0.25rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--bg-surface-elevated);
    color: var(--text-main);
}

.auth-form,
.party-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

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

.form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.8rem !important;
    line-height: 1.4;
    user-select: none;
}

.custom-checkbox {
    width: 17px !important;
    height: 17px !important;
    accent-color: #a855f7;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-text {
    color: var(--text-muted);
    font-weight: 500;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input:not([type="checkbox"]) {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    outline: none;
}

.form-group input:not([type="checkbox"]):focus {
    border-color: var(--color-primary);
}

.error-msg {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--color-danger);
    color: #fca5a5;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn--primary {
    background: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    filter: brightness(1.1);
}

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

.btn--ghost:hover {
    background: var(--bg-surface-elevated);
    color: var(--text-main);
}

.btn--small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn--block {
    width: 100%;
}

/* ─── Dashboard Layout ───────────────────────────────────── */
.dashboard-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    width: 100%;
}

.host-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 0.4rem clamp(1rem, 2vw, 1.8rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: clamp(60px, 8vh, 72px);
    min-height: clamp(60px, 8vh, 72px);
    contain: layout paint;
    flex-shrink: 0;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    height: 100%;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 48%;
    height: 100%;
    pointer-events: none;
}

.header-party-name {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    line-height: 1.25;
    padding: 0.1rem 0.2rem 0.25rem 0.2rem;
    box-sizing: border-box;
}

.logo {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    user-select: none;
    line-height: 1.1;
}

.brand-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    display: inline-block;
    vertical-align: middle;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    height: 100%;
}

.user-menu {
    display: flex;
    align-items: center;
    border-left: 1px solid var(--border-color);
    padding-left: 0.65rem;
    height: 26px;
    box-sizing: border-box;
}

.btn-logout {
    background: transparent;
    border: none;
    color: var(--text-muted);
    opacity: 0.45;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
    user-select: none;
    box-sizing: border-box;
    border-radius: 0;
    box-shadow: none;
}

.btn-logout svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.3 !important;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.btn-logout:hover {
    opacity: 0.95;
    color: var(--color-danger, #ef4444);
    transform: translateX(2px);
    background: transparent;
    border-color: transparent;
}

/* ─── Main Workspace (Single Viewport Auto-fit) ───────────── */
.host-main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(0.7rem, 1.2vw, 1.2rem);
    padding: clamp(0.5rem, 1vh, 0.9rem) clamp(0.8rem, 1.8vw, 1.6rem);
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* ─── Left: Player Column ────────────────────────────────── */
.player-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    min-height: 0;
    height: 100%;
    gap: clamp(0.4rem, 1vh, 0.7rem);
    justify-content: flex-start;
}

.player-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100% - 95px); /* Garantiza espacio libre para la tarjeta de controles y copyright */
    flex: 1 1 auto;
    min-height: 0;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transform: translateZ(0);
    margin: 0 auto;
}

.player-container iframe,
.player-container > div:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translateZ(0);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.player-container.is-buffering iframe,
.player-container.is-buffering > div:first-child {
    opacity: 0 !important;
}

/* ─── Seamless Black Loading Curtain between Tracks ──────── */
.player-loading-curtain {
    position: absolute;
    inset: 0;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.player-loading-curtain.active {
    opacity: 1;
    pointer-events: auto;
}

.player-loading-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    user-select: none;
}

.player-loading-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 0 35px var(--color-primary-glow, rgba(139, 92, 246, 0.45));
    animation: vibrafyLogoPulse 1.4s ease-in-out infinite alternate;
}

.player-loading-text {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: inherit;
    user-select: none;
    line-height: 1.1;
}

@keyframes vibrafyLogoPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
        box-shadow: 0 0 20px var(--color-primary-glow, rgba(139, 92, 246, 0.3));
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
        box-shadow: 0 0 45px var(--color-primary-glow, rgba(139, 92, 246, 0.65));
    }
}

.player-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 13, 20, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.btn-start-party {
    font-size: 1.8rem;
    font-weight: 800;
    padding: 1.2rem 3rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.btn-start-party:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px var(--color-primary-glow);
}

.overlay-hint {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
    text-align: center;
}

.empty-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 13, 20, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.empty-content {
    text-align: center;
    max-width: 340px;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.empty-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.empty-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ─── Now Playing Card & Controls ────────────────────────── */
.now-playing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(0.5rem, 1.2vh, 0.9rem) clamp(0.8rem, 1.5vw, 1.4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
}

.now-playing-info {
    flex: 1;
    overflow: hidden;
}

.status-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.2);
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 0.25rem;
}

.status-tag.playing {
    background: rgba(16, 185, 129, 0.2);
    color: var(--color-success);
}

.track-title {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.track-channel {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.15rem;
}

.host-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.host-footer-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: -0.2rem;
    padding: 0.1rem 0;
    flex-shrink: 0;
}

.host-footer-copyright span,
.host-footer-copyright {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-align: center;
    opacity: 0.85;
    user-select: none;
    gap: 0.4rem;
}

.host-legal-link {
    color: #cfc8ef;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.74rem;
    transition: color 0.2s;
}

.host-legal-link:hover {
    color: #ffffff;
}

.auth-legal-notice {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-top: 0.85rem;
    text-align: center;
}

.legal-notice-link {
    color: #06b6d4;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
    transition: color 0.2s;
}

.legal-notice-link:hover {
    color: #ede9fe;
}

.ctrl-btn {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.12) 100%), var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0;
    border-radius: var(--radius-md);
    font-size: 1.12rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.12s, box-shadow 0.2s;
    height: 38px;
    aspect-ratio: 4 / 3;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    box-sizing: border-box;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ctrl-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
    color: var(--text-main);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
    transition: color 0.2s, transform 0.1s;
}

.ctrl-btn:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.08) 100%), var(--bg-surface-elevated);
    border-color: rgba(139, 92, 246, 0.45);
    border-top-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ctrl-btn:hover svg {
    color: #ffffff;
}

.ctrl-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.3);
    background: var(--bg-surface-elevated);
}

.ctrl-btn--danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--color-danger);
    color: #fca5a5;
}

.ctrl-btn--danger:hover {
    background: var(--color-danger);
    color: white;
}

/* ─── Right: Sidebar Column ──────────────────────────────── */
.sidebar-column {
    display: flex;
    flex-direction: column;
    width: 320px;
    min-width: 320px;
    flex-shrink: 0;
    min-height: 0;
    height: 100%;
    gap: clamp(0.5rem, 1vh, 0.9rem);
}

/* ─── Access Card (QR + Code 50/50 Split) ─────────────────── */
.access-card {
    background: linear-gradient(145deg, var(--bg-surface), #1e1b38);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0 10px 0 clamp(0.5rem, 1vw, 0.8rem);
    height: 122px;
    min-height: 122px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    transition: height 0.38s cubic-bezier(0.34, 1.25, 0.64, 1), min-height 0.38s cubic-bezier(0.34, 1.25, 0.64, 1), padding 0.38s cubic-bezier(0.34, 1.25, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

[data-theme="light"] .access-card {
    background: linear-gradient(145deg, var(--bg-surface), #f1f5f9);
}

.access-card.expanded {
    padding: 0 7px 0 clamp(0.6rem, 1.2vw, 1rem);
    height: 167px;
    min-height: 167px;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 18px rgba(124, 58, 237, 0.25);
}

.access-col {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
}

.access-col--left {
    flex-direction: column;
    text-align: center;
    padding: 0 0.3rem;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.access-card.expanded .access-col--left {
    justify-content: center;
    padding-top: 0;
}

.access-col--right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.access-card.expanded .access-col--right {
    justify-content: flex-end;
}

.access-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    text-transform: uppercase;
    text-align: center;
}

.party-code-box {
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ede9fe;
    margin: 0.08rem 0;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 0 10px rgba(237, 233, 254, 0.35);
}

.access-instruction {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.25;
    margin-top: 0.12rem;
    text-align: center;
}

.access-instruction strong {
    color: var(--text-main);
}

.qr-wrapper {
    background: #cfc8ef;
    padding: 6px;
    width: 102px;
    height: 102px;
    box-sizing: border-box;
    border-radius: var(--radius-md);
    border: 1px solid rgba(207, 200, 239, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    margin: 0 auto;
    cursor: pointer;
    transform-origin: center center;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease;
    user-select: none;
    position: relative;
    flex-shrink: 0;
}

.qr-wrapper:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.access-card.expanded .qr-wrapper {
    margin: 0 0 0 auto;
    transform-origin: center right;
    transform: scale(1.5);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.qr-wrapper #qr-container img,
.qr-wrapper #qr-container canvas {
    display: block;
    width: 90px !important;
    height: 90px !important;
    border-radius: 4px;
}

/* ─── Download Poster Button (Icon Only under Access Code) ── */
.btn-qr-download {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 36px;
    height: 0;
    max-height: 0;
    padding: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.85);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), height 0.28s ease, max-height 0.28s ease, margin 0.28s ease, visibility 0.28s step-end, color 0.2s;
    flex-shrink: 0;
    margin: 0 auto;
    overflow: hidden;
    z-index: 15;
}

.access-card.expanded .btn-qr-download {
    height: 32px;
    max-height: 32px;
    margin-top: 0.45rem;
    margin-bottom: 0;
    opacity: 0.75;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 0.35s cubic-bezier(0.34, 1.3, 0.64, 1) 0.08s, transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1) 0.08s, height 0.35s ease, max-height 0.35s ease, margin 0.35s ease, visibility 0s step-start, color 0.2s;
}

.btn-qr-download:hover {
    color: var(--text-main);
    opacity: 1;
    transform: translateY(-1px) scale(1.12);
}

.btn-qr-download:active {
    transform: translateY(1px) scale(0.94);
}

.btn-qr-download svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* ─── Queue Card ─────────────────────────────────────────── */
.queue-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(0.6rem, 1.2vh, 1rem);
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.queue-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
}

.queue-count {
    font-size: 0.72rem;
    background: var(--bg-surface-elevated);
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-weight: 700;
}

.queue-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
    -webkit-overflow-scrolling: touch; /* Smooth touch scrolling */
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.32rem 0.6rem;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
    will-change: transform;
}

.queue-item:hover {
    border-color: var(--color-primary);
    transform: translateX(2px);
}

.queue-item--climbing {
    box-shadow: 0 4px 18px rgba(236, 72, 153, 0.5), 0 0 2px rgba(236, 72, 153, 0.85) !important;
    border-color: var(--color-primary) !important;
}

.queue-item__thumb {
    width: 42px;
    height: 30px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #000;
    flex-shrink: 0;
}

.queue-item__details {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.queue-item__title {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.15;
}

.queue-item__meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.05rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Custom Vote Status Badges (Positive, Neutral, Negative) */
.queue-item__votes {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    flex-shrink: 0;
    user-select: none;
    border: 1px solid transparent;
    transition: transform 0.2s, background 0.2s;
}

.vote-badge-icon {
    font-size: 0.85rem;
    line-height: 1;
}

.vote-badge-num {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.custom-vote-svg {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.custom-vote-svg.svg-pos {
    filter: drop-shadow(0 0 4px rgba(236, 72, 153, 0.45));
}

.custom-vote-svg.svg-neg {
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.45));
}

.custom-vote-svg.svg-neutral {
    opacity: 0.85;
}

/* 1. Positive (+1 or more) */
.queue-item__votes.vote-badge--positive {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.45);
    color: #c084fc;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .queue-item__votes.vote-badge--positive {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.35);
    color: #7c3aed;
}

/* 2. Neutral (0 votes) */
.queue-item__votes.vote-badge--neutral {
    background: var(--bg-surface-elevated);
    border-color: var(--border-color);
    color: var(--text-muted);
}

/* 3. Negative (-1 or less) */
.queue-item__votes.vote-badge--negative {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

[data-theme="light"] .queue-item__votes.vote-badge--negative {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: #dc2626;
}

.empty-queue-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: auto 0;
    padding: 2rem 0;
}

/* ─── Scrollbars & Helpers ───────────────────────────────── */
.queue-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.hidden {
    display: none !important;
}

/* ─── Responsive & Widescreen / Smart TV Support ─────────── */
/* Landscape Displays (Desktop, Smart TVs, Laptops & Mobile in Landscape 90°) */
@media (orientation: landscape) {
    .dashboard-container {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    .host-main {
        grid-template-columns: minmax(0, 1fr) clamp(280px, 32vw, 340px) !important;
        height: calc(100vh - clamp(48px, 6.5vh, 64px));
        gap: clamp(0.5rem, 1.2vw, 1.2rem);
        padding: clamp(0.4rem, 1vh, 0.9rem) clamp(0.6rem, 1.8vw, 1.6rem);
    }

    .sidebar-column {
        width: clamp(280px, 32vw, 340px) !important;
        min-width: 280px !important;
        flex-shrink: 0;
    }
}

/* Large Widescreen displays (1080p, 4K, Large TVs >= 1400px) */
@media (min-width: 1400px) and (orientation: landscape) {
    .host-main {
        grid-template-columns: minmax(0, 1fr) 360px !important;
        gap: clamp(1rem, 1.5vw, 1.8rem);
        padding: clamp(0.8rem, 1.5vh, 1.5rem) clamp(1.2rem, 2vw, 2.2rem);
    }

    .sidebar-column {
        width: 360px !important;
        min-width: 360px !important;
    }
}

/* Portrait Mobile & Tablets (Single column layout with 100% symmetric margins) */
@media (orientation: portrait), (max-width: 600px) {
    .host-header {
        padding: 0.35rem 0.6rem !important;
        height: 56px !important;
        min-height: 56px !important;
    }

    .brand-text {
        display: none !important;
    }

    .brand-icon {
        width: 28px !important;
        height: 28px !important;
        border-radius: 6px !important;
    }

    .header-left {
        gap: 0 !important;
    }

    .header-right {
        gap: 0.2rem !important;
    }

    .user-menu {
        padding-left: 0.2rem !important;
        border-left: none !important;
    }

    .btn-settings,
    .btn-logout {
        width: 28px !important;
        height: 28px !important;
    }

    .btn-settings svg {
        width: 17px !important;
        height: 17px !important;
    }

    .btn-logout svg {
        width: 16px !important;
        height: 16px !important;
    }

    .header-center {
        max-width: 74% !important;
        width: 74% !important;
    }

    .header-party-name {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        padding: 0 0.1rem 0.15rem 0.1rem !important;
    }

    .dashboard-container {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .host-main {
        grid-template-columns: 1fr !important;
        padding: 0.8rem 1rem 2.5rem 1rem;
        gap: 1rem;
        height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .player-column {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto;
        gap: 0.8rem;
    }

    .player-container {
        width: 100% !important;
        max-width: 100% !important;
        flex: none;
        padding-bottom: 56.25%;
        max-height: none;
        height: 0;
    }

    .now-playing-card {
        width: 100% !important;
        box-sizing: border-box;
        padding: 0.75rem 1rem;
    }

    .sidebar-column {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto;
        flex: none;
        gap: 1rem;
    }

    .access-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .queue-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        min-height: 280px;
    }

    .queue-list {
        max-height: 380px;
    }
}

/* ─── Plan Indicator Pill (Access Card) ──────────────────── */
.access-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 999px;
    padding: 0.12rem 0.55rem;
    margin: 0.15rem auto;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 700;
    color: #c4b5fd;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
    outline: none;
}

.access-plan-pill:hover,
.access-plan-pill:focus-visible {
    background: rgba(139, 92, 246, 0.22);
    border-color: rgba(168, 85, 247, 0.6);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.plan-pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #a855f7;
    box-shadow: 0 0 6px #a855f7;
}

/* ─── Upgrade Modal (Mockup) ─────────────────────────────── */
.upgrade-modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.8rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.upgrade-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.upgrade-preserve-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(6, 182, 212, 0.12) 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #ede9fe;
    font-weight: 600;
}

.settings-plan-badge {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ede9fe;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-settings-upgrade {
    background: transparent;
    border: none;
    color: #c084fc;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.2rem 0;
    margin-top: 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.btn-settings-upgrade:hover {
    color: #ffffff;
}

.upgrade-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.upgrade-plan-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.upgrade-plan-item.popular {
    border-color: rgba(236, 72, 153, 0.5);
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.15);
}

.upgrade-plan-badge {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.popular-badge {
    color: var(--color-primary);
}

.upgrade-plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.upgrade-plan-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-period {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.upgrade-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex: 1;
}

.upgrade-plan-features strong {
    color: #ffffff;
}

.upgrade-notice-box {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    text-align: center;
    font-size: 0.84rem;
    color: #ddd6fe;
}

/* Dev Plan Switcher */
.dev-plan-box {
    background: rgba(6, 182, 212, 0.08);
    border: 1px dashed rgba(6, 182, 212, 0.35);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.dev-plan-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #67e8f9;
    letter-spacing: 0.05em;
}

.dev-plan-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-dev-plan {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-dev-plan:hover {
    background: rgba(6, 182, 212, 0.3);
    border-color: #67e8f9;
}

/* ─── Console Modal ──────────────────────────────────────── */
.btn--console {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-color: rgba(236, 72, 153, 0.5);
    color: #ffffff;
    font-weight: 700;
}

.btn--console:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.35) 0%, rgba(139, 92, 246, 0.35) 100%);
    border-color: var(--color-primary);
}

.console-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.8rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.console-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.console-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.console-status-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.console-status-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.status-label {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.status-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}

.highlight-plan {
    color: var(--color-primary);
}

.highlight-time {
    color: #38bdf8;
    font-variant-numeric: tabular-nums;
}

.console-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.console-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.console-section-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.console-section-count {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-primary);
    background: rgba(236, 72, 153, 0.12);
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
}

.console-rename-form {
    display: flex;
    gap: 0.6rem;
}

.console-rename-feedback {
    font-size: 0.78rem;
    color: #34d399;
}

.console-guests-list,
.console-queue-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.console-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
}

.console-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.console-item-title {
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.console-item-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.btn-item-remove {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-item-remove:hover {
    background: var(--color-danger);
    color: #ffffff;
    border-color: var(--color-danger);
}

/* ─── Confirm Modal ──────────────────────────────────────── */
.confirm-card {
    background: #131222;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 360px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.confirm-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.confirm-msg {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.btn--danger {
    background: var(--color-danger);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn--danger:hover {
    opacity: 0.9;
}

