@charset "UTF-8";
:root{--paper:#f5f0e6;--surface:#fffdf7;--ink:#252821;--muted:#64675c;--line:#d7d3c7;--accent:#a63f2b;--accent-hover:#7f2f20;--stage:#e7e2d7;--text-size:20px;--zoom:1;--focus:#1753a2;--shadow:0 16px 40px #26282026;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 Arial,Helvetica,sans-serif}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.35}a{color:inherit;text-underline-offset:4px}button{background:transparent;border:0}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:4px}button:hover:not(:disabled){color:var(--accent)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:20px;z-index:100;background:var(--ink);color:var(--paper);padding:12px 20px}.skip-link:focus{top:12px}.site-header{max-width:1440px;margin:auto;min-height:100px;padding:24px 6%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{text-decoration:none;display:flex;gap:13px;align-items:center;font-size:16px;letter-spacing:2.4px;font-weight:700;line-height:1.3}.brand-mark{border:1px solid var(--ink);width:45px;height:45px;display:grid;place-items:center;font:italic 35px Georgia,serif;letter-spacing:-3px;padding-right:4px}.brand small{display:block;letter-spacing:2px;font-size:9px;margin-top:7px;font-weight:400}.site-header nav{display:flex;align-items:center;gap:28px;font-size:12px}.site-header nav>a{text-decoration:none}.edition-tag{border:1px solid var(--line);padding:6px 12px;font-size:10px;letter-spacing:1.5px}.intro{max-width:1270px;margin:0 auto;padding:40px 35px 28px;display:flex;justify-content:space-between;align-items:end;gap:35px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--muted);margin:0 0 12px}h1{font:normal clamp(40px,4.3vw,65px)/1.03 Georgia,serif;letter-spacing:-2px;margin:0 0 12px}h1 em{font-weight:normal;color:var(--accent)}.intro-copy{font-size:16px;margin:0;color:var(--muted)}.intro-copy span{font-family:Georgia,serif;font-style:italic;color:var(--ink)}.intro-note{font-size:12px;line-height:1.8;color:var(--muted);min-width:205px}.intro-note p{margin:10px 0 0}.small-rule{width:35px;height:2px;display:block;background:var(--accent)}.text-button{padding:0;text-decoration:underline;text-underline-offset:4px;font-size:12px}.intro-note .text-button{margin-top:10px;color:var(--accent)}.reader{max-width:1270px;margin:0 auto;padding:0 35px}.reader-toolbar{border:1px solid var(--line);background:var(--surface);padding:11px 16px;display:flex;justify-content:space-between;gap:15px;align-items:center;border-radius:5px 5px 0 0}.mode-switch{display:flex;background:var(--paper);padding:3px;border-radius:4px;gap:2px}.mode-switch button{padding:6px 15px;border-radius:2px;font-size:12px;min-height:36px}.mode-switch button.active{background:var(--ink);color:var(--surface)}.mode-switch button span{margin-right:5px}.tool-actions{display:flex;gap:10px;align-items:center}.tool-actions button{font-size:12px;display:flex;align-items:center;gap:7px;padding:8px 9px;min-height:40px}.tool-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}.tool-actions #open-access{border-left:1px solid var(--line);padding-left:18px}.tool-actions #open-access>span:first-child{font-family:Georgia,serif;font-size:20px}.book-stage{position:relative;background:var(--stage);min-height:430px;overflow:hidden;isolation:isolate}.book-stage:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,#ffffff55,transparent 75%);pointer-events:none;z-index:-1}.page-scroll{overflow:auto;width:100%;padding:30px 65px 42px;max-height:950px;scrollbar-color:var(--muted) var(--stage);touch-action:pan-x pan-y pinch-zoom}.pages{display:flex;justify-content:center;align-items:center;margin:auto;width:calc(100% * var(--zoom));min-width:100%;min-height:390px;perspective:2200px;transform-origin:center}.page{margin:0;position:relative;flex:0 1 auto;min-width:0;max-width:50%;background:#fff;box-shadow:var(--shadow)}.page:only-child{max-width:57%}.page img{display:block;max-width:100%;max-height:64vh;max-height:64svh;width:auto;height:auto;min-height:100px;object-fit:contain;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.zoomed .page img{max-height:calc(64svh * var(--zoom))}.page:nth-child(1):not(:only-child):after{content:"";position:absolute;right:0;top:0;bottom:0;width:17px;background:linear-gradient(to left,#0002,transparent);pointer-events:none}.page:nth-child(2):before{content:"";position:absolute;left:0;top:0;bottom:0;width:16px;background:linear-gradient(to right,#0002,transparent);pointer-events:none}.page img.failed{display:none}.image-error{width:280px;max-width:100%;padding:35px;text-align:center;color:#34372f}.image-error button{border:1px solid #9e9e92;border-radius:2px;padding:7px 14px}.stage-arrow{position:absolute;top:46%;z-index:2;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);width:38px;height:52px;border-radius:50px;box-shadow:0 3px 10px #0000000a;font:32px Georgia,serif}.prev-arrow{left:16px}.next-arrow{right:16px}.stage-caption{position:absolute;bottom:11px;left:22px;right:22px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.7px;color:var(--muted);pointer-events:none}.loading{min-height:430px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px}.loading-mark{font:italic 65px Georgia,serif;color:var(--accent)}.loading p{font-size:12px;letter-spacing:1px}.loading~.page-scroll{display:none}.reader-bottom{background:var(--surface);border:1px solid var(--line);border-top:0;padding:14px 22px 12px;border-radius:0 0 5px 5px}.page-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-navigation button{min-height:42px;padding:6px 0;font-size:12px;min-width:95px}.page-navigation button:first-child{text-align:left}.page-navigation button:last-child{text-align:right}.page-navigation button span:first-child:not(.word){margin-right:7px}.page-navigation button span:last-child:not(.word){margin-left:7px}#page-status{text-align:center;font-size:12px;margin:0;color:var(--muted)}.progress-row{display:flex;gap:22px;align-items:center}.progress-row>input{flex:1;width:40%;accent-color:var(--accent);height:24px}#goto-form{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}#goto{width:59px;background:var(--paper);border:1px solid var(--line);padding:3px 5px;border-radius:3px;color:var(--ink);font-size:12px}#goto-form button{padding:4px 7px;border:1px solid var(--line);border-radius:3px}.reader-hints{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted);padding-top:13px}.reader-hints span span{font-size:15px;margin-right:5px}.text-stage{background:var(--surface);border:1px solid var(--line);padding:35px max(30px,9%);min-height:430px;max-height:75vh;overflow:auto}.text-header{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:25px}.text-header .eyebrow{margin:0}.page-text{font-family:Georgia,serif;font-size:var(--text-size);line-height:1.85;max-width:72ch;margin:auto;overflow-wrap:anywhere}.page-text p{white-space:pre-line;margin:0 0 1.3em}.page-text h2{font-size:1.5em;font-weight:normal}.transcription-note{border-top:1px solid var(--line);padding-top:18px;margin-top:30px;color:var(--muted);font:12px/1.7 Arial,sans-serif}.speech-controls{display:flex;gap:8px;flex-wrap:wrap;font-size:11px}.speech-controls button{border:1px solid var(--line);border-radius:3px;padding:7px 10px}.about-edition{max-width:1200px;margin:65px auto 55px;padding:0 35px;display:grid;grid-template-columns:1fr 3fr;gap:40px;border-top:1px solid var(--line);padding-top:35px}.about-edition>div{display:grid;grid-template-columns:1fr 1fr;gap:20px 35px}.about-edition h2{font:normal 29px/1.3 Georgia,serif;grid-row:span 2;margin:0}.about-edition h2 em{font-weight:normal;color:var(--muted)}.about-edition>div p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.site-footer{max-width:1270px;border-top:1px solid var(--line);padding:25px 35px 40px;margin:auto;display:flex;gap:30px;align-items:center;justify-content:space-between}.footer-brand{font-size:12px;font-weight:700;letter-spacing:2px;white-space:nowrap}.footer-brand small{font-weight:400;margin-left:10px;font-size:11px}.site-footer p{font-size:10px;color:var(--muted);max-width:420px;margin:0}.site-footer button{font-size:10px;white-space:nowrap}dialog{width:min(620px,calc(100% - 32px));max-height:85vh;max-height:85svh;overflow:auto;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);padding:28px;box-shadow:0 20px 100px #0004}dialog::backdrop{background:#161b15aa;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-head h2{font:normal 32px/1.2 Georgia,serif;margin:0}.dialog-head .eyebrow{margin-bottom:8px}.close-dialog{min-width:38px;min-height:38px;font:29px/1 Arial,sans-serif;border:1px solid var(--line);border-radius:50%}.dialog-intro{font-size:13px;color:var(--muted)}.toc-list{display:flex;flex-direction:column;margin:25px 0}.toc-list a{border-top:1px solid var(--line);padding:14px 0;text-decoration:none;display:flex;gap:20px;justify-content:space-between;font:19px Georgia,serif}.toc-list a span:last-child{font:11px/2 Arial,sans-serif;color:var(--muted);white-space:nowrap}.all-pages{font-size:12px}.all-pages summary{padding:12px 0;cursor:pointer}.page-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:15px}.page-grid a{border:1px solid var(--line);border-radius:3px;padding:8px 3px;text-align:center;text-decoration:none;font-size:11px}.search-form{display:flex;gap:8px}.search-form input{min-width:0;flex:1;padding:12px;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:3px;font-size:13px}.search-form button,.primary-button{background:var(--accent);color:#fff;padding:11px 16px;border-radius:3px;font-size:12px}.search-form button:hover,.primary-button:hover{background:var(--accent-hover);color:white!important}#search-summary{font-size:12px;color:var(--muted);margin:20px 0}.search-results{list-style:none;margin:0;padding:0}.search-results li{border-top:1px solid var(--line)}.search-results a{display:block;padding:14px 0;text-decoration:none}.search-results strong{font-size:13px}.search-results p{font-size:12px;line-height:1.7;margin:6px 0 0;color:var(--muted)}.setting{border:0;border-bottom:1px solid var(--line);padding:0 0 20px;margin:0 0 20px}.setting>label:not(.checkbox-label){font-size:13px;display:flex;gap:15px;justify-content:space-between;align-items:center}.setting output{font-size:12px;color:var(--accent)}.setting>input[type=range]{width:100%;accent-color:var(--accent);margin:17px 0 0;height:25px}.setting p,.setting-note{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0 0}.setting legend{font-size:13px;margin-bottom:13px}.theme-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.theme-options label{cursor:pointer;display:flex;align-items:center;justify-content:center;padding:9px 4px;border:1px solid var(--line);border-radius:3px;gap:5px;font-size:11px}.theme-options input{accent-color:var(--accent)}.checkbox-label{display:flex;align-items:center;gap:10px;font-size:13px;margin:14px 0}.checkbox-label input{accent-color:var(--accent);width:18px;height:18px}.setting-note{margin-bottom:20px}.accessible-link{display:block;margin-top:16px;font-size:12px}.help-copy p{font-size:13px;line-height:1.85;color:var(--muted)}.load-error{padding:35px;text-align:center;background:var(--surface);border:1px solid var(--line)}.load-error h2{font:normal 26px Georgia,serif}.load-error button{background:var(--accent);color:#fff;padding:10px 18px;border-radius:3px;margin:10px}.load-error a{display:block}.noscript{padding:20px;background:var(--surface)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;background:var(--ink);color:var(--paper);max-width:calc(100% - 30px);padding:12px 20px;border-radius:4px;font-size:12px;text-align:center}.print-notice{display:none}.pages.turn-forward{animation:turnForward .36s ease both}.pages.turn-back{animation:turnBack .36s ease both}@keyframes turnForward{from{opacity:.4;transform:rotateY(-6deg) translateX(12px)}to{opacity:1;transform:rotateY(0) translateX(0)}}@keyframes turnBack{from{opacity:.4;transform:rotateY(6deg) translateX(-12px)}to{opacity:1;transform:rotateY(0) translateX(0)}}
body[data-theme=sepia]{--paper:#efe1c5;--surface:#fff1d5;--ink:#49351e;--muted:#725c40;--line:#c9b595;--stage:#ddc7a4;--accent:#8c361b}body[data-theme=dark]{--paper:#1b201c;--surface:#252c26;--ink:#f1efdf;--muted:#c0c7b8;--line:#4a5547;--stage:#111711;--accent:#f2ad8f;--accent-hover:#783722;--focus:#9bc6ff;color-scheme:dark}body[data-theme=contrast]{--paper:#000;--surface:#000;--ink:#fff;--muted:#fff;--line:#fff;--stage:#000;--accent:#ffed72;--focus:#52dcff;color-scheme:dark}body[data-theme=contrast] .mode-switch button.active{background:#fff;color:#000}body[data-theme=contrast] .search-form button,body[data-theme=contrast] .primary-button{background:#ffed72;color:#000}body[data-theme=contrast] a{text-decoration:underline}body[data-theme=contrast] .brand,body[data-theme=contrast] .toc-list a,body[data-theme=contrast] .page-grid a{text-decoration:none}body.reduce-motion *{animation:none!important;scroll-behavior:auto!important;transition:none!important}.reader:fullscreen{max-width:none;padding:20px;background:var(--paper);height:100%;overflow:auto}.reader:fullscreen .page img{max-height:70svh}.reader:fullscreen .zoomed .page img{max-height:calc(70svh * var(--zoom))}.reader:fullscreen .reader-hints{display:none}
@media(min-width:1500px){.page img{max-height:660px}.zoomed .page img{max-height:calc(660px * var(--zoom))}}
@media(max-width:850px){.site-header{padding:20px 25px;min-height:85px}.site-header nav{gap:18px}.intro{padding:30px 25px 24px}.reader{padding:0 25px}.intro-note{display:none}.about-edition{grid-template-columns:1fr;gap:15px;margin:45px 25px;padding:25px 0 0}.about-edition>div{grid-template-columns:1fr 1fr}.site-footer{margin:0 25px;padding:22px 0 35px;flex-wrap:wrap;gap:15px}.site-footer p{order:3;max-width:none;width:100%}.reader-hints>span:last-child{display:none}.tool-actions{gap:0}.tool-actions #open-access{padding-left:12px}.reader-toolbar{padding:9px 10px}.mode-switch button{padding:6px 10px}}
@media(max-width:650px){.site-header{padding:18px 18px;min-height:80px}.brand{font-size:13px;gap:10px;letter-spacing:1.9px}.brand-mark{width:37px;height:37px;font-size:29px}.brand small{font-size:8px;letter-spacing:1.2px;margin-top:6px}.site-header nav>a{display:none}.edition-tag{font-size:8px;padding:5px 8px}.intro{padding:28px 18px 22px}.intro .eyebrow{font-size:8px;letter-spacing:1.6px}h1{font-size:44px;letter-spacing:-1.5px}.intro-copy{font-size:14px}.reader{padding:0 12px}.reader-toolbar{padding:8px;gap:6px;flex-wrap:wrap}.tool-actions{gap:1px}.tool-actions button{padding:7px;gap:4px;font-size:11px;min-height:36px}.tool-actions #open-access{padding-left:8px}.tool-actions #open-access>span:last-child{display:none}.tool-actions #fullscreen{padding-right:1px}.mode-switch button{padding:5px 9px;font-size:11px;min-height:33px}.book-stage{min-height:380px}.page-scroll{padding:24px 34px 37px;max-height:800px}.pages{min-height:330px}.page,.page:only-child{max-width:100%;flex:0 1 auto}.page img{max-height:63svh;max-width:100%;width:auto}.zoomed .page img{max-height:calc(63svh * var(--zoom));width:100%}.zoomed .page{flex:1;max-width:100%}.stage-arrow{width:29px;height:43px;font-size:25px;top:44%}.prev-arrow{left:3px}.next-arrow{right:3px}.stage-caption{font-size:6px;left:12px;right:12px;letter-spacing:1.2px;bottom:10px}.reader-bottom{padding:9px 12px}.page-navigation{gap:5px}.page-navigation button{min-width:45px;min-height:40px;font-size:11px}.page-navigation .word{display:none}#page-status{font-size:10px}.progress-row{gap:12px}#goto-form{gap:5px}#goto{width:49px}#goto-form label{font-size:10px}.reader-hints{padding:11px 4px 0;font-size:9px}.about-edition{margin:35px 20px}.about-edition>div{display:block}.about-edition h2{font-size:28px;margin-bottom:18px}.about-edition>div p{margin-bottom:12px}.site-footer{margin:0 20px;align-items:start}.footer-brand{font-size:11px}.site-footer button{font-size:9px;white-space:normal;text-align:right;max-width:140px}.site-footer p{font-size:9px}.text-stage{padding:24px 20px;max-height:72svh}.text-header{display:block}.text-header .eyebrow{margin-bottom:12px}.page-text{line-height:1.8}dialog{padding:22px;width:calc(100% - 24px)}.dialog-head h2{font-size:28px}.theme-options{grid-template-columns:repeat(2,1fr)}.page-grid{grid-template-columns:repeat(4,1fr)}.search-form{flex-wrap:wrap}.search-form input{flex-basis:65%}.reader:fullscreen{padding:8px}.reader:fullscreen .page img{max-height:65svh}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pages{animation:none!important}}
@media print{body>*{display:none!important}.print-notice{display:block!important;font:16px/1.6 Arial,sans-serif;color:#000}}

/* Identidad compartida con la web de la barraca. */
.brand-logo{display:block;width:184px;height:auto;max-width:100%;object-fit:contain;filter:brightness(0)}.brand-logo.brand-logo-footer{width:140px}[data-theme=dark] .brand-logo,[data-theme=contrast] .brand-logo{filter:brightness(0) invert(1)}@media(max-width:480px){.brand-logo{width:154px}.brand-logo.brand-logo-footer{width:130px}}
.site-header{padding-top:10px;padding-bottom:10px}.footer-brand{display:flex;align-items:center;gap:14px}.footer-brand small{margin-left:0}
