/* =====================
   BOTTOM SHEETS
   ===================== */
.bottom-sheet {
    position: absolute;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}

.bottom-sheet:not(.hidden) {
    pointer-events: auto;
}

.sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    animation: bdIn 0.2s ease;
}

@keyframes bdIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.sheet-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    padding: 14px 22px 36px;
    max-height: 85vh;
    overflow-y: auto;
    animation: sheetUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes sheetUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.sheet-drag-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: #e0e0e0;
    margin: 0 auto 18px;
}

/* Sheet nav tabs */
.sheet-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.sheet-tab {
    position: relative;
    flex: 1;
    padding: 8px 6px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--border-light);
    background: white;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t);
}

.sheet-tab.active {
    background: #f6edff;
    border-color: #e4c7ff;
    font-weight: 600;
}

.premium-tab-label .premium-star-badge {
    right: 4px;
    bottom: 4px;
    width: 13px;
    height: 13px;
    font-size: 0.66rem;
    -webkit-text-stroke: 0;
}

/* Panes */
.tab-pane {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.note-type-row {
    display: flex;
    gap: 10px;
}

.note-type-btn {
    position: relative;
    flex: 1;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-card);
    background: white;
    padding: 10px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--t);
}

.note-type-btn .premium-star-badge {
    right: 5px;
    bottom: 5px;
    width: 13px;
    height: 13px;
    font-size: 0.66rem;
    -webkit-text-stroke: 0;
}

.note-type-btn.active {
    border-color: #c084fc;
    background: #faf5ff;
    color: var(--text-primary);
}

.nt-preview {
    border-radius: 3px;
}

.plain-preview-mini {
    width: 34px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-family: var(--font-hand), monospace;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.tape-preview-mini {
    width: 50px;
    height: 12px;
    background: var(--tape);
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent 4px,
            rgba(160, 140, 100, 0.1) 4px, rgba(160, 140, 100, 0.1) 5px);
}

.sticky-preview-mini {
    width: 22px;
    height: 22px;
    background: var(--sticky-yellow);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.sticky-color-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--t), border-color var(--t);
}

.color-swatch.active {
    border-color: #7c3aed;
    transform: scale(1.15);
}

.note-textarea {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    resize: none;
    outline: none;
    border: none;
    font-family: var(--font-hand);
    font-size: 1rem;
    line-height: 1.4;
    transition: color var(--t);
    background: transparent;
    overflow: hidden;
}

.note-textarea:focus {
    outline: none;
    border: none;
}

.note-preview-card {
    position: relative;
    z-index: 1;
    transition: all var(--t);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Plain text preview card */
.note-preview-card.preview-plain {
    width: 180px;
    min-height: 110px;
    background: transparent;
    transform: none;
}

.note-preview-card.preview-plain .note-textarea {
    min-height: 110px;
    padding: 12px 10px;
    color: #000;
    font-family: var(--font-hand), monospace;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Tape preview card */
.note-preview-card.preview-tape {
    width: 180px;
    height: 90px;
    background-image: url('../Component/masking tape.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: rotate(-2deg);
}

.note-preview-card.preview-tape .note-textarea {
    padding: 21px 26px;
    font-size: 0.95rem;
    line-height: 1.2;
}

/* Sticky preview card */
.note-preview-card.preview-sticky {
    width: 140px;
    height: 140px;
    transform: rotate(-1.5deg);
}

.note-preview-card.preview-sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../Component/sticky note.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
    transition: filter var(--t);
}

.note-preview-card.preview-sticky.yellow::before {
    filter: none;
}

.note-preview-card.preview-sticky.pink::before {
    filter: hue-rotate(-65deg) saturate(1.4) brightness(1.05);
}

.note-preview-card.preview-sticky.blue::before {
    filter: hue-rotate(145deg) saturate(1.4) brightness(1.05);
}

.note-preview-card.preview-sticky .note-textarea {
    padding: 18px 15px;
    font-size: 1rem;
}

.editor-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -4px;
    padding: 0 4px;
}

.alignment-row {
    display: flex;
    gap: 4px;
    background: var(--bg-soft);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.align-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--t);
}

.align-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.align-btn.active {
    color: #7c3aed;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.char-counter {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.item-note-text {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    display: inline-block;
    text-align: inherit;
    overflow: hidden;
}

.pane-hint {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.question-pane-hint {
    margin: 0 0 -2px;
}

.question-input-wrap {
    position: relative;
    width: 100%;
}

#question-input {
    width: 100%;
    min-height: 104px;
    margin: 0;
    padding: 12px 14px 28px;
    box-sizing: border-box;
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--font-ui);
    resize: none;
    outline: none;
}

#question-input:focus {
    border-color: #c084fc;
}

