.share-center__trigger {
    position: fixed;
    z-index: 46;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 3.25rem;
    padding: 0.55rem 0.45rem 0.5rem;
    border: 1px solid #fecaca;
    border-right: none;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
    color: #991b1b;
    box-shadow: -4px 4px 18px rgb(186 27 29 / 0.14);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.share-center__trigger:hover {
    transform: translateX(-2px);
    box-shadow: -6px 6px 22px rgb(186 27 29 / 0.2);
}

.share-center__trigger-icon {
    font-size: 1.125rem;
    line-height: 1;
}

.share-center__trigger-label {
    font-size: 0.6875rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .share-center__trigger {
        right: 0;
        top: 62%;
        transform: translateY(-50%);
    }

    .share-center__trigger:hover {
        transform: translateY(-50%) translateX(-2px);
    }
}

@media (max-width: 768px) {
    .share-center__trigger {
        right: auto;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        min-width: 8.5rem;
        flex-direction: row;
        gap: 0.4rem;
        padding: 0.75rem 1.25rem;
        border: none;
        border-radius: 999px 999px 0 0;
        border-top: 2px solid #fecaca;
        box-shadow: 0 -6px 24px rgb(186 27 29 / 0.18);
    }

    .share-center__trigger-label {
        font-size: 0.875rem;
    }

    body {
        padding-bottom: 3.5rem;
    }
}

.share-center__backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgb(15 23 42 / 0.55);
    backdrop-filter: blur(2px);
}

.share-center__panel {
    position: fixed;
    z-index: 56;
    left: 50%;
    bottom: 0;
    width: min(100%, 26rem);
    max-height: 85vh;
    overflow: auto;
    transform: translateX(-50%);
    border-radius: 20px 20px 0 0;
    background: #fff;
    padding: 1rem 1rem 1.25rem;
    box-shadow: 0 -12px 40px rgb(15 23 42 / 0.2);
    animation: share-slide-up 0.25s ease;
}

@media (min-width: 769px) {
    .share-center__panel {
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        border-radius: 20px;
        max-height: 90vh;
    }
}

@keyframes share-slide-up {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (min-width: 769px) {
    @keyframes share-slide-up {
        from { opacity: 0; transform: translate(-50%, -48%); }
        to { opacity: 1; transform: translate(-50%, -50%); }
    }
}

.share-center__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.share-center__panel-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}

.share-center__close {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.share-center__subtitle {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-center__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.share-center__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 4.5rem;
    padding: 0.5rem 0.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.share-center__item:hover {
    background: #fff1f2;
    transform: translateY(-1px);
}

.share-center__item--wide {
    grid-column: span 4;
    flex-direction: row;
    min-height: 3rem;
    font-size: 0.875rem;
}

.share-center__item-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.share-center__tip {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.8125rem;
    text-align: center;
    animation: share-pop 0.3s ease;
}

.share-center__tip--error {
    background: #fef2f2;
    color: #b91c1c;
}

@keyframes share-pop {
    0% { transform: scale(0.96); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.share-center__submodal {
    position: fixed;
    inset: 0;
    z-index: 57;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgb(15 23 42 / 0.6);
}

.share-center__submodal-inner {
    position: relative;
    width: min(100%, 22rem);
    border-radius: 18px;
    background: #fff;
    padding: 1.25rem;
    text-align: center;
}

.share-center__submodal-inner--poster {
    width: min(100%, 24rem);
}

.share-center__submodal-inner--tip {
    width: min(100%, 18rem);
}

.share-center__submodal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 1.125rem;
    cursor: pointer;
}

.share-center__submodal-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.share-center__qrcode-title {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #475569;
}

.share-center__qrcode-wrap {
    margin: 1rem auto 0;
    width: 12rem;
    height: 12rem;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.share-center__qrcode-wrap img,
.share-center__qrcode-wrap svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.share-center__qrcode-url {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
    word-break: break-all;
}

.share-center__hint {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    color: #94a3b8;
}

.share-center__btn {
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 12px;
    background: #ba1b1d;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.share-center__poster-preview {
    margin-top: 0.75rem;
    max-height: 55vh;
    overflow: auto;
    border-radius: 12px;
    background: #f8fafc;
}

.share-center__poster-preview canvas {
    width: 100%;
    height: auto;
    display: block;
}

.hidden {
    display: none !important;
}
