/* ============================================================
   BLISSPOP CREATOR PAGE CSS
   Extracted from creator.html to reduce inline code length.
   UI rules are preserved in the same order to avoid visual changes.
   ============================================================ */

/* ── DESIGN TOKENS (mirrors index.html) ── */
    :root {
      /* Background family ported from index.html's "UI POLISH v17"
         (body.index-page). index left the old red-wash values on its base body
         rule and only overrode them for .index-page — creator has no such
         class, so it kept rendering the pre-v17 red wash. */
      --bg-0: #060313;
      --bg-1: #110725;
      --bg-2: #1b0d36;
      --deep: #241046;
      --purple: #7b5cff;
      --violet: #a78bff;
      --coral: #ff6b8b;
      --coral-2: #ff8fab;
      --gold: #ffca48;
      --aqua: #86e9dd;
      --cream: #fff3d8;
      --white: #ffffff;
      --text: #fff7ff;
      --muted: rgba(255,247,255,.72);
      --muted-2: rgba(255,247,255,.56);
      --line: rgba(255,255,255,.14);
      --glass: rgba(255,255,255,.06);
      --glass-2: rgba(255,255,255,.10);
      --shadow: 0 30px 90px rgba(0,0,0,.38);
      --radius-xl: 42px;
      --radius-lg: 30px;
      --radius-md: 22px;
      --max: 760px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    /* ── BODY — same layered bg as index ── */
    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        /* v17 background, verbatim from body.index-page. The decisive change is
           the FIRST layer: the top-left blob was coral rgba(255,107,139,.28),
           now purple rgba(123,92,255,.24); gold drops .18 -> .10 and the bottom
           teal becomes cool slate. Those three were the red wash. */
        radial-gradient(circle at 18%  2%, rgba(123, 92,255,.24), transparent 28%),
        radial-gradient(circle at 84%  9%, rgba(255,210, 90,.10), transparent 23%),
        radial-gradient(circle at 48% 32%, rgba( 83, 48,165,.30), transparent 39%),
        radial-gradient(circle at 50% 88%, rgba( 28, 38, 60,.55), transparent 34%),
        linear-gradient(180deg, #070314 0%, #13082d 45%, #05020d 100%);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ── STARFIELD: generated by js/starfield.js — no CSS grid here ── */
    /* The OLD body::before was removed here because it produced square grid
       dots. This is the v17 replacement from index.html — pure soft gradients,
       no repeating pattern, so the dot artefact cannot come back. */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background:
        radial-gradient(ellipse at 50% 0%, rgba(159,122,255,.11), transparent 58%),
        linear-gradient(90deg, rgba(255,255,255,.025), transparent 18%, transparent 82%, rgba(255,255,255,.02));
    }

    /* ── PAGE-BG LAYER (meteors + sparkles) ── */
    .page-bg {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .meteor {
      position: absolute;
      width: 210px;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(255, 202, 72, .95), rgba(255, 107, 139, .78), transparent);
      transform: rotate(-18deg);
      opacity: .48;
      animation: meteor 8s ease-in-out infinite;
      filter: drop-shadow(0 0 12px rgba(255,202,72,.72));
    }

    .meteor:nth-child(1) { top: 13%; left: 68%; animation-delay: 0s; }
    .meteor:nth-child(2) { top: 34%; left: 5%; animation-delay: 2.4s; width: 150px; }
    .meteor:nth-child(3) { top: 74%; left: 78%; animation-delay: 4.7s; width: 170px; }

    @keyframes meteor {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(-18deg); opacity: .14; }
      50% { transform: translate3d(-56px, 20px, 0) rotate(-18deg); opacity: .78; }
    }

    .sparkle {
      position: absolute;
      width: 10px;
      height: 10px;
      background: var(--gold);
      border-radius: 2px;
      transform: rotate(45deg);
      opacity: .62;
      animation: float 7s ease-in-out infinite;
      box-shadow: 0 0 20px rgba(255,202,72,.62);
    }

    .sparkle:nth-child(4) { top: 18%; left: 7%; background: var(--coral); box-shadow: 0 0 20px rgba(255,107,139,.6); }
    .sparkle:nth-child(5) { top: 54%; left: 94%; background: var(--aqua); animation-delay: 1.3s; }
    .sparkle:nth-child(6) { top: 82%; left: 11%; background: var(--violet); animation-delay: 2.6s; }

    @keyframes float {
      0%, 100% { transform: translateY(0) rotate(45deg); }
      50% { transform: translateY(-18px) rotate(45deg); }
    }

    /* ── LAYOUT ── */
    .container {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      position: relative;
      z-index: 1;
      padding-bottom: 60px;
    }

    /* ── NAVBAR (pill glass — same as index) ── */
    .nav-wrap {
      position: sticky;
      top: 14px;
      z-index: 50;
      padding: 16px 0 0;
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
    }

    .navbar {
      display: flex;
      align-items: left;
      justify-content: space-between;
      gap: 20px;
      padding: 14px 18px 14px 22px;
      border-radius: 999px;
      background: rgba(18,8,37,.64);
      border: 1px solid rgba(255,255,255,.16);
      box-shadow: 0 18px 45px rgba(0,0,0,.24);
      backdrop-filter: blur(20px);
    }

    .brand img {
      width: 148px;
      height: auto;
      filter: drop-shadow(0 0 12px rgba(255,202,72,.18));
    }

    .brand-fallback {
      font-family: "Playfair Display", serif;
      font-weight: 800;
      font-size: 26px;
      letter-spacing: -1px;
      color: #fff;
      display: none;
    }
    .brand-fallback span { color: var(--coral); }

    .nav-right { display: flex; align-items: right; gap: 10px; }

    /* Credit badge */
    .credit-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 16px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--coral), var(--gold));
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 8px 20px rgba(255,107,139,.28);
    }

    /* ── SHARED BUTTON ── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 44px;
      padding: 0 22px;
      border-radius: 999px;
      border: 0;
      font-family: inherit;
      font-weight: 900;
      font-size: 14px;
      cursor: pointer;
      transition: transform .22s ease, box-shadow .22s ease;
      white-space: nowrap;
    }
    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--coral) 0%, #ff7a70 52%, var(--gold) 130%);
      box-shadow: 0 14px 36px rgba(255,107,139,.30);
    }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(255,107,139,.42); }

    .btn-ghost {
      color: var(--text);
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.16);
    }
    .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,202,72,.34); transform: translateY(-2px); }

    .btn-danger {
      color: #ff6b6b;
      background: rgba(255,107,107,.08);
      border: 1px solid rgba(255,107,107,.28);
    }
    .btn-danger:hover { background: rgba(255,107,107,.18); transform: translateY(-2px); }

    .btn-wa {
      color: #fff;
      background: #25D366;
      box-shadow: 0 10px 24px rgba(37,211,102,.22);
    }
    .btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(37,211,102,.34); }

    .btn-full { width: 100%; }
    .btn:disabled { opacity: .54; cursor: not-allowed; transform: none; }

    /* ── GLASS PANEL ── */
    .panel {
      margin-top: 0px;
      padding: 32px;
      border-radius: var(--radius-lg);
      background: var(--glass);
      border: 1px solid rgba(255,255,255,.10);
      box-shadow: 0 20px 54px rgba(0,0,0,.28);
      backdrop-filter: blur(18px);
      position: relative;
      overflow: hidden;
    }

    .panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 80% 10%, rgba(255,202,72,.08), transparent 30%),
        radial-gradient(circle at 15% 90%, rgba(255,107,139,.06), transparent 30%);
      pointer-events: none;
    }

    .panel > * { position: relative; z-index: 1; }

    .panel-title {
      margin: 0 0 20px;
      color: #fff;
      font-size: 20px;
      font-weight: 900;
      letter-spacing: -.3px;
    }

    /* ── AUTH SECTION ── */
    #authSection {
      max-width: 420px;
      margin: 80px auto 0;
      text-align: center;
    }

    #authSection .logo {
      width: 200px;
      margin: 0 auto 22px;
      filter: drop-shadow(0 0 14px rgba(255,202,72,.22));
    }

    #authSection .sub {
      color: var(--muted);
      font-weight: 500;
      margin-bottom: 28px;
      font-size: 15px;
    }

    .input-wrap {
      text-align: left;
      margin-bottom: 18px;
    }

    .input-wrap label {
      display: block;
      font-weight: 800;
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 8px;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .field {
      width: 100%;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.06);
      color: #fff;
      font-family: inherit;
      font-size: 15px;
      font-weight: 600;
      transition: border-color .2s, box-shadow .2s, background .2s;
      outline: none;
    }
    .field:focus {
      border-color: rgba(255,107,139,.58);
      background: rgba(255,255,255,.10);
      box-shadow: 0 0 0 4px rgba(255,107,139,.14);
    }
    .field::placeholder { color: rgba(255,247,255,.30); }
    .field-file {
      background: rgba(255,255,255,.04);
      padding: 12px 16px;
      cursor: pointer;
      color: var(--muted);
    }

    .btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

    .divider {
      height: 1px;
      background: var(--line);
      margin: 22px 0;
    }

    /* ── USER BAR ── */
    .user-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 20px;
      border: 1px solid rgba(255,255,255,.12);
      backdrop-filter: blur(20px);
      margin-top: 40px;
    }

    .user-info { display: flex; align-items: center; gap: 12px; }

    .avatar {
      width: 38px;
      height: 38px;
      /*border-radius: 50%;
      border: 1px solid var(--gold);
      object-fit: cover;
      flex-shrink: 0;*/
    }

    .user-email {
      color: #fff;
      font-weight: 800;
      font-size: 14px;
    }

    /* ── VAULT LIST ── */
    .vault-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 18px;
      border-radius: 18px;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.08);
      margin-bottom: 12px;
      transition: background .2s, border-color .2s;
    }
    .vault-item:hover { background: rgba(255,255,255,.09); border-color: rgba(255,202,72,.22); }
    .vault-name { color: #fff; font-weight: 800; font-size: 15px; }
    .vault-date { color: var(--muted-2); font-size: 12px; margin-top: 2px; font-weight: 700; }

    /* ── QUICK PICKS ── */
    .quick-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

    .quick-btn {
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.12);
      color: var(--muted);
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: background .2s, border-color .2s, color .2s;
    }
    .quick-btn:hover { background: rgba(255,107,139,.18); border-color: rgba(255,107,139,.38); color: #fff; }

    /* ── BACKGROUND SELECTOR ── */
    /* ── Theme cards (bg + music bundled) ── */
    .theme-selector { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .theme-selector input[type="radio"] { display: none; }
    .theme-card-label { cursor: pointer; display: block; }
    .theme-card-inner {
      border-radius: 18px; border: 2px solid rgba(255,255,255,.10); overflow: hidden;
      transition: border-color .22s, transform .22s, box-shadow .22s;
      background: rgba(255,255,255,.05);
    }
    .theme-card-inner:hover { border-color: rgba(255,202,72,.34); transform: translateY(-2px); }
    .theme-selector input[type="radio"]:checked + .theme-card-inner {
      border-color: var(--coral);
      box-shadow: 0 0 0 3px rgba(255,107,139,.22), 0 14px 36px rgba(0,0,0,.28);
      transform: translateY(-3px);
    }
    .theme-thumb { width: 100%; height: 80px; object-fit: cover; display: block; background: var(--bg-2); }
    .theme-info { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .theme-info-left strong { display: block; color: #fff; font-size: 13px; font-weight: 900; }
    .theme-info-left span   { display: block; color: var(--muted-2); font-size: 11px; font-weight: 700; margin-top: 2px; }
    .theme-music-badge {
      display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px;
      background: rgba(255,202,72,.12); border: 1px solid rgba(255,202,72,.22);
      color: var(--gold); font-size: 10px; font-weight: 900; white-space: nowrap;
    }
    .custom-theme-inner {
      border-radius: 18px; border: 2px dashed rgba(255,255,255,.18);
      background: rgba(255,255,255,.04);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 6px; padding: 20px; color: var(--muted-2); font-size: 13px; font-weight: 800;
      transition: border-color .22s, background .22s; min-height: 140px;
    }
    .custom-theme-inner .ct-icon { font-size: 28px; }
    .custom-theme-inner:hover { border-color: rgba(255,202,72,.34); background: rgba(255,202,72,.04); }
    .theme-selector input[type="radio"]:checked + .custom-theme-inner {
      border-color: var(--coral); border-style: solid;
      box-shadow: 0 0 0 3px rgba(255,107,139,.22);
    }

    /* ── LINK BOX ── */
    .link-box {
      padding: 22px;
      border-radius: 22px;
      margin-bottom: 16px;
      word-break: break-all;
    }
    .link-box.invite { background: rgba(255,107,139,.08); border: 1px solid rgba(255,107,139,.28); }
    .link-box.master { background: rgba(125,211,252,.08); border: 1px solid rgba(125,211,252,.28); }

    .link-label {
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .12em;
      margin-bottom: 10px;
    }
    .link-box.invite .link-label { color: var(--coral); }
    .link-box.master .link-label { color: #7DD3FC; }

    .link-text {
      color: #fff;
      font-weight: 700;
      font-size: 13px;
      margin-bottom: 16px;
    }

    .link-actions { display: flex; gap: 10px; flex-wrap: wrap; }

    /* ── GUEST LIST ── */
    .guest-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,.06);
      color: #fff;
      font-weight: 700;
    }
    .guest-item img {
      width: 42px; height: 42px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid var(--gold);
    }
    .guest-empty { color: var(--muted-2); font-weight: 700; padding: 12px 0; }

    /* ── VAULT DASHBOARD — full-width, no card wrapper ── */
    #creatorDashboard {
      width: min(980px, calc(100% - 40px));
      margin-left: auto;
      margin-right: auto;
      background:
        radial-gradient(circle at 80% 10%, rgba(255,202,72,.07), transparent 40%),
        radial-gradient(circle at 15% 90%, rgba(167,139,255,.06), transparent 40%),
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
      border: 1px solid rgba(255,255,255,.11);
      border-radius: 28px;
      padding: 26px 24px;
      box-shadow: 0 18px 50px rgba(0,0,0,.22);
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      overflow: visible !important;
    }

    
      

    #creatorDashboard::before {
      display: none !important;
    }

    /* ── DASHBOARD 2-COLUMN LAYOUT ── */
    .dashboard-detail-header {
      text-align: center;
      margin-bottom: 32px;
    }

    .dashboard-cols {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
      gap: 24px;
      align-items: start;
    }

    /* Left column: vault info + links */
    .dashboard-col-left {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    /* Right column: guest list panel */
    .dashboard-col-right {
      position: sticky;
      top: 90px;
    }

    .guest-panel {
      background:
        radial-gradient(circle at 80% 10%, rgba(255,202,72,.07), transparent 40%),
        radial-gradient(circle at 15% 90%, rgba(167,139,255,.06), transparent 40%),
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
      border: 1px solid rgba(255,255,255,.11);
      border-radius: 28px;
      padding: 26px 24px;
      box-shadow: 0 18px 50px rgba(0,0,0,.22);
    }

    .guest-panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 18px;
      gap: 10px;
    }

    .guest-panel-title {
      margin: 0;
      color: #fff;
      font-size: 17px;
      font-weight: 900;
      letter-spacing: -.2px;
    }

    .guest-count-badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(255,202,72,.12);
      border: 1px solid rgba(255,202,72,.24);
      color: var(--gold);
      font-size: 12px;
      font-weight: 900;
    }

    .guest-scroll {
      max-height: 480px;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(255,255,255,.12) transparent;
    }

    .guest-scroll::-webkit-scrollbar { width: 4px; }
    .guest-scroll::-webkit-scrollbar-track { background: transparent; }
    .guest-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 4px; }

    /* Delete zone inside left col */
    .delete-zone {
      text-align: center;
      margin-top: 28px;
      padding-top: 24px;
    }

    /* Collapse to single column on narrow screens */
    @media (max-width: 820px) {
      .dashboard-cols {
        grid-template-columns: 1fr;
      }
      .dashboard-col-right {
        position: static;
      }
    }

    /* ── SECTION KICKER ── */
    .kicker {
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 6px;
    }

    h2 {
      margin: 0 0 6px;
      color: #fff;
      font-family: "Playfair Display", serif;
      font-size: clamp(26px, 4vw, 38px);
      line-height: 1.1;
      letter-spacing: -1px;
    }

    .hidden { display: none !important; }

    @keyframes float-img {
      0%,100% { transform: translateY(0); }
      50%      { transform: translateY(-12px); }
    }

    /* ── RESPONSIVE ── */
    /* ── Package Selector ── */
    .package-selector {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px;
    }
    .pkg-option {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .pkg-option .pkg-label { flex: 1; }
    .pkg-sample-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 8px 14px;
      border-radius: 999px;
      color: #fff;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,202,72,.30);
      text-decoration: none;
      font-size: 12px;
      font-weight: 900;
      transition: border-color .2s ease, background .2s ease, transform .2s ease;
    }
    .pkg-sample-link:hover {
      border-color: rgba(255,202,72,.68);
      background: rgba(255,202,72,.11);
      transform: translateY(-1px);
    }
    .pkg-sample-pin {
      margin: -2px 0 0;
      color: var(--muted-2);
      font-size: 11px;
      font-weight: 800;
      text-align: center;
    }
    .pkg-sample-pin strong { color: var(--gold); }
    .pkg-label { cursor: pointer; display: block; }
    .pkg-label input[type="radio"] { display: none; }
    .pkg-card {
      border-radius: 20px; border: 2px solid rgba(255,255,255,.10);
      background: rgba(255,255,255,.05); overflow: hidden;
      transition: border-color .22s, transform .22s, box-shadow .22s;
    }
    .pkg-card:hover { border-color: rgba(255,202,72,.32); transform: translateY(-2px); }
    .pkg-label input[type="radio"]:checked + .pkg-card {
      border-color: var(--coral);
      box-shadow: 0 0 0 3px rgba(255,107,139,.22), 0 14px 40px rgba(0,0,0,.30);
      transform: translateY(-4px);
    }
    .pkg-header {
      padding: 14px 12px 10px; text-align: center; display: flex;
      flex-direction: column; align-items: center; gap: 4px;
    }
    .pkg-simple { background: linear-gradient(135deg, rgba(167,139,255,.28), rgba(123,92,255,.18)); }
    .pkg-premium  { background: linear-gradient(135deg, rgba(255,107,139,.28), rgba(255,202,72,.18)); }
    .pkg-party  { background: linear-gradient(135deg, rgba(134,233,221,.24), rgba(123,92,255,.20)); }
    .pkg-emoji  { font-size: 28px; }
    .pkg-header strong { color: #fff; font-size: 14px; font-weight: 900; }
    .pkg-body { padding: 12px 14px; }
    .pkg-price {
      color: #fff; font-size: 26px; font-weight: 900; letter-spacing: -1px;
      margin-bottom: 18px; text-align: center;
    }
    .pkg-price span { font-size: 12px; color: var(--muted-2); font-weight: 700; letter-spacing: 0; }
    .pkg-features {
      list-style: none; padding: 0; margin: auto;
      display: grid; gap: 5px;
    }
    .pkg-features li {
      font-size: 11px; font-weight: 700; color: var(--muted);
      padding-left: 14px; position: relative;
    }
    .pkg-features li::before { content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:900; }
    .pkg-badge-wrap { padding: 8px 12px 12px; text-align: center; }
    .pkg-badge {
      display: inline-block; padding: 4px 12px; border-radius: 999px;
      font-size: 11px; font-weight: 900;
    }
    .simple-badge { background: rgba(167,139,255,.18); color: var(--violet); }
    .premium-badge  { background: rgba(255,202,72,.18);  color: var(--gold); }
    .party-badge  { background: rgba(134,233,221,.18); color: var(--aqua); }

    .credit-cost-bar {
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
      padding: 10px 16px; border-radius: 14px; margin-top: 8px;
      background: rgba(255,202,72,.08); border: 1px solid rgba(255,202,72,.22);
      color: var(--muted); font-size: 13px; font-weight: 700;
    }
    .credit-cost-bar strong { color: var(--gold); font-size: 20px; font-weight: 900; }

    @media (max-width: 580px) {
      .package-selector { grid-template-columns: 1fr; }
    }

    @media (max-width: 520px) {
      .nav-wrap { top: 0; padding-top: 10px; }
      .navbar { border-radius: 22px; }
      .brand img { width: 130px; }
      .panel { padding: 22px; }
      .user-bar { border-radius: 22px; }
    }

    /* ── 5-STEP WIZARD ── */
    .wizard-progress {
      display: flex; align-items: center; justify-content: center;
      gap: 0; margin-bottom: 28px; flex-wrap: nowrap; overflow-x: auto;
    }
    .wp-step { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 52px; }
    .wp-step-dot {
      width: 32px; height: 32px; border-radius: 50%;
      display: grid; place-items: center;
      background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
      color: var(--muted-2); font-size: 13px; font-weight: 900;
      transition: background .3s, border-color .3s, color .3s;
    }
    .wp-step span { font-size: 10px; font-weight: 800; color: var(--muted-2); white-space: nowrap; transition: color .3s; }
    .wp-step.active .wp-step-dot { background: var(--coral); border-color: var(--coral); color: #fff; }
    .wp-step.active span          { color: var(--coral); }
    .wp-step.done .wp-step-dot   { background: var(--gold); border-color: var(--gold); color: var(--bg-0); }
    .wp-step.done span            { color: var(--gold); }
    .wp-step-line { flex: 1; height: 2px; background: rgba(255,255,255,.12); min-width: 16px; margin: 0 4px; margin-bottom: 18px; }

    .wizard-step { animation: wp-fadein .3s ease; }
    .wizard-nav  { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }

    /* Occasion grid */
    .occasion-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 8px; }
    .occ-label input { display: none; }
    .occ-label { cursor: pointer; }
    .occ-card {
      padding: 18px 12px; border-radius: 18px; text-align: center;
      background: rgba(255,255,255,.05); border: 2px solid rgba(255,255,255,.10);
      transition: border-color .2s, transform .2s, background .2s;
    }
    .occ-card:hover { border-color: rgba(255,202,72,.34); transform: translateY(-2px); }
    .occ-label input:checked + .occ-card {
      border-color: var(--coral); background: rgba(255,107,139,.12);
      box-shadow: 0 0 0 3px rgba(255,107,139,.20); transform: translateY(-3px);
    }
    .occ-icon  { font-size: 30px; margin-bottom: 8px; }
    .occ-card strong { display: block; color: #fff; font-size: 12px; font-weight: 900; }

    /* Selfie upload zone */
    .selfie-upload-zone {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 8px; min-height: 120px; border-radius: var(--radius-sm);
      border: 2px dashed rgba(255,255,255,.22); background: rgba(255,255,255,.04);
      cursor: pointer; transition: border-color .2s, background .2s;
      padding: 20px;
    }
    .selfie-upload-zone:hover { border-color: rgba(255,202,72,.44); background: rgba(255,202,72,.04); }
    .suz-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 800; }

    /* Background grid */
    .bg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
    .bg-item-label { cursor: pointer; display: block; }
    .bg-item-label input { display: none; }
    .bg-item-card {
      border-radius: 16px; overflow: hidden;
      border: 2px solid rgba(255,255,255,.10);
      transition: border-color .2s, transform .2s;
    }
    .bg-item-card:hover { border-color: rgba(255,202,72,.34); transform: translateY(-2px); }
    .bg-item-label input:checked + .bg-item-card {
      border-color: var(--coral); transform: translateY(-3px);
      box-shadow: 0 0 0 3px rgba(255,107,139,.22);
    }
    .bg-item-thumb {
      width: 100%; height: 72px; object-fit: cover;
      background: var(--bg-2); display: block;
    }
    .bg-item-foot {
      padding: 8px 10px; background: rgba(255,255,255,.04);
      display: flex; align-items: center; justify-content: space-between;
    }
    .bg-item-foot strong { color: #fff; font-size: 11px; font-weight: 900; }
    .bg-recommended { font-size: 9px; font-weight: 900; color: var(--gold); }

    /* Review card */
    .review-card {
      padding: 22px; border-radius: var(--radius-md);
      background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
    }
    .review-row {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .review-row:last-child { border-bottom: none; }
    .review-row .rr-label { color: var(--muted-2); font-size: 12px; font-weight: 800; width: 90px; flex-shrink: 0; }
    .review-row .rr-value { color: #fff; font-size: 14px; font-weight: 700; }
    .review-master-photo {
      width: 48px; height: 48px; border-radius: 50%;
      object-fit: cover; border: 1px solid var(--gold); flex-shrink: 0;
    }

    @media (max-width: 540px) {
      .occasion-grid { grid-template-columns: repeat(2,1fr); }
      .bg-grid { grid-template-columns: repeat(2,1fr); }
      .package-selector { grid-template-columns: 1fr; }
    }

    /* ══════════════════════════════════════════════════════
       BlissPOP Auth + Creator Dashboard Premium Layout
       ══════════════════════════════════════════════════════ */
    .auth-nav-wrap {
      position: relative;
      top: auto;
      width: min(760px, calc(100% - 40px));
      padding-top: 24px;
    }

    .auth-navbar {
      padding: 0 6px;
      background: transparent !important;
      border: 0 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    .auth-brand img,
    .navbar .brand img {
      width: clamp(178px, 22vw, 255px);
      max-height: 84px;
      object-fit: contain;
      filter: drop-shadow(0 0 18px rgba(255,202,72,.20));
    }

    .nav-slogan {
      flex-direction: column;
      align-items: flex-end;
      gap: 2px;
      text-align: right;
      color: #fff;
    }

    .nav-slogan strong {
      font-family: "Playfair Display", serif;
      font-size: clamp(18px, 2.4vw, 28px);
      line-height: 1.05;
      letter-spacing: -.04em;
      color: #fff;
      text-shadow: 0 8px 28px rgba(0,0,0,.45);
    }

    .nav-slogan span {
      color: rgba(255,247,255,.68);
      font-size: 11px;
      font-weight: 550;
      line-height: 1.35;
    }

    .auth-shell {
      width: min(980px, calc(100% - 40px));
      max-width: 980px;
      padding-top: 70px;
    }

    #authSection.auth-shell {
      width: min(980px, calc(100% - 40px)) !important;
      max-width: 980px !important;
      margin: 0 auto !important;
      padding-top: 20px;
      text-align: left;
    }

    .auth-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
      gap: 56px;
      align-items: center;
    }

    .auth-story {
      padding: 22px 4px;
    }

    .auth-pill {
      display: inline-flex;
      align-items: center;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.14);
      color: rgba(255,247,255,.82);
      font-size: 12px;
      font-weight: 900;
      margin-bottom: 18px;
    }

    .auth-story h1 {
      margin: 0;
      max-width: 520px;
      font-family: "Playfair Display", serif;
      font-size: clamp(38px, 5.2vw, 66px);
      line-height: .98;
      letter-spacing: -.055em;
      color: #fff;
      text-shadow: 0 18px 55px rgba(0,0,0,.42);
    }

    .auth-story p {
      max-width: 520px;
      margin: 18px 0 0;
      color: rgba(255,247,255,.76);
      font-size: 16px;
      line-height: 1.7;
      font-weight: 550;
    }

    .auth-benefits {
      display: grid;
      gap: 10px;
      margin-top: 26px;
      max-width: 520px;
    }

    .auth-benefit {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 13px 14px;
      border-radius: 20px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.10);
    }

    .auth-benefit > span {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
      border-radius: 14px;
      background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.24), transparent 50%), rgba(255,202,72,.10);
      border: 1px solid rgba(255,202,72,.18);
    }

    .auth-benefit strong {
      display: block;
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      margin-bottom: 2px;
    }

    .auth-benefit small {
      display: block;
      color: rgba(255,247,255,.58);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.35;
    }

    .auth-card {
      margin-top: 0 !important;
      padding: 34px 32px 30px;
      background:
        radial-gradient(circle at 50% 0%, rgba(255,202,72,.10), transparent 32%),
        linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
      border: 1px solid rgba(255,255,255,.15);
      box-shadow: 0 32px 90px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.10);
    }

    .auth-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      padding: 5px;
      border-radius: 999px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.10);
      margin-bottom: 22px;
    }

    .auth-tabs span,
    .auth-tabs button {
      min-height: 34px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      color: rgba(255,247,255,.62);
      font-size: 12px;
      font-weight: 900;
      border: 0;
      font-family: inherit;
      cursor: pointer;
      background: transparent;
    }

    .auth-tabs span.active,
    .auth-tabs button.active {
      color: #fff;
      background: linear-gradient(135deg, rgba(255,107,139,.95), rgba(255,202,72,.90));
      box-shadow: 0 10px 24px rgba(255,107,139,.25);
    }

    .auth-title { font-size: clamp(24px, 3vw, 34px) !important; }
    .auth-sub { margin: 0 0 22px !important; text-align: center; }
    .auth-note {
      margin: 28px 0 0;
      color: rgba(255,247,255,.52);
      font-size: 12px;
      font-weight: 650;
      text-align: center;
      line-height: 1.45;
    }

    .auth-message {
      display: none;
      margin: 0 0 16px;
      padding: 11px 14px;
      border-radius: 14px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.45;
      text-align: left;
    }
    .auth-message.show { display: block; }
    .auth-message.error {
      color: #ffb0bd;
      background: rgba(255,107,139,.12);
      border: 1px solid rgba(255,107,139,.30);
    }
    .auth-message.success {
      color: var(--aqua);
      background: rgba(134,233,221,.10);
      border: 1px solid rgba(134,233,221,.26);
    }
    .auth-message.info {
      color: var(--gold);
      background: rgba(255,202,72,.10);
      border: 1px solid rgba(255,202,72,.24);
    }

    #appSection.container {
      padding-top: 34px;
      width: min(980px, calc(100% - 40px)) !important;
      max-width: 980px !important;
      margin: 0 auto !important;
      padding-top: 40px;
      text-align: left;
    }

    .dashboard-main-card {
      margin-top: 0 !important;
      padding: 30px 32px 32px;
      background:
        radial-gradient(circle at 44% 8%, rgba(123,92,255,.18), transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
      border: 1px solid rgba(255,255,255,.14);
      box-shadow: 0 28px 88px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .dashboard-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 24px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .account-avatar {
      width: 48px !important;
      height: 48px !important;
      /*border-radius: 14px !important;
      border: 1px solid rgba(255,202,72,.24) !important;
      object-fit: contain !important;
      background: rgba(255,255,255,.06);
      padding: 4px;
      filter: drop-shadow(0 0 12px rgba(255,202,72,.42));*/
    }

    .account-label {
      color: var(--gold);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
      margin-bottom: 3px;
    }

    .dashboard-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
      flex-shrink: 0;
    }

    #creditBalanceInline {
      min-height: 36px;
      padding: 0 15px;
      box-shadow: 0 10px 26px rgba(255,107,139,.24);
    }

    .dashboard-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 18px;
      padding-bottom: 18px;
    }

    .dashboard-heading p {
      max-width: 285px;
      margin: 0 0 4px;
      color: rgba(255,247,255,.58);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.5;
      text-align: right;
    }

    @media (max-width: 760px) {
      .auth-nav-wrap { width: min(520px, calc(100% - 32px)); padding-top: 18px; }
      .auth-navbar { flex-direction: column; gap: 8px; justify-content: center; }
      .auth-brand img, .navbar .brand img { width: 210px; }
      .nav-slogan { align-items: center; text-align: center; }
      .nav-slogan strong { font-size: 22px; }
      .nav-slogan span { max-width: 300px; }
      .auth-shell { width: min(520px, calc(100% - 32px)); padding-top: 30px; }
      .auth-layout { grid-template-columns: 1fr; gap: 18px; }
      .auth-story { text-align: center; padding: 0; }
      .auth-story h1 { font-size: clamp(34px, 10vw, 48px); margin: 0 auto; }
      .auth-story p { margin-left: auto; margin-right: auto; font-size: 14px; line-height: 1.6; }
      .auth-benefits { grid-template-columns: 1fr; margin-top: 18px; }
      .auth-benefit { text-align: left; }
      .auth-card { padding: 28px 22px; }
      .dashboard-topbar { align-items: flex-start; flex-direction: column; }
      .dashboard-actions { width: 100%; }
      #creditBalanceInline { flex: 1; justify-content: center; }
      .dashboard-heading { align-items: flex-start; flex-direction: column; }
      .dashboard-heading p { max-width: none; text-align: left; }
    }

    @media (max-width: 480px) {
      .auth-story h1 { font-size: 32px; }
      .auth-story p { display: none; }
      .auth-benefits { grid-template-columns: 1fr; }
      .auth-benefit small { display: none; }
      .auth-card { border-radius: 28px; }
      .dashboard-main-card { padding: 24px 20px; }
      .dashboard-actions .btn,
      .dashboard-actions .credit-badge { min-height: 38px; font-size: 12px; padding-left: 13px; padding-right: 13px; }
    }

    /* ══════════════════════════════════════════════════════
       Manage Bliss Moment — Premium 2-column UI override
       Scope: #creatorDashboard only. Dashboard/referral/auth remains unchanged.
       ══════════════════════════════════════════════════════ */
    #creatorDashboard {
      width: min(980px, calc(100% - 40px));
      padding: 28px;
      border-radius: 32px;
      background:
        radial-gradient(circle at 45% 10%, rgba(123,92,255,.22), transparent 34%),
        radial-gradient(circle at 88% 20%, rgba(255,202,72,.08), transparent 28%),
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.032));
      border: 1px solid rgba(255,255,255,.13);
      box-shadow: 0 28px 88px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
      overflow: visible !important;
    }

    #creatorDashboard::before { display: none !important; }

    #backToListBtnDash {
      margin-bottom: 26px !important;
      background: rgba(255,255,255,.09);
      border: 1px solid rgba(255,255,255,.17);
    }

    .dashboard-detail-header {
      text-align: center;
      margin: 8px auto 30px;
    }

    .dashboard-detail-header h2 {
      font-size: clamp(30px, 4vw, 44px);
      letter-spacing: -.045em;
      text-shadow: 0 12px 44px rgba(0,0,0,.38);
    }

    .dashboard-cols {
      display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
      gap: 26px;
      align-items: start;
    }

    .manage-left {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .manage-right {
      min-width: 0;
      position: sticky;
      top: 90px;
    }

    .moment-info-panel { margin-bottom: 0; }

    
    .vault-hero-photo {
      width: 76px;
      height: 76px;
      border-radius: 50%;
      object-fit: cover;
      object-position: 50% 15%;
      border: 3px solid var(--gold);
      box-shadow: 0 0 0 4px rgba(255,202,72,.12), 0 0 24px rgba(255,202,72,.26);
      flex-shrink: 0;
    }

    .vault-hero-fallback {
      width: 76px;
      height: 76px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 30px;
      background: rgba(255,202,72,.15);
      border: 3px solid rgba(255,202,72,.35);
      flex-shrink: 0;
    }

    
    
    
    
    
    
    
    
    
    .manage-link-card {
      margin-bottom: 0;
      padding: 22px 24px;
      border-radius: 26px;
      box-shadow: 0 14px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .manage-link-card.invite {
      background:
        radial-gradient(circle at 90% 10%, rgba(255,202,72,.10), transparent 34%),
        linear-gradient(135deg, rgba(255,107,139,.12), rgba(255,255,255,.035));
      border: 1px solid rgba(255,107,139,.34);
    }

    .manage-link-card.master {
      background:
        radial-gradient(circle at 90% 10%, rgba(134,233,221,.10), transparent 34%),
        linear-gradient(135deg, rgba(125,211,252,.12), rgba(255,255,255,.035));
      border: 1px solid rgba(125,211,252,.34);
    }

    .manage-link-card .link-label {
      margin-bottom: 11px;
      font-size: 11px;
      letter-spacing: .13em;
    }

    .manage-link-card .link-text {
      padding: 11px 12px;
      border-radius: 14px;
      background: rgba(0,0,0,.18);
      border: 1px solid rgba(255,255,255,.09);
      color: rgba(255,255,255,.92);
      font-size: 12px;
      line-height: 1.45;
      margin-bottom: 14px;
    }

    .delete-zone {
      margin-top: 10px;
      padding-top: 22px;
      text-align: center;
    }

    .manage-guest-panel {
      min-height: 250px;
      padding: 26px 24px;
      border-radius: 28px;
      background:
        radial-gradient(circle at 80% 10%, rgba(255,202,72,.08), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.04));
      border: 1px solid rgba(255,255,255,.13);
      box-shadow: 0 18px 50px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .guest-panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
    }

    .guest-panel-title {
      margin: 0;
      color: #fff;
      font-size: 19px;
      font-weight: 950;
      letter-spacing: -.025em;
    }

    .guest-count-badge {
      min-width: 48px;
      justify-content: center;
      display: inline-flex;
      align-items: center;
      padding: 5px 13px;
      border-radius: 999px;
      background: rgba(255,202,72,.13);
      border: 1px solid rgba(255,202,72,.30);
      color: var(--gold);
      font-size: 12px;
      font-weight: 950;
    }

    .guest-scroll {
      max-height: 640px;
      overflow-y: auto;
      padding-right: 4px;
      scrollbar-width: thin;
      scrollbar-color: rgba(255,255,255,.18) transparent;
    }

    .guest-scroll::-webkit-scrollbar { width: 4px; }
    .guest-scroll::-webkit-scrollbar-track { background: transparent; }
    .guest-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 999px; }

    #creatorDashboard .guest-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,.075);
      color: #fff;
      font-weight: 800;
    }

    #creatorDashboard .guest-item img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      object-position: 50% 15%;
      border: 2px solid rgba(255,202,72,.75);
      box-shadow: 0 0 14px rgba(255,202,72,.18);
      flex-shrink: 0;
    }

    #creatorDashboard .guest-empty {
      color: rgba(255,247,255,.58);
      font-weight: 800;
      padding: 18px 0;
      line-height: 1.55;
    }

    @media (max-width: 860px) {
      #creatorDashboard { width: min(720px, calc(100% - 32px)); padding: 24px 20px; }
      .dashboard-cols { grid-template-columns: 1fr; }
      .manage-right { position: static; }
      .guest-scroll { max-height: 360px; }
    }

    @media (max-width: 560px) {
      #creatorDashboard { border-radius: 26px; padding: 22px 18px; }
      .dashboard-detail-header h2 { font-size: 30px; }
            .vault-hero-photo, .vault-hero-fallback { width: 60px; height: 60px; }
            .manage-link-card { padding: 18px; }
      .guest-scroll { max-height: 320px; }
    }

    /* Creator Flow Upgrade — latest UI safe patch */
    .occ-star-img{width:68px;height:68px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 0 14px rgba(255,202,72,.30));transition:transform .22s ease}.occ-card:hover .occ-star-img{transform:scale(1.1) rotate(4deg)}.occ-fallback{display:none;font-size:30px;margin-bottom:8px}
    .celebrant-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(280px,1.1fr);gap:22px;align-items:stretch}.celebrant-upload-card,.celebrant-preview-card{padding:18px;border-radius:24px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10)}.celebrant-upload-card .selfie-upload-zone{min-height:98px;padding:14px}.celebrant-upload-card #suzPreview,.celebrant-upload-card #suzPreview2{width:78px!important;height:78px!important}
    .reveal-example-frame{position:relative;min-height:210px;border-radius:22px;overflow:hidden;background:radial-gradient(circle at 50% 42%,rgba(255,202,72,.22),transparent 23%),linear-gradient(135deg,rgba(123,92,255,.28),rgba(255,107,139,.18)),url('../assets/ref/unboxing-day.webp');background-size:cover;background-position:center;border:1px solid rgba(255,255,255,.13);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 16px 36px rgba(0,0,0,.22)}.reveal-example-frame:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,transparent 22%,rgba(7,4,18,.22) 70%);pointer-events:none}.example-celebrant-dot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:86px;height:86px;border-radius:50%;display:grid;place-items:center;background:rgba(0, 0, 0, 0.25);border:3px solid rgba(255,202,72,.75);color:#fff;font-size:34px;box-shadow:0 0 0 8px rgba(255,202,72,.10),0 0 34px rgba(255,202,72,.36);z-index:2}.example-star{position:absolute;z-index:2;filter:drop-shadow(0 0 12px rgba(255,202,72,.55))}.example-star.s1{left:18%;top:30%}.example-star.s2{right:18%;top:33%}.example-star.s3{left:26%;bottom:20%}.example-star.s4{right:25%;bottom:21%}.preview-caption{margin:12px 0 0;color:var(--muted);font-size:12px;font-weight:600;line-height:1.55}
    .pkg-icon-img{width:46px;height:46px;object-fit:contain;margin-bottom:3px;filter:drop-shadow(0 0 12px rgba(255,202,72,.24))}.package-validity-note,.review-note-card,.review-next-card{margin:0px;padding:14px 16px;border-radius:18px;text-align: center;color:rgba(255,247,255,.76);font-size:12px;font-weight:600;line-height:1.55}.review-next-card{background:rgba(134,233,221,.07);border-color:rgba(134,233,221,.20)}.review-next-card strong,.review-note-card strong{color:#fff}
    .bg-section-title{grid-column:1/-1;margin:10px 0 2px;display:flex;align-items:center;gap:10px;color:var(--gold);font-size:11px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.bg-tier-badge{font-size:9px;font-weight:950;white-space:nowrap;padding:3px 7px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.08);color:rgba(255,247,255,.78)}.bg-tier-basic{color:var(--violet);background:rgba(167,139,255,.12)}.bg-tier-premium{color:var(--gold);background:rgba(255,202,72,.12)}.bg-tier-world{color:var(--aqua);background:rgba(134,233,221,.12)}
     .referral-actions{display:flex;align-items:center;gap:10px;min-width:360px;flex:1;justify-content:flex-end}.vault-list-row{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.vault-list-meta-right{margin-left:auto;text-align:right;display:grid;gap:4px;min-width:170px;color:var(--muted-2);font-size:11px;font-weight:750}.vault-status-pill{justify-self:end;display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;background:rgba(134,233,221,.10);border:1px solid rgba(134,233,221,.22);color:#86e9dd;font-size:11px;font-weight:950;white-space:nowrap}.vault-expiry-line{color:rgba(255,247,255,.86);font-size:11px;font-weight:850}.vault-created-line{color:rgba(255,247,255,.50);font-size:10px;font-weight:700}.vault-expiring{color:var(--gold)!important;background:rgba(255,202,72,.12)!important;border-color:rgba(255,202,72,.28)!important}.vault-expired{color:#ff7d8f!important;background:rgba(255,107,139,.12)!important;border-color:rgba(255,107,139,.30)!important}.vault-legacy{color:rgba(255,247,255,.60)!important;background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.14)!important}.extend-btn{background:linear-gradient(135deg,rgba(255,202,72,.95),rgba(255,143,171,.95));color:#241000}@media(max-width:760px){.referral-actions{min-width:0;width:100%;justify-content:flex-start}.vault-item{align-items:flex-start;flex-wrap:wrap}.vault-list-row{width:100%;align-items:flex-start}.vault-list-meta-right{min-width:100%;margin-left:60px;text-align:left}.vault-status-pill{justify-self:start}}
    .edit-modal-backdrop{
      position:fixed; inset:0; z-index:500;
      display:none;
      /* SCROLL FIX. This was `align-items:center` on a fixed, non-scrolling
         backdrop. When the card is taller than the phone viewport that is the
         classic centred-flex overflow trap: the overflow spills past BOTH ends
         of the container and no scrollbar exists to reach it, so the Save /
         Cancel row at the bottom was simply unreachable in portrait.
         overflow-y:auto + `margin:auto` on the card gives the same centring
         when it fits, and a normal scroll when it does not. */
      overflow-y:auto;
      -webkit-overflow-scrolling:touch;
      overscroll-behavior:contain;
      justify-content:center;
      padding:24px;
      /* Keep the Save button clear of the phone's home indicator / toolbar. */
      padding-bottom:max(24px, env(safe-area-inset-bottom, 0px));
      background:rgba(5,2,15,.76);
      backdrop-filter:blur(10px);
      -webkit-backdrop-filter:blur(10px)
    }
    .edit-modal-backdrop.show{display:flex}
    .edit-modal-card{
      width:min(520px,calc(100vw - 40px));
      margin:auto;              /* centres when short, scrolls when tall */
      flex:0 0 auto;            /* never let flex squash a tall card */
      padding:28px;
      border-radius:30px;
      background:linear-gradient(145deg,rgba(38,20,68,.98),rgba(10,6,28,.98));
      border:1px solid rgba(255,255,255,.16);
      box-shadow:0 36px 100px rgba(0,0,0,.58)
    }
    .edit-lock-note{margin:8px 0 18px;padding:12px 14px;border-radius:16px;background:rgba(255,202,72,.08);border:1px solid rgba(255,202,72,.20);color:var(--muted);font-size:12px;line-height:1.55;font-weight:750}
    @media(max-width:760px){.celebrant-layout{grid-template-columns:1fr}.referral-actions{min-width:100%;justify-content:flex-start}.vault-list-meta-right{margin-left:60px;text-align:left;min-width:0}.vault-item{align-items:flex-start;flex-direction:column}.vault-list-row{width:100%}}

  
    /* ── Manage page refinements ── */
        .manage-link-desc {
      color: rgba(255,247,255,.62);
      font-size: 12px;
      line-height: 1.55;
      font-weight: 600;
      margin: 4px 0 12px;
    }
    .guest-item-main {
      display:flex;
      align-items:center;
      gap:12px;
      min-width:0;
      flex:1;
    }
    .guest-item-copy {
      display:flex;
      flex-direction:column;
      overflow:hidden;
      min-width:0;
      flex:1;
    }
    .guest-remove-btn {
      flex-shrink:0;
      min-height:34px;
      padding:0 12px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(255,255,255,.06);
      color:#fff;
      font-size:11px;
      font-weight:900;
      letter-spacing:.02em;
      cursor:pointer;
      transition:all .18s ease;
    }
    .guest-remove-btn:hover {
      background:rgba(255,107,107,.16);
      border-color:rgba(255,107,107,.35);
      color:#ffd1d1;
      transform:translateY(-1px);
    }
    .confirm-modal-backdrop {
      position:fixed;
      inset:0;
      background:rgba(10,6,24,.72);
      display:none;
      /* Same centred-flex overflow trap as .edit-modal-backdrop — see the note
         there. Short today, but a long confirm body would be just as stuck. */
      overflow-y:auto;
      -webkit-overflow-scrolling:touch;
      overscroll-behavior:contain;
      justify-content:center;
      padding:20px;
      padding-bottom:max(20px, env(safe-area-inset-bottom, 0px));
      z-index:5000;
    }
    .confirm-modal-card { margin:auto; flex:0 0 auto; }
    .confirm-modal-backdrop.show { display:flex; }
    .confirm-modal-card {
      width:min(520px, 100%);
      border-radius:24px;
      padding:24px 24px 20px;
      background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(249,241,252,.95));
      box-shadow:0 28px 80px rgba(0,0,0,.38);
      color:#2b1a35;
    }
    .confirm-modal-kicker {
      font-size:12px;
      text-transform:uppercase;
      letter-spacing:.12em;
      font-weight:900;
      color:#8c4e84;
      margin-bottom:10px;
    }
    .confirm-modal-title {
      font-size:34px;
      line-height:1.05;
      margin:0 0 10px;
      color:#3d2146;
      font-family:"Playfair Display", Georgia, serif;
    }
    .confirm-modal-body {
      font-size:16px;
      line-height:1.7;
      font-weight:700;
      color:#523962;
      white-space:pre-line;
    }
    .confirm-modal-actions {
      display:flex;
      justify-content:flex-end;
      gap:12px;
      margin-top:22px;
      flex-wrap:wrap;
    }
    .confirm-modal-actions .btn {
      min-height:48px;
      padding:0 20px;
      font-size:16px;
    }

  
    /* ── Creator flow UI refinements ── */
    .celebrant-layout{
      grid-template-columns:minmax(0,1fr) minmax(360px,1.15fr);
      align-items:stretch;
    }
    .celebrant-upload-card,
    .celebrant-preview-card{
      min-height:360px;
      display:flex;
      flex-direction:column;
    }
    .celebrant-upload-card .selfie-upload-zone{
      min-height:210px!important;
      flex:1;
      padding:22px!important;
    }
    .celebrant-upload-card #suzPreview,
    .celebrant-upload-card #suzPreview2{
      width:118px!important;
      height:118px!important;
      box-shadow:0 0 0 7px rgba(255,202,72,.13), 0 0 26px rgba(255,202,72,.28);
    }
    .creator-step-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:16px;
      margin-bottom:20px;
    }
    .creator-step-head h2{margin-bottom:0!important;text-align:left!important;}
    .step-credit-badge{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:38px;
      padding:0 16px;
      border-radius:999px;
      background:linear-gradient(135deg,rgba(255,107,139,.92),rgba(255,202,72,.88));
      color:#fff;
      font-size:13px;
      font-weight:950;
      white-space:nowrap;
      box-shadow:0 12px 28px rgba(255,107,139,.22);
    }
    .package-selector{
      align-items:stretch;
    }
    .pkg-label,
    .pkg-card{
      height:100%;
    }
    .pkg-card{
      display:flex;
      flex-direction:column;
      min-height:330px;
    }
    .pkg-body{
      flex:1;
      display:flex;
      flex-direction:column;
    }
    .pkg-features{
      flex:1;
    }
    .pkg-mini-icon{
      width:46px;
      height:46px;
      display:grid;
      place-items:center;
      margin:0 auto 3px;
      border-radius:14px;
      background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.26),transparent 50%),linear-gradient(135deg,rgba(255,202,72,.35),rgba(255,107,139,.25));
      border:1px solid rgba(255,202,72,.24);
      font-size:26px;
      filter:drop-shadow(0 0 14px rgba(255,202,72,.26));
    }
    .credit-cost-bar{
      justify-content:center;
      gap:12px;
      transition:background .2s ease,border-color .2s ease;
    }
    .credit-cost-bar.simple{background:rgba(167,139,255,.08);border-color:rgba(167,139,255,.24);}
    .credit-cost-bar.premium{background:rgba(255,202,72,.08);border-color:rgba(255,202,72,.26);}
    .credit-cost-bar.party{background:rgba(134,233,221,.08);border-color:rgba(134,233,221,.24);}
    .credit-cost-bar.not-enough{background:rgba(255,107,139,.10);border-color:rgba(255,107,139,.32);}
    .credit-main-msg{
      color:rgba(255,247,255,.84);
      font-size:14px;
      font-weight:850;
      line-height:1.4;
    }
    .credit-main-msg strong{font-size:20px;color:var(--gold);}
    .credit-topup-inline{
      min-height:34px;
      padding:0 14px;
      font-size:12px;
      flex-shrink:0;
    }
    .review-layout-grid{
      display:grid;
      grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);
      gap:18px;
      align-items:start;
    }
    .review-details-card,
    .review-guidance-card{
      padding:20px;
      border-radius:22px;
      background:rgba(255,255,255,.045);
      border:1px solid rgba(255,255,255,.10);
    }
    .review-guidance-card{
      background:linear-gradient(135deg,rgba(134,233,221,.075),rgba(255,202,72,.055));
      border-color:rgba(134,233,221,.18);
    }
    .review-mini-title{
      margin:0 0 12px;
      color:#fff;
      font-size:15px;
      font-weight:950;
      letter-spacing:.01em;
    }
    .review-guidance-card ol{
      margin:0;
      padding-left:18px;
      color:rgba(255,247,255,.78);
      font-size:12px;
      line-height:1.7;
      font-weight:600;
    }
    .review-link-explain{
      margin-top:14px;
      padding:14px;
      border-radius:16px;
      background:rgba(0,0,0,.14);
      border:1px solid rgba(255,255,255,.08);
      color:rgba(255,247,255,.75);
      font-size:12px;
      line-height:1.6;
      font-weight:750;
    }
    .review-link-explain strong{color:#fff;}
    .review-lock-note{
      margin-top:14px;
      padding:14px;
      border-radius:16px;
      background:rgba(255,202,72,.08);
      border:1px solid rgba(255,202,72,.20);
      color:rgba(255,247,255,.72);
      font-size:12px;
      line-height:1.58;
      font-weight:600;
    }
    .review-lock-note strong{color:#fff;font-weight:700;}
    @media(max-width:820px){
      .celebrant-layout,.review-layout-grid{grid-template-columns:1fr;}
      .creator-step-head{align-items:flex-start;flex-direction:column;}
      .step-credit-badge{align-self:flex-start;}
    }

  
    /* ── Creator flow refine v2 ── */
    .creator-step-head{
      display:flex!important;
      align-items:flex-end!important;
      justify-content:space-between!important;
      gap:16px!important;
      margin-bottom:20px!important;
    }
    .creator-step-head .wp{margin:0!important;text-align:left!important;}
    .step-credit-badge{
      display:inline-flex!important;
      align-items:center!important;
      justify-content:center!important;
      min-height:38px!important;
      padding:0 16px!important;
      border-radius:999px!important;
      background:linear-gradient(135deg,rgba(255,107,139,.92),rgba(255,202,72,.88))!important;
      color:#fff!important;
      font-size:13px!important;
      font-weight:950!important;
      white-space:nowrap!important;
      box-shadow:0 12px 28px rgba(255,107,139,.22)!important;
      flex-shrink:0!important;
    }
    .celebrant-upload-card,
    .celebrant-preview-card{min-height:380px!important;}
    .celebrant-upload-card .selfie-upload-zone{
      min-height:250px!important;
      padding:24px!important;
    }
    .celebrant-upload-card #suzPreview,
    .celebrant-upload-card #suzPreview2{
      width:148px!important;
      height:148px!important;
      box-shadow:0 0 0 8px rgba(255,202,72,.14),0 0 30px rgba(255,202,72,.32)!important;
    }
    .pkg-card{min-height:350px!important;}
    .pkg-header{min-height:104px!important;}
    .pkg-icon-img{width:80px!important;height:80px!important;object-fit:contain!important;}
    .pkg-mini-icon{font-size:32px!important;color:#fff!important;text-shadow:0 0 14px rgba(255,202,72,.50)!important;}
    .credit-cost-bar.simple{background:rgba(167,139,255,.10)!important;border-color:rgba(167,139,255,.28)!important;}
    .credit-cost-bar.premium{background:rgba(255,202,72,.10)!important;border-color:rgba(255,202,72,.30)!important;}
    .credit-cost-bar.party{background:rgba(134,233,221,.10)!important;border-color:rgba(134,233,221,.30)!important;}
    .credit-cost-bar.not-enough{background:rgba(255,107,139,.12)!important;border-color:rgba(255,107,139,.36)!important;}
    .review-layout-grid{grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr)!important;}
    .review-row.with-state{
      display:grid!important;
      grid-template-columns:110px minmax(0,1fr) auto!important;
      align-items:center!important;
      gap:12px!important;
    }
    .review-state-icon{
      width:28px;
      height:28px;
      display:grid;
      place-items:center;
      border-radius:999px;
      font-size:13px;
      font-weight:950;
      border:1px solid rgba(255,255,255,.12);
      flex-shrink:0;
    }
    .review-state-icon.locked{
      background:rgba(255,202,72,.12);
      color:var(--gold);
      border-color:rgba(255,202,72,.28);
    }
    .review-state-icon.editable{
      background:rgba(134,233,221,.10);
      color:var(--aqua);
      border-color:rgba(134,233,221,.28);
    }
    .review-legend{
      display:flex;
      align-items:center;
      gap:12px;
      flex-wrap:wrap;
      margin-top:12px;
      color:rgba(255,247,255,.62);
      font-size:12px;
      font-weight:600;
    }
    .review-legend span{
      display:inline-flex;
      align-items:center;
      gap:6px;
    }
    .review-link-list{
      display:grid;
      gap:12px;
      margin-top:14px;
    }
    .review-link-card{
      padding:14px;
      border-radius:16px;
      background:rgba(0,0,0,.14);
      border:1px solid rgba(255,255,255,.10);
      color:rgba(255,247,255,.78);
      font-size:12px;
      line-height:1.55;
      font-weight:600;
    }
    .review-link-card strong{color:#fff;}
    @media(max-width:760px){
      .creator-step-head{align-items:flex-start!important;flex-direction:column!important;}
      .review-row.with-state{grid-template-columns:92px minmax(0,1fr) auto!important;}
    }

  
    /* ── Manage layout refinement ── */
                                                        .manage-date-main{
      display:block;
      font-size:15px;
      font-weight:950;
      color:#fff;
      margin-top:2px;
    }
                        @media(max-width:980px){
                }
    @media(max-width:620px){
                            }

  
    /* ── Manage layout v2: follows left-stack + right guest list sketch ── */
    #vaultInfoPanel{width:100%;min-width:0;}
    .manage-layout-stack{
      display:flex;
      flex-direction:column;
      gap:14px;
      width:100%;
      min-width:0;
    }
    .manage-wide-card{
      border-radius:26px;
      background:rgba(255,255,255,.055);
      border:1px solid rgba(255,255,255,.12);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 34px rgba(0,0,0,.16);
      padding:18px;
      position:relative;
      min-width:0;
    }
    .manage-hero-wide{
      display:flex;
      align-items:center;
      gap:18px;
      min-height:142px;
      padding-right:180px;
    }
    .manage-hero-wide .vault-hero-photo,
    .manage-hero-wide .vault-hero-fallback{
      width:86px;
      height:86px;
      flex-shrink:0;
    }
        .manage-hero-name{
      color:#fff;
      font-size:26px;
      line-height:1.08;
      font-weight:950;
      letter-spacing:-.03em;
      margin:0 0 8px;
    }
    .manage-hero-title{
      color:var(--gold);
      font-size:15px;
      line-height:1.35;
      font-weight:900;
      margin-bottom:10px;
    }
            .manage-mini-block{
      min-height:106px;
      border-radius:20px;
      background:rgba(0,0,0,.12);
      border:1px solid rgba(255,255,255,.09);
      padding:16px;
      display:flex;
      flex-direction:column;
      justify-content:center;
    }
    .manage-mini-label{
      display:flex;
      align-items:center;
      gap:7px;
      color:rgba(255,247,255,.56);
      font-size:10px;
      font-weight:950;
      letter-spacing:.12em;
      text-transform:uppercase;
      margin-bottom:9px;
    }
    .manage-lock-dot{
      width:21px;
      height:21px;
      display:inline-grid;
      place-items:center;
      border-radius:999px;
      background:rgba(255,202,72,.11);
      border:1px solid rgba(255,202,72,.25);
      color:var(--gold);
      font-size:10px;
      line-height:1;
      flex-shrink:0;
    }
    .manage-mini-value{
      color:#fff;
      font-size:17px;
      line-height:1.2;
      font-weight:950;
      word-break:break-word;
    }
    .manage-validity-action{
      display:flex;
      justify-content:flex-end;
      margin-top:10px;
    }
    .manage-validity-action .btn{
      min-height:42px!important;
      padding:0 18px!important;
      font-size:13px!important;
    }
        .manage-link-card{
      width:100%;
      max-width:none;
    }
    .manage-guest-panel{
      height:100%;
      min-height:620px;
    }
    @media(max-width:860px){
      .manage-hero-wide{padding-right:18px;padding-bottom:72px;}
            .manage-guest-panel{min-height:360px;}
    }

  
    /* ── Manage layout v3 adjustments ── */
    .manage-hero-wide{
      display:grid!important;
      grid-template-columns:96px minmax(0,1fr) minmax(0,1fr)!important;
      align-items:center!important;
      gap:18px!important;
      padding:22px!important;
      min-height:150px!important;
    }
    .manage-hero-wide .vault-hero-photo,
    .manage-hero-wide .vault-hero-fallback{
      width:88px!important;
      height:88px!important;
      grid-row:1 / span 2;
    }
            .manage-hero-name{
      font-size:24px!important;
      margin:0!important;
      word-break:break-word;
    }
    .manage-hero-title{
      font-size:16px!important;
      margin:0!important;
      word-break:break-word;
    }
                .manage-countdown-inline{
      color:var(--aqua)!important;
      font-size:21px!important;
      font-weight:950!important;
      line-height:1.1!important;
      white-space:normal!important;
      background:transparent!important;
      border:0!important;
      padding:0!important;
      border-radius:0!important;
      display:block!important;
    }
    .manage-countdown-inline.expired{color:#ff6b6b!important;}
    .manage-countdown-inline.soon{color:var(--gold)!important;}
    @media(max-width:860px){
      .manage-hero-wide{grid-template-columns:86px 1fr!important;}
                      }

  
    /* ── Manage layout v4: match requested wireframe ── */
    .manage-hero-wide{
      display:grid!important;
      grid-template-columns:150px minmax(0,1fr)!important;
      align-items:center!important;
      gap:24px!important;
      padding:24px 30px!important;
      min-height:150px!important;
    }
    .manage-hero-wide .vault-hero-photo,
    .manage-hero-wide .vault-hero-fallback{
      width:92px!important;
      height:92px!important;
      justify-self:center!important;
      grid-row:auto!important;
    }
    .manage-hero-text-stack{
      min-width:0;
      display:grid;
      gap:18px;
      align-content:center;
    }
    .manage-hero-name{
      font-size:24px!important;
      margin:0!important;
      word-break:break-word;
      line-height:1.15!important;
    }
    .manage-hero-title{
      font-size:18px!important;
      margin:0!important;
      word-break:break-word;
      color:#fff!important;
      line-height:1.35!important;
      font-weight:850!important;
    }
                .manage-edit-below{
      display:flex;
      justify-content:flex-end;
      margin-top:12px;
    }
    .manage-edit-below .btn{
      min-height:42px!important;
      padding:0 18px!important;
      font-size:13px!important;
      white-space:nowrap;
    }
    @media(max-width:620px){
      .manage-hero-wide{grid-template-columns:90px 1fr!important;padding:20px!important;}
            .manage-edit-below{justify-content:stretch;}
      .manage-edit-below .btn{width:100%;}
    }

/* ============================================================
   Manage page polish update
   - Softer typography
   - Celebrant details split into photo + name/title rows
   - Setup/date blocks become individual cards without outer wrap border
   ============================================================ */
#creatorDashboard .dashboard-cols{
  align-items: stretch;
}

#creatorDashboard .dashboard-col-left{
  min-width: 0;
}

#creatorDashboard .manage-layout-stack{
  gap: 16px !important;
}