.question-char-counter {
    position: absolute;
    right: 12px;
    bottom: 9px;
    color: #888888;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    line-height: 1;
    pointer-events: none;
}

.sheet-input {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-card);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--t);
}

.sheet-input:focus {
    border-color: #c084fc;
}

.sheet-input.input-attention {
    animation: inputAttention 0.75s ease;
}

@keyframes inputAttention {
    0%, 100% {
        border-color: var(--border-light);
        box-shadow: none;
    }
    35%, 70% {
        border-color: #a855f7;
        box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.16);
    }
}

.music-pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.btn-open-spotify {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1ed760;
    color: #000000;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(30, 215, 96, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn-open-spotify:hover, .btn-open-spotify:active {
    background: #1fdf64;
    transform: scale(1.03);
}

.sheet-input-paste-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.sheet-input-paste-wrap .sheet-input.paste-input {
    padding-right: 70px;
}

.btn-paste-action {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-paste-action:hover {
    background: #e9d5ff;
    transform: translateY(-50%) scale(1.03);
}

.btn-paste-action:active {
    transform: translateY(-50%) scale(0.96);
}

.song-preview-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--r-card);
    border: 1.5px solid var(--border-light);
    background: #fafafa;
}

.song-cd-sm {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff9de2, #c77dff, #4895ef, #ff9de2);
    position: relative;
    flex-shrink: 0;
}

.song-cd-sm::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    border-radius: 50%;
    background: #eee;
    transform: translate(-50%, -50%);
}

.song-preview-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.song-preview-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
}



.btn-submit-sheet {
    width: 100%;
    padding: 14px;
    border-radius: var(--r-pill);
    background: var(--text-primary);
    color: white;
    border: none;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--t), box-shadow var(--t);
}

.btn-submit-sheet:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-submit-sheet:active {
    transform: scale(0.98);
}

/* =====================
   INBOX DETAIL
   ===================== */
.inbox-detail-content {
    padding: 8px 0 20px;
    min-height: 140px;
}

.inbox-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.btn-publish-action,
.btn-reply-action,
.btn-reveal-action,
.btn-delete-action {
    width: 100%;
    padding: 13px;
    border-radius: var(--r-pill);
    border: none;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--t);
}

.btn-publish-action {
    background: var(--text-primary);
    color: white;
}

.btn-reply-action {
    background: var(--nav-active);
    color: var(--text-primary);
}

.btn-reveal-action {
    background: transparent;
    color: #7c3aed;
    border: 1.5px solid #e9d5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


.btn-delete-action {
    background: white;
    color: #e8453c;
    border: 1.5px solid #fecaca;
}

.btn-publish-action:hover,
.btn-reply-action:hover,
.btn-reveal-action:hover,
.btn-delete-action:hover {
    transform: translateY(-1px);
}

/* ─── Publish Success / Share Prompt ─── */
.publish-success {
    align-items: center;
    text-align: center;
    animation: publishSuccessFade 0.35s ease;
}

@keyframes publishSuccessFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.publish-success-heading {
    font-family: var(--font-ui);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0 16px 0;
}

.publish-success-preview {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.publish-success-preview img {
    max-width: 80%;
    max-height: 240px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: scale(0.9);
    animation: previewPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes previewPop {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.btn-share-stories {
    width: 100%;
    padding: 14px;
    border-radius: var(--r-pill);
    border: none;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 40%, #7c3aed 100%);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}

.btn-share-stories:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
}

.btn-share-stories:active {
    transform: scale(0.97);
}

.btn-share-done {
    background: none;
    border: none;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px 16px;
    transition: color var(--t);
}

.btn-share-done:hover {
    color: var(--text-secondary);
}

/* =====================
   TOAST
   ===================== */
.toast {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(26, 26, 26, 0.9);
    color: white;
    padding: 10px 22px;
    border-radius: var(--r-pill);
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.premium-toast {
    width: min(330px, calc(100% - 36px));
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(192, 132, 252, 0.65);
    border-radius: 12px;
    background: rgba(31, 20, 43, 0.96);
    white-space: normal;
}

.premium-toast-star {
    flex: 0 0 auto;
    color: #d8b4fe;
    font-size: 1.05rem;
}

.toast.premium-toast strong,
.toast.premium-toast small {
    display: block;
    text-align: left;
}

.toast.premium-toast strong {
    font-size: 0.8rem;
    line-height: 1.2;
}

.toast.premium-toast small {
    margin-top: 2px;
    color: #ddd6fe;
    font-size: 0.7rem;
    line-height: 1.2;
}

/* ===== Settings Modal Polish ===== */
.settings-section {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.settings-section-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #888;
}
.settings-section-copy {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}
.settings-radio-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #eaeaea;
}
.settings-radio-row:last-child {
    border-bottom: none;
}
.settings-action-btn {
    display: block;
    width: 100%;
    padding: 12px 4px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #eaeaea;
    border-radius: 0;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    text-align: left;
    margin-top: 0;
    text-decoration: none;
    transition: color 0.2s;
}
.settings-action-btn:last-child {
    border-bottom: none;
}
.settings-action-btn:hover {
    color: #000;
    background: transparent;
}
.settings-action-btn.danger-soft {
    border-color: #eaeaea;
    color: #ef4444;
    background: transparent;
}
.settings-action-btn.danger-soft:hover {
    background: transparent;
    color: #dc2626;
}
.settings-action-btn.danger {
    border-color: #eaeaea;
    color: #ef4444;
    background: transparent;
}
.settings-action-btn.danger:hover {
    background: transparent;
    color: #dc2626;
}

/* =========================================================
   MANAGE PLAN MODAL
========================================================= */

#modal-manage-plan .sheet-panel {
    padding-bottom: 40px;
}

#manage-plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    font-family: var(--font-ui);
    color: var(--text-primary);
}

.manage-plan-status-card {
    background: #fdfbf7;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.manage-plan-status-card .status-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.manage-plan-status-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: var(--font-ui);
}

.manage-plan-status-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.manage-pricing-options {
    margin-bottom: 24px;
}

/* =========================================================
   SUBMISSION SUCCESS MODAL
========================================================= */
.sub-success-panel {
    padding: 24px 20px 28px;
    text-align: center;
}

.sub-success-header h2 {
    font-family: var(--font-display, var(--font-ui));
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 18px;
}

.chat-preview-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    padding: 14px 12px;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
}

.chat-row {
    display: flex;
    width: 100%;
}

.chat-row.outgoing {
    justify-content: flex-end;
}

.chat-row.incoming {
    justify-content: flex-start;
    align-items: flex-end;
    gap: 8px;
}

.chat-avatar-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(168, 85, 247, 0.25);
    overflow: hidden;
}

