.tv-share,
.tv-share * {
    box-sizing: border-box;
}

.tv-share {
    --tv-share-ink: #243640;
    --tv-share-green: #2b7a63;
    --tv-share-line: #d7e4dc;
    margin: clamp(2rem, 5vw, 3.25rem) 0 1.5rem;
    padding: clamp(1.1rem, 3vw, 1.7rem);
    border: 1px solid var(--tv-share-line);
    border-radius: 20px;
    background: #f7faf8;
    color: var(--tv-share-ink);
    font: inherit;
}

.tv-share__intro {
    margin-bottom: 1rem;
}

.tv-share__intro h2 {
    margin: 0 0 .35rem;
    color: var(--tv-share-ink);
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
    line-height: 1.3;
}

.tv-share__intro p {
    margin: 0;
    color: #53636b;
    font-size: .98rem;
}

.tv-share__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.tv-share__button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .62rem .9rem;
    border: 1px solid #c8d8ce;
    border-radius: 999px;
    background: #fff;
    color: #29423a;
    font: inherit;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.tv-share__button:hover {
    border-color: #91b5a1;
    background: #edf6f0;
    color: #174e3e;
    transform: translateY(-1px);
}

.tv-share__button:focus-visible {
    outline: 3px solid #ec9d45;
    outline-offset: 3px;
}

.tv-share__button--whatsapp .tv-share__icon { color: #26765e; }
.tv-share__button--x .tv-share__icon { color: #243640; }
.tv-share__button--pinterest .tv-share__icon { color: #a9515c; }
.tv-share__button--facebook .tv-share__icon { color: #42678e; }
.tv-share__button--telegram .tv-share__icon { color: #3b7387; }
.tv-share__button--email .tv-share__icon,
.tv-share__button--copy .tv-share__icon,
.tv-share__button--native .tv-share__icon { color: var(--tv-share-green); }

.tv-share__icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.tv-share__manual {
    display: grid;
    max-width: 38rem;
    gap: .4rem;
    margin-top: .85rem;
}

.tv-share__manual[hidden],
.tv-share__button[hidden] {
    display: none !important;
}

.tv-share__manual label {
    font-size: .9rem;
    font-weight: 700;
}

.tv-share__manual input {
    width: 100%;
    min-height: 44px;
    padding: .55rem .7rem;
    border: 1px solid #91aa9b;
    border-radius: 9px;
    background: #fff;
    color: var(--tv-share-ink);
    font: inherit;
}

.tv-share__manual input:focus-visible {
    outline: 3px solid #ec9d45;
    outline-offset: 2px;
}

.tv-share__status {
    min-height: 1.4em;
    margin: .7rem 0 0;
    color: #225c4c;
    font-size: .9rem;
    font-weight: 700;
}

@media (max-width: 640px) {
    .tv-share__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tv-share__button {
        width: 100%;
        min-width: 0;
        padding-inline: .55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tv-share__button {
        transition: none;
    }

    .tv-share__button:hover {
        transform: none;
    }
}