#creatorDashboard .manage-wide-card{
  background: rgba(255,255,255,.048) !important;
  border: 1px solid rgba(255,255,255,.105) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 10px 26px rgba(0,0,0,.12) !important;
}

#creatorDashboard .manage-hero-wide{
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: center !important;
  padding: 24px 28px !important;
  min-height: 158px !important;
}

#creatorDashboard .manage-hero-wide .vault-hero-photo,
#creatorDashboard .manage-hero-wide .vault-hero-fallback{
  width: 94px !important;
  height: 94px !important;
  justify-self: center !important;
}

#creatorDashboard .manage-hero-text-stack{
  display: grid !important;
  grid-template-rows: auto auto !important;
  gap: 16px !important;
  align-content: center !important;
  min-width: 0 !important;
}

#creatorDashboard .manage-detail-row{
  min-width: 0;
}

#creatorDashboard .manage-detail-label{
  display: block;
  color: rgba(255,247,255,.50);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

#creatorDashboard .manage-hero-name{
  color: #fff;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -.01em !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
}

#creatorDashboard .manage-hero-title{
  color: rgba(255,247,255,.90) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
}

#creatorDashboard .manage-clean-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

#creatorDashboard .manage-clean-grid .manage-mini-block{
  min-height: 100px !important;
  padding: 18px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.048) !important;
  border: 1px solid rgba(255,255,255,.105) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 10px 24px rgba(0,0,0,.11) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

