:root {
  --azul: #2A37A3; --azul-2: #1f2a85; --crema: #E9E4D4; --crema-2: #F4F1E8;
  --oliva: #A8A73E; --naranja: #EC6B2D; --amarillo: #F2BC36; --rojo: #A5321F;
  --tinta: #1d2470; --blanco: #fffdf8; --gris: #6b6f8f;
  --brush: "Caveat Brush", "Nunito", cursive; --sans: "Nunito", system-ui, sans-serif;
  --r: 18px; --sombra: 0 10px 30px -12px rgba(31, 42, 133, .35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--tinta); background: var(--blanco); line-height: 1.5; font-size: 17px; padding-bottom: 76px; }
@media (min-width: 760px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: var(--azul); }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.brush { font-family: var(--brush); font-weight: 400; color: var(--azul); line-height: 1; letter-spacing: .3px; }
h1.brush { font-size: clamp(42px, 9vw, 72px); margin: .1em 0 .2em; }
h2.brush { font-size: clamp(34px, 7vw, 54px); margin: .2em 0 .3em; }
h3.brush { font-size: 34px; margin: .1em 0 .2em; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; color: var(--naranja); margin: 0; }
.lead { font-size: 19px; max-width: 640px; }
.meta { font-weight: 700; }
.small { font-size: 14px; color: var(--gris); }
.empty { color: var(--gris); font-style: italic; }
.page { padding-top: 24px; padding-bottom: 48px; }
.loading { text-align: center; padding: 80px 0; color: var(--gris); }

/* logo con máscara: toma el color del texto */
.logo { display: inline-block; background: currentColor; -webkit-mask: url(../img/logo.png) no-repeat center / contain; mask: url(../img/logo.png) no-repeat center / contain; aspect-ratio: 839 / 453; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 20; background: var(--azul); color: var(--crema); display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); }
.top-logo { color: var(--crema); display: flex; } .top-logo .logo { height: 34px; }
.nav { display: none; gap: 4px; }
.nav a { color: var(--crema); text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 99px; }
.nav a.on, .nav a:hover { background: rgba(233, 228, 212, .16); }
.nav-panel { background: var(--amarillo); color: var(--azul) !important; }
@media (min-width: 760px) { .nav { display: flex; } .tabbar { display: none !important; } }
.demo-flag { margin: 0; background: var(--amarillo); color: var(--azul); text-align: center; font-size: 13px; font-weight: 800; padding: 4px; }

.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--blanco); border-top: 1px solid rgba(42, 55, 163, .12); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--gris); }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabbar .tab-scan { color: var(--naranja); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--azul); color: var(--crema); border: 2px solid var(--azul); border-radius: 99px; padding: 12px 22px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sombra); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 8px 16px; font-size: 15px; }
.btn-cream { background: var(--crema); color: var(--azul); border-color: var(--crema); }
.btn-ghost { background: transparent; color: var(--crema); border-color: var(--crema); }
.btn-line { background: transparent; color: var(--azul); }
.link { background: none; border: 0; color: var(--azul); text-decoration: underline; cursor: pointer; padding: 8px 0; font-weight: 700; }
.chip { border: 2px solid var(--azul); background: var(--blanco); color: var(--azul); border-radius: 99px; padding: 10px 16px; font-weight: 800; cursor: pointer; font-size: 17px; }
.chip:active { background: var(--azul); color: var(--crema); }

