/* Free group card (appData/groupCard.js) */
.gc-narrow { max-width: 760px; margin: 0 auto; }
.gc-wide { max-width: 1080px; margin: 0 auto; }
.gc-box { border: 1px solid #c9d6e8; border-radius: 14px; background: #f6f9fd; padding: 1.25rem; }
.gc-keep { border: 1px solid #b9e3c8; border-radius: 12px; background: #e8f6ee; padding: 1rem; }
.gc-own { border: 1px dashed #b9e3c8; border-radius: 12px; background: #f3fbf6; padding: 1rem; }
.gc-steps li { margin-bottom: .5rem; }

/* Occasion picker */
.gc-occasions { display: flex; flex-wrap: wrap; gap: .45rem; }
.gc-chip { display: inline-block; padding: .45rem .85rem; border: 1px solid #c9d6e8; border-radius: 999px; background: #fff; cursor: pointer; user-select: none; line-height: 1.3; }
.gc-chip:hover { border-color: #0d6efd; }
.btn-check:checked + .gc-chip { background: #0d6efd; border-color: #0d6efd; color: #fff; }
.btn-check:focus-visible + .gc-chip { outline: 3px solid rgba(13, 110, 253, .4); outline-offset: 2px; }

/* The cover: one colour world per occasion, a big picture, and paper confetti drawn with gradients */
.gc-cover { --c1: #e7f0ff; --c2: #d3e3ff; --dot: rgba(13, 110, 253, .16); --ink: #14305c;
    position: relative; overflow: hidden; border-radius: 20px; padding: 1.75rem 1.5rem; color: var(--ink);
    background:
        radial-gradient(circle at 8% 22%, var(--dot) 0 9px, transparent 10px),
        radial-gradient(circle at 92% 18%, var(--dot) 0 14px, transparent 15px),
        radial-gradient(circle at 80% 86%, var(--dot) 0 8px, transparent 9px),
        radial-gradient(circle at 17% 84%, var(--dot) 0 12px, transparent 13px),
        radial-gradient(circle at 55% 8%, var(--dot) 0 5px, transparent 6px),
        radial-gradient(circle at 38% 94%, var(--dot) 0 6px, transparent 7px),
        linear-gradient(135deg, var(--c1), var(--c2));
    box-shadow: 0 6px 24px rgba(20, 48, 92, .10); }
.gc-cover h1 { font-size: 1.9rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.gc-cover p { color: var(--ink); opacity: .85; }
.gc-emoji { font-size: 2.6rem; line-height: 1; margin-bottom: .5rem; }
.gc-cover.gc-big { padding: 3rem 1.5rem 2.5rem; text-align: center; }
.gc-cover.gc-big h1 { font-size: 2.6rem; }
.gc-cover.gc-big .gc-emoji { font-size: 4.2rem; margin-bottom: .75rem; }
.gc-farewell { --c1: #e3efff; --c2: #c9defc; --dot: rgba(13, 110, 253, .16); --ink: #14305c; }
.gc-retirement { --c1: #e2f7ee; --c2: #c2ecd9; --dot: rgba(14, 140, 96, .18); --ink: #0f4a36; }
.gc-promotion { --c1: #efe8ff; --c2: #d9cdfb; --dot: rgba(104, 66, 214, .18); --ink: #35217a; }
.gc-birthday { --c1: #fff3d9; --c2: #ffe1a6; --dot: rgba(222, 138, 0, .20); --ink: #6a4300; }
.gc-baby { --c1: #e6f6fb; --c2: #fde6ee; --dot: rgba(230, 120, 160, .20); --ink: #2d4f66; }
.gc-thanks { --c1: #fdeaf0; --c2: #f9cfdc; --dot: rgba(200, 60, 110, .18); --ink: #6d1f3d; }
.gc-anniversary { --c1: #fff6d6; --c2: #f6e29a; --dot: rgba(176, 134, 0, .22); --ink: #5a4500; }
.gc-congrats { --c1: #ffe9e3; --c2: #ffd0c2; --dot: rgba(226, 88, 48, .20); --ink: #6e2a14; }
.gc-getwell { --c1: #f1f8dc; --c2: #dcedb0; --dot: rgba(110, 150, 20, .22); --ink: #3d4f0d; }
.gc-other { --c1: #f1f3f6; --c2: #dfe4ea; --dot: rgba(80, 96, 115, .16); --ink: #2d3a48; }

/* The wall of messages: paper notes in soft colours, very slightly turned */
.gc-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; align-items: start; }
.gc-wall-big { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.gc-note { margin: 0; padding: 1.1rem 1.1rem .9rem; border-radius: 14px; background: #fffbea; border: 1px solid #f0e2a8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 10px 20px -14px rgba(0, 0, 0, .25); break-inside: avoid; }
.gc-note:nth-child(5n+2) { background: #eef6ff; border-color: #cadff7; }
.gc-note:nth-child(5n+3) { background: #f0faeb; border-color: #cfe6c2; }
.gc-note:nth-child(5n+4) { background: #fff0f3; border-color: #f6ccd6; }
.gc-note:nth-child(5n) { background: #f5f0ff; border-color: #dccff7; }
.gc-note blockquote { margin: 0 0 .7rem; font-size: 1.05rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; color: #212529; }
.gc-note figcaption { font-weight: 600; font-style: italic; color: #495057; text-align: right; }
.gc-note figcaption::before { content: "— "; }
.gc-note.gc-new { outline: 3px solid rgba(25, 135, 84, .35); }
@media (min-width: 768px) {
    .gc-wall-big .gc-note:nth-child(odd) { transform: rotate(-.6deg); }
    .gc-wall-big .gc-note:nth-child(even) { transform: rotate(.5deg); }
    .gc-wall-big .gc-note:nth-child(3n) { transform: rotate(.9deg); }
}
@media (prefers-reduced-motion: no-preference) {
    .gc-cover.gc-big .gc-emoji { animation: gc-pop .7s ease-out both; }
    @keyframes gc-pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 575.98px) {
    .gc-cover h1 { font-size: 1.5rem; }
    .gc-cover.gc-big h1 { font-size: 1.85rem; }
    .gc-cover.gc-big .gc-emoji { font-size: 3.2rem; }
}
@media print {
    .gc-own, header.navbar, footer, nav { display: none !important; }
    .gc-wall-big .gc-note { transform: none !important; }
}

/* Preview on the start form, and what stays off paper */
.gc-preview { padding: 1.5rem 1rem 1.25rem; }
.gc-preview .gc-emoji { font-size: 3rem; margin-bottom: .5rem; }
.gc-preview-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); opacity: 1; overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .gc-preview-title { font-size: 1.25rem; } }
@media print { .gc-noprint { display: none !important; } }