#creatorDashboard .manage-mini-label{
  color: rgba(255,247,255,.50) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  line-height: 1.2 !important;
}

#creatorDashboard .manage-mini-value{
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  line-height: 1.24 !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
}

#creatorDashboard .manage-lock-dot{
  width: 18px !important;
  height: 18px !important;
  font-size: 9px !important;
  opacity: .82 !important;
}

#creatorDashboard .manage-edit-below,
#creatorDashboard .manage-validity-action{
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: -4px !important;
}

#creatorDashboard .manage-edit-below .btn,
#creatorDashboard .manage-validity-action .btn{
  min-height: 40px !important;
  padding: 0 17px !important;
  font-size: 13px !important;
  font-weight: 760 !important;
}

#creatorDashboard .manage-countdown-inline{
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--aqua) !important;
  font-size: 24px !important;
  font-weight: 760 !important;
  line-height: 1.05 !important;
  box-shadow: none !important;
}

#creatorDashboard .manage-countdown-inline.soon{ color: var(--gold) !important; }
#creatorDashboard .manage-countdown-inline.expired{ color: #ff6b6b !important; }

#creatorDashboard .dashboard-detail-header p,
#creatorDashboard .manage-link-desc,
#creatorDashboard .guest-item span,
#creatorDashboard .guest-empty{
  font-weight: 600 !important;
}

