#ef-watch-overlay * {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    margin: 0;
    /* padding: 0; */
}

#ef-watch-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#ef-watch-overlay.visible {
    display: flex;
    animation: efFadeIn 0.2s ease-out forwards;
}

@keyframes efFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#ef-watch-dialog {
    background: #181818;
    width: 92%;
    max-width: 440px;
    border-radius: 12px;
    overflow: visible;
    position: relative;
    border-top: 3px solid #E50914;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 24px 64px rgba(0, 0, 0, 0.6);
    animation: efSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes efSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

#ef-watch-dialog-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

#ef-watch-dialog-eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #E50914;
    margin-bottom: 8px;
}

#ef-watch-dialog-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 85%;
}

#ef-watch-dialog-sub {
    font-size: 0.85rem;
    color: #999;
    margin-top: 6px;
    line-height: 1.4;
}

#ef-watch-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

#ef-watch-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

#ef-watch-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}

#ef-watch-options {
    padding: 12px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ef-watch-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 14px;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    text-align: left;
    width: 100%;
    position: relative;
    transition: all 0.2s ease;
    outline: none;
}

.ef-watch-option:hover  { 
    background: rgba(255, 255, 255, 0.04); 
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}
.ef-watch-option:active { 
    background: rgba(255, 255, 255, 0.08); 
    transform: translateY(0);
}

.ef-watch-option:focus-visible {
    box-shadow: inset 0 0 0 2px #E50914;
}

.ef-watch-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ef-watch-option:hover .ef-watch-icon {
    transform: scale(1.05);
}

.ef-watch-option.web .ef-watch-icon {
    background: #222;
    border: 1px solid #333;
}
.ef-watch-option.app .ef-watch-icon {
    background: linear-gradient(135deg, #E50914, #B20710);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}

.ef-watch-icon svg {
    display: block;
    flex-shrink: 0;
}

.ef-watch-option.web .ef-watch-icon svg {
    width: 22px;
    height: 22px;
    stroke: #ccc;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ef-watch-option.app .ef-watch-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff !important;
    stroke: none !important;
}

.ef-watch-text { flex: 1; min-width: 0; }

.ef-watch-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.2px;
    margin-bottom: 4px;
}

.ef-watch-desc {
    display: block;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
}

.ef-app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ef-feature-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 0 .5em;
    border-radius: 3px;
    color: hsla(0,0%,100%,.9);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    white-space: nowrap;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.ef-watch-arrow {
    flex-shrink: 0;
    color: #555;
    margin-right: 4px;
    transition: all 0.2s ease;
}

.ef-watch-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ef-watch-option:hover .ef-watch-arrow {
    color: #fff;
    transform: translateX(4px);
}

#ef-watch-footer {
    padding: 12px 24px 20px;
    text-align: center;
}

#ef-watch-footer p {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 500px) {
    #ef-watch-overlay {
        align-items: flex-end;
    }
    
    #ef-watch-dialog {
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        border-top: none;
        animation: efSheetUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        padding-bottom: env(safe-area-inset-bottom);
    }

    #ef-watch-dialog::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: #E50914;
        border-radius: 16px 16px 0 0;
    }

    @keyframes efSheetUp {
        from { opacity: 0; transform: translateY(100%); }
        to   { opacity: 1; transform: translateY(0);    }
    }
    
    #ef-watch-dialog::after {
        content: '';
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
        pointer-events: none;
    }
    
    #ef-watch-dialog-header { padding-top: 32px; }
}