/*
Theme Name: aersocial Postcards
Theme URI: https://postcard.aersocial.in/
Author: aersocial
Description: Custom WordPress theme for aersocial Postcards.
Version: 1.0.0
Text Domain: aersocial-postcards
*/

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #f4efe5;
    color: #302c28;
    font-family: "DM Sans", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* -------------------------------------------------
   Temporary foundation
------------------------------------------------- */

.site-header {
    min-height: 130px;
    padding: 54px 42px 0;
    position: relative;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    background: #f4efe5;
    border-bottom: 1px solid rgba(48, 44, 40, 0.08);
}

.site-header__logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-header__logo .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-header__logo .custom-logo {
    display: block;
    width: 155px;
    height: auto;
    max-width: 100%;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header__nav a {
    font-size: 18px;
    font-weight: 500;
}

.site-header__inbox-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 5px;

    border-radius: 999px;

    background: #E33A35;
    color: #ffffff;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;

    vertical-align: middle;
}

.site-header__profile {
    grid-column: 3;
    justify-self: end;
}

.site-header__profile a {
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.site-header__profile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.site-header__notification {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #302c28;
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.site-header__notification svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header__notification:hover {
    opacity: 0.68;
    transform: translateY(-1px);
}

.site-header__notification-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #E33A35;
    color: #ffffff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

    /* =========================================================
   DESKTOP HEADER — NOTIFICATION
   ========================================================= */

.site-header__profile-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}


.site-header__notification {
    position: relative;

    width: 24px;
    height: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #302c28;

    transition:
        opacity 160ms ease,
        transform 160ms ease;
}


.site-header__notification svg {
    width: 21px;
    height: 21px;

    display: block;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.site-header__notification:hover {
    opacity: 0.68;
    transform: translateY(-1px);
}


.site-header__notification-badge {
    position: absolute;

    top: -7px;
    right: -9px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #E33A35;
    color: #ffffff;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.site-main {
    min-height: calc(100vh - 76px);
}

.aersocial-placeholder {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 40px 20px;
}

.aersocial-placeholder__brand {
    font-family: "Special Elite", monospace;
    font-size: 28px;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
    color: #E33A35;
}

.aersocial-placeholder h1 {
    max-width: 700px;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 400;
    line-height: 1.05;
}

.aersocial-placeholder__tagline {
    font-family: "Special Elite", monospace;
    font-size: 20px;
    letter-spacing: 0.04em;
    margin: 18px 0 0;
    opacity: 0.72;
}

.site-footer {
    padding: 35px 25px;
    text-align: center;
    border-top: 1px solid rgba(48, 44, 40, 0.08);
}

.site-footer__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer__links a {
    font-size: 13px;
}

.site-footer p {
    margin-top: 20px;
    font-family: Georgia, serif;
    font-size: 14px;
}


/* Mobile */

@media (max-width: 700px) {

    .site-header {
        min-height: auto;
        padding: 18px 20px;

        grid-template-columns: 1fr auto;
        row-gap: 15px;
    }

    .site-header__nav {
        grid-column: 1 / -1;
        grid-row: 2;

        justify-content: center;
        gap: 18px;

        overflow-x: auto;
        white-space: nowrap;
    }

    .site-header__nav a {
        font-size: 13px;
    }

    .site-header__profile {
        grid-column: 2;
    }

    .aersocial-placeholder {
        min-height: 65vh;
    }

    .aersocial-placeholder__brand {
    font-size: 22px;
    margin-bottom: 12px;
    }

.aersocial-placeholder__tagline {
    font-size: 17px;
    line-height: 1.35;
    margin: 16px auto 0;
    max-width: 340px;
    text-align: center;
}
}




/* =========================================================
   MOBILE RESPONSIVE FOUNDATION
   ========================================================= */

@media (max-width: 700px) {

    /* Header */
    .site-header {
        min-height: 64px;
        padding: 0 18px;
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .site-header__logo {
        font-size: 20px;
        white-space: nowrap;
    }

    .site-header__nav {
        justify-content: center;
        gap: 16px;
        min-width: 0;
    }

    .site-header__nav a {
        font-size: 12px;
        white-space: nowrap;
    }

    .site-header__profile {
        justify-self: end;
    }

    /* Prevent accidental horizontal scrolling */
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Shared page safety */
    .site-main {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* General images/media */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
}


/* Smaller phones */
@media (max-width: 480px) {

    .site-header {
        min-height: 60px;
        padding: 0 14px;
        gap: 10px;
    }

    .site-header__logo {
        font-size: 19px;
    }

    .site-header__nav {
        gap: 10px;
    }

    .site-header__nav a {
        font-size: 11px;
    }
}

/* =========================================================
   MOBILE HEADER — COMPACT TOOLBAR + SIDE DRAWER
   ========================================================= */

@media (max-width: 600px) {

    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .site-header {
        min-height: 0;
        padding: 14px 14px 12px;

        display: grid;

        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;

        grid-template-areas:
            "logo profile"
            "toolbar toolbar";

        row-gap: 14px;
    }
    
    .site-header.site-header--has-strike {
    padding-top: 90px;
}


    .site-header__logo {
        grid-area: logo;
        min-width: 0;
    }


    .site-header__logo .custom-logo {
        width: 125px;
        height: auto;
        max-width: 100%;
    }


    .site-header__profile {
        grid-area: profile;

        justify-self: end;
        align-self: center;
    }


    .site-header__profile a {
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
    }
    
    .site-header__notification {
    display: none;
}


    /* -----------------------------------------------------
       EXISTING DESKTOP NAV — HIDDEN ON MOBILE
       ----------------------------------------------------- */

    .site-header__nav {
        display: none !important;
    }


    /* -----------------------------------------------------
       MOBILE TOOLBAR
       ----------------------------------------------------- */

    .aersocial-mobile-toolbar {
        grid-area: toolbar;

        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        min-width: 0;
    }


    .aersocial-mobile-toolbar__left {
        display: flex;
        align-items: center;

        min-width: 0;

        gap: 10px;
    }


    .aersocial-mobile-toolbar__actions {
        display: flex;
        align-items: center;

        gap: 18px;
    }


    /* -----------------------------------------------------
       HAMBURGER
       ----------------------------------------------------- */

    .aersocial-mobile-menu-toggle {
        width: 30px;
        height: 30px;

        padding: 3px 0;

        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;

        border: 0;
        background: transparent;

        color: #302c28;

        cursor: pointer;

        appearance: none;
        -webkit-appearance: none;
    }


    .aersocial-mobile-menu-toggle span {
        display: block;

        width: 27px;
        height: 2px;

        background: #302c28;

        border-radius: 999px;
    }


    /* -----------------------------------------------------
       BOARD
       ----------------------------------------------------- */

    .aersocial-mobile-board {
        display: inline-flex;
        align-items: center;

        font-family: "DM Sans", Arial, sans-serif;
        font-size: 17px;
        font-weight: 700;

        white-space: nowrap;
    }


    /* -----------------------------------------------------
       SEND / INBOX QUICK ACTIONS
       ----------------------------------------------------- */

    .aersocial-mobile-action {
        position: relative;

        width: 28px;
        height: 28px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        color: #302c28;
    }


    .aersocial-mobile-action svg {
    width: 23px;
    height: 23px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aersocial-mobile-action:not(.aersocial-mobile-action--inbox) svg {
    width: 28px;
    height: 20px;
}


    /* -----------------------------------------------------
       INBOX BADGE
       ----------------------------------------------------- */

    .aersocial-mobile-inbox-badge {
        position: absolute;

        top: -7px;
        right: -9px;

        min-width: 17px;
        height: 17px;

        padding: 0 4px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        border-radius: 999px;

        background: #E33A35;
        color: #ffffff;

        font-family: "DM Sans", Arial, sans-serif;
        font-size: 9px;
        font-weight: 700;
        line-height: 1;
    }


    /* -----------------------------------------------------
       DRAWER OVERLAY
       ----------------------------------------------------- */

    .aersocial-mobile-drawer-overlay {
        position: fixed;

        inset: 0;

        z-index: 9998;

        background: rgba(48, 44, 40, 0.28);

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }


    /* -----------------------------------------------------
       DRAWER
       ----------------------------------------------------- */

    .aersocial-mobile-drawer {
        position: fixed;

        top: 0;
        left: 0;
        bottom: 0;

        z-index: 9999;

        width: min(84vw, 360px);

        padding: 22px 22px 30px;

        background: #f4efe5;

        border-right: 1px solid rgba(48, 44, 40, 0.10);

        box-shadow:
            12px 0 35px rgba(48, 44, 40, 0.12);

        overflow-y: auto;

        transform: translateX(-100%);

        transition:
            transform 0.28s cubic-bezier(.22,.61,.36,1);
    }


    /* -----------------------------------------------------
       DRAWER OPEN STATE
       ----------------------------------------------------- */

    body.aersocial-mobile-menu-open
    .aersocial-mobile-drawer {
        transform: translateX(0);
    }


    body.aersocial-mobile-menu-open
    .aersocial-mobile-drawer-overlay {
        opacity: 1;
        visibility: visible;
    }


    body.aersocial-mobile-menu-open {
        overflow: hidden;
    }


    /* -----------------------------------------------------
       DRAWER HEADER
       ----------------------------------------------------- */

    .aersocial-mobile-drawer__header {
        min-height: 52px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        margin-bottom: 22px;

        border-bottom: 1px solid rgba(48, 44, 40, 0.10);
    }


    .aersocial-mobile-drawer__title {
        font-family: "Special Elite", monospace;

        font-size: 22px;
        letter-spacing: 0.03em;

        color: #E33A35;
    }


    /* -----------------------------------------------------
       CLOSE BUTTON
       ----------------------------------------------------- */

    .aersocial-mobile-drawer__close {
        position: relative;

        width: 34px;
        height: 34px;

        padding: 0;

        border: 0;
        background: transparent;

        cursor: pointer;

        appearance: none;
        -webkit-appearance: none;
    }


    .aersocial-mobile-drawer__close span {
        position: absolute;

        left: 7px;
        top: 16px;

        width: 21px;
        height: 2px;

        background: #302c28;

        border-radius: 999px;
    }


    .aersocial-mobile-drawer__close span:first-child {
        transform: rotate(45deg);
    }


    .aersocial-mobile-drawer__close span:last-child {
        transform: rotate(-45deg);
    }


    /* -----------------------------------------------------
       DRAWER NAVIGATION
       ----------------------------------------------------- */

    .aersocial-mobile-drawer__nav {
        display: flex;
        flex-direction: column;

        gap: 0;
    }


    .aersocial-mobile-drawer__nav a {
        min-height: 54px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 4px;

        border-bottom: 1px solid rgba(48, 44, 40, 0.07);

        font-family: "DM Sans", Arial, sans-serif;

        font-size: 17px;
        font-weight: 500;

        color: #302c28;
    }


    .aersocial-mobile-drawer__nav a.is-active {
        color: #E33A35;
    }


    .aersocial-mobile-drawer__badge {
        min-width: 20px;
        height: 20px;

        padding: 0 5px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        border-radius: 999px;

        background: #E33A35;
        color: #ffffff;

        font-size: 10px;
        font-weight: 700;
        line-height: 1;
    }
}


/* =========================================================
   MOBILE DRAWER — HIDE COMPLETELY ON DESKTOP
   ========================================================= */

@media (min-width: 601px) {

    .aersocial-mobile-toolbar,
    .aersocial-mobile-drawer,
    .aersocial-mobile-drawer-overlay {
        display: none !important;
    }
}



/* =========================================================
   aersocial Postcards — Inbox
   ========================================================= */

.aersocial-inbox {
    min-height: calc(100vh - 76px);
    padding: 72px 7vw 90px;
    background: #f4efe5;
    color: #302c28;
}

.aersocial-inbox__intro {
    max-width: 1080px;
    margin: 0 auto 52px;
}

.aersocial-inbox__eyebrow {
    margin: 0 0 14px;
    font-family: "Special Elite", monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.aersocial-inbox__intro h1 {
    margin: 0 0 12px;
    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.05;
}

.aersocial-inbox__intro > p:last-child {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.78;
}

.aersocial-inbox__list {
    max-width: 1080px;
    margin: 0 auto;
}

.aersocial-inbox__empty {
    padding: 48px 44px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(48, 44, 40, 0.08);
    box-shadow: 0 10px 28px rgba(48, 44, 40, 0.06);
}

.aersocial-inbox__empty h2 {
    margin: 0 0 10px;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}

.aersocial-inbox__empty p {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.72;
}

/* Inbox message rows */

.aersocial-inbox__row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 150px 24px;
    align-items: center;
    gap: 28px;
    padding: 25px 28px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(48, 44, 40, 0.07);
    box-shadow: 0 8px 24px rgba(48, 44, 40, 0.045);
    transition: transform 160ms ease, box-shadow 160ms ease;
    cursor: pointer;
}

.aersocial-inbox__row:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(48, 44, 40, 0.08);
}

.aersocial-inbox__sender {
    font-family: "Special Elite", monospace;
    font-size: 15px;
}

.aersocial-inbox__message {
    min-width: 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.aersocial-inbox__date {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    opacity: 0.58;
    text-align: right;
}

.aersocial-inbox__arrow {
    font-family: Arial, sans-serif;
    font-size: 20px;
    opacity: 0.55;
}

/* Unread postcard */

/* Read / unread postcard states */

.aersocial-inbox__row.is-unread {
    background: rgba(255, 255, 255, 0.96);
    border-left: 3px solid #E33A35;
}

.aersocial-inbox__row.is-unread .aersocial-inbox__sender,
.aersocial-inbox__row.is-unread .aersocial-inbox__message {
    font-weight: 600;
}

.aersocial-inbox__row.is-unread .aersocial-inbox__date {
    opacity: 0.78;
}

.aersocial-inbox__row:not(.is-unread) {
    background: rgba(255, 255, 255, 0.68);
}

.aersocial-inbox__row:not(.is-unread) .aersocial-inbox__sender,
.aersocial-inbox__row:not(.is-unread) .aersocial-inbox__message {
    font-weight: 400;
    opacity: 0.68;
}

.aersocial-inbox__row:not(.is-unread) .aersocial-inbox__date {
    opacity: 0.45;
}

/* Mobile */

@media (max-width: 700px) {

    .aersocial-inbox {
        min-height: calc(100vh - 76px);
        padding: 52px 20px 70px;
    }

    .aersocial-inbox__intro {
        margin-bottom: 36px;
    }

    .aersocial-inbox__eyebrow {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .aersocial-inbox__intro h1 {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.05;
    }

    .aersocial-inbox__intro > p:last-child {
        font-size: 15px;
    }

    .aersocial-inbox__empty {
        padding: 32px 25px;
    }

    .aersocial-inbox__empty h2 {
        font-size: 25px;
    }

    .aersocial-inbox__row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 9px 16px;
        padding: 20px;
    }

    .aersocial-inbox__sender {
        grid-column: 1;
        grid-row: 1;
    }

    .aersocial-inbox__date {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .aersocial-inbox__message {
        grid-column: 1;
        grid-row: 2;
    }

    .aersocial-inbox__arrow {
        grid-column: 2;
        grid-row: 2;
        text-align: right;
    }
}

/* Active navigation item */

.site-header__nav a.is-active {
    color: #E33A35;
    position: relative;
}

.site-header__nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: #E33A35;
}

/* =========================================================
   aersocial Postcards — Send Postcard
   ========================================================= */

.aersocial-send {
    min-height: calc(100vh - 76px);
    padding: 72px 7vw 90px;
    background: #f4efe5;
    color: #302c28;
}

.aersocial-send__intro {
    max-width: 1080px;
    margin: 0 auto 52px;
}

.aersocial-send__eyebrow {
    margin: 0 0 14px;
    font-family: "Special Elite", monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.aersocial-send__intro h1 {
    margin: 0 0 12px;
    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.05;
}

.aersocial-send__intro > p:last-child {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.78;
}

.aersocial-send__form-card {
    max-width: 1080px;
    margin: 0 auto;
    padding: 46px 48px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(48, 44, 40, 0.08);
    box-shadow: 0 12px 32px rgba(48, 44, 40, 0.07);
}

.aersocial-send__form {
    margin: 0;
}

.aersocial-send__options {
    margin: 0 0 34px;
    padding: 0;
    border: 0;
}

.aersocial-send__options legend {
    margin: 0 0 18px;
    padding: 0;
    font-family: Georgia, serif;
    font-size: 24px;
}

.aersocial-send__options {
    margin: 0 0 38px;
    padding: 0;
    border: 0;
}

.aersocial-send__options legend {
    margin: 0 0 18px;
    padding: 0;
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.25;
}

.aersocial-send__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.aersocial-send__options legend {
    grid-column: 1 / -1;
}

.aersocial-send__option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 112px;
    margin: 0;
    padding: 24px 26px;
    border: 1px solid rgba(48, 44, 40, 0.16);
    background: #faf9f5;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.aersocial-send__option:hover {
    border-color: rgba(227, 58, 53, 0.38);
}

.aersocial-send__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aersocial-send__radio {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    border: 1px solid #302c28;
    border-radius: 50%;
    position: relative;
}

.aersocial-send__option input:checked + .aersocial-send__radio {
    border-color: #E33A35;
}

.aersocial-send__option input:checked + .aersocial-send__radio::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    top: 4px;
    left: 4px;
    border-radius: 50%;
    background: #E33A35;
}

.aersocial-send__option:has(input:checked) {
    border-color: #E33A35;
    background: #fff5f4;;
    box-shadow: 0 5px 18px rgba(227, 58, 53, 0.08);
}

.aersocial-send__option-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.aersocial-send__option-copy strong {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.aersocial-send__option-copy small {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.68;
}

.aersocial-send__recipient {
    margin: 0 0 30px;
}

.aersocial-send__recipient > label,
.aersocial-send__message > label {
    display: block;
    margin-bottom: 10px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.aersocial-send__recipient-input {
    display: flex;
    align-items: center;
    max-width: 320px;
    border-bottom: 1px solid rgba(48, 44, 40, 0.28);
}

.aersocial-send__recipient-input span {
    font-family: "Special Elite", monospace;
    font-size: 18px;
}

.aersocial-send__recipient-input input {
    width: 100%;
    padding: 10px 8px;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: "Special Elite", monospace;
    font-size: 18px;
}

.aersocial-send__message {
    position: relative;
    margin-bottom: 28px;
}

.aersocial-send__message textarea {
    display: block;
    width: 100%;
    min-height: 190px;
    resize: vertical;
    padding: 18px;
    border: 1px solid rgba(48, 44, 40, 0.16);
    outline: 0;
    background: #faf9f5;
    color: #302c28;
    font-family: "Special Elite", monospace;
    font-size: 16px;
    line-height: 1.65;
}

.aersocial-send__message textarea:focus {
    border-color: rgba(227, 58, 53, 0.55);
    box-shadow: 0 0 0 2px rgba(227, 58, 53, 0.08);
}

.aersocial-send__counter {
    margin-top: 8px;
    text-align: right;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    opacity: 0.55;
}

.aersocial-send__submit {
    display: block;
    width: 100%;
    padding: 16px 22px;
    border: 0;
    background: #E33A35;
    color: #fff;
    cursor: pointer;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 160ms ease, transform 160ms ease;
}

.aersocial-send__submit:hover {
    background: #C92F2B;
    transform: translateY(-1px);
}

.aersocial-send__note {
    max-width: 1080px;
    margin: 38px auto 0;
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    font-family: "Special Elite", monospace;
    font-size: 13px;
    opacity: 0.62;
}

@media (max-width: 700px) {
    
    .aersocial-send__options {
    grid-template-columns: 1fr;
    gap: 12px;
}

.aersocial-send__options legend {
    margin-bottom: 12px;
}

.aersocial-send__option {
    min-height: 96px;
    padding: 20px;
}

    .aersocial-send {
        min-height: calc(100vh - 76px);
        padding: 52px 20px 70px;
    }

    .aersocial-send__intro {
        margin-bottom: 36px;
    }

    .aersocial-send__eyebrow {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .aersocial-send__intro h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .aersocial-send__intro > p:last-child {
        font-size: 15px;
    }

    .aersocial-send__form-card {
        padding: 30px 24px;
    }

    .aersocial-send__options legend {
        font-size: 22px;
    }

    .aersocial-send__option-copy strong {
        font-size: 14px;
    }

    .aersocial-send__option-copy small {
        font-size: 13px;
    }

    .aersocial-send__message textarea {
        min-height: 180px;
    }

    .aersocial-send__note {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 30px;
    }
}


/* Success message after sending postcard */

.aersocial-send__success{
    max-width:760px;
    margin:40px auto 56px;
    padding:28px 34px;
    background:#F7F1E7;
    border:1px solid rgba(80,60,40,.12);
    border-radius:18px;
    box-shadow:0 10px 30px rgba(40,25,10,.06);
}

.aersocial-send__success strong{
    display:block;
    font-family:Georgia, serif;
    font-size:30px;
    font-weight:600;
    color:#2F241F;
    line-height:1.2;
    margin-bottom:12px;
}

.aersocial-send__success{
    font-size:18px;
    line-height:1.7;
    color:#5C4B40;
}


/* =========================================================
   aersocial Postcards — FINAL POSTCARD WALL
   ========================================================= */

/* ---------------------------------------------------------
   Wall
   --------------------------------------------------------- */

.aersocial-wall {
    background: #f4efe5;
    color: #302c28;
}

/* ---------------------------------------------------------
   Intro
   --------------------------------------------------------- */

.aersocial-wall__intro-wrap {
    position: relative;
    min-height: 250px;

    padding: 58px 7vw 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    background: #f4efe5;
}

.aersocial-wall__intro {
    flex: 1;
    max-width: 920px;
}

.aersocial-wall__eyebrow,
.aersocial-wall__intro .aersocial-wall__eyebrow {
    margin: 0 0 12px;

    font-family: "Special Elite", monospace;
    font-size: 13px;
    letter-spacing: .08em;
    line-height: 1.4;
}

.aersocial-wall__intro h1 {
    margin: 0 0 12px;

    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.05;
}

.aersocial-wall__intro > p:last-child {
    margin: 0;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;

    opacity: .76;
}

/* ---------------------------------------------------------
   Small paper note
   --------------------------------------------------------- */

.aersocial-wall__note {
    flex: 0 0 225px;

    width: 225px;
    padding: 20px 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.18),
            transparent 55%
        ),
        #eee1bd;

    box-shadow:
        0 8px 16px rgba(40,28,18,.14),
        0 2px 4px rgba(40,28,18,.08);

    transform: rotate(1.5deg);

    font-family: "Special Elite", monospace;
    font-size: 14px;
    line-height: 1.55;
}

.aersocial-wall__note span {
    display: block;
}

/* ---------------------------------------------------------
   Physical Corkboard
   --------------------------------------------------------- */

.aersocial-wall__board {
    position: relative;

    width: 100%;
    margin: 0;

    /*
     * IMPORTANT:
     * No fixed height.
     * The board grows automatically with the cards.
     */

    background-color: #9a5d32;

    background-image:
        radial-gradient(
            circle at 20% 30%,
            rgba(255,255,255,.055) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 70% 60%,
            rgba(40,20,8,.09) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 40% 80%,
            rgba(255,255,255,.035) 0 1px,
            transparent 2px
        ),
        linear-gradient(
            90deg,
            rgba(55,28,12,.10),
            transparent 18%,
            transparent 82%,
            rgba(55,28,12,.10)
        ),
        linear-gradient(
            180deg,
            rgba(50,25,10,.20),
            transparent 18%,
            transparent 82%,
            rgba(40,20,8,.18)
        );

    background-size:
        17px 17px,
        23px 23px,
        29px 29px,
        100% 100%,
        100% 100%;

    border: 14px solid #70401f;

    border-top-color: #81502c;
    border-right-color: #643718;
    border-bottom-color: #5e3217;
    border-left-color: #74441f;

    box-shadow:
        inset 0 0 22px rgba(30,14,5,.38),
        inset 0 3px 0 rgba(255,255,255,.08),
        0 16px 30px rgba(45,29,17,.20);

    overflow: hidden;
}

/* Subtle inner wooden/cork edge */

.aersocial-wall__board::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        inset 0 0 0 5px rgba(40,20,8,.10),
        inset 0 0 30px rgba(30,15,5,.20);

    z-index: 1;
}

/* ---------------------------------------------------------
   Card Grid
   --------------------------------------------------------- */

.aersocial-wall__cards {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 18px;

    width: 100%;
    max-width: 1320px;
    margin: 0 auto;

    padding: 62px 38px 90px;

    box-sizing: border-box;
}

/* ---------------------------------------------------------
   Postcards
   --------------------------------------------------------- */

.aersocial-wall__card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(88%, 240px);
    aspect-ratio: 3 / 2;
    min-height: 0;
    box-sizing: border-box;
    
    justify-self: center;

    padding: 20px 14px;
    


    border: 1px solid rgba(110, 82, 52, 0.12);
border-radius: 3px 2px 4px 2px;

background:
    radial-gradient(
        circle at 18% 16%,
        rgba(255,255,255,.28),
        transparent 32%
    ),
    linear-gradient(
        135deg,
        rgba(255,255,255,.22),
        transparent 42%
    ),
    linear-gradient(
        180deg,
        #f4ecdc 0%,
        #eee3cf 100%
    );

    box-shadow:
        0 14px 20px rgba(35,23,13,.30),
        0 3px 6px rgba(35,23,13,.18);

    color: #302c28;

    cursor: pointer;

    font-family: "Special Elite", monospace;
    font-size: 17px;
    line-height: 1.4;

    transform: rotate(-1deg);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.aersocial-wall__card::after {
    content: "";
    position: absolute;
    inset: 3px;
    pointer-events: none;

    border: 1px solid rgba(110, 82, 52, 0.08);
    border-radius: 2px 3px 2px 4px;

    box-shadow:
        inset 0 0 10px rgba(110, 82, 52, 0.07);
}


/* Controlled physical irregularity */

.aersocial-wall__card:nth-child(1) {
    transform: translate(-3px, 3px) rotate(-1.2deg);
}

.aersocial-wall__card:nth-child(2) {
    transform: translate(2px, -2px) rotate(1.2deg);
}

.aersocial-wall__card:nth-child(3) {
    transform: translate(-2px, 4px) rotate(-.6deg);
}

.aersocial-wall__card:nth-child(4) {
    transform: translate(3px, -3px) rotate(.8deg);
}

.aersocial-wall__card:nth-child(5) {
    transform: translate(-2px, 2px) rotate(-1.1deg);
}

.aersocial-wall__card:nth-child(6) {
    transform: translate(2px, -3px) rotate(.6deg);
}

.aersocial-wall__card:nth-child(7) {
    transform: translate(-3px, 2px) rotate(-.8deg);
}

.aersocial-wall__card:nth-child(8) {
    transform: translate(2px, 3px) rotate(1deg);
}

.aersocial-wall__card:nth-child(9) {
    transform: translate(-2px, -2px) rotate(-.5deg);
}

.aersocial-wall__card:nth-child(10) {
    transform: translate(3px, 2px) rotate(.9deg);
}

.aersocial-wall__card:nth-child(11) {
    transform: translate(-3px, -2px) rotate(-1deg);
}

.aersocial-wall__card:nth-child(12) {
    transform: translate(2px, 3px) rotate(.7deg);
}

.aersocial-wall__card:nth-child(13) {
    transform: translate(-2px, -3px) rotate(-.7deg);
}

.aersocial-wall__card:nth-child(14) {
    transform: translate(3px, 2px) rotate(1.1deg);
}

.aersocial-wall__card:nth-child(15) {
    transform: translate(-2px, 3px) rotate(-.8deg);
}

/* Hover */

.aersocial-wall__card:hover {
    transform: translateY(-5px) rotate(0deg);

    box-shadow:
        0 17px 27px rgba(35,23,13,.30),
        0 3px 6px rgba(35,23,13,.17);
}

/* Post Box number */

.aersocial-wall__card span {
    display: block;

    text-align: center;

    font-family: "Special Elite", monospace;
}

/* ---------------------------------------------------------
   Pushpin
   --------------------------------------------------------- */

.aersocial-wall__card::before {
    content: "";

    position: absolute;

    top: -10px;
    left: 50%;

    width: 18px;
    height: 18px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: #8a5044;

    box-shadow:
        0 3px 4px rgba(0,0,0,.30),
        inset 2px 2px 3px rgba(255,255,255,.30),
        inset -2px -2px 3px rgba(0,0,0,.16);
}

.aersocial-wall__card:nth-child(2)::before {
    background: #61766d;
}

.aersocial-wall__card:nth-child(3)::before {
    background: #8c6875;
}

.aersocial-wall__card:nth-child(4)::before {
    background: #b18a38;
}

.aersocial-wall__card:nth-child(5)::before {
    background: #8a5044;
}

/* ---------------------------------------------------------
   Empty state
   --------------------------------------------------------- */

.aersocial-wall__empty {
    grid-column: 1 / -1;

    padding: 60px 30px;

    text-align: center;

    color: #f4e8d4;

    font-family: "DM Sans", Arial, sans-serif;
}

.aersocial-wall__empty p {
    margin: 0 0 8px;

    font-family: Georgia, serif;
    font-size: 28px;
}

.aersocial-wall__empty span {
    opacity: .72;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .aersocial-wall__cards {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 64px 24px;

        padding-left: 28px;
        padding-right: 28px;
    }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .aersocial-wall__intro-wrap {
        min-height: auto;

        padding: 48px 24px 42px;

        display: block;
    }

    .aersocial-wall__intro h1 {
        font-size: clamp(38px, 10vw, 52px);
    }

    .aersocial-wall__intro > p:last-child {
        font-size: 15px;
    }

    .aersocial-wall__note {
        width: 205px;

        margin: 30px 0 0 auto;

        font-size: 14px;
    }

    .aersocial-wall__board {
        border-width: 9px;
    }

.aersocial-wall__cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px 12px;
    width: 100%;
    padding: 40px 14px 55px;
    box-sizing: border-box;
}

.aersocial-wall__card {
    width: auto;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 3 / 2;
    min-height: 0;
    padding: 10px;
    font-size: 14px;
    justify-self: center;
}


}

/* =========================================================
   Opened Postcard Modal
   ========================================================= */

.aersocial-postcard-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    transition: opacity 220ms ease;
}

.aersocial-postcard-modal.is-open {
    display: flex;
    opacity: 1;
}

.aersocial-postcard-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(24, 17, 12, .72);
    backdrop-filter: blur(5px);
}

.aersocial-postcard-modal__stage {
    position: relative;
    z-index: 2;

    width: min(760px, 100%);
}

.aersocial-postcard-modal__close {
    position: absolute;
    top: -18px;
    right: -18px;
    
     z-index: 5;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: #302c28;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,.22);
}

.aersocial-opened-postcard {
    width: 100%;
    transform-origin: center center;
    transform: perspective(1400px) rotateY(-90deg) scale(.92);
    opacity: 0;
}

.aersocial-postcard-modal.is-open .aersocial-opened-postcard {
    animation: aersocial-postcard-open 620ms cubic-bezier(.22,.8,.25,1) forwards;
}

@keyframes aersocial-postcard-open {
    0% {
        transform: perspective(1400px) rotateY(-90deg) scale(.92);
        opacity: 0;
    }

    45% {
        opacity: 1;
    }

    100% {
        transform: perspective(1400px) rotateY(0deg) scale(1);
        opacity: 1;
    }
}

.aersocial-opened-postcard__paper {
    position: relative;
    
    width: 100%;
min-width: 0;
max-width: 100%;
    box-sizing: border-box;
    

    display: grid;
    grid-template-columns: 1.55fr 1px .85fr;

    min-height: 440px;
aspect-ratio: auto;
width: 100%;
min-width: 0;
max-width: 100%;


    padding: 48px;

    background-color: #eee4d2;

background-image:
    radial-gradient(
        circle at 20% 25%,
        rgba(105, 82, 52, 0.045) 0 1px,
        transparent 1.5px
    ),
    radial-gradient(
        circle at 75% 65%,
        rgba(105, 82, 52, 0.035) 0 1px,
        transparent 1.5px
    ),
    repeating-linear-gradient(
        0deg,
        rgba(90, 70, 45, 0.018) 0,
        rgba(90, 70, 45, 0.018) 1px,
        transparent 1px,
        transparent 4px
    ),
    repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.025) 0,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 5px
    );
}

