    :root {
        --bg: #f4f6fb;
        --panel: #ffffff;
        --text: #1d2433;
        --muted: #556070;
        --line: #d6deea;
        --brand: #2f6fed;
        --brand-hover: #2458be;
        --overlay: rgba(15, 20, 30, 0.55);
    }

    .open-btn {
        display: inline-block;
        padding: 12px 20px;
        background: var(--brand);
        color: #fff;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 600;
    }

    .open-btn:hover {
        background: var(--brand-hover);
    }

    .popup {
        position: fixed;
        inset: 0;
        display: none;
        place-items: center;
        background: var(--overlay);
        padding: 20px;
    }

    .popup:target {
        display: grid;
    }

    .panel {
        width: min(100%, 520px);
        background: var(--panel);
        border-radius: 14px;
        border: 1px solid var(--line);
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
        padding: 20px;
        position: relative;
    }

    .close-btn {
        position: absolute;
        right: 12px;
        top: 10px;
        color: var(--muted);
        font-size: 22px;
        text-decoration: none;
        line-height: 1;
    }

    form {
        display: grid;
        gap: 12px;
    }

    label {
        font-size: 0.92rem;
        font-weight: 600;
        display: grid;
        gap: 6px;
    }

    input,
    textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 10px 12px;
        font: inherit;
        color: var(--text);
        background: #fff;
    }

    textarea {
        min-height: 130px;
        resize: vertical;
    }

    .send-btn {
        margin-top: 4px;
        border: 0;
        border-radius: 10px;
        padding: 12px 16px;
        background: var(--brand);
        color: #fff;
        font-weight: 600;
        cursor: pointer;
    }

    .send-btn:hover {
        background: var(--brand-hover);
    }
    .share-ribbon {
        position: fixed;
        left: 50%;
        bottom: 76px;
        transform: translate(-50%, 110%);
        width: min(94vw, 520px);
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
        z-index: 55;
        transition: transform 0.24s ease;
        font-size: 1.2em;
    }

    .share-ribbon:target {
        transform: translate(-50%, 0);
    }

    .share-item {
        width: 46px;
        height: 46px;
        /*      max-widh: 46px; */
        border-radius: 999px;
        border: 1px solid var(--line);
        display: grid;
        place-items: center;
        color: var(--text);
        text-decoration: none;
        font-weight: 700;
        background: #fff;
    }

    .share-item:hover {
        background: #eef3ff;
    }
    .share-item a {
        min-width: 46px;
        font-size: 1.2em;
    }
    .share-links {
        display: grid;
        gap: 10px;
    }

    .share-link {
        display: inline-block;
        text-decoration: none;
        background: var(--brand);
        color: #fff;
        border-radius: 10px;
        padding: 10px 14px;
        font-weight: 600;
        text-align: center;
    }

    .share-link:hover {
        background: var(--brand-hover);
    }

    .share-note {
        font-size: 0.9rem;
        color: var(--muted);
        margin: 0;
    }
