/* V-Sharp Group Card */
.gc-panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
#create, #done, #mine .gc-panel { max-width: 720px; }
.gc-panel h2 { margin-top: 0; }
.gc-form label { display: block; font-weight: 700; margin: 16px 0 6px; }
.gc-form input[type=text], .gc-form textarea, .gc-link input, .gc-key {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.gc-form textarea { min-height: 130px; resize: vertical; }
.gc-form input:focus, .gc-form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.gc-hint { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; }
.gc-occ { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-occ label, .gc-stickers label { margin: 0; font-weight: 600; }
.gc-occ input, .gc-stickers input { position: absolute; opacity: 0; pointer-events: none; }
.gc-occ span { display: inline-flex; gap: 6px; align-items: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; background: #fff; }
.gc-occ input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.gc-occ input:focus-visible + span, .gc-stickers input:focus-visible + span { outline: 2px solid var(--brand); }
.gc-stickers { display: flex; flex-wrap: wrap; gap: 6px; }
.gc-stickers span { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; font-size: 24px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.gc-stickers span.none { font-size: 12px; color: var(--ink-soft); }
.gc-stickers input:checked + span { border: 2px solid var(--brand); background: var(--brand-soft); }
.gc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; align-items: center; }
.gc-err { color: #b3261e; font-weight: 600; margin: 12px 0 0; }
.gc-ok { background: #e6f5ea; border: 1px solid #b9e2c4; color: #1f5e33; border-radius: 12px; padding: 12px 16px; }
.gc-warn { background: #fff6e0; border: 1px solid #f2d48a; color: #6b4e00; border-radius: 12px; padding: 12px 16px; }
.gc-link { margin: 18px 0; }
.gc-link label { display: block; font-weight: 700; margin-bottom: 6px; }
.gc-link-row { display: flex; gap: 8px; flex-wrap: wrap; }
.gc-link-row input { flex: 1 1 260px; font-size: 14px; }
.gc-link-row .btn { padding: 10px 18px; }
.gc-note { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; }
.gc-steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gc-steps .card::before { counter-increment: s; content: counter(s); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; align-items: center; justify-content: center; }

.gc-head { display: flex; gap: 16px; align-items: center; color: #fff; background: linear-gradient(120deg, var(--a), var(--b)); border-radius: 20px; padding: 22px 24px; }
.gc-head-ic { font-size: 44px; line-height: 1; }
.gc-head-t { margin: 0; font-weight: 600; opacity: .95; }
.gc-head-n { margin: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; line-height: 1.15; word-break: break-word; }

.gc-msgs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 18px; }
.gc-msg { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 14px; box-shadow: 0 6px 18px rgba(27,31,59,.06); }
.gc-msg.is-hidden { opacity: .45; }
.gc-sticker { font-size: 34px; line-height: 1; margin-bottom: 8px; display: inline-block; animation: gc-bob 2.6s ease-in-out infinite; }
.gc-msg:nth-child(2n) .gc-sticker { animation-delay: -1.3s; }
@keyframes gc-bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
.gc-body { margin: 0 0 10px; white-space: normal; word-break: break-word; }
.gc-by { margin: 0; font-weight: 700; color: var(--ink-soft); }
.gc-by::before { content: "— "; }
.gc-photo { display: block; width: 100%; border-radius: 10px; margin-bottom: 12px; background: #f1efe9; min-height: 60px; }
.gc-tools { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.gc-tools button { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-soft); }
.gc-tools button:hover { border-color: var(--brand); color: var(--brand); }
.gc-tools button.danger:hover { border-color: #b3261e; color: #b3261e; }
.gc-meter { font-weight: 700; color: var(--ink-soft); }


/* ===================== the card (recipient page + preview) ===================== */
.gc-scene { --ink-c: #1b1f3b; position: relative; min-height: 100vh; overflow: hidden; color: var(--ink-c);
  background: var(--confetti), radial-gradient(900px 420px at 0% 0%, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%),
    radial-gradient(900px 420px at 100% 10%, color-mix(in srgb, var(--b) 18%, transparent), transparent 70%), #fffaf3;
  background-size: 260px 260px, auto, auto, auto; padding: 0 0 50px; }
.gc-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.gc-bunting { position: absolute; top: 0; left: 0; width: 100%; height: 50px; }
.gc-decos { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.gc-deco { position: absolute; width: 70px; animation: gc-float 6s ease-in-out infinite; opacity: .9; }
.gc-deco.d1 { left: 2%; top: 90px; } .gc-deco.d2 { right: 3%; top: 120px; animation-delay: -2s; }
.gc-deco.d3 { left: 6%; top: 420px; width: 46px; animation-delay: -4s; } .gc-deco.d4 { right: 8%; top: 380px; width: 110px; animation-delay: -3s; }
svg.gc-deco[viewBox="0 0 120 60"] { width: 130px; } svg.gc-deco[viewBox="0 0 160 60"] { width: 150px; }
@keyframes gc-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

.gc-hero { text-align: center; padding: 78px 0 26px; }
.gc-hello { margin: 0; font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", "Apple Chancery", cursive; font-size: clamp(1.5rem, 4vw, 2.3rem); color: var(--b); }
.gc-name { margin: 2px 0 10px; font-size: clamp(2.8rem, 10vw, 5.6rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.03em; word-break: break-word;
  background: linear-gradient(100deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(255,255,255,.9)) drop-shadow(0 10px 18px rgba(27,31,59,.12)); }
.gc-from { display: inline-block; margin: 0; padding: 7px 16px; border-radius: 99px; background: rgba(255,255,255,.85); border: 1px solid rgba(27,31,59,.08); font-weight: 600; }

.gc-notes { columns: 270px; column-gap: 22px; margin-top: 30px; }
.gc-scene .gc-msg { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 24px; padding: 26px 20px 16px; border: 0; border-radius: 4px;
  background: #fff6c9; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 24px rgba(27,31,59,.10); transform: rotate(-1.2deg); }
.gc-scene .gc-msg::before { content: ""; position: absolute; top: -10px; left: 50%; width: 86px; height: 22px; margin-left: -43px; background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.05); transform: rotate(-3deg); }
.gc-scene .gc-msg:nth-child(5n+2) { background: #ffe1ea; transform: rotate(1.4deg); }
.gc-scene .gc-msg:nth-child(5n+3) { background: #dff0ff; transform: rotate(-.6deg); }
.gc-scene .gc-msg:nth-child(5n+4) { background: #e2f6e4; transform: rotate(1deg); }
.gc-scene .gc-msg:nth-child(5n+5) { background: #ece4ff; transform: rotate(-1.6deg); }
.gc-scene .gc-msg { color: var(--ink-c); }
.gc-scene .gc-body { font-size: 1.05rem; line-height: 1.55; }
.gc-scene .gc-by { font-family: "Segoe Script", "Bradley Hand", "Snell Roundhand", "Apple Chancery", cursive; font-size: 1.1rem; color: var(--ink-c); text-align: right; }
.gc-scene .gc-msg.is-hidden { opacity: .35; }
.gc-scene .gc-tools { justify-content: flex-end; }
.gc-scene .gc-tools button { background: rgba(255,255,255,.6); font-size: 12px; padding: 3px 10px; }
.gc-scene .gc-msg { animation: gc-in .5s ease both; }
@keyframes gc-in { from { opacity: 0; } to { opacity: 1; } }
.gc-scene.fly .gc-msg { animation: gc-fly .7s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes gc-fly { from { opacity: 0; transform: translateY(60px) scale(.7) rotate(-8deg); } }

.gc-bar { position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  margin: 18px auto 0; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.9); border: 1px solid rgba(27,31,59,.1); font-size: 14px; color: #1b1f3b; }
.gc-bar .btn { padding: 8px 16px; font-size: 14px; }
.gc-small { text-align: center; font-size: 13px; color: inherit; opacity: .75; margin-top: 28px; }
.gc-made { text-align: center; font-size: 14px; margin-top: 18px; }
.gc-made a { font-weight: 700; color: inherit; }

/* premium designs */
.gc-scene[data-design="midnight"] { --ink-c: #1b1f3b; color: #f6efe0;
  background: radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 60%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 85%, #f4d27a 50%, transparent 51%), radial-gradient(1000px 500px at 50% -10%, #2a2f6e, transparent 70%), #0b1030;
  background-size: 160px 160px, 110px 110px, 190px 190px, auto, auto; }
.gc-scene[data-design="midnight"] .gc-hello { color: #f4d27a; }
.gc-scene[data-design="midnight"] .gc-name { background: linear-gradient(100deg, #fff1c2, #e8b54a, #fff1c2); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 20px rgba(232,181,74,.35)); }
.gc-scene[data-design="midnight"] .gc-from { background: rgba(255,255,255,.08); border-color: rgba(244,210,122,.4); color: #f6efe0; }
.gc-scene[data-design="midnight"] .gc-msg, .gc-scene[data-design="midnight"] .gc-msg:nth-child(n) { background: #fffdf6; border-top: 4px solid #e8b54a; transform: none; }
.gc-scene[data-design="midnight"] .gc-msg::before { display: none; }
.gc-scene[data-design="midnight"] .gc-bunting path:not(:first-child), .gc-scene[data-design="midnight"] .gc-deco path:not([fill="none"]), .gc-scene[data-design="midnight"] .gc-deco ellipse { fill: #e8b54a; }

.gc-scene[data-design="pastel"] { background: radial-gradient(700px 500px at 10% 10%, #ffd6e7, transparent 70%), radial-gradient(700px 500px at 90% 20%, #d9e6ff, transparent 70%),
    radial-gradient(800px 600px at 30% 90%, #d8f5e6, transparent 70%), radial-gradient(700px 500px at 90% 90%, #ffe9cf, transparent 70%), #fbf7ff; }
.gc-scene[data-design="pastel"] .gc-msg, .gc-scene[data-design="pastel"] .gc-msg:nth-child(n) { background: rgba(255,255,255,.82); border-radius: 22px; transform: none; box-shadow: 0 14px 34px rgba(120,100,180,.15); }
.gc-scene[data-design="pastel"] .gc-msg::before { display: none; }
.gc-scene[data-design="pastel"] .gc-name { background: linear-gradient(100deg, #e66fa0, #8d7cf0, #4fb3c9); -webkit-background-clip: text; background-clip: text; }

.gc-scene[data-design="bright"] { color: #fff; background: repeating-linear-gradient(135deg, var(--a) 0 60px, color-mix(in srgb, var(--a) 85%, #fff) 60px 120px); }
.gc-scene[data-design="bright"] .gc-hello { color: #fff; }
.gc-scene[data-design="bright"] .gc-name { color: #fff; background: none; -webkit-text-stroke: 0; filter: none; text-shadow: 4px 4px 0 #1b1f3b, 8px 8px 0 var(--b); }
.gc-scene[data-design="bright"] .gc-from { color: #1b1f3b; border: 2px solid #1b1f3b; }
.gc-scene[data-design="bright"] .gc-msg, .gc-scene[data-design="bright"] .gc-msg:nth-child(n) { background: #fff; border: 3px solid #1b1f3b; border-radius: 14px; box-shadow: 7px 7px 0 #1b1f3b; transform: none; }
.gc-scene[data-design="bright"] .gc-msg:nth-child(2n) { background: #fff4b8; }
.gc-scene[data-design="bright"] .gc-msg::before { display: none; }
.gc-scene[data-design="bright"] .gc-decos { display: none; }

/* envelope reveal */
.gc-locked { overflow: hidden; }
.gc-reveal { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: radial-gradient(800px 500px at 50% 40%, color-mix(in srgb, var(--a) 60%, #fff), var(--b)); transition: opacity .7s ease; perspective: 900px; }
.gc-reveal.gone { opacity: 0; pointer-events: none; }
.gc-env { position: relative; width: min(340px, 82vw); aspect-ratio: 3 / 2; border: 0; padding: 0; background: none; cursor: pointer; animation: gc-wiggle 2.4s ease-in-out infinite; }
.gc-env-front { position: absolute; inset: 0; background: #fff8ec; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); z-index: 3; }
.gc-env::before { content: ""; position: absolute; inset: 0; background: #f2e6cf; border-radius: 10px; z-index: 1; }
.gc-env-flap { position: absolute; left: 0; right: 0; top: 0; height: 60%; background: #fbefd9; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; z-index: 4; transition: transform .6s ease; }
.gc-env-letter { position: absolute; left: 7%; right: 7%; top: 8%; bottom: 8%; background: #fff; border-radius: 6px; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center;
  color: #1b1f3b; font-size: 15px; box-shadow: 0 2px 6px rgba(0,0,0,.1); transition: transform .6s .35s ease; }
.gc-env-letter b { font-size: 22px; }
.gc-env-seal { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: 5; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff6b81, #c81d4a);
  display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 10px rgba(0,0,0,.25); transition: opacity .3s; }
.gc-env-tap { margin: 0; color: #fff; font-weight: 800; font-size: 1.2rem; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.gc-reveal.open .gc-env { animation: none; }
.gc-reveal.open .gc-env-seal { opacity: 0; }
.gc-reveal.open .gc-env-flap { transform: rotateX(180deg); z-index: 1; }
.gc-reveal.open .gc-env-letter { transform: translateY(-62%); }
@keyframes gc-wiggle { 0%,100% { transform: rotate(0); } 90% { transform: rotate(0); } 93% { transform: rotate(-3deg); } 96% { transform: rotate(3deg); } }
.gc-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; pointer-events: none; }

/* design picker on the organiser page */
.gc-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 10px; }
.gc-designs label { margin: 0; cursor: pointer; }
.gc-designs input { position: absolute; opacity: 0; }
.gc-dz { display: block; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.gc-designs input:checked + .gc-dz { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.gc-designs input:focus-visible + .gc-dz { outline: 2px solid var(--brand); }
.gc-dz-art { display: block; height: 84px; position: relative; }
.gc-dz-art::after { content: ""; position: absolute; left: 22%; right: 22%; top: 26px; height: 34px; border-radius: 4px; background: #fff6c9; box-shadow: 0 4px 10px rgba(0,0,0,.12); transform: rotate(-2deg); }
.gc-dz-name { display: block; padding: 8px 10px; font-weight: 700; font-size: 14px; }
.gc-dz-name small { display: block; font-weight: 600; color: var(--ink-soft); }
.gc-dz.classic .gc-dz-art { background: var(--confetti), linear-gradient(135deg, #fff2e6, #ffe6f3); }
.gc-dz.midnight .gc-dz-art { background: radial-gradient(1.5px 1.5px at 30% 30%, #fff 50%, transparent 51%) 0 0/40px 40px, #0b1030; }
.gc-dz.midnight .gc-dz-art::after { background: #fffdf6; border-top: 3px solid #e8b54a; transform: none; }
.gc-dz.pastel .gc-dz-art { background: linear-gradient(135deg, #ffd6e7, #d9e6ff 50%, #d8f5e6); }
.gc-dz.pastel .gc-dz-art::after { background: rgba(255,255,255,.85); border-radius: 10px; transform: none; }
.gc-dz.bright .gc-dz-art { background: repeating-linear-gradient(135deg, var(--a) 0 14px, color-mix(in srgb, var(--a) 80%, #fff) 14px 28px); }
.gc-dz.bright .gc-dz-art::after { background: #fff; border: 2px solid #1b1f3b; box-shadow: 4px 4px 0 #1b1f3b; transform: none; }
.gc-designs input:disabled + .gc-dz { opacity: .55; cursor: not-allowed; }
.gc-up ul { padding-left: 20px; } .gc-up li { margin: 5px 0; }
.gc-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px; color: var(--ink-soft); margin-top: 14px !important; }
.gc-check input { margin-top: 4px; }
.gc-photo-pick { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.gc-photo-pick img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.gc-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 99px; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) { .gc-sticker, .gc-deco, .gc-scene .gc-msg, .gc-env { animation: none !important; } }
@media (max-width: 600px) { .gc-deco.d3, .gc-deco.d4 { display: none; } .gc-deco { width: 48px; } .gc-hero { padding-top: 64px; } }

/* printable keepsake */
@media print {
  @page { margin: 12mm; }
  body { background: #fff; }
  .gc-tools, .gc-bar, .gc-made, .gc-small, .gc-reveal, .gc-decos { display: none !important; }
  .gc-scene { min-height: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 0; }
  .gc-scene .gc-msg { animation: none !important; box-shadow: none; border: 1px solid #ddd; }
  .gc-hero { padding-top: 10px; }
}
.gc-scene[data-design="midnight"] .gc-deco path[fill="none"] { stroke: #e8b54a; }

/* ===================== themed designs ===================== */
.gc-fallwrap { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.gc-fall { position: absolute; top: -40px; display: block; line-height: 1; text-align: center; animation: gc-fall linear infinite; opacity: .85; }
.gc-fall svg { width: 100%; height: 100%; display: block; }
@keyframes gc-fall { 0% { transform: translate(0, -40px) rotate(0); } 50% { transform: translate(30px, 55vh) rotate(180deg); } 100% { transform: translate(-10px, 110vh) rotate(360deg); } }
.gc-ornament { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin-top: 22px; }
.gc-diya { width: 64px; } .gc-diya.c { width: 80px; }
.gc-candle { width: 36px; } .gc-candle.b { width: 42px; }
.gc-flame { transform-origin: 50% 90%; animation: gc-flicker 1.6s ease-in-out infinite; }
.gc-diya.b .gc-flame, .gc-candle.b .gc-flame { animation-delay: -.5s; } .gc-diya.d .gc-flame, .gc-candle.c .gc-flame { animation-delay: -1s; }
@keyframes gc-flicker { 0%,100% { transform: scale(1,1) rotate(-2deg); } 25% { transform: scale(.94,1.08) rotate(2deg); } 50% { transform: scale(1.04,.95) rotate(-1deg); } 75% { transform: scale(.97,1.05) rotate(1.5deg); } }
.gc-glow { animation: gc-glow 2.4s ease-in-out infinite; }
@keyframes gc-glow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* Diwali diyas */
.gc-scene[data-design="diwali"] { color: #fff4dc;
  background: radial-gradient(900px 500px at 50% 0%, #6a1b3a, transparent 70%), radial-gradient(700px 400px at 50% 100%, #3b0d2e, transparent 70%), #1d0820; }
.gc-scene[data-design="diwali"] .gc-hello { color: #ffcf5c; }
.gc-scene[data-design="diwali"] .gc-name { background: linear-gradient(100deg, #ffe7a3, #ff9f1c, #ffe7a3); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 24px rgba(255,159,28,.45)); }
.gc-scene[data-design="diwali"] .gc-from { background: rgba(255,255,255,.08); border-color: rgba(255,207,92,.45); color: #fff4dc; }
.gc-scene[data-design="diwali"] .gc-msg, .gc-scene[data-design="diwali"] .gc-msg:nth-child(n) { background: #fff8ea; border-top: 5px solid #ff9f1c; transform: none; }
.gc-scene[data-design="diwali"] .gc-msg:nth-child(3n+2) { border-top-color: #e5383b; } .gc-scene[data-design="diwali"] .gc-msg:nth-child(3n+3) { border-top-color: #2a9d8f; }
.gc-scene[data-design="diwali"] .gc-msg::before { display: none; }
.gc-fall.diwali { color: #ffd34d; text-shadow: 0 0 8px #ffb300; animation-name: gc-twinkle-fall; }
@keyframes gc-twinkle-fall { 0% { transform: translateY(-40px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(110vh); opacity: .2; } }
.gc-toran { height: 60px; }

/* Rangoli */
.gc-scene[data-design="rangoli"] { background: radial-gradient(circle at 1px 1px, rgba(180,90,30,.12) 1.5px, transparent 2px) 0 0/22px 22px, #fff6e6; }
.gc-rangoli { position: absolute; opacity: .9; animation: gc-spin 60s linear infinite; }
.gc-rangoli svg { width: 100%; height: 100%; display: block; }
.gc-rangoli.r1 { width: 300px; height: 300px; left: -110px; top: -90px; }
.gc-rangoli.r2 { width: 300px; height: 300px; right: -120px; top: 260px; animation-direction: reverse; }
.gc-rangoli.r3 { width: 200px; height: 200px; left: -70px; bottom: 40px; }
@keyframes gc-spin { to { transform: rotate(360deg); } }
.gc-scene[data-design="rangoli"] .gc-hello { color: #d1495b; }
.gc-scene[data-design="rangoli"] .gc-name { background: linear-gradient(100deg, #e63946, #f4a261, #8338ec); -webkit-background-clip: text; background-clip: text; }
.gc-scene[data-design="rangoli"] .gc-msg, .gc-scene[data-design="rangoli"] .gc-msg:nth-child(n) { background: #fff; border-radius: 16px; transform: none; border: 3px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(120deg, #e63946, #f4a261, #2a9d8f, #8338ec); background-origin: border-box; background-clip: padding-box, border-box; }
.gc-scene[data-design="rangoli"] .gc-msg::before { display: none; }

/* Candlelight */
.gc-scene[data-design="candles"] { color: #f7ecd9;
  background: radial-gradient(500px 300px at 50% 30%, rgba(255,190,90,.25), transparent 70%), radial-gradient(1000px 600px at 50% 100%, #2a1a10, transparent 70%), #120b07; }
.gc-fall.candles { top: auto; bottom: -60px; width: 60px !important; height: 60px !important; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,110,.45), transparent 70%); animation-name: gc-bokeh; }
@keyframes gc-bokeh { 0% { transform: translateY(0) scale(.6); opacity: 0; } 30% { opacity: .8; } 100% { transform: translateY(-110vh) scale(1.2); opacity: 0; } }
.gc-scene[data-design="candles"] .gc-hello { color: #ffcf8a; }
.gc-scene[data-design="candles"] .gc-name { background: linear-gradient(100deg, #fff1d6, #ffb45e, #fff1d6); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 24px rgba(255,180,94,.4)); }
.gc-scene[data-design="candles"] .gc-from { background: rgba(255,255,255,.07); border-color: rgba(255,207,138,.35); color: #f7ecd9; }
.gc-scene[data-design="candles"] .gc-msg, .gc-scene[data-design="candles"] .gc-msg:nth-child(n) { background: #fdf6ea; transform: none; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,190,90,.3), 0 18px 40px rgba(0,0,0,.45); }
.gc-scene[data-design="candles"] .gc-msg::before { display: none; }

/* Winter snow */
.gc-scene[data-design="snow"] { background: linear-gradient(180deg, #cfe6ff 0%, #eaf4ff 45%, #ffffff 100%); }
.gc-fall.snow { color: #8fbde9; text-shadow: 0 0 6px #fff, 0 0 2px #fff; opacity: .95; }
.gc-scene[data-design="snow"] .gc-hello { color: #2b6cb0; }
.gc-scene[data-design="snow"] .gc-name { background: linear-gradient(100deg, #1f4e8c, #4aa3df); -webkit-background-clip: text; background-clip: text; }
.gc-scene[data-design="snow"] .gc-msg, .gc-scene[data-design="snow"] .gc-msg:nth-child(n) { background: rgba(255,255,255,.92); transform: none; border-radius: 16px; border: 1px solid #d6e8fb; box-shadow: 0 12px 30px rgba(43,108,176,.12); }
.gc-scene[data-design="snow"] .gc-msg::before { display: none; }

/* Spring blossom */
.gc-scene[data-design="blossom"] { background: linear-gradient(180deg, #fff0f5 0%, #f4fbef 100%); }
.gc-branch { position: absolute; top: 0; right: 0; width: min(420px, 60vw); }
.gc-scene[data-design="blossom"] .gc-hello { color: #d6457a; }
.gc-scene[data-design="blossom"] .gc-name { background: linear-gradient(100deg, #e0558a, #f39ab8, #7cb342); -webkit-background-clip: text; background-clip: text; }
.gc-scene[data-design="blossom"] .gc-msg, .gc-scene[data-design="blossom"] .gc-msg:nth-child(n) { background: #fff; border-radius: 20px 20px 20px 4px; transform: none; box-shadow: 0 10px 28px rgba(214,69,122,.12); }
.gc-scene[data-design="blossom"] .gc-msg:nth-child(2n) { background: #fdf2f6; }
.gc-scene[data-design="blossom"] .gc-msg::before { display: none; }

/* Summer sunshine */
.gc-scene[data-design="sunshine"] { background: linear-gradient(180deg, #ffe48a 0%, #fff6d6 40%, #e9f8ff 100%); }
.gc-sun { position: absolute; top: -120px; right: -120px; width: 340px; height: 340px; }
.gc-rays { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(rgba(255,170,0,.35) 0 8deg, transparent 8deg 20deg); animation: gc-spin 40s linear infinite; }
.gc-sun-core { position: absolute; inset: 90px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff7b0, #ffc300 60%, #ff9f00); box-shadow: 0 0 60px #ffc300; }
.gc-scene[data-design="sunshine"] .gc-hello { color: #e07b00; }
.gc-scene[data-design="sunshine"] .gc-name { background: linear-gradient(100deg, #ff8a00, #ff4d6d); -webkit-background-clip: text; background-clip: text; }
.gc-scene[data-design="sunshine"] .gc-msg, .gc-scene[data-design="sunshine"] .gc-msg:nth-child(n) { background: #fff; transform: none; border-radius: 16px; border-bottom: 5px solid #ffc300; }
.gc-scene[data-design="sunshine"] .gc-msg:nth-child(3n+2) { border-bottom-color: #4cc9f0; } .gc-scene[data-design="sunshine"] .gc-msg:nth-child(3n+3) { border-bottom-color: #ff6b6b; }
.gc-scene[data-design="sunshine"] .gc-msg::before { display: none; }

/* Autumn leaves */
.gc-scene[data-design="autumn"] { background: linear-gradient(180deg, #fbe3c4 0%, #fff4e4 50%, #f5e1cc 100%); }
.gc-scene[data-design="autumn"] .gc-hello { color: #b5470f; }
.gc-scene[data-design="autumn"] .gc-name { background: linear-gradient(100deg, #b8380e, #e07b1a, #8d5524); -webkit-background-clip: text; background-clip: text; }
.gc-scene[data-design="autumn"] .gc-msg, .gc-scene[data-design="autumn"] .gc-msg:nth-child(n) { background: #fffaf2; transform: rotate(-.6deg); border-left: 6px solid #d9531e; border-radius: 8px; }
.gc-scene[data-design="autumn"] .gc-msg:nth-child(2n) { border-left-color: #f2a31b; transform: rotate(.6deg); }
.gc-scene[data-design="autumn"] .gc-msg::before { display: none; }

/* picker thumbnails for themes */
.gc-dz-ic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; z-index: 1; }
.gc-dz.diwali .gc-dz-art, .gc-dz.rangoli .gc-dz-art, .gc-dz.candles .gc-dz-art, .gc-dz.snow .gc-dz-art, .gc-dz.blossom .gc-dz-art, .gc-dz.sunshine .gc-dz-art, .gc-dz.autumn .gc-dz-art { }
.gc-dz.diwali .gc-dz-art { background: radial-gradient(circle at 50% 0, #6a1b3a, #1d0820); }
.gc-dz.rangoli .gc-dz-art { background: conic-gradient(#e63946, #f4a261, #ffbe0b, #2a9d8f, #8338ec, #e63946); }
.gc-dz.candles .gc-dz-art { background: radial-gradient(circle at 50% 40%, #6b4423, #120b07); }
.gc-dz.snow .gc-dz-art { background: linear-gradient(#cfe6ff, #fff); }
.gc-dz.blossom .gc-dz-art { background: linear-gradient(#ffd6e5, #f4fbef); }
.gc-dz.sunshine .gc-dz-art { background: linear-gradient(#ffd34d, #fff6d6); }
.gc-dz.autumn .gc-dz-art { background: linear-gradient(135deg, #d9531e, #f2a31b); }
.gc-dz-ic ~ * { display: none; }
.gc-dz.diwali .gc-dz-art::after, .gc-dz.rangoli .gc-dz-art::after, .gc-dz.candles .gc-dz-art::after, .gc-dz.snow .gc-dz-art::after, .gc-dz.blossom .gc-dz-art::after, .gc-dz.sunshine .gc-dz-art::after, .gc-dz.autumn .gc-dz-art::after { display: none; }
.gc-occ-title { margin-top: 10px; }
@media (max-width: 600px) { .gc-rangoli.r1, .gc-rangoli.r2 { width: 200px; height: 200px; } .gc-sun { width: 240px; height: 240px; top: -90px; right: -90px; } .gc-sun-core { inset: 64px; } .gc-diya { width: 46px; } .gc-diya.c { width: 56px; } }
@media print { .gc-fallwrap, .gc-sun, .gc-rangoli, .gc-branch, .gc-toran { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .gc-fall, .gc-flame, .gc-glow, .gc-rangoli, .gc-rays { animation: none !important; } .gc-fallwrap { display: none; } }
.gc-bar { margin-top: 66px; }

/* Holi colours */
.gc-scene[data-design="holi"] { background: #fffaf5; }
.gc-splash { position: absolute; border-radius: 50%; filter: blur(38px); opacity: .45; transform: translate(-30%, -30%); animation: gc-puff 9s ease-in-out infinite alternate; }
.gc-splash:nth-child(2n) { animation-delay: -4s; }
@keyframes gc-puff { from { transform: translate(-30%, -30%) scale(.9); } to { transform: translate(-25%, -35%) scale(1.15); } }
.gc-fall.holi { border-radius: 50%; filter: blur(1.5px); opacity: .75; animation-name: gc-powder; }
@keyframes gc-powder { 0% { transform: translate(0, -40px) scale(.6); } 100% { transform: translate(40px, 110vh) scale(1.3); } }
.gc-scene[data-design="holi"] .gc-hello { color: #e0157a; }
.gc-scene[data-design="holi"] .gc-name { background: linear-gradient(100deg, #ff2e93, #ff6d00, #ffd400, #00c853, #2979ff, #aa00ff); -webkit-background-clip: text; background-clip: text; }
.gc-scene[data-design="holi"] .gc-msg, .gc-scene[data-design="holi"] .gc-msg:nth-child(n) { background: rgba(255,255,255,.93); border-radius: 18px; transform: rotate(-.8deg); box-shadow: 0 10px 26px rgba(170,0,255,.12); border-top: 6px solid #ff2e93; }
.gc-scene[data-design="holi"] .gc-msg:nth-child(5n+2) { border-top-color: #ffd400; transform: rotate(.8deg); }
.gc-scene[data-design="holi"] .gc-msg:nth-child(5n+3) { border-top-color: #00c853; }
.gc-scene[data-design="holi"] .gc-msg:nth-child(5n+4) { border-top-color: #2979ff; transform: rotate(.6deg); }
.gc-scene[data-design="holi"] .gc-msg:nth-child(5n+5) { border-top-color: #aa00ff; }
.gc-scene[data-design="holi"] .gc-msg::before { display: none; }

/* Moon and lanterns (Eid) */
.gc-scene[data-design="eid"] { color: #eef6f4; background: radial-gradient(900px 500px at 70% 0%, #1d5c63, transparent 70%), linear-gradient(180deg, #0b2a33, #0a1d2b); }
.gc-moon { position: absolute; top: 36px; right: 9%; width: 120px; height: 120px; border-radius: 50%; box-shadow: -22px 12px 0 0 #ffe9a8; transform: rotate(-20deg); filter: drop-shadow(0 0 18px rgba(255,233,168,.5)); }
.gc-lantern { position: absolute; top: -10px; width: 52px; transform-origin: 50% 0; animation: gc-swing 4s ease-in-out infinite; }
.gc-lantern svg { width: 100%; display: block; }
.gc-lantern.l1 { left: 6%; } .gc-lantern.l2 { left: 16%; top: -40px; animation-delay: -1s; } .gc-lantern.l3 { right: 26%; top: -30px; animation-delay: -2s; } .gc-lantern.l4 { right: 3%; top: 120px; animation-delay: -3s; }
@keyframes gc-swing { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.gc-fall.eid { color: #ffe9a8; text-shadow: 0 0 6px #ffe9a8; animation-name: gc-twinkle-fall; }
.gc-scene[data-design="eid"] .gc-hello { color: #ffe9a8; }
.gc-scene[data-design="eid"] .gc-name { background: linear-gradient(100deg, #fff6d6, #e9c46a, #fff6d6); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 20px rgba(233,196,106,.4)); }
.gc-scene[data-design="eid"] .gc-from { background: rgba(255,255,255,.08); border-color: rgba(233,196,106,.4); color: #eef6f4; }
.gc-scene[data-design="eid"] .gc-msg, .gc-scene[data-design="eid"] .gc-msg:nth-child(n) { background: #fbf8ef; transform: none; border-radius: 22px 22px 8px 8px; border-top: 4px solid #e9c46a; }
.gc-scene[data-design="eid"] .gc-msg::before { display: none; }

/* Christmas */
.gc-scene[data-design="christmas"] { color: #fff; background: radial-gradient(900px 500px at 50% 0%, #1f6b3a, transparent 70%), linear-gradient(180deg, #0f4d2a, #0a3320); }
.gc-lights { height: 60px; }
.gc-bulb { animation: gc-blink 1.8s ease-in-out infinite; } .gc-bulb.b1 { animation-delay: -.6s; } .gc-bulb.b2 { animation-delay: -1.2s; }
@keyframes gc-blink { 0%,100% { opacity: 1; filter: drop-shadow(0 0 6px currentColor); } 50% { opacity: .45; } }
.gc-holly { position: absolute; width: 130px; } .gc-holly.h1 { left: -10px; top: 120px; transform: rotate(-20deg); } .gc-holly.h2 { right: -10px; top: 420px; transform: rotate(160deg); }
.gc-bauble { width: 40px; animation: gc-swing 3.2s ease-in-out infinite; transform-origin: 50% 0; } .gc-bauble.b { animation-delay: -1s; width: 48px; } .gc-bauble.c { animation-delay: -2s; }
.gc-scene[data-design="christmas"] .gc-fall.snow { color: #fff; text-shadow: none; }
.gc-scene[data-design="christmas"] .gc-hello { color: #ffd166; }
.gc-scene[data-design="christmas"] .gc-name { background: linear-gradient(100deg, #fff, #ffd166, #fff); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 4px 0 #b3001b); }
.gc-scene[data-design="christmas"] .gc-from { background: rgba(255,255,255,.1); border-color: rgba(255,209,102,.5); color: #fff; }
.gc-scene[data-design="christmas"] .gc-msg, .gc-scene[data-design="christmas"] .gc-msg:nth-child(n) { background: #fffdf7; transform: none; border-radius: 12px; border: 3px solid #d62828; }
.gc-scene[data-design="christmas"] .gc-msg:nth-child(2n) { border-color: #c9a227; }
.gc-scene[data-design="christmas"] .gc-msg::before { display: none; }

/* Sankranti kites */
.gc-scene[data-design="kites"] { background: linear-gradient(180deg, #7cc8ff 0%, #c4e7ff 45%, #fff6e0 100%); }
.gc-kite { position: absolute; width: 90px; animation: gc-kite 5s ease-in-out infinite; }
.gc-kite.k1 { left: 4%; top: 40px; } .gc-kite.k2 { right: 6%; top: 60px; width: 110px; animation-delay: -1.5s; }
.gc-kite.k3 { left: 12%; top: 380px; width: 70px; animation-delay: -3s; } .gc-kite.k4 { right: 14%; top: 340px; width: 76px; animation-delay: -2s; }
@keyframes gc-kite { 0%,100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(12px, -18px) rotate(8deg); } }
.gc-scene[data-design="kites"] .gc-hello { color: #0d5ea8; }
.gc-scene[data-design="kites"] .gc-name { background: linear-gradient(100deg, #ff3d00, #ffc400, #00c853, #2979ff); -webkit-background-clip: text; background-clip: text; }
.gc-scene[data-design="kites"] .gc-msg, .gc-scene[data-design="kites"] .gc-msg:nth-child(n) { background: #fff; transform: none; border-radius: 14px; box-shadow: 0 10px 26px rgba(13,94,168,.15); border-left: 6px solid #ff3d00; }
.gc-scene[data-design="kites"] .gc-msg:nth-child(4n+2) { border-left-color: #2979ff; } .gc-scene[data-design="kites"] .gc-msg:nth-child(4n+3) { border-left-color: #00c853; } .gc-scene[data-design="kites"] .gc-msg:nth-child(4n+4) { border-left-color: #d500f9; }
.gc-scene[data-design="kites"] .gc-msg::before { display: none; }

/* picker thumbnails */
.gc-dz.holi .gc-dz-art { background: radial-gradient(circle at 20% 30%, #ff2e93, transparent 40%), radial-gradient(circle at 75% 35%, #ffd400, transparent 40%), radial-gradient(circle at 40% 80%, #00c853, transparent 40%), radial-gradient(circle at 85% 85%, #2979ff, transparent 40%), #fff; }
.gc-dz.eid .gc-dz-art { background: linear-gradient(#1d5c63, #0a1d2b); }
.gc-dz.christmas .gc-dz-art { background: linear-gradient(#1f6b3a, #0a3320); }
.gc-dz.kites .gc-dz-art { background: linear-gradient(#7cc8ff, #fff6e0); }
.gc-dz.holi .gc-dz-art::after, .gc-dz.eid .gc-dz-art::after, .gc-dz.christmas .gc-dz-art::after, .gc-dz.kites .gc-dz-art::after { display: none; }
@media (max-width: 600px) { .gc-lantern.l2, .gc-lantern.l3, .gc-kite.k3, .gc-kite.k4, .gc-holly.h2 { display: none; } .gc-moon { width: 80px; height: 80px; right: 4%; } .gc-kite { width: 64px; } .gc-kite.k2 { width: 72px; } .gc-bauble { width: 30px; } .gc-bauble.b { width: 36px; } }
@media print { .gc-splash, .gc-moon, .gc-lantern, .gc-kite, .gc-holly, .gc-lights { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .gc-splash, .gc-lantern, .gc-kite, .gc-bulb, .gc-bauble { animation: none !important; } }

/* ===================== preview pop-up ===================== */
.gc-pv-open { overflow: hidden; }
.gc-pv { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: #fff; }
.gc-pv .gc-scene { min-height: calc(100vh - 60px); }
.gc-pv-bar { position: sticky; top: 0; z-index: 8; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: #1b1f3b; color: #fff; font-size: 14px; }
.gc-pv-bar .btn { padding: 8px 16px; font-size: 14px; }
.gc-pv-bar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.gc-pv-btns { display: flex; gap: 8px; }
.gc-watermark { position: absolute; inset: 0; z-index: 5; pointer-events: none; background-repeat: repeat; }
.gc-pv .gc-hero { padding-top: 70px; }
.gc-gallery button { all: unset; cursor: pointer; display: block; }
.gc-gallery button:focus-visible .gc-dz { outline: 2px solid var(--brand); }
.gc-gallery .gc-dz:hover { border-color: var(--brand); }
@media print { .gc-pv-bar { display: none !important; } }
.gc-flash { animation: gc-flash 1s ease 2; } @keyframes gc-flash { 50% { box-shadow: 0 0 0 4px var(--brand); } }