#creatorDashboard .guest-panel-title,
#creatorDashboard .link-label{
  font-weight: 800 !important;
  letter-spacing: .10em !important;
}

#creatorDashboard .link-text{
  font-weight: 680 !important;
}

#creatorDashboard .btn{
  font-weight: 780 !important;
}

@media (max-width: 860px){
  #creatorDashboard .manage-hero-wide{
    grid-template-columns: 92px minmax(0,1fr) !important;
    padding: 20px !important;
  }

  #creatorDashboard .manage-clean-grid{
    grid-template-columns: 1fr !important;
  }

  #creatorDashboard .manage-edit-below,
  #creatorDashboard .manage-validity-action{
    justify-content: stretch !important;
  }

  #creatorDashboard .manage-edit-below .btn,
  #creatorDashboard .manage-validity-action .btn{
    width: 100% !important;
  }
}

#confirmModalCancel {
  color: #5b3564 !important;
  background: rgba(91, 53, 100, 0.08) !important;
  border: 1px solid rgba(91, 53, 100, 0.18) !important;
  box-shadow: none !important;
}

#confirmModalCancel:hover {
  color: #3d2146 !important;
  background: rgba(91, 53, 100, 0.14) !important;
  border-color: rgba(91, 53, 100, 0.28) !important;
}