.aersocial-opened-postcard__message {
    min-width: 0;
    padding-right: 48px;
    padding-bottom: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aersocial-opened-postcard__to {
    margin: 0 0 34px;

    font-family: "Special Elite", monospace;
    font-size: 16px;
}

.aersocial-opened-postcard__text {
    min-width: 0;
    max-width: 560px;
    margin: 0;
    font-family:
        "Special Elite",
        "Noto Color Emoji",
        "Apple Color Emoji",
        "Segoe UI Emoji",
        monospace;
    font-size: 22px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
}

.aersocial-opened-postcard__signoff {
    margin: 32px 0 0;

    font-family: "Special Elite", monospace;
    font-size: 16px;
}

.aersocial-opened-postcard__divider {
    width: 1px;
    background: rgba(80,60,40,.22);
}

/* =========================================================
   POSTCARD — STAMP + CANCELLATION MARK
   ========================================================= */

.aersocial-opened-postcard__address {
    position: relative;
    min-width: 0;
    min-height: 100%;
    padding: 0;
    display: block;
}

.aersocial-opened-postcard__stamp-area {
    position: absolute;

    top: -28px;
    right: -28px;

    width: 200px;
    height: 150px;

    overflow: visible;
    pointer-events: none;
}


.aersocial-opened-postcard__postmark {
    position: absolute;

    top: 12px;
    left: -45px;

    width: 220px;
    height: 100px;

    overflow: visible;

    fill: none;

    stroke: rgba(82, 79, 73, 0.43);
    stroke-width: 2.85;
    stroke-linecap: round;

    z-index: 3;

    pointer-events: none;
}

.aersocial-opened-postcard__stamp {
    position: absolute;

    top: 7px;
    right: 4px;

    width: 100px;
    height: 100px;

    object-fit: contain;

    z-index: 2;

    filter:
        drop-shadow(0 7px 5px rgba(48, 44, 40, 0.13))
        drop-shadow(0 2px 2px rgba(48, 44, 40, 0.08));

    transform: rotate(0.4deg);
}


.aersocial-opened-postcard__brand-mark {
    position: absolute;

    left: 0;
    bottom: 8px;

    display: flex;
    align-items: center;
    gap: 8px;

    color: #e33a35;

    opacity: 0.78;

    pointer-events: none;
}


.aersocial-opened-postcard__brand-icon {
    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(227, 58, 53, 0.65);

    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1;
}


.aersocial-opened-postcard__brand-text {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.aersocial-opened-postcard__ad {
    position: absolute;

    right: -2px;
    bottom: -2px;

    width: 300px;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    overflow: visible;
}

.aersocial-opened-postcard__ad img {
    display: block;

    width: 300px;
    height: auto;

    object-fit: contain;
}

.aersocial-opened-postcard__actions {
    display: flex;
    justify-content: center;
    gap: 12px;

    padding-top: 18px;
}

.aersocial-opened-postcard__actions button {
    padding: 10px 18px;

    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
    color: #fff;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;

    cursor: pointer;
}


/* Report Abuse */

.aersocial-postcard-report {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    width: 100%;
}

.aersocial-postcard-report__trigger {
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.aersocial-postcard-report__trigger:hover {
    background: rgba(255,255,255,.18);
}

.aersocial-postcard-report__form {
    margin: 12px auto 0;
    max-width: 360px;
    padding: 18px;
    text-align: left;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
}

.aersocial-postcard-report__title {
    margin: 0 0 14px;
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.aersocial-postcard-report__form label {
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,.82);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}

.aersocial-postcard-report__form input[type="radio"] {
    margin-right: 7px;
}

.aersocial-postcard-report__form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 9px 10px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    resize: vertical;
}

.aersocial-postcard-report__form textarea::placeholder {
    color: rgba(255,255,255,.5);
}

.aersocial-postcard-report__form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.aersocial-postcard-report__form-actions button {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.1);
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
}

.aersocial-postcard-report__form-actions button:hover {
    background: rgba(255,255,255,.18);
}


body.aersocial-postcard-is-open {
    overflow: hidden;
}


/* Mobile */
@media (max-width: 700px) {

    .aersocial-postcard-modal {
        padding: 24px 16px;
    }

    .aersocial-postcard-modal__stage {
        width: 100%;
    }

    .aersocial-postcard-modal__close {
        top: -14px;
        right: -4px;
    }

    .aersocial-opened-postcard__paper {
    grid-template-columns: 1.55fr 1px .85fr;

    min-height: 360px;
    aspect-ratio: auto;

    padding: 24px 20px;
    }

    .aersocial-opened-postcard__message {
        padding-right: 0;
    }

    .aersocial-opened-postcard__to {
        margin-bottom: 24px;
        font-size: 14px;
    }

    .aersocial-opened-postcard__text {
        font-size: 17px;
        line-height: 1.55;
    }

    .aersocial-opened-postcard__signoff {
        margin-top: 24px;
        font-size: 14px;
    }

    .aersocial-opened-postcard__divider {
    width: 1px;
    height: auto;
    margin: 0;
    align-self: stretch;
}

    .aersocial-opened-postcard__address {
    min-height: 100%;
    padding-left: 0;
}

    .aersocial-opened-postcard__stamp-area {
        top: 0;
        right: 0;
        width: 112px;
        height: 75px;
    }

    .aersocial-opened-postcard__postmark {
        top: 9px;
        left: -20px;
        width: 92px;
        height: 42px;
        stroke-width: 1.7;
    }

    .aersocial-opened-postcard__stamp {
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
    }

.aersocial-opened-postcard__brand-mark {
    left: 0;
    bottom: 0;

    gap: 5px;
}

.aersocial-opened-postcard__brand-icon {
    width: 20px;
    height: 20px;

    font-size: 13px;
}

.aersocial-opened-postcard__brand-text {
    font-size: 12px;
}

    .aersocial-opened-postcard__actions {
        flex-wrap: wrap;
    }

    .aersocial-opened-postcard__actions button {
        flex: 1 1 calc(50% - 6px);
    }
}




/* ---------------------------------------------------------
   Saved Postcards
   --------------------------------------------------------- */

.aersocial-saved {
    width: 100%;
}

/* Saved intro */

.aersocial-saved__intro-wrap {
    padding: 58px 6vw 48px;
    background: #f4eee3;
}

.aersocial-saved__intro {
    max-width: 1100px;
}

.aersocial-saved__eyebrow {
    margin: 0 0 18px;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: .08em;
    font-weight: 500;
}

.aersocial-saved__intro h1 {
    margin: 0 0 18px;

    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 500;
}

.aersocial-saved__intro > p:last-child {
    margin: 0;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Physical corkboard */

.aersocial-saved__board {
    position: relative;

    width: 100%;
    margin: 0;

    background-color: #9a5d32;

    background-image:
        radial-gradient(
            circle at 20% 30%,
            rgba(255,255,255,.055) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 70% 60%,
            rgba(40,20,8,.09) 0 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 40% 80%,
            rgba(255,255,255,.035) 0 1px,
            transparent 2px
        ),
        linear-gradient(
            90deg,
            rgba(55,28,12,.10),
            transparent 18%,
            transparent 82%,
            rgba(55,28,12,.10)
        ),
        linear-gradient(
            180deg,
            rgba(50,25,10,.20),
            transparent 18%,
            transparent 82%,
            rgba(40,20,8,.18)
        );

    background-size:
        17px 17px,
        23px 23px,
        29px 29px,
        100% 100%,
        100% 100%;

    border: 14px solid #70401f;

    border-top-color: #81502c;
    border-right-color: #643718;
    border-bottom-color: #5e3217;
    border-left-color: #74441f;

    box-shadow:
        inset 0 0 22px rgba(30,14,5,.38),
        inset 0 3px 0 rgba(255,255,255,.08),
        0 16px 30px rgba(45,29,17,.20);

    overflow: hidden;
}

.aersocial-saved__board::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        inset 0 0 0 5px rgba(40,20,8,.10),
        inset 0 0 30px rgba(30,15,5,.20);

    z-index: 1;
}

/* Saved card grid */

.aersocial-saved__cards {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 18px;

    width: 100%;
    max-width: 1320px;
    margin: 0 auto;

    padding: 62px 38px 90px;

    box-sizing: border-box;
}

/* Saved postcard */

.aersocial-saved__card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(88%, 240px);
    aspect-ratio: 3 / 2;
    min-height: 0;
    box-sizing: border-box;

    justify-self: center;

    padding: 20px 14px;

    border: 1px solid rgba(110, 82, 52, 0.12);
    border-radius: 3px 2px 4px 2px;

    background:
        radial-gradient(
            circle at 18% 16%,
            rgba(255,255,255,.28),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            rgba(255,255,255,.22),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #f4ecdc 0%,
            #eee3cf 100%
        );

    box-shadow:
        0 14px 20px rgba(35,23,13,.30),
        0 3px 6px rgba(35,23,13,.18);

    color: #302c28;

    cursor: pointer;

    font-family: "Special Elite", monospace;
    font-size: 17px;
    line-height: 1.4;

    transform: rotate(-1deg);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.aersocial-saved__card::after {
    content: "";

    position: absolute;
    inset: 3px;

    pointer-events: none;

    border: 1px solid rgba(110, 82, 52, 0.08);
    border-radius: 2px 3px 2px 4px;

    box-shadow:
        inset 0 0 10px rgba(110, 82, 52, 0.07);
}

/* Physical irregularity */

.aersocial-saved__card:nth-child(1) {
    transform: translate(-3px, 3px) rotate(-1.2deg);
}

.aersocial-saved__card:nth-child(2) {
    transform: translate(2px, -2px) rotate(1.2deg);
}

.aersocial-saved__card:nth-child(3) {
    transform: translate(-2px, 4px) rotate(-.6deg);
}

.aersocial-saved__card:nth-child(4) {
    transform: translate(3px, -3px) rotate(.8deg);
}

.aersocial-saved__card:nth-child(5) {
    transform: translate(-2px, 2px) rotate(-1.1deg);
}



/* Hover */

.aersocial-saved__card:hover {
    transform: translateY(-5px) rotate(0deg);

    box-shadow:
        0 17px 27px rgba(35,23,13,.30),
        0 3px 6px rgba(35,23,13,.17);
}

/* Post Box number */

.aersocial-saved__card span {
    display: block;

    text-align: center;

    font-family: "Special Elite", monospace;
}

/* Pushpins */

.aersocial-saved__card::before {
    content: "";

    position: absolute;

    top: -10px;
    left: 50%;

    width: 18px;
    height: 18px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: #8a5044;

    box-shadow:
        0 3px 4px rgba(0,0,0,.30),
        inset 2px 2px 3px rgba(255,255,255,.30),
        inset -2px -2px 3px rgba(0,0,0,.16);
}

.aersocial-saved__card:nth-child(2)::before {
    background: #61766d;
}

.aersocial-saved__card:nth-child(3)::before {
    background: #8c6875;
}

.aersocial-saved__card:nth-child(4)::before {
    background: #b18a38;
}

.aersocial-saved__card:nth-child(5)::before {
    background: #8a5044;
}

/* Empty state */

.aersocial-saved__empty {
    grid-column: 1 / -1;

    padding: 60px 30px;

    text-align: center;

    color: #f4e8d4;

    font-family: "DM Sans", Arial, sans-serif;
}

.aersocial-saved__empty p {
    margin: 0 0 8px;

    font-family: Georgia, serif;
    font-size: 28px;
}

.aersocial-saved__empty span {
    opacity: .72;
}

/* Tablet */

@media (max-width: 1000px) {

    .aersocial-saved__cards {
        gap: 42px 24px;
        padding-left: 28px;
        padding-right: 28px;
    }
}

/* Mobile */

@media (max-width: 700px) {

    .aersocial-saved__intro-wrap {
        padding: 48px 24px 42px;
    }

    .aersocial-saved__intro h1 {
        font-size: clamp(38px, 10vw, 52px);
    }

    .aersocial-saved__intro > p:last-child {
        font-size: 15px;
    }

    .aersocial-saved__board {
        border-width: 9px;
    }

    .aersocial-saved__cards {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 22px 12px;

        width: 100%;

        padding: 40px 14px 55px;

        box-sizing: border-box;
    }

    .aersocial-saved__card {
        width: auto;
        max-width: 100%;
        min-width: 0;

        aspect-ratio: 3 / 2;
        min-height: 0;

        padding: 10px;

        font-size: 14px;

        justify-self: center;
    }

    .aersocial-saved__card:nth-child(4),
    .aersocial-saved__card:nth-child(5) {
        grid-column: auto;
    }
}

    /* Saved postcard — mobile stamp */
    .aersocial-opened-postcard__stamp-area {
        top: 0;
        right: 0;
        width: 112px;
        height: 75px;
    }

    .aersocial-opened-postcard__postmark {
        top: 9px;
        left: -15px;
        width: 92px;
        height: 42px;
        stroke-width: 1.7;
    }

    .aersocial-opened-postcard__stamp {
        top: 0;
        right: 0;
        width: 60px;
        height: 60px;
    }


    
/* ---------------------------------------------------------
   Postcard Export
   Dedicated layout for Download / Share
   --------------------------------------------------------- */

.aersocial-postcard-export {
    position: fixed !important;
    left: -10000px !important;
    top: 0 !important;

    width: 1200px !important;
    height: 800px !important;
    min-height: 800px !important;
    max-height: none !important;

    aspect-ratio: 3 / 2 !important;
    box-sizing: border-box !important;
    padding: 48px !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1.55fr) 1px minmax(0, 0.85fr) !important;
    align-items: stretch !important;

    overflow: visible !important;

    background-color: #eee4d2 !important;
    background-image: none !important;

    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    box-shadow: none !important;

    font-size: 17px !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__message {
    min-width: 0 !important;
    padding-right: 48px !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__to {
    margin-bottom: 24px !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__text {
    min-width: 0 !important;
    max-width: 100% !important;

    font-size: 38px !important;
    line-height: 1.5 !important;

    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    white-space: pre-wrap !important;

    padding-right: 24px !important;

    font-family:
        "Special Elite",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        "Apple Color Emoji",
        sans-serif;
}

.aersocial-postcard-export
.aersocial-opened-postcard__signoff {
    margin-top: 24px !important;
    font-size: 24px !important;
    line-height: 1.4 !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__stamp-area {
    width: 310px !important;
    height: 155px !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__postmark {
    top: 16px !important;
    left: -20px !important;
    width: 285px !important;
    height: 105px !important;
    stroke-width: 2.2 !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__stamp {
    top: 0 !important;
    right: 0 !important;
    width: 138px !important;
    height: 138px !important;
    max-width: none !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__brand-mark {
    left: 0 !important;
    bottom: 0 !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__brand-icon {
    width: 25px !important;
    height: 25px !important;
    font-size: 16px !important;
}

.aersocial-postcard-export
.aersocial-opened-postcard__brand-text {
    font-size: 15px !important;
}



/* Send confirmation */

.aersocial-send__success {
    max-width: 760px;
    margin: 38px auto 44px;
    padding: 28px 34px;
    box-sizing: border-box;
    background: #f7f1e7;
    border: 1px solid rgba(80, 60, 40, 0.14);
    box-shadow: 0 10px 28px rgba(40, 25, 10, 0.07);
    color: #5c4b40;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.aersocial-send__success strong {
    display: block;
    margin-bottom: 6px;
    color: #302c28;
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.3;
}

.aersocial-send__again {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 13px 24px;
    background: #E33A35;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 4px;
    transition: background-color 180ms ease, transform 180ms ease;
}

.aersocial-send__again:hover {
    background: #C92F2B;
    transform: translateY(-1px);
}

.site-header__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 1px solid #E33A35;
    border-radius: 4px;
    background: #E33A35;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: opacity 180ms ease;
}

.site-header__login:hover {
    background: #C92F2B;
    color: #ffffff;
    opacity: 1;
}

/* =========================================================
   aersocial Postcards — Moderation Strike Notice
   ========================================================= */

.aersocial-strike-notice {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 6px 14px;

    box-sizing: border-box;

    background: #d71920;
    color: #ffffff;

    font-family: "DM Sans", Arial, sans-serif;
    text-align: center;
    line-height: 1.3;
}

.aersocial-strike-notice__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.aersocial-strike-notice__text {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.95;
}

/* Aersocial custom logo — mobile */
@media (max-width: 600px) {

    .site-header__logo .custom-logo-link {
        display: flex;
        align-items: center;
        line-height: 0;
    }

    .site-header__logo .custom-logo {
        width: 125px;
        height: auto;
        max-width: 100%;
    }
}

/* =========================================================
   HEADER — MOBILE LEGACY OVERRIDES REMOVED
   ========================================================= */

.aersocial-opened-postcard__ad {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 82%;
    max-width: 310px;

    height: 44%;
    max-height: 340px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.aersocial-opened-postcard__ad img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* =========================================================
   Sponsored postcard ads
   Currently disabled — keep this rule for future activation.
   ========================================================= */

.aersocial-opened-postcard__ad {
    display: none !important;
}   
    
    /* =========================================
   FOOTER — SIGN OUT
   ========================================= */

.site-footer__logout {
    opacity: 0.55;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer__logout:hover {
    opacity: 1;
    color: #E33A35;
}

.site-footer__delete {
    opacity: 0.6;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.site-footer__delete:hover {
    opacity: 1;
    color: #E33A35;
}


/* =========================================
   AERSOCIAL — GLOBAL RED ACCENT OVERRIDE
   ========================================= */

/* Login button */
.aersocial-login button,
.aersocial-login input[type="submit"],
.aersocial-login .button,
.aersocial-login a.button {
    background: #E33A35 !important;
    border-color: #E33A35 !important;
    color: #fff !important;
}

.aersocial-login button:hover,
.aersocial-login input[type="submit"]:hover,
.aersocial-login .button:hover,
.aersocial-login a.button:hover {
    background: #C92F2B !important;
    border-color: #C92F2B !important;
    color: #fff !important;
}


/* Account / profile buttons */
.aersocial-account button,
.aersocial-account .button,
.aersocial-account a.button,
.aersocial-profile button,
.aersocial-profile .button,
.aersocial-profile a.button {
    background: #E33A35 !important;
    border-color: #E33A35 !important;
    color: #fff !important;
}

.aersocial-account button:hover,
.aersocial-account .button:hover,
.aersocial-account a.button:hover,
.aersocial-profile button:hover,
.aersocial-profile .button:hover,
.aersocial-profile a.button:hover {
    background: #C92F2B !important;
    border-color: #C92F2B !important;
    color: #fff !important;
}


/* Sign out / logout */
.site-footer__logout {
    color: #E33A35 !important;
}

.site-footer__logout:hover {
    color: #C92F2B !important;
}


/* Account-related links */
.site-footer__delete {
    color: #E33A35 !important;
}

.site-footer__delete:hover {
    color: #C92F2B !important;
}



/* =========================================================
   aersocial Promotions — FINAL
   ========================================================= */

.aersocial-wall > .aersocial-promotions {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.aersocial-promotions__slides {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.aersocial-promotions__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
    transition: opacity .6s ease;
}

.aersocial-promotions__slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.aersocial-promotions__slide picture {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.aersocial-promotions__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 0.82;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Dots */
.aersocial-promotions__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.aersocial-promotions__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(48, 44, 40, .25);
    cursor: pointer;
}

.aersocial-promotions__dot.is-active {
    background: #e33a35;
}

/* Tablet */
@media (max-width: 1000px) {
    .aersocial-wall > .aersocial-promotions {
        margin-bottom: 20px !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .aersocial-wall > .aersocial-promotions {
        margin-bottom: 18px !important;
    }
}

/* Small phones */
@media (max-width: 420px) {
    .aersocial-wall > .aersocial-promotions {
        margin-bottom: 16px !important;
    }
}

.aersocial-promotions__link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.aersocial-inbox__message {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

    /* =========================================================
   SEND POSTCARD — MUSIC LIBRARY UI
   ========================================================= */

.aersocial-send__music {
    margin: 38px 0 34px;
}


/* ---------------------------------------------------------
   Heading
   --------------------------------------------------------- */

.aersocial-send__music-heading {
    margin-bottom: 16px;
}

.aersocial-send__music-eyebrow {
    margin: 0 0 8px;
    font-family: "Special Elite", monospace;
    font-size: 12px;
    letter-spacing: .08em;
    line-height: 1.4;
    opacity: .72;
}

.aersocial-send__music-heading > strong {
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
}

.aersocial-send__music-heading > small {
    margin-left: 5px;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    opacity: .62;
}


/* ---------------------------------------------------------
   Music choice
   --------------------------------------------------------- */

.aersocial-send__music-source {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.aersocial-send__music-source label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;

    cursor: pointer;
}

.aersocial-send__music-source input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;

    accent-color: #E33A35;
}


/* ---------------------------------------------------------
   Library container
   --------------------------------------------------------- */

.aersocial-send__music-library {
    width: 100%;
    max-width: 760px;

    padding: 20px;

    background: #faf9f5;

    border: 1px solid rgba(48, 44, 40, .12);

    box-shadow:
        0 5px 18px rgba(48, 44, 40, .035);
}


/* ---------------------------------------------------------
   Search
   --------------------------------------------------------- */

.aersocial-send__music-search {
    position: relative;
    margin-bottom: 12px;
}

.aersocial-send__music-search::before {
    content: "⌕";

    position: absolute;
    left: 15px;
    top: 50%;

    transform: translateY(-52%);

    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1;

    color: rgba(48, 44, 40, .46);

    pointer-events: none;
}

.aersocial-send__music-search input {
    display: block;

    width: 100%;
    height: 46px;

    margin: 0;
    padding: 0 16px 0 43px;

    border: 1px solid rgba(48, 44, 40, .16);
    border-radius: 0;

    outline: none;

    background: #fff;

    color: #302c28;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.aersocial-send__music-search input::placeholder {
    color: rgba(48, 44, 40, .48);
}

.aersocial-send__music-search input:focus {
    border-color: rgba(227, 58, 53, .55);

    box-shadow:
        0 0 0 2px rgba(227, 58, 53, .07);

    background: #fff;
}


/* ---------------------------------------------------------
   Filters
   --------------------------------------------------------- */

.aersocial-send__music-filters {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;

    margin-bottom: 16px;
}

.aersocial-send__music-filters select {
    width: 100%;
    height: 42px;

    margin: 0;
    padding: 0 36px 0 13px;

    border: 1px solid rgba(48, 44, 40, .14);
    border-radius: 0;

    outline: none;

    background-color: #f4efe5;

    color: #302c28;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition:
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}

.aersocial-send__music-filters select:hover {
    border-color: rgba(48, 44, 40, .30);
    background-color: #f8f4ec;
}

.aersocial-send__music-filters select:focus {
    border-color: rgba(227, 58, 53, .48);

    box-shadow:
        0 0 0 2px rgba(227, 58, 53, .06);
}


/* ---------------------------------------------------------
   Results
   --------------------------------------------------------- */

.aersocial-send__music-results {
    display: flex;
    flex-direction: column;
    gap: 8px;

    width: 100%;
}


/* ---------------------------------------------------------
   Track row
   --------------------------------------------------------- */

.aersocial-send__music-track {
    position: relative;

    display: grid;

    grid-template-columns:
        72px minmax(0, 1fr) 28px;

    align-items: center;

    gap: 14px;

    width: 100%;
    min-height: 88px;

    margin: 0;
    padding: 8px 14px 8px 8px;

    border: 1px solid rgba(48, 44, 40, .11);
    border-radius: 0;

    background: #fff;

    color: #302c28;

    text-align: left;

    cursor: pointer;

    overflow: hidden;

    transition:
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.aersocial-send__music-track:hover {
    border-color: rgba(227, 58, 53, .28);

    background: #fffdf9;

    box-shadow:
        0 5px 15px rgba(48, 44, 40, .055);

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   Cover
   --------------------------------------------------------- */

.aersocial-send__music-track-cover {
    display: block;

    width: 72px;
    height: 72px;

    overflow: hidden;

    background: #eee8dc;

    border: 1px solid rgba(48, 44, 40, .08);
}

.aersocial-send__music-track-cover img {
    display: block !important;

    width: 72px !important;
    height: 72px !important;

    max-width: none !important;

    object-fit: cover;

    margin: 0 !important;
}

.aersocial-send__music-track-cover--empty {
    width: 72px;
    height: 72px;

    background:
        linear-gradient(
            135deg,
            #eee6d8,
            #e5dccd
        );
}


/* ---------------------------------------------------------
   Track text
   --------------------------------------------------------- */

.aersocial-send__music-track-copy {
    display: flex;

    min-width: 0;

    flex-direction: column;

    align-items: flex-start;

    gap: 3px;
}

.aersocial-send__music-track-copy strong {
    display: block;

    width: 100%;

    overflow: hidden;

    color: #302c28;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.aersocial-send__music-track-copy small {
    display: block;

    width: 100%;

    overflow: hidden;

    color: rgba(48, 44, 40, .67);

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12.5px;
    line-height: 1.35;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.aersocial-send__music-track-meta {
    display: block;

    width: 100%;

    margin-top: 3px;

    overflow: hidden;

    color: rgba(48, 44, 40, .50);

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 11.5px;
    line-height: 1.35;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   Selection check
   --------------------------------------------------------- */

.aersocial-send__music-track-check {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border: 1px solid rgba(48, 44, 40, .16);
    border-radius: 50%;

    color: transparent;

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;

    transition:
        color 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}


/* Selected track */

.aersocial-send__music-track.is-selected {
    border-color: #E33A35;

    background: #fff5f4;

    box-shadow:
        0 5px 18px rgba(227, 58, 53, .08);
}

.aersocial-send__music-track.is-selected
.aersocial-send__music-track-check {
    border-color: #E33A35;

    background: #E33A35;

    color: #fff;
}


/* ---------------------------------------------------------
   Status
   --------------------------------------------------------- */

.aersocial-send__music-status {
    margin: 12px 2px 0;

    color: rgba(48, 44, 40, .58);

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Loading / empty state
   --------------------------------------------------------- */

.aersocial-send__music-loading,
.aersocial-send__music-empty {
    padding: 24px 18px;

    border: 1px dashed rgba(48, 44, 40, .16);

    background: rgba(255, 255, 255, .45);

    color: rgba(48, 44, 40, .60);

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;

    text-align: center;
}


/* ---------------------------------------------------------
   Pagination
   --------------------------------------------------------- */

.aersocial-send__music-pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 14px;
}

.aersocial-send__music-pagination button {
    min-width: 34px;
    height: 34px;

    padding: 0 10px;

    border: 1px solid rgba(48, 44, 40, .14);

    background: #fff;

    color: #302c28;

    font-family: "DM Sans", Arial, sans-serif;
    font-size: 12px;

    cursor: pointer;
}

.aersocial-send__music-pagination button:hover {
    border-color: rgba(227, 58, 53, .35);
}

.aersocial-send__music-pagination button:disabled {
    opacity: .38;
    cursor: default;
}


/* =========================================================
   MUSIC LIBRARY — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .aersocial-send__music {
        margin-top: 32px;
    }

    .aersocial-send__music-heading > strong {
        display: block;
        font-size: 20px;
    }

    .aersocial-send__music-heading > small {
        display: block;

        margin:
            5px 0 0;

        line-height: 1.5;
    }

    .aersocial-send__music-source {
        gap: 12px 18px;
    }

    .aersocial-send__music-library {
        max-width: none;

        padding: 14px;
    }

    .aersocial-send__music-filters {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .aersocial-send__music-track {
        grid-template-columns:
            62px minmax(0, 1fr) 24px;

        min-height: 78px;

        gap: 11px;

        padding: 7px 10px 7px 7px;
    }

    .aersocial-send__music-track-cover,
    .aersocial-send__music-track-cover--empty {
        width: 62px;
        height: 62px;
    }

    .aersocial-send__music-track-cover img {
        width: 62px !important;
        height: 62px !important;
    }

    .aersocial-send__music-track-copy strong {
        font-size: 14px;
    }

    .aersocial-send__music-track-copy small {
        font-size: 12px;
    }

    .aersocial-send__music-track-meta {
        font-size: 11px;
    }
}

    /* =========================================================
   MUSIC LIBRARY — TRACK PREVIEW
   ========================================================= */

.aersocial-send__music-track-preview {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border: 1px solid rgba(48, 44, 40, .16);
    border-radius: 50%;

    background: #f4efe5;
    color: #302c28;

    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.aersocial-send__music-track-preview:hover {
    border-color: #E33A35;

    background: #fff5f4;

    color: #E33A35;

    transform: scale(1.05);
}

.aersocial-send__music-track-preview.is-playing {
    border-color: #E33A35;

    background: #E33A35;

    color: #fff;
}


/* Keep preview and selection check neatly aligned */

.aersocial-send__music-track {
    grid-template-columns:
        72px
        minmax(0, 1fr)
        34px
        28px;
}


/* Mobile */

@media (max-width: 700px) {

    .aersocial-send__music-track {
        grid-template-columns:
            62px
            minmax(0, 1fr)
            32px
            24px;
    }

    .aersocial-send__music-track-preview {
        width: 32px;
        height: 32px;

        flex-basis: 32px;

        font-size: 10px;
    }
}


        /* =========================================================
           MUSIC PREVIEW — ROUNDED PAUSE ICON
           ========================================================= */
        
        .aersocial-send__music-track-preview.is-playing {
            font-size: 0 !important;
        }
        
        .aersocial-send__music-track-preview.is-playing::before,
        .aersocial-send__music-track-preview.is-playing::after {
            content: "";
            display: block;
            width: 4px;
            height: 14px;
            border-radius: 999px;
            background: currentColor;
        }
        
        .aersocial-send__music-track-preview.is-playing {
            gap: 2px;
        }
        
        .aersocial-send__music-track-preview.is-playing::before,
        .aersocial-send__music-track-preview.is-playing::after {
            flex: 0 0 4px;
        }
        
        
    /* =========================================================
   MUSIC LIBRARY — FINAL TRACK ROW LAYOUT
   ========================================================= */

.aersocial-send__music-track {
    display: grid !important;

    grid-template-columns:
        72px
        minmax(0, 1fr)
        36px
        28px !important;

    align-items: center !important;

    column-gap: 14px !important;
    row-gap: 0 !important;

    min-height: 88px !important;

    padding: 8px 12px 8px 8px !important;

    box-sizing: border-box !important;
}


/* Artwork */

.aersocial-send__music-track-cover {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 72px !important;
    height: 72px !important;

    flex: none !important;
}


/* Song information */

.aersocial-send__music-track-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;

    min-width: 0 !important;

    width: 100% !important;

    align-self: center !important;

    display: flex !important;

    flex-direction: column !important;

    justify-content: center !important;

    align-items: flex-start !important;

    gap: 3px !important;

    overflow: hidden !important;
}


/* Preview button */

.aersocial-send__music-track-preview {
    grid-column: 3 !important;
    grid-row: 1 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(48, 44, 40, .16) !important;
    border-radius: 50% !important;

    background: #f4efe5 !important;

    color: #302c28 !important;

    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;

    cursor: pointer !important;

    flex: none !important;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease !important;
}

.aersocial-send__music-track-preview:hover {
    border-color: rgba(48, 44, 40, .20) !important;

    background: #ebe6da !important;

    color: #302c28 !important;

    transform: scale(1.05);
}


/* =========================================================
   MUSIC LIBRARY — PLAYING / PAUSE STATE
   Same colours as the normal play button
   ========================================================= */

.aersocial-send__music-track-preview.is-playing {
    border: 1px solid rgba(48, 44, 40, .16) !important;

    background: #f4efe5 !important;

    color: #302c28 !important;

    font-size: 0 !important;

    gap: 2px !important;
}

.aersocial-send__music-track-preview.is-playing:hover {
    border-color: rgba(48, 44, 40, .20) !important;

    background: #ebe6da !important;

    color: #302c28 !important;
}


/* Selection indicator */

.aersocial-send__music-track-check {
    grid-column: 4 !important;
    grid-row: 1 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    flex: none !important;
}


/* =========================================================
   MUSIC LIBRARY — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .aersocial-send__music-track {
        grid-template-columns:
            62px
            minmax(0, 1fr)
            32px
            24px !important;

        column-gap: 10px !important;

        min-height: 76px !important;

        padding: 7px 9px 7px 7px !important;
    }

    .aersocial-send__music-track-cover {
        width: 62px !important;
        height: 62px !important;
    }

    .aersocial-send__music-track-cover img {
        width: 62px !important;
        height: 62px !important;
    }

    .aersocial-send__music-track-preview {
        width: 32px !important;
        height: 32px !important;
    }

    .aersocial-send__music-track-check {
        width: 22px !important;
        height: 22px !important;
    }
}

    /* =========================================================
   AERSOCIAL MUSIC LIBRARY
   PLAY / PAUSE — CHARCOAL CONTROLS
   ========================================================= */

/* Play button */
.aersocial-send__music-track-preview {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #302c28 !important;
    background: #f4efe5 !important;

    font-size: 0 !important;
    line-height: 1 !important;
}

/* Draw the play triangle with CSS — never use the ▶ character */
.aersocial-send__music-track-preview:not(.is-playing)::before {
    content: "" !important;

    display: block !important;

    width: 0 !important;
    height: 0 !important;

    margin-left: 2px !important;

    border-top: 6px solid transparent !important;
    border-bottom: 6px solid transparent !important;
    border-left: 9px solid #302c28 !important;
}

/* Hover — still neutral charcoal, never red */
.aersocial-send__music-track-preview:not(.is-playing):hover {
    background: #ebe6da !important;
    border-color: rgba(48, 44, 40, 0.20) !important;
}

/* =========================================================
   PAUSE STATE
   Two rounded charcoal bars
   ========================================================= */

.aersocial-send__music-track-preview.is-playing {
    font-size: 0 !important;
    gap: 2px !important;
}

.aersocial-send__music-track-preview.is-playing::before,
.aersocial-send__music-track-preview.is-playing::after {
    content: "" !important;

    display: block !important;

    width: 4px !important;
    height: 14px !important;

    flex: 0 0 4px !important;

    border-radius: 999px !important;

    background: #302c28 !important;
    border-color: rgba(48, 44, 40, 0.20) !important;
    border: 0 !important;

    margin: 0 !important;
}

    /* =========================================================
   AERSOCIAL — UNIVERSAL POSTCARD MUSIC PLAY / PAUSE
   Send • Saved • Inbox • My Board • Keepers • Kept
   Desktop • Tablet • Mobile
   ========================================================= */

/* ---------------------------------------------------------
   POSTCARD MUSIC PLAY BUTTON
   --------------------------------------------------------- */

.aersocial-postcard-music__play {
    position: relative !important;

    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid rgba(48, 44, 40, .16) !important;
    border-radius: 50% !important;

    background: #e9e3d8 !important;

    color: #302c28 !important;

    font-family: Arial, sans-serif !important;
    font-size: 0 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    outline: none !important;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease !important;
}

.aersocial-postcard-music__play:hover {
    background: #ddd6ca !important;
    border-color: rgba(48, 44, 40, .20) !important;
    color: #302c28 !important;
    transform: scale(1.05);
}

.aersocial-postcard-music__play[hidden] {
    display: none !important;
}

.aersocial-postcard-music__play-icon,
.aersocial-postcard-music__play-icon--play,
.aersocial-postcard-music__play-icon--pause {
    display: none !important;
    font-size: 0 !important;
}

/* PLAY */
.aersocial-postcard-music__play:not(
    [aria-pressed="true"]
)::before {
    content: "" !important;

    display: block !important;

    width: 0 !important;
    height: 0 !important;

    margin-left: 2px !important;

    border-top: 6px solid transparent !important;
    border-bottom: 6px solid transparent !important;
    border-left: 9px solid #302c28 !important;
}

/* PAUSE */
.aersocial-postcard-music__play[aria-pressed="true"] {
    position: relative !important;

    background: #f4efe5 !important;

    border: 1px solid rgba(48, 44, 40, .16) !important;

    color: #302c28 !important;

    gap: 0 !important;
}


.aersocial-postcard-music__play[aria-pressed="true"]::before,
.aersocial-postcard-music__play[aria-pressed="true"]::after {
    content: "" !important;

    display: block !important;

    position: absolute !important;

    top: 50% !important;

    width: 4px !important;
    min-width: 4px !important;
    max-width: 4px !important;

    height: 14px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    border-radius: 999px !important;

    background: #302c28 !important;

    transform: translateY(-50%) !important;

    flex: none !important;
    flex-shrink: 0 !important;
}


.aersocial-postcard-music__play[aria-pressed="true"]::before {
    left: calc(50% - 5px) !important;
}


.aersocial-postcard-music__play[aria-pressed="true"]::after {
    right: calc(50% - 5px) !important;
}

/* PAUSE HOVER */
.aersocial-postcard-music__play[aria-pressed="true"]:hover {
    background: #ddd6ca !important;
    border-color: rgba(48, 44, 40, .20) !important;
    color: #302c28 !important;
}

/* =========================================================
   POSTCARD MODAL — SMALL PHONE FINAL UI
   ========================================================= */

@media (max-width: 420px) {

    .aersocial-postcard-modal {
        padding: 14px 12px !important;
    }

    .aersocial-postcard-modal__stage {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* -----------------------------------------------------
       Postcard
       ----------------------------------------------------- */

    .aersocial-opened-postcard__paper {
    grid-template-columns: 1.55fr 1px .85fr !important;
    aspect-ratio: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}


    /* -----------------------------------------------------
       Message
       ----------------------------------------------------- */

    .aersocial-opened-postcard__message {
    min-width: 0 !important;
    padding-right: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    justify-content: center !important;
}

    .aersocial-opened-postcard__to {
        margin: 0 0 12px !important;

        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .aersocial-opened-postcard__text {
    max-width: 100% !important;

    margin: 0 !important;

    font-size: 15px !important;
    line-height: 1.38 !important;

    overflow-wrap: break-word !important;
    word-break: normal !important;
}

    .aersocial-opened-postcard__signoff {
        margin: 12px 0 0 !important;

        font-size: 12px !important;
        line-height: 1.25 !important;
    }


    /* -----------------------------------------------------
       Music
       ----------------------------------------------------- */

    .aersocial-postcard-music {
        margin-top: 12px !important;
        padding-top: 8px !important;

        gap: 7px !important;

        min-width: 0 !important;

        box-sizing: border-box !important;
    }

    .aersocial-postcard-music__cover-wrap {
        width: 32px !important;
        height: 32px !important;

        flex: 0 0 32px !important;

        border-radius: 3px !important;
    }

    .aersocial-postcard-music__info {
        min-width: 0 !important;
        padding-right: 4px !important;
    }

    .aersocial-postcard-music__eyebrow {
        margin-bottom: 2px !important;

        font-size: 8px !important;
        line-height: 1.15 !important;
    }

    .aersocial-postcard-music__title {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .aersocial-postcard-music__artist {
        margin-top: 1px !important;

        font-size: 9px !important;
        line-height: 1.2 !important;
    }

    .aersocial-postcard-music__play {
        width: 28px !important;
        height: 28px !important;

        flex: 0 0 28px !important;

        margin-right: 4px !important;
    }


    /* -----------------------------------------------------
       Close button
       ----------------------------------------------------- */

    .aersocial-postcard-modal__close {
        top: -9px !important;
        right: 2px !important;

        width: 32px !important;
        height: 32px !important;

        font-size: 20px !important;

        box-shadow: 0 3px 10px rgba(0,0,0,.20) !important;
    }


    /* -----------------------------------------------------
       Actions
       ----------------------------------------------------- */

    .aersocial-opened-postcard__actions {
        gap: 8px !important;

        padding-top: 9px !important;

        margin-top: 0 !important;
    }

    .aersocial-opened-postcard__actions button {
        flex: 1 1 calc(50% - 4px) !important;

        min-width: 0 !important;

        padding: 9px 8px !important;

        font-size: 12px !important;
    }


    /* -----------------------------------------------------
       Report Abuse
       ----------------------------------------------------- */

    .aersocial-postcard-report {
        margin-top: 7px !important;
    }

    .aersocial-postcard-report__trigger {
        padding: 8px 14px !important;

        font-size: 11px !important;
    }
}

    /* =========================================================
   MY BOARD — MOBILE ENVELOPE LABEL FIX
   Keeps Post Box numbers fully inside 3-column envelopes
   ========================================================= */

@media (max-width: 700px) {

    .aersocial-my-board__envelope-label {
        left: 12px !important;
        right: 12px !important;
        bottom: 14px !important;

        min-width: 0 !important;
        max-width: calc(100% - 24px) !important;

        gap: 4px !important;

        overflow: hidden !important;
    }

    .aersocial-my-board__envelope-label small {
        display: block !important;

        max-width: 100% !important;

        font-size: 7px !important;
        line-height: 1.15 !important;
        letter-spacing: .11em !important;

        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .aersocial-my-board__envelope-label strong {
        display: block !important;

        max-width: 100% !important;

        font-size: 12px !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        font-weight: 400 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }

}


    .aersocial-account__password-panel {
    margin-top: 24px;
    padding: 24px;
    border-top: 1px solid rgba(48,43,39,.12);
    background: rgba(248,246,242,.72);
}

.aersocial-account__password-heading {
    margin-bottom: 22px;
}

.aersocial-account__password-heading p {
    margin: 8px 0 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #716b65;
}

.aersocial-account__password-panel[hidden] {
    display: none;
}

    
/* POSTCARD — MOBILE MINIMUM HEIGHT */

@media (max-width: 700px) {

    .aersocial-opened-postcard__paper {
        width: 100% !important;
        height: auto !important;
        min-height: 300px !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .aersocial-opened-postcard__message {
        min-height: 0 !important;
        height: auto !important;
        padding-bottom: 16px !important;
    }

}



    
/* =========================================================
   AERSOCIAL POSTCARD — RESPONSIVE MOBILE VIEW
   Desktop download/share export remains unchanged.
   ========================================================= */

@media (max-width: 700px) {

    .aersocial-postcard-modal {
        padding: 24px 12px;
        overflow-y: auto;
    }

    .aersocial-postcard-modal__stage {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .aersocial-opened-postcard__paper {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        height: auto;
        min-height: 0;
        max-height: none;

        aspect-ratio: 3 / 2;

        box-sizing: border-box;
        padding: clamp(12px, 4vw, 24px);

        grid-template-columns:
            minmax(0, 1.55fr)
            1px
            minmax(0, 0.85fr);

        overflow: visible;
    }

    .aersocial-opened-postcard__message {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .aersocial-opened-postcard__to,
    .aersocial-opened-postcard__text,
    .aersocial-opened-postcard__signoff {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .aersocial-opened-postcard__text {
        font-size: clamp(12px, 3.5vw, 20px);
        line-height: 1.5;
    }

    .aersocial-opened-postcard__to,
    .aersocial-opened-postcard__signoff {
        font-size: clamp(10px, 2.8vw, 15px);
        line-height: 1.4;
    }

    .aersocial-opened-postcard__actions {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .aersocial-postcard-report {
        max-width: 100%;
    }
}

@media (max-width: 380px) {

    .aersocial-postcard-modal {
        padding-left: 8px;
        padding-right: 8px;
    }

    .aersocial-opened-postcard__paper {
        padding: 10px;
    }

    .aersocial-opened-postcard__text {
        font-size: 12px;
    }
}
