/* Approved secrets: scoped to their owning views; no global button changes. */
.espejos-secret-trigger[hidden]{display:none!important}


.history-intro .editorial-scene-copy{position:relative;padding-bottom:98px!important}
.history-intro .memory-seal{position:absolute;bottom:22px;left:32px;display:flex;flex-direction:column;justify-content:center;align-items:center;width:66px;height:66px;min-height:0;padding:0;border:3px double #b4a075;border-radius:50%!important;background:transparent;color:#d2c09a;box-shadow:inset 0 0 0 4px #b4a07522;transform:rotate(-9deg);cursor:pointer;line-height:1;transition:color .18s,background .18s,transform .18s}
.history-intro .memory-seal .memory-seal-year{font:600 23px/1.1 'Cormorant Garamond',Georgia,serif;letter-spacing:1px}.history-intro .memory-seal .memory-seal-mark{font:10px/1.4 Verdana,sans-serif;letter-spacing:3px;margin-top:2px}
.history-intro .memory-seal:hover{background:#d2c09a1a;color:#fff0cf;transform:rotate(-3deg)}
.history-intro .memory-seal:focus-visible,#contenido .first-mirror button:focus-visible{outline:3px solid #bd8b37;outline-offset:5px}
#contenido .first-mirror{box-sizing:border-box;width:min(880px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #af9362;color:#352e25;background:#f6edda url('../assets/fondo_crema.jpg') repeat;box-shadow:0 28px 100px #0008;overflow:auto;overscroll-behavior:contain}
#contenido .first-mirror::backdrop{background:#080e20c7;backdrop-filter:blur(3px)}
#contenido .first-mirror[open]{animation:mirror-reveal .2s ease-out}
.first-mirror-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 28px;padding-top:13px;border-bottom:1px solid #b5a080}
.first-mirror-kicker{font:10px/1.6 Verdana,sans-serif;letter-spacing:2px;color:#6f5b39}
#contenido .first-mirror .first-mirror-close{width:44px;height:44px;min-height:44px;padding:0;margin:0 0 5px;border:0;background:transparent;box-shadow:none;color:#413826;font:28px/1 Verdana,sans-serif;cursor:pointer}
.first-mirror-heading{position:relative;padding:24px 34px 20px;overflow:hidden}
.first-mirror-number{position:absolute;top:-21px;right:30px;opacity:.07;font:600 145px/1.2 'Cormorant Garamond',Georgia,serif;pointer-events:none}
#contenido .first-mirror .first-mirror-heading h2{position:relative;max-width:22ch;margin:0 0 9px;padding:0;background:none;border:0;color:#17243c;font:600 37px/1.08 'Cormorant Garamond',Georgia,serif;letter-spacing:-.3px}
#contenido .first-mirror .first-mirror-heading h2::before,#contenido .first-mirror .first-mirror-heading h2::after{content:none}
.first-mirror-heading>p{position:relative;max-width:53ch;margin:0;font:15px/1.65 Lora,Georgia,serif;color:#655845}
.first-mirror-content{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:27px;padding:0 34px 25px;align-items:start}
.first-mirror-content figure{margin:0;min-width:0}.first-mirror-content img{display:block;width:100%;height:auto;box-sizing:border-box;border:1px solid #ac976f;box-shadow:0 5px 14px #3e2a1620;background:#05065c}
.first-mirror-content figcaption{margin-top:9px;font:11px/1.6 Verdana,sans-serif;color:#6c5f4b}
.first-mirror-story p{margin:0 0 13px;font:15px/1.75 Lora,Georgia,serif}.first-mirror-story .first-mirror-date{margin:1px 0 8px;color:#17243c;font:600 23px/1.2 'Cormorant Garamond',Georgia,serif}
.first-mirror-story .first-mirror-source{margin-top:20px;padding-top:12px;border-top:1px solid #c9b997;color:#75664e;font:11px/1.6 Verdana,sans-serif}
.first-mirror-bottom{display:flex;justify-content:space-between;align-items:center;padding:17px 34px;border-top:1px solid #c9b997;background:#e8dcc24d;color:#9a8157}
#contenido .first-mirror .first-mirror-return{min-height:44px;padding:10px 17px;border:1px solid #6e785f;border-radius:2px;background:#1c2c45;color:#fff0d3;box-shadow:none;font:12px/1.6 Verdana,sans-serif;cursor:pointer}#contenido .first-mirror .first-mirror-return:hover{background:#2c405f}
html:has(#contenido .first-mirror[open]){overflow:hidden}
@keyframes mirror-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.history-intro .memory-seal{left:22px;bottom:20px}#contenido .first-mirror{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.first-mirror-top{margin:0 20px}.first-mirror-kicker{font-size:9px;letter-spacing:1.3px}.first-mirror-heading{padding:20px 22px}#contenido .first-mirror .first-mirror-heading h2{font-size:31px}.first-mirror-heading>p{font-size:14px}.first-mirror-content{grid-template-columns:1fr;gap:22px;padding:0 22px 20px}.first-mirror-story p{font-size:15px}.first-mirror-story .first-mirror-source{margin-top:14px}.first-mirror-bottom{padding:14px 22px}}
@media(prefers-reduced-motion:reduce){#contenido .first-mirror[open]{animation:none}.history-intro .memory-seal{transition:none}}

#contenido #tongue-inscription{display:block;width:max-content;max-width:100%;min-height:44px;margin:7px 0 -3px;padding:4px 12px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#d2c09a;font:italic 21px/1.3 Lora,Georgia,serif!important;letter-spacing:1px;cursor:pointer}
#contenido #tongue-inscription:hover{color:#fff0cf;text-shadow:0 0 12px #b3945740}
#contenido #tongue-inscription:focus-visible,#contenido #shelf-book:focus-visible{outline:3px solid #bd8b37;outline-offset:3px}
#contenido .tongue-secret{width:min(680px,calc(100vw - 40px))}#contenido .first-mirror [hidden]{display:none!important}
.tongue-challenge{padding:0 34px 25px}.inscription-paper{display:flex;flex-direction:column;align-items:center;gap:2px;margin:4px 0 25px;padding:20px;border-top:1px solid #b6a179;border-bottom:1px solid #b6a179;background:linear-gradient(90deg,transparent,#fff8e455,transparent);color:#9f8353}
#contenido .first-mirror .inscription-paper p{margin:0;color:#26334a;font:italic 46px/1.45 Lora,Georgia,serif;letter-spacing:2px}
#tongue-riddle label{display:block;margin:0 0 10px;color:#3d3428;font:13px/1.6 Verdana,sans-serif}.tongue-answer-row{display:flex;gap:12px;align-items:stretch}
#contenido .first-mirror #tongue-answer{box-sizing:border-box;min-width:0;flex:1;max-width:100%;min-height:46px;padding:9px 12px;border:1px solid #9d8962;border-radius:2px;background:#fffaf0;color:#26334a;font:17px/1.5 Lora,Georgia,serif}#contenido .first-mirror #tongue-answer:focus-visible{outline:3px solid #bd8b37;outline-offset:2px}#contenido .first-mirror #tongue-answer[aria-invalid=true]{border-color:#944b32}
#tongue-status{min-height:1.7em;margin:9px 0 13px;color:#7b3e2b;font:12px/1.7 Verdana,sans-serif}.tongue-hint{color:#605136;font:12px/1.7 Verdana,sans-serif}.tongue-hint summary{width:fit-content;cursor:pointer;text-underline-offset:3px;text-decoration:underline}.tongue-hint p{max-width:53ch;font:14px/1.7 Lora,Georgia,serif}
.fortune-reward{padding:12px 34px 30px;text-align:center}.fortune-reward h3{margin:17px 0 12px;color:#26334a;font:600 33px/1.3 'Cormorant Garamond',Georgia,serif}.fortune-reward h3:focus{outline:0}.fortune-reward>p{max-width:46ch;margin:0 auto 20px;font:16px/1.8 Lora,Georgia,serif}.fortune-reward .first-mirror-source{padding-top:14px;border-top:1px solid #c9b997;color:#75664e;font:11px/1.7 Verdana,sans-serif}
.fortune-dice{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:7px;width:61px;height:61px;margin:5px auto 25px;padding:14px;border:1px solid #a78a54;border-radius:9px;background:#f9f1de;box-shadow:4px 6px 0 #b2a07a,7px 12px 20px #3d2c142a;transform:rotate(-10deg)}.fortune-dice i{border-radius:50%;background:#26334a;box-shadow:inset 0 1px 2px #0004}.fortune-dice i:nth-child(2){grid-column:3}.fortune-dice i:nth-child(3){grid-row:2;grid-column:2}.fortune-dice i:nth-child(4){grid-row:3;grid-column:1}.fortune-dice i:nth-child(5){grid-row:3;grid-column:3}
.espejos-secret-book-wrap{position:relative;min-width:0}.espejos-secret-book-wrap>a.library-section-card{height:100%;box-sizing:border-box}#libro-escondido{scroll-margin-top:100px}
#contenido #shelf-book{position:absolute;left:6px;top:81px;z-index:2;display:grid;place-items:center;width:52px;height:52px;min-height:44px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer;transform:rotate(-4deg)}
.shelf-book-mark{display:grid;place-items:center;width:30px;height:12px;border:1px solid #b79952;border-radius:1px;color:#e7cf8b;background:#624122dd;font:12px/1 Georgia,serif;box-shadow:0 1px 3px #0005;transition:filter .18s}
#shelf-book:hover .shelf-book-mark{filter:brightness(1.4)}.found-book-content{grid-template-columns:190px minmax(0,1fr);gap:35px}.found-book-content figure{text-align:center}#contenido .first-mirror .found-book-cover{width:170px;max-width:100%;margin:0 auto;aspect-ratio:96/145;object-fit:contain;box-shadow:7px 10px 16px #3e2a1630}
.first-mirror-story .found-book-author{margin:1px 0 4px;font:10px/1.6 Verdana,sans-serif;letter-spacing:2px;color:#7d6841}.first-mirror-story h3{margin:0 0 8px;color:#26334a;font:600 33px/1.15 'Cormorant Garamond',Georgia,serif}.first-mirror-story .found-book-credit{font:11px/1.7 Verdana,sans-serif;color:#75664e}
.found-book-content blockquote{margin:19px 0 22px;padding:0 0 0 16px;border-left:2px solid #ad915c;font:italic 15px/1.8 Lora,Georgia,serif;color:#473b2a}.found-review-link{color:#172b4c;font:12px/1.8 Verdana,sans-serif;text-underline-offset:4px}
@media(max-width:600px){.tongue-secret{width:calc(100vw - 24px)}.tongue-challenge{padding:0 22px 22px}#contenido .first-mirror .inscription-paper p{font-size:37px}.tongue-answer-row{gap:9px}.tongue-answer-row .first-mirror-return{padding:9px 11px}.fortune-reward{padding:10px 22px 22px}.fortune-reward>p{font-size:15px}.found-book-content{grid-template-columns:1fr;gap:23px}#contenido .first-mirror .found-book-cover{width:115px}.found-book-content figure{display:flex;gap:18px;align-items:center;text-align:left}.found-book-content figure img{margin:0}.found-book-content figcaption{max-width:14ch;font-size:12px}.first-mirror-story h3{font-size:30px}}
@media(prefers-reduced-motion:reduce){.shelf-book-mark{transition:none}}
@media(max-width:600px){#contenido .tongue-secret{width:calc(100vw - 24px)}}


/* Approved hidden games: same discovery scenes, using native routes and session. */
.trivia-secret-location{position:relative}#contenido .marginal-question{position:absolute;right:12px;bottom:4px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:#b9a883;font:italic 38px/1 'Cormorant Garamond',Georgia,serif;transform:rotate(13deg);cursor:pointer}#contenido .marginal-question:hover{color:#f4dfad;background:#ffffff0c!important}#contenido .history-gallery figure{position:relative}#contenido .lost-seal{position:absolute;right:10px;bottom:46px;display:grid;place-items:center;width:46px;height:46px;min-height:44px;padding:0!important;border:1px solid #a69870!important;border-radius:50%!important;background:radial-gradient(circle at 35% 28%,#fcf9e8,#dcd7bd 58%,#aca78f)!important;box-shadow:1px 3px 5px #0004,inset 0 0 0 3px #efe9d2!important;color:#5b6357;font:32px/1 Georgia,serif;transform:rotate(-14deg);cursor:pointer}#contenido .lost-seal:hover{box-shadow:1px 3px 6px #0005,inset 0 0 0 3px #fff6d6!important}#contenido .marginal-question:focus-visible,#contenido .lost-seal:focus-visible{outline:3px solid #a57b31;outline-offset:4px}
#contenido .hidden-game-dialog{width:min(700px,calc(100vw - 40px))}.hidden-game-reward{padding:0 36px 30px;text-align:center}.hidden-game-reward>p{max-width:44ch;margin:16px auto 23px;font:16px/1.85 Lora,Georgia,serif;color:#594c37}.hidden-game-symbol{display:grid;place-items:center;box-sizing:border-box;width:86px;height:86px;margin:0 auto;border:1px solid #ae955c;border-radius:50%;background:#e4d6b0;color:#263c5e;font:600 65px/1 'Cormorant Garamond',Georgia,serif;box-shadow:inset 0 0 0 4px #f4ead0,inset 0 0 0 5px #b49b64}.puzzle-symbol{background:radial-gradient(circle at 35% 28%,#fffce9,#dbd6b9 60%,#a7ac92);color:#53644f;font-size:65px}.secret-play-form{margin:18px 0 5px}#contenido .secret-play{display:inline-flex;align-items:center;justify-content:center;gap:18px;box-sizing:border-box;max-width:100%;min-height:48px;padding:12px 22px!important;border:1px solid #ad8c4c!important;border-radius:3px!important;background:#233854!important;color:#fff0c9!important;font:13px/1.6 Verdana,sans-serif;cursor:pointer;white-space:normal}#contenido .secret-play:hover{background:#344e72!important}#contenido .secret-play:focus-visible{outline:3px solid #ad8133;outline-offset:4px}#contenido .secret-game-explanation{font-size:16px;margin-bottom:14px}#contenido .secret-spoiler-note{font:11px/1.8 Verdana,sans-serif;color:#75664d}
#contenido .fortune-reward{padding:0 28px 16px}#contenido .fortune-dice{box-sizing:border-box;width:56px;height:56px;padding:10px;gap:5px;margin:2px auto 12px}#contenido .fortune-reward h3{margin:10px 0;font-size:29px}#contenido .fortune-reward>p{margin:0 auto 12px;font-size:15px;line-height:1.65}#contenido .fortune-reward .first-mirror-source{padding-top:10px;font-size:10px;line-height:1.6}#contenido .fortune-reward .secret-spoiler-note{font-size:10px;margin:10px auto 0}
.discovered-games{display:flex;gap:22px;flex-wrap:wrap;padding:10px 20px;background:#1f304a;color:#e5d6b4;font:12px/1.7 Verdana,sans-serif}.discovered-games a{color:#fff0cb;text-underline-offset:4px}
@media(max-width:600px){.discovered-games{gap:12px;font-size:10px;padding:8px 12px}.hidden-game-reward{padding:0 22px 24px}.hidden-game-reward>p{font-size:15px}#contenido .hidden-game-dialog{width:calc(100vw - 24px)}#contenido .secret-play{width:100%}.hidden-game-symbol{width:68px;height:68px;font-size:48px}#contenido .marginal-question{right:8px;bottom:0}#contenido .lost-seal{right:7px;bottom:50px}}
