/* StingTune Membership — frontend */
.stm-pricing-wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:24px 0}
@media(min-width:901px){
  /* v1.9.9: break out of the theme's narrow content column so the 3 cards get proper PC width, stays centered */
  .stm-pricing-wrap{width:min(1080px,94vw);margin-left:calc((100% - min(1080px,94vw))/2);margin-right:calc((100% - min(1080px,94vw))/2)}
}
.stm-plan-card{background:#fff;border:1px solid #e8e8ef;border-radius:16px;padding:32px 28px;display:flex;flex-direction:column;box-shadow:0 4px 24px rgba(20,20,60,.06);transition:transform .2s,box-shadow .2s}
.stm-plan-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(20,20,60,.12)}
.stm-plan-highlight{background:#0d0d1f;color:#fff;border-color:#0d0d1f}
.stm-plan-name{font-size:15px;font-weight:600;opacity:.85}
.stm-plan-price{font-size:42px;font-weight:800;letter-spacing:-1px;margin:6px 0 2px}
.stm-plan-price::first-letter{font-size:24px;vertical-align:top}
.stm-plan-period{font-size:14px;opacity:.6;margin-bottom:18px}
.stm-plan-features{list-style:none;margin:0 0 24px;padding:18px 0 0;border-top:1px solid rgba(128,128,160,.25);flex:1}
.stm-plan-features li{margin:0 0 12px;font-size:14.5px;display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.stm-check{display:inline-flex;width:22px;height:22px;min-width:22px;border-radius:50%;background:#f5b942;color:#fff;font-size:13px;font-weight:700;align-items:center;justify-content:center;margin-top:1px}
.stm-plan-highlight .stm-check{background:#fff;color:#0d0d1f}
.stm-plan-btn{background:#111;color:#fff;border:none;border-radius:10px;padding:14px;font-size:15px;font-weight:600;cursor:pointer;width:100%;transition:background .2s}
.stm-plan-btn:hover{background:#333}
.stm-plan-highlight .stm-plan-btn{background:#fff;color:#0d0d1f}
.stm-plan-highlight .stm-plan-btn:hover{background:#e8e8f5}
.stm-plan-selected{outline:3px solid #4f46e5}

/* Signup */
.stm-signup-wrap{max-width:960px;margin:0 auto}
/* v1.9.96: Cinematic blurred music background + brand header on the signup/renewal flow */
.stm-signup-wrap{
    position:relative;isolation:isolate;
    border-radius:20px;overflow:hidden;
    padding:36px 28px;
    background:#14101f url('../images/st-auth-bg.jpg') center/cover no-repeat;
    box-shadow:0 24px 60px rgba(20,10,40,.35);
}
.stm-signup-wrap::before{
    content:"";position:absolute;inset:0;z-index:-1;
    background:linear-gradient(135deg, rgba(76,29,149,.78) 0%, rgba(30,27,75,.68) 45%, rgba(12,10,24,.82) 100%);
}
.stm-signup-brand{text-align:center;margin-bottom:26px;position:relative}
.stm-signup-brand img{width:84px;height:84px;object-fit:contain}
.stm-signup-brand-text{color:#fff;font-size:15px;font-weight:600;margin-top:10px;text-shadow:0 2px 8px rgba(0,0,0,.45)}
.stm-signup-wrap .stm-signup-step h3{color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.stm-signup-wrap .stm-muted{color:rgba(255,255,255,.82)}
.stm-signup-wrap .stm-secure-note{color:rgba(255,255,255,.75)}
.stm-signup-wrap .stm-step{background:rgba(255,255,255,.14);color:rgba(255,255,255,.85)}
.stm-signup-wrap .stm-step span{background:rgba(255,255,255,.25)}
.stm-signup-wrap .stm-step-active{background:rgba(255,255,255,.95);color:#1a1a2e}
.stm-steps{display:flex;gap:8px;margin-bottom:28px}
.stm-step{flex:1;text-align:center;padding:12px;background:#f1f1f6;border-radius:10px;font-size:14px;color:#888}
.stm-step span{display:inline-flex;width:24px;height:24px;border-radius:50%;background:#ccc;color:#fff;font-size:13px;align-items:center;justify-content:center;margin-right:6px}
.stm-step-active{background:#eef0ff;color:#1a1a2e;font-weight:600}
.stm-step-active span{background:#4f46e5}
.stm-form{max-width:480px;margin:0 auto;background:#fff;border:1px solid #e8e8ef;border-radius:14px;padding:28px}
.stm-form label{display:block;font-size:14px;font-weight:600;margin-bottom:16px;color:#333}
.stm-form input[type=text],.stm-form input[type=email],.stm-form input[type=password]{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #d8d8e2;border-radius:10px;font-size:15px;box-sizing:border-box}
.stm-form-row{display:flex;gap:12px;margin-top:8px}
.stm-btn{border:none;border-radius:10px;padding:13px 22px;font-size:15px;font-weight:600;cursor:pointer}
.stm-btn-primary{background:#4f46e5;color:#fff;flex:1}
.stm-btn-primary:hover{background:#4338ca}
.stm-btn-ghost{background:#f1f1f6;color:#333}
.stm-btn-pay{background:#0d8a4f;color:#fff;flex:1}
.stm-btn-pay:hover{background:#0a6e3f}
.stm-btn-block{width:100%}
.stm-error{color:#d33;font-size:14px;margin-top:12px;min-height:20px}
.stm-success{color:#0d8a4f;font-size:14px;margin-top:12px;min-height:20px}
.stm-order-summary{background:#f8f8fc;border:1px solid #e8e8ef;border-radius:12px;padding:20px;margin-bottom:20px;font-size:15px}
.stm-secure-note{text-align:center;color:#888;font-size:13px;margin-top:16px}
.stm-notice{padding:14px 18px;border-radius:10px;margin:16px 0}
.stm-notice-info{background:#eef0ff;color:#1a1a2e}

/* Login */
.stm-auth-wrap{max-width:440px;margin:40px auto}
.stm-auth-card{background:#fff;border:1px solid #e8e8ef;border-radius:16px;padding:36px 32px;box-shadow:0 8px 32px rgba(20,20,60,.08)}
.stm-auth-card h2{margin:0 0 6px;font-size:24px}
.stm-auth-sub{color:#888;margin:0 0 24px;font-size:14px}
.stm-auth-card .stm-form{border:none;padding:0;max-width:none}
.stm-remember{display:flex!important;align-items:center;gap:8px;font-weight:400!important;font-size:14px!important}
.stm-auth-links{text-align:center;font-size:14px;margin-top:18px;color:#888}
.stm-auth-links a{color:#4f46e5;text-decoration:none}

/* Membership card (My Account) */
.stm-membership-card{background:linear-gradient(135deg,#1a1a2e,#2d2d55);color:#fff;border-radius:16px;padding:28px;margin-bottom:24px;position:relative;overflow:hidden}
.stm-membership-card h3{margin:0 0 4px;font-size:18px;color:#fff}
.stm-mship-plan{font-size:32px;font-weight:800;margin:8px 0}
.stm-mship-meta{display:flex;gap:24px;margin-top:12px;font-size:14px;opacity:.85}
.stm-mship-status{display:inline-block;padding:4px 14px;border-radius:20px;font-size:13px;font-weight:600;background:#22c55e;color:#fff}
.stm-mship-status.stm-expired,.stm-mship-status.stm-suspended{background:#ef4444}
.stm-mship-status.stm-pending{background:#f59e0b}
.stm-mship-renew{margin-top:16px}
.stm-mship-renew a{background:#fff;color:#1a1a2e;padding:10px 24px;border-radius:10px;font-weight:600;text-decoration:none;display:inline-block}

/* Agreement & signature (signup step 3) */
.stm-agreement-form{max-width:640px}
.stm-form-2col{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.stm-form textarea,.stm-form select{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #d8d8e2;border-radius:10px;font-size:15px;box-sizing:border-box;font-family:inherit}
.stm-form input[type=tel]{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #d8d8e2;border-radius:10px;font-size:15px;box-sizing:border-box}
.stm-form input[readonly]{background:#f6f6fa;color:#666}
.stm-opt{font-weight:400;color:#999;font-size:12px}
.stm-share-preview{background:#fff8e1;border:1px solid #e8c547;border-radius:12px;padding:14px 18px;margin:4px 0 16px;font-size:14.5px}
.stm-share-nums{display:flex;gap:20px;margin-top:8px;font-size:16px}
.stm-share-nums b{color:#1a237e}
.stm-share-note{color:#8a7a2a;font-size:12.5px;margin-top:6px}
.stm-agreement-text{background:#f8f8fc;border:1px solid #e8e8ef;border-radius:12px;padding:16px 18px;margin-bottom:16px;max-height:220px;overflow-y:auto;font-size:13.5px;line-height:1.6;color:#444}
.stm-agreement-text ol{margin:10px 0 0;padding-left:20px}
.stm-agreement-text li{margin-bottom:8px}
.stm-sig-label{display:block;font-size:14px;font-weight:600;margin-bottom:8px;color:#333}
.stm-sig-wrap{position:relative;border:2px dashed #b9bde0;border-radius:12px;background:#fbfbff;margin-bottom:6px}
.stm-sig-wrap canvas{display:block;touch-action:none;cursor:crosshair;border-radius:10px}
.stm-sig-wrap .stm-btn-small{position:absolute;top:8px;right:8px;padding:7px 14px;font-size:12.5px}
.stm-consent{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important;font-size:13.5px!important;line-height:1.55}
.stm-consent input{margin-top:3px;min-width:18px;min-height:18px}

@media(max-width:900px){
  .stm-pricing-wrap{grid-template-columns:1fr;max-width:440px;margin:24px auto}
  .stm-steps{font-size:12px}
  .stm-mship-meta{flex-direction:column;gap:8px}
  .stm-form-2col{grid-template-columns:1fr}
  .stm-steps{gap:4px}
  .stm-step{padding:10px 4px}
  .stm-step span{margin-right:2px}
}

/* Fix: Chosen (enhanced dropdown) search icon tiling across the search input.
   Some theme CSS overrides background-repeat on inputs, which makes the
   Chosen sprite's magnifier icon repeat over the whole search box. */
.chosen-container-single .chosen-search input[type="text"],
.chosen-container .chosen-search input[type="text"] {
    background-repeat: no-repeat !important;
}

/* ---- STM Touch Song Search (v1.7.3): bottom-sheet searchable picker ---- */
.stm-ss-native-hidden{display:none!important}
select[data-stm-ss="1"] ~ .chosen-container{display:none!important}
.stm-ss-wrap{display:block}

/* trigger button */
.stm-ss-btn{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 10px;
    font-size:16px;color:#141a24;background:#fff;border:1.5px solid #dbe0e8;border-radius:14px;
    cursor:pointer;text-align:left;font-family:inherit;box-shadow:0 1px 2px rgba(16,24,40,.05);
    transition:border-color .15s ease,box-shadow .15s ease}
.stm-ss-btn:active{border-color:#2456d6;box-shadow:0 0 0 3px rgba(36,86,214,.14)}
/* FIX 2026-09-30 (v1.9.92): GF 2.9 Orbital framework paints ALL buttons inside
   the form with its primary blue (--gf-color-primary). This override wins. */
body .gform_wrapper button.stm-ss-btn,
body .gform_wrapper button.stm-ss-btn:hover,
body .gform_wrapper button.stm-ss-btn:focus,
body .gform_wrapper button.stm-ss-btn:active{
    background:#fff!important;background-color:#fff!important;background-image:none!important;
    color:#141a24!important;border:1.5px solid #dbe0e8!important}
.stm-ss-bicon{flex:none;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;
    justify-content:center;background:linear-gradient(135deg,#2456d6,#5f8dff);color:#fff;
    box-shadow:0 2px 6px rgba(36,86,214,.3)}
.stm-ss-bicon svg{width:20px;height:20px}
.stm-ss-empty .stm-ss-bicon{background:#eef1f6;color:#9aa3b5;box-shadow:none}
.stm-ss-blabel{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.stm-ss-btitle{font-weight:600;font-size:15.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stm-ss-bisrc{font-size:12px;color:#8a94a6;letter-spacing:.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stm-ss-empty .stm-ss-btitle{color:#8a94a6;font-weight:400}
.stm-ss-chev{flex:none;width:30px;height:30px;border-radius:50%;background:#f1f4f9;color:#5b6474;
    display:flex;align-items:center;justify-content:center}
.stm-ss-chev svg{width:16px;height:16px}

/* bottom sheet */
.stm-ss-lock{overflow:hidden}
.stm-ss-sheet{position:fixed;inset:0;z-index:99999;visibility:hidden;pointer-events:none}
.stm-ss-sheet.stm-ss-open{visibility:visible;pointer-events:auto}
.stm-ss-backdrop{position:absolute;inset:0;background:rgba(13,18,28,.55);opacity:0;transition:opacity .25s}
.stm-ss-sheet.stm-ss-open .stm-ss-backdrop{opacity:1}
.stm-ss-panel{position:absolute;left:0;right:0;bottom:0;max-height:88vh;background:#fbfcfe;
    border-radius:22px 22px 0 0;display:flex;flex-direction:column;
    transform:translateY(103%);transition:transform .32s cubic-bezier(.32,.72,.28,1);
    box-shadow:0 -12px 48px rgba(10,15,25,.22)}
.stm-ss-sheet.stm-ss-open .stm-ss-panel{transform:translateY(0)}
.stm-ss-grip{width:44px;height:5px;border-radius:3px;background:#d9dee7;margin:10px auto 2px;flex:none}
.stm-ss-head{display:flex;align-items:center;gap:10px;padding:8px 16px 10px;flex:none}
.stm-ss-headtxt{display:flex;align-items:center;gap:10px;min-width:0}
.stm-ss-title{font-size:18px;font-weight:700;color:#101828;letter-spacing:-.01em}
.stm-ss-count{font-size:12px;font-weight:600;color:#5b6474;background:#eef1f6;padding:4px 11px;
    border-radius:20px;white-space:nowrap}
.stm-ss-close{margin-left:auto;border:0;background:#eef1f6;width:34px;height:34px;border-radius:50%;
    font-size:14px;color:#5b6474;cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center}
.stm-ss-close:active{background:#e2e8f0}

/* search field */
.stm-ss-searchwrap{padding:2px 16px 12px;flex:none}
.stm-ss-sbox{position:relative}
.stm-ss-sicon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#98a2b3;
    display:flex;pointer-events:none}
.stm-ss-sicon svg{width:18px;height:18px}
.stm-ss-search{width:100%;font-size:16px!important;padding:13px 42px;border:1.5px solid #dbe0e8;
    border-radius:14px;outline:none;background:#fff;color:#101828;font-family:inherit;box-sizing:border-box;
    box-shadow:0 1px 2px rgba(16,24,40,.05);-webkit-appearance:none;appearance:none}
.stm-ss-search:focus{border-color:#2456d6;box-shadow:0 0 0 3px rgba(36,86,214,.14)}
.stm-ss-search::-webkit-search-cancel-button{-webkit-appearance:none}
.stm-ss-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:#eef1f6;
    width:28px;height:28px;border-radius:50%;color:#5b6474;font-size:11px;cursor:pointer;display:none;
    align-items:center;justify-content:center}
.stm-ss-clear.stm-ss-show{display:flex}

/* song cards */
.stm-ss-list{overflow-y:auto;padding:2px 12px 22px;-webkit-overflow-scrolling:touch;min-height:140px}
.stm-ss-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:10px 12px;
    background:#fff;border:1px solid #edf0f5;border-radius:14px;cursor:pointer;font-family:inherit;
    margin-bottom:8px;box-shadow:0 1px 2px rgba(16,24,40,.04);transition:border-color .12s,background .12s}
.stm-ss-item:active{background:#f4f7ff;border-color:#bfd2ff}
.stm-ss-note{flex:none;width:42px;height:42px;border-radius:13px;background:#eef3ff;color:#2456d6;
    display:flex;align-items:center;justify-content:center}
.stm-ss-note svg{width:21px;height:21px}
.stm-ss-itxt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.stm-ss-ititle{font-size:15px;font-weight:600;color:#101828;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stm-ss-iisrc{font-size:12px;color:#8a94a6;letter-spacing:.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stm-ss-check{flex:none;width:26px;height:26px;border-radius:50%;display:none;align-items:center;
    justify-content:center;background:#2456d6;color:#fff;box-shadow:0 2px 6px rgba(36,86,214,.35)}
.stm-ss-check svg{width:14px;height:14px}
.stm-ss-item.stm-ss-active{border-color:#2456d6;background:#f5f8ff}
.stm-ss-item.stm-ss-active .stm-ss-check{display:flex}
.stm-ss-noresults{padding:36px 16px;text-align:center;color:#8a94a6;font-size:14.5px;line-height:1.6}
/* v1.9.12: hide GravityView delete-entry button on song edit screens (members must not delete songs) */
.single-gravityview .gv-delete-entry,.single-gravityview a[href*="delete"],.single-gravityview input[value="Delete"],.single-gravityview button.delete{display:none!important}
/* v1.9.14: album cards on My Releases */
.st-album-badge{position:absolute;left:10px;bottom:10px;background:rgba(20,16,40,.82);color:#fff;
    font-size:11.5px;font-weight:600;padding:5px 10px;border-radius:999px;letter-spacing:.02em;
    backdrop-filter:blur(4px);pointer-events:none}
.st-album-card .st-release-art{position:relative}
.st-album-card{border:1px solid #e4d9ff}
@media (hover:hover){.st-album-card:hover{border-color:#b79bff}}
/* v1.9.15: album picker on submit-song form */
.stm-album-pills{margin:0 0 10px;display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.stm-album-pills-label{font-size:13px;font-weight:600;color:#475467;margin-right:2px}
.stm-album-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;
    border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:13px;font-weight:500;cursor:pointer;
    font-family:inherit;transition:all .15s;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.stm-album-pill:hover{border-color:#2456d6;background:#f5f8ff;color:#1d2b4f}
.stm-album-pill:active{transform:scale(.96)}
.stm-album-pill-count{background:#eef2f7;color:#475569;font-size:11px;min-width:20px;height:20px;border-radius:999px;
    display:inline-flex;align-items:center;justify-content:center;padding:0 6px;font-weight:600}
.stm-album-hint{margin-top:8px;font-size:13px;color:#667085;line-height:1.5;background:#f8fafc;
    border:1px dashed #d0d5dd;border-radius:10px;padding:9px 12px}

/* v1.9.17: Submit Album multi-track form */
.stm-album-form{margin:0 auto}
.stm-section-title{font-size:17px;font-weight:700;margin:26px 0 12px;color:#1a202c;display:flex;align-items:center;gap:8px}
.stm-section-title:first-of-type{margin-top:0}
.stm-track-count{background:#2456d6;color:#fff;font-size:12px;min-width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0 7px}
.stm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.stm-crbt-row{grid-template-columns:1fr 1fr;gap:14px}
.stm-field{display:flex;flex-direction:column;gap:6px}
.stm-field-full{grid-column:1/-1}
.stm-field label{font-size:13px;font-weight:600;color:#374151}
.stm-field label .required{color:#e02424}
.stm-input{width:100%;padding:10px 12px;border:1.5px solid #d1d5db;border-radius:10px;font-size:14px;font-family:inherit;background:#fff;color:#111827;transition:border-color .15s}
.stm-input:focus{outline:none;border-color:#2456d6;box-shadow:0 0 0 3px rgba(36,86,214,.12)}
.stm-field-note{font-size:12px;color:#6b7280;margin:2px 0 0}
.stm-track{border:1.5px solid #e5e7eb;border-radius:14px;padding:16px;margin-bottom:14px;background:#fbfcfe}
.stm-track-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.stm-track-head strong{font-size:14px;color:#1a202c}
.stm-track-remove{background:#fee2e2;color:#b91c1c;border:none;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600;cursor:pointer}
.stm-track-remove:hover{background:#fecaca}
.stm-form-actions{display:flex;gap:12px;margin-top:8px;flex-wrap:wrap}
.stm-notice{padding:12px 16px;border-radius:10px;margin:0 0 18px;font-size:14px}
.stm-notice-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
@media(max-width:640px){.stm-form-grid{grid-template-columns:1fr}}

/* v1.9.19: full-field album form additions */
.stm-radio-group{display:flex;gap:12px;flex-wrap:wrap;padding:10px 0}
.stm-radio{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;padding:10px 20px;border:2px solid #e5e7eb;border-radius:12px;background:#f9fafb;transition:all .2s ease;user-select:none}
.stm-radio:hover{border-color:#93c5fd;background:#eff6ff}
.stm-radio input[type="radio"]{width:18px;height:18px;accent-color:#2456d6;cursor:pointer;margin:0}
.stm-radio:has(input[type="radio"]:checked){border-color:#2456d6;background:#eff6ff;color:#1e40af;box-shadow:0 2px 8px rgba(36,86,214,.15)}
.stm-more-toggle{background:none;border:none;color:#2456d6;font-size:13px;font-weight:600;cursor:pointer;padding:8px 0;font-family:inherit}
.stm-more-toggle:hover{text-decoration:underline}
.stm-more-fields{border-top:1px dashed #e5e7eb}

/* v1.9.20: custom single-row file uploader */
.stm-upload{margin:0}
.stm-upload-drop{display:flex;align-items:center;gap:14px;padding:14px 16px;border:2px dashed #cbd5e1;border-radius:12px;background:#f8fafc;cursor:pointer;transition:all .18s}
.stm-upload-drop:hover{border-color:#2456d6;background:#f0f5ff}
.stm-upload.dragover .stm-upload-drop{border-color:#2456d6;background:#e6efff;transform:scale(1.01)}
.stm-upload-icon{font-size:30px;line-height:1;flex-shrink:0}
.stm-upload-text{display:flex;flex-direction:column;gap:2px}
.stm-upload-text strong{font-size:14px;color:#1e293b}
.stm-upload-text span{font-size:12px;color:#64748b}
.stm-upload-preview{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1.5px solid #e2e8f0;border-radius:12px;background:#fff}
.stm-upload-preview img{width:52px;height:52px;object-fit:cover;border-radius:8px;flex-shrink:0}
.stm-upload-preview .stm-upload-fileicon{font-size:32px;flex-shrink:0}
.stm-upload-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.stm-upload-name{font-size:13px;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stm-upload-size{font-size:12px;color:#64748b}
.stm-upload-remove{background:#fee2e2;color:#b91c1c;border:none;border-radius:8px;width:30px;height:30px;font-size:14px;cursor:pointer;flex-shrink:0}
.stm-upload-remove:hover{background:#fecaca}

/* v1.9.22: Album form redesign */
.stm-album-hero{background:linear-gradient(135deg,#1e3a8a 0%,#3b82f6 50%,#8b5cf6 100%);border-radius:16px;padding:28px;margin-bottom:24px;color:#fff;position:relative;overflow:hidden}
.stm-album-hero::before{content:'💿';position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:90px;opacity:.18}
.stm-album-hero h2{margin:0 0 8px;font-size:24px;font-weight:700;color:#fff}
.stm-album-hero p{margin:0;font-size:14px;opacity:.9;max-width:600px}
.stm-album-card{background:#fff;border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.06);margin-bottom:24px;overflow:hidden;border:1px solid #e2e8f0}
.stm-album-card-head{background:#f8fafc;padding:16px 20px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;gap:10px}
.stm-album-card-head h3{margin:0;font-size:16px;font-weight:700;color:#1e293b}
.stm-album-card-head .stm-step{background:#2456d6;color:#fff;font-size:12px;font-weight:700;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.stm-album-card-body{padding:20px}
.stm-track{background:#fff;border-radius:16px;border:1.5px solid #e2e8f0;margin-bottom:16px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.stm-track:hover{border-color:#cbd5e1;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.stm-track-head{background:linear-gradient(90deg,#f1f5f9,#f8fafc);padding:14px 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #e2e8f0}
.stm-track-num{background:#2456d6;color:#fff;font-weight:700;font-size:13px;min-width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center}
.stm-track-head strong{flex:1;font-size:15px;color:#1e293b}
.stm-track-body{padding:18px}
.stm-submit-bar{position:sticky;bottom:0;background:#fff;border-top:1px solid #e2e8f0;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:0 0 16px 16px;box-shadow:0 -4px 20px rgba(0,0,0,.06);margin:24px -20px -20px}
.stm-submit-info{font-size:13px;color:#64748b}
.stm-submit-info strong{color:#1e293b;font-size:15px}
.stm-btn-submit{background:linear-gradient(135deg,#2456d6,#4f46e5);color:#fff;border:none;border-radius:12px;padding:14px 32px;font-size:15px;font-weight:700;cursor:pointer;transition:transform .15s,box-shadow .15s;box-shadow:0 4px 14px rgba(36,86,214,.3)}
.stm-btn-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px rgba(36,86,214,.4)}
.stm-btn-submit:disabled{opacity:.6;cursor:not-allowed}
.stm-btn-add{background:#f1f5f9;border:2px dashed #cbd5e1;color:#475569;border-radius:12px;padding:14px;width:100%;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;margin-bottom:16px}
.stm-btn-add:hover{border-color:#2456d6;color:#2456d6;background:#f0f5ff}

/* v1.9.24: mobile fixes */
@media (max-width: 640px){
    .stm-album-hero{padding:20px;border-radius:12px}
    .stm-album-hero h2{font-size:20px}
    .stm-album-hero::before{font-size:60px}
    .stm-album-card-body{padding:16px}
    .stm-submit-bar{flex-direction:column;align-items:stretch;text-align:center;padding:14px}
    .stm-submit-info{margin-bottom:10px}
    .stm-submit-bar>div:last-child{display:flex;gap:10px}
    .stm-submit-bar .st-btn{flex:1;text-align:center;padding:12px}
    .stm-btn-submit{flex:2;padding:14px;font-size:16px}
    .stm-track-body{padding:14px}
}

/* v1.9.29: Style Gravity Forms file uploaders (gpfup markup). */
.gform_wrapper .gfield--type-fileupload .gpfup__droparea {
    border: 2px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 36px 20px !important;
    text-align: center;
    background: #f8fafc !important;
    transition: border-color .2s, background .2s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.gform_wrapper .gfield--type-fileupload .gpfup__droparea:hover {
    border-color: #2456d6 !important;
    background: #f0f5ff !important;
}
.gform_wrapper .gfield--type-fileupload .gpfup__droparea::before {
    content: "📤";
    font-size: 32px;
    display: block;
}
.gform_wrapper .gpfup__droparea .gpfup__select-files.gform_button_select_files {
    background: #2456d6 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 28px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: background .2s;
}
.gform_wrapper .gpfup__droparea .gpfup__select-files.gform_button_select_files:hover {
    background: #1d44b8 !important;
}
.gform_wrapper .gfield--type-fileupload .gfield_description.gform_fileupload_rules {
    color: #64748b;
    font-size: 13px;
    margin-top: 8px;
}

/* v1.9.26: Sidebar Submit toggle (Single / Album). */
.stm-submit-toggle{position:relative;width:100%}
.stm-submit-toggle-btn{
    width:100%;display:flex;align-items:center;justify-content:space-between;
    background:transparent;border:none;cursor:pointer;color:inherit;
    font:inherit;text-align:left;padding:0;
}
.stm-submit-toggle-btn .stm-toggle-arrow{
    font-size:12px;margin-left:8px;transition:transform .2s;opacity:.7;
}
.stm-submit-toggle-btn.open .stm-toggle-arrow{transform:rotate(180deg)}
.stm-submit-toggle-menu{
    display:none;flex-direction:column;gap:4px;
    padding:6px 0 6px 12px;margin-top:4px;
}
.stm-submit-toggle-menu.open{display:flex}
.stm-toggle-item{
    display:flex;align-items:center;gap:10px;
    padding:8px 14px;border-radius:8px;font-size:14px;
    color:inherit;text-decoration:none;opacity:.85;
    transition:background .15s, opacity .15s;
}
.stm-toggle-item:hover{background:rgba(255,255,255,.08);opacity:1}
.stm-toggle-item.active{background:#2456d6;color:#fff;opacity:1;font-weight:600}
.stm-toggle-dot{font-size:16px}

/* v1.9.28: My Releases action buttons — same as My Labels */
.stm-release-actions{display:flex;gap:10px;flex-wrap:wrap}
.stm-release-actions .st-btn{width:auto}

/* v1.9.27: Submit toggle — clearer open state */
.stm-submit-toggle-btn{border-radius:8px;transition:background .15s}
.stm-submit-toggle-btn.open,
.stm-submit-toggle-btn:hover{background:rgba(255,255,255,.07)}
.stm-submit-toggle-btn .stm-toggle-arrow{font-size:10px;transition:transform .2s}
.stm-submit-toggle-btn.open .stm-toggle-arrow{transform:rotate(180deg);opacity:1}
.stm-submit-toggle-menu{
    border-left:2px solid #2456d6;margin-left:8px;padding-left:8px;
}
.stm-toggle-item{font-size:13.5px}
.stm-toggle-item.active{background:#2456d6;color:#fff;font-weight:600}

/* v1.9.30: Collapsible tracks */
.stm-track-toggle{user-select:none;transition:background .15s}
.stm-track-toggle:hover{background:#f1f5f9}
.stm-track-chevron{font-size:14px;color:#64748b;transition:transform .2s}
.stm-track-title-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}

/* v1.9.39: Gravity Forms -> album form UI (same gaps, colors, field styles, 2-col rows) */
body .gform_wrapper{margin:0;max-width:100%}
body .gform_wrapper .gform_fields{display:grid!important;grid-template-columns:1fr 1fr!important;grid-column-gap:14px!important;grid-row-gap:14px!important}
body .gform_wrapper .gfield{display:flex;flex-direction:column;gap:6px;margin:0!important;padding:0!important;grid-column:auto!important;min-width:0}
body .gform_wrapper .gfield--width-full{grid-column:1/-1!important}
body .gform_wrapper .gfield.gsection,
body .gform_wrapper .gfield_html,
body .gform_wrapper .gfield--type-html{grid-column:1/-1!important}
body .gform_wrapper .gfield_visibility_hidden,
body .gform_wrapper .gfield--type-honeypot{display:none!important}
/* Labels like album form */
body .gform_wrapper .gfield_label{font-size:13px!important;font-weight:600!important;color:#374151!important;margin:0!important;padding:0!important;line-height:1.4}
body .gform_wrapper .gfield_required,
body .gform_wrapper .gfield_label .gfield_required{color:#e02424!important}
/* Inputs/selects/textareas like .stm-input */
body .gform_wrapper input[type=text],
body .gform_wrapper input[type=email],
body .gform_wrapper input[type=tel],
body .gform_wrapper input[type=url],
body .gform_wrapper input[type=number],
body .gform_wrapper input[type=date],
body .gform_wrapper input[type=password],
body .gform_wrapper select,
body .gform_wrapper textarea{width:100%!important;padding:10px 12px!important;border:1.5px solid #d1d5db!important;border-radius:10px!important;font-size:14px!important;font-family:inherit!important;background:#fff!important;color:#111827!important;transition:border-color .15s;box-shadow:none!important;margin:0!important;max-width:100%!important}
body .gform_wrapper input[type=text]:focus,
body .gform_wrapper input[type=email]:focus,
body .gform_wrapper input[type=tel]:focus,
body .gform_wrapper input[type=url]:focus,
body .gform_wrapper input[type=number]:focus,
body .gform_wrapper input[type=date]:focus,
body .gform_wrapper input[type=password]:focus,
body .gform_wrapper select:focus,
body .gform_wrapper textarea:focus{outline:none!important;border-color:#2456d6!important;box-shadow:0 0 0 3px rgba(36,86,214,.12)!important}
/* Field descriptions like .stm-field-note */
body .gform_wrapper .gfield_description{font-size:12px!important;color:#6b7280!important;margin:0!important;padding:0!important}
/* Choice/radio/checkbox pills like album form */
body .gform_wrapper .gfield_radio,
body .gform_wrapper .gfield_checkbox{display:flex;gap:12px;flex-wrap:wrap;padding:10px 0}
body .gform_wrapper .gfield_radio .gchoice,
body .gform_wrapper .gfield_checkbox .gchoice{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;padding:10px 20px;border:2px solid #e5e7eb;border-radius:12px;background:#f9fafb;transition:all .2s ease;user-select:none}
body .gform_wrapper .gfield_radio .gchoice:hover,
body .gform_wrapper .gfield_checkbox .gchoice:hover{border-color:#93c5fd;background:#eff6ff}
body .gform_wrapper .gfield_radio input[type=radio],
body .gform_wrapper .gfield_checkbox input[type=checkbox]{width:18px!important;height:18px!important;accent-color:#2456d6;cursor:pointer;margin:0!important}
body .gform_wrapper .gfield_radio .gchoice:has(input[type=radio]:checked),
body .gform_wrapper .gfield_checkbox .gchoice:has(input[type=checkbox]:checked){border-color:#2456d6;background:#eff6ff;color:#1e40af;box-shadow:0 2px 8px rgba(36,86,214,.15)}
body .gform_wrapper .gfield_radio label,
body .gform_wrapper .gfield_checkbox label{font-size:14px!important;font-weight:500!important;color:inherit!important;margin:0!important}
/* Submit button like album form */
body .gform_wrapper .gform_footer{padding:16px 0 0;margin:0}
body .gform_wrapper input[type=submit].gform_button,
body .gform_wrapper .gform_button{border:none!important;border-radius:10px!important;padding:13px 22px!important;font-size:15px!important;font-weight:600!important;cursor:pointer;background:#4f46e5!important;color:#fff!important;width:100%}
body .gform_wrapper input[type=submit].gform_button:hover,
body .gform_wrapper .gform_button:hover{background:#4338ca!important}
/* File upload inputs */
body .gform_wrapper input[type=file]{font-size:13px!important}
/* Validation errors */
body .gform_wrapper .gfield_error input,
body .gform_wrapper .gfield_error select,
body .gform_wrapper .gfield_error textarea{border-color:#e02424!important}
body .gform_wrapper .validation_message{font-size:12px!important;color:#e02424!important}
/* Name/address complex fields: keep inner inputs in 2 cols */
body .gform_wrapper .ginput_complex{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%}
body .gform_wrapper .ginput_complex span{display:flex;flex-direction:column;gap:6px;min-width:0}
body .gform_wrapper .ginput_complex label{font-size:12px!important;color:#6b7280!important;font-weight:500!important}
/* Mobile: 1 column like album form */
@media(max-width:640px){
  body .gform_wrapper .gform_fields{grid-template-columns:1fr!important}
  body .gform_wrapper .ginput_complex{grid-template-columns:1fr}
}

/* v1.9.40: Force 2-column rows on Gravity Forms (override full-width fields) */
/* Default: half width for standard fields */
body .gform_wrapper .gfield--type-text.gfield--width-full,
body .gform_wrapper .gfield--type-select.gfield--width-full,
body .gform_wrapper .gfield--type-number.gfield--width-full,
body .gform_wrapper .gfield--type-phone.gfield--width-full,
body .gform_wrapper .gfield--type-email.gfield--width-full,
body .gform_wrapper .gfield--type-website.gfield--width-full,
body .gform_wrapper .gfield--type-date.gfield--width-full,
body .gform_wrapper .gfield--type-time.gfield--width-full,
body .gform_wrapper .gfield--type-radio.gfield--width-full,
body .gform_wrapper .gfield--type-checkbox.gfield--width-full{grid-column:auto!important}
/* Keep full width for: file uploads, textareas, HTML, sections, pages, hidden */
body .gform_wrapper .gfield--type-fileupload,
body .gform_wrapper .gfield--type-textarea,
body .gform_wrapper .gfield_html,
body .gform_wrapper .gfield.gsection,
body .gform_wrapper .gfield--type-page{grid-column:1/-1!important}

/* v1.9.42: Fix Submit Song field pairings */
/* LABEL NAME full width (one row) */
body .gform_wrapper #field_1_66{grid-column:1/-1!important}
/* Ensure C-Line + P-Line stay together (they are adjacent) */
/* Ensure Release Date + Go Live Date stay together (they are adjacent) */
/* Radio active state - stronger pill highlight like album form */
body .gform_wrapper .gfield_radio .gchoice:has(input[type=radio]:checked),
body .gform_wrapper .gfield_checkbox .gchoice:has(input[type=checkbox]:checked){border-color:#2456d6!important;background:#eff6ff!important;color:#1e40af!important;box-shadow:0 2px 8px rgba(36,86,214,.15)!important}
/* Caller Tune full width so CRBT Name + Time pair in one row when visible */
body .gform_wrapper #field_1_43{grid-column:1/-1!important}
/* Content ID full width so Release Date + Go Live Date pair in one row */
body .gform_wrapper #field_1_64{grid-column:1/-1!important}

/* v1.9.44: Equal height for inputs and selects in 2-col rows */
body .gform_wrapper input[type=text],
body .gform_wrapper input[type=email],
body .gform_wrapper input[type=tel],
body .gform_wrapper input[type=url],
body .gform_wrapper input[type=number],
body .gform_wrapper input[type=date],
body .gform_wrapper input[type=password],
body .gform_wrapper select{min-height:46px!important;line-height:1.5!important;box-sizing:border-box!important}
/* Align labels at the same baseline in 2-col rows */
body .gform_wrapper .gfield_label{min-height:20px!important;display:flex;align-items:center;gap:4px}

/* v1.9.45: Bank form (Form 14) — compact, clean, no bloated boxes */
/* Remove outer box/border from each field */
body .gform_wrapper .gfield{border:none!important;background:none!important;box-shadow:none!important;padding:0!important}
/* Compact radio pills */
body .gform_wrapper .gfield_radio,
body .gform_wrapper .gfield_checkbox{gap:8px;padding:6px 0}
body .gform_wrapper .gfield_radio .gchoice,
body .gform_wrapper .gfield_checkbox .gchoice{padding:8px 16px!important;font-size:13px!important;border-radius:10px!important}
/* Name field parts (First/Last) — compact sub-labels */
body .gform_wrapper .gfield--type-name .ginput_container span{display:block;margin-bottom:8px}
body .gform_wrapper .gfield--type-name .ginput_container span:last-child{margin-bottom:0}
body .gform_wrapper .gfield--type-name label{font-size:11px!important;font-weight:500!important;color:#6b7280!important;margin:4px 0 0!important}
/* Tighter field gaps for bank form */
body .gform_wrapper .gform_fields{grid-row-gap:12px!important}

/* v1.9.46: Song picker — same height as standard inputs (46px) */
.stm-ss-btn{min-height:46px!important;padding:6px 12px 6px 8px!important;gap:10px!important;border-radius:10px!important;font-size:14px!important;border:1.5px solid #d1d5db!important;box-shadow:none!important}
.stm-ss-bicon{width:32px!important;height:32px!important;border-radius:8px!important}
.stm-ss-bicon svg{width:16px!important;height:16px!important}
.stm-ss-btitle{font-size:14px!important}
.stm-ss-bsub{font-size:11px!important}

/* v1.9.47: Chosen dropdown — show more songs on PC + match input height */
body .gform_wrapper .chosen-container-single .chosen-single{min-height:46px!important;line-height:44px!important;border-radius:10px!important;border:1.5px solid #d1d5db!important;font-size:14px!important;box-shadow:none!important}
body .gform_wrapper .chosen-container .chosen-drop{border-radius:0 0 10px 10px!important;border:1.5px solid #d1d5db!important}
body .gform_wrapper .chosen-container .chosen-results{max-height:300px!important}
body .gform_wrapper .chosen-container .chosen-results li{padding:10px 12px!important;font-size:14px!important;line-height:1.4!important}
/* Song picker button — slimmer to match URL field exactly */
.stm-ss-btn{min-height:46px!important;max-height:46px!important;overflow:hidden}

/* v1.9.48: Chosen single — exact 46px height, single line, truncated */
body .gform_wrapper .chosen-container-single .chosen-single{height:46px!important;min-height:46px!important;max-height:46px!important;line-height:44px!important;padding:0 12px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
body .gform_wrapper .chosen-container-single .chosen-single span{line-height:44px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important}
body .gform_wrapper .chosen-container-single .chosen-single div{top:10px!important}

/* v1.9.49: Bigger dropdown list — show more songs */
body .gform_wrapper .chosen-container .chosen-results{max-height:450px!important}

/* v1.9.50: Force tall Chosen dropdown — override all constraints */
body .gform_wrapper .chosen-container .chosen-drop{max-height:500px!important}
body .gform_wrapper .chosen-container .chosen-results{max-height:460px!important;min-height:200px}
body .gform_wrapper .chosen-container-active .chosen-drop{display:block!important}

/* v1.9.51: Song dropdown list — tall with many visible songs */
.stm-ss-panel{max-height:88vh!important}
.stm-ss-list{flex:1 1 auto!important;max-height:calc(88vh - 220px)!important;min-height:320px!important}

/* v1.9.53: Song sheet panel = flex column so list grows tall */
.stm-ss-panel{display:flex!important;flex-direction:column!important;max-height:88vh!important;height:75vh!important}
.stm-ss-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}

/* v1.9.55: White form card extends to bottom on desktop */
@media (min-width:1024px){
    main.st-main .st-form-card{min-height:calc(100vh - 280px)!important}
}

/* v1.9.56: Meta Profile Link (Form 7) — polished look + artist hint */
.stm-artist-hint{margin-top:8px;padding:10px 14px;background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;font-size:13.5px;color:#3730a3;line-height:1.5}
.stm-artist-hint strong{color:#1e1b4b}
/* Better radio pills on Form 7 */
#gform_wrapper_7 .gfield_radio .gchoice{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1.5px solid #e5e7eb;border-radius:12px;margin-bottom:10px;transition:all .15s ease;background:#fff}
#gform_wrapper_7 .gfield_radio .gchoice:hover{border-color:#a5b4fc;background:#f8faff}
#gform_wrapper_7 .gfield_radio input[type=radio]{width:18px;height:18px;accent-color:#4f46e5;flex-shrink:0}
#gform_wrapper_7 .gfield_radio .gchoice label{font-weight:500!important;margin:0!important}
/* Selected radio highlight */
#gform_wrapper_7 .gfield_radio .gchoice:has(input:checked){border-color:#4f46e5;background:#eef2ff;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
/* Consent checkbox styling */
#gform_wrapper_7 #field_7_7 .gchoice{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;background:#f9fafb;border-radius:12px;border:1px dashed #d1d5db}
#gform_wrapper_7 #field_7_7 input[type=checkbox]{width:18px;height:18px;margin-top:2px;accent-color:#4f46e5;flex-shrink:0}

/* v1.9.67: Artist hint — clean info box (matches YT claim UI style) */
.stm-artist-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #1e40af;
}
.stm-artist-hint strong {
    color: #1e3a8a;
    font-weight: 700;
}
/* Tidy up Form 7 (Meta Profile Link) field spacing */
#field_7_4 .stm-artist-hint,
#field_7_5 .stm-artist-hint {
    margin-bottom: 4px;
}

/* v1.9.79: Meta Profile Link heading logo (YT-style, inside .st-page-hero h2) */
.stm-meta-h2-logo{height:30px;width:auto;vertical-align:-6px}

/* v1.9.94: Content ID warning modal */
#stm-cid-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:20px}
#stm-cid-modal.stm-cid-open{display:flex}
.stm-cid-backdrop{position:absolute;inset:0;background:rgba(13,18,28,.6)}
.stm-cid-panel{position:relative;background:#fff;border-radius:16px;max-width:420px;width:100%;padding:28px 24px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.stm-cid-icon{font-size:40px;margin-bottom:12px}
.stm-cid-panel h3{margin:0 0 12px;font-size:20px;color:#0f172a}
.stm-cid-panel p{margin:0 0 12px;font-size:14px;line-height:1.6;color:#475569;text-align:left}
.stm-cid-panel p strong{color:#0f172a}
.stm-cid-ok{margin-top:8px;background:#2456d6;color:#fff;border:none;border-radius:10px;padding:12px 48px;font-size:16px;font-weight:600;cursor:pointer}
.stm-cid-ok:hover{background:#1a44b8}

/* v1.9.97: full-screen cinematic auth background on /login/ + /signup/ (PC + mobile).
   The body carries the blurred music image + purple gradient; cards float above it. */
body.stm-auth-bg-page{
    background-color:#14101f;
    background-image:
        linear-gradient(135deg, rgba(76,29,149,.70) 0%, rgba(30,27,75,.60) 45%, rgba(12,10,24,.80) 100%),
        url('../images/st-auth-bg.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
/* login: vertically centered frosted-glass card */
body.stm-auth-bg-page .stm-auth-wrap{
    max-width:440px;margin:0 auto;padding:56px 16px;
    min-height:100vh;min-height:100dvh;
    display:flex;flex-direction:column;justify-content:center;
}
body.stm-auth-bg-page .stm-auth-card{
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
    border-color:rgba(255,255,255,.65);
    box-shadow:0 24px 60px rgba(10,5,25,.45);
}
.stm-auth-logo{text-align:center;margin-bottom:12px;}
.stm-auth-logo img{width:88px;height:88px;object-fit:contain;}
/* signup: transparent wrap so the full-screen body background shows through */
body.stm-auth-bg-page .stm-signup-wrap{
    background:transparent;border-radius:0;box-shadow:none;overflow:visible;
    padding:48px 20px;
}
body.stm-auth-bg-page .stm-signup-wrap::before{display:none;}
@media (max-width:640px){
    body.stm-auth-bg-page .stm-auth-wrap{padding:40px 14px;}
    body.stm-auth-bg-page .stm-signup-wrap{padding:36px 14px;}
    .stm-auth-logo img{width:72px;height:72px;}
}

/* ============ v1.9.98: Frontend page-title cards ============
   Centered, unique, mobile + PC friendly. Applied via the_title filter
   (stingtune-membership.php). Auth pages get an empty title (hidden below)
   because their branded cards already carry headings. */
h1:has(> .stm-ptc){text-align:center;margin:6px 0 30px;}
.stm-ptc{
    display:block;max-width:660px;margin:0 auto;text-align:center;
    padding:26px 34px;position:relative;overflow:hidden;
    background:linear-gradient(135deg,#3b0f7a 0%,#5b21b6 45%,#7c3aed 100%);
    border-radius:20px;color:#fff;
    box-shadow:0 18px 44px rgba(91,33,182,.28),inset 0 1px 0 rgba(255,255,255,.22);
    border:1px solid rgba(255,255,255,.14);
}
.stm-ptc::before{ /* decorative giant notes, right side */
    content:'\266A \266B';position:absolute;right:16px;top:50%;
    transform:translateY(-50%) rotate(10deg);
    font-size:72px;line-height:1;opacity:.13;pointer-events:none;letter-spacing:6px;
}
.stm-ptc::after{ /* top sheen line */
    content:'';position:absolute;left:24px;right:24px;top:0;height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
}
.stm-ptc-note{
    display:inline-flex;align-items:center;justify-content:center;
    width:46px;height:46px;border-radius:50%;font-size:22px;vertical-align:middle;
    background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);
    margin-right:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.2);
}
.stm-ptc-text{
    font-size:clamp(1.35rem,3.4vw,1.9rem);font-weight:800;letter-spacing:.3px;
    vertical-align:middle;text-shadow:0 2px 10px rgba(0,0,0,.25);
}
/* Hide the emptied theme h1 on branded auth pages */
body.stm-auth-bg-page .st-site h1:empty{display:none;}
@media (max-width:640px){
    h1:has(> .stm-ptc){margin:2px 0 22px;}
    .stm-ptc{padding:20px 18px;border-radius:16px;max-width:none;}
    .stm-ptc::before{font-size:46px;right:8px;letter-spacing:3px;}
    .stm-ptc-note{width:36px;height:36px;font-size:18px;margin-right:10px;}
}

/* ============ v1.9.98: Renew mode ============ */
.stm-renew-account{
    display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;
    max-width:560px;margin:0 auto 22px;padding:14px 20px;text-align:center;
    background:rgba(255,255,255,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    border:1px solid rgba(109,40,217,.2);border-radius:14px;
    box-shadow:0 10px 28px rgba(30,10,60,.18);
}
.stm-renew-account-label{
    font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:#7c3aed;
    background:rgba(124,58,237,.1);padding:5px 12px;border-radius:999px;
}
.stm-renew-account-name{font-weight:800;color:#1e1b2e;font-size:16px;}
.stm-renew-account-email{color:#6b7280;font-size:13px;}
.stm-steps-renew{justify-content:center;}
.stm-steps-renew .stm-step{flex:0 1 auto;min-width:150px;}
@media (max-width:640px){
    .stm-renew-account{padding:12px 14px;margin-bottom:18px;}
    .stm-steps-renew .stm-step{min-width:0;flex:1 1 0;}
}
