/* Continuidad azul y módulos navideños. Los juegos conservan su lógica. */
body, #app { background: #032c54; }
#app { min-height: 100dvh; }
.footer { margin-top: 0; }
.santi-corner { position: fixed; bottom: 18px; left: 18px; width: 112px; height: 145px; z-index: 40; pointer-events: none; }
.santi-corner { width: 150px; height: 160px; }
.santi-salsa { width: 150px; height: 150px; overflow: hidden; }
.santi-corner .santi-salsa img { display: block; max-width: none; width: 200%; height: 200%; object-fit: fill; transform-origin: center; filter: none; animation: santi-salsa-steps 1.8s step-end infinite; }
@keyframes santi-salsa-steps { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-50%,0); } 50% { transform: translate(0,-50%); } 75% { transform: translate(-50%,-50%); } }
@media(max-width:710px) { .santi-corner:has(.santi-salsa) { width: 90px; height: 98px; }.santi-salsa { width: 90px; height: 90px; } }
@media(prefers-reduced-motion:reduce) { .santi-corner .santi-salsa img { animation: none; transform: none; } }
.santi-corner img { width: 100%; height: 132px; object-fit: contain; transform-origin: 50% 92%; animation: santi-corner-dance 1.5s ease-in-out infinite; filter: drop-shadow(0 6px 7px #001b3a44); }
.santi-corner span { display: block; width: 65px; height: 9px; margin: -3px auto 0; border-radius: 50%; background: #00183130; filter: blur(3px); animation: santi-corner-shadow 1.5s ease-in-out infinite; }
@keyframes santi-corner-dance { 0%,100% { transform: translateY(0) rotate(-7deg); } 25% { transform: translateY(-7px) rotate(0deg); } 50% { transform: translateY(0) rotate(7deg); } 75% { transform: translateY(-7px) rotate(0deg); } }
@keyframes santi-corner-shadow { 25%,75% { transform: scale(.8); opacity: .6; } }
@media(max-width:710px) { .santi-corner { width: 69px; height: 88px; left: 9px; bottom: 88px; opacity: .9; }.santi-corner img { height: 80px; }.santi-corner span { width: 42px; height: 6px; } }
@media(prefers-reduced-motion:reduce) { .santi-corner img, .santi-corner span { animation: none; } }
@media print { .santi-corner { display: none; } }
.festive-drift { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 35; }
.drift-item { position: absolute; left: var(--left); top: -80px; opacity: 0; animation: occasional-christmas-fall var(--duration) var(--delay) linear infinite; will-change: transform; }
.drift-star { color: #ffe5a1; font-size: 34px; text-shadow: 2px 2px #bd8528, 3px 3px #855a1b, 0 0 12px #e4bc6550; }
.drift-star.small { font-size: 23px; }
.drift-ball { width: 27px; height: 29px; border-radius: 50%; background: radial-gradient(circle at 30% 24%,#fff9,transparent 24%),radial-gradient(circle at 30% 25%,#ffaca4,#da4561 65%,#7a2038); box-shadow: inset -4px -3px 6px #4e133d55,3px 5px 9px #00183125; }
.drift-ball::before { content: ''; position: absolute; width: 9px; height: 6px; left: 9px; top: -4px; border-radius: 2px; background: linear-gradient(90deg,#a57429,#ffe3a0,#a57429); }
.drift-gift { width: 25px; height: 25px; border-radius: 4px; background: linear-gradient(90deg,transparent 40%,#ffe4a4 40% 57%,transparent 57%),linear-gradient(#31c3b6,#087d83); box-shadow: inset -4px -3px #003a5345,3px 4px 8px #00183130; }
.drift-gift::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; height: 4px; background: #ffe4a4; }
@keyframes occasional-christmas-fall { 0% { opacity: 0; transform: translate3d(0,-60px,0) rotate(-15deg); } 5% { opacity: .65; } 48% { opacity: .65; } 54% { opacity: 0; transform: translate3d(var(--sway),calc(100dvh + 140px),0) rotate(100deg); } 100% { opacity: 0; transform: translate3d(var(--sway),calc(100dvh + 140px),0) rotate(100deg); } }
body:not(.snow-enabled) .festive-drift, body.effects-paused .festive-drift { display: none; }
@media(max-width:710px) { .drift-item:nth-child(n+3) { display: none; } }
@media(prefers-reduced-motion:reduce) { .festive-drift { display: none; } }
@media print { .festive-drift { display: none; } }
.christmas-decoration-band { position: relative; width: min(1140px, calc(100% - 40px)); height: 92px; margin: -18px auto 22px; pointer-events: none; isolation: isolate; }
.christmas-decoration-band .concept-decor { z-index: 0; left: calc(9% + var(--slot) * 26%); right: auto; top: 20px; bottom: auto; animation: festive-decoration-float 6s var(--float-delay) ease-in-out infinite; }
.christmas-decoration-band .concept-gift { top: 30px; width: 58px; height: 52px; }
.christmas-decoration-band .concept-gift::after { left: 13px; }
.christmas-decoration-band .concept-star { font-size: 54px; }
.concept-cane { width: 30px; height: 70px; border-radius: 18px 18px 7px 7px; background: repeating-linear-gradient(35deg,#fff9ed 0 10px,#f05668 10px 20px); box-shadow: inset -6px 0 6px #7b163e55, inset 3px 0 4px #fff9, 7px 9px 15px #00285835; transform: rotate(22deg); }
.concept-cane::after { content: ''; position: absolute; width: 13px; height: 41px; right: 0; bottom: 0; background: var(--bg); border-radius: 10px 0 0 0; }
.footer .concept-cane::after { background: #002858; }
@keyframes festive-decoration-float { 50% { translate: 0 -10px; rotate: 5deg; } }
@media(max-width:710px) { .christmas-decoration-band { height: 80px; width: calc(100% - 34px); }.christmas-decoration-band .concept-decor { scale: .75; transform-origin: top left; left: calc(4% + var(--slot) * 25%); } }
@media(prefers-reduced-motion:reduce) { .christmas-decoration-band .concept-decor { animation: none; } }
body[data-page='home'] main > .concept-section { background: #032c54; color: #dce9f3; }
.concept-section h2, .concept-section h3 { color: white; }
.concept-section .kicker, #concept-counter { color: #e9cd90; }
.concept-lead { max-width: 800px; line-height: 1.8; }
.concept-options { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.concept-options button { min-height: 48px; padding: 12px 22px; border-radius: 999px; color: white; border: 1px solid #ffffff40; background: #ffffff08; font-weight: 800; }
.concept-options button[aria-pressed='true'] { color: #002858; background: #00bfc5; border-color: #00bfc5; }
.concept-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 36px; }
.concept-layout h3 { font-size: clamp(25px,3vw,34px); line-height: 1.25; margin: 16px 0; }
.concept-layout p { line-height: 1.8; min-height: 130px; }
.concept-scene { position: relative; text-align: center; }
.concept-scene { isolation: isolate; padding-bottom: 35px; }
.concept-decor { position: absolute; pointer-events: none; z-index: -1; }
.concept-bauble { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff8, transparent 22%), radial-gradient(circle at 35% 28%, #ff9494, #d32f49 60%, #77182e); box-shadow: inset -8px -9px 13px #510c3e70, 0 10px 18px #00183170; top: 18px; left: 7%; animation: concept-float 6s ease-in-out infinite; }
.concept-bauble::before { content: ''; position: absolute; width: 18px; height: 10px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg,#9f6c21,#ffe6a0,#b78935); top: -8px; left: 20px; }
.concept-bauble.gold { width: 42px; height: 42px; left: auto; right: 4%; top: 145px; background: radial-gradient(circle at 30% 25%, #fff, transparent 20%), radial-gradient(circle at 35% 28%, #ffeab0, #d49a28 65%, #865016); animation-delay: -3s; }
.concept-bauble.gold::before { left: 12px; }
.concept-gift { width: 68px; height: 62px; left: 10%; bottom: 30px; border-radius: 7px; background: linear-gradient(90deg,transparent 39%,#ffe3a0 39% 58%,transparent 58%), linear-gradient(135deg,#ff7a7a,#dc3e57); box-shadow: inset -10px -6px #8a193b50, 9px 10px 15px #00183170; transform: perspective(350px) rotateY(-20deg) rotateZ(-8deg); }
.concept-gift::before { content: ''; position: absolute; left: -4px; right: -4px; top: -7px; height: 16px; border-radius: 5px; background: linear-gradient(90deg,#ff8383 40%,#ffe8a9 40% 58%,#ea5969 58%); box-shadow: 0 3px 4px #7b18374d; }
.concept-gift::after { content: '∞'; position: absolute; left: 18px; top: -41px; font: bold 49px Georgia,serif; color: #ffe3a0; text-shadow: 2px 3px #a87a28; }
.concept-star { right: 7%; top: 0; color: #ffe6a5; font-size: 45px; line-height: 1; text-shadow: 1px 1px #d19c3c, 2px 2px #a87523, 3px 3px #8b611d, 0 0 25px #ffdc7370; transform: rotate(12deg); }
@keyframes concept-float { 50% { translate: 0 -9px; } }
@media(prefers-reduced-motion:reduce) { .concept-decor { animation: none; } }
.concept-santi { width: 100%; max-width: 330px; height: 270px; object-fit: contain; }
.concept-world { width: 105px; height: 105px; object-fit: contain; display: block; margin: 0 auto; }
@media(max-width:710px) { .concept-layout { grid-template-columns: 1fr; padding: 24px; }.concept-layout p { min-height: 0; }.concept-santi { height: 200px; }.concept-options button { flex: 1 1 140px; padding: 12px; } }
.christmas-garland svg { display: block; width: 100%; height: 64px; overflow: visible; }
.garland-bulb { filter: drop-shadow(0 0 6px var(--bulb)); animation: alternating-christmas-lights 3.6s var(--delay) ease-in-out infinite; }
@media(prefers-reduced-motion:reduce) { .garland-bulb { animation: none; } }
.christmas-garland { bottom: auto; top: 100%; height: 88px; border: 0; align-items: flex-start; }
.christmas-garland span { --bulb: #ffd878; --drop: 62px; top: 0; width: 8px; height: var(--drop); border-radius: 0; background: radial-gradient(circle, var(--bulb) 2px, transparent 3px) center 5px / 8px 20px repeat-y, linear-gradient(#bca77670, #bca77670) center / 1px 100% no-repeat; box-shadow: none; filter: drop-shadow(0 0 4px var(--bulb)); }
.christmas-garland span:nth-child(3n) { --bulb: #ff8686; --drop: 82px; background-color: transparent; box-shadow: none; }
.christmas-garland span:nth-child(3n + 1) { --bulb: #8be7c5; --drop: 46px; background-color: transparent; box-shadow: none; }
.christmas-garland span:nth-child(4n) { --drop: 70px; }
.christmas-garland span::before { display: none; }
.christmas-garland span:nth-child(n) { background: radial-gradient(circle, var(--bulb) 2px, transparent 3px) center 5px / 8px 20px repeat-y, linear-gradient(#bca77670, #bca77670) center / 1px 100% no-repeat; }
@media(max-width:710px) { .christmas-garland { transform: scaleY(.7); transform-origin: top; } }
.imported-calendar { padding: 30px 0 0; color: white; }
.imported-calendar h1 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 14px; }
.calendar-reference-note { color: #ffe2a0; font-size: 14px; line-height: 1.7; padding: 14px 18px; background: #ffffff0a; border: 1px solid #e4c57655; border-radius: 12px; margin-bottom: 24px; }
.calendar-document { display: block; width: 100%; height: 85dvh; min-height: 650px; border: 0; background: #061838; }
.scene-logo, .footer-logo { background: transparent; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.hero .scene { grid-template-areas: 'logo santi' 'worlds worlds' 'badge badge'; grid-template-rows: 240px auto 38px; }
.hero .santi-hero { height: 260px; }
.scene-worlds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.scene-worlds img { width: 100%; height: 95px; }
@media (max-width: 710px) {
  .hero .scene { grid-template-rows: 200px auto 38px; }
  .hero .santi-hero { height: 215px; }
  .scene-worlds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scene-worlds img { height: 95px; }
}
/* Marcas transparentes a ambos extremos y módulos centrados. */
.topbar .brand-logo { width: 250px; max-width: 100%; height: 180px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.topbar .brand-logo img { padding: 0; }
.institutional-brand { width: 100%; display: flex; align-items: center; justify-content: center; }
.institutional-brand img { display: block; width: 100%; max-width: 343px; height: auto; object-fit: contain; }
.topbar .nav a { color: white; background: transparent; border-color: transparent; box-shadow: none; border-radius: 999px; }
.topbar .nav a:hover { color: white; background: #ffffff12; border-color: transparent; }
.topbar .nav a.active { color: #002858; background: #00bfc5; border-color: transparent; box-shadow: none; }
@media (min-width: 1201px) {
  .topbar > .shell { max-width: 1760px; display: grid; grid-template-columns: clamp(210px, 17vw, 280px) minmax(0, 1fr) clamp(210px, 17vw, 280px); align-items: center; justify-content: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
  .topbar .brand { width: 100%; min-width: 0; justify-self: center; justify-content: center; }
  .topbar .nav { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; justify-content: center; gap: 12px; }
  .topbar .nav a { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px 14px; font-size: 17px; line-height: 1.35; text-align: center; border-radius: 999px; }
  .topbar .institutional-brand { justify-self: end; }
  html { scroll-padding-top: 245px; }
}
@media (max-width: 1200px) {
  .topbar > .shell { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
  .topbar .brand { min-width: 0; justify-self: start; }
  .topbar .brand-logo { width: 200px; height: 145px; max-width: 100%; }
  .topbar .institutional-brand { justify-self: end; max-width: 300px; }
  .topbar .nav-toggle { grid-column: 2; grid-row: 1; }
  .topbar .institutional-brand { grid-column: 3; grid-row: 1; }
  .topbar .nav { justify-content: flex-start; text-align: center; gap: 10px; }
  .topbar .nav a { display: flex; flex-shrink: 0; align-items: center; justify-content: center; min-height: 54px; font-size: 17px; line-height: 1.4; padding: 14px 18px; margin-top: 0; }
}
@media (max-width: 710px) {
  .topbar > .shell { min-height: 118px; gap: 10px; }
  .topbar .brand-logo { width: 140px; height: 100px; }
  .topbar .nav-toggle { padding: 9px; }
  .topbar .institutional-brand { max-width: 165px; }
}
body[data-page='home'] main > .section:not(.christmas-tree-section):not(.concept-section):not(.mibonito-section):not(.committee-world-section):not(.mibonito-guide-section),
body[data-page='reconocimientos'] main,
body[data-page='carrera'] main { background: var(--bg); }
.christmas-garland span { animation: alternating-christmas-lights 3.6s ease-in-out infinite; }
.christmas-garland span:nth-child(even) { animation-delay: -1.8s; }
@keyframes alternating-christmas-lights {
  0%, 100% { filter: brightness(.45); opacity: .65; }
  50% { filter: brightness(1.9); opacity: 1; }
}
.falling-snow i { font-size: 0; }
body[data-page='calendario'] .falling-snow i { font-size: calc(var(--size) * 2 + 7px); line-height: 1; font-style: normal; color: #dff6ff; background: transparent; box-shadow: none; opacity: .7; }
.festive-glass { background: linear-gradient(140deg, #ffffff11, #ffffff04); border: 1px solid #ffffff32; box-shadow: inset 0 1px #ffffff12, 0 12px 36px #001a342b; border-radius: 25px; }
.campaign-heading .kicker, .participation-page .kicker, .experiences-page .kicker, .calendar-page .kicker { color: #e9cd90; }
.campaign-heading h2 { color: white; font-size: clamp(29px, 3.5vw, 42px); }
.campaign-heading p { color: #c7ddea; line-height: 1.75; max-width: 760px; margin: 16px 0 0; }
.campaign-note { color: #b9cedf; font-size: 13px; line-height: 1.8; }

/* Los pasos ocupan las ramas del árbol, de la copa a la base. */
.participation-page { color: #dce9f3; background: radial-gradient(ellipse at 25% 30%, #157fa428, transparent 52%), #032c54; }
.participation-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 55px; align-items: center; margin: 24px 0 52px; }
.participation-tree { position: relative; height: 650px; max-width: 570px; isolation: isolate; }
.participation-tree > img { height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 12px 25px #001c3a75); }
.step-tree-list { position: absolute; inset: 20% 0 12%; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.step-tree-list li { width: calc(185px + var(--branch) * 53px); max-width: 95%; }
.step-tree-list button { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 9px 17px; color: white; font-weight: 900; font-size: 16px; border: 1px solid #e8d39b75; border-radius: 16px 26px 26px 16px; background: #063b57e8; box-shadow: 0 8px 18px #00172e40; text-align: left; backdrop-filter: blur(10px); }
.step-tree-list button > span { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #ff6262; color: #002858; box-shadow: inset 0 2px 5px #ffffff80; }
.step-tree-list button[aria-pressed='true'] { background: #ffe2a4; color: #032c54; border-color: #fff5cf; box-shadow: 0 0 22px #ffdc7d50; }
.step-tree-list button[aria-pressed='true'] > span { background: #032c54; color: #ffdfa0; }
.step-tree-base { position: absolute; bottom: 2%; height: 32px; left: 15%; right: 15%; background: radial-gradient(ellipse, #f3df934d, transparent 70%); z-index: -1; }
.participation-detail { padding: 30px; }
.step-counter { margin: 28px 0 10px; color: #dfc88b; font-size: 14px; }
.participation-detail h3 { color: white; font-size: 32px; line-height: 1.25; margin: 0 0 18px; }
.participation-detail p:not(.step-counter) { line-height: 1.8; color: #d3e2ed; min-height: 110px; }
.participation-link { display: inline-block; color: #eedb9f; margin: 20px 0 0 18px; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.participation-detail > img { display: block; height: 175px; width: 100%; object-fit: contain; margin-top: 22px; }
.dimension-section { padding: 20px 0 35px; }
.convoy-scroll { overflow-x: auto; direction: rtl; padding: 28px 18px 35px; margin: 0 -18px; scrollbar-color: #cfb878 #083352; scrollbar-width: thin; }
.dimension-caravan { display: flex; flex-direction: row-reverse; min-width: 1030px; direction: ltr; align-items: flex-end; gap: 28px; }
.convoy-santi { width: 240px; height: 225px; object-fit: contain; flex-shrink: 0; animation: sleigh-float 5s ease-in-out infinite; }
.dimension-sleds { display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 28px; padding-bottom: 24px; }
.dimension-sled { width: 155px; min-height: 132px; position: relative; background: linear-gradient(145deg, #ffffff18, #ffffff07); border: 1px solid #ffffff40; border-radius: 22px 22px 18px 18px; color: white; padding: 20px 12px; animation: sleigh-float 5s ease-in-out infinite; }
.dimension-sled::before { content: ''; position: absolute; right: -30px; top: 62%; width: 30px; height: 3px; background: #d7bb78; }
.dimension-sled::after { content: ''; position: absolute; left: -8px; right: -8px; bottom: -14px; height: 24px; border-bottom: 4px solid #d7bb78; border-right: 4px solid #d7bb78; border-radius: 0 0 30px 30px; }
.dimension-sled > span { display: block; font-size: 30px; margin-bottom: 14px; }
.dimension-sled strong { font-size: 16px; line-height: 1.4; }
.dimension-sled[aria-pressed='true'] { background: #ffffff23; border-color: #ffdfa0; box-shadow: 0 0 20px #ffe1a025; }
.convoy-hint { color: #a9c5da; font-size: 12px; margin: 8px 0 18px; }
.dimension-description { padding: 24px 28px; }
.dimension-description h3 { color: #ffe4a6; font-size: 24px; margin: 0 0 10px; }
.dimension-description p { margin: 0; color: #d3e4f0; line-height: 1.8; }

/* Calendario: numeración clara, detalles dorados y nieve en forma de estrella. */
.calendar-page { color: #d6e7f4; background: radial-gradient(ellipse at 20% 15%, #157fa430, transparent 55%), #032c54; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 28px; align-items: start; }
.calendar-board { padding: 25px; min-width: 0; }
.calendar-month { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.calendar-month h2 { color: white; font-size: 31px; margin-top: 8px; }
.calendar-month > span { font-size: 46px; }
.calendar-page .calendar { gap: 9px; }
.calendar-page .weekday { color: #cfe4f3; padding: 12px 0; font-size: 13px; }
.calendar-page .day { border: 1px solid #ffffff32; background: #ffffff09; color: white; min-height: 109px; padding: 13px 10px; border-radius: 15px; overflow: hidden; }
.calendar-page .day-number { position: relative; z-index: 1; font-size: 27px; font-weight: 900; }
.day-snowflake { position: absolute; bottom: 8px; right: 6px; font-size: 26px; color: #d6edff20; }
.calendar-page .day.has-event { background: linear-gradient(140deg, #b1863038, #ffffff08); border-color: #ebcc83a6; box-shadow: inset 0 1px #fff1b92e; }
.calendar-page .has-event .day-number { color: #ffe7a7; }
.calendar-page .has-event .day-snowflake { color: #f9da9545; }
.calendar-page .day[aria-pressed='true'] { outline: 2px solid #ffe7a7; outline-offset: 2px; background: #ffffff26; }
.calendar-page .day:hover { border-color: #fff1bb; background: #ffffff18; }
.calendar-page .day.muted { visibility: hidden; }
.calendar-page .dot { font-size: 10px; color: #f6dda0; position: relative; z-index: 1; }
.calendar-legend { color: #e2cea0; font-size: 12px; line-height: 1.7; margin: 25px 0 0; }
.calendar-page .calendar-side { padding: 24px; }
.calendar-santi { display: block; width: 100%; height: 210px; object-fit: contain; margin: 0 auto 15px; }
.calendar-side h2 { color: white; font-size: 27px; margin: 16px 0; }
.calendar-side > p { color: #c6dbea; line-height: 1.8; font-size: 14px; }
.calendar-side .detail { background: #032545aa; border-color: #ffffff30; color: #e8f4ff; padding: 20px; }
.calendar-side .detail h3 { color: #ffe5a7; font-size: 19px; line-height: 1.45; }
.calendar-side .detail p { color: #d1e3f0; line-height: 1.7; font-size: 14px; }
.calendar-side .detail .btn { font-size: 13px; padding: 12px; }
.calendar-pending { font-weight: 800; }

/* Ilustraciones específicas para cada juego. */
body[data-page='juegos'] main { background: radial-gradient(ellipse at 50% 0, #157fa430, transparent 60%), #032c54; }
body[data-page='juegos'] .game-card { background: #ffffff0a; border-color: #ffffff30; }
body[data-page='juegos'] .game-cover { height: 290px; background: radial-gradient(ellipse at center, #ffffff12, transparent 75%); object-fit: contain; padding: 20px; }
body[data-page='juegos'] .game-card h3 { color: white; }
body[data-page='juegos'] .game-card p { color: #cee0ed; }
body[data-page='juegos'] .subnote { background: #ffffff0a; color: #d7dfd8; border-color: #dfca8b55; }
.race-player { width: 68px; height: 90px; }

/* Experiencias: mundos y árboles de fotos sintéticas en anillos elípticos. */
.experiences-page { background: radial-gradient(ellipse at 80% 20%, #157fa42e, transparent 65%), #032c54; color: #d4e6f2; }
.experiences-intro { display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 30px; padding: 30px; margin-bottom: 32px; }
.experiences-intro h2 { color: white; font-size: 32px; line-height: 1.2; }
.experiences-intro p { color: #c5dbe9; line-height: 1.8; max-width: 760px; font-size: 15px; }
.experiences-intro > img { width: 180px; height: 220px; object-fit: contain; }
.world-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.world-card { position: relative; padding: 25px; text-align: center; color: white; overflow: hidden; transition: border-color .2s, background .2s; }
.world-card:hover { background: #ffffff17; border-color: #ffe1a0; }
.world-card > img { width: 100%; height: 180px; object-fit: contain; filter: drop-shadow(0 8px 12px #00182e50); }
.world-card h2 { color: white; font-size: 24px; margin: 20px 0 10px; }
.world-card p { color: #bcd5e5; font-size: 15px; line-height: 1.7; }
.world-open { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 900; color: #f4d99a; border-bottom: 1px solid #f4d99a70; padding-bottom: 4px; }
.world-card-snow { position: absolute; top: 15px; right: 18px; color: #d9f0ff40; font-size: 30px; }
.experiences-page > .shell > .campaign-note { margin-top: 28px; }
.world-dialog { color: #d5e6f4; background: #052b51; border: 1px solid #adc8db60; border-radius: 26px; padding: 0; width: min(1100px, calc(100% - 32px)); max-width: 1100px; max-height: 92dvh; overflow-y: auto; box-shadow: 0 24px 80px #001225aa; }
.world-dialog::backdrop { background: #00132cd9; backdrop-filter: blur(9px); }
.gallery-dialog-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 26px; background: #052b51f5; border-bottom: 1px solid #ffffff20; z-index: 8; }
.gallery-dialog-header .kicker { font-size: 11px; color: #dfc88b; }
.gallery-dialog-header h2 { color: white; font-size: 28px; margin-top: 6px; }
.gallery-close { width: 44px; height: 44px; background: #ffffff12; border: 1px solid #ffffff40; border-radius: 50%; font-size: 30px; color: white; flex-shrink: 0; }
.world-gallery-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 28px; padding: 25px; align-items: center; }
.photo-tree-stage { text-align: center; min-width: 0; }
.photo-tree-stage > p { font-size: 13px; color: #e1cb92; line-height: 1.7; margin: 0; }
.photo-tree-art { position: relative; height: 405px; max-width: 490px; margin: 0 auto; }
.photo-tree-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.photo-tree-rings ellipse { fill: #e5bb4c09; stroke: #d4ba735f; stroke-width: 3; }
.photo-tree-rings path { stroke: #d4ba7340; stroke-width: 3; stroke-dasharray: 5 10; }
.photo-tree-star { position: absolute; top: 1%; left: 50%; transform: translateX(-50%); color: #ffe8a4; font-size: 48px; text-shadow: 0 0 20px #ffd681; }
.photo-orbit { position: absolute; left: var(--photo-x); top: var(--photo-y); transform: translate(-50%, -50%); width: 106px; height: 79px; padding: 0; border-radius: 50%; border: 3px solid #e2d6aa; background: #072d51; box-shadow: 0 8px 18px #001b3a66; }
.photo-orbit img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.photo-orbit > span { position: absolute; right: 0; bottom: -4px; background: #072d51; color: #ffdf95; padding: 2px 5px; border-radius: 50%; font-size: 12px; }
.photo-orbit[aria-pressed='true'] { border-color: #ffe699; box-shadow: 0 0 0 4px #f6db9233, 0 0 25px #efc96a35; }
.photo-tree-trunk { position: absolute; top: 85%; left: calc(50% - 16px); width: 32px; height: 35px; background: linear-gradient(90deg, #865c37, #bb8b53, #865c37); border-radius: 0 0 8px 8px; }
.photo-preview { min-width: 0; }
.photo-preview-frame { position: relative; overflow: hidden; border-radius: 20px; background: #031b35; border: 1px solid #ffffff30; }
.photo-preview-frame > img { width: 100%; height: 295px; display: block; object-fit: contain; }
.photo-preview-frame > span { position: absolute; bottom: 10px; left: 10px; right: 10px; padding: 7px 10px; text-align: center; border-radius: 10px; background: #03274cee; color: #ffe8ac; font-size: 12px; }
.photo-preview h3 { color: white; font-size: 23px; margin: 22px 0 10px; }
.photo-preview #gallery-photo-counter { color: #e4cf99; font-size: 13px; }
.photo-disclosure { color: #bdd3e4; font-size: 13px; line-height: 1.7; }
.photo-navigation { display: flex; gap: 12px; margin-top: 20px; }
.photo-navigation .btn { flex: 1; font-size: 14px; }
.photo-zoom { color: #d4e4f0; background: transparent; border: 0; padding: 14px 0 0; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.photo-zoomed .photo-tree-stage { display: none; }
.photo-zoomed .world-gallery-layout { grid-template-columns: 1fr; }
.photo-zoomed .photo-preview-frame > img { height: min(60dvh, 650px); }

@media (max-width: 1020px) {
  .participation-layout { gap: 25px; }
  .participation-tree { height: 560px; }
  .step-tree-list li { width: calc(165px + var(--branch) * 37px); }
  .step-tree-list button { padding: 8px 12px; font-size: 14px; }
  .calendar-layout { grid-template-columns: minmax(0, 1fr); }
  .calendar-santi { height: 170px; }
  .calendar-page .calendar-side { display: block; }
  .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-gallery-layout { gap: 18px; }
  .photo-orbit { width: 90px; height: 69px; }
}
@media (max-width: 710px) {
  .participation-layout { grid-template-columns: 1fr; margin-bottom: 36px; }
  .participation-tree { height: 520px; width: 100%; }
  .step-tree-list li { width: calc(155px + var(--branch) * 37px); }
  .step-tree-list button { min-height: 51px; font-size: 14px; padding: 8px 11px; gap: 8px; }
  .step-tree-list button > span { width: 30px; height: 30px; }
  .participation-detail { padding: 23px; }
  .participation-detail h3 { font-size: 28px; }
  .participation-detail p:not(.step-counter) { min-height: 0; }
  .participation-detail > img { height: 145px; }
  .participation-link { display: block; margin-left: 0; }
  .dimension-caravan { min-width: 890px; gap: 22px; }
  .convoy-santi { width: 190px; height: 195px; }
  .dimension-sleds { gap: 22px; }
  .dimension-sled { width: 140px; }
  .dimension-sled::before { width: 24px; right: -24px; }
  .calendar-board { padding: 15px; border-radius: 20px; }
  .calendar-month h2 { font-size: 25px; }
  .calendar-month > span { font-size: 34px; }
  .calendar-page .calendar { gap: 5px; }
  .calendar-page .weekday { font-size: 11px; }
  .calendar-page .day { min-height: 77px; padding: 9px 5px; border-radius: 12px; }
  .calendar-page .day-number { font-size: 22px; }
  .calendar-page .dot { margin-top: 5px; font-size: 15px; }
  .calendar-page .event-type { display: none; }
  .day-snowflake { font-size: 21px; bottom: 4px; right: 2px; }
  .calendar-side h2 { font-size: 27px; }
  .experiences-intro { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .experiences-intro h2 { font-size: 29px; }
  .experiences-intro > img { width: 130px; height: 165px; justify-self: center; }
  .world-grid { grid-template-columns: 1fr; gap: 18px; }
  .world-card { padding: 22px; }
  .world-card > img { height: 190px; }
  .world-dialog { width: calc(100% - 18px); max-height: 94dvh; border-radius: 20px; }
  .gallery-dialog-header { padding: 16px; gap: 12px; }
  .gallery-dialog-header h2 { font-size: 24px; }
  .gallery-dialog-header .kicker { font-size: 10px; letter-spacing: 1px; }
  .world-gallery-layout { grid-template-columns: 1fr; padding: 16px; gap: 24px; }
  .photo-tree-art { height: 355px; }
  .photo-orbit { width: 85px; height: 65px; }
  .photo-preview-frame > img { height: 240px; }
  .photo-preview h3 { font-size: 21px; }
  .photo-navigation .btn { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-garland span, .dimension-sled, .convoy-santi { animation: none; filter: brightness(1.1); }
}