/* ============================================================================
   CREATE-FLOW UI ENHANCEMENTS  (v=php2)
   Appended last so these win the cascade. Scoped to the create wizard.
   Steps: 2 Celebrant · 3 Package · 4 Scene · 5 Review
   ========================================================================== */

/* ── STEP 2: Celebrant — focus glow, upload zone, quick-picks ───────────── */
.wizard-step .field:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(255,202,72,.18), 0 8px 26px rgba(255,202,72,.12) !important;
}
.selfie-upload-zone {
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.selfie-upload-zone:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.selfie-upload-zone.dragover {
  border-color: var(--gold) !important;
  background: rgba(255,202,72,.08) !important;
  box-shadow: 0 0 0 3px rgba(255,202,72,.20);
}
.quick-picks button,
.quick-picks .quick-pick {
  transition: transform .15s, border-color .2s, background .2s, color .2s;
}
.quick-picks button:hover,
.quick-picks .quick-pick:hover { transform: translateY(-1px); }
.quick-picks button.active,
.quick-picks .quick-pick.active,
.quick-picks button[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(123,92,255,.30), rgba(255,107,139,.22)) !important;
  border-color: rgba(255,107,139,.55) !important;
  color: #fff !important;
}

/* ── STEP 3: Package cards — richer hover/selected, glowing icons ────────── */
.pkg-card {
  transition: border-color .22s, transform .22s, box-shadow .22s, background .22s !important;
}
.pkg-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.34) !important;
  border-color: rgba(255,202,72,.42) !important;
}
.pkg-label input[type="radio"]:checked + .pkg-card {
  border-color: var(--coral) !important;
  box-shadow: 0 0 0 3px rgba(255,107,139,.26), 0 20px 52px rgba(255,107,139,.20) !important;
  transform: translateY(-5px) !important;
  background: linear-gradient(180deg, rgba(255,107,139,.10), rgba(255,255,255,.045)) !important;
}
/* Unify all three package icons (PNG + emoji fallback) to one size + glow. */
.pkg-icon-img,
.pkg-party .pkg-icon-img {
  width: 80px !important; height: 80px !important; object-fit: contain !important;
  margin-bottom: 4px !important;
  filter: drop-shadow(0 0 14px rgba(255,202,72,.30)) !important;
  border-radius:12px;
}
.pkg-mini-icon,
.pkg-emoji {
  font-size: 44px !important; line-height: 1 !important;
  filter: drop-shadow(0 0 14px rgba(255,202,72,.40));
}
/* Lift the "Most Popular" (premium) card a touch above its siblings. */
.pkg-label input[type="radio"][value="premium"] + .pkg-card {
  border-color: rgba(167,139,255,.40);
}
.pkg-badge {
  letter-spacing: .02em;
}