/* formularios */
input, select, textarea { width: 100%; border: 2px solid rgba(42, 55, 163, .25); border-radius: 12px; padding: 11px 14px; background: #fff; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(42, 55, 163, .15); }
label { display: block; font-weight: 700; font-size: 15px; }
label input, label select, label textarea { margin-top: 6px; font-weight: 400; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
label.check input { width: auto; margin-top: 3px; }
.stack { display: grid; gap: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; } .row input { flex: 1 1 180px; } .row .btn { flex: 0 0 auto; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr; } @media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--crema-2); border-radius: var(--r); padding: 18px; margin: 16px 0; }
.card h3 { margin: 0 0 10px; }
.note { background: var(--amarillo); color: var(--azul); padding: 12px 14px; border-radius: 12px; font-weight: 700; margin: 0; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--azul); color: var(--crema); padding: 40px 0 48px; }
.hero-in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 16px; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 84px; } .hero-in { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.logo-hero { width: min(78vw, 440px); color: var(--crema); }
.tagline { font-weight: 800; letter-spacing: .22em; font-size: 14px; margin: 8px 0 20px; color: var(--amarillo); }
.hero-text { font-size: clamp(18px, 1.6vw, 21px); max-width: 500px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-cta .btn { padding: 14px 26px; font-size: 17px; }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-3deg); max-width: 520px; width: 100%; justify-self: center; }
.tile { aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); animation: tileIn .7s cubic-bezier(.2, .9, .3, 1.2) backwards; animation-delay: calc(var(--i, 4) * 70ms); transition: transform .3s; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover { transform: rotate(4deg) scale(1.05); }
.tile-medal { background: var(--crema); display: grid; place-items: center; padding: 6% 14% 10%; }
.tile-medal .medal { width: 100%; max-width: none; animation: swing 3.5s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes tileIn { from { opacity: 0; transform: translateY(24px) scale(.85); } }
.ast { position: absolute; color: var(--naranja); width: 40px; z-index: 1; }
.ast.a1 { top: 26px; right: 6%; width: 46px; } .ast.a2 { bottom: 30px; left: 3%; width: 34px; color: var(--amarillo); } .ast.a3 { top: 44%; left: 48%; width: 28px; }
@media (max-width: 899px) { .ast.a3 { display: none; } .ast.a1 { top: 12px; right: 12px; width: 30px; } .mosaic { max-width: 380px; } }
@media (prefers-reduced-motion: no-preference) { .ast { animation: spin 18s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

.ticker { background: var(--crema); overflow: hidden; padding: 22px 0 24px; }
.ticker-label { text-align: center; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--azul); }
.ticker-track { display: flex; width: max-content; animation: tick 30s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-row { display: flex; align-items: center; flex: 0 0 auto; min-height: 84px; }
.ticker-row .m, .ticker-row a { display: inline-flex; align-items: center; padding: 0 48px; text-decoration: none; font-family: var(--brush); font-size: 32px; color: var(--azul); white-space: nowrap; }
.ticker-row img { width: auto; max-width: none; display: block; transition: transform .25s; }
.ticker-row a:hover img { transform: scale(1.06) rotate(-2deg); }
.ticker-row .sep { position: static; width: 26px; flex: 0 0 26px; color: var(--naranja); animation: spin 12s linear infinite; }
@media (max-width: 759px) { .ticker { padding: 12px 0; } .ticker-row { min-height: 64px; } .ticker-row .m, .ticker-row a { padding: 0 28px; } .ticker-row img { transform: scale(.78); } }
@keyframes tick { to { transform: translateX(-50%); } }

.event-now { padding-top: 48px; padding-bottom: 36px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .event-now { grid-template-columns: 1fr 1.1fr; gap: 56px; padding-top: 72px; padding-bottom: 56px; } }
.event-info h2.brush { margin-top: .15em; }
.facts { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.ic { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: var(--naranja); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.event-side .counter { margin-top: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats > div { display: flex; gap: 10px; align-items: flex-start; background: var(--crema-2); border-radius: var(--r); padding: 14px 16px; }
.stats .ic { width: 26px; height: 26px; flex-basis: 26px; }
.stats p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.stats b { font-family: var(--brush); font-weight: 400; font-size: 30px; color: var(--naranja); line-height: 1; margin-right: 2px; }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* contador */
.counter { background: var(--azul); color: var(--crema); border-radius: 24px; padding: 22px 22px 18px; margin: 18px 0; box-shadow: var(--sombra); transition: transform .3s; }
.counter.bump { transform: scale(1.02); }
.counter.bump .counter-num { color: var(--amarillo); }
.counter-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; }
.live i { width: 10px; height: 10px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 0 rgba(236, 107, 45, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(236, 107, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(236, 107, 45, 0); } }
.cause { opacity: .85; }
.counter-num { font-family: var(--brush); font-size: clamp(64px, 16vw, 112px); line-height: 1.05; margin: 6px 0 10px; transition: color .4s; font-variant-numeric: tabular-nums; }
.bar { height: 14px; border-radius: 99px; background: rgba(233, 228, 212, .2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--amarillo), var(--naranja)); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.counter-foot { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-top: 8px; }
.movs { margin: -6px 0 18px; } .movs summary { cursor: pointer; font-weight: 700; color: var(--azul); }
.movs ul, .movlist { list-style: none; padding: 0; margin: 10px 0; }
.movs li, .movlist li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid rgba(42, 55, 163, .1); }
.movlist li { grid-template-columns: auto 1fr; }
.movs small, .movlist small { color: var(--gris); grid-column: 1 / -1; font-size: 13px; }
.neg { color: var(--rojo); }

/* qué es ikigai */
.about { padding: 24px 0 56px; overflow: hidden; }
.about-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .about { padding: 40px 0 80px; } .about-in { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about-art { position: relative; margin: 0; max-width: 520px; justify-self: center; }
.about-art img { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) { .about-art img { animation: float 7s ease-in-out infinite; } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-.6deg); } }
.ast.b1 { top: 4%; right: 2%; width: 44px; }
.about-txt h2.brush { margin-top: .15em; }
.pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { font-family: var(--brush); font-size: 26px; color: var(--blanco); padding: 4px 20px 6px; border-radius: 99px; }
.tone-azul { background: var(--azul); }

/* cómo funciona */
.how { background: var(--crema); padding: 48px 0 56px; margin-top: 20px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--blanco); border-radius: var(--r); padding: 20px; }
.steps h3 { margin: 8px 0 4px; font-size: 20px; }
.steps p { margin: 0; }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--naranja); color: var(--blanco); font-weight: 800; }
.steps li:nth-child(2) .n { background: var(--oliva); } .steps li:nth-child(3) .n { background: var(--azul); }
.medal-show { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.medal-show .medal { width: 110px; animation: swing 3.5s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes swing { 50% { transform: rotate(5deg); } }

/* medallas */
.medal { position: relative; width: 100%; max-width: 160px; }
.medal-svg, .medal-img { width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(31, 42, 133, .25)); }
.medal-img { aspect-ratio: 1; object-fit: contain; }
.locked { filter: grayscale(1) opacity(.35); }
.medal .lock { position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%); font-family: var(--brush); font-size: 46px; color: var(--azul); }
.medals { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.medal-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; text-decoration: none; color: inherit; background: var(--crema-2); border-radius: var(--r); padding: 16px 10px; }
.medal-card .medal { width: 92px; } .medal-card small { color: var(--gris); }
.medal-row { display: flex; gap: 18px; align-items: center; background: var(--crema-2); border-radius: var(--r); padding: 18px; margin: 20px 0; }
.medal-row .medal { width: 96px; flex: 0 0 96px; } .medal-row h3 { margin: 0 0 4px; } .medal-row p { margin: 0 0 10px; }

/* stands */
.stands { padding-top: 30px; padding-bottom: 20px; }
.stand { display: grid; gap: 16px; align-items: center; padding: 22px 0; border-top: 2px dashed rgba(42, 55, 163, .2); }
@media (min-width: 760px) { .stand { grid-template-columns: 1fr 1.3fr; } .stand:nth-child(odd) .stand-txt { order: 2; } }
.stand-txt p:last-child { font-size: 18px; }
.stand-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stand-fotos img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; width: 100%; }

