.fb-shell { width: min(100% - 40px, 1100px); margin: 0 auto; padding: 34px 0 40px; }

/* Cabecera */
.fb-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 30px; align-items: center; margin-bottom: 26px; }
.fb-hero h1 { margin: 0; font-size: clamp(40px, 5vw, 58px); letter-spacing: -.025em; line-height: 1; }
.fb-lead { max-width: 560px; margin: 14px 0 18px; color: #b6c3d9; font-size: 18px; line-height: 1.55; }
.fb-tips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fb-tips li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px 4px 6px; color: #d8e3f6; background: var(--dex-panel); border: 1px solid var(--dex-line); border-radius: 999px; font-size: 15px; }
.fb-hero-art { position: relative; height: 260px; }
.fb-ball { position: absolute; top: 50%; left: 50%; width: min(230px, 80%); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, #e90a2d 0 47%, #0a0d14 47% 53%, #e8ecf4 53%); border: 6px solid #0a0d14; border-radius: 50%; box-shadow: 0 0 0 3px #2b3d5c, 0 24px 50px #000a, inset -18px -18px 0 #0002; opacity: .9; }
.fb-ball i { width: 58px; height: 58px; background: #e8ecf4; border: 8px solid #0a0d14; border-radius: 50%; box-shadow: inset 0 0 0 5px #fff; }
.fb-mon { position: absolute; width: 112px; height: 112px; filter: drop-shadow(0 10px 8px #000a); animation: fb-float 4s ease-in-out infinite; }
.fb-mon-1 { top: -6px; left: 0; }
.fb-mon-2 { right: -4px; top: 40px; animation-delay: -1.3s; }
.fb-mon-3 { left: 34%; bottom: -14px; animation-delay: -2.6s; }
@keyframes fb-float { 50% { transform: translateY(-10px); } }

/* Formulario */
.fb-card { padding: 28px 30px; background: var(--dex-panel); border: 1px solid var(--dex-line); border-radius: 14px; box-shadow: 0 18px 40px #0006; }
.fb-form { display: grid; gap: 22px; }
.fb-form h2, .fb-done h2 { display: flex; align-items: center; gap: 10px; margin: 0; padding-left: 12px; font-size: 24px; border-left: 4px solid var(--dex-yellow); }
.fb-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fb-label { padding: 0; color: #c2cee2; font-size: 16px; font-weight: 600; }
.fb-label em { color: #ff8a9d; font-style: normal; }
.fb-input-wrap { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; background: #0a1425; border: 1px solid #344766; border-radius: 9px; }
.fb-input-wrap:focus-within, .fb-form textarea:focus { border-color: var(--dex-blue); box-shadow: 0 0 0 3px #4bb6ff26; outline: none; }
.fb-input-wrap input { width: 100%; height: 50px; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 17px; }
.fb-form textarea { width: 100%; min-height: 170px; padding: 14px; resize: vertical; background: #0a1425; border: 1px solid #344766; border-radius: 9px; font-size: 17px; line-height: 1.5; }
.fb-form ::placeholder { color: #7787a3; }
.fb-field.is-invalid .fb-input-wrap, .fb-field.is-invalid textarea { border-color: #e0395a; }
.fb-meta { display: flex; justify-content: space-between; gap: 10px; }
.fb-count { margin-left: auto; color: #8f9fba; font: 13px "DM Mono", monospace; }
.fb-error { color: #ff8a9d; font-size: 14px; }
.fb-kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fb-kinds legend { grid-column: 1 / -1; margin-bottom: 8px; }
.fb-kind input { position: absolute; opacity: 0; pointer-events: none; }
.fb-kind span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 6px 10px; color: #c2cee2; background: #0d1729; border: 1px solid #344766; border-radius: 9px; font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.fb-kind span:hover { border-color: #477ed5; }
.fb-kind input:checked + span { color: #fff; background: #1d2535; border-color: var(--dex-yellow); box-shadow: 0 0 0 1px var(--dex-yellow); }
.fb-kind input:focus-visible + span { outline: 2px solid var(--dex-blue); outline-offset: 2px; }
.fb-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.fb-submit { justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px 0 16px; color: #08101f; background: var(--dex-yellow); border: 0; border-radius: 999px; font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px #ffd44233; transition: transform .15s ease, filter .15s ease; }
.fb-submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.fb-submit:disabled { cursor: progress; opacity: .8; transform: none; }
.fb-submit-ball { position: relative; width: 26px; height: 26px; background: linear-gradient(180deg, #e90a2d 0 45%, #0a0d14 45% 55%, #fff 55%); border: 2px solid #0a0d14; border-radius: 50%; }
.fb-submit-ball::after { content: ""; position: absolute; inset: 7px; background: #fff; border: 2px solid #0a0d14; border-radius: 50%; }
.fb-submit.is-sending .fb-submit-ball { animation: fb-shake .9s ease-in-out infinite; }
.fb-status { min-height: 22px; margin: -8px 0 0; color: #ff8a9d; font-size: 15px; }

/* Enviado */
.fb-done { display: grid; justify-items: center; gap: 14px; padding: 18px 0 8px; text-align: center; }
.fb-done h2 { border: 0; padding: 0; font-size: 30px; }
.fb-done p { max-width: 520px; margin: 0; color: #b6c3d9; font-size: 18px; line-height: 1.55; }
.fb-catch { position: relative; width: 96px; height: 96px; display: grid; place-items: center; background: linear-gradient(180deg, #e90a2d 0 46%, #0a0d14 46% 54%, #e8ecf4 54%); border: 5px solid #0a0d14; border-radius: 50%; box-shadow: 0 0 0 2px #2b3d5c, 0 14px 30px #000a; animation: fb-shake 1s ease-in-out 3, fb-caught .4s ease 3s forwards; }
.fb-catch i { width: 28px; height: 28px; background: #e8ecf4; border: 5px solid #0a0d14; border-radius: 50%; }
.fb-catch::after { content: "★"; position: absolute; top: -14px; right: -14px; color: var(--dex-yellow); font-size: 28px; opacity: 0; animation: fb-star .5s ease 3s forwards; }
.fb-again { min-height: 46px; padding: 0 20px; color: #d8e3f6; background: #0d1729; border: 1px solid #344766; border-radius: 999px; font-size: 16px; cursor: pointer; }
.fb-again:hover { border-color: var(--dex-yellow); }
@keyframes fb-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
@keyframes fb-caught { to { box-shadow: 0 0 0 3px var(--dex-yellow), 0 14px 30px #000a; } }
@keyframes fb-star { to { opacity: 1; } }

@media (max-width: 760px) {
  .fb-shell { width: calc(100% - 24px); padding-top: 20px; }
  .fb-hero { grid-template-columns: 1fr; gap: 6px; }
  .fb-hero-art { height: 180px; order: -1; }
  .fb-ball { width: 160px; }
  .fb-ball i { width: 40px; height: 40px; border-width: 6px; }
  .fb-mon { width: 84px; height: 84px; }
  .fb-mon-1 { left: 4%; }
  .fb-mon-2 { right: 4%; }
  .fb-lead { font-size: 16px; }
  .fb-card { padding: 20px 16px; }
  .fb-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-submit { justify-self: stretch; justify-content: center; }
}