/* ── STEP 4: Scene cards — taller thumbnails, clearer selection ──────────── */
.bg-item-thumb {
  height: 132px !important;
}
.bg-item-card {
  transition: border-color .2s, transform .2s, box-shadow .2s !important;
}
.bg-item-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.30) !important;
}
.bg-item-label input:checked + .bg-item-card {
  border-color: var(--coral) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 0 0 3px rgba(255,107,139,.28), 0 18px 44px rgba(255,107,139,.18) !important;
}
.bg-recommended {
  background: rgba(255,202,72,.16);
  padding: 2px 8px; border-radius: 999px;
  font-size: 9px !important; letter-spacing: .02em;
}
@media (max-width: 540px) {
  .bg-item-thumb { height: 108px !important; }
}

/* ── STEP 5: Review — kill the double-wrap (flatten outer card) ──────────── */
.wizard-step #reviewCard.review-card {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.review-details-card,
.review-guidance-card {
  padding: 22px !important;
  border-radius: 22px !important;
}
.review-mini-title {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.review-link-card {
  transition: border-color .2s, background .2s;
}
.review-link-card:hover {
  border-color: rgba(134,233,221,.34);
  background: rgba(134,233,221,.06);
}

/* ============================================================================
   RESPONSIVE FIXES (v=php2b) — appended last to win the cascade.
   Fixes: (1) review 2-column overlapping on mobile,
          (2) scene grid overflowing the container on narrow phones.
   ========================================================================== */
@media (max-width: 820px) {
  /* The polish block forces review to 2 columns with !important and no media
     guard, which overlaps on phones. Force a single column here. */
  .review-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}
@media (max-width: 640px) {
  /* Scene thumbnails: drop to 2 columns cleanly, no min-width overflow. */
  .bg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .bg-item-thumb { height: 116px !important; }
}
@media (max-width: 440px) {
  /* Very narrow phones: a single column so nothing gets clipped. */
  .bg-grid { grid-template-columns: 1fr !important; }
  .bg-item-thumb { height: 150px !important; }
}
/* Stop the package/review rows from forcing widths wider than the viewport. */
@media (max-width: 820px) {
  .review-row.with-state {
    grid-template-columns: 96px minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }
  .review-details-card,
  .review-guidance-card { padding: 18px !important; }
}

/* Stepper: prevent edge labels (Occasion / Background) from being clipped on
   narrow phones. Center, allow scroll, and shrink the per-step footprint. */
@media (max-width: 560px) {
  .wizard-progress {
    justify-content: flex-start !important;
    padding: 0 4px 4px !important;
    -webkit-overflow-scrolling: touch;
  }
  .wp-step { min-width: 46px !important; }
  .wp-step-dot { width: 28px !important; height: 28px !important; font-size: 12px !important; }
  .wp-step span { font-size: 9px !important; }
  .wp-step-line { min-width: 10px !important; margin: 0 2px 18px !important; }
}

/* ============================================================================
   CREATE-FLOW REFINEMENTS (v=php2c)
   Balance above stepper · review icons · link-card icons · button spacing
   ========================================================================== */

/* Single balance badge above the stepper; hide the per-step ones. */
.wizard-balance-row {
  display: flex; justify-content: flex-end;
  margin: 0 0 12px; padding: 0 2px;
}
.wizard-balance-row .step-credit-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.creator-step-head .step-credit-badge { display: none !important; }

/* Language switch belongs on the dashboard, not inside the create flow. */
body.in-create-flow .auth-navbar .lang-switch { display: none !important; }

/* Review state icons: SVGs centre cleanly in the circle (emoji did not). */
.review-state-icon {
  width: 24px !important; height: 24px !important;
  display: inline-flex !important;
  align-items: center !important; justify-content: center !important;
  line-height: 0 !important; padding: 0 !important;
}
.review-state-icon svg { display: block; margin: 0 auto; }

/* Link cards: PNG icon left, text right. */
.review-link-card {
  display: flex !important; align-items: center; gap: 14px;
}
.review-link-img {
  flex-shrink: 0; width: 46px; height: 46px; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(255,202,72,.28));
}
.review-link-text { flex: 1; min-width: 0; }
.review-link-text strong { color: #fff; }

/* Breathing room above the Create button. */
#createVaultBtn { margin-top: 26px !important; }

/* ============================================================================
   REVIEW REFINEMENTS (v=php2f)
   Legend 3-in-a-row with smaller icons · lock-note now lives in left column.
   ========================================================================== */
.review-legend {
  flex-wrap: nowrap !important;
  gap: 8px !important;
  font-size: 10.5px !important;
  justify-content: space-between;
}
.review-legend span { gap: 5px !important; white-space: nowrap; }
.review-legend .review-state-icon {
  width: 22px !important; height: 22px !important;
}
.review-legend .review-state-icon svg { width: 11px; height: 11px; }
@media (max-width: 420px) {
  .review-legend { font-size: 9.5px !important; gap: 6px !important; }
  .review-legend .review-state-icon { width: 20px !important; height: 20px !important; }
}

/* Right column now wraps the guidance card + the 30-day note stacked below it. */
.review-guidance-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================================================
   REVIEW + PACKAGE REFINEMENTS (v=php2h)
   Icons moved to FRONT of each row · values wrap · package features centred.
   ========================================================================== */

/* Row layout is now [icon] [label] [value] — icon first, never clipped. */
.review-row.with-state {
  display: grid !important;
  grid-template-columns: 30px 84px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
}
.review-row.with-state .rr-label { width: auto !important; }
/* Long names/titles wrap onto multiple lines inside the value cell. */
.review-row .rr-value {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.review-state-icon { margin: 0 !important; }

@media (max-width: 480px) {
  .review-row.with-state {
    grid-template-columns: 26px 70px minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  .review-row .rr-label { font-size: 11px !important; }
  .review-row .rr-value { font-size: 13px !important; }
}

/* Package cards: centre the feature list on mobile (single-column stack). */
@media (max-width: 580px) {
  .pkg-features {
    display: block !important;
    text-align: center !important;
    padding-left: 0 !important;
  }
  .pkg-features li {
    display: block !important;
    text-align: left !important;
    padding-left: 16px !important;
    margin: 12px 0 !important;
  }
  .pkg-body { text-align: center !important; }
}

/* ============================================================================
   INSTALL-APP BANNER (v=php2i)
   Prompts the host to add BlissPOP to their home screen.
   ========================================================================== */
.install-banner {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px; padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(123,92,255,.18), rgba(255,107,139,.12));
  border: 1px solid rgba(167,139,255,.32);
  box-shadow: 0 10px 30px rgba(123,92,255,.14);
}
.install-banner.hidden { display: none !important; }
.install-banner-icon img {
  width: 46px; height: 46px; border-radius: 12px; display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,.30);
}
.install-banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.install-banner-text strong { color: #fff; font-size: 14px; font-weight: 850; }
.install-banner-text span { color: var(--muted-2); font-size: 12px; font-weight: 650; line-height: 1.45; }
.install-banner-text b { color: #fff; }
.install-banner-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.install-banner .btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.install-banner #installDismissBtn,
.install-banner #iosDismissBtn {
  width: 36px; padding: 0; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 560px) {
  .install-banner { flex-wrap: wrap; }
  .install-banner-text { flex-basis: calc(100% - 60px); }
  .install-banner-actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================================
   NOTIFICATIONS — bell, unread dot, dropdown panel, toggle (v=php2j)
   ========================================================================== */
.notif-bell-wrap { position: relative; display: inline-flex; }
/* Lift the topbar (holds the notif dropdown) above sibling .panel>* cards
   (install banner, referral card, stats, vault list) which are all z-index:1.
   Without this the notif panel is trapped under later-DOM siblings. */
#myVaultsSection > .dashboard-topbar { z-index: 40; }
.notif-bell { position: relative; }
.notif-dot {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 900; line-height: 18px; text-align: center;
  box-shadow: 0 2px 8px rgba(255,107,139,.5);
}
.notif-dot.hidden { display: none !important; }

.notif-panel {
  position: absolute; top: 46px; right: 0; z-index: 60;
  width: 320px; max-width: 86vw;
  background: rgba(24, 15, 46, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  overflow: hidden;
}
.notif-panel.hidden { display: none !important; }
.notif-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.notif-panel-head strong { font-size: 14px; color: #fff; }
.notif-panel-head-actions { display: flex; align-items: center; gap: 10px; }
.notif-readall {
  background: none; border: none; color: var(--violet, #a78bff);
  font-size: 12px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.notif-readall:hover { text-decoration: underline; }

/* iOS-style toggle for on/off */
.notif-toggle { position: relative; display: inline-block; width: 36px; height: 20px; cursor: pointer; }
.notif-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.notif-toggle span {
  position: absolute; inset: 0; border-radius: 999px;
  background: rgba(255,255,255,.18); transition: background .2s;
}
.notif-toggle span::before {
  content: ""; position: absolute; left: 2px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: transform .2s;
}
.notif-toggle input:checked + span { background: var(--green, #48d597); }
.notif-toggle input:checked + span::before { transform: translateX(16px); }

.notif-list {
  max-height: 360px; overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(160,160,180,.45) transparent;
}
.notif-list::-webkit-scrollbar { width: 8px; }
.notif-list::-webkit-scrollbar-track { background: transparent; }
.notif-list::-webkit-scrollbar-thumb {
  background: rgba(160,160,180,.45);
  border-radius: 8px;
}
.notif-list::-webkit-scrollbar-thumb:hover { background: rgba(160,160,180,.62); }
.notif-empty { padding: 24px 16px; text-align: center; color: var(--muted-2); font-size: 13px; }
.notif-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer; transition: background .15s;
}
.notif-item:hover { background: rgba(255,255,255,.04); }
.notif-item.unread { background: rgba(123,92,255,.10); }
.notif-item-icon { font-size: 18px; line-height: 1.2; flex-shrink: 0; }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-msg { font-size: 13px; color: #fff; font-weight: 650; line-height: 1.4; }
.notif-item-time { font-size: 11px; color: var(--muted-2); font-weight: 700; margin-top: 3px; }
.notif-item-unreaddot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex-shrink: 0; margin-top: 5px; }

/* Red dot/count on a vault card in the list */
.vault-notif-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px;
  border-radius: 999px; background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 900; vertical-align: middle;
}

@media (max-width: 600px) {
  /* Mobile: fixed top sheet so the panel never clips off-screen */
  .notif-panel {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    max-height: 72vh;
    z-index: 200;
  }
  .notif-list { max-height: calc(72vh - 58px); }
}

/* ============================================================================
   DASHBOARD REFERRAL + FOOTER + VAULT PHOTO FIX (v=creator-ui-20260619-v6)
   ========================================================================== */
.referral-dashboard-card.referral-collapsible {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, rgba(255,202,72,.10), rgba(255,107,139,.07)) !important;
  border: 1px solid rgba(255,202,72,.22) !important;
  overflow: hidden;
}
.referral-toggle-btn {
  width: 100%;
  min-height: 74px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.referral-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(255,202,72,.28));
}
.referral-toggle-copy { min-width: 0; display: grid; gap: 4px; }
.referral-toggle-copy strong { color: #fff; font-size: 15px; font-weight: 950; }
.referral-toggle-copy small { color: var(--muted-2); font-size: 12px; font-weight: 700; line-height: 1.35; }
.referral-toggle-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  font-weight: 950;
  color: rgba(255,247,255,.86);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  transform: translateZ(0);
}
.referral-collapsible.is-open .referral-toggle-arrow { transform: rotate(180deg); }
.referral-content {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px 18px 66px;
}
.referral-collapsible.is-open .referral-content { display: flex; }
.referral-desc {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 420px;
}
.referral-link-text {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,247,255,.76);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.referral-icon-btn,
.referral-content .btn {
  min-height: 40px !important;
  width: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  flex-shrink: 0;
}

.dashboard-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.dashboard-stat-card {
  min-height: 80px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  display: grid;
  align-content: center;
  gap: 6px;
}
.dashboard-stat-card span,
.dashboard-stat-label {
  color: rgba(255,247,255,.55);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dashboard-stat-card strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}
.dashboard-stat-card.next strong { color: var(--aqua); font-size: 16px; line-height: 1.25; }

#myVaultsList .vault-item {
  overflow: hidden;
}
#myVaultsList .vault-list-row > img,
#myVaultsList .vault-thumb {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  object-position: 50% 15% !important;
  border: 2px solid rgba(255,202,72,.70) !important;
  box-shadow: 0 0 0 4px rgba(255,202,72,.08), 0 10px 22px rgba(0,0,0,.24) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.dashboard-utility-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  color: rgba(255,247,255,.55);
}
.dashboard-footer-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(255,247,255,.58);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.dashboard-footer-link:hover { color: var(--gold); }
.dashboard-footer-rights {
  flex-basis: 100%;
  text-align: center;
  margin-top: 2px;
  color: rgba(255,247,255,.42);
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .referral-content {
    padding: 0 16px 16px;
    align-items: stretch;
    flex-direction: column;
  }
  .referral-actions {
    width: 100%;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }
  .dashboard-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .referral-toggle-btn { grid-template-columns: auto minmax(0, 1fr) 38px; padding: 14px; }
  .referral-toggle-arrow { width: 38px; height: 38px; }
  .dashboard-stats-row { grid-template-columns: 1fr; }
  #myVaultsList .vault-list-row > img,
  #myVaultsList .vault-thumb { width: 52px !important; height: 52px !important; min-width: 52px !important; max-width: 52px !important; }
}

/* ==========================================================================
   CREATOR UI FIX v7 — referral arrow, vault badges, manage progress, lock icon
   ========================================================================== */
/* Dashboard referral arrow: draw a CSS chevron so it sits perfectly centered. */
.referral-toggle-arrow{
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-align: center !important;
}
.referral-toggle-arrow::before{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,247,255,.88);
  border-bottom: 2px solid rgba(255,247,255,.88);
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
}
.referral-collapsible.is-open .referral-toggle-arrow{
  transform: rotate(180deg) !important;
}

/* Next Action: keep it on one row. */
.dashboard-stat-card.next strong,
#statNextAction{
  font-size: 13px !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  letter-spacing: -.02em !important;
}

/* Vault list badges — restore pill styling for package and reveal status. */
#myVaultsList .vault-subline{
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: wrap !important;
  margin-top: 6px !important;
  color: rgba(255,247,255,.58) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}
