.guide-share {
    margin: 34px 0;
    border: 1px solid rgba(212,175,55,0.22);
    border-radius: 8px;
    background: rgba(18,18,18,0.82);
    padding: 20px;
}

.guide-share-head {
    display: grid;
    grid-template-columns: minmax(0,0.72fr) minmax(260px,0.5fr);
    gap: 18px;
    align-items: end;
    margin-bottom: 16px;
}

.guide-share-head h2 {
    color: var(--gold-l);
    margin-bottom: 0;
    letter-spacing: 1px;
}

.guide-share-head p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.guide-share-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.guide-share-actions button,
.guide-share-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(212,175,55,0.22);
    border-radius: 6px;
    color: var(--txt);
    text-decoration: none;
    background: rgba(18,18,18,0.82);
    font: inherit;
    font-size: 0.88rem;
    text-align: center;
    cursor: pointer;
}

.guide-share-actions button:hover,
.guide-share-actions a:hover {
    border-color: var(--gold);
    color: var(--gold-l);
}

.guide-share-status {
    min-height: 18px;
    color: var(--gold-l);
    font-size: 0.82rem;
    margin-top: 12px;
}

.guide-share-fallback {
    width: 100%;
    min-height: 86px;
    margin-top: 8px;
    border: 1px solid rgba(212,175,55,0.22);
    border-radius: 6px;
    background: rgba(0,0,0,0.32);
    color: var(--txt);
    padding: 10px;
    font: inherit;
    font-size: 0.86rem;
    line-height: 1.45;
    resize: vertical;
}

.guide-share-fallback[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .guide-share {
        padding: 18px;
    }

    .guide-share-head {
        grid-template-columns: 1fr;
    }

    .guide-share-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .guide-share {
        margin: 26px 0;
        padding: 14px;
    }

    .guide-share-head {
        gap: 8px;
        margin-bottom: 12px;
    }

    .guide-share-head h2 {
        font-size: 1.08rem;
        line-height: 1.25;
    }

    .guide-share-head p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .guide-share-actions {
        gap: 8px;
    }

    .guide-share-actions button,
    .guide-share-actions a {
        min-height: 44px;
        padding: 10px 11px;
        font-size: 0.84rem;
        line-height: 1.25;
    }

    .guide-share-status {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .guide-share-fallback {
        min-height: 78px;
        font-size: 0.82rem;
        line-height: 1.4;
    }
}
