@font-face{font-family:Signika;src:url('/documentos/Signika-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#20194b;--muted:#6e687f;--blue:#030085;--orange:#ff6000;--magenta:#8a016d;--paper:#fffaf6;--line:#e7e0e9;--green:#14755e;--shadow:0 8px 30px #25184908;color-scheme:light;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-size:16px}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}a{color:var(--blue)}button svg{width:24px;height:24px}button img{width:22px;height:22px}[hidden]{display:none!important}:focus-visible{outline:3px solid #a34209;outline-offset:4px}h1,h2,h3,.brand,.choice-name,.big-value{font-family:Signika,system-ui,sans-serif;font-weight:700}h1{font-size:clamp(1.9rem,5vw,2.6rem);line-height:1.1;letter-spacing:-.02em;margin:10px 0 14px}h2{font-size:1.3rem;margin:0 0 12px}h3{font-size:1.08rem;margin:0 0 6px}p{line-height:1.55;margin:0 0 16px}.muted,.subtitle{color:var(--muted)}.subtitle{max-width:55ch;font-size:1rem}.small{font-size:.875rem}.eyebrow{font-size:.73rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--magenta);margin:0 0 12px}.header{max-width:1080px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px 32px 20px;gap:20px}.brand{display:flex;align-items:baseline;gap:9px;text-decoration:none;line-height:1}.brand span{font-size:1.8rem;color:var(--orange)}.brand small{font-family:system-ui,sans-serif;font-size:.9rem;font-weight:500;color:var(--ink)}.icon-button{background:transparent;border:1px solid var(--line);border-radius:50%;width:44px;min-width:44px;height:44px;display:grid;place-items:center}
main{max-width:1080px;margin:0 auto;padding:24px 32px 40px;min-height:65vh}main:focus{outline:none}.intro{margin-bottom:30px}.intro p:last-child{margin-bottom:0}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.choice{display:flex;flex-direction:column;position:relative;gap:0;background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);transition:border-color .15s,transform .15s}.choice:hover{transform:translateY(-3px);border-color:#b4a4c6}.choice-art{height:174px;display:grid;place-items:center;background:var(--tint,#f1edf9)}.choice-art svg{width:155px;height:134px}.choice-body{padding:22px;display:flex;flex-direction:column;flex:1}.choice-name{font-size:1.38rem;line-height:1.15;margin-bottom:10px}.choice-description{font-size:.9rem;color:var(--muted);line-height:1.5;margin-bottom:20px}.choice-action{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-size:.88rem;font-weight:700;color:var(--blue)}.choice-action span:last-child{font-size:1.35rem}.home-secondary{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.secondary-link{display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;text-decoration:none;color:var(--ink)}.secondary-link svg{width:26px;height:26px;color:var(--magenta);flex-shrink:0}.secondary-link b{display:block;font-size:.95rem}.secondary-link small{display:block;color:var(--muted);line-height:1.4;margin-top:4px}.secondary-link .arrow{margin-left:auto;color:var(--blue)}.footer{max-width:1080px;margin:0 auto;padding:0 32px 32px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.78rem}.footer a{color:inherit}
.narrow{max-width:600px;margin:0 auto}.back{display:inline-flex;align-items:center;gap:8px;padding:8px 0;min-height:44px;color:var(--muted);background:none;border:none;text-decoration:none;margin-bottom:18px;font-size:.9rem}.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:var(--shadow)}.panel+.panel{margin-top:16px}.step{color:var(--magenta);font-size:.8rem;font-weight:700;margin:0 0 12px}.step-line{display:flex;gap:6px;margin-bottom:25px}.step-line i{height:4px;flex:1;border-radius:10px;background:#e9e0ef}.step-line i.on{background:var(--magenta)}.button{border:1px solid transparent;border-radius:13px;min-height:50px;padding:13px 20px;background:var(--blue);color:white;text-decoration:none;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.3;text-align:center}.button.primary{background:var(--blue)}.button.secondary{background:white;border-color:var(--line);color:var(--blue)}.button.quiet{background:transparent;color:var(--muted);border-color:transparent}.button.danger{background:#fff1ef;color:#9c2d23;border-color:#e7b3a9}.full{width:100%}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.actions>*{flex:1;min-width:120px}.stack{display:grid;gap:12px}.requirements{margin:22px 0;padding:0;list-style:none;display:grid;gap:15px}.requirements li{display:flex;gap:12px;line-height:1.45}.requirements li::before{content:'✓';color:var(--green);font-weight:bold}.notice{padding:13px 16px;background:#f0eef8;color:#44365f;border-radius:12px;font-size:.9rem;line-height:1.5;margin:16px 0}.notice.error{background:#fff0ed;color:#923326}.notice.success{background:#ecf6f0;color:#14634e}.notice:empty{display:none}.status{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--green);margin-bottom:16px}.status::before{content:'';width:7px;height:7px;flex-shrink:0;border-radius:50%;background:currentColor}details{border-top:1px solid var(--line);margin-top:22px;padding-top:14px}summary{cursor:pointer;min-height:40px;color:var(--muted);font-size:.9rem;line-height:1.4}details p{font-size:.88rem}details .button{margin-top:8px}.field{display:grid;gap:8px;margin:18px 0}.field label{font-size:.9rem;font-weight:650}.field input,.field select,.field textarea{width:100%;min-width:0;min-height:50px;border:1px solid #cfc6da;background:white;border-radius:10px;padding:12px}.field textarea{resize:vertical;min-height:100px}.field small{color:var(--muted);font-size:.8rem;line-height:1.4}.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.option{background:white;border:1px solid var(--line);padding:20px 14px;border-radius:16px;text-align:left;min-height:100px;color:var(--ink);display:flex;flex-direction:column;gap:8px}.option:hover{border-color:var(--magenta)}.option-symbol{font-family:Signika,system-ui;font-size:1.8rem;line-height:1.2;color:var(--magenta)}.option b{font-family:Signika,system-ui;font-size:1.13rem}.option small{color:var(--muted);font-size:.8rem;line-height:1.4}.object-preview{font-family:Signika,system-ui;text-align:center;font-size:4rem;color:var(--magenta);padding:20px}.camera-box{aspect-ratio:4/3;width:100%;border-radius:16px;overflow:hidden;background:#e8e5ec;display:grid;place-items:center;margin:16px 0;color:var(--muted);text-align:center;padding:0}.camera-box video{width:100%;height:100%;object-fit:contain;display:block}.camera-box p{padding:20px;margin:0}.live-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.live-header h1{font-size:1.7rem;margin:0}.tag{padding:5px 10px;border-radius:7px;background:#f0edf7;font-size:.75rem;color:#5e4c79;display:inline-block}.session-ref{font-size:.8rem;color:var(--muted);margin-top:7px}.prompt{font-family:Signika,system-ui;font-size:clamp(1.5rem,5vw,2rem);line-height:1.3;margin:12px 0;min-height:2.6em}.live-card{border-left:4px solid var(--orange)}.feedback{color:var(--green);font-size:.95rem;min-height:1.6em;margin:0}.live-choice{font-family:Signika,system-ui;font-size:2.2rem;color:var(--magenta);margin:8px 0}.live-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.live-tools .button{flex-direction:column;padding:12px 6px;font-size:.8rem;gap:5px}.finish{margin-top:20px;width:100%;background:transparent;color:var(--blue);border-color:var(--line)}.record-list{display:grid;gap:12px;margin-top:18px}.record-row{width:100%;text-align:left;padding:20px;background:white;border:1px solid var(--line);border-radius:16px;display:block}.record-row b{font-size:1rem}.record-row p{margin:8px 0;font-size:.85rem;color:var(--muted)}.empty{padding:34px 24px;text-align:center;background:white;border:1px dashed #d3c6dc;border-radius:20px;margin:22px 0}.empty svg{width:50px;height:50px;color:#8a719e;margin-bottom:15px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.metric{padding:14px;background:#f7f4fa;border-radius:12px}.metric b{display:block;font-family:Signika,system-ui;font-size:1.5rem;margin-bottom:4px}.metric small{font-size:.77rem;color:var(--muted)}canvas.plot{width:100%;height:auto;background:white;border:1px solid var(--line);border-radius:12px;display:block;margin:14px 0}.session-detail section{margin-top:20px}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compare-grid .panel{padding:18px;margin:0}.compare-grid h2{font-size:1.1rem}.compare-grid .metric-grid{grid-template-columns:1fr}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.86rem}th,td{text-align:left;border-bottom:1px solid var(--line);padding:10px 8px}.material-card{padding:24px;background:white;border:1px solid var(--line);border-radius:18px}.material-card .tag{margin-bottom:12px}.material-card h2{margin-top:0}.material-card p{color:var(--muted);font-size:.9rem}.loading{padding:40px;text-align:center;color:var(--muted)}dialog{max-width:540px;width:calc(100% - 32px);max-height:90dvh;border:1px solid var(--line);border-radius:22px;padding:24px;color:var(--ink);background:var(--paper);overflow:auto}dialog::backdrop{background:#20194b66}dialog h2{font-size:1.5rem}dialog form[method=dialog]{margin-top:20px}.checkbox{display:flex;align-items:center;gap:12px;min-height:48px}.checkbox input{width:22px;height:22px;accent-color:var(--blue)}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:absolute;left:16px;top:-70px;background:white;color:var(--blue);padding:12px;z-index:30}.skip:focus{top:10px}.mirror-mode{padding-bottom:34px}.mirror-note{max-width:600px;margin:0 auto 18px;padding:12px 16px;background:#f0edf7;border-radius:10px;font-size:.85rem}.pattern-board{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:12px;background:#f5f1f8;border-radius:12px;max-width:300px;margin:14px auto}.pattern-board i{display:block;aspect-ratio:1;border:1px solid #a99fb6;border-radius:50%;background:var(--dot,transparent)}
@media(min-width:800px){.live-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.live-layout .camera-box{margin-top:0}.live-wide{max-width:100%}}
@media(max-width:700px){.header{padding:18px 20px 12px}.brand span{font-size:1.65rem}.brand small{font-size:.8rem}main{padding:16px 20px 28px}.intro{margin-bottom:22px}h1{font-size:2rem}.choices{grid-template-columns:1fr;gap:12px}.choice{display:grid;grid-template-columns:96px minmax(0,1fr);border-radius:17px}.choice-art{height:100%;min-height:142px}.choice-art svg{width:88px;height:95px}.choice-body{padding:17px 16px}.choice-name{font-size:1.22rem;margin-bottom:6px}.choice-description{font-size:.8rem;margin-bottom:10px}.choice-action{font-size:.78rem}.home-secondary{grid-template-columns:1fr;gap:10px;margin-top:20px}.secondary-link{padding:16px}.footer{padding:0 20px 25px;font-size:.74rem;flex-wrap:wrap;gap:12px}.panel{padding:20px}.prompt{font-size:1.55rem}.compare-grid{grid-template-columns:1fr}.back{margin-bottom:10px}.live-header h1{font-size:1.5rem}.live-tools{gap:7px}.live-tools .button{min-height:68px}.narrow h1{font-size:1.85rem}}
@media(max-width:350px){main{padding-inline:14px}.header{padding-inline:14px}.choice{grid-template-columns:78px minmax(0,1fr)}.choice-art svg{width:72px}.choice-body{padding:15px 12px}.brand{gap:6px}.brand small{font-size:.75rem}.option-grid{gap:9px}.option{padding:15px 12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.session-ref,.record-row,.compare-grid h2,.live-header h1{overflow-wrap:anywhere;min-width:0}.live-header>div{min-width:0}.metric{min-width:0}.metric b{overflow-wrap:anywhere}
@media(forced-colors:active){.choice,.option,.button,.secondary-link{border:1px solid ButtonText}.choice-art{background:Canvas}.status{color:CanvasText}}

/* Camera feedback stays visible while activities are paused for adjustment. */
.camera-box{position:relative;background:#151322}
.camera-box .camera-overlay{display:block;width:100%;height:auto;pointer-events:none}
.tracking-signal{padding:10px 12px;border-radius:10px;background:#fff0d5;color:#795014;font-size:.9rem;margin:10px 0}
.tracking-signal.detected{background:#e5f7ee;color:#106848}
.camera-panel{min-width:0}
@media(max-width:799px){.live-layout{display:flex;flex-direction:column;gap:16px}.live-layout>div{width:100%}.camera-panel{order:-1}.camera-panel .camera-box{margin-top:0}}

dialog.camera-adapt{max-width:920px}
.adapt-layout{display:grid;gap:18px;align-items:start}
.adapt-preview,.adapt-controls{min-width:0}
.camera-adapt #adapt-camera{position:relative;width:min(100%,calc(30dvh * var(--camera-ratio,1.333)));margin:0 auto}
.adapt-controls .interaction-choices{margin-top:0}
.adapt-controls select{font-size:.875rem}
@media(min-width:800px){.adapt-layout{grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:24px}}
.interaction-choices{padding:0;border:0;margin:20px 0;min-width:0}
.interaction-choices legend{font-family:Signika,system-ui;font-size:1.25rem;font-weight:700;margin-bottom:10px}
.interaction-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.interaction-option{position:relative;display:grid;justify-items:center;gap:8px;padding:12px 8px;border:2px solid var(--line);border-radius:14px;background:white;cursor:pointer;text-align:center;min-width:0}
.interaction-option:has(input:checked){border-color:var(--blue);background:#f2f0ff}
.interaction-option:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:3px}
.interaction-option input{position:absolute;top:10px;left:10px;width:19px;height:19px;margin:0;accent-color:var(--blue)}
.interaction-art svg{display:block;width:108px;height:110px;max-width:100%}
.interaction-label b{display:block;font-size:.95rem}
.interaction-label small{display:block;font-size:.76rem;color:var(--muted);line-height:1.3;margin-top:5px}
.accessory-option{grid-column:1/-1;grid-template-columns:100px 1fr;align-items:center;text-align:left;padding:12px 16px}
.accessory-option .interaction-art svg{width:100px;height:96px}
@media(max-width:350px){.interaction-art svg{width:90px;height:96px}.interaction-option{padding-inline:5px}}

.play-status{padding:12px;border-radius:10px;background:#f0edf7;color:var(--ink);font-size:.9rem;line-height:1.45;min-height:calc(2.9em + 24px)}
.tracking-signal{min-height:calc(3.1em + 20px)}
.play-status[data-state="ready"]{background:#e5f7ee;color:#106848}
.play-status:is([data-state="paused"],[data-state="audio"],[data-state="reference"]){background:#fff0d5;color:#795014}
.home-voices{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:20px}.home-voices .button svg{width:22px;height:22px}.home-voices>span{font-size:.85rem;color:var(--muted)}
.voice-script{margin:0 0 24px;padding:0 18px;border:1px solid var(--line);border-radius:12px;background:#fff}.voice-script summary{padding:12px 0;font-weight:600}.voice-script p{max-width:75ch}
.voice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.voice-card{background:white;border:1px solid var(--line);border-radius:18px;padding:22px;min-width:0;display:flex;flex-direction:column;gap:16px}.voice-heading{display:flex;gap:12px;align-items:flex-start}.voice-heading h2{margin:0 0 4px}.voice-heading p{margin:0}.voice-number{color:var(--magenta);font-variant-numeric:tabular-nums;font-size:.85rem;padding-top:4px}.voice-description{font-size:.9rem;color:var(--muted);margin:0}.voice-card audio{display:block;width:100%;margin-top:auto}.voice-recommendation{align-self:flex-start;background:#f5edf6;color:#713668;border-radius:6px;padding:4px 8px;font-size:.75rem;font-weight:650}.voice-card.voice-selected{border-color:var(--magenta);box-shadow:0 0 0 1px var(--magenta)}.voice-favorite[aria-pressed="true"]{background:#f5edf6;border-color:var(--magenta);color:#713668}.voice-demo-note{margin-top:18px;max-width:75ch}
@media(max-width:700px){.voice-grid{grid-template-columns:1fr}.voice-card{padding:18px}.home-voices{gap:10px}.home-voices>span{flex:1;min-width:150px}}

/* Four equally prominent activities with their required materials. */
.home-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.home-choices .choice-art{height:140px}.home-choices .choice-art svg{width:140px;height:120px}.home-choices .choice-body{padding:18px}.home-choices .choice-name{font-size:1.25rem;min-height:2.4em;margin-bottom:10px}.home-choices .choice-description{font-size:.84rem;min-height:4.5em;margin-bottom:12px}.choice-needs{display:block;border-top:1px solid var(--line);padding-top:12px;margin-bottom:18px;font-size:.8rem;color:var(--muted);line-height:1.5}.choice-needs b{display:block;color:var(--ink);font-weight:650;margin-bottom:3px}.home-choices .choice-action{font-size:.8rem}
@media(min-width:701px) and (max-width:1000px){.home-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.home-choices .choice-name,.home-choices .choice-description{min-height:0}}
@media(max-width:700px){.home-choices{grid-template-columns:1fr}.home-choices .choice-art{height:100%}.home-choices .choice-art svg{width:88px;height:95px}.home-choices .choice-body{padding:17px 16px}.home-choices .choice-name{min-height:0;font-size:1.22rem}.home-choices .choice-description{min-height:0}.choice-needs{font-size:.78rem;padding-top:10px;margin-bottom:12px}}
@media(max-width:350px){.home-choices .choice-art svg{width:72px}.home-choices .choice-body{padding:15px 12px}}

.choice-needs ul{margin:7px 0 0;padding-left:17px;display:grid;gap:5px}.home-choices .choice-needs{margin-bottom:0}
.sheet-voice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px}.sheet-voice .button{min-height:44px;font-size:.84rem;padding:8px 12px}.sheet-voice svg{width:19px;height:19px}
.sheet-light{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:16px 0}.sheet-light>div{flex:1;min-width:170px}.sheet-light b{font-size:.9rem}.sheet-light p{margin:5px 0 0;font-size:.8rem;line-height:1.45}.sheet-light .button{font-size:.82rem;min-height:44px;padding:10px 12px}.sheet-light #sheet-light-message:empty{display:none}.sheet-light #sheet-light-message{flex-basis:100%}

.sheet-interaction-options .interaction-choices{margin-top:0}.sheet-interaction-options .interaction-option{padding:12px 8px}.sheet-interaction-options .interaction-art svg{width:85px;height:90px}
.animal-roster{display:flex;gap:8px 16px;flex-wrap:wrap;list-style:none;margin:0 0 20px;padding:0;font-size:.9rem}.animal-roster li{display:flex;align-items:center;gap:5px}.animal-roster span{font-size:1.4rem}.animal-phase{font-size:.85rem;color:var(--muted);margin:12px 0}.animal-scene{display:flex;align-items:center;gap:7px}.animal-scene i{display:inline-block;width:14px;height:14px;border-radius:50%;border:1px solid #0002}.animal-light #animal-light-message:empty{display:none}.animal-light #animal-light-message{flex-basis:100%}
@media(min-width:600px){.sheet-interaction-options .interaction-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet-interaction-options .accessory-option{grid-template-columns:90px 1fr}}

/* Secondary object configuration; keep the activity choices prominent. */
.object-setup-entry{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 12px;margin-top:8px}
.object-setup-entry .button{font-size:.82rem;min-height:44px;padding:8px 14px;text-decoration:underline;text-underline-offset:3px}
.object-setup-list{list-style:none;margin:20px 0;padding:0;border-top:1px solid var(--line)}
.object-setup-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.object-setup-symbol{width:34px;text-align:center;font-size:1.6rem;flex-shrink:0}
.object-setup-list li>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.object-setup-list b{display:block;font-size:.95rem}
.object-setup-list small{display:block;color:var(--muted);font-size:.78rem;margin-top:3px}
.object-setup-list .button{font-size:.8rem;min-height:44px;padding:8px 12px;flex-shrink:0}

/* Theme faces match the reusable die; colour is always paired with a number. */
.theme-grid{gap:12px}.theme-option{align-items:center;text-align:center;gap:7px;padding:16px 12px}
.theme-face{position:relative;display:grid;place-items:center;width:76px;height:78px;background:var(--face);clip-path:polygon(50% 0,96% 25%,96% 75%,50% 100%,4% 75%,4% 25%)}
.theme-face:before{content:"";position:absolute;inset:5px;background:#fff;clip-path:inherit}
.face-number{position:absolute;top:11px;left:35px;font-size:.63rem;line-height:1;color:var(--ink);font-weight:700}
.face-symbol{z-index:1;font-family:Signika,system-ui;font-size:1.65rem;padding-top:10px;color:var(--ink)}
.theme-option:disabled{opacity:.52;cursor:default}.theme-option:disabled:hover{border-color:var(--line)}
.die-setup-option{width:100%;margin:0 0 18px}.die-face{background:var(--face);color:var(--face-ink,#fff);border-radius:50%;display:grid;place-items:center;width:34px;height:34px;font-weight:700;flex-shrink:0;text-shadow:none}
.die-face-large{width:80px;height:80px;margin:10px auto 24px;border-radius:50%;font-size:2rem}
[data-action="connect"] img{filter:brightness(0) invert(1)}
@media(max-width:350px){.theme-option{padding:12px 8px}.theme-face{width:64px;height:66px}.face-number{left:29px}.face-symbol{font-size:1.4rem}}

/* Zona Mágica: one decision per screen, configuration separate from play. */
.magic-screen{max-width:560px;margin:0 auto}.magic-screen h1{font-size:clamp(1.65rem,5vw,2.1rem);line-height:1.15;margin:0 0 10px}.magic-screen>.subtitle{font-size:.95rem;line-height:1.5;margin:0 0 24px;max-width:48ch}.magic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:22px}.magic-toolbar .back{margin:0;font-size:.82rem}.magic-toolbar .sheet-voice{margin:0;justify-content:flex-end;gap:0;max-width:55%}.magic-toolbar .sheet-voice .button{font-size:.78rem;padding:8px}.magic-toolbar #magic-voice-state{font-size:.75rem;max-width:200px}.magic-progress{list-style:none;display:flex;gap:0;margin:0 0 30px;padding:0;font-size:.8rem;color:var(--muted)}.magic-progress li{display:flex;align-items:center;gap:7px;flex:1;position:relative}.magic-progress li:last-child{flex:0}.magic-progress li:not(:last-child)::after{content:'';height:1px;background:var(--line);flex:1;margin:0 12px}.magic-progress li>span{width:23px;height:23px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:.72rem;flex-shrink:0}.magic-progress [aria-current=step]{color:var(--blue);font-weight:700}.magic-progress [aria-current=step]>span{background:var(--blue);color:white;border-color:var(--blue)}.magic-progress .done>span{background:#e3f1e8;color:#256749;border-color:#d0e5d8}.magic-section{font-size:.75rem;color:var(--magenta);font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 16px}.magic-context{margin:0 0 12px;font-size:.9rem;color:var(--magenta)}.magic-topic{display:inline-flex;align-items:center;background:#eee7f3;padding:6px 12px;border-radius:20px;font-size:.85rem}.magic-connect-art{display:flex;justify-content:center;background:#f0e7f2;border:1px solid #e4d7e9;border-radius:22px;margin:0 0 22px;padding:12px}.magic-connect-art svg{width:174px;height:144px}.magic-caption{font-size:.8rem;line-height:1.4;color:var(--muted);text-align:center;margin:12px 0 20px}.magic-help{margin-top:22px;padding-top:14px}.magic-help summary{font-size:.83rem;min-height:36px}.magic-screen .object-setup-entry{margin-top:22px}.magic-screen .object-setup-entry .button{font-size:.8rem}.magic-screen .option{box-shadow:none;min-height:0;transition:border-color .15s,background .15s}.magic-screen .option:hover,.magic-setup-row:hover{border-color:#9780b4;background:#fdfbff}.magic-screen .option b{font-size:1.05rem}.magic-screen .option small{font-size:.8rem;line-height:1.4}.magic-arrow{color:var(--muted);font-size:1.15rem;font-weight:400;margin-left:auto}.magic-theme-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.magic-theme-options .theme-option{display:flex;flex-direction:row;align-items:center;text-align:left;gap:12px;padding:14px 12px}.magic-theme-options .theme-face{width:58px;height:62px;flex-shrink:0}.magic-theme-options .face-number{left:26px;top:9px;font-size:.57rem}.magic-theme-options .face-symbol{font-size:1.4rem;padding-top:8px}.magic-die-hint{font-size:.82rem;color:var(--magenta);margin:0 0 18px}.magic-activity-options{display:grid;gap:10px}.magic-activity-options .option{flex-direction:row;align-items:center;gap:14px;padding:15px 17px}.magic-activity-options .option b,.magic-activity-options .option small{display:block}.magic-activity-options .option small{margin-top:4px}.magic-activity-symbol{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#f1eaf6;color:var(--magenta);font-family:Signika,system-ui;font-size:1.6rem}.magic-setup-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.magic-setup-options .option{padding:20px;gap:12px}.magic-setup-art{height:55px;display:flex;align-items:center;gap:10px;font-size:2rem;color:var(--magenta)}.magic-setup-art svg{width:46px;height:46px}.magic-optional{display:block;font-family:inherit;font-size:.76rem;color:var(--muted);font-weight:400;margin-top:3px}.magic-setup-rows{display:grid;gap:9px}.magic-setup-row{display:flex;width:100%;align-items:center;gap:14px;padding:14px 16px;min-height:74px;text-align:left;color:var(--ink);background:white;border:1px solid var(--line);border-radius:13px}.magic-setup-row>span:nth-child(2){flex:1}.magic-setup-row b{font-size:1rem}.magic-setup-row small{display:block;font-size:.78rem;color:var(--muted);margin-top:4px}.magic-success{color:#256749}.magic-object-preview{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;padding:0;margin:24px 0;gap:10px}.magic-object-preview li{position:relative;display:grid;justify-items:center;align-content:center;gap:5px;min-height:86px;border:1px solid var(--line);background:#fff;border-radius:13px}.magic-object-preview li>span{font-size:1.85rem;color:var(--magenta)}.magic-object-preview small{font-size:.8rem}.magic-object-preview i{position:absolute;right:9px;top:7px;font-size:.78rem;font-style:normal;color:#256749}.magic-object-preview .done{background:#f2f8f4;border-color:#d1e5d7}.magic-die-faces{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:28px 0}.magic-die-faces>span{display:grid;justify-items:center;gap:8px}.magic-die-faces small{font-size:.72rem;color:var(--muted)}.magic-die-faces .die-face{width:46px;height:46px;font-size:1.1rem}.magic-scan-count{font-size:.82rem;color:var(--muted);margin:22px 0 12px}.magic-scan-target{height:170px;display:grid;place-items:center;background:#f3edf7;border-radius:20px;padding:20px;margin:0 0 22px;font-size:4.5rem}.magic-scan-target .die-face-large{margin:0}.magic-waiting{text-align:center;font-size:.95rem;margin:14px 0}.magic-waiting::before{content:'';display:inline-block;width:8px;height:8px;background:var(--magenta);border-radius:50%;margin-right:8px}.magic-scan-success{text-align:center;color:#256749;font-size:.85rem;min-height:1.4em}.magic-ready-check{display:grid;place-items:center;width:80px;height:80px;background:#e3f1e8;color:#256749;border-radius:50%;font-size:2rem;margin:30px auto}.magic-light-preview{display:flex;justify-content:center;align-items:center;gap:10px;height:120px;border:1px solid #e7d9cc;border-radius:22px;background:linear-gradient(110deg,#fff1d9,#f5e4ef,#e4ebf5);margin:0 0 22px}.magic-light-preview i{width:35px;height:35px;border-radius:50%;background:#f5b65b;border:3px solid #fff}.magic-light-preview i:nth-child(2){background:#88af9a}.magic-light-preview i:nth-child(3){background:#839fce}.magic-light-preview i:nth-child(4){background:#b789b4}.magic-light-control .sheet-light{border:0;margin:0;padding:0;display:grid;gap:12px}.magic-light-control .sheet-light>div>b{display:none}.magic-light-control .sheet-light .button{min-height:50px;background:var(--blue);border-color:var(--blue);color:white;font-size:.95rem}.magic-light-control .sheet-light .button img{filter:brightness(0) invert(1)}.magic-light-control #animal-light-state{margin:0;font-size:.85rem}.magic-screen .button.full{font-size:.92rem}.object-live-tools{grid-template-columns:1fr 1fr}
@media(max-width:440px){.magic-toolbar{margin-bottom:18px}.magic-progress{margin-bottom:24px;font-size:.74rem}.magic-progress li:not(:last-child)::after{margin-inline:7px}.magic-theme-options{gap:9px}.magic-theme-options .theme-option{padding:13px 10px;flex-wrap:wrap;gap:8px}.magic-theme-options .theme-face{margin:0 auto;flex-basis:58px}.magic-theme-options .theme-option b{width:100%;font-size:1rem;text-align:center}.magic-theme-options .magic-arrow{display:none}.magic-setup-options{gap:10px}.magic-setup-options .option{padding:16px 13px}.magic-setup-options .option b{font-size:1rem}.magic-die-faces{grid-template-columns:repeat(3,1fr);gap:18px}.magic-screen .object-setup-list li{gap:8px}.magic-screen .object-setup-list .button{padding:8px}.magic-activity-options .option{padding:13px;gap:11px}.magic-activity-symbol{width:38px;height:38px}.magic-toolbar .sheet-voice .button{padding-inline:4px}}

/* Companion controls for the printable yes/no communicator. */
.kit-questions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 18px}
.kit-questions .button{flex-direction:column;padding:10px 7px;text-align:center;white-space:normal;font-size:14px}
.kit-questions img{width:44px;height:44px;object-fit:contain}
.kit-questions [aria-pressed="true"]{border-color:#6c3983;background:#f3e9f7;color:#45275c}
@media(max-width:480px){.kit-questions{grid-template-columns:repeat(2,minmax(0,1fr))}}

.totem-reference{display:grid;gap:8px;max-width:320px;margin:18px auto;text-align:left;font-size:14px}
.totem-reference select{font:inherit;padding:12px;border:1px solid #d5cae0;border-radius:12px;background:white;color:#272043}
.totem-reconfigure{margin-top:12px}
.totem-correspondence{text-align:center;line-height:1.6;color:#615f86;max-width:40ch;margin:12px auto}

/* One preparation screen for the two Bluetooth modules in the pizarra. */
.magic-connections{margin:24px 0 16px;border-block:1px solid var(--line,#e0dbe4)}
.magic-connection-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:20px 0}
.magic-connection-row+.magic-connection-row{border-top:1px solid var(--line,#e0dbe4)}
.magic-connection-row b{font-size:17px}.magic-connection-row p{margin:4px 0 0;color:var(--muted)}
.magic-connection-row>p{grid-column:2/-1}.magic-connection-row>p:empty{display:none}
.connection-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#efedf3;font-weight:600}.connection-mark.ready{background:#e4f3e9;color:#247343}
@media(max-width:560px){.magic-connection-row{grid-template-columns:32px minmax(0,1fr)}.magic-connection-row .button{grid-column:2;width:100%;margin-top:4px}}
/* NFC collection catalogue and companion controls. */
.nfc-groups{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0 16px}.nfc-groups .button{min-height:36px;padding:8px 13px;font-size:14px}.nfc-groups [aria-pressed="true"]{background:#35254c;color:#fff}.nfc-program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nfc-program{font:inherit;text-align:left;color:inherit;background:#fff;border:1px solid #e4dce8;border-radius:14px;padding:15px;display:grid;align-content:start;gap:7px;cursor:pointer;min-height:108px}.nfc-program:hover{border-color:#a776a0;background:#fcf8fc}.nfc-program:focus-visible{outline:3px solid #ff6000;outline-offset:2px}.nfc-program b{font-size:17px;line-height:1.25}.nfc-program-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-top:3px}.nfc-program-meta>small{font-size:11px;color:#75667a}.nfc-difficulty>span{display:flex;gap:4px}.nfc-dot{width:19px;height:19px;border:1px solid #aea1b5;border-radius:50%;display:grid;place-items:center;font-size:10px;font-style:normal;line-height:1;color:#64546e;background:#fff}.nfc-dot.filled{background:#654171;border-color:#654171;color:#fff}.nfc-catalogue-tools{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}.nfc-catalogue-tools label{display:grid;gap:5px;font-size:12px;color:#61546b}.nfc-catalogue-tools select{font:inherit;font-size:14px;max-width:100%;padding:8px 10px;border:1px solid #d6cbdc;border-radius:8px;background:#fff;color:#35254c}.nfc-empty{font-size:14px;color:#61546b;line-height:1.5}.nfc-live-options ul{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:8px 0 14px}.nfc-live-options li{font-size:14px;border:1px solid #ded3e5;border-radius:99px;padding:5px 10px}.nfc-live-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.nfc-adjust{font-size:14px;border-top:1px solid #eee3ef;margin:14px 0;padding-top:12px}.nfc-adjust summary{cursor:pointer}.nfc-adjust label{display:grid;gap:8px;margin-top:12px}.nfc-adjust select{font:inherit;padding:10px;border:1px solid #d9ccdf;border-radius:8px;background:#fff}.nfc-program .small{font-size:12px}.nfc-live-options:empty{display:none}@media(max-width:360px){.nfc-program{padding:12px}.nfc-program b{font-size:15px}.nfc-groups .button{padding:7px 11px}}
.family-scenes{display:grid;gap:10px;margin:20px 0}.family-scenes>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px solid #e0d8e5;padding:12px;border-radius:10px}.family-scenes b{min-width:62px}.family-scenes span{font-size:13px;color:#71657b;flex:1}

.nfc-level-key{display:flex;flex-wrap:wrap;gap:10px 18px;margin-bottom:8px;font-size:12px;color:#61546b}.nfc-level-key>span,.nfc-current-level{display:flex;align-items:center;gap:7px}.nfc-level-key .nfc-dot{width:12px;height:12px}.nfc-level-note{margin:0 0 16px}.nfc-program .nfc-dot{width:15px;height:15px}

/* The selected die face and the actual printed totems anchor every theme. */
.magic-catalogue{max-width:1000px}
.magic-catalogue .magic-toolbar{margin-bottom:14px}
.magic-catalogue .magic-progress{margin-bottom:20px}
.magic-topic-summary{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.35fr);gap:30px;align-items:center;padding:4px 0 22px;border-bottom:1px solid var(--line,#e0dbe4);margin-bottom:22px}
.magic-category-title{display:flex;align-items:center;gap:16px;min-width:0}
.magic-selected-die{width:82px;height:88px;flex:none;overflow:visible}
.magic-category-title h1{font-size:2rem;margin:3px 0 0;line-height:1.15;overflow-wrap:anywhere}
.magic-die-position{margin:0;font-size:.8rem;color:var(--muted)}
.magic-totem-preview>p{margin:0 0 10px;font-size:.8rem;color:var(--muted)}
.magic-totem-preview ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;gap:10px;margin:0;padding:0}
.magic-totem-preview li{display:grid;justify-items:center;align-content:start;gap:6px;min-width:0;text-align:center}
.magic-totem-preview img{display:block;width:auto;height:86px;max-width:100%;object-fit:contain;background:#fff;box-shadow:0 0 0 1px #e4dce8;border-radius:3px}
.magic-totem-preview li>span{font-size:.75rem;line-height:1.2;overflow-wrap:anywhere}
.magic-games-title{font-size:1.2rem;margin:0 0 12px;color:var(--ink);font-weight:700}
.magic-catalogue .nfc-groups{margin:0 0 14px}
.magic-catalogue .nfc-program-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.magic-catalogue .nfc-program{transition:border-color .15s,box-shadow .15s}
.magic-catalogue .nfc-program:hover{border-color:#a682b3;box-shadow:0 3px 12px #49355a0d}
@media(max-width:700px){
 .magic-topic-summary{grid-template-columns:1fr;gap:16px;padding-bottom:18px;margin-bottom:18px}
 .magic-selected-die{width:66px;height:71px}
 .magic-category-title{gap:12px}
 .magic-category-title h1{font-size:1.8rem}
 .magic-totem-preview{max-width:440px}
 .magic-totem-preview ol{gap:8px}
 .magic-totem-preview img{height:76px}
 .magic-catalogue .nfc-program-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:359px){.magic-catalogue .nfc-program-grid{grid-template-columns:1fr}.magic-totem-preview li>span{font-size:.7rem}}

.nfc-live-layout{grid-template-columns:minmax(0,1fr)}
/* The selected NFC object belongs to the current prompt, separate from its result. */
.chosen-answer{margin:16px 0 12px;padding:12px 14px;border:1px solid #dedee3;border-radius:12px;background:#f2f2f4;color:#292735}
.chosen-answer-label{margin:0 0 5px;color:#62616b;font-size:.78rem;font-weight:600;line-height:1.4}
.chosen-answer-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}
.chosen-answer-name{margin:0;min-width:0;overflow-wrap:anywhere;font-family:Signika,system-ui;font-size:1.3rem;font-weight:600;line-height:1.3}
.chosen-answer-result{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:650;line-height:1.4}
#chosen-answer-symbol{font-size:1.15rem;font-weight:700;line-height:1}
.chosen-answer[data-result="correct"] .chosen-answer-result{color:#146b46}
.chosen-answer[data-result="incorrect"] .chosen-answer-result{color:#a22f37}

.die-reconfigure{margin-top:12px}

/* Narration controls sit below the activity and keep room for touch targets. */
.nfc-speed{margin:14px 0 18px;padding:14px 0;border-block:1px solid var(--line);font-size:.85rem}
.nfc-speed>span{display:block;margin-bottom:8px;font-weight:600;color:var(--muted)}
.nfc-speed>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.nfc-speed .button{min-height:44px;padding:9px 12px;font-size:.85rem}
#nfc-speed-value{min-width:42px;text-align:center;font-variant-numeric:tabular-nums;font-weight:600}

/* One full-width button per category, showing all five printed faces. */
.magic-theme-options{grid-template-columns:1fr;gap:12px}
.magic-theme-options .theme-option{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px;text-align:left}
.magic-theme-options .theme-option b{width:auto;text-align:left;font-size:1rem}
.theme-totems{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;width:100%;max-width:420px;align-items:center}
.theme-totems img{display:block;width:100%;height:auto;max-height:82px;object-fit:contain;background:#fff;border-radius:2px;box-shadow:0 0 0 1px #e4dce8}
.magic-die-setup-note{margin:-8px 0 18px;font-size:.76rem}
@media(max-width:440px){.magic-theme-options .theme-option{gap:10px;padding:12px 10px}.theme-totems{gap:4px}}
@media(max-width:359px){.theme-totems img{max-height:72px}}

/* One game card, with its starting level next to the same activity. */
.nfc-program{grid-template-rows:1fr auto;cursor:default}
.nfc-program-open{display:grid;gap:7px;align-content:start;width:100%;padding:0;border:0;background:transparent;font:inherit;text-align:left;color:inherit;cursor:pointer}
.nfc-card-level{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;padding-top:10px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}
.nfc-card-level select{min-width:0;max-width:100%;min-height:40px;padding:6px;font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:#fff}
.nfc-card-fixed{padding-top:10px;margin-top:6px;border-top:1px solid var(--line);font-size:.8rem}
@media(max-width:440px){.nfc-card-level{flex-wrap:wrap}.nfc-card-level select{flex:1}}
