.pm-card{
    max-width:960px;
    margin:24px auto;
    padding:28px;
    background:#fff;
    border:1px solid #edf0f4;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(15,23,42,.08);
    font-family:Arial,sans-serif;
    color:#162033;
}
.pm-auth-card{max-width:560px;}
.pm-card h2{margin-top:0;margin-bottom:12px;font-size:28px;line-height:1.2;}
.pm-card p{color:#526071;line-height:1.6;}
.pm-form{display:grid;gap:16px;margin-top:20px;}
.pm-form label{display:grid;gap:7px;font-weight:700;color:#263449;}
.pm-form input[type="text"],
.pm-form input[type="email"],
.pm-form input[type="password"]{
    width:100%;
    min-height:48px;
    border:1px solid #dce3ec;
    border-radius:14px;
    padding:10px 14px;
    font-size:16px;
    box-sizing:border-box;
}
.pm-checkbox{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:10px;font-weight:500!important;}
.pm-button,
.pm-small-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:999px;
    background:#7c3aed;
    color:#fff!important;
    padding:13px 22px;
    font-weight:800;
    cursor:pointer;
    line-height:1;
}
.pm-small-button{padding:9px 14px;font-size:14px;background:#334155;}
.pm-notice{max-width:960px;margin:16px auto;padding:14px 18px;border-radius:14px;font-weight:700;}
.pm-notice-success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;}
.pm-notice-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;}
.pm-centered{text-align:center;}
.pm-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;}
.pm-account-grid div{padding:16px;border-radius:16px;background:#f8fafc;border:1px solid #e5e7eb;}
.pm-account-grid strong{display:block;margin-bottom:6px;color:#0f172a;}
.pm-account-grid span{color:#526071;word-break:break-word;}
.pm-actions{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap;}
.pm-table-wrap{overflow-x:auto;margin-top:18px;}
.pm-table{width:100%;border-collapse:collapse;}
.pm-table th,
.pm-table td{padding:13px 12px;border-bottom:1px solid #e5e7eb;text-align:left;}
.pm-table th{background:#f8fafc;color:#0f172a;}
@media(max-width:760px){
    .pm-card{padding:20px;border-radius:18px;}
    .pm-account-grid{grid-template-columns:1fr;}
}
.pm-form select,
.pm-form input[type="date"],
.pm-form input[type="file"],
.pm-form textarea{
    width:100%;
    border:1px solid #dce3ec;
    border-radius:14px;
    padding:10px 14px;
    font-size:16px;
    box-sizing:border-box;
    background:#fff;
}
.pm-form textarea{resize:vertical;min-height:140px;line-height:1.5;}
.pm-create-card{max-width:1120px;}
.pm-create-form{gap:26px;}
.pm-step{padding:22px;border:1px solid #e5e7eb;border-radius:20px;background:#fbfdff;}
.pm-step-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px;}
.pm-step-head>span{width:38px;height:38px;border-radius:999px;background:#7c3aed;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto;}
.pm-step-head h3{margin:0 0 4px;font-size:22px;color:#0f172a;}
.pm-step-head p{margin:0;color:#64748b;}
.pm-design-grid,
.pm-package-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;}
.pm-package-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.pm-design-option,
.pm-package-option{position:relative;display:grid;gap:10px;padding:14px;border:2px solid #e5e7eb;border-radius:18px;background:#fff;cursor:pointer;transition:.18s ease;}
.pm-design-option input,
.pm-package-option input{position:absolute;opacity:0;pointer-events:none;}
.pm-design-option:has(input:checked),
.pm-package-option:has(input:checked){border-color:#7c3aed;box-shadow:0 12px 26px rgba(124,58,237,.16);transform:translateY(-1px);}
.pm-design-preview{height:92px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:34px;background:linear-gradient(135deg,#f8fafc,#eef2ff);overflow:hidden;}
.pm-design-preview img{width:100%;height:100%;object-fit:cover;display:block;}
.pm-design-preview em{font-style:normal;filter:drop-shadow(0 8px 12px rgba(15,23,42,.16));}
.pm-design-rainbow_01 .pm-design-preview{background:linear-gradient(135deg,#fde68a,#fecdd3,#bfdbfe);}
.pm-design-angel_02 .pm-design-preview{background:linear-gradient(135deg,#f8fafc,#ddd6fe);}
.pm-design-garden_03 .pm-design-preview{background:linear-gradient(135deg,#dcfce7,#bbf7d0);}
.pm-design-stars_04 .pm-design-preview{background:linear-gradient(135deg,#111827,#4338ca);}
.pm-design-clouds_05 .pm-design-preview{background:linear-gradient(135deg,#e0f2fe,#f8fafc);}
.pm-design-flowers_06 .pm-design-preview{background:linear-gradient(135deg,#fef3c7,#fce7f3);}
.pm-design-candle_07 .pm-design-preview{background:linear-gradient(135deg,#451a03,#f59e0b);}
.pm-design-heart_08 .pm-design-preview{background:linear-gradient(135deg,#fee2e2,#fef9c3);}
.pm-design-bridge_09 .pm-design-preview{background:linear-gradient(135deg,#c4b5fd,#93c5fd,#fbcfe8);}
.pm-design-minimal_10 .pm-design-preview{background:linear-gradient(135deg,#ffffff,#e5e7eb);}
.pm-design-option strong,
.pm-package-option strong{font-size:15px;color:#0f172a;}
.pm-package-option span{color:#7c3aed;font-weight:900;}
.pm-package-option small{color:#64748b;}
.pm-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.pm-main-submit{font-size:17px;padding:16px 28px;justify-self:start;}
@media(max-width:960px){
    .pm-design-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .pm-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
    .pm-design-grid,
    .pm-package-grid,
    .pm-two-col{grid-template-columns:1fr;}
}

.pm-inactive-card{text-align:center;border:1px solid rgba(239,68,68,.25);}
.pm-public-memorial{max-width:980px;margin:0 auto 40px;background:#fff;border-radius:28px;box-shadow:0 20px 70px rgba(15,23,42,.12);overflow:hidden;color:#1f2937;}
.pm-memorial-hero{position:relative;min-height:290px;background:#f8fafc;}
.pm-memorial-cover{height:320px;display:flex;align-items:center;justify-content:center;font-size:86px;background:linear-gradient(135deg,#fdf2f8,#ecfeff);overflow:hidden;}
.pm-memorial-cover img{width:100%;height:100%;object-fit:cover;display:block;}
.pm-memorial-profile{position:absolute;left:42px;bottom:-58px;width:138px;height:138px;border-radius:999px;object-fit:cover;border:7px solid #fff;box-shadow:0 12px 34px rgba(15,23,42,.22);background:#fff;}
.pm-memorial-body{padding:78px 42px 44px;}
.pm-memorial-dates{font-size:17px;opacity:.78;margin:0 0 8px;}
.pm-memorial-body h1{font-size:42px;line-height:1.1;margin:0 0 24px;}
.pm-memorial-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;background:#f8fafc;border-radius:20px;padding:22px;margin:24px 0;}
.pm-story-content{font-size:17px;line-height:1.75;}
.pm-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;}
.pm-gallery-grid img{width:100%;height:180px;object-fit:cover;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.1);}
.pm-design-view-angel_02 .pm-memorial-cover{background:linear-gradient(135deg,#eef2ff,#fff7ed);}
.pm-design-view-garden_03 .pm-memorial-cover{background:linear-gradient(135deg,#dcfce7,#fef9c3);}
.pm-design-view-stars_04 .pm-memorial-cover{background:linear-gradient(135deg,#111827,#312e81);color:#fff;}
.pm-design-view-clouds_05 .pm-memorial-cover{background:linear-gradient(135deg,#e0f2fe,#f8fafc);}
.pm-design-view-flowers_06 .pm-memorial-cover{background:linear-gradient(135deg,#fce7f3,#fef3c7);}
.pm-design-view-candle_07 .pm-memorial-cover{background:linear-gradient(135deg,#fff7ed,#fde68a);}
.pm-design-view-heart_08 .pm-memorial-cover{background:linear-gradient(135deg,#ffe4e6,#fdf2f8);}
.pm-design-view-bridge_09 .pm-memorial-cover{background:linear-gradient(135deg,#dbeafe,#fef3c7,#fce7f3);}
.pm-design-view-minimal_10 .pm-memorial-cover{background:linear-gradient(135deg,#f8fafc,#e5e7eb);}
@media(max-width:720px){.pm-memorial-profile{left:24px;width:112px;height:112px;bottom:-48px}.pm-memorial-body{padding:68px 22px 30px}.pm-memorial-body h1{font-size:32px}.pm-memorial-meta-grid,.pm-gallery-grid{grid-template-columns:1fr}.pm-gallery-grid img{height:220px}}

/* v0.5 renewal and package switch */
.pm-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.pm-secondary-button {
    opacity: .9;
}
.pm-package-switcher {
    position: relative;
    font-size: 13px;
}
.pm-package-switcher summary {
    cursor: pointer;
    padding: 7px 10px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #374151;
}
.pm-package-switcher div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    min-width: 130px;
}
.pm-package-switcher a {
    padding: 6px 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
}
.pm-help-text {
    color: #6b7280;
    font-size: 13px;
}

/* v0.6 virtual tribute system */
.pm-tributes-section,
.pm-garden-section,
.pm-share-section{
    margin-top:32px;
    padding-top:24px;
    border-top:1px solid rgba(15,23,42,.12);
}
.pm-tribute-count-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:14px;
    margin-top:16px;
}
.pm-tribute-count-card{
    display:block;
    background:rgba(255,255,255,.82);
    border:1px solid rgba(15,23,42,.10);
    border-radius:18px;
    padding:16px;
    text-align:center;
    box-shadow:0 10px 28px rgba(15,23,42,.06);
    color:#07122f;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.pm-tribute-clickable-card{
    cursor:pointer;
    text-decoration:none;
}
.pm-tribute-clickable-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 42px rgba(15,23,42,.13);
    border-color:rgba(124,58,237,.26);
    background:#fff;
    text-decoration:none;
}
.pm-tribute-clickable-card:focus{
    outline:3px solid rgba(124,58,237,.22);
    outline-offset:3px;
    text-decoration:none;
}
.pm-tribute-card-disabled{
    cursor:not-allowed;
    opacity:.55;
}
.pm-tribute-count-card .pm-tribute-icon{
    display:block;
    font-size:34px;
    line-height:1;
    margin-bottom:8px;
}
.pm-tribute-count-card strong{
    display:block;
    font-size:26px;
    line-height:1.2;
    margin-bottom:8px;
}
.pm-tribute-count-card small{
    display:block;
    color:#07122f;
    font-size:13px;
}
.pm-garden-map{
    position:relative;
    min-height:320px;
    border-radius:28px;
    overflow:hidden;
    background:linear-gradient(135deg,#dff7df,#bde9c4 60%,#9bd5a7);
    border:1px solid rgba(15,23,42,.10);
    box-shadow:inset 0 0 40px rgba(15,23,42,.08);
}
.pm-garden-map::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.55),transparent 22%),radial-gradient(circle at 80% 75%,rgba(255,255,255,.35),transparent 26%);
}
.pm-tree{
    position:absolute;
    transform:translate(-50%,-50%);
    z-index:2;
    cursor:pointer;
}
.pm-tree > span{
    display:block;
    font-size:30px;
    filter:drop-shadow(0 8px 8px rgba(15,23,42,.25));
}
.pm-tree-card{
    position:absolute;
    left:50%;
    bottom:120%;
    transform:translateX(-50%);
    width:210px;
    background:#fff;
    border-radius:16px;
    padding:12px;
    box-shadow:0 18px 45px rgba(15,23,42,.20);
    opacity:0;
    pointer-events:none;
    transition:.2s ease;
    text-align:center;
}
.pm-tree:hover .pm-tree-card{
    opacity:1;
    bottom:135%;
}
.pm-tree-card strong,
.pm-tree-card small{
    display:block;
}
.pm-tree-card p{
    margin:8px 0 0;
    font-size:13px;
}
.pm-share-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:12px;
}
.pm-share-buttons a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    font-weight:700;
}

/* v0.6.7 Memorial Template System */
.pm-template-v067,
.pm-template-v067 *{
    box-sizing:border-box;
}
.pm-template-v067 a{
    text-decoration:none;
}
.pm-template-v067{
    max-width:1180px;
    margin:0 auto 48px;
    font-family:Inter,Arial,sans-serif;
    color:#182033;
}
.pm-template-hero{
    position:relative;
    min-height:480px;
    border-radius:32px;
    overflow:hidden;
    box-shadow:0 24px 70px rgba(15,23,42,.20);
    background:#111827;
}
.pm-template-cover,
.pm-template-cover img,
.pm-template-cover-fallback{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}
.pm-template-cover img{
    object-fit:cover;
}
.pm-template-cover-fallback{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:88px;
    background:linear-gradient(135deg,#f8e8ff,#dff7ff,#fff7d6);
}
.pm-template-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(15,23,42,.18),rgba(15,23,42,.72));
}
.pm-template-hero-content{
    position:absolute;
    z-index:2;
    left:40px;
    right:40px;
    bottom:38px;
    color:#fff;
    text-align:left;
}
.pm-template-profile-wrap{
    margin-bottom:18px;
}
.pm-template-profile{
    width:150px;
    height:150px;
    border-radius:50%;
    border:6px solid rgba(255,255,255,.92);
    object-fit:cover;
    background:#fff;
    box-shadow:0 18px 45px rgba(0,0,0,.30);
}
.pm-template-profile-empty{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:54px;
}
.pm-template-date-line{
    display:inline-flex;
    padding:9px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(12px);
    margin:0 0 12px;
    font-weight:700;
}
.pm-template-hero h1{
    margin:0;
    font-size:clamp(42px,7vw,82px);
    line-height:.95;
    letter-spacing:-.04em;
    color:#fff;
}
.pm-template-lived{
    margin:14px 0 0;
    font-size:18px;
    font-weight:700;
    opacity:.96;
}
.pm-template-shell{
    width:min(1040px,calc(100% - 28px));
    margin:-34px auto 0;
    position:relative;
    z-index:3;
}
.pm-template-card{
    background:rgba(255,255,255,.96);
    border:1px solid rgba(15,23,42,.08);
    border-radius:28px;
    padding:28px;
    margin-bottom:22px;
    box-shadow:0 18px 50px rgba(15,23,42,.08);
}
.pm-template-card h2{
    margin:0 0 18px;
    font-size:28px;
    letter-spacing:-.03em;
    color:#182033;
}
.pm-template-info-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.pm-template-info-grid div{
    padding:16px;
    border-radius:18px;
    background:#f8fafc;
    border:1px solid #eef2f7;
}
.pm-template-info-grid span{
    display:block;
    color:#64748b;
    font-size:13px;
    margin-bottom:6px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.pm-template-info-grid strong{
    display:block;
    font-size:17px;
    color:#0f172a;
}
.pm-story-content{
    font-size:17px;
    line-height:1.8;
    color:#334155;
}
.pm-story-content p:first-child{
    margin-top:0;
}
.pm-story-content p:last-child{
    margin-bottom:0;
}
.pm-template-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.pm-template-gallery-grid a,
.pm-template-gallery-grid img{
    display:block;
    width:100%;
}
.pm-template-gallery-grid img{
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(15,23,42,.10);
}
.pm-template-meta-footer{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    justify-content:center;
    color:#64748b;
    font-size:14px;
    padding:12px 0 4px;
}
.pm-template-meta-footer span{
    padding:8px 12px;
    border-radius:999px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
}
.pm-template-tribute-card .pm-tributes-section,
.pm-template-garden-placeholder .pm-garden-section,
.pm-template-share-card .pm-share-section{
    margin-top:0;
    padding-top:0;
    border-top:0;
}
.pm-template-share-card .pm-share-buttons a{
    text-decoration:none;
}
@media (max-width: 900px){
    .pm-template-info-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .pm-template-gallery-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 640px){
    .pm-template-hero{
        min-height:520px;
        border-radius:22px;
    }
    .pm-template-hero-content{
        left:22px;
        right:22px;
        bottom:28px;
    }
    .pm-template-profile{
        width:118px;
        height:118px;
    }
    .pm-template-date-line{
        display:flex;
        width:100%;
        justify-content:center;
        text-align:center;
        font-size:13px;
    }
    .pm-template-card{
        padding:20px;
        border-radius:22px;
    }
    .pm-template-info-grid,
    .pm-template-gallery-grid{
        grid-template-columns:1fr;
    }
}

/* v0.7.2 Premium reference bottom UI + no text-decoration */
.pm-public-memorial a,
.pm-public-memorial a:hover,
.pm-public-memorial a:focus,
.pm-public-memorial a:active,
.pm-template-v067 a,
.pm-template-v067 a:hover,
.pm-template-v067 a:focus,
.pm-template-v067 a:active,
.pm-template-v067 button,
.pm-template-v067 button:hover,
.pm-template-v067 button:focus,
.pm-template-v067 button:active{
    text-decoration:none !important;
}

.pm-template-v067{
    background:#fff;
    border-radius:32px;
    padding-bottom:28px;
    box-shadow:0 26px 80px rgba(15,23,42,.08);
}

.pm-premium-garden-section,
.pm-premium-share-section{
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    border-radius:24px;
    padding:44px 48px;
    margin:0 0 28px;
    box-shadow:0 18px 44px rgba(15,23,42,.055);
}

.pm-premium-garden-section h2,
.pm-premium-share-section h2{
    display:flex;
    align-items:center;
    gap:14px;
    margin:0;
    color:#11182d;
    font-size:34px;
    line-height:1.16;
    letter-spacing:-.035em;
    font-weight:900;
}

.pm-title-icon{
    display:inline-flex;
    width:42px;
    min-width:42px;
    align-items:center;
    justify-content:center;
    font-size:32px;
    line-height:1;
}

.pm-section-accent{
    width:132px;
    height:3px;
    border-radius:999px;
    background:#f3b21a;
    margin:22px 0 0;
}

.pm-empty-garden{
    display:flex;
    align-items:center;
    gap:16px;
    margin:44px 0 0 !important;
    color:#172033 !important;
    font-size:19px;
    line-height:1.5;
}

.pm-empty-garden span{
    font-size:27px;
}

.pm-premium-share-buttons{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:16px;
    margin-top:42px;
}

.pm-share-btn{
    appearance:none;
    border:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:56px;
    padding:0 26px;
    border-radius:999px;
    color:#fff !important;
    font-weight:900;
    font-size:16px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 12px 24px rgba(15,23,42,.10);
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
    white-space:nowrap;
    font-family:inherit;
}

.pm-share-btn span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:18px;
}

.pm-share-btn:hover,
.pm-share-btn:focus{
    transform:translateY(-2px);
    box-shadow:0 18px 36px rgba(15,23,42,.16);
    filter:brightness(1.03);
}

.pm-share-facebook{background:linear-gradient(135deg,#2f67c6,#2852a8);}
.pm-share-x{background:linear-gradient(135deg,#05070d,#171923);min-width:88px;}
.pm-share-linkedin{background:linear-gradient(135deg,#0a8ad6,#0570ba);}
.pm-share-whatsapp{background:linear-gradient(135deg,#25d366,#23bd58);}
.pm-share-email{background:linear-gradient(135deg,#9aa4ad,#747f88);}
.pm-share-copy{
    background:#fff !important;
    color:#10182c !important;
    border:1px solid #d9dee7 !important;
    box-shadow:none;
}
.pm-share-copy.pm-copied{
    background:#ecfdf5 !important;
    border-color:#a7f3d0 !important;
    color:#047857 !important;
}

.pm-premium-info-footer{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    align-items:stretch;
    background:linear-gradient(135deg,#fffdf4,#fff8e8);
    border:1px solid #f4dfad;
    border-radius:24px;
    padding:34px 26px;
    margin:0 0 28px;
    box-shadow:0 16px 42px rgba(182,137,37,.08);
}

.pm-premium-info-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:104px;
    text-align:center;
    color:#172033;
}

.pm-premium-info-item + .pm-premium-info-item{
    border-left:1px solid rgba(15,23,42,.12);
}

.pm-info-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#d29b08;
    font-size:27px;
    line-height:1;
    margin-bottom:4px;
}

.pm-premium-info-item small{
    display:block;
    color:#334155;
    font-size:17px;
    line-height:1.2;
}

.pm-premium-info-item strong{
    display:block;
    color:#0f172a;
    font-size:20px;
    line-height:1.2;
    font-weight:900;
}

.pm-status-badge{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:auto;
    padding:8px 18px;
    border-radius:999px;
    font-size:17px !important;
}

.pm-status-active{
    background:#d8f7df;
    color:#11923b !important;
}

.pm-status-inactive{
    background:#fee2e2;
    color:#b91c1c !important;
}

.pm-premium-footer-note{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#64748b;
    font-weight:700;
    font-size:16px;
    padding:0 0 4px;
}

.pm-template-garden-placeholder,
.pm-template-share-card,
.pm-template-meta-footer{
    display:none !important;
}

@media(max-width:900px){
    .pm-premium-garden-section,
    .pm-premium-share-section{
        padding:34px 26px;
    }
    .pm-premium-garden-section h2,
    .pm-premium-share-section h2{
        font-size:28px;
    }
    .pm-premium-info-footer{
        grid-template-columns:1fr;
        padding:22px;
    }
    .pm-premium-info-item + .pm-premium-info-item{
        border-left:0;
        border-top:1px solid rgba(15,23,42,.10);
        padding-top:18px;
        margin-top:18px;
    }
}

@media(max-width:640px){
    .pm-premium-share-buttons{
        gap:12px;
        margin-top:30px;
    }
    .pm-share-btn{
        width:100%;
        justify-content:center;
    }
    .pm-empty-garden{
        align-items:flex-start;
        font-size:16px;
    }
}

/* v0.8 Memorial Wall */
.pm-wall-section{
    border-radius:28px;
    padding:44px 40px;
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 24px 70px rgba(15,23,42,.08);
}

.pm-wall-section a,
.pm-wall-section a:hover,
.pm-wall-section a:focus,
.pm-wall-section a:active,
.pm-memorial-page a,
.pm-memorial-page a:hover,
.pm-memorial-page a:focus,
.pm-memorial-page a:active,
.pm-public-memorial a,
.pm-public-memorial a:hover,
.pm-public-memorial a:focus,
.pm-public-memorial a:active{
    text-decoration:none !important;
}

.pm-wall-head h2{
    display:flex;
    align-items:center;
    gap:14px;
    margin:0;
    color:#0f172a;
    font-size:34px;
    font-weight:900;
    line-height:1.15;
}

.pm-wall-head p{
    margin:18px 0 0;
    color:#475569;
    font-size:16px;
}

.pm-wall-form{
    margin:30px 0 34px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.pm-wall-form textarea{
    width:100%;
    min-height:120px;
    border:1px solid rgba(15,23,42,.14);
    border-radius:22px;
    padding:18px 20px;
    resize:vertical;
    font-size:16px;
    line-height:1.6;
    background:#fbfdff;
    color:#0f172a;
    outline:none;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.pm-wall-form textarea:focus{
    border-color:rgba(202,151,18,.55);
    box-shadow:0 0 0 4px rgba(202,151,18,.10);
}

.pm-wall-submit{
    align-self:flex-start;
    border:0;
    border-radius:999px;
    padding:14px 24px;
    background:#0f172a;
    color:#fff;
    font-weight:800;
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease;
    box-shadow:0 12px 28px rgba(15,23,42,.18);
}

.pm-wall-submit:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 38px rgba(15,23,42,.22);
}

.pm-wall-login-box{
    margin:28px 0 34px;
    display:flex;
    align-items:center;
    gap:16px;
    padding:20px;
    border-radius:22px;
    background:#fff8e7;
    border:1px solid rgba(202,151,18,.20);
}

.pm-wall-login-box span{
    font-size:24px;
}

.pm-wall-login-box p{
    flex:1;
    margin:0;
    color:#334155;
}

.pm-wall-login-box a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 18px;
    border-radius:999px;
    background:#0f172a;
    color:#fff !important;
    font-weight:800;
}

.pm-wall-list{
    display:grid;
    gap:16px;
}

.pm-wall-empty{
    padding:22px;
    border-radius:22px;
    background:#f8fafc;
    color:#64748b;
    font-weight:700;
}

.pm-wall-message{
    display:flex;
    gap:16px;
    padding:20px;
    border-radius:24px;
    background:linear-gradient(135deg,#ffffff 0%,#fbfdff 100%);
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}

.pm-wall-message-pending{
    background:#fff8e7;
    border-color:rgba(202,151,18,.25);
}

.pm-wall-avatar{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    background:#f4e7bd;
    color:#8a5a13;
    font-weight:900;
    font-size:18px;
}

.pm-wall-message-body{
    flex:1;
    min-width:0;
}

.pm-wall-message-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:8px;
}

.pm-wall-message-meta strong{
    color:#0f172a;
    font-size:16px;
}

.pm-wall-message-meta span{
    color:#94a3b8;
    font-size:13px;
    font-weight:700;
}

.pm-wall-message-meta em{
    padding:4px 10px;
    border-radius:999px;
    background:#fde68a;
    color:#92400e;
    font-size:12px;
    font-style:normal;
    font-weight:800;
}

.pm-wall-message-body p{
    margin:0;
    color:#334155;
    line-height:1.65;
    font-size:16px;
}

.pm-wall-reactions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
}

.pm-wall-reactions span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 12px;
    border-radius:999px;
    background:#f8fafc;
    color:#475569;
    font-size:13px;
    font-weight:800;
    border:1px solid rgba(15,23,42,.07);
}

@media(max-width:640px){
    .pm-wall-section{
        padding:32px 22px;
    }
    .pm-wall-head h2{
        font-size:28px;
    }
    .pm-wall-message{
        flex-direction:column;
    }
    .pm-wall-login-box{
        align-items:flex-start;
        flex-direction:column;
    }
}


/* v0.8.2 Memorial Wall polish */
.pm-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;}
.pm-wall-counter{margin-top:8px;color:#94a3b8;font-size:13px;font-weight:700;}
.pm-reaction-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#f8fafc;color:#475569!important;font-size:13px;font-weight:800;border:1px solid rgba(15,23,42,.07);transition:transform .18s ease, box-shadow .18s ease, background .18s ease;text-decoration:none!important;}
.pm-reaction-pill:hover,.pm-reaction-pill:focus{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.08);text-decoration:none!important;}
.pm-reaction-active{background:#fff8e7;color:#8a5a13!important;border-color:rgba(202,151,18,.30);}
.pm-reaction-disabled{cursor:default;}
.pm-my-messages-card{margin-top:24px;}
.pm-my-messages-list{display:grid;gap:14px;margin-top:18px;}
.pm-my-message-item{position:relative;padding:18px 20px;border-radius:20px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 24px rgba(15,23,42,.05);}
.pm-my-message-item div{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:8px;}
.pm-my-message-item strong{color:#0f172a;}
.pm-my-message-item span{color:#94a3b8;font-size:13px;font-weight:700;}
.pm-my-message-item p{margin:0 0 12px;color:#334155;line-height:1.55;}
.pm-status-badge{display:inline-flex;padding:5px 11px;border-radius:999px;font-style:normal;font-size:12px;font-weight:900;text-transform:uppercase;}
.pm-status-approved{background:#dcfce7;color:#166534;}
.pm-status-pending{background:#fef3c7;color:#92400e;}
.pm-status-rejected{background:#fee2e2;color:#991b1b;}

/* v0.9 Interactive Memorial Garden */
.pm-interactive-garden-section,
.pm-interactive-garden-section *{
    box-sizing:border-box;
}

.pm-garden-stats{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
    margin:30px 0 28px;
}

.pm-garden-stat{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:96px;
    padding:14px 10px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    background:linear-gradient(180deg,#fff,#fbfcff);
    box-shadow:0 12px 28px rgba(15,23,42,.045);
    text-align:center;
}

.pm-garden-stat > span{
    font-size:25px;
    line-height:1;
    margin-bottom:7px;
}

.pm-garden-stat strong{
    color:#0f172a;
    font-size:22px;
    line-height:1.1;
    font-weight:900;
}

.pm-garden-stat small{
    color:#475569;
    font-size:12px;
    line-height:1.25;
    margin-top:5px;
    font-weight:700;
}

.pm-interactive-garden-map{
    position:relative;
    min-height:430px;
    overflow:hidden;
    border-radius:30px;
    border:1px solid rgba(22,101,52,.13);
    background:
        radial-gradient(circle at 15% 10%, rgba(255,255,255,.96), transparent 18%),
        linear-gradient(180deg,#effaff 0%,#f7fff5 48%,#e7f8dc 100%);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.75), 0 18px 48px rgba(15,23,42,.08);
}

.pm-garden-sky{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 82% 16%, rgba(255,215,106,.42) 0 4%, transparent 11%),
        radial-gradient(circle at 24% 24%, rgba(186,230,253,.34) 0 8%, transparent 24%);
    pointer-events:none;
}

.pm-garden-hill{
    position:absolute;
    left:-8%;
    right:-8%;
    bottom:-22%;
    height:54%;
    border-radius:50% 50% 0 0;
    pointer-events:none;
}

.pm-garden-hill-one{
    background:linear-gradient(180deg,#d9f7c4,#bceba1);
    transform:rotate(-2deg);
}

.pm-garden-hill-two{
    bottom:-34%;
    left:22%;
    background:linear-gradient(180deg,#c4efaa,#a9df8f);
    transform:rotate(5deg);
    opacity:.86;
}

.pm-garden-item{
    position:absolute;
    z-index:3;
    width:54px;
    height:54px;
    padding:0;
    margin:-27px 0 0 -27px;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.76);
    box-shadow:0 10px 24px rgba(15,23,42,.14);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    text-decoration:none !important;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
    font-family:inherit;
}

.pm-garden-item:hover,
.pm-garden-item:focus{
    transform:translateY(-5px) scale(1.08);
    box-shadow:0 18px 36px rgba(15,23,42,.22);
    background:#fff;
    z-index:8;
    outline:none;
}

.pm-garden-item-icon{
    position:relative;
    z-index:2;
    font-size:31px;
    line-height:1;
    filter:drop-shadow(0 4px 4px rgba(15,23,42,.12));
}

.pm-garden-item-candle .pm-garden-item-icon{
    animation:pm-candle-flicker 1.45s infinite alternate ease-in-out;
}

.pm-candle-glow{
    position:absolute;
    width:34px;
    height:34px;
    border-radius:999px;
    background:rgba(251,191,36,.24);
    filter:blur(7px);
    animation:pm-candle-glow 1.35s infinite alternate ease-in-out;
}

.pm-garden-tooltip{
    position:absolute;
    left:50%;
    bottom:calc(100% + 14px);
    transform:translateX(-50%) translateY(8px);
    width:220px;
    padding:15px 16px;
    border-radius:18px;
    background:#fff;
    color:#111827;
    border:1px solid rgba(15,23,42,.09);
    box-shadow:0 24px 48px rgba(15,23,42,.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    text-align:left;
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.pm-garden-tooltip:after{
    content:"";
    position:absolute;
    left:50%;
    top:100%;
    width:14px;
    height:14px;
    background:#fff;
    border-right:1px solid rgba(15,23,42,.09);
    border-bottom:1px solid rgba(15,23,42,.09);
    transform:translateX(-50%) rotate(45deg);
    margin-top:-7px;
}

.pm-garden-item:hover .pm-garden-tooltip,
.pm-garden-item:focus .pm-garden-tooltip{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}

.pm-garden-tooltip strong,
.pm-garden-tooltip small,
.pm-garden-tooltip em,
.pm-garden-tooltip time{
    display:block;
}

.pm-garden-tooltip strong{
    color:#0f172a;
    font-size:16px;
    line-height:1.25;
    font-weight:900;
}

.pm-garden-tooltip small{
    color:#d29b08;
    font-size:12px;
    line-height:1.2;
    margin-top:4px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.pm-garden-tooltip em{
    color:#475569;
    font-size:13px;
    line-height:1.45;
    margin-top:8px;
    font-style:normal;
}

.pm-garden-tooltip time{
    color:#94a3b8;
    font-size:12px;
    line-height:1.2;
    margin-top:8px;
    font-weight:700;
}

.pm-garden-more{
    margin:14px 0 0 !important;
    color:#64748b;
    font-weight:800;
    text-align:center;
}

@keyframes pm-candle-flicker{
    0%{transform:rotate(-2deg) scale(.98);filter:drop-shadow(0 0 4px rgba(251,191,36,.35));}
    100%{transform:rotate(2deg) scale(1.05);filter:drop-shadow(0 0 12px rgba(251,191,36,.68));}
}

@keyframes pm-candle-glow{
    0%{opacity:.42;transform:scale(.9);}
    100%{opacity:.9;transform:scale(1.24);}
}

@media(max-width:900px){
    .pm-garden-stats{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .pm-interactive-garden-map{
        min-height:360px;
    }
}

@media(max-width:640px){
    .pm-garden-stats{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .pm-interactive-garden-map{
        min-height:330px;
        border-radius:22px;
    }
    .pm-garden-item{
        width:48px;
        height:48px;
        margin:-24px 0 0 -24px;
    }
    .pm-garden-item-icon{
        font-size:27px;
    }
    .pm-garden-tooltip{
        width:190px;
    }
}
