/* Interfaz de pantalla completa: el contenido cambia, el documento no se desplaza. */
html:has(body.screen-mode){height:100%;overflow:hidden;scroll-behavior:auto}
body.screen-mode{height:100dvh;min-height:0;overflow:hidden}
.screen-mode #site-content{position:relative;display:grid;grid-template-rows:minmax(0,1fr) 30px;height:100dvh;overflow:hidden}
.screen-mode .site-header{position:absolute;inset:0 0 auto;width:100%;z-index:80}
.screen-mode #main-content{grid-row:1;position:relative;min-width:0;min-height:0;height:100%;overflow:hidden}
.screen-mode #main-content>section{width:100%;height:100%;min-height:0;max-height:100%;max-width:none;margin:0;padding:calc(var(--header-height) + 22px) 5% 22px;overflow:hidden}
.screen-mode #main-content>.ticker,.screen-mode #back-to-top,.screen-mode #reading-progress{display:none!important}
.screen-mode .reveal{opacity:1;transform:none}
.screen-mode .screen-footer{grid-row:2;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;max-width:none;width:100%;min-height:0;height:30px;margin:0;padding:0 5%;border:0;background:#21102f;color:#e4d9ee}
.screen-mode .screen-footer span,.screen-mode .screen-footer a{margin:0;font-size:12px;line-height:1.5;letter-spacing:0;white-space:nowrap}
.screen-mode .screen-footer a{color:white}
.screen-mode .section h1,.screen-mode .section h2{font-size:clamp(28px,3vw,42px);line-height:1.15;margin:0}
.screen-mode .section .eyebrow{font-size:13px;line-height:1.5;margin:0 0 8px}
.screen-control,.screen-pager button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #d8c5ee;border-radius:7px;background:white;color:var(--ink);font-size:14px;line-height:1.5;font-weight:500;text-decoration:none;white-space:nowrap}
.screen-control:hover,.screen-pager button:hover{background:#f0e7fc}
.screen-pager{display:flex;align-items:center;justify-content:center;gap:16px;min-width:0}
.screen-pager button:disabled{cursor:default;opacity:.35}
.screen-page-status{min-width:80px;text-align:center;font-size:14px;line-height:1.5;color:var(--muted)}
.screen-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}
.screen-title-row .text-link{font-size:14px;white-space:nowrap}

/* Portada y momentos */
.screen-mode #main-content>.hero.immersive{padding:0;margin:0}
.screen-mode .hero.immersive .immersive-stage{height:100%;min-height:0;max-height:100%;padding:calc(var(--header-height) + 22px) 6% 22px;gap:22px}
.screen-mode .immersive-copy-area{max-width:800px}
.screen-mode .immersive-scene h1,.screen-mode .immersive-scene h2{font-size:clamp(40px,5.2vw,74px);line-height:1.06;margin:0 0 18px}
.screen-mode .immersive-scene>p:not(.eyebrow){font-size:16px;line-height:1.6;margin:0 0 20px}
.screen-mode .immersive-scene .eyebrow{margin-bottom:12px}
.screen-mode .immersive-bottom{display:flex;align-items:center;gap:26px}
.screen-mode .immersive-chapters{max-width:520px;gap:20px}
.screen-mode .immersive-chapters button{min-height:44px;padding:10px 0;font-size:14px}
.screen-home-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.screen-home-actions .screen-control,.screen-home-actions .logo-motion{color:white;background:#21102f55;border:1px solid #ffffff70;min-height:44px;margin:0;font-size:14px}
.screen-home-actions .screen-control:hover,.screen-home-actions .logo-motion:hover{background:#21102f}
.screen-mode #momentos{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px;background:#f4eefc}
.screen-mode .collage-heading{width:100%;max-width:none;padding:0;margin:0;gap:20px}
.screen-mode .collage-heading-actions{align-items:center;gap:16px}
.screen-mode .collage-window{height:100%;min-height:0;padding:0;margin:0;overflow:hidden}
.screen-mode .collage-track,.screen-mode .collage-group{height:100%;align-items:center}
.screen-mode .collage-photo{height:86%;width:auto;aspect-ratio:2/3;flex-shrink:0;margin:0 20px 0 0}
.screen-mode .collage-photo:nth-child(even){height:96%}
.screen-mode .collage-photo img{height:100%;width:100%;object-fit:cover}
.screen-mode .collage-bottom{margin:0;padding:0;max-width:none}
.screen-mode .collage-bottom>span{font-size:12px}
.screen-mode .collage-bottom .text-link{font-size:14px}

/* Ediciones realizadas */
.screen-mode #fair-archive{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px}
.screen-mode #fair-archive>.eyebrow,.screen-mode #fair-archive>.archive-intro,.screen-mode #fair-archive>.note{display:none}
.screen-archive-head{display:grid;gap:16px}
.screen-mode .archive-tools{margin:0;display:flex;align-items:center;gap:18px}
.screen-mode .archive-tools label{margin:0;width:320px;position:relative;font-size:0;line-height:0}
.screen-mode #fair-search{margin:0;min-height:44px;padding:10px 14px;font-size:16px;line-height:1.5}
.screen-mode #fair-results{font-size:14px;padding:0}
.screen-mode .archive-grid{min-height:0;display:block;height:100%}
.screen-mode .archive-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:100%;min-height:0;overflow:hidden;border-radius:14px;max-width:1100px;margin:0 auto}
.screen-mode .archive-card .edition-art{height:100%;min-height:0;aspect-ratio:auto}
.screen-mode .archive-card .halloween-cover{height:100%!important}
.screen-mode .archive-card .poster-crop{height:100%;width:100%;min-height:0;aspect-ratio:auto;padding:0}
.screen-mode .archive-card .poster-crop img{position:static;height:100%;width:100%;object-fit:contain;object-position:center;transform:none}
.screen-mode .archive-card-body{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;padding:clamp(22px,4vw,54px);min-height:0}
.screen-mode .archive-card-body h2{font-size:clamp(26px,3vw,40px);margin:0}
.screen-mode .archive-card-body p{font-size:16px;line-height:1.6;margin:0}
.screen-mode .archive-card-body small{font-size:12px;line-height:1.5}
.screen-mode .archive-card-body strong{font-size:16px;margin:0;color:var(--purple)}
.screen-mode .archive-card.halloween strong{color:#ffb567}
.screen-mode .archive-card .luren-cover{padding:0;font-size:0;background:#fff4df}
.screen-mode .archive-card .luren-cover .poster-crop{background:#fff4df}
.screen-mode .archive-card .luren-cover::after{display:none}
.screen-mode .archive-card.luren .archive-card-body{background:#fff4df;color:#65021e}
.screen-mode .archive-card.luren .archive-card-body p{color:#6e3e35}
.screen-mode .archive-card.luren .archive-card-body small{color:#783b33}
.screen-mode .archive-card.luren strong{color:#830b29}
.screen-mode #no-fairs{position:absolute;left:5%;right:5%;top:50%;text-align:center;font-size:16px}

/* Cronograma y próxima edición */
.screen-mode #agenda{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:18px;background:#f7f3fc}
.screen-mode #agenda .section-head{margin:0;gap:16px;flex-direction:row;align-items:end}
.screen-mode #agenda .section-head>p{font-size:16px;line-height:1.5;margin:0;max-width:360px}
.screen-mode #agenda .tabs{margin:0;gap:10px;border:0}
.screen-mode #agenda .tabs button{min-height:44px;padding:10px 18px;font-size:14px;line-height:1.5}
.screen-mode #schedule{height:100%;min-height:0;max-width:1100px;width:100%;margin:0 auto}
.screen-mode .event{height:100%;min-height:0;display:grid;grid-template-columns:180px minmax(0,1fr);grid-template-rows:1fr auto;align-content:center;align-items:center;gap:12px 40px;margin:0;padding:clamp(20px,4vw,48px);border:1px solid #ddccef;border-radius:16px;background:white}
.screen-mode .event time{font-size:clamp(40px,6vw,76px);line-height:1.1;grid-row:1/-1;color:var(--purple)}
.screen-mode .event h3{font-size:clamp(24px,3vw,38px);line-height:1.15;margin-bottom:16px}
.screen-mode .event p{font-size:16px;line-height:1.6;margin:0;max-width:600px}
.screen-mode .event-tag{grid-column:2;justify-self:start;font-size:14px;line-height:1.5;padding:6px 14px}
.screen-mode #ediciones{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:18px}
.screen-mode #ediciones>div:first-child>.eyebrow{display:none}
.screen-mode #ediciones>div:first-child>p{font-size:14px;line-height:1.5;margin:10px 0 0}
.screen-mode .edition-card{height:100%;max-width:900px;width:100%;margin:auto;min-height:0;padding:24px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;border-radius:14px}
.screen-mode .edition-card>label{font-size:13px;margin:0}
.screen-mode .edition-card>select{font-size:16px;min-height:44px;padding:9px 44px 9px 12px;margin:0}
.screen-mode .edition-info{height:100%;min-height:0;padding:16px 0;display:grid;align-items:center}
.screen-mode .screen-edition-page{min-height:0}
.screen-mode .screen-edition-page .pill{font-size:12px;margin:0 0 12px}
.screen-mode .screen-edition-page h3{font-size:clamp(24px,3vw,36px);margin-bottom:14px}
.screen-mode .screen-edition-page p{font-size:16px;line-height:1.6;margin:0}
.screen-mode .screen-edition-page .facts{margin:0;gap:14px}
.screen-mode .screen-edition-page .facts small{font-size:12px}
.screen-mode .screen-edition-page .facts strong{font-size:16px}
.screen-mode .screen-edition-page .note{font-size:14px!important;margin:14px 0 0}

/* Archivo: afiche completo y páginas de historia. */
.screen-mode #fair-detail{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px}
.screen-detail-head{display:flex;align-items:center;gap:28px;min-width:0}
.screen-detail-head>.text-link{font-size:14px;white-space:nowrap}
.screen-mode .detail-banner{padding:0;margin:0;background:none!important;color:var(--ink);border-radius:0;min-width:0}
.screen-mode .detail-banner::before,.screen-mode .detail-banner::after,.screen-mode .detail-banner>p,.screen-mode .detail-banner>.pill{display:none}
.screen-mode .detail-banner h1,.screen-mode .detail-banner.halloween h1{font-size:clamp(26px,3vw,40px);line-height:1.15;margin:0;color:var(--ink);text-shadow:none}
.screen-mode .detail-tabs{gap:24px;margin:0;min-height:44px}
.screen-mode .detail-tabs button{font-size:14px;line-height:1.5;min-height:44px;padding:8px 0}
.screen-mode #photos-panel,.screen-mode #stories-panel{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;min-height:0;height:100%}
.screen-mode #photos-panel>.archive-section-heading,.screen-mode #stories-panel>h2,.screen-mode #stories-panel>p,.screen-mode .demo-editor{display:none}
.screen-mode .photo-gallery{min-height:0;height:100%;display:block;max-width:1100px;width:100%;margin:0 auto}
.screen-mode .poster-tile,.screen-mode .photo-tile{height:100%;width:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;aspect-ratio:auto;padding:12px;border:1px solid #e5d6f2;border-radius:12px;background:#21102f}
.screen-mode .poster-tile .poster-crop{height:100%;min-height:0;aspect-ratio:auto;padding:0;background:none;overflow:hidden}
.screen-mode .poster-tile img,.screen-mode .photo-tile img{height:100%;width:100%;object-fit:contain;object-position:center;transform:none}
.screen-mode .poster-caption{padding:0;margin:0;font-size:14px;line-height:1.5;color:white}
.screen-mode #fair-detail[data-fair=luren] .detail-banner h1{color:#65021e}
.screen-mode #fair-detail[data-fair=luren] .detail-tabs button.active{color:#65021e;border-color:#b98225}
.screen-mode #fair-detail[data-fair=luren] .poster-tile,.screen-mode #fair-detail[data-fair=luren] .experience-tile{background:#fff4df;border-color:#e2c896}
.screen-mode #fair-detail[data-fair=luren] .poster-caption{color:#65021e}
/* Solo fotografías: giro automático en 3D, sin franja, marcos ni leyendas. */
.screen-mode #experience-gallery.experience-photos{display:block;position:relative;overflow:hidden;perspective:1100px;border:0;border-radius:0;background:none;touch-action:pan-y pinch-zoom;--photo-height:320px;--photo-radius:260px}
.experience-photos::-webkit-scrollbar{display:none}
.experience-photos:focus-visible{outline:3px solid var(--purple);outline-offset:5px}
.experience-photo-orbit{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d;transform:translateZ(calc(-1 * var(--photo-radius))) rotateY(var(--photo-rotation,0deg))}
.experience-photo{position:absolute;top:calc(var(--photo-height) / -2);left:calc(var(--photo-height) * var(--photo-ratio) / -2);display:block;width:calc(var(--photo-height) * var(--photo-ratio));height:var(--photo-height);padding:0;border:0;border-radius:8px;background:none;box-shadow:none;overflow:hidden;cursor:zoom-in;backface-visibility:hidden;transform:rotateY(var(--photo-angle)) translateZ(var(--photo-radius))}
.experience-photo img{display:block;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none}
.experience-photo:focus-visible{outline:3px solid var(--purple);outline-offset:-4px}
.screen-mode #experience-gallery.experience-photos.is-static{overflow-x:auto;scrollbar-width:thin;touch-action:pan-x pan-y pinch-zoom}
.experience-photos.is-static .experience-photo-orbit{position:static;display:flex;gap:16px;width:max-content;height:100%;transform:none}
.experience-photos.is-static .experience-photo{position:static;flex:none;align-self:center;transform:none}
.screen-mode .gallery-empty{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:20px}
.screen-mode .gallery-empty>span{display:none}
.screen-mode .gallery-empty h3{font-size:24px;margin:0}
.screen-mode .gallery-empty p{font-size:16px;line-height:1.6;margin:0 auto}
.screen-story-stage{height:100%;min-height:0;max-width:1000px;width:100%;margin:auto}
.screen-mode #story-content{height:100%;min-height:0;padding:22px;font-size:16px;line-height:1.65;overflow:hidden}
.screen-mode .edition-archive-facts{height:100%;margin:0;padding:24px;display:flex;flex-direction:column;justify-content:center;gap:22px;border-radius:12px;background:#eee5fc}
.screen-mode .edition-archive-facts small{font-size:13px}
.screen-mode .edition-archive-facts strong{font-size:18px;line-height:1.5}
.screen-mode .edition-archive-facts p{font-size:16px;line-height:1.6;margin:0}

/* Comunidad y participación. */
.screen-mode #nosotros{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:20px}
.screen-mode #nosotros>.eyebrow{display:none}
.screen-about-stage{height:100%;min-height:0}
.screen-about-page{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);height:100%;min-height:0;border-radius:16px;overflow:hidden;background:#eee5fc}
.screen-about-gallery{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;isolation:isolate;background:#261a32}
.about-slide{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:none;cursor:zoom-in;opacity:0;filter:blur(12px);transform:scale(1.035);pointer-events:none;z-index:0;transition:opacity .9s ease,filter .9s ease,transform 1.2s ease}
.about-slide.is-active{opacity:1;filter:blur(0);transform:scale(1);pointer-events:auto;z-index:2}
.about-slide.is-leaving{opacity:1;filter:blur(9px);transform:scale(1.02);z-index:1}
.about-slide-image{display:block;width:100%;height:100%;object-fit:cover}
.about-slide[data-fit=contain]{transform:none}
.about-slide[data-fit=contain]::before{content:'';position:absolute;inset:-28px;background-image:var(--photo-backdrop);background-size:cover;background-position:center 72%;filter:blur(24px) brightness(.55);pointer-events:none}
.about-slide[data-fit=contain] .about-slide-image{position:relative;z-index:1}
.about-slide:focus-visible{outline:3px solid var(--mint);outline-offset:-5px}
.about-photo-controls{position:absolute;inset:auto 16px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px;z-index:3;pointer-events:none}
.about-photo-dots{display:flex;border-radius:24px;background:#21102f9e;backdrop-filter:blur(10px);pointer-events:auto}
.about-photo-dot,.about-photo-pause{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;color:white;background:none}
.about-photo-dot::before{content:'';width:8px;height:8px;border-radius:50%;background:#fff8;transition:background .2s,transform .2s}
.about-photo-dot[aria-pressed=true]::before{background:var(--mint);transform:scale(1.3)}
.about-photo-pause{border-radius:50%;background:#21102f9e;backdrop-filter:blur(10px);pointer-events:auto}
.about-photo-pause .about-play-icon,.about-photo-pause[aria-pressed=true] .about-pause-icon{display:none}
.about-photo-pause[aria-pressed=true] .about-play-icon{display:block}
.about-slideshow[data-paused=true] .about-slide{transition:none}
.screen-about-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:22px;padding:clamp(22px,3vw,42px);min-height:0}
.screen-mode .screen-about-copy h2{font-size:clamp(28px,3.6vw,48px)}
.screen-mode .screen-about-copy p{font-size:16px;line-height:1.65;margin:0;max-width:650px}
.screen-mode .screen-about-copy .text-link{font-size:16px}
@media(prefers-reduced-motion:reduce){.about-slide,.about-photo-dot::before{transition:none;filter:none;transform:none}}
.screen-mode #unete{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:var(--header-height) 0 0}
.screen-mode .join-photo{height:100%;min-height:0;max-height:none;margin:0}
.screen-mode .join-photo img{height:100%;width:100%;object-fit:cover;object-position:center}
.screen-mode .join-photo figcaption{left:6%;bottom:24px;right:6%}
.screen-mode .join-photo figcaption strong{font-size:28px}
.screen-mode .join-invite{min-height:0;height:100%;display:flex;flex-direction:column;justify-content:center;gap:16px;padding:24px 8%}
.screen-mode .join-invite>.eyebrow{margin:0;font-size:13px}
.screen-mode .join-invite h2{font-size:clamp(28px,3vw,42px);line-height:1.15;margin:0}
.screen-mode .join-invite>p:not(.eyebrow){font-size:16px;line-height:1.6;margin:0}
.screen-mode .qr-invitation{display:flex;align-items:center;flex-wrap:nowrap;gap:20px;margin:0;padding:0}
.screen-mode .qr-link{width:clamp(125px,14vw,180px);flex:0 0 clamp(125px,14vw,180px);padding:8px;background:white}
.screen-mode .qr-link img{display:block;width:100%;height:auto}
.screen-mode .qr-instructions{flex:1 1 0;min-width:0}
.screen-mode .qr-label{font-size:12px}
.screen-mode .qr-instructions h3{font-size:22px;line-height:1.2;margin:8px 0}
.screen-mode .qr-instructions p{font-size:14px;line-height:1.5;margin:0}
.screen-mode .whatsapp-button{min-height:48px;padding:12px 14px;font-size:16px;text-align:center;margin:0}
.screen-join-toggle{display:none;position:absolute;left:5%;right:5%;bottom:16px;z-index:3}

/* El plano ocupa el espacio restante, incluso al ampliar. */
.screen-mode #mapa{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;background:#eee5fc}
.screen-mode .actual-map .map-intro{display:flex;justify-content:space-between;align-items:end;width:100%;gap:20px}
.screen-mode .map-intro>.eyebrow,.screen-mode .map-numbering-note,.screen-mode .map-original{display:none}
.screen-mode .actual-map .map-intro h2{font-size:clamp(28px,3vw,40px);margin:0}
.screen-mode .actual-map .map-intro>p:not(.eyebrow){font-size:14px;line-height:1.5;margin:0;max-width:350px}
.screen-mode .map-mount{width:100%;height:100%;min-height:0;margin:0}
.screen-mode .fair-map-app{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-radius:12px}
.screen-mode .map-toolbar{position:relative;top:auto;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:14px;padding:10px 14px;min-width:0}
.screen-mode .map-toolbar-group{flex-wrap:nowrap;gap:8px}
.screen-mode .fair-map-app button:not(.stand-marker){min-height:44px;padding:8px 14px;font-size:14px;line-height:1.4}
.screen-map-options{position:relative;margin-left:auto;flex-shrink:0}
.screen-map-options>summary{min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 14px;border:1px solid #d9c9e9;border-radius:7px;font-size:14px;line-height:1.4;list-style:none;cursor:pointer;color:var(--ink)}
.screen-map-options>summary::-webkit-details-marker{display:none}
.screen-map-options>summary:focus-visible{outline:3px solid #f78b3e;outline-offset:3px}
.screen-map-extras{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:290px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid #d9c9e9;border-radius:10px;background:white;box-shadow:0 14px 35px #29133f30}
.screen-map-extras button{white-space:normal}
.screen-mode .fair-map-body{height:100%;min-height:0;grid-template-columns:minmax(0,1fr) 230px}
.screen-mode .fair-map-stage{height:100%;min-height:0}
.screen-mode .stand-panel{display:flex;flex-direction:column;min-height:0;gap:16px;padding:20px;grid-template-columns:none;border-top:0;border-left:1px solid #e7dbf3}
.screen-mode .stand-panel label{gap:8px;font-size:14px}
.screen-mode .stand-panel select{min-height:44px;font-size:16px;padding:10px 38px 10px 10px}
.screen-mode .stand-details{grid-column:auto;grid-row:auto}
.screen-mode .stand-details .selected-stand-number{font-size:46px;margin:0 0 8px}
.screen-mode .stand-details h3{font-size:22px;margin:0 0 8px}
.screen-mode .stand-details p{font-size:14px!important;line-height:1.6}
.screen-mode .stand-panel .stand-help{font-size:13px!important;line-height:1.6;margin:0}
.screen-mode .map-footer{padding:8px 14px;gap:12px;flex-wrap:nowrap;min-width:0}
.screen-mode .map-footer #map-load-status{font-size:12px;line-height:1.5}
.screen-mode .map-legend{font-size:12px;gap:14px;flex-wrap:nowrap;white-space:nowrap}
.screen-mode .map-stage-hint{font-size:12px;padding:6px 10px;bottom:10px;left:10px}
.screen-mode .map3d-dialog{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);width:calc(100vw - 24px);max-width:calc(100vw - 24px);margin:auto;overflow:hidden}
.screen-mode .map3d-dialog .fair-map-stage{height:100%;min-height:0}
.screen-mode .screen-image-dialog{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:16px;overflow:hidden;margin:auto}
.screen-mode #photo-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}
.screen-mode #photo-dialog .button{margin:0 0 0 auto;position:static}
.screen-mode #expanded-frame,.screen-mode #photo-dialog.poster-view #expanded-frame{min-height:0;height:100%;aspect-ratio:auto;overflow:hidden}
.screen-mode #expanded-photo,.screen-mode #photo-dialog.poster-view #expanded-photo{position:static;height:100%;max-height:100%;width:100%;object-fit:contain;transform:none}
.screen-mode #expanded-caption{font-size:14px;line-height:1.5;margin:0}
.screen-mode #distribution-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}
.screen-mode .map-dialog-header{position:static;padding:0}
.screen-mode .map-dialog-header h2{font-size:24px}
.screen-mode #distribution-viewport{height:100%;min-height:0}
.screen-mode #distribution-viewport:not(.zoomed) img{height:100%;width:100%;max-width:100%;object-fit:contain}
.screen-mode #distribution-dialog>p{font-size:14px;margin:0}

@media(max-width:1000px){
 .screen-mode .immersive-scene h1,.screen-mode .immersive-scene h2{font-size:clamp(36px,5.4vw,58px)}
 .screen-mode .immersive-topline>span:last-child{display:none}
 .screen-mode .immersive-bottom{gap:18px}
 .screen-home-actions{gap:8px}
 .screen-home-actions .screen-control,.screen-home-actions .logo-motion{padding:10px;font-size:13px}
 .screen-mode #agenda .section-head{align-items:start;flex-direction:column;gap:8px}
 .screen-mode .fair-map-body{grid-template-columns:minmax(0,1fr) 205px}
 .screen-mode .stand-panel{padding:16px;gap:12px}
 .screen-mode .map-footer .map-legend{display:none}
 .screen-mode .join-invite{padding:24px 6%}
 .screen-mode .join-invite>.eyebrow{display:none}
}
@media(max-width:760px){
 .screen-mode #main-content>section{padding:calc(var(--header-height) + 16px) 5% 16px}
 .screen-mode .section h1,.screen-mode .section h2{font-size:28px}
 .screen-mode .hero.immersive .immersive-stage{padding:calc(var(--header-height) + 18px) 6% 18px;gap:20px;grid-template-rows:minmax(0,1fr) auto}
 .screen-mode .immersive-topline,.screen-mode .immersive-scene .eyebrow{display:none}
 .screen-mode .immersive-scene h1,.screen-mode .immersive-scene h2{font-size:clamp(31px,7.8vw,50px);line-height:1.09;margin:0 0 16px}
 .screen-mode .immersive-scene>p:not(.eyebrow){font-size:16px;line-height:1.55;margin-bottom:18px}
 .screen-mode .immersive-scene p br{display:none}
 .screen-mode .immersive-scene>.button{min-height:46px;padding:12px 16px}
 .screen-mode .immersive-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .screen-mode .immersive-chapters{max-width:none;gap:16px}
 .screen-mode .screen-home-actions{justify-content:space-between;flex-wrap:wrap}
 .screen-mode #momentos{gap:16px}
 .screen-mode .collage-heading{display:block}
 .screen-mode .collage-heading-actions{flex-direction:row;margin-top:12px;gap:12px;flex-wrap:wrap;justify-content:space-between}
 .screen-mode .collage-heading-actions .text-link{flex:none;font-size:14px}
 .screen-mode .collage-bottom>span{display:none}
 .screen-mode .collage-photo{margin-right:18px}
 .screen-mode #fair-archive{gap:14px}
 .screen-archive-head{gap:12px}
 .screen-title-row{gap:12px}
 .screen-title-row .text-link{font-size:13px}
 .screen-mode .archive-tools{gap:12px}
 .screen-mode .archive-tools label{width:auto;flex:1}
 .screen-mode #fair-results{font-size:12px;white-space:nowrap}
 .screen-mode .archive-card{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
 .screen-mode .archive-card-body{gap:9px;padding:18px}
 .screen-mode .archive-card-body h2{font-size:26px}
 .screen-mode .archive-card-body p{font-size:16px;line-height:1.5}
 .screen-mode .archive-card-body small{font-size:12px}
 .screen-mode .archive-card-body strong{font-size:14px}
 .screen-pager{gap:12px}
 .screen-pager button{padding:10px 14px;min-height:44px}
 .screen-page-status{min-width:60px;font-size:13px}
 .screen-mode #agenda{gap:14px}
 .screen-mode #agenda .section-head>p{font-size:14px}
 .screen-mode #agenda .tabs button{padding:10px 14px}
 .screen-mode .event{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px;padding:22px}
 .screen-mode .event time{font-size:48px}
 .screen-mode .event h3{font-size:26px;margin-bottom:12px}
 .screen-mode .event p{font-size:16px;line-height:1.55}
 .screen-mode .event-tag{align-self:flex-start;font-size:13px}
 .screen-mode .edition-card{padding:18px}
 .screen-mode #ediciones>div:first-child>p{font-size:14px;margin-top:8px}
 .screen-mode .screen-edition-page .facts{grid-template-columns:minmax(0,1fr);gap:10px}
 .screen-mode .screen-edition-page .facts div:last-child{grid-column:auto}
 .screen-mode .screen-edition-page h3{font-size:26px}
 .screen-detail-head{display:block}
 .screen-detail-head>.text-link{display:inline-block;margin-bottom:10px}
 .screen-mode .detail-banner h1,.screen-mode .detail-banner.halloween h1{font-size:28px}
 .screen-mode .detail-tabs{gap:22px}
 .screen-mode .poster-tile,.screen-mode .photo-tile{padding:8px}
 .screen-mode .poster-caption{font-size:13px;line-height:1.5}
 .screen-mode #story-content{padding:18px;font-size:16px;line-height:1.6}
 .screen-mode .edition-archive-facts{padding:18px;gap:18px}
 .screen-mode .edition-archive-facts strong{font-size:16px}
 .screen-mode .edition-archive-facts p{font-size:14px;line-height:1.6}
 .screen-mode #nosotros{gap:14px}
 .screen-about-page{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
 .screen-about-copy{padding:22px;gap:16px}
 .screen-mode .screen-about-copy h2{font-size:32px}
 .screen-mode .screen-about-copy p{font-size:16px;line-height:1.6}
 .screen-mode #unete{position:relative;display:block;padding:var(--header-height) 0 0}
 .screen-mode .join-invite{height:100%;padding:20px 6% 76px;gap:18px;justify-content:center}
 .screen-mode .join-invite h2{font-size:32px}
 .screen-mode .join-invite>p:not(.eyebrow){font-size:16px;line-height:1.55}
 .screen-mode .qr-invitation{gap:18px}
 .screen-mode .qr-link{width:150px;flex-basis:150px}
 .screen-mode .qr-instructions h3{font-size:22px}
 .screen-mode .qr-instructions p{font-size:14px}
 .screen-mode .qr-label{display:none}
 .screen-mode #unete .join-photo{display:none;height:100%;padding:0 0 70px}
 .screen-mode #unete.show-join-photo .join-photo{display:block}
 .screen-mode #unete.show-join-photo .join-invite{display:none}
 .screen-mode #unete .join-photo figcaption{bottom:90px}
 .screen-join-toggle{display:flex}
 .screen-mode #mapa{gap:12px}
 .screen-mode .actual-map .map-intro{display:block}
 .screen-mode .actual-map .map-intro h2{font-size:28px}
 .screen-mode .actual-map .map-intro>p:not(.eyebrow){font-size:14px;margin-top:8px}
 .screen-mode .map-toolbar{padding:8px;gap:8px;justify-content:space-between}
 .screen-mode .map-toolbar-group{gap:6px}
 .screen-mode .fair-map-app .map-toolbar button:not(.stand-marker){min-height:40px;height:40px;min-width:40px;padding:8px;font-size:14px}
 .screen-mode #map-zoom{display:none}
 .screen-map-options>summary{width:40px;height:40px;min-height:40px;padding:0;font-size:0}
 .screen-map-options>summary::after{content:'•••';font-size:16px;letter-spacing:1px}
 .screen-map-extras{width:260px}
 .screen-mode .fair-map-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
 .screen-mode .stand-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;padding:10px;border-top:1px solid #e7dbf3;border-left:0}
 .screen-mode .stand-panel label{font-size:0;line-height:0;gap:0;grid-column:1}
 .screen-mode .stand-panel select{font-size:14px;min-height:44px;padding:10px 34px 10px 10px}
 .screen-mode .stand-panel .stand-details{grid-column:2;grid-row:1}
 .screen-mode .stand-details .selected-stand-number,.screen-mode .stand-panel .stand-help{display:none}
 .screen-mode .stand-details h3{font-size:16px;line-height:1.3;margin:0 0 4px}
 .screen-mode .stand-details p{font-size:12px!important;line-height:1.4}
 .screen-mode .map-footer{padding:7px 10px}
 .screen-mode .map-stage-hint{max-width:calc(100% - 16px);font-size:11px;padding:4px 6px;left:8px;bottom:8px}
 .screen-mode #distribution-dialog .map-dialog-header{flex-direction:row;flex-wrap:wrap;gap:10px}
 .screen-mode .map-dialog-header h2{font-size:20px}
}
@media(max-width:760px) and (max-height:720px){
 .screen-mode .hero.immersive .immersive-stage{gap:12px;padding-bottom:14px}
 .screen-mode .immersive-scene h1,.screen-mode .immersive-scene h2{font-size:32px;margin-bottom:12px}
 .screen-mode .immersive-scene>p:not(.eyebrow){font-size:16px;line-height:1.45;margin-bottom:14px}
 .screen-mode .immersive-chapters button{padding:8px 0}
 .screen-mode .immersive-bottom{gap:8px}
 .screen-mode .archive-card-body{padding:14px;gap:8px}
 .screen-mode .archive-card-body p{display:none}
 .screen-mode .archive-card-body h2{font-size:24px}
 .screen-mode .event{gap:12px;padding:18px}
 .screen-mode .event time{font-size:34px}
 .screen-mode .event h3{font-size:23px;margin-bottom:8px}
 .screen-mode .event-tag{display:none}
 .screen-mode #agenda .section-head>p{display:none}
 .screen-mode .screen-about-copy{padding:18px;gap:14px}
 .screen-mode .screen-about-copy h2{font-size:27px}
 .screen-mode .screen-about-copy p{font-size:16px;line-height:1.5}
 .screen-mode .join-invite{gap:14px;padding-top:16px;padding-bottom:74px}
 .screen-mode .join-invite h2{font-size:28px}
 .screen-mode .join-invite>p:not(.eyebrow){display:none}
 .screen-mode .qr-link{width:132px;flex-basis:132px}
 .screen-mode .qr-instructions h3{font-size:20px}
 .screen-mode .qr-instructions p{font-size:14px}
 .screen-mode #ediciones>div:first-child>p{display:none}
 .screen-mode .screen-edition-page .pill{font-size:12px;padding:4px 8px;margin-bottom:8px}
 .screen-mode .screen-edition-page h3{font-size:23px;margin-bottom:10px}
 .screen-mode .edition-card{padding:14px}
 .screen-mode .edition-info{padding:8px 0}
 .screen-mode .screen-edition-page .note{font-size:13px!important;line-height:1.5;margin-top:10px}
 .screen-mode .screen-edition-page .note,.screen-mode .edition-archive-facts>p{display:none}
 .screen-mode .edition-archive-facts{gap:16px;padding:16px}
}
@media(min-width:761px) and (max-height:720px){
 .screen-mode #main-content>section{padding-top:calc(var(--header-height) + 16px);padding-bottom:16px}
 .screen-mode .hero.immersive .immersive-stage{padding-top:calc(var(--header-height) + 18px);gap:14px;padding-bottom:18px}
 .screen-mode .immersive-scene .eyebrow{display:none}
 .screen-mode .immersive-scene h1,.screen-mode .immersive-scene h2{font-size:46px;margin-bottom:14px}
 .screen-mode .immersive-scene>p:not(.eyebrow){margin-bottom:14px}
 .screen-mode .immersive-topline{display:none}
 .screen-mode .hero.immersive .immersive-stage{grid-template-rows:minmax(0,1fr) auto}
 .screen-mode .screen-archive-head{grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .screen-mode .screen-title-row{display:block}
 .screen-mode .screen-title-row .text-link{display:inline-block;margin-top:8px}
 .screen-mode .archive-tools label{width:230px}
 .screen-mode .join-invite{gap:12px;padding-top:18px;padding-bottom:18px}
 .screen-mode .join-invite h2{font-size:30px}
 .screen-mode .qr-link{width:136px;flex-basis:136px}
 .screen-mode .qr-instructions h3{font-size:20px}
 .screen-mode .stand-panel .stand-help{display:none}
 .screen-mode .event{padding:24px}
}
@media(prefers-reduced-motion:reduce){
 .screen-mode .module-enter{animation:none}
}
/* En horizontal se aprovecha el ancho para conservar texto y controles. */
@media(min-width:500px) and (max-height:520px){
 .screen-mode .nav-shell{min-height:52px;padding:4px 4%}
 .screen-mode .top-nav{display:flex;flex-wrap:nowrap;gap:18px;width:auto}
 .screen-mode .site-header .module-link{font-size:14px;min-height:44px}
 .screen-mode #main-content>section{padding-top:calc(var(--header-height) + 12px);padding-bottom:12px}
 .screen-mode .section h1,.screen-mode .section h2{font-size:26px}
 .screen-mode .hero.immersive .immersive-stage{grid-template-rows:minmax(0,1fr) auto;padding:calc(var(--header-height) + 12px) 6% 14px;gap:12px}
 .screen-mode .immersive-topline,.screen-mode .immersive-scene .eyebrow{display:none}
 .screen-mode .immersive-scene h1,.screen-mode .immersive-scene h2{font-size:34px;line-height:1.08;margin:0 0 10px}
 .screen-mode .immersive-scene h1 br,.screen-mode .immersive-scene h2 br{display:none}
 .screen-mode .immersive-scene>p:not(.eyebrow){font-size:16px;line-height:1.45;margin:0 0 12px}
 .screen-mode .immersive-scene p br{display:none}
 .screen-mode .immersive-scene>.button{min-height:44px;padding:10px 16px}
 .screen-mode .immersive-bottom{display:flex;gap:18px}
 .screen-mode .immersive-chapters{max-width:400px;gap:14px}
 .screen-mode .screen-home-actions{flex-wrap:nowrap;gap:8px}
 .screen-mode #fair-archive{gap:12px}
 .screen-mode .screen-archive-head{grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .screen-mode .screen-archive-head .screen-title-row{display:block}
 .screen-mode .screen-archive-head .text-link{display:inline-block;font-size:13px;margin-top:6px}
 .screen-mode .archive-tools label{width:210px;flex:none}
 .screen-mode .archive-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 .screen-mode .archive-card-body{padding:14px;gap:9px}
 .screen-mode .archive-card-body h2{font-size:24px}
 .screen-mode .archive-card-body p{display:none}
 .screen-mode #agenda{grid-template-rows:44px minmax(0,1fr);gap:12px}
 .screen-mode #agenda .section-head{justify-content:center;align-items:start;gap:0}
 .screen-mode #agenda .section-head .eyebrow,.screen-mode #agenda .section-head>p{display:none}
 .screen-mode #agenda .tabs{position:absolute;top:calc(var(--header-height) + 12px);right:calc(5% + 260px)}
 .screen-mode #agenda .tabs button{font-size:14px;padding:8px 12px;min-height:40px}
 .screen-mode #agenda .screen-pager{position:absolute;top:calc(var(--header-height) + 12px);right:5%;gap:8px}
 .screen-mode #agenda .screen-pager button{min-height:40px;padding:8px 12px}
 .screen-mode #agenda .screen-page-status{min-width:40px;max-width:58px;font-size:12px}
 .screen-mode .event{display:grid;grid-template-columns:110px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:18px;padding:18px 24px}
 .screen-mode .event time{font-size:40px;grid-row:1}
 .screen-mode .event h3{font-size:24px;margin-bottom:10px}
 .screen-mode .event p{font-size:16px;line-height:1.5}
 .screen-mode .event-tag{display:none}
 .screen-mode #ediciones{gap:12px}
 .screen-mode #ediciones>div:first-child>p{display:none}
 .screen-mode .edition-card{grid-template-columns:230px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:10px 24px;padding:14px 20px}
 .screen-mode .edition-card>label{grid-column:1;grid-row:1}
 .screen-mode .edition-card>select{grid-column:1;grid-row:2}
 .screen-mode .edition-card>.edition-info{grid-column:2;grid-row:1/-1;padding:0}
 .screen-mode .edition-card>.screen-pager{grid-column:1;grid-row:3;align-self:end;gap:8px}
 .screen-mode .edition-card>.screen-pager button{padding:8px 10px;min-height:40px}
 .screen-mode .edition-card>.screen-pager .screen-page-status{font-size:12px;min-width:0}
 .screen-mode .screen-edition-page .pill{font-size:12px;padding:4px 8px;margin:0 0 8px}
 .screen-mode .screen-edition-page h3{font-size:24px;margin-bottom:12px}
 .screen-mode .screen-edition-page p{font-size:16px;line-height:1.5}
 .screen-mode .screen-edition-page .facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .screen-mode .screen-edition-page .facts small,.screen-mode .screen-edition-page .facts strong{line-height:1.4}
 .screen-mode .screen-edition-page .facts div:last-child{grid-column:1/-1}
 .screen-mode .screen-edition-page .note{display:none}
 .screen-mode #nosotros{gap:12px}
 .screen-mode .screen-about-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 .screen-mode .screen-about-copy{padding:14px;gap:14px}
 .screen-mode .screen-about-copy h2,.screen-mode .screen-about-copy h3{display:none}
 .screen-mode .screen-about-copy p{font-size:16px;line-height:1.5}
 .screen-mode #unete{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:var(--header-height) 0 0}
 .screen-mode #unete .join-photo,.screen-mode #unete.show-join-photo .join-photo{display:block;height:100%;padding:0}
 .screen-mode #unete .join-invite,.screen-mode #unete.show-join-photo .join-invite{display:flex;padding:14px 6%;gap:12px;justify-content:center}
 .screen-mode .join-invite h2{font-size:28px}
 .screen-mode .join-invite>p{display:none}
 .screen-mode .qr-link{width:122px;flex-basis:122px}
 .screen-mode .qr-invitation{gap:14px}
 .screen-mode .qr-label{display:none}
 .screen-mode .qr-instructions h3{font-size:18px}
 .screen-mode .qr-instructions p{font-size:14px;line-height:1.4}
 .screen-mode .screen-join-toggle{display:none}
 .screen-mode .join-photo figcaption{bottom:20px}
 .screen-mode .join-photo figcaption strong{font-size:24px}
 .screen-mode #mapa{gap:10px}
 .screen-mode .actual-map .map-intro{display:block}
 .screen-mode .actual-map .map-intro>p{display:none}
 .screen-mode .fair-map-body{grid-template-columns:minmax(0,1fr) 185px;grid-template-rows:minmax(0,1fr)}
 .screen-mode .stand-panel{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px;border-left:1px solid #e7dbf3;border-top:0}
 .screen-mode .stand-panel label{font-size:0;line-height:0;gap:0}
 .screen-mode .stand-panel select{font-size:14px;min-height:44px}
 .screen-mode .stand-details .selected-stand-number,.screen-mode .stand-details h3,.screen-mode .stand-panel .stand-help{display:none}
 .screen-mode .stand-details p{font-size:13px!important;line-height:1.45}
 .screen-mode .map-legend{display:none}
 .screen-mode .edition-archive-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px;align-content:center}
 .screen-mode .edition-archive-facts strong{font-size:16px}
 .screen-mode .edition-archive-facts>p{display:none}
 .screen-mode .detail-banner h1,.screen-mode .detail-banner.halloween h1{font-size:26px}
 .screen-mode .screen-detail-head{display:flex}
 .screen-mode .screen-detail-head>.text-link{margin:0}
}
@media(min-width:500px) and (max-width:640px) and (max-height:520px){
 .screen-mode #agenda .section-head h2{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .screen-mode #agenda .tabs{left:5%;right:auto}
 .screen-mode .edition-card{grid-template-columns:180px minmax(0,1fr);padding:12px;gap:10px 16px}
 .screen-mode .edition-card>.screen-pager .screen-page-status{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .screen-mode .collage-heading{display:flex;align-items:center;justify-content:space-between}
 .screen-mode .collage-heading h2{display:none}
 .screen-mode .collage-heading .eyebrow{margin:0;font-size:12px}
 .screen-mode .collage-heading-actions{margin:0;gap:12px}
 .screen-mode #momentos{gap:12px}
 .screen-mode .stand-panel{padding:8px;gap:4px}
 .screen-mode .stand-panel select{min-height:40px;padding-top:8px;padding-bottom:8px}
 .screen-mode .stand-details p{font-size:12px!important;line-height:1.4}
 .screen-mode .fair-map-app:has(#focus-stand:disabled) .stand-details p{display:none}
 .screen-mode .detail-tabs{position:absolute;top:calc(var(--header-height) + 12px);right:5%;gap:20px}
 .screen-mode #fair-detail{grid-template-rows:44px minmax(0,1fr);gap:12px}
 .screen-mode .screen-detail-head{gap:16px}
 .screen-mode .detail-banner h1,.screen-mode .detail-banner.halloween h1{font-size:23px}
 .screen-mode .edition-archive-facts{padding:12px;gap:12px}
}
@media(min-width:500px) and (max-height:350px){
 .screen-mode .edition-card{padding-top:8px;padding-bottom:8px}
 .screen-mode .immersive-scene>p:not(.eyebrow){display:none}
 .screen-mode .immersive-scene h1,.screen-mode .immersive-scene h2{font-size:30px}
 .screen-mode .archive-card-body small{display:none}
 .screen-mode #unete .join-invite,.screen-mode #unete.show-join-photo .join-invite{padding:10px 6%;gap:8px}
 .screen-mode .join-invite h2{font-size:24px}
 .screen-mode .qr-link{width:100px;flex-basis:100px}
 .screen-mode .qr-instructions p{display:none}
 .screen-mode .whatsapp-button{font-size:14px;min-height:44px;padding:10px 12px}
}