#myVaultsList .vault-package-mini,
#myVaultsList .vault-reveal-mini,
#myVaultsList .vault-created-inline{
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
#myVaultsList .vault-package-mini{
  color: #fff7ff !important;
  background: rgba(167,139,255,.18) !important;
  border: 1px solid rgba(167,139,255,.26) !important;
}
#myVaultsList .vault-reveal-mini.reveal-locked{
  color: var(--gold) !important;
  background: rgba(255,202,72,.14) !important;
  border: 1px solid rgba(255,202,72,.30) !important;
}
#myVaultsList .vault-reveal-mini.reveal-live{
  color: #7ff0bb !important;
  background: rgba(72,213,151,.16) !important;
  border: 1px solid rgba(72,213,151,.30) !important;
}
#myVaultsList .vault-created-inline{
  color: rgba(255,247,255,.56) !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

/* Dashboard footer install link: no icon styling needed. */
#installShortcutBtn{
  padding-left: 0 !important;
}

/* Manage guest progress bar. */
.guest-progress-wrap{
  margin: 10px 0 16px !important;
}
.guest-progress-track{
  width: 100%;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.10);
}
.guest-progress-track span{
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  box-shadow: 0 0 18px rgba(255,202,72,.28);
  transition: width .28s ease;
}
.guest-progress-text{
  margin-top: 7px;
  color: rgba(255,247,255,.56);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

/* Manage details column / guest panel height: restore a balanced desktop layout. */
#creatorDashboard .dashboard-cols{
  align-items: stretch !important;
}
#creatorDashboard .dashboard-col-left,
#creatorDashboard .dashboard-col-right{
  min-width: 0 !important;
}
#creatorDashboard .manage-guest-panel{
  height: 100% !important;
  min-height: 560px !important;
}
#creatorDashboard .manage-layout-stack{
  min-height: 100% !important;
}
@media (max-width: 820px){
  #creatorDashboard .manage-guest-panel{
    height: auto !important;
    min-height: 360px !important;
  }
}

