.p-share-site {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem 1.05rem;
    margin-block: .35rem 1rem;
    padding-block: .45rem .75rem;
    border-block-start: 1px solid var(--line);
    scroll-margin-block-start: 1rem;
}
.p-share-site h2 {
    margin: 0;
    color: var(--dim);
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.35;
}
.p-share-actions, .p-share-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.p-game .p-share-site details.p-share-tiktok { margin: 0; padding: 0; border: 0; }
.p-share-site .p-share-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 44px;
    min-height: 44px;
    padding: .45rem .8rem;
    border: 1px solid #423c48;
    border-radius: .65rem;
    background: #241f28;
    color: #eeeaf1;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.25;
    list-style: none;
    cursor: pointer;
}
.p-share-action::-webkit-details-marker { display: none; }
.p-share-action svg { flex: none; width: 18px; height: 18px; }
.p-share-action[data-share-platform="facebook"] svg { color: #97bfff; }
.p-share-action[data-share-platform="telegram"] svg { color: #7bcefa; }
.p-share-action[data-share-platform="tiktok"] svg { filter: drop-shadow(-1px 0 #47e2dc) drop-shadow(1px 0 #eb6481); }
.p-share-site .p-share-action:hover, .p-share-tiktok[open] > .p-share-action { color: #fff; border-color: #8c8194; background: #332d37; }
.p-share-site .p-share-action:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.p-share-tiktok { position: relative; }
.p-share-panel {
    position: absolute;
    z-index: 7;
    inset-block-start: calc(100% + .35rem);
    inset-inline-start: 0;
    width: min(22rem, 88vw);
    padding: 1rem;
    border: 1px solid #554d5b;
    border-radius: .8rem;
    background: #242027;
    box-shadow: 0 .6rem 2rem #0007;
}
.p-game .p-share-panel p { margin: 0; white-space: normal; font-size: .88rem; line-height: 1.55; }
.p-share-field { display: grid; gap: .3rem; margin-block: .7rem; font-size: .82rem; }
.p-share-field input {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: .45rem .65rem;
    border: 1px solid #514958;
    border-radius: .45rem;
    background: #17141a;
    color: #eeeaf1;
    direction: ltr;
}
.p-game .p-share-panel .p-share-tools button {
    min-height: 44px;
    padding: .4rem .75rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    color: var(--ink);
    background: #352e39;
    font-size: .875rem;
    white-space: normal;
}
.p-game .p-share-panel .p-share-tools [data-share-copy] { background: var(--acid); color: #191b0f; }
.p-game .p-share-panel .p-share-status:not(:empty) { margin-block-start: .65rem; color: var(--acid); }
@media (max-width: 42rem) {
    .p-share-site { display: block; }
    .p-share-site h2 { margin-block-end: .45rem; }
    .p-share-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; }
    .p-share-site .p-share-action { width: 100%; padding-inline: .25rem; gap: .3rem; }
    .p-share-tiktok { position: static; }
    .p-share-panel { inset-inline: 0; width: min(100%, 24rem); }
}
@media (max-width: 25rem) {
    .p-share-site .p-share-action { flex-direction: column; gap: .25rem; padding-block: .4rem; font-size: .78rem; }
    .p-share-action svg { width: 16px; height: 16px; }
}