/* adopciones */
.adopta { background: var(--crema); padding: 34px 0 40px; }
.adopta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .adopta-grid { grid-template-columns: repeat(4, 1fr); } }
.adopta figure { margin: 0; text-align: center; }
.adopta img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; width: 100%; border: 5px solid var(--blanco); }
.adopta figcaption { margin: -22px auto 0; position: relative; width: 78%; border-radius: 14px; padding: 6px; color: var(--blanco); }
.adopta figcaption b { display: block; font-size: 20px; } .adopta figcaption span { font-size: 13px; font-style: italic; }
.tone-oliva { background: var(--oliva); } .tone-naranja { background: var(--naranja); } .tone-rojo { background: var(--rojo); } .tone-amarillo { background: var(--amarillo); }

.teaming { padding-top: 34px; padding-bottom: 50px; }
.teaming-card { background: var(--oliva); color: var(--blanco); border-radius: 26px; padding: 28px 22px; text-align: center; }
.teaming-card .brush { color: var(--blanco); }
.teaming-card .small { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 16px auto 0; }
.teaming-card .btn { background: var(--azul); }

/* eventos */
.ev-list { display: grid; gap: 16px; }
.ev-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 20px; border-radius: 22px; text-decoration: none; color: var(--azul); transition: transform .15s; }
.ev-card:hover { transform: translateY(-2px); }
.ev-card h2 { margin: .1em 0; font-size: 40px; }
.ev-card p { margin: 0; font-weight: 600; }
.ev-card .kicker { color: inherit; opacity: .8; }
.ev-card-sum { font-family: var(--brush); font-size: 28px; font-weight: 400 !important; margin-top: 6px !important; }
.tone-bg-azul { background: var(--azul); color: var(--crema); } .tone-bg-azul .brush, .tone-bg-azul .kicker { color: var(--crema); }
.tone-bg-naranja { background: var(--naranja); color: var(--azul); }
.tone-bg-oliva { background: var(--oliva); color: var(--azul); }
.tone-bg-amarillo { background: var(--amarillo); color: var(--azul); }
.tone-bg-rojo { background: var(--rojo); color: var(--amarillo); } .tone-bg-rojo .brush, .tone-bg-rojo .kicker { color: var(--amarillo); }
.tone-bg-naranja .kicker, .tone-bg-oliva .kicker, .tone-bg-amarillo .kicker { color: var(--azul); }
.ev-head { padding: 34px 0 30px; }
.ev-head p { margin: 0; font-weight: 700; }
.ev-head .kicker { text-transform: uppercase; }