.chat-bubble {
    max-width: 82%;
    padding: 10px 14px;
    font-size: 0.92rem;
    line-height: 1.4;
    word-break: break-word;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-bubble-outgoing {
    background: #1e293b;
    color: #ffffff;
    border-radius: 18px 18px 4px 18px;
    font-weight: 500;
}

.chat-message-text {
    margin: 0;
}

.chat-bubble-incoming {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px 18px 18px 4px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

/* Single line side-to-side color wave */
.chat-reply-animated-line {
    width: 160px;
    height: 15px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f3e8ff 0%, #c084fc 25%, #f0abfc 50%, #c084fc 75%, #f3e8ff 100%);
    background-size: 300% 100%;
    filter: blur(4px);
    opacity: 0.9;
    animation: chatShimmerWave 2.5s ease-in-out infinite;
}

@keyframes chatShimmerWave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.sub-success-pitch {
    margin-bottom: 14px;
}

.sub-success-pitch h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.sub-success-pitch p {
    margin: 0;
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.4;
}


/* Minimal Music Pane Additions */
.minimal-input-row {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    transition: border-bottom-color 0.2s;
}
.minimal-input-row:focus-within {
    border-bottom-color: #e5e7eb;
}

.minimal-input-field {
    flex: 1;
    border: none;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    color: #111;
    background: transparent;
    outline: none;
    padding: 4px 0;
}
.minimal-input-field::placeholder {
    color: #9ca3af;
}

.btn-open-spotify-stroke {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    background: transparent;
    transition: all 0.2s;
}
.btn-open-spotify-stroke:hover {
    background: #f3f4f6;
    color: #111;
}

.minimal-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    margin-top: 16px;
}

/* iOS Switch */
.ios-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.ios-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .3s;
    border-radius: 24px;
}
.ios-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.ios-switch input:checked + .ios-slider {
    background-color: #1f182b;
}
.ios-switch input:checked + .ios-slider:before {
    transform: translateX(20px);
}

/* =====================
   SHARE STORY SHEET
   ===================== */
.share-story-panel {
    padding-bottom: 34px !important;
}

#modal-share-story .sheet-backdrop {
    background: rgba(0, 0, 0, 0.45);
}

.share-story-copied-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 0 2px;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.01em;
}

.share-sheet-header {
    text-align: center;
    padding: 6px 16px 0;
}

.share-sheet-subtitle {
    margin: 6px 0 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    color: #64748b;
}

/* Social Grid */
.share-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 18px 16px 20px;
}

.share-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.share-social-btn:active {
    transform: scale(0.92);
    opacity: 0.85;
}

.share-social-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    transition: transform 0.2s ease, background 0.2s ease;
}

.share-social-btn:hover .share-social-icon {
    transform: translateY(-2px);
    background: #e5e7eb;
}
