/* Misión Estrella — hoja "Únete a la tripulación": formulario claro con el diseñador del parche bordado. */
.sheet { position: absolute; left: 8px; right: 8px; bottom: calc(var(--sab) + 8px); z-index: 70; display: flex; flex-direction: column; max-height: calc(100% - var(--sat) - 60px); overflow: hidden; border-radius: 26px; background: #FFFDF8; color: var(--ink); box-shadow: 0 20px 60px rgba(10, 6, 40, .55); animation: sheet-up .5s var(--soft) both; }
.sheet.is-out { animation: sheet-down .35s ease-in both; }
.sheet-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 12px 10px 18px; background: #fff; box-shadow: 0 6px 14px -8px rgba(30, 27, 75, .25); }
.sheet-title { margin: 0 0 6px; font: 600 24px/1.1 var(--f-title); letter-spacing: .02em; }
.sheet-head .deadline { background: #FFF0CC; color: #8A5A00; }
.sheet-close { flex: none; background: #F3EEFF; color: var(--ink); box-shadow: none; }
.sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px 22px; scrollbar-width: none; }
.sheet-body::-webkit-scrollbar { display: none; }
.label { margin: 0; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); }
.field { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid rgba(30, 27, 75, .22); border-radius: 16px; background: #fff; color: var(--ink); font-size: 17px; }
.field:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(185, 162, 255, .45); }
textarea.field { resize: vertical; min-height: 90px; }
.field-err { margin: -4px 0 0; color: #C2255C; font-weight: 800; font-size: 15px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.step-box { padding: 10px 10px 12px; border-radius: 18px; background: #F3EEFF; text-align: center; }
.step-box p { margin: 0 0 6px; font-weight: 800; font-size: 15px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stepper .icon-btn { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(59, 42, 122, .18); }
.stepper output { min-width: 32px; font: 600 26px var(--f-title); }
.total { margin: 0; text-align: center; font: 600 18px var(--f-title); color: var(--violet); }
.patch-design { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px; border-radius: 22px; background: linear-gradient(180deg, #2B2468, var(--indigo)); color: var(--cream); }
.patch-design .label { color: var(--gold); align-self: flex-start; }
.patch-preview { width: 170px; height: 170px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)); }
.swatches, .syms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.swatch { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .12); }
.swatch[aria-pressed="true"] { outline: 3px solid var(--cream); outline-offset: 3px; }
.sym { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 14px; background: rgba(255, 247, 236, .1); color: var(--cream); cursor: pointer; }
.sym[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.msg-toggle { align-self: flex-start; color: var(--violet); }
.msg-count { align-self: flex-end; margin: -8px 0 0; font-size: 14px; color: var(--ink2); }
.sheet .link { align-self: center; color: var(--ink2); }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