/* galería */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.g-item { position: relative; border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--crema); aspect-ratio: 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.04); }
.gallery.admin .g-item { cursor: default; }
.gallery.admin button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--rojo); color: #fff; font-size: 20px; cursor: pointer; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(15, 20, 60, .94); display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 84vh; border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 46px; cursor: pointer; padding: 10px 18px; }
.lb-x { top: 8px; right: 6px; } .lb-p { left: 0; top: 50%; transform: translateY(-50%); } .lb-n { right: 0; top: 50%; transform: translateY(-50%); }
.lb-c { position: absolute; bottom: 18px; color: #fff; font-weight: 700; }

/* perfil */
.p-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.p-head h1 { margin: 0; } .p-head p { margin: 0; font-weight: 600; color: var(--gris); }
.avatar { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: var(--blanco); font-weight: 800; font-size: 28px; }
.avatar.s { width: 40px; height: 40px; font-size: 15px; }
.checkin-box { background: var(--naranja); color: var(--blanco); border-radius: var(--r); padding: 18px; margin: 18px 0 8px; }
.checkin-box h2 { margin: 0 0 4px; font-size: 21px; } .checkin-box p { margin: 0 0 12px; }
.checkin-box input { text-transform: uppercase; border-color: transparent; }
.checkin-box.focus { box-shadow: 0 0 0 4px var(--amarillo); }
.sub { margin: 26px 0 12px; }
.edit { margin-top: 26px; } .edit summary { cursor: pointer; font-weight: 700; color: var(--azul); } .edit form { margin-top: 12px; max-width: 420px; }
.auth { max-width: 560px; }
.login summary { cursor: pointer; font-weight: 700; } .login form { margin-top: 12px; } .login .note { margin-top: 10px; }
.demo-note { text-align: center; }

/* celebración */
.celebrate { position: fixed; inset: 0; z-index: 70; background: rgba(31, 42, 133, .78); display: grid; place-items: center; padding: 16px; animation: fade .3s; }
.cel-card { position: relative; overflow: hidden; background: var(--crema); border-radius: 28px; padding: 30px 22px; text-align: center; max-width: 380px; width: 100%; }
.cel-card .medal { width: 150px; margin: 0 auto; animation: pop .7s cubic-bezier(.2, 1.6, .4, 1); }
.confetti i { position: absolute; top: -12px; left: var(--x); width: 9px; height: 14px; background: var(--c); border-radius: 2px; animation: fall 2.4s var(--d) ease-in forwards; }
@keyframes fall { to { transform: translateY(560px) rotate(540deg); opacity: .2; } }
@keyframes pop { from { transform: scale(.2) rotate(-30deg); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* mis donaciones */
.don-grid { display: grid; gap: 14px; margin: 18px 0 8px; }
@media (min-width: 760px) { .don-grid { grid-template-columns: 1.4fr 1fr; align-items: stretch; } }
.don-card { margin: 0; background: var(--oliva); }
.don-card .counter-num { font-size: clamp(56px, 12vw, 88px); }
.don-sub { margin: 0; font-weight: 600; font-size: 15px; }
.don-movs { margin: 12px 0 0; } .don-movs summary { color: var(--crema); } .don-movs small { color: rgba(255, 255, 255, .8); }
.don-movs li { border-color: rgba(255, 255, 255, .25); }
.donor-code { margin: 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.donor-code h3 { margin: 0 0 4px; } .donor-code p { margin: 0 0 8px; font-size: 15px; }
.donor-code .code { display: inline-block; font-size: 22px; }
.donor-pick { margin-bottom: 14px; } .donor-pick .small { margin: 6px 0 0; }
.donor-chip { display: flex; gap: 12px; align-items: center; background: var(--amarillo); border-radius: 14px; padding: 10px 14px; }
.donor-chip > div { flex: 1; } .donor-chip b, .donor-chip small { display: block; }

/* panel */
.panel-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.panel-top h1 { margin: 0; } .panel-top select { width: auto; max-width: 100%; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 14px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
.tabs button { flex: 0 0 auto; border: 0; background: var(--crema-2); padding: 10px 16px; border-radius: 99px; font-weight: 800; cursor: pointer; color: var(--azul); }
.tabs button.on { background: var(--azul); color: var(--crema); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.drop { display: grid; gap: 4px; place-items: center; text-align: center; border: 3px dashed rgba(42, 55, 163, .35); border-radius: var(--r); padding: 30px 16px; cursor: pointer; margin: 16px 0; background: var(--crema-2); font-weight: 400; }
.drop b { font-size: 19px; color: var(--azul); }
.medal-edit { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-top: 16px; }
.medal-edit > .medal { width: 150px; } .medal-edit > div { flex: 1 1 240px; }
.medal-edit form { margin-top: 12px; }
.qr-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.qr { background: #fff; padding: 10px; border-radius: 12px; display: inline-block; line-height: 0; }
.code { font-family: monospace; font-size: 20px; letter-spacing: .1em; background: #fff; padding: 2px 8px; border-radius: 6px; }
.people { list-style: none; padding: 0; margin: 0; }
.people li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(42, 55, 163, .1); }
.people li > div { flex: 1; min-width: 0; } .people b, .people small { display: block; overflow: hidden; text-overflow: ellipsis; } .people small { color: var(--gris); }
.colors { border: 0; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.colors legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.colors label input { position: absolute; opacity: 0; }
.colors label span { display: block; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; }
.colors label input:checked + span { border-color: var(--tinta); box-shadow: 0 0 0 3px #fff inset; }
.colors label input:focus-visible + span { outline: 3px solid var(--amarillo); }

/* pantalla grande */
body.fullscreen .top, body.fullscreen .tabbar, body.fullscreen .foot, body.fullscreen .ticker, body.fullscreen .demo-flag { display: none; }
body.fullscreen { padding: 0; }
.directo { background: var(--crema) !important; color: var(--azul) !important; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 16px; gap: 6px; }
.logo-directo { width: 200px; color: currentColor; }
.directo h1 { margin: 0; }
.directo .counter { width: min(900px, 100%); }
.counter-big .counter-num { font-size: clamp(90px, 18vw, 220px); }
.directo-foot { font-weight: 800; font-size: 20px; }
.directo-out { position: fixed; bottom: 10px; right: 16px; opacity: .5; color: inherit; }

/* pie */
.foot { background: var(--azul); color: var(--crema); text-align: center; padding: 36px 16px 30px; }
.foot .logo { width: 140px; color: var(--crema); }
.foot .small, .foot .small a { color: var(--crema); opacity: .8; }

/* avisos */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 30px); opacity: 0; z-index: 80; background: var(--azul); color: var(--crema); padding: 12px 20px; border-radius: 99px; font-weight: 700; transition: .3s; max-width: calc(100% - 32px); text-align: center; box-shadow: var(--sombra); }
.toast.in { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--rojo); }
@media (min-width: 760px) { .toast { bottom: 30px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.donor-chip .avatar { background: var(--azul) !important; }

/* landing para redes */
.unete { position: relative; overflow: hidden; background: var(--azul); color: var(--crema); padding: 40px 0 56px; min-height: calc(100vh - 90px); }
.unete-in { position: relative; z-index: 2; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .unete { padding: 80px 0; } .unete-in { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.logo-unete { width: 180px; color: var(--crema); }
.unete .kicker { color: var(--amarillo); margin-top: 14px; }
.unete h1.brush { color: var(--crema); }
.unete .lead { color: var(--crema); }
.unete-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-weight: 700; }
.unete-list li { display: flex; gap: 10px; align-items: center; } .unete-list .ic { stroke: var(--amarillo); }
.unete-form { background: var(--crema); color: var(--tinta); margin: 0; padding: 24px; }
.unete-form h2 { margin: 0; font-size: 22px; }
.ast.u1 { top: 24px; right: 5%; width: 44px; } .ast.u2 { bottom: 26px; left: 4%; width: 32px; color: var(--amarillo); }
.welcome { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--amarillo); }
.welcome h2.brush { margin: 0 0 6px; font-size: 38px; } .welcome p { margin: 0; }

.faltan { display: inline-block; margin-left: 6px; background: var(--amarillo); color: var(--azul); border-radius: 99px; padding: 1px 10px; font-size: 14px; }
@media (max-width: 899px) { .mosaic { display: none; } .hero { padding: 32px 0 40px; } }
@media (max-width: 899px) { .ast.a2 { display: none; } .hero-cta { gap: 10px; } .hero-cta .btn { padding: 12px 18px; font-size: 16px; } }

/* ilustración pegatina en la portada (en lugar de los recuadros) */
.hero-art { margin: 0; justify-self: center; position: relative; transform: rotate(3deg); }
.hero-art img { width: auto; max-width: 100%; max-height: 560px; height: auto; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .35)); }
@media (prefers-reduced-motion: no-preference) { .hero-art img { animation: float 7s ease-in-out infinite; } }
@media (max-width: 899px) { .hero-art { display: none; } }
.mosaic-about { display: grid !important; transform: rotate(-3deg); }
.tile { position: relative; } .tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .tile-medal .medal { max-height: 100%; }
.mosaic-about img { animation: none !important; }

/* stands en franjas alternas blanco / beige */
.stands { padding-top: 30px; padding-bottom: 0; }
.stand-band { padding: 8px 0; }
.stand-band.beige { background: var(--crema); }
.stand-band .stand { border-top: 0; padding: 32px 16px; }
@media (min-width: 760px) { .stand-band.beige .stand .stand-txt { order: 0; } }

/* «¿Qué es Ikigai?» solo texto, centrado */
.about-in.about-solo { display: block; max-width: 760px; margin: 0 auto; text-align: center; }
.about-solo .pills { justify-content: center; }
.about-solo .lead, .about-solo p { margin-left: auto; margin-right: auto; }

/* cabecera del evento: beige de Ikigai siempre */
.ev-head[class*="tone-bg-"] { background: var(--crema); color: var(--azul); }
.ev-head[class*="tone-bg-"] .brush { color: var(--azul); }
.ev-head[class*="tone-bg-"] .kicker { color: var(--naranja); }

/* ilustración en móvil, dentro de «¿Qué es Ikigai?» */
.about-pegatina { display: none; margin: 0 auto 24px; max-width: 320px; transform: rotate(3deg); }
.about-pegatina img { width: 100%; height: auto; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .25)); }
@media (max-width: 899px) { .about-pegatina { display: block; } }
