.share-export-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
    margin-bottom: 16px;
}

.share-export-left,
.share-export-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-export-left label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #f3d9dd;
}

.share-export-left select {
    min-width: 190px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(50, 7, 17, 0.92);
    color: #fff;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 700;
}

.share-preview-shell {
    margin-top: 10px;
}
.share-player-sub {
    font-size: 27px;
    font-weight: 700;
    opacity: 0.6;
}
.share-preview-title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #f3d9dd;
}

.share-preview-frame {
    width: min(420px, 100%);
    margin: 0 auto;
}

.share-preview-card {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.34);
    background: #2b040d;
}

.share-export-stage {
    position: absolute;
    left: -99999px;
    top: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
}

.share-card {
    position: relative;
    overflow: hidden;
    background: #24030b;
    color: #fff;
}

.share-card.format-story {
    width: 1080px;
    height: 1920px;
}

.share-card.format-post {
    width: 1080px;
    height: 1350px;
}

.share-card.format-square {
    width: 1080px;
    height: 1080px;
}

.share-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
    image-rendering: auto;
}

.share-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.share-title-image {
    position: absolute;
    left: 50%;
    top: 54px;
    transform: translateX(-50%);
    width: 620px;
    max-width: 74%;
    height: auto;
    display: block;
    z-index: 2;
    pointer-events: none;
}

.share-card.format-post .share-title-image {
    top: 42px;
    width: 520px;
}

.share-card.format-square .share-title-image {
    top: 36px;
    width: 460px;
}

.share-pitch {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 890px;
    height: 1180px;
    z-index: 2;
}

.share-card.format-story .share-pitch {
    top: 270px;
}

.share-card.format-post .share-pitch {
    top: 190px;
    width: 820px;
    height: 820px;
}

.share-card.format-square .share-pitch {
    top: 170px;
    width: 760px;
    height: 650px;
}

.share-player {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 170px;
    text-align: center;
}

.share-player-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #7a071d 0%, #530414 100%);
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: orange;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
    font-weight: 900;
    line-height: 1;
    box-sizing: border-box;
    font-family: Oswald;
}

.share-player-name {
    font-size: 40px;
    line-height: 1.05;
    font-weight: 900;
    color: #fff8ee;
    text-shadow: 0px 0px 20px black;
    font-family: 'DM Serif Display';
}

.share-player-cost {
    margin-top: 6px;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 800;
    color: #f2d27d;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .40);
    white-space: nowrap;
}

.share-card.format-post .share-player {
    width: 150px;
}

.share-card.format-post .share-player-circle {
    width: 76px;
    height: 76px;
    font-size: 26px;
    border-width: 4px;
}

.share-card.format-post .share-player-name {
    font-size: 22px;
}

.share-card.format-post .share-player-cost {
    font-size: 16px;
}

.share-card.format-square .share-player {
    width: 138px;
}

.share-card.format-square .share-player-circle {
    width: 70px;
    height: 70px;
    font-size: 24px;
    border-width: 4px;
}

.share-card.format-square .share-player-name {
    font-size: 20px;
}

.share-card.format-square .share-player-cost {
    font-size: 15px;
}

.share-bottom-stats {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 250px;
    width: 760px;
    z-index: 2;
}

.share-card.format-post .share-bottom-stats {
    width: 700px;
    bottom: 120px;
}

.share-card.format-square .share-bottom-stats {
    width: 620px;
    bottom: 105px;
}

.share-stat-box {
    background: transparent;
    border: none;
    border-radius: 0px;
    padding: 0px;
    text-align: center;
    backdrop-filter: none;
    position: relative;
    top:-50px;
}

.share-stat-label {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #f3d9dd;
    margin-bottom: 14px;
}

.share-stat-value {
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
    color: #f2d27d;
    font-family: 'Sarabun';
}

.share-card.format-post .share-stat-label {
    font-size: 20px;
}

.share-card.format-post .share-stat-value {
    font-size: 54px;
}

.share-card.format-square .share-stat-label {
    font-size: 18px;
}

.share-card.format-square .share-stat-value {
    font-size: 48px;
}

.share-preview-card .share-card {
    transform-origin: top left;
}

@media (max-width: 520px) {
    .share-preview-frame {
        width: 100%;
    }
}