/* ==========================================================================
   PartyPOP dual-PIN setup
   ========================================================================== */
.party-pin-setup {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(255,202,72,.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(255,202,72,.10), transparent 34%),
    rgba(255,255,255,.035);
}
.party-pin-setup.hidden,
.edit-party-pin-section.hidden {
  display: none !important;
}
.party-pin-setup-head,
.edit-party-pin-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.party-pin-setup-head img,
.edit-party-pin-head img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 22px rgba(255,202,72,.20));
}
.party-pin-setup-head strong,
.edit-party-pin-head strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}
.party-pin-setup-head span,
.edit-party-pin-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.party-pin-fields,
.edit-party-pin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
/* Below ~420px each column is only ~109px wide — enough for the 4 spaced
   digits but not for the placeholder or the two-line label above it. Stack. */
@media (max-width: 420px) {
  .party-pin-fields,
  .edit-party-pin-grid { grid-template-columns: 1fr; }
}
.party-pin-fields .input-wrap,
.edit-party-pin-grid .input-wrap {
  margin: 0;
}
.party-pin-fields label,
.edit-party-pin-grid label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.party-pin-fields label span {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.party-pin-field {
  text-align: center;
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: .28em;
  padding-left: calc(14px + .28em) !important;
}
/* The 21px/900/.28em treatment above is tuned for FOUR DIGITS. The placeholder
   is "Keep current PIN" — 16 characters — and at that size and tracking it ran
   to roughly 300px inside a ~209px grid column, so it was clipped mid-word
   ("K e e p   c u r r e"). The pseudo-element gets normal typography; typed
   digits keep the wide-spaced PIN look because this only targets ::placeholder. */
.party-pin-field::placeholder {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  opacity: .55;
}
.party-pin-field::-webkit-input-placeholder {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}
.party-pin-fields p,
.edit-party-pin-note {
  margin: 7px 0 0;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}
.edit-party-pin-section {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,202,72,.20);
  background: rgba(255,202,72,.045);
}
.edit-party-pin-head {
  margin-bottom: 13px;
}
.edit-party-pin-head img {
  width: 42px;
  height: 42px;
}
.review-pin-value {
  color: var(--gold) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: .16em;
  font-weight: 950 !important;
}
.manage-pin-note {
  margin: 10px 0 12px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,202,72,.20);
  background: rgba(255,202,72,.065);
  color: rgba(255,247,255,.75);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}
.manage-pin-note strong {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}

@media (max-width: 620px) {
  .party-pin-fields,
  .edit-party-pin-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Celebrant photo step — compact shared upload panel and reveal preview
   ========================================================================== */
.celebrant-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important;
  align-items: stretch !important;
}

.celebrant-upload-card,
.celebrant-preview-card {
  min-height: 0 !important;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  box-sizing: border-box;
}

.celebrant-package-note {
  display: flex !important;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  text-align: left;
}

.celebrant-photo-grid {
  flex: none;
  min-height: 0;
  /*padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.035);*/
}

.celebrant-photo-field {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.celebrant-photo-label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.celebrant-photo-label > span:first-child {
  text-align: left;
}

.celebrant-photo-label .photo-requirement {
  margin-left: auto;
}

/* SimplePOP keeps one comfortably sized upload area. */
.celebrant-photo-grid.single-photo .celebrant-photo-field {
  min-height: 0 !important;
  height: auto;
}

.celebrant-photo-grid.single-photo .selfie-upload-zone {
  min-height: 220px !important;
  height: 220px;
  flex: none;
}

/* PremiumPOP / PartyPOP: two upload areas inside one shared outer panel. */
.celebrant-photo-grid:not(.single-photo) {
  align-content: start;
  align-items: stretch;
}

.celebrant-photo-grid:not(.single-photo) .selfie-upload-zone {
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
  flex: none;
  padding: 14px !important;
}

.celebrant-photo-grid .suz-placeholder {
  width: 100%;
  text-align: center;
  align-items: center;
}

.celebrant-photo-grid .photo-field-tip {
  min-height: 34px;
  margin-top: 12px;
  text-align: center;
}

/* Keep the example useful without making the whole section excessively tall. */
.celebrant-preview-card .reveal-example-frame {
  min-height: 0 !important;
  height: clamp(220px, 22vw, 270px);
  flex: none;
}

.celebrant-preview-card .preview-caption {
  flex: 0 0 auto;
}

.celebrant-preview-card .example-celebrant-dot {
  width: 108px;
  height: 108px;
}

@media (max-width: 820px) {
  .celebrant-layout {
    grid-template-columns: 1fr !important;
  }

  .celebrant-upload-card,
  .celebrant-preview-card {
    min-height: auto !important;
  }

  .celebrant-photo-grid.single-photo .selfie-upload-zone {
    min-height: 240px !important;
    height: 240px;
  }

  .celebrant-preview-card .reveal-example-frame {
    min-height: 250px !important;
    height: 280px;
    flex: none;
  }
}

@media (max-width: 520px) {
  .celebrant-photo-grid {
    grid-template-columns: 1fr !important;
  }

  .celebrant-photo-grid:not(.single-photo) .selfie-upload-zone {
    max-height: none;
  }

  .celebrant-preview-card .reveal-example-frame {
    min-height: 230px !important;
    height: 250px;
  }

  .celebrant-preview-card .example-celebrant-dot {
    width: 96px;
    height: 96px;
  }
}

/* Final reveal locked icon image. */
.reveal-lock-emoji{
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  font-size: 38px;
  line-height: 1;
}
.reveal-lock-emoji img{
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(255,202,72,.20));
}

/* ============================================================================
   CREATOR UI FIX v8 — built from v7 base
   ========================================================================== */
/* Referral arrow: center the chevron inside the circular button without rotating the whole circle. */
#creatorDashboard .referral-toggle-arrow,
.referral-toggle-arrow{
  position: relative !important;
  display: block !important;
  width: 35px !important;
  height: 35px !important;
  min-width: 35px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transform: none !important;
}
#creatorDashboard .referral-toggle-arrow::before,
.referral-toggle-arrow::before{
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid rgba(255,247,255,.88) !important;
  border-bottom: 2px solid rgba(255,247,255,.88) !important;
  transform: translate(-50%, -62%) rotate(45deg) !important;
  transform-origin: center !important;
}
#creatorDashboard .referral-collapsible.is-open .referral-toggle-arrow,
.referral-collapsible.is-open .referral-toggle-arrow{
  transform: none !important;
}
#creatorDashboard .referral-collapsible.is-open .referral-toggle-arrow::before,
.referral-collapsible.is-open .referral-toggle-arrow::before{
  transform: translate(-50%, -38%) rotate(225deg) !important;
}

/* Next Action: keep the label short and single-line. */
#statNextAction{
  white-space: nowrap !important;
  font-size: 16px !important;
  line-height: 1.05 !important;
}

/* User requested height adjustment. */
#creatorDashboard .manage-clean-grid .manage-mini-block{
  min-height: 100px !important;
}


/* ===== Revised UI: hero gradient title + 2-row auth note ===== */
.auth-story h1 .hero-grad{
  background: linear-gradient(100deg,#ff8fb1 0%,#ffd77a 36%,#a78bff 70%,#7bd3ff 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  font-weight:inherit;
}
.auth-note .auth-note-star{
  display:block;
  color:#ffd77a;
  font-weight:850;
  letter-spacing:.01em;
  margin-bottom:4px;
}
.auth-note{ text-align:center; }

/* full benefit icon (no box wrap), rounded corners */
.auth-benefit-ic{
  width:46px;
  height:46px;
  flex-shrink:0;
  border-radius:14px;
  object-fit:cover;
  display:block;
}

/* ============================================================================
   RESPONSIVE FIX (mobile, appended last to win cascade)
   (1) Step-5 Review: stop details column overflowing the panel
   (2) Dashboard actions: Credits+TopUp row1, Transactions+bell+LogOut row2
   (3) Vault list: status/expires/created wrap left under the package badge
   (4) Manage button: align left
   ========================================================================== */
@media (max-width: 600px) {

  /* (1) REVIEW — each value drops to its own full-width line, wraps cleanly */
  .review-details-card,
  .review-guidance-card { overflow: hidden !important; }
  .review-row { min-width: 0 !important; }
  .review-row.with-state {
    /* grid-template-columns: auto minmax(0, 1fr) !important; */
    row-gap: 1px !important;
    /* align-items: start !important; */
  }
  .review-row.with-state .rr-value {
    grid-column: 1 / -1 !important;
    padding-left: 34px;
    text-align: left !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .review-legend { flex-wrap: wrap !important; }
  .review-legend span { white-space: normal !important; }

  /* (2) DASHBOARD ACTIONS — 2 clean rows */
  .dashboard-actions {
    width: 100%;
    /*flex-wrap: wrap !important;*/
    justify-content: flex-start !important;
    gap: 8px !important;
  }
  #creditBalanceInline { flex: 1 1 42% !important; justify-content: center; }
  #topupNavBtn         { flex: 1 1 42% !important; }
  #historyNavBtn       { flex: 0 1 auto !important; }   /* Transactions */
  .notif-bell-wrap     { flex: 0 0 auto !important; }
  #logoutBtn           { flex: 0 1 auto !important; }

  /* (3) VAULT LIST — meta flows as a left-aligned wrapping row, not clipped */
  #myVaultsList .vault-list-row { flex-wrap: wrap !important; }
  #myVaultsList .vault-list-meta-right {
    flex-basis: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 8px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px 10px !important;
    text-align: right !important;
  }
  #myVaultsList .vault-list-meta-right > * { margin: 0 !important; }

  /* (4) MANAGE button — right aligned under the row */
  #myVaultsList .vault-item > .btn,
  #myVaultsList .vault-item > button {
    align-self: flex-end !important;
    margin-top: 12px !important;
  }
}
