/* Recursos originales; fuente comercial de marca pendiente. */
.fx-library{max-width:960px;margin:0 auto;padding:18px 20px 40px;color:#111;text-align:left}.fx-library *{box-sizing:border-box}.fx-library a:focus-visible{outline:3px solid #0d7cd1;outline-offset:5px}
.fx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.fx-original-banner{margin:0 auto 22px;max-width:620px}.fx-original-banner img{display:block;width:100%;height:auto}.fx-phonemes{max-width:620px;margin:0 auto}
.fx-library h1,.fx-library h2{color:#111!important;line-height:1.2}.fx-library h1{font-size:clamp(26px,3vw,36px);margin:0}.fx-library h2{font-size:24px;margin:0 0 16px}
.fx-phoneme-link{display:flex;align-items:center;gap:20px;border:2px solid #0d7cd1;border-radius:12px;background:#fff;padding:18px 22px;min-height:76px;color:#111!important;text-decoration:none!important}.fx-phoneme-link strong{font-size:30px;color:#0d7cd1}.fx-phoneme-action{margin-left:auto;font-weight:700;color:#0d7cd1;white-space:nowrap}.fx-phoneme-link:hover{background:#fff1f0}
.fx-library__crumbs{margin-bottom:22px;font-size:15px}.fx-library__crumbs a,.fx-game-return a{color:#0d7cd1!important;text-decoration:underline}.fx-library__intro{margin-bottom:24px}
.fx-game-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.fx-game-card{background:#fff;border:2px solid #0d7cd1;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.fx-game-card+article{border-color:#f9754b}
.fx-memory-preview{display:block;width:100%;height:170px;object-fit:contain;padding:10px;background:#fff}.fx-game-card__preview{height:170px;display:flex;align-items:center;justify-content:center;padding:14px;background:#fff}.fx-game-card__body{padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:1}.fx-game-card__body h2{font-size:26px;margin:0}.fx-game-card__body p{margin:0!important;color:#111;line-height:1.5}.fx-game-card__body small{font-size:14px;color:#444}
.fx-library__button{display:inline-flex;align-items:center;justify-content:center;background:#fbc34a;color:#fff!important;border-radius:10px;padding:12px 16px;min-height:48px;font-weight:700;text-decoration:none!important;margin-top:auto}.fx-game-card__body .fx-library__button{margin-top:8px}.fx-library__button:hover{background:#f9754b}
.fx-mini-match{gap:14px}.fx-mini-match div{position:relative;width:138px;height:138px;border:4px solid #fbc34a;border-radius:50%;background:#fff;flex-shrink:0}.fx-mini-match div+div{border-color:#ee7ea3}.fx-mini-match img{position:absolute;object-fit:contain;width:46px;height:46px;left:20px;top:13px;transform:rotate(-35deg)}.fx-mini-match img:nth-child(2){width:38px;height:38px;left:76px;top:55px;transform:rotate(100deg)}.fx-mini-match img:nth-child(3){width:58px;height:58px;left:14px;top:60px;transform:rotate(175deg)}.fx-mini-match div+div img:first-child{left:13px;top:15px;transform:rotate(-120deg)}.fx-mini-match div+div img:nth-child(2){left:79px;top:23px}.fx-mini-match div+div img:nth-child(3){left:41px;top:70px}
.fx-library-shell{margin:0;background:#fff;font-family:Arial,sans-serif}.fx-library-shell__header,.fx-library-shell__footer{max-width:960px;margin:auto;padding:20px;display:flex;justify-content:space-between;align-items:center}.fx-library-logo img{display:block;width:140px;height:auto}.fx-game-return{max-width:1100px;margin:0 auto 18px;padding:0 20px}.fx-memory-logo{object-fit:contain;width:118px;height:auto}
.fx-game-frame{display:block;border:0;width:100%;height:900px;background:#fff1f0}.fx-game-frame.is-immersive{position:fixed;inset:0;width:100vw;height:100dvh;z-index:2147483647}.fx-frame-open{overflow:hidden}
#theme-section-page-body-1 .fx-library a.fx-library__button{color:#fff!important}
#theme-section-page-body-1 .fx-phoneme-link>span{color:#111!important}
#theme-section-page-body-1 .fx-phoneme-link>strong,#theme-section-page-body-1 .fx-phoneme-link>.fx-phoneme-action{color:#0d7cd1!important}
#theme-section-page-body-1 .fx-library a.fx-library__button *{color:#fff!important}
@media(max-width:699px){.fx-library{padding:12px 12px 28px}.fx-original-banner{margin-bottom:18px}.fx-phoneme-link{gap:12px;padding:15px;flex-wrap:wrap}.fx-phoneme-action{font-size:14px}.fx-game-list{grid-template-columns:1fr;gap:18px}.fx-game-card__body{padding:18px}.fx-game-card__body h2{font-size:24px}.fx-game-frame{height:1100px}}
/* Referencia del propietario: círculos y píldoras de color de «Elige por fonema». */
#theme-section-page-body-1 .fx-library h1,#theme-section-page-body-1 .fx-library h2{font-family:'Baloo 2',sans-serif!important;font-weight:700!important}
#theme-section-page-body-1 .fx-library__crumbs a{color:#0d7cd1!important}
.fx-phoneme-link{display:grid;grid-template-columns:90px 1fr auto;gap:20px;border:0;border-radius:0;background:transparent;padding:0;min-height:90px}
.fx-phoneme-link:hover{background:transparent}
.fx-phoneme-link>strong{display:flex;align-items:center;justify-content:center;width:90px;height:90px;border-radius:50%;background:#ee7ea3;font-family:'Baloo 2',sans-serif;font-size:34px}
.fx-phoneme-link>span:not(.fx-phoneme-action){font-size:20px;font-weight:700}
.fx-phoneme-action{margin:0;background:#0d7cd1;border-radius:999px;padding:13px 24px;font-family:'Baloo 2',sans-serif;font-size:20px;font-weight:700;text-align:center}
#theme-section-page-body-1 .fx-phoneme-link>strong{color:#fff!important}
#theme-section-page-body-1 .fx-phoneme-link>.fx-phoneme-action{color:#fff!important}
.fx-game-card{border:4px solid #fbc34a;border-radius:28px}
.fx-game-card+article{border-color:#ee7ea3}
.fx-memory-preview{background:#fff8df;height:190px;padding:16px}
.fx-game-card__preview{background:#fff1f0;height:190px}
.fx-library__button{border-radius:999px;padding:13px 24px;min-height:52px;font-family:'Baloo 2',sans-serif;font-size:20px;background:#0d7cd1}
#theme-section-page-body-1 .fx-library a.fx-library__button{color:#fff!important}
.fx-game-card+article .fx-library__button{background:#fbc34a}
#theme-section-page-body-1 .fx-game-card+article a.fx-library__button{color:#fff!important}
.fx-library__button:hover{background:#0d7cd1;filter:brightness(.96)}
.fx-game-card+article .fx-library__button:hover{background:#fbc34a}
@media(max-width:699px){.fx-phoneme-link{grid-template-columns:72px 1fr;gap:8px 18px;padding:0}.fx-phoneme-link>strong{width:72px;height:72px;grid-row:span 2;font-size:30px}.fx-phoneme-link>span:not(.fx-phoneme-action){font-size:18px}.fx-phoneme-action{grid-column:2;justify-self:start;padding:8px 20px;font-size:18px}.fx-library__button{width:100%;font-size:18px}.fx-memory-preview,.fx-game-card__preview{height:165px}}
