/* mi-dralingo.css — «Mi Dralingo» part 3: the kid's home on /homework (js/mi-dralingo.js) and Mi perfil (his approved design
   2026-10-18: .claude/handoff/kidhome-design/Main, Phone, Experiencia, Mensajes, Oraciones, Desafio, Perfil). The platform
   palette (Rojo Imperial, Oro, Crema, the same as Papás), Baloo 2 for titles, Noto Sans for words. A phone: one column,
   tabs at the bottom; a laptop (1000 px or more): the path with the chosen experience beside it. Every tap target 48 px
   or more, body text 13 px or more, reduced motion respected (nothing moves). Every rule starts at #screen-list.md or
   #screen-settings.md-pf, so nothing here reaches another screen of /homework and the pastel rules never win in here. */
@font-face { font-family: 'Noto Sans'; src: url('/assets/fonts/study/noto-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('/assets/fonts/study/noto-sans-600.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('/assets/fonts/study/noto-sans-800.woff2') format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }

#screen-list.md, #screen-settings.md-pf {
  --md-rojo: #5a1010;        /* Rojo Imperial */
  --md-oro-line: #c79c3e;
  --md-oro-claro: #e8c878;   /* gold on Rojo Imperial, the gold buttons */
  --md-oro: #b88b2c;
  --md-oro-ink: #85631d;     /* gold text on Crema */
  --md-crema: #f7f1e4;
  --md-paper: #fffdf8;
  --md-sand: #f3e2b3;
  --md-line: #e2d4b4;
  --md-ink: #1c1a17;
  --md-ink-2: #4a3f36;
  --md-soft: #6b5d4f;        /* 5.9:1 on Crema */
  --md-green: #1f6b45;       /* done = green ✓ (gold never means done) */
  --md-green-pale: #eef6f0;
  --md-words: #24804f;       /* ✅ the green words button, «Hoy» and the experience's step 1 (4.9:1 under white) */
  --md-words-deep: #17573a;
  --md-words-hover: #1f7346;
  --md-red: #c62828;
  --md-wash: #efe4c9;
  --md-warm: #fbf6ea;
  --md-glow: #fffaf0;
  --md-head: 'Baloo 2', 'Noto Sans', system-ui, sans-serif;
  --md-body: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --md-ease: cubic-bezier(.23, 1, .32, 1);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--md-crema);
  color: var(--md-ink);
  font-family: var(--md-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
#screen-list.md.hidden, #screen-settings.md-pf.hidden { display: none !important; }
#screen-list.md *, #screen-list.md *::before, #screen-list.md *::after,
#screen-settings.md-pf *, #screen-settings.md-pf *::before, #screen-settings.md-pf *::after { box-sizing: border-box; }
/* the page behind the home is Crema (the pastel sky of the other screens steps aside), and the floating 🌐 pill hides once
   the kid is in: the switch lives in Mi perfil (it covered the phone's tabs) */
body:has(#screen-list.md:not(.hidden)), body:has(#screen-settings.md-pf:not(.hidden)) { background: #f7f1e4 !important; }
body:has(#screen-list.md:not(.hidden))::before, body:has(#screen-settings.md-pf:not(.hidden))::before { display: none !important; }
body.md-in #hw-lang-toggle { display: none !important; }
/* the page itself scrolls once the kid is in (styles.css makes <body> a 100 %-high scroll box: a phone's address bar then
   never folds away, and «Empezar aquí» / «Volver» could not bring a step or the top into view).
   🩹 2026-10-19 (his words: "it's unscrollable for mobile… and on computers too"): <body> must stop being a scroll box
   too. styles.css gives it overflow-x: hidden (= a scroll box) + overscroll-behavior: none; with height: auto it had
   nothing to scroll and «none» kept every swipe and wheel from reaching the page: the home did not move at all.
   overflow-x: clip cuts sideways overflow without making a scroll box (older phones skip it and keep visible; the page
   still never scrolls sideways: <html> keeps overflow-x: hidden). Check: scroll-check in the platform-screenshots skill */
body.md-in { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; overflow-x: clip; }
#screen-list.md :is(a, button, summary, [tabindex]):focus-visible,
#screen-settings.md-pf :is(a, button, summary, input):focus-visible { outline: 3px solid var(--md-ink); outline-offset: 3px; }
/* (a view's heading takes the focus when it opens, for screen readers: no ring around a title nobody can tap) */
#screen-list.md :is(h1, h2)[tabindex="-1"]:focus, #screen-settings.md-pf .md-pf-title[tabindex="-1"]:focus { outline: none; }
#screen-list.md .md-sr, .md-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#screen-list.md [hidden] { display: none !important; }
#screen-list.md img { max-width: none; }
#screen-list.md :is(h1, h2, h3, p) { margin: 0; }
#screen-list.md svg { flex: none; }

/* ── buttons (one family: gold = do this now, soft green = done / again, plain = later, red = sent / leave) ── */
#screen-list.md .md-btn, #screen-list.md .md-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  min-height: 48px; padding: 0 16px; border: 0; border-radius: 14px; cursor: pointer;
  font: 800 15px/1.1 var(--md-body); text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .14s var(--md-ease), box-shadow .14s var(--md-ease);
}
#screen-list.md .md-btn svg, #screen-list.md .md-go svg { width: 18px; height: 18px; }
#screen-list.md .md-btn.is-gold, #screen-list.md .md-go { background: var(--md-oro-claro); color: var(--md-rojo); box-shadow: 0 4px 0 var(--md-oro); }
#screen-list.md .md-btn.is-soft { background: #fff; color: var(--md-green); box-shadow: inset 0 0 0 2px var(--md-green); }
#screen-list.md .md-btn.is-plain { background: var(--md-paper); color: var(--md-rojo); box-shadow: inset 0 0 0 2px var(--md-oro-line); }
#screen-list.md .md-btn.is-green { background: var(--md-green); color: #fff; }
#screen-list.md .md-btn.is-gold:active, #screen-list.md .md-go:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--md-oro); }
#screen-list.md .md-btn:not(.is-gold):active { transform: scale(.97); }
#screen-list.md .md-btn-wide { width: 100%; min-height: 52px; font-size: 16px; white-space: normal; }
/* ✅ the green words button (his words 2026-10-21: "always in green… «Repasar o marcar mis palabras»… «Marcar las palabras
   de la experiencia»"): ONE look, on «Hoy» and on the experience's step 1, always a link to La Base */
#screen-list.md .md-words {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 8px 18px;
  border: 0; border-radius: 14px; background: var(--md-words); color: #fff; box-shadow: 0 4px 0 var(--md-words-deep);
  font: 800 15px/1.2 var(--md-body); text-decoration: none; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .14s var(--md-ease), box-shadow .14s var(--md-ease), background-color .14s var(--md-ease);
}
#screen-list.md .md-words svg { width: 20px; height: 20px; }
#screen-list.md .md-words:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--md-words-deep); }
@media (hover: hover) and (pointer: fine) { #screen-list.md .md-words:hover { background: var(--md-words-hover); } }
#screen-list.md .md-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px 0 10px; border-radius: 14px;
  font: 800 15px/1 var(--md-body); text-decoration: none; color: var(--md-rojo);
}
#screen-list.md .md-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.8; }
#screen-list.md .md-back-light { color: var(--md-paper); background: rgba(255, 253, 248, .14); }
#screen-list.md .md-back-glass { position: absolute; left: 12px; top: 12px; z-index: 2; color: var(--md-paper); background: rgba(20, 10, 40, .55); }
#screen-list.md .md-back-foot { align-self: center; }

/* ── the band: the kid, «¡Hola!», N días seguidos, Papás, Mi perfil ── */
#screen-list.md .md-band { background: var(--md-rojo); border-bottom: 3px solid var(--md-oro-line); }
#screen-list.md .md-band-in { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 12px 0 10px; max-width: 1600px; margin: 0 auto; }
#screen-list.md .md-av { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; border-radius: 50%; }
#screen-list.md .md-av img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--md-sand); box-shadow: 0 0 0 2px var(--md-oro-claro); }
#screen-list.md .md-hi { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#screen-list.md .md-hi-t { color: var(--md-paper); font: 800 16px/1.15 var(--md-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen-list.md .md-hi-s { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; font-size: 12px; font-weight: 800; line-height: 1.35; }
#screen-list.md .md-streak { display: inline-flex; align-items: center; gap: 4px; color: #ffd27a; white-space: nowrap; }
#screen-list.md .md-streak svg { width: 12px; height: 12px; }
#screen-list.md .md-lvl { color: var(--md-oro-claro); white-space: nowrap; }
#screen-list.md .md-askname { position: relative; color: var(--md-paper); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
#screen-list.md .md-askname::after { content: ''; position: absolute; inset: -14px -6px; }   /* (a 48 px tap area in the small line) */
#screen-list.md .md-brand { display: none; }
#screen-list.md .md-band-acts { display: flex; align-items: center; gap: 8px; flex: none; }
#screen-list.md .md-papas, #screen-list.md .md-perfil {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; min-width: 48px; padding: 0 12px;
  border: 0; border-radius: 14px; cursor: pointer; font: 800 14px/1 var(--md-body); text-decoration: none;
}
#screen-list.md .md-papas { background: var(--md-paper); color: var(--md-rojo); }
#screen-list.md .md-perfil { background: rgba(255, 253, 248, .14); color: var(--md-paper); padding: 0; }
#screen-list.md .md-papas svg, #screen-list.md .md-perfil svg { width: 20px; height: 20px; }
#screen-list.md .md-perfil-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 359px) { #screen-list.md .md-papas svg { display: none; } }

/* ── the phone's page ── */
#screen-list.md .md-main { max-width: 620px; margin: 0 auto; padding: 14px 14px 28px; display: flex; flex-direction: column; gap: 16px; }
#screen-list.md .md-main.is-flush { padding: 0 0 28px; }
#screen-list.md.has-tabs .md-app { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
#screen-list.md .md-h2 { font: 800 18px/1.15 var(--md-head); color: var(--md-rojo); }
#screen-list.md .md-h3 { font: 800 18px/1.15 var(--md-head); color: var(--md-rojo); }
#screen-list.md .md-quiet { font-size: 14px; font-weight: 700; color: var(--md-soft); line-height: 1.4; }
#screen-list.md .md-quiet svg { width: 15px; height: 15px; vertical-align: -2px; }
#screen-list.md .md-wait { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 16px; text-align: center; font-weight: 800; color: var(--md-ink-2); }
#screen-list.md .md-wait img { width: 120px; height: auto; }

/* ── «Hoy» ── */
#screen-list.md .md-hoy { position: relative; min-height: 244px; border-radius: 24px; overflow: hidden; background: #1a1240; isolation: isolate; }
#screen-list.md .md-hoy-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
#screen-list.md .md-hoy-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 10, 40, .82) 0%, rgba(20, 10, 40, .3) 62%, rgba(20, 10, 40, .18) 100%); }
#screen-list.md .md-hoy-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 244px; padding: 14px 14px 16px; width: 66%; }
#screen-list.md .md-hoy-k { color: var(--md-sand); font-size: 13px; font-weight: 800; }
#screen-list.md .md-hoy-t {
  background: var(--md-paper); border-radius: 16px 16px 4px 16px; padding: 11px 13px; box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
  font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--md-ink);
}
#screen-list.md .md-hoy-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
#screen-list.md .md-hoy .md-go { font-size: 16px; min-height: 50px; padding: 0 18px; box-shadow: 0 5px 0 var(--md-oro); }
/* (on the dark scene the green keeps a thin light edge, so it reads as a button and never as a shadow) */
#screen-list.md .md-hoy .md-words { box-shadow: 0 5px 0 var(--md-words-deep), 0 0 0 2px rgba(255, 253, 248, .22); }
#screen-list.md .md-hoy .md-words:active { box-shadow: 0 1px 0 var(--md-words-deep), 0 0 0 2px rgba(255, 253, 248, .22); }
/* the homework due outside today's step: one reminder line («Y tu tarea de esta semana: 1 por mandar») */
#screen-list.md .md-hoy-rem {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 6px 12px; border: 0; border-radius: 14px; cursor: pointer;
  background: #fff3ef; color: var(--md-red); box-shadow: inset 0 0 0 2px var(--md-red); font: 800 14px/1.25 var(--md-body); text-align: left; text-decoration: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
#screen-list.md .md-hoy-rem svg { width: 16px; height: 16px; }
#screen-list.md .md-hoy-dr { position: absolute; right: -14px; bottom: -8px; width: auto; height: 190px; pointer-events: none; z-index: 1; }

/* ── «De tu profe» under «Hoy»: one line (review 2026-10-18: the path and the dock on the first screen) ── */
#screen-list.md .md-strip { border-radius: 18px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md section.md-strip, #screen-list.md .md-strip > summary { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 5px 8px; }
#screen-list.md .md-strip > summary { cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
#screen-list.md .md-strip > summary::-webkit-details-marker { display: none; }
#screen-list.md .md-strip-fer { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; object-position: top; background: var(--md-sand); }
#screen-list.md .md-strip-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
#screen-list.md .md-strip-t b { font-size: 12px; font-weight: 800; color: var(--md-oro-ink); }
#screen-list.md .md-strip-t span { font-size: 15px; font-weight: 800; color: var(--md-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#screen-list.md .md-strip .md-tp-chip, #screen-list.md .md-strip .md-tp-go { flex: none; }
#screen-list.md .md-strip-more {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; flex: none; border-radius: 12px;
  background: var(--md-paper); color: var(--md-rojo); box-shadow: inset 0 0 0 2px var(--md-oro-line); font-size: 15px; font-weight: 800;
}
#screen-list.md .md-strip > .md-tp-list { padding: 2px 8px 10px; }
@media (max-width: 380px) { #screen-list.md section.md-strip .md-tp-chip { display: none; } }
/* ── the teacher's tareas (in an experience, in El Simulacro Dorado, with no route) ── */
#screen-list.md .md-profe { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px; border-radius: 20px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md .md-profe-fer { width: 52px; height: auto; }
#screen-list.md .md-profe-in { display: grid; gap: 8px; min-width: 0; }
#screen-list.md .md-tp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#screen-list.md .md-tp { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 't chip' 'acts acts'; gap: 6px 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--md-warm); }
#screen-list.md .md-tp.is-new { background: var(--md-glow); box-shadow: inset 0 0 0 2px var(--md-oro-claro); }
#screen-list.md .md-tp.is-done { background: var(--md-green-pale); }
#screen-list.md .md-tp-t { grid-area: t; display: flex; flex-direction: column; min-width: 0; }
#screen-list.md .md-tp-t b { font-size: 15px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
#screen-list.md .md-tp-t small { font-size: 13px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-tp-chip { grid-area: chip; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; white-space: nowrap; }
#screen-list.md .md-tp-chip svg { width: 12px; height: 12px; }
#screen-list.md .md-tp-chip.is-new { background: var(--md-red); color: #fff; }
#screen-list.md .md-tp-chip.is-retry { background: var(--md-sand); color: var(--md-rojo); }
#screen-list.md .md-tp-chip.is-done { background: var(--md-green); color: #fff; }
#screen-list.md .md-tp-acts { grid-area: acts; display: flex; flex-wrap: wrap; gap: 8px; }
#screen-list.md .md-tp-go, #screen-list.md .md-tp-rev {
  min-height: 48px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer; font: 800 15px/1 var(--md-body);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .14s var(--md-ease);
}
#screen-list.md .md-tp-go { background: var(--md-oro-claro); color: var(--md-rojo); box-shadow: 0 3px 0 var(--md-oro); }
#screen-list.md .md-tp.is-done .md-tp-go { background: #fff; color: var(--md-green); box-shadow: inset 0 0 0 2px var(--md-green); }
#screen-list.md .md-tp-rev { background: var(--md-paper); color: var(--md-rojo); box-shadow: inset 0 0 0 2px var(--md-oro-line); }
#screen-list.md .md-tp-go:active, #screen-list.md .md-tp-rev:active { transform: scale(.97); }
#screen-list.md .md-done-list summary { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; color: var(--md-green); }
#screen-list.md .md-done-list summary::-webkit-details-marker { display: none; }
#screen-list.md .md-done-list summary svg { width: 15px; height: 15px; }
#screen-list.md .md-tp-lock { grid-area: chip; color: var(--md-soft); }
#screen-list.md .md-tp-lock svg { width: 18px; height: 18px; }
#screen-list.md a.md-tp-go { display: inline-flex; align-items: center; text-decoration: none; }

/* ── La Ruta Dorada: the phone's zig-zag ── */
#screen-list.md .md-ruta { display: flex; flex-direction: column; gap: 14px; }
#screen-list.md .md-ruta-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 4px; }
#screen-list.md .md-ruta-t { font: 800 28px/1.1 var(--md-head); color: var(--md-rojo); }
#screen-list.md .md-ruta-of { font-size: 13px; font-weight: 800; color: var(--md-soft); text-align: right; }
#screen-list.md .md-path { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
#screen-list.md .md-node-li { display: flex; justify-content: center; }
#screen-list.md .md-node {
  position: relative; display: flex; flex-direction: column; gap: 6px; width: min(190px, 52vw); transform: translateX(var(--zz, 0));
  color: var(--md-ink); text-decoration: none; border-radius: 22px; -webkit-tap-highlight-color: transparent;
}
#screen-list.md .md-node-art { position: relative; display: block; }
#screen-list.md .md-node-scene {
  display: block; width: 100%; height: 112px; border-radius: 20px; object-fit: cover; background: var(--md-wash);
  box-shadow: 0 8px 18px rgba(90, 16, 16, .15); transition: transform .16s var(--md-ease);
}
#screen-list.md .md-node.is-done .md-node-scene { box-shadow: 0 0 0 4px var(--md-green), 0 8px 18px rgba(90, 16, 16, .15); }
#screen-list.md .md-node.is-today .md-node-scene { box-shadow: 0 0 0 4px var(--md-oro-claro), 0 0 0 10px rgba(232, 200, 120, .45), 0 8px 18px rgba(90, 16, 16, .15); }
#screen-list.md .md-node.is-calm .md-node-scene { filter: saturate(.5) brightness(.95); }
#screen-list.md .md-node:active .md-node-scene { transform: scale(.97); }
#screen-list.md .md-node-pic {
  position: absolute; left: 8px; bottom: -14px; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #fff;
  box-shadow: 0 0 0 3px var(--md-crema), 0 4px 10px rgba(0, 0, 0, .22);
}
#screen-list.md .md-node-n {
  position: absolute; left: 8px; top: 8px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--md-rojo); color: var(--md-paper); font: 800 17px/1 var(--md-head); box-shadow: 0 0 0 2px var(--md-paper);
}
#screen-list.md .md-node.is-done .md-node-n { background: var(--md-green); color: #fff; }
#screen-list.md .md-node.is-today .md-node-n { background: var(--md-oro); color: var(--md-paper); }
#screen-list.md .md-node-tag, #screen-list.md .md-node-badge {
  position: absolute; right: 8px; top: 8px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; white-space: nowrap; color: #fff; background: var(--md-red);
}
#screen-list.md .md-node-badge { background: var(--md-rojo); color: var(--md-paper); }
#screen-list.md .md-node-ok {
  position: absolute; right: 8px; top: 8px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--md-green); color: #fff; box-shadow: 0 0 0 2px var(--md-paper);
}
#screen-list.md .md-node-ok svg { width: 17px; height: 17px; }
#screen-list.md .md-node-pass {
  position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 7px; border-radius: 999px;
  background: var(--md-green); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 0 0 2px var(--md-paper);
}
#screen-list.md .md-node-pass svg { width: 13px; height: 13px; }
#screen-list.md .md-node-name { padding: 4px 2px 0 70px; font-size: 14px; font-weight: 800; line-height: 1.2; }
#screen-list.md .md-node .md-bars { padding-left: 70px; }
#screen-list.md .md-bars { display: flex; gap: 4px; }
#screen-list.md .md-bars i { display: block; width: 26px; height: 7px; border-radius: 999px; background: var(--md-line); }
#screen-list.md .md-bars i.is-done { background: var(--md-green); }
#screen-list.md .md-bars i.is-half { background: var(--md-oro-claro); }
#screen-list.md .md-bars i.is-na { background: repeating-linear-gradient(90deg, var(--md-line) 0 4px, transparent 4px 7px); }
/* El Simulacro Dorado, at the end of the path */
#screen-list.md .md-gold-li { padding-top: 6px; }
#screen-list.md .md-gold { width: min(250px, 70vw); transform: none; align-items: center; }
#screen-list.md .md-gold .md-node-scene { height: 120px; box-shadow: 0 0 0 4px var(--md-oro-claro), 0 8px 18px rgba(90, 16, 16, .15); }
#screen-list.md .md-gold.is-today .md-node-scene { box-shadow: 0 0 0 4px var(--md-oro-claro), 0 0 0 10px rgba(232, 200, 120, .45), 0 8px 18px rgba(90, 16, 16, .15); }
#screen-list.md .md-gold.is-done .md-node-scene { box-shadow: 0 0 0 4px var(--md-green), 0 8px 18px rgba(90, 16, 16, .15); }
#screen-list.md .md-gold-star { position: absolute; left: 50%; bottom: -16px; width: 94px; height: auto; transform: translateX(-50%); }
#screen-list.md .md-gold-cap { display: flex; flex-direction: column; align-items: center; align-self: stretch; text-align: center; }
#screen-list.md .md-gold-name { padding: 12px 0 0; font: 800 20px/1.1 var(--md-head); color: var(--md-oro-ink); text-align: center; }
#screen-list.md .md-gold-sub { font-size: 13px; font-weight: 700; color: var(--md-soft); text-align: center; }
#screen-list.md .md-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 0 4px; font-size: 12px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-legend span { display: inline-flex; align-items: center; gap: 5px; }
#screen-list.md .md-legend i { display: inline-block; width: 16px; height: 6px; border-radius: 999px; background: var(--md-green); }
#screen-list.md .md-legend i.is-na { background: repeating-linear-gradient(90deg, var(--md-soft) 0 4px, transparent 4px 7px); }
#screen-list.md .md-ruta-foot { display: flex; flex-direction: column; align-items: center; gap: 6px; }
#screen-list.md .md-ruta-foot .md-legend { align-self: stretch; }

/* ── the phone's tabs: La Ruta · Mensajes · Oraciones · Desafío ── */
#screen-list.md .md-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 6px 6px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--md-paper); box-shadow: 0 -2px 0 var(--md-line);
}
#screen-list.md .md-tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px;
  border-radius: 14px; color: var(--md-soft); font-size: 12px; font-weight: 800; text-decoration: none; -webkit-tap-highlight-color: transparent;
}
#screen-list.md .md-tab svg { width: 24px; height: 24px; }
#screen-list.md .md-tab.is-on { color: var(--md-rojo); background: var(--md-warm); }
#screen-list.md .md-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--md-red); color: #fff; font-size: 12px; font-weight: 900;
}
#screen-list.md .md-tab .md-count { position: absolute; top: 2px; left: calc(50% + 6px); }
/* («pronto» beside the Desafío's star, never over it) */
#screen-list.md .md-soon-chip { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 999px; background: var(--md-soft); color: #fff; font-size: 10px; font-weight: 900; line-height: 1.3; white-space: nowrap; }

/* ── an experience: 1 Palabras → 2 Práctica → 3 Tu tarea (its own page on a phone, beside the path on a laptop) ── */
#screen-list.md .md-exp { display: flex; flex-direction: column; }
#screen-list.md .md-exp-hero { position: relative; height: 230px; flex: none; background: #1a1240; }
#screen-list.md .md-exp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
#screen-list.md .md-exp-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 40, .55) 0%, rgba(20, 10, 40, 0) 35%, rgba(20, 10, 40, .8) 100%); }
#screen-list.md .md-exp-pic {
  position: absolute; left: 14px; bottom: -30px; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: #fff; z-index: 1;
  box-shadow: 0 0 0 5px var(--md-crema), 0 8px 18px rgba(0, 0, 0, .25);
}
#screen-list.md .md-exp-t { position: absolute; left: 118px; right: 14px; bottom: 14px; color: var(--md-paper); }
#screen-list.md .md-exp-t p { font-size: 13px; font-weight: 800; color: var(--md-sand); }
#screen-list.md .md-exp-h { font: 800 28px/1.02 var(--md-head); color: var(--md-paper); }
#screen-list.md .md-exp-body { display: flex; flex-direction: column; gap: 14px; padding: 42px 14px 8px; }
#screen-list.md .md-exp-sum { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#screen-list.md .md-exp-sum p { font-size: 15px; font-weight: 800; color: var(--md-ink-2); }
#screen-list.md .md-exp-sum .md-bars i { width: 24px; }
#screen-list.md .md-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
#screen-list.md .md-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); scroll-margin: 90px; }
#screen-list.md .md-step.is-done { background: var(--md-green-pale); box-shadow: inset 0 0 0 2px var(--md-green); }
#screen-list.md .md-step.is-next { margin-top: 6px; padding-top: 22px; background: var(--md-glow); box-shadow: 0 0 0 4px var(--md-oro-claro), 0 12px 24px rgba(90, 16, 16, .15); }
#screen-list.md .md-step.is-locked, #screen-list.md .md-step.is-closed, #screen-list.md .md-step.is-soon { background: #f4eee2; }
#screen-list.md .md-step.is-locked .md-step-n, #screen-list.md .md-step.is-closed .md-step-n { background: var(--md-line); color: var(--md-soft); }
#screen-list.md .md-step-n.is-soon { background: transparent; color: var(--md-soft); box-shadow: inset 0 0 0 2px var(--md-line); }
/* each step's action: its own full-width line under its words (review 2026-10-18: never squeezed beside them) */
#screen-list.md .md-step > .md-btn, #screen-list.md .md-step > .md-words { width: 100%; }
#screen-list.md .md-step > .md-words { justify-content: center; text-align: center; }
#screen-list.md .md-step-tag { position: absolute; top: -13px; left: 16px; padding: 4px 12px; border-radius: 999px; background: var(--md-red); color: #fff; font-size: 13px; font-weight: 900; }
#screen-list.md .md-step-row { display: flex; align-items: center; gap: 12px; }
#screen-list.md .md-step-n {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: var(--md-sand); color: var(--md-rojo); font: 800 19px/1 var(--md-head);
}
#screen-list.md .md-step-n svg { width: 19px; height: 19px; }
#screen-list.md .md-step.is-done .md-step-n { background: var(--md-green); color: #fff; }
#screen-list.md .md-step.is-next .md-step-n { background: var(--md-oro); color: var(--md-paper); }
#screen-list.md .md-step-art { width: 64px; height: 64px; object-fit: contain; flex: none; }
#screen-list.md .md-step-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
#screen-list.md .md-step-t { font: 900 17px/1.2 var(--md-body); color: var(--md-ink); }
#screen-list.md .md-step-t small { display: block; font-size: 12px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-step-l { font-size: 13px; font-weight: 700; color: var(--md-ink-2); }
#screen-list.md .md-step.is-done .md-step-l { color: var(--md-green); }

#screen-list.md .md-soon { color: var(--md-soft); font-size: 14px; }
#screen-list.md .md-meter { display: block; height: 9px; border-radius: 999px; background: var(--md-wash); overflow: hidden; }
#screen-list.md .md-meter i { display: block; height: 100%; border-radius: 999px; background: var(--md-oro); }
#screen-list.md .md-step.is-done .md-meter i { background: var(--md-green); }
#screen-list.md .md-peek { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 48px; }
#screen-list.md .md-peek img { width: 50px; height: 50px; border-radius: 14px; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px #cfe5d6; }
#screen-list.md .md-step-l svg { width: 15px; height: 15px; vertical-align: -2px; }
/* «Practicar más» (2026-10-21): ONE calm card under the two steps, to the practice view; it glows like a step when the
   practice is today's step, green once the practice is at the goal */
#screen-list.md .md-more {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 14px 10px 10px;
  border-radius: 20px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); color: var(--md-ink); text-decoration: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .14s var(--md-ease), box-shadow .14s var(--md-ease);
}
#screen-list.md .md-more.is-next { margin-top: 6px; padding-top: 18px; background: var(--md-glow); box-shadow: 0 0 0 4px var(--md-oro-claro), 0 12px 24px rgba(90, 16, 16, .15); }
#screen-list.md .md-more.is-done { background: var(--md-green-pale); box-shadow: inset 0 0 0 2px #cfe5d6; }
#screen-list.md .md-more-art { width: 54px; height: 58px; object-fit: contain; object-position: bottom; flex: none; }
#screen-list.md .md-more-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#screen-list.md .md-more-t b { font: 900 17px/1.2 var(--md-body); color: var(--md-rojo); }
#screen-list.md .md-more-t small { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--md-soft); }
#screen-list.md .md-more .md-tp-chip { flex: none; }
#screen-list.md .md-more-ok, #screen-list.md .md-pr-ok { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--md-green); color: #fff; }
#screen-list.md .md-more-ok svg, #screen-list.md .md-pr-ok svg { width: 16px; height: 16px; }
#screen-list.md .md-more-go { display: flex; flex: none; color: var(--md-rojo); }
#screen-list.md .md-more-go svg { width: 20px; height: 20px; }
#screen-list.md .md-more:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { #screen-list.md .md-more:not(.is-next):hover { box-shadow: inset 0 0 0 2px var(--md-oro-line); } }
/* the practice view (#exp-N/practica): a short scene, then one section per kind (El Entrenamiento's card, «Preguntas de tu
   profe», «Preguntas del simulacro», Pinyin básico), each a title and its cards: no box around the boxes */
#screen-list.md .md-pr-hero { height: 170px; }
#screen-list.md .md-pr-hero .md-exp-t { left: 16px; right: 16px; }
#screen-list.md .md-pr-hero .md-back-glass { max-width: calc(100% - 24px); line-height: 1.2; }
#screen-list.md .md-pr-body { gap: 20px; padding-top: 18px; }
#screen-list.md .md-pr-art { width: 52px; height: 56px; object-fit: contain; object-position: bottom; flex: none; }
#screen-list.md .md-pr-sec { display: grid; gap: 10px; }
#screen-list.md .md-pr-h { display: flex; align-items: center; gap: 10px; font: 800 19px/1.15 var(--md-head); color: var(--md-rojo); }
#screen-list.md .md-pr-h img { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; object-position: top; background: var(--md-sand); }
#screen-list.md .md-pr-h .md-tp-chip { margin-left: auto; font-family: var(--md-body); }
/* (one line per question set: its name and mark on the left, its button on the right: a list you read at a glance) */
#screen-list.md .md-pr-sec .md-tp {
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 't acts' 'chip acts'; gap: 4px 12px; padding: 10px 10px 10px 14px;
  background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line);
}
#screen-list.md .md-pr-sec .md-tp-chip { justify-self: start; }
#screen-list.md .md-pr-sec .md-tp-acts { flex-direction: column; align-items: stretch; align-self: center; gap: 6px; }
#screen-list.md .md-pr-sec .md-tp.is-new { background: var(--md-glow); box-shadow: inset 0 0 0 2px var(--md-oro-claro); }
#screen-list.md .md-pr-sec .md-tp.is-done { background: var(--md-green-pale); box-shadow: inset 0 0 0 2px #cfe5d6; }
#screen-list.md .md-badge { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--md-red); color: #fff; font-size: 12px; font-weight: 900; white-space: nowrap; }
/* 🗓️ 2026-10-21 the homework of an experience after the class's: calm, never red (it plays already) */
#screen-list.md .md-later { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--md-soft); box-shadow: inset 0 0 0 1.5px var(--md-line); font-size: 12px; font-weight: 900; white-space: nowrap; }
#screen-list.md .md-later[hidden], #screen-list.md .md-badge[hidden] { display: none; }
#screen-list.md .md-say { display: flex; align-items: flex-end; gap: 8px; }
#screen-list.md .md-say img { width: 54px; height: 70px; object-fit: contain; object-position: bottom; flex: none; }
#screen-list.md .md-say p { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--md-sand); font-size: 14px; font-weight: 700; line-height: 1.35; }
/* the finished experience: Aileen and Dralingo (the page's one moment) */
#screen-list.md .md-party { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 18px; background: var(--md-green-pale); }
#screen-list.md .md-party img { width: 64px; height: 76px; object-fit: contain; flex: none; }
#screen-list.md .md-party p { flex: 1; font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--md-green); }
#screen-list.md .md-party.is-new img { animation: md-pop .62s var(--md-ease) both; }
#screen-list.md .md-party.is-new img:last-child { animation-delay: .14s; }
@keyframes md-pop { from { opacity: 0; transform: translateY(14px) scale(.7); } to { opacity: 1; transform: none; } }

/* the homework cards of «3 · Tu tarea» (js/ruta.js's markup: the same cards as La Ruta Dorada's «Tus tareas») */
#screen-list.md .md-hw .rp-hw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#screen-list.md .md-hw .rp-hw { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; }
#screen-list.md .md-hw .rp-hw.is-new { background: #fff3ef; box-shadow: inset 0 0 0 3px var(--md-red); }
#screen-list.md .md-hw .rp-hw.is-heard { background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md .md-hw .rp-hw.is-sent { background: var(--md-green-pale); box-shadow: inset 0 0 0 2px var(--md-green); }
#screen-list.md .md-hw .rp-hw-open { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; align-items: center; color: var(--md-ink); text-decoration: none; min-height: 56px; }
#screen-list.md .md-hw .rp-hw-pic { grid-row: 1 / span 3; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--md-wash); }
#screen-list.md .md-hw .rp-hw-kicker { grid-column: 2; font-size: 12px; font-weight: 800; color: var(--md-oro-ink); }
#screen-list.md .md-hw .rp-hw-title { grid-column: 2; margin: 0; font: 900 15px/1.2 var(--md-body); }
#screen-list.md .md-hw .rp-hw-state { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; }
#screen-list.md .md-hw .rp-hw-state svg { width: 12px; height: 12px; }
#screen-list.md .md-hw .rp-hw.is-new .rp-hw-state { background: var(--md-red); color: #fff; }
#screen-list.md .md-hw .rp-hw.is-heard .rp-hw-state { background: var(--md-sand); color: var(--md-rojo); }
#screen-list.md .md-hw .rp-hw.is-sent .rp-hw-state { background: var(--md-green); color: #fff; }
/* 🗓️ 2026-10-21 a later experience's homework (after the class's pace): it plays, nothing is due: no red frame or chip */
#screen-list.md .md-hw .rp-later .rp-hw.is-new { background: #fff; box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md .md-hw .rp-later .rp-hw.is-new .rp-hw-state { background: var(--md-sand); color: var(--md-soft); }
#screen-list.md .md-hw .rp-hw-body { display: grid; gap: 6px; }
#screen-list.md .md-hw .rp-hw-acts { display: flex; gap: 8px; }
#screen-list.md .md-hw .rp-hw-acts button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px; border: 0; border-radius: 14px;
  cursor: pointer; font: 800 15px/1 var(--md-body); -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .14s var(--md-ease);
}
#screen-list.md .md-hw .rp-hw-acts svg { width: 16px; height: 16px; flex: none; }
#screen-list.md .md-hw .rp-hw-play { background: var(--md-oro-claro); color: var(--md-rojo); box-shadow: 0 4px 0 var(--md-oro); }
#screen-list.md .md-hw .rp-hw:not(.is-new) .rp-hw-play { background: var(--md-sand); box-shadow: none; }
#screen-list.md .md-hw .rp-hw-play[aria-pressed="true"] { background: var(--md-oro-claro) !important; }
#screen-list.md .md-hw .rp-hw-send { flex: 1.25 !important; background: var(--md-rojo); color: var(--md-paper); }
#screen-list.md .md-hw .rp-hw-acts button:active { transform: scale(.97); }
#screen-list.md .md-hw .rp-hw-now { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-hw .rp-hw-line { display: block; height: 5px; border-radius: 999px; background: var(--md-wash); overflow: hidden; }
#screen-list.md .md-hw .rp-hw-line i { display: block; width: 0; height: 100%; background: var(--md-oro); }
#screen-list.md .md-hw .rp-hw-undo { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--md-ink-2); }
#screen-list.md .md-hw .rp-hw-undo button { min-height: 48px; padding: 0 8px; border: 0; background: none; color: var(--md-rojo); font: 800 14px/1 var(--md-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ── El Simulacro Dorado ── */
#screen-list.md .md-dor-hero { position: relative; height: 230px; flex: none; background: #1a1240; }
#screen-list.md .md-dor-star { position: absolute; right: 12px; bottom: -18px; width: 96px; height: auto; z-index: 1; }
#screen-list.md .md-dor .md-exp-t { left: 16px; right: 120px; }
#screen-list.md .md-dor-sub { font-size: 14px !important; color: var(--md-paper) !important; }
#screen-list.md .md-dor .md-exp-body { padding-top: 26px; }
#screen-list.md .md-dor-state { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; font-weight: 700; line-height: 1.4; }
#screen-list.md .md-dor-state.is-locked { background: #f4eee2; color: var(--md-ink-2); }
#screen-list.md .md-dor-state.is-ready { flex-direction: column; background: var(--md-glow); box-shadow: 0 0 0 4px var(--md-oro-claro); }
#screen-list.md .md-dor-state.is-done { align-items: center; background: var(--md-green-pale); color: var(--md-green); font-weight: 800; }
#screen-list.md .md-dor-state.is-done .md-step-n { background: var(--md-green); color: #fff; }
#screen-list.md .md-dor-big { font-size: 18px; font-weight: 900; color: var(--md-ink); }
#screen-list.md .md-dor-acts { display: flex; flex-wrap: wrap; gap: 8px; }
#screen-list.md .md-dor-count { margin-top: 4px !important; font-size: 13px; font-weight: 800; color: var(--md-soft); }
#screen-list.md .md-coins { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; }
#screen-list.md .md-coins li { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--md-line); color: var(--md-soft); font: 800 14px/1 var(--md-head); }
#screen-list.md .md-coins li.is-done { background: var(--md-green); color: #fff; }
#screen-list.md .md-coins li.is-half { background: var(--md-oro-claro); color: var(--md-rojo); }
#screen-list.md .md-coins svg { width: 15px; height: 15px; }
#screen-list.md .md-dor-part { display: grid; gap: 10px; }
#screen-list.md .md-books, #screen-list.md .md-reads { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#screen-list.md .md-books li, #screen-list.md .md-reads li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--md-warm); }
#screen-list.md .md-book-n { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; }
#screen-list.md .md-book-n.is-done { color: var(--md-green); }
#screen-list.md .md-book-n svg { width: 15px; height: 15px; }
#screen-list.md .md-read-t { display: flex; flex-direction: column; min-width: 0; }
#screen-list.md .md-read-t b { font-weight: 800; }
#screen-list.md .md-read-t small { font-size: 13px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-dor-note { margin-top: 8px !important; font-size: 13px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-dor-state.is-done .md-dor-big { color: var(--md-green); }
/* ONE folder: «De tu profe · Practica el examen» */
#screen-list.md .md-folder { border-radius: 18px; background: var(--md-warm); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md .md-folder > summary { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 6px 12px 6px 8px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
#screen-list.md .md-folder > summary::-webkit-details-marker { display: none; }
#screen-list.md .md-folder > summary::after { content: ''; width: 10px; height: 10px; flex: none; margin-left: 4px; border-right: 3px solid var(--md-rojo); border-bottom: 3px solid var(--md-rojo); transform: rotate(45deg) translateY(-3px); transition: transform .18s var(--md-ease); }
#screen-list.md .md-folder[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
#screen-list.md .md-folder > summary img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; object-position: top; background: var(--md-sand); }
#screen-list.md .md-folder-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
#screen-list.md .md-folder-t b { font-size: 15px; font-weight: 900; color: var(--md-rojo); }
#screen-list.md .md-folder-t small { font-size: 13px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-folder > .md-tp-list { padding: 0 10px 10px; }
#screen-list.md .md-folder .md-tp { background: var(--md-paper); }
#screen-list.md .md-folder .md-tp.is-done { background: var(--md-green-pale); }
#screen-list.md .md-folder > .md-quiet { padding: 0 14px 12px; }

/* («Mis exámenes» is no longer drawn on the home since the review of 2026-10-18: El Simulacro Dorado lists «Tus simulacros»
   with their libro dorado; homework.js keeps the list parked, hidden) */

/* ── Mensajes · Mis oraciones · Desafío del día ── */
#screen-list.md .md-view { display: flex; flex-direction: column; min-height: 100%; }
#screen-list.md .md-sub { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 14px; background: var(--md-rojo); border-bottom: 3px solid var(--md-oro-line); }
#screen-list.md .md-sub-t { font: 800 22px/1.1 var(--md-head); color: var(--md-oro-claro); }
#screen-list.md .md-aside-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 4px; }
#screen-list.md .md-aside-head .md-back { box-shadow: inset 0 0 0 2px var(--md-oro-line); background: var(--md-paper); }
#screen-list.md .md-aside-head .md-sub-t { color: var(--md-rojo); font-size: 24px; }
#screen-list.md .md-view-body { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 620px; margin: 0 auto; padding: 16px 14px 24px; }
#screen-list.md .md-who { display: flex; align-items: center; gap: 12px; padding: 0 4px 4px; }
#screen-list.md .md-who img { width: 64px; height: 80px; object-fit: contain; object-position: bottom; flex: none; }
#screen-list.md .md-who-t { font: 800 24px/1 var(--md-head); color: var(--md-rojo); }
#screen-list.md .md-who-s { font-size: 14px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-msg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
#screen-list.md .md-msg { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 18px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md .md-msg.is-new { background: var(--md-glow); box-shadow: inset 0 0 0 2px var(--md-oro-claro); }
#screen-list.md .md-msg > img { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; object-position: top; background: var(--md-sand); }
#screen-list.md .md-msg-in { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
#screen-list.md .md-msg-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; font-size: 14px; }
#screen-list.md .md-msg-h b { font-weight: 900; }
#screen-list.md .md-msg-h span { font-size: 12px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-msg-t { font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
#screen-list.md .md-msg .md-btn { margin-top: 4px; white-space: normal; text-align: left; }
#screen-list.md .md-msg-all { font-size: 12px; font-weight: 800; color: var(--md-oro-ink); }
#screen-list.md .md-dot { width: 12px; height: 12px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--md-red); }
/* Mis oraciones (homework.js's sentences, kept simple: he redesigns them later) */
#screen-list.md .md-sent { display: grid; gap: 12px; }
#screen-list.md .md-sent-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 16px; background: var(--md-wash); }
#screen-list.md .md-sent .hw-sent-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 10px; border: 0; border-radius: 12px;
  background: transparent; color: var(--md-soft); font: 800 15px/1 var(--md-body); cursor: pointer; box-shadow: none;
}
#screen-list.md .md-sent .hw-sent-tab.is-active { background: var(--md-paper); color: var(--md-rojo); box-shadow: 0 2px 0 var(--md-line); }
#screen-list.md .md-sent .hw-sent-tab-n { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: var(--md-sand); color: var(--md-rojo); font-size: 12px; }
#screen-list.md .md-sent .hw-sent-catbar { display: flex; flex-wrap: wrap; gap: 6px; }
#screen-list.md .md-sent .hw-sent-catbar.is-empty { display: none; }
#screen-list.md .md-sent .hw-sent-cat-chip { min-height: 48px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--md-paper); color: var(--md-ink-2); box-shadow: inset 0 0 0 2px var(--md-line); font: 800 13px/1 var(--md-body); cursor: pointer; }
#screen-list.md .md-sent .hw-sent-cat-chip.is-active { background: var(--md-sand); color: var(--md-rojo); box-shadow: inset 0 0 0 2px var(--md-oro-line); }
#screen-list.md .md-sent .hw-sentences-list { display: grid; gap: 10px; }
#screen-list.md .md-sent .hw-empty { padding: 4px 2px; background: none; border: 0; box-shadow: none; color: var(--md-soft); font-size: 14px; font-weight: 700; text-align: left; }
#screen-list.md .md-sent .hw-sentences-month { border: 0; border-radius: 16px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); padding: 0; margin: 0; }
#screen-list.md .md-sent .hw-sentences-month-head { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; cursor: pointer; list-style: none; color: var(--md-rojo); font-weight: 900; background: none; border: 0; }
#screen-list.md .md-sent .hw-sentences-month-head::-webkit-details-marker { display: none; }
#screen-list.md .md-sent .hw-sm-count { margin-left: auto; font-size: 13px; color: var(--md-soft); font-weight: 700; }
#screen-list.md .md-sent .hw-sentences-month-body { display: grid; gap: 8px; padding: 0 10px 12px; }
#screen-list.md .md-sent .hw-sentence-item { display: grid; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--md-warm); border: 0; box-shadow: none; color: var(--md-ink); }
#screen-list.md .md-sent .hw-sentence-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
#screen-list.md .md-sent .hw-sentence-date { font-size: 12px; font-weight: 700; color: var(--md-soft); display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#screen-list.md .md-sent .hw-sentence-from-teacher { padding: 2px 8px; border-radius: 999px; background: var(--md-sand); color: var(--md-rojo); font-weight: 800; }
#screen-list.md .md-sent .hw-sentence-actions { display: flex; gap: 6px; }
#screen-list.md .md-sent .hw-sentence-actions button { min-height: 48px; min-width: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--md-paper); color: var(--md-rojo); box-shadow: inset 0 0 0 2px var(--md-oro-line); font: 800 14px/1 var(--md-body); cursor: pointer; }
#screen-list.md .md-sent .hw-sentence-actions .hw-sentence-speak { background: var(--md-oro-claro); box-shadow: 0 3px 0 var(--md-oro); }
#screen-list.md .md-sent .hw-sentence-words { display: flex; flex-wrap: wrap; gap: 6px; }
#screen-list.md .md-sent .hw-sent-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; padding: 6px 10px; border: 0; border-radius: 12px; background: var(--md-paper); color: var(--md-ink); box-shadow: inset 0 0 0 2px var(--cat-color, var(--md-line)); cursor: pointer; }
#screen-list.md .md-sent .hw-sent-chip-py { font-weight: 900; font-size: 16px; }
#screen-list.md .md-sent .hw-sent-chip-es { font-size: 12px; font-weight: 700; color: var(--md-soft); opacity: 1; }
#screen-list.md .md-sent .hw-sent-editor { display: grid; gap: 10px; padding: 12px; border-radius: 16px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-oro-line); color: var(--md-ink); }
#screen-list.md .md-sent .hw-sent-editor-words { display: flex; flex-wrap: wrap; gap: 6px; }
#screen-list.md .md-sent .hw-sent-edit-chip { display: inline-flex; flex-direction: column; align-items: center; min-height: 48px; padding: 6px 10px; border-radius: 12px; background: var(--md-warm); box-shadow: inset 0 0 0 2px var(--cat-color, var(--md-line)); cursor: pointer; }
#screen-list.md .md-sent .hw-sent-edit-chip.selected { box-shadow: inset 0 0 0 3px var(--md-oro); }
#screen-list.md .md-sent .hw-sent-editor-bar { display: flex; flex-wrap: wrap; gap: 6px; }
#screen-list.md .md-sent .hw-sent-editor-bar button { min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--md-paper); color: var(--md-rojo); box-shadow: inset 0 0 0 2px var(--md-oro-line); font: 800 14px/1 var(--md-body); cursor: pointer; }
#screen-list.md .md-sent .hw-sent-editor-bar .hw-sent-editor-save { background: var(--md-rojo); color: var(--md-paper); box-shadow: none; }
#screen-list.md .md-sent .hw-sent-editor-tip { font-size: 14px; font-weight: 700; color: var(--md-ink-2); }
/* the word card a tap opens (Modo Curioso): pinyin and Spanish, no hanzi on a kid's page */
#screen-list.md .wu-pk-hanzi { display: none !important; }
/* Desafío del día: «Muy pronto», with the class's games */
#screen-list.md .md-des-hero { position: relative; height: 300px; border-radius: 26px; overflow: hidden; background: #1a1240; isolation: isolate; }
#screen-list.md .md-des-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); z-index: -2; }
#screen-list.md .md-des-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 10, 40, .35) 0%, rgba(20, 10, 40, .85) 100%); }
#screen-list.md .md-des-dragon { position: absolute; left: 18px; top: 26px; width: 118px; height: auto; transform: rotate(-8deg); }
#screen-list.md .md-des-jet { position: absolute; right: 14px; top: 40px; width: 126px; height: auto; }
#screen-list.md .md-des-panda { position: absolute; left: 50%; top: 88px; width: 116px; height: auto; transform: translateX(-50%); }
#screen-list.md .md-des-lock { position: absolute; left: 50%; top: 18px; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; transform: translateX(-50%); background: var(--md-paper); color: var(--md-rojo); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
#screen-list.md .md-des-lock svg { width: 24px; height: 24px; }
#screen-list.md .md-des-t { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
#screen-list.md .md-des-soon { padding: 4px 12px; border-radius: 999px; background: var(--md-oro-claro); color: var(--md-rojo); font-size: 13px; font-weight: 900; }
#screen-list.md .md-des-h { font: 800 30px/1.05 var(--md-head); color: var(--md-paper); }
#screen-list.md .md-desafio .md-say img { width: 62px; height: 88px; }
#screen-list.md .md-desafio .md-say p { background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); font-size: 15px; }

/* ── a laptop: the path with the chosen experience beside it ── */
#screen-list.md .md-grid, #screen-list.md .md-left, #screen-list.md .md-aside, #screen-list.md .md-dock { display: none; }
@media (min-width: 1000px) {
  #screen-list.md .md-band-in { gap: 12px; padding: 0 24px; }
  #screen-list.md .md-hi { flex: 0 1 auto; }
  #screen-list.md .md-hi-t { font-size: 18px; }
  #screen-list.md .md-hi-s { font-size: 13px; }
  #screen-list.md .md-av img { width: 46px; height: 46px; box-shadow: 0 0 0 3px var(--md-oro-claro); }
  #screen-list.md .md-brand { display: block; flex: 1 1 auto; text-align: center; font: 800 26px/1 var(--md-head); color: var(--md-oro-claro); }
  #screen-list.md .md-papas, #screen-list.md .md-perfil { font-size: 15px; padding: 0 16px; }
  #screen-list.md .md-perfil-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  #screen-list.md .md-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 32vw, 470px); gap: 20px; align-items: start;
    max-width: 1600px; margin: 0 auto; padding: 16px 24px 20px;
  }
  #screen-list.md .md-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  #screen-list.md .md-aside {
    display: block; position: sticky; top: 16px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
    border-radius: 26px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line);
  }
  /* «Hoy» across the top */
  /* (its height follows its words: one or two lines and the buttons; the bubble already says «¡Hoy toca la Experiencia N!»,
     so the small kicker steps aside and the path's two rows and the dock fit the first screen at 1366 × 768) */
  #screen-list.md .md-hoy { display: flex; align-items: center; min-height: clamp(124px, 17vh, 160px); height: auto; border-radius: 26px; }
  #screen-list.md .md-hoy-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #screen-list.md .md-hoy-acts { margin-top: 0; }
  #screen-list.md .md-hoy-shade { background: linear-gradient(90deg, rgba(20, 10, 40, .86) 0%, rgba(20, 10, 40, .5) 52%, rgba(20, 10, 40, .05) 82%); }
  #screen-list.md .md-hoy-in { min-height: 0; height: auto; width: auto; max-width: calc(100% - 230px); padding: clamp(12px, 2.2vh, 20px) 24px; gap: clamp(6px, 1.2vh, 11px); justify-content: center; }
  #screen-list.md .md-hoy-t { font-size: clamp(16px, 2.2vh, 18px); padding: 10px 16px; border-radius: 18px; }
  #screen-list.md .md-hoy .md-go { margin-top: 0; min-height: 48px; }
  #screen-list.md .md-hoy-dr { right: 22px; bottom: -12px; height: calc(100% + 30px); max-height: 210px; }
  /* the path as a grid of five */
  #screen-list.md .md-ruta { gap: 6px; padding: 12px 16px 8px; border-radius: 26px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
  #screen-list.md .md-path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px 8px; }
  #screen-list.md .md-node-li { display: block; }
  #screen-list.md .md-node { width: auto; transform: none; gap: 5px; padding: 6px 6px 8px; border-radius: 18px; }
  #screen-list.md .md-node.is-sel { background: #fbf3dc; box-shadow: inset 0 0 0 2px var(--md-oro-line); }
  @media (hover: hover) and (pointer: fine) { #screen-list.md .md-node:hover { background: var(--md-warm); } #screen-list.md .md-node.is-sel:hover { background: #fbf3dc; } }
  #screen-list.md .md-node-scene { height: clamp(56px, 8.5vh, 88px); border-radius: 16px; box-shadow: none; }
  #screen-list.md .md-node.is-done .md-node-scene { box-shadow: 0 0 0 3px var(--md-green); }
  #screen-list.md .md-node.is-today .md-node-scene { box-shadow: 0 0 0 3px var(--md-oro-claro), 0 0 0 8px rgba(232, 200, 120, .45); }
  #screen-list.md .md-node-pic { left: 6px; bottom: -10px; width: 44px; height: 44px; box-shadow: 0 0 0 3px var(--md-paper), 0 4px 10px rgba(0, 0, 0, .2); }
  #screen-list.md .md-node-n { left: 6px; top: 6px; width: 26px; height: 26px; font-size: 15px; }
  #screen-list.md .md-node-tag, #screen-list.md .md-node-badge { right: 6px; top: 6px; padding: 3px 8px; font-size: 11px; }
  #screen-list.md .md-node-ok { right: 6px; top: 6px; width: 26px; height: 26px; }
  #screen-list.md .md-node-ok svg { width: 15px; height: 15px; }
  #screen-list.md .md-node-name { padding: 6px 2px 0 54px; min-height: 2.4em; font-size: 13px; }
  #screen-list.md .md-node .md-bars { padding-left: 2px; }
  #screen-list.md .md-node .md-bars i { width: 22px; height: 6px; }
  #screen-list.md .md-gold-li { padding-top: 0; }
  #screen-list.md .md-gold { width: auto; }
  #screen-list.md .md-gold .md-node-scene { height: clamp(56px, 8.5vh, 88px); box-shadow: 0 0 0 3px var(--md-oro-claro); }
  #screen-list.md .md-gold-star { width: 64px; bottom: -12px; }
  #screen-list.md .md-gold-name { padding: 10px 2px 0; min-height: 0; font: 900 13px/1.2 var(--md-body); }
  #screen-list.md .md-gold-sub { font-size: 12px; }
  #screen-list.md .md-ruta-t { font-size: 28px; }
  #screen-list.md .md-ruta-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 4px 16px; }
  /* the dock */
  #screen-list.md .md-dock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #screen-list.md .md-tile {
    display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 8px 14px; border-radius: 14px; background: var(--md-paper);
    box-shadow: inset 0 0 0 2px var(--md-line); color: var(--md-ink); text-decoration: none; font-weight: 800;
  }
  #screen-list.md .md-tile img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--md-sand); flex: none; }
  #screen-list.md .md-tile.is-soon { background: #f4eee2; }
  #screen-list.md .md-tile.is-soon img { border-radius: 0; background: none; object-fit: contain; filter: saturate(.6); }
  #screen-list.md .md-tile.is-sel { box-shadow: inset 0 0 0 2px var(--md-oro-line); background: #fbf3dc; }
  #screen-list.md .md-tile-t { display: flex; flex-direction: column; min-width: 0; font-size: 16px; line-height: 1.2; }
  #screen-list.md .md-tile-t small { font-size: 12px; font-weight: 700; color: var(--md-soft); }
  #screen-list.md .md-tile .md-count, #screen-list.md .md-tile-lock { margin-left: auto; }
  #screen-list.md .md-tile-lock svg { width: 18px; height: 18px; color: var(--md-soft); }
  @media (hover: hover) and (pointer: fine) { #screen-list.md .md-tile:hover { box-shadow: inset 0 0 0 2px var(--md-oro-line); } }
  /* the chosen experience beside the path */
  #screen-list.md .md-exp.is-aside .md-exp-hero, #screen-list.md .md-dor.is-aside .md-dor-hero { height: 126px; }
  #screen-list.md .md-exp.is-aside .md-exp-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(20, 10, 10, .75) 100%); }
  #screen-list.md .md-exp.is-aside .md-exp-pic { left: 16px; bottom: -22px; width: 74px; height: 74px; box-shadow: 0 0 0 4px var(--md-paper), 0 6px 14px rgba(0, 0, 0, .25); }
  #screen-list.md .md-exp.is-aside .md-exp-t { left: 104px; bottom: 10px; }
  #screen-list.md .md-exp.is-aside .md-exp-h { font-size: 26px; }
  #screen-list.md .md-exp.is-aside .md-exp-body { gap: 10px; padding: 30px 16px 16px; }
  #screen-list.md .md-dor.is-aside .md-exp-t { left: 16px; right: 100px; }
  #screen-list.md .md-dor.is-aside .md-dor-star { width: 78px; bottom: -14px; }
  #screen-list.md .md-dor.is-aside .md-exp-body { padding-top: 22px; }
  #screen-list.md .md-exp.is-aside .md-steps { gap: 10px; }
  #screen-list.md .md-exp.is-aside .md-step { padding: 10px 12px; border-radius: 18px; }
  #screen-list.md .md-exp.is-aside .md-step.is-next { padding-top: 18px; }

  #screen-list.md .md-exp.is-aside .md-step-t { font-size: 16px; }
  #screen-list.md .md-exp.is-aside .md-peek { padding-left: 48px; }
  #screen-list.md .md-exp.is-aside .md-peek img { width: 40px; height: 40px; border-radius: 11px; }
  #screen-list.md .md-exp.is-aside .md-exp-sum p { font-size: 14px; }
  /* (the practice view beside the path: no word sticker, the title on the left) */
  #screen-list.md .md-exp.md-pr.is-aside .md-pr-hero { height: 140px; }
  #screen-list.md .md-exp.md-pr.is-aside .md-exp-t { left: 16px; }
  #screen-list.md .md-exp.md-pr.is-aside .md-exp-body { gap: 16px; padding-top: 16px; }
  #screen-list.md .md-exp.is-aside .md-more { min-height: 68px; }
  #screen-list.md .md-aside .md-view-body { padding: 10px 16px 18px; max-width: none; }
  #screen-list.md .md-aside .md-des-hero { height: 260px; }
}
/* a short laptop screen (1366 × 657 under the browser bars): «Hoy» and the cards a little smaller, the first action on screen */
@media (min-width: 1000px) and (max-height: 700px) {
  #screen-list.md .md-band-in { height: 58px; }
  #screen-list.md .md-grid { padding-top: 12px; gap: 16px; }
  #screen-list.md .md-left { gap: 10px; }
  #screen-list.md .md-hoy { min-height: 120px; }
  #screen-list.md .md-hoy-dr { max-height: 170px; }
  #screen-list.md .md-ruta { padding-top: 8px; }
  #screen-list.md .md-ruta-t { font-size: 24px; }
  #screen-list.md .md-node-scene, #screen-list.md .md-gold .md-node-scene { height: 58px; }
  #screen-list.md .md-tile { min-height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  #screen-list.md *, #screen-settings.md-pf * { transition: none !important; animation: none !important; }
  #screen-list.md .md-btn:active, #screen-list.md .md-go:active, #screen-list.md .md-node:active .md-node-scene,
  #screen-list.md .md-words:active, #screen-list.md .md-more:active { transform: none !important; }
}

/* ═══ Mi perfil (was «Ajustes»; his approved design «Perfil») ═══ */
#screen-settings.md-pf { padding-bottom: 32px; }
#screen-settings .md-pf-band { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 14px; background: var(--md-rojo); border-bottom: 3px solid var(--md-oro-line); }
#screen-settings .md-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px 0 10px; border-radius: 14px;
  color: var(--md-paper); background: rgba(255, 253, 248, .14); font: 800 15px/1 var(--md-body); text-decoration: none;
}
#screen-settings .md-back svg { width: 18px; height: 18px; }
#screen-settings .md-pf-title { margin: 0; color: var(--md-oro-claro); font: 800 22px/1.1 var(--md-head); }
#screen-settings .md-pf-wrap { display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 0 auto; padding: 16px 14px 24px; }
#screen-settings .md-pf-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-settings .md-pf-av { display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; flex: none; border-radius: 50%; overflow: hidden; background: var(--md-sand); box-shadow: 0 0 0 4px var(--md-oro-claro); }
#screen-settings .md-pf-av img { width: 100%; height: 100%; object-fit: cover; }
#screen-settings .md-pf-code { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; min-width: 0; }
#screen-settings .md-pf-k { font-size: 13px; font-weight: 800; color: var(--md-soft); }
#screen-settings .md-pf-codev { padding: 0; background: none; border: 0; color: var(--md-rojo); font: 800 30px/1 var(--md-head); letter-spacing: 4px; }
#screen-settings .md-pf-copy { min-height: 48px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--md-sand); color: var(--md-rojo); font: 800 14px/1 var(--md-body); cursor: pointer; }
#screen-settings .md-pf-note { margin: 0 4px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--md-soft); }
#screen-settings .md-pf-row { border-radius: 16px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-settings details.md-pf-row > summary, #screen-settings .md-pf-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; border-radius: 16px; background: none;
  color: var(--md-ink); font: 800 16px/1.2 var(--md-body); text-align: left; cursor: pointer; list-style: none;
}
#screen-settings details.md-pf-row > summary::-webkit-details-marker { display: none; }
#screen-settings details.md-pf-row > summary::after {
  content: ''; width: 10px; height: 10px; margin: 0 4px 0 auto; flex: none; border-right: 3px solid var(--md-soft); border-bottom: 3px solid var(--md-soft);
  transform: rotate(45deg); transition: transform .18s var(--md-ease);
}
#screen-settings details.md-pf-row[open] > summary::after { transform: rotate(-135deg); }
#screen-settings .md-pf-ic { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--md-sand); color: var(--md-rojo); overflow: hidden; }
#screen-settings .md-pf-ic svg { width: 18px; height: 18px; }
#screen-settings .md-pf-ic-av { background: transparent; border-radius: 50%; }
#screen-settings .md-pf-ic-av img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
#screen-settings .md-pf-rt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
#screen-settings .md-pf-rt b { font-size: 16px; font-weight: 800; }
#screen-settings .md-pf-rt small { font-size: 13px; font-weight: 700; color: var(--md-soft); overflow-wrap: anywhere; }
#screen-settings .md-pf-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 14px 14px; }
#screen-settings .md-pf-label { font-size: 13px; font-weight: 800; color: var(--md-soft); }
#screen-settings .md-pf-line { display: flex; gap: 8px; }
#screen-settings .md-pf-in { flex: 1; width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border: 2px solid var(--md-line); border-radius: 14px; background: #fff; color: var(--md-ink); font: 700 16px/1 var(--md-body); }
#screen-settings .md-pf-in:focus { border-color: var(--md-oro); outline: none; }
#screen-settings .md-pf-save { min-height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--md-rojo); color: var(--md-paper); font: 800 15px/1 var(--md-body); cursor: pointer; }
#screen-settings .md-pf-save:disabled { opacity: .6; }
#screen-settings .md-pf-msg { margin: 0; min-height: 1.2em; font-size: 14px; font-weight: 800; color: var(--md-green); }
#screen-settings .md-pf-help { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--md-ink-2); }
#screen-settings .md-pf-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--md-rojo); font-size: 15px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
#screen-settings .md-pf-switch { position: relative; width: 48px; height: 28px; flex: none; margin-left: auto; border-radius: 999px; background: #d9cdb2; transition: background .18s var(--md-ease); }
#screen-settings .md-pf-switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .18s var(--md-ease); }
#screen-settings [aria-checked="true"] .md-pf-switch { background: var(--md-green); }
#screen-settings [aria-checked="true"] .md-pf-switch i { left: 23px; }
#screen-settings .md-pf-avgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
#screen-settings .md-pf-avgrid .hw-avatar-option {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 48px; padding: 8px 4px; border: 0; border-radius: 14px;
  background: var(--md-warm); box-shadow: inset 0 0 0 2px var(--md-line); cursor: pointer; color: var(--md-ink); font: 700 12px/1.2 var(--md-body);
}
#screen-settings .md-pf-avgrid .hw-avatar-option.selected { background: var(--md-sand); box-shadow: inset 0 0 0 3px var(--md-oro); }
#screen-settings .md-pf-avgrid .hw-avatar-option-img { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--md-paper); }
#screen-settings .md-pf-avgrid .hw-avatar-option-img img { width: 100%; height: 100%; object-fit: cover; }
#screen-settings .md-pf-avgrid .hw-avatar-option-label { color: var(--md-ink-2); text-align: center; }
#screen-settings .md-pf-reset-list { display: grid; gap: 8px; }
#screen-settings .hw-settings-reset-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--md-warm); }
#screen-settings .hw-settings-reset-info { flex: 1; min-width: 0; }
#screen-settings .hw-settings-reset-title { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
#screen-settings .hw-settings-reset-best { font-size: 13px; font-weight: 700; color: var(--md-soft); }
#screen-settings .hw-settings-reset-empty { font-size: 14px; font-weight: 700; color: var(--md-soft); }
#screen-settings .md-pf-del { min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--md-paper); color: var(--md-red); box-shadow: inset 0 0 0 2px #e8b4b0; font: 800 14px/1 var(--md-body); cursor: pointer; flex: none; }
#screen-settings .md-pf-out { min-height: 48px; margin-top: 4px; border: 0; border-radius: 14px; background: transparent; color: var(--md-red); box-shadow: inset 0 0 0 2px #e8b4b0; font: 800 16px/1 var(--md-body); cursor: pointer; }
#screen-settings :is(.md-pf-copy, .md-pf-save, .md-pf-del, .md-pf-out):active { transform: scale(.97); }

#screen-settings a.md-pf-btn { text-decoration: none; }
#screen-settings .md-pf-go { width: 18px; height: 18px; margin-left: auto; flex: none; color: var(--md-soft); }

/* ═══ 🪙 the Draly Souk (2026-10-19, his OK of the Souq's design: boards Main, Detalle, Monedas, Nuevo, Avatar) ═══
   js/mi-dralingo.js #zoco · #zoco-<id> · #monedas · #tuyo-<id> · #personaje: full pages on a phone and a laptop (their own
   header and «Volver»). The design's palette is the platform's (Rojo Imperial, Oro, Crema), Baloo 2 for titles, Noto Sans
   for words; every tap target 48 px or more; reduced motion = nothing moves. */
#screen-list.md .md-coin { display: block; flex: none; }
/* the band's coins pill: beside Papás where there is room, in the small line under «¡Hola!» on a narrow phone */
#screen-list.md .md-coins { display: none; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--md-paper); color: var(--md-rojo); text-decoration: none; box-shadow: 0 3px 0 var(--md-oro); }
#screen-list.md .md-coins .md-coin { width: 26px; height: 26px; }
#screen-list.md .md-coins b { font: 800 18px/1 var(--md-head); }
#screen-list.md .md-coins-mini {
  position: relative; display: inline-flex; align-items: center; gap: 4px; margin: 2px 0; padding: 3px 10px 3px 3px; border-radius: 999px;
  background: var(--md-oro-claro); color: var(--md-rojo); box-shadow: 0 2px 0 var(--md-oro); text-decoration: none; white-space: nowrap; line-height: 1;
}
#screen-list.md .md-coins-mini .md-coin { width: 18px; height: 18px; }
#screen-list.md .md-coins-mini b { font-size: 14px; font-weight: 800; }
#screen-list.md .md-coins-mini::after { content: ''; position: absolute; inset: -12px -6px; }   /* (a 48 px tap area in the small line) */
#screen-list.md .md-coins-mini:active { transform: scale(.96); }
@media (min-width: 480px) {
  #screen-list.md .md-coins { display: inline-flex; }
  #screen-list.md .md-coins-mini { display: none; }
}
/* the phone home's door to the Souk (after the path) and the laptop's tile in the dock */
#screen-list.md .md-zoco {
  display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 8px 14px 8px 8px; border-radius: 20px; background: var(--md-paper);
  box-shadow: inset 0 0 0 2px var(--md-line), 0 4px 0 var(--md-oro-line); color: var(--md-ink); text-decoration: none;
}
#screen-list.md .md-zoco img { width: 84px; height: 72px; flex: none; object-fit: contain; object-position: 50% 100%; border-radius: 14px; background: var(--md-sand); }
#screen-list.md .md-zoco-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
#screen-list.md .md-zoco-t b { font: 800 18px/1.1 var(--md-head); color: var(--md-rojo); }
#screen-list.md .md-zoco-t small { font-size: 13px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .md-zoco-c, #screen-list.md .md-tile-coins { display: inline-flex; align-items: center; gap: 4px; flex: none; font: 800 16px/1 var(--md-body); color: var(--md-oro-ink); }
#screen-list.md .md-zoco-c .md-coin, #screen-list.md .md-tile-coins .md-coin { width: 20px; height: 20px; }
#screen-list.md .md-zoco > svg:last-child { width: 18px; height: 18px; flex: none; color: var(--md-soft); }
#screen-list.md .md-tile-coins { margin-left: auto; }

#screen-list.md .md-main.md-zc { max-width: none; padding: 0; gap: 0; }
#screen-list.md .zc { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--md-crema); }
#screen-list.md .zc-head { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 18px; background: var(--md-rojo); }
#screen-list.md .zc-head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#screen-list.md .zc-back {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 48px; padding: 0 16px 0 10px; border-radius: 999px;
  background: var(--md-sand); color: var(--md-rojo); font: 800 15px/1 var(--md-body); text-decoration: none;
}
#screen-list.md .zc-back svg { width: 18px; height: 18px; }
#screen-list.md .zc-purse {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--md-paper);
  color: var(--md-rojo); text-decoration: none; box-shadow: 0 3px 0 var(--md-oro);
}
#screen-list.md .zc-purse .md-coin { width: 30px; height: 30px; }
#screen-list.md .zc-purse b { font: 800 22px/1 var(--md-head); }
#screen-list.md .zc-purse.is-small { padding-right: 14px; gap: 6px; }
#screen-list.md .zc-purse.is-small .md-coin { width: 26px; height: 26px; }
#screen-list.md .zc-purse.is-small b { font-size: 19px; }
#screen-list.md .zc-h1 { margin: 0; font: 800 34px/1.05 var(--md-head); color: var(--md-oro-claro); }
#screen-list.md .zc-h1.is-dark { font-size: 30px; color: var(--md-rojo); }
#screen-list.md .zc-sub { margin: 0; color: var(--md-crema); font-size: 15px; font-weight: 500; line-height: 1.4; }
#screen-list.md .zc-body { display: flex; flex-direction: column; gap: 26px; padding: 18px 16px 28px; }
#screen-list.md .zc-h2 { margin: 0; font: 800 24px/1.1 var(--md-head); color: var(--md-rojo); }
#screen-list.md .zc-h2.is-small { font-size: 20px; }
#screen-list.md .zc-msg { margin: 0; min-height: 1.3em; font-size: 15px; font-weight: 800; color: var(--md-red); }
#screen-list.md .zc-msg:empty { min-height: 0; }
#screen-list.md .zc-msg.is-light { color: #ffd9d9; }
#screen-list.md .zc :is(a, button):focus-visible { outline-color: var(--md-rojo); }
#screen-list.md :is(.zc-head, .zc-stage-top, .zc-new) :is(a, button):focus-visible { outline-color: var(--md-oro-claro); }
/* ── the pedestal (2026-10-20, «The character waits for you», his words: "it should feel like the 3D avatar is there
   waiting for you"): one character on a lit pedestal like a game's character-select screen (js/mi-dralingo.js podHtml).
   The host places it: --px across, --pb from its bottom, --pw the pedestal's width, --hmax the character's tallest, --room
   how far it may spread from its feet (its own container units). .zc-pod is the point where the feet stand (the centre
   of the pedestal's top); --fx = where the character stands across its picture, --ar its width / height, --reach how far
   it spreads from its feet (a winged Dralingo): a wide one stands smaller so its wings stay on screen.
   Alive (.is-idle, a still picture): it breathes (3.8 s), sways softly from its feet (twice as slow), its floor shadow
   breathes with it, and a light sweeps over it and across the pedestal's gold rim every 7.6 s. A real idle loop playing
   (.is-live, saga.js ZOCO_ANIM) needs none of that: only the rim's light. Reduced motion: nothing moves. */
#screen-list.md .zc-pod { position: absolute; left: var(--px, 50%); bottom: var(--pb, 40px); width: 0; height: 0; --h: var(--hmax, 240px); }
@supports (width: 1cqw) {
  #screen-list.md .zc-pod { --h: min(var(--hmax, 240px), calc((var(--room, 50cqw) - 6px) / var(--reach, .4))); }
}
#screen-list.md .zc-ped-glow {
  position: absolute; left: calc(var(--pw) * -.8); bottom: calc(var(--pw) * -.02); width: calc(var(--pw) * 1.6); height: calc(var(--h) * .9); pointer-events: none;
  background: radial-gradient(ellipse 50% 72% at 50% 100%, rgba(255, 222, 146, .52), rgba(255, 214, 120, .16) 52%, rgba(255, 214, 120, 0) 74%);
}
#screen-list.md .zc-ped { position: absolute; left: calc(var(--pw) / -2); top: calc(var(--pw) * -.1); width: var(--pw); height: calc(var(--pw) * .31); }
/* the drum: Rojo Imperial, lit from the front, a gold rim at its foot */
#screen-list.md .zc-ped::before {
  content: ''; position: absolute; left: 0; right: 0; top: calc(var(--pw) * .1); height: calc(var(--pw) * .21);
  border-radius: 0 0 50% 50% / 0 0 calc(var(--pw) * .1) calc(var(--pw) * .1);
  background: linear-gradient(90deg, #2c0606, #681313 17%, #8f2626 47%, #681313 80%, #2c0606);
  box-shadow: inset 0 calc(var(--pw) * -.024) 0 var(--md-oro), 0 calc(var(--pw) * .035) calc(var(--pw) * .07) rgba(12, 4, 24, .42);
}
/* its top: a cream light in the middle falling to a gold rim (the spotlight on it) */
#screen-list.md .zc-ped-top {
  position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--pw) * .2); border-radius: 50%; overflow: hidden;
  background: radial-gradient(ellipse 58% 64% at 50% 42%, #fffdf6 0%, #f8edca 34%, #e8c878 72%, #c79c3e 100%);
  box-shadow: inset 0 0 0 calc(var(--pw) * .016) #f3da94, inset 0 calc(var(--pw) * -.02) calc(var(--pw) * .03) rgba(133, 99, 29, .5);
}
#screen-list.md .zc-ped-top::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -36%; width: 32%; opacity: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0));
}
/* the shadow under its feet, on the pedestal */
#screen-list.md .zc-ped-shadow {
  --sw: min(calc(var(--pw) * .74), calc(var(--h) * var(--ar, .45) * .6));
  position: absolute; left: calc(var(--sw) / -2); top: calc(var(--pw) * -.034); width: var(--sw); height: calc(var(--pw) * .068); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 34, 4, .55), rgba(70, 34, 4, 0));
}
/* the character: standing by its feet on the centre, a hair into the surface */
#screen-list.md .zc-fig {
  position: absolute; bottom: calc(var(--pw) * -.028); left: calc(var(--fx, .5) * var(--ar, .45) * var(--h) * -1); width: calc(var(--ar, .45) * var(--h)); height: var(--h);
  transform-origin: calc(var(--fx, .5) * 100%) 100%;
}
#screen-list.md .zc-fig-in { position: relative; display: block; width: 100%; height: 100%; transform-origin: calc(var(--fx, .5) * 100%) 100%; }
#screen-list.md .zc-fig-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 100%; transition: transform .22s var(--md-ease); }
/* a free character of the saga (its picture's own width): centred on its feet */
#screen-list.md .zc-pod.is-free .zc-fig { left: 0; width: 0; display: flex; justify-content: center; transform-origin: 50% 100%; }
#screen-list.md .zc-pod.is-free .zc-fig-in { flex: none; width: auto; transform-origin: 50% 100%; }
#screen-list.md .zc-pod.is-free .zc-fig-img { width: auto; }
/* the light that sweeps over the character, cut to its own shape (a mask of its picture) */
#screen-list.md .zc-sheen { display: none; }
#screen-list.md .zc-pod.is-idle .zc-sheen {
  position: absolute; inset: 0; display: block; overflow: hidden; pointer-events: none;
  -webkit-mask: var(--src) 50% 100% / contain no-repeat; mask: var(--src) 50% 100% / contain no-repeat;
}
#screen-list.md .zc-sheen > i {
  position: absolute; top: -10%; bottom: -10%; left: 0; width: 46%; transform: translateX(-120%) skewX(-14deg);
  background: linear-gradient(90deg, rgba(255, 250, 232, 0), rgba(255, 250, 232, .5) 50%, rgba(255, 250, 232, 0));
}
/* (emil-design-eng pass) the sway's period never divides the breath's, so the idle never visibly loops; the light passes
   every 9 s, a treat and not a metronome; every animation takes its phase from the page's clock (--ph = −performance.now(),
   js/mi-dralingo.js podHtml), so a redraw (data arriving, «Desbloquear») never snaps a breath back to its start */
#screen-list.md .zc-pod.is-idle .zc-fig { animation: zc-sway 6.9s cubic-bezier(.37, 0, .63, 1) var(--ph, 0s) infinite; }
#screen-list.md .zc-pod.is-idle .zc-fig-in { animation: zc-breathe 3.8s cubic-bezier(.37, 0, .63, 1) var(--ph, 0s) infinite; }
#screen-list.md .zc-pod.is-idle .zc-ped-shadow { animation: zc-shadow 3.8s cubic-bezier(.37, 0, .63, 1) var(--ph, 0s) infinite; }
#screen-list.md .zc-pod.is-idle .zc-sheen > i { animation: zc-sweep 9s cubic-bezier(.45, 0, .25, 1) calc(var(--ph, 0s) + 1.6s) infinite; }
#screen-list.md .zc-pod:is(.is-idle, .is-live) .zc-ped-top::after { animation: zc-glint 9s cubic-bezier(.45, 0, .25, 1) calc(var(--ph, 0s) + 1.6s) infinite; }
@keyframes zc-breathe { 0%, 100% { transform: none; } 50% { transform: scale(1.008, 1.022); } }
@keyframes zc-sway { 0%, 100% { transform: rotate(-.6deg); } 50% { transform: rotate(.6deg); } }
@keyframes zc-shadow { 0%, 100% { transform: none; opacity: 1; } 50% { transform: scale(.96); opacity: .86; } }
@keyframes zc-sweep { 0% { transform: translateX(-120%) skewX(-14deg); } 15%, 100% { transform: translateX(260%) skewX(-14deg); } }
@keyframes zc-glint { 0%, 10% { transform: none; opacity: 0; } 11% { opacity: 1; } 23% { transform: translateX(430%); opacity: 1; } 24%, 100% { transform: translateX(430%); opacity: 0; } }
@keyframes zc-fade { from { opacity: 0; } to { opacity: 1; } }
/* reduced motion: nothing moves; the new character of «¡Ya es tuyo!» still fades in (gentler, not gone) */
@media (prefers-reduced-motion: reduce) {
  #screen-list.md .zc-pod, #screen-list.md .zc-pod * { animation: none !important; }
  #screen-list.md .zc-pod .zc-sheen, #screen-list.md .zc-pod .zc-ped-top::after { display: none; }
  #screen-list.md .zc-pod.is-new .zc-fig-img { animation: zc-fade .2s ease-out both !important; }
}
/* ── 🧊 the character in real 3D (2026-10-20, js/zoco3d/stage.js): a transparent canvas over the whole stage, the CSS
   pedestal under it. Its picture shows until the first 3D frame (.is-3d), then fades out under the model. A vertical
   swipe still scrolls the page (pan-y); a sideways drag turns the character. */
#screen-list.md .zc-3d {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; touch-action: pan-y; cursor: grab;
  transition: opacity .45s var(--md-ease); -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
}
#screen-list.md .zc-3d:active { cursor: grabbing; }
#screen-list.md .zc-3d:focus-visible { outline: 3px solid var(--md-oro-claro); outline-offset: -8px; }
#screen-list.md .zc-stage.is-3d .zc-3d { opacity: 1; }
#screen-list.md .zc-stage.has-3d .zc-fig, #screen-list.md .zc-stage.has-3d .zc-ped-shadow { transition: opacity .35s var(--md-ease); }
#screen-list.md .zc-stage.is-3d .zc-fig, #screen-list.md .zc-stage.is-3d .zc-ped-shadow { opacity: 0; }
#screen-list.md .zc-stage.is-3d .zc-pod { transition: none; }
/* (the picture hidden under the model stops its own idle: no animation running where nobody sees it) */
#screen-list.md .zc-stage.is-3d .zc-pod :is(.zc-fig, .zc-fig-in, .zc-ped-shadow, .zc-sheen > i) { animation: none; }
/* the hint that teaches by doing: a hand swiping (or tapping) and four words, under the pedestal, never on a button */
#screen-list.md .zc-3d-hint {
  position: absolute; left: 50%; bottom: 34px; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px;
  border-radius: 999px; background: rgba(22, 14, 52, .8); box-shadow: 0 4px 14px rgba(10, 6, 30, .35), inset 0 0 0 2px rgba(243, 218, 148, .55);
  color: #fff7e2; font: 800 16px/1.15 var(--md-body); white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s var(--md-ease), transform .3s var(--md-ease);
}
#screen-list.md .zc-3d-hint.is-on { opacity: 1; transform: translate(-50%, 0); }
#screen-list.md .zc-3d-hand { display: flex; width: 40px; height: 40px; }
#screen-list.md .zc-3d-hint.is-spin.is-on .zc-3d-hand { animation: zc-swipe 1.5s cubic-bezier(.45, 0, .25, 1) infinite; }
#screen-list.md .zc-3d-hint.is-tap.is-on .zc-3d-hand { animation: zc-tap 1.1s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes zc-swipe { 0%, 100% { transform: translateX(-7px) rotate(-8deg); } 50% { transform: translateX(9px) rotate(8deg); } }
@keyframes zc-tap { 0%, 100% { transform: none; } 40% { transform: translateY(3px) scale(.86); } 60% { transform: translateY(1px) scale(.92); } }
@media (min-width: 700px) {
  #screen-list.md .zc-3d-hint { bottom: 36px; font-size: 17px; }
}
/* the spotlight */
#screen-list.md .zc-hero {
  position: relative; display: block; height: 300px; border-radius: 26px; overflow: hidden; background: #1a1240; box-shadow: 0 6px 0 var(--md-oro-line); text-decoration: none;
  container-type: size; --px: 68%; --pb: 36px; --pw: 146px; --hmax: 226px; --room: 44cqw;
}
#screen-list.md .zc-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
#screen-list.md .zc-hero picture { position: absolute; inset: 0; }
#screen-list.md .zc-badge { position: absolute; left: 16px; top: 16px; display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--md-red); color: var(--md-paper); font-weight: 800; font-size: 13px; }
#screen-list.md .zc-hero-t { position: absolute; z-index: 1; left: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: calc(68% - 76px); }
/* (2026-10-20) a soft night behind the name: a wide winged character may spread its wing behind it */
#screen-list.md .zc-hero-t::before {
  content: ''; position: absolute; z-index: -1; left: -40px; right: -36px; top: -34px; bottom: -26px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(18, 10, 44, .62), rgba(18, 10, 44, .32) 60%, rgba(18, 10, 44, 0));
}
#screen-list.md .zc-hero-name { font: 800 26px/1.05 var(--md-head); color: var(--md-paper); text-shadow: 0 2px 0 var(--md-ink), 0 0 14px rgba(26, 18, 64, .7); }
#screen-list.md .zc-hero-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--md-paper); color: var(--md-rojo); }
#screen-list.md .zc-hero-chip .md-coin { width: 22px; height: 22px; }
#screen-list.md .zc-hero-chip b { font-weight: 800; font-size: 16px; }
#screen-list.md .zc-hero-chip > svg:last-child { width: 18px; height: 18px; }
#screen-list.md .zc-hero-chip.is-owned { padding-left: 10px; color: var(--md-green); background: var(--md-green-pale); font-weight: 800; }
/* the welcome gift (once) */
#screen-list.md .zc-gift { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--md-green-pale); box-shadow: inset 0 0 0 2px #b9dcc6; }
#screen-list.md .zc-gift img { width: 56px; height: auto; flex: none; }
#screen-list.md .zc-gift p { display: flex; flex-direction: column; gap: 2px; margin: 0; }
#screen-list.md .zc-gift b { font: 800 18px/1.15 var(--md-head); color: var(--md-green); }
#screen-list.md .zc-gift span { font-size: 14px; font-weight: 700; color: var(--md-ink-2); }
/* the sections and their cards */
#screen-list.md .zc-sec { display: flex; flex-direction: column; gap: 12px; }
#screen-list.md .zc-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
#screen-list.md .zc-count { font-size: 14px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .zc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#screen-list.md .zc-card {
  display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 20px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line);
  color: var(--md-ink); text-decoration: none; transition: transform .16s var(--md-ease), box-shadow .16s var(--md-ease);
}
#screen-list.md .zc-card.is-ready { box-shadow: inset 0 0 0 2px var(--md-oro-claro), 0 4px 0 var(--md-oro-line); }
#screen-list.md .zc-card-art { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 150px; border-radius: 14px; background: var(--md-sand); overflow: hidden; }
#screen-list.md .zc-card-img { height: 140px; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; }
#screen-list.md .zc-lock { position: absolute; top: 8px; right: 8px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--md-rojo); color: var(--md-oro-claro); }
#screen-list.md .zc-lock svg { width: 16px; height: 16px; }
#screen-list.md .zc-lock.is-ready { background: var(--md-oro-claro); color: var(--md-rojo); box-shadow: 0 0 0 3px var(--md-paper); }
#screen-list.md .zc-card-name { min-height: 2.3em; font: 800 16px/1.15 var(--md-head); overflow-wrap: anywhere; }
#screen-list.md .zc-price { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
#screen-list.md .zc-price .md-coin { width: 20px; height: 20px; }
#screen-list.md .zc-price b { font-size: 16px; font-weight: 800; color: var(--md-oro-ink); }
#screen-list.md .zc-ready { padding: 2px 8px; border-radius: 999px; background: var(--md-sand); color: var(--md-rojo); box-shadow: inset 0 0 0 1px var(--md-oro-claro); font-size: 12px; font-weight: 800; }
#screen-list.md .zc-own { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--md-green-pale); color: var(--md-green); font-weight: 800; font-size: 14px; }
#screen-list.md .zc-own svg { width: 16px; height: 16px; }
#screen-list.md .zc-earn {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; border-radius: 22px; background: var(--md-oro-claro); color: var(--md-rojo);
  box-shadow: 0 5px 0 var(--md-oro); text-decoration: none;
}
#screen-list.md .zc-earn img { width: 64px; height: auto; flex: none; }
#screen-list.md .zc-earn-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
#screen-list.md .zc-earn-t b { font: 800 21px/1.1 var(--md-head); }
#screen-list.md .zc-earn-t span { font-size: 14px; font-weight: 700; color: var(--md-ink-2); }
#screen-list.md .zc-earn > svg:last-child { width: 20px; height: 20px; flex: none; }
#screen-list.md .zc-earn.is-slim { padding: 10px 14px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line), 0 4px 0 var(--md-oro-line); }
#screen-list.md .zc-earn.is-slim > .md-coin { width: 34px; height: 34px; }
#screen-list.md .zc-earn.is-slim b { font-size: 18px; }
/* buttons */
#screen-list.md .zc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; padding: 0 18px; border: 0; border-radius: 18px;
  font: 800 20px/1.1 var(--md-head); text-align: center; text-decoration: none; cursor: pointer; transition: transform .14s var(--md-ease);
}
#screen-list.md .zc-btn svg { width: 20px; height: 20px; }
#screen-list.md .zc-btn.is-gold { background: var(--md-oro-claro); color: var(--md-rojo); box-shadow: 0 5px 0 var(--md-oro); }
#screen-list.md .zc-btn.is-rojo { min-height: 52px; background: var(--md-rojo); color: var(--md-oro-claro); box-shadow: 0 4px 0 #3d0a0a; font-size: 19px; }
#screen-list.md .zc-btn.is-off { background: var(--md-wash); color: var(--md-soft); cursor: default; }
#screen-list.md .zc-btn.is-plain { min-height: 48px; background: transparent; color: var(--md-rojo); font: 800 16px/1.2 var(--md-body); text-decoration: underline; text-underline-offset: 3px; }
#screen-list.md .zc-btn:disabled { cursor: default; }
#screen-list.md .zc-btn:not(:disabled):active, #screen-list.md .zc-card:active, #screen-list.md .zc-pick:active, #screen-list.md .zc-earn:active, #screen-list.md .md-zoco:active { transform: scale(.97); }
/* (the big spotlight card: a gentler press) */
#screen-list.md .zc-hero { transition: transform .14s var(--md-ease); }
#screen-list.md .zc-hero:active { transform: scale(.985); }
/* a character */
#screen-list.md .zc-item { background: var(--md-paper); }
#screen-list.md .zc-stage {
  position: relative; height: 430px; flex: none; background: #1a1240; overflow: hidden;
  container-type: size; --px: 50%; --pb: 76px; --pw: 232px; --hmax: 288px; --room: 50cqw;
}
#screen-list.md .zc-stage picture { position: absolute; inset: 0; }
#screen-list.md .zc-stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 70%; }
/* the stage's spotlight: a soft cone of light from above onto the pedestal */
#screen-list.md .zc-beam {
  position: absolute; left: 50%; top: 0; bottom: var(--pb); width: calc(var(--pw) * 1.12); transform: translateX(-50%); pointer-events: none;
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 240, 206, 0) 0%, rgba(255, 240, 206, .1) 40%, rgba(255, 236, 196, .26) 100%);
}
#screen-list.md .zc-stage-top { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#screen-list.md .zc-sheet { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; margin-top: -24px; padding: 22px 18px 24px; border-radius: 26px 26px 0 0; background: var(--md-paper); }
#screen-list.md .zc-sheet-t { display: flex; flex-direction: column; gap: 4px; }
#screen-list.md .zc-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--md-sand); color: var(--md-oro-ink); font-weight: 800; font-size: 13px; }
#screen-list.md .zc-blurb { margin: 0; font-size: 15px; line-height: 1.45; color: var(--md-ink-2); }
#screen-list.md .zc-meter-box { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--md-warm); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md .zc-meter-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 800; font-size: 15px; }
#screen-list.md .zc-meter-left { color: var(--md-oro-ink); }
#screen-list.md .zc-meter-ok { color: var(--md-rojo); }
#screen-list.md .zc-meter { height: 14px; border-radius: 999px; background: var(--md-wash); overflow: hidden; }
#screen-list.md .zc-meter i { display: block; height: 100%; border-radius: 999px; background: var(--md-oro); }
#screen-list.md .zc-sure { margin: 0; text-align: center; font-weight: 800; color: var(--md-ink-2); }
#screen-list.md .zc-mine, #screen-list.md .zc-using { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--md-green-pale); color: var(--md-green); font-weight: 800; }
#screen-list.md .zc-mine { font: 800 20px/1.1 var(--md-head); }
#screen-list.md .zc-mine svg, #screen-list.md .zc-using svg { width: 20px; height: 20px; flex: none; }
/* «¿Cómo gano monedas?» */
#screen-list.md .zc-head-art { gap: 6px; padding-bottom: 0; overflow: hidden; }
#screen-list.md .zc-head-split { display: flex; align-items: flex-end; gap: 6px; }
#screen-list.md .zc-head-t { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; min-width: 0; }
#screen-list.md .zc-head-art .zc-h1 { font-size: 30px; }
#screen-list.md .zc-head-img { width: 118px; height: auto; flex: none; }
#screen-list.md .zc-coins .zc-body { gap: 12px; }
#screen-list.md .zc-ways { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
#screen-list.md .zc-way { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md .zc-way-n { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--md-sand); font: 800 20px/1 var(--md-head); color: var(--md-rojo); }
#screen-list.md .zc-way-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#screen-list.md .zc-way-t b { font-size: 16px; font-weight: 800; line-height: 1.25; }
#screen-list.md .zc-way-t span { font-size: 14px; color: var(--md-soft); line-height: 1.35; }
#screen-list.md .zc-way-c { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--md-warm); box-shadow: inset 0 0 0 2px var(--md-oro-claro); }
#screen-list.md .zc-way-c .md-coin { width: 20px; height: 20px; }
#screen-list.md .zc-way-c b { font-weight: 800; font-size: 15px; color: var(--md-oro-ink); white-space: nowrap; }
#screen-list.md .zc-note, #screen-list.md .zc-soon { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border-radius: 18px; font-weight: 700; font-size: 15px; line-height: 1.35; }
#screen-list.md .zc-note { background: var(--md-warm); color: var(--md-ink-2); box-shadow: inset 0 0 0 2px var(--md-line); }
#screen-list.md .zc-note .md-coin { width: 22px; height: 22px; }
#screen-list.md .zc-soon { background: var(--md-wash); color: var(--md-ink-2); }
#screen-list.md .zc-soon svg { width: 22px; height: 22px; flex: none; }
#screen-list.md .zc-cta { margin-top: 6px; min-height: 56px; font-size: 20px; }
/* «¡Ya es tuyo!» */
#screen-list.md .zc-new { position: relative; align-items: center; gap: 14px; padding: 34px 20px 24px; background: var(--md-rojo); color: var(--md-paper); overflow: hidden; text-align: center; }
#screen-list.md .zc-rays { position: absolute; left: 50%; top: 90px; width: 390px; height: 420px; margin-left: -195px; pointer-events: none; }
#screen-list.md .zc-rays g { transform-origin: 195px 210px; animation: zc-spin 40s linear infinite; }
#screen-list.md .zc-new > :not(.zc-rays) { position: relative; }
#screen-list.md .zc-new-chip { padding: 6px 14px; border-radius: 999px; background: var(--md-oro-claro); color: var(--md-rojo); font-weight: 800; font-size: 14px; }
#screen-list.md .zc-new-h { margin: 0; font: 800 40px/1 var(--md-head); color: var(--md-oro-claro); }
/* the new character pops up onto its pedestal (the pop on the picture, its idle on its wrappers: they never fight) */
#screen-list.md .zc-new-stage {
  position: relative; flex: none; width: 100%; max-width: 420px; height: min(392px, 46vh); margin-top: 4px;
  container-type: size; --px: 50%; --pw: 200px; --pb: 50px; --hmax: min(330px, calc(46vh - 56px)); --room: 50cqw;
}
@supports (width: 1cqw) {
  #screen-list.md .zc-new-stage { --pw: min(212px, 58cqw); --pb: calc(var(--pw) * .25); --hmax: calc(100cqh - var(--pb) - 6px); }
}
#screen-list.md .zc-pod.is-new .zc-fig-img { animation: zc-pop .6s var(--md-ease) both; transform-origin: calc(var(--fx, .5) * 100%) 100%; }
#screen-list.md .zc-pod.is-new .zc-ped::before { background: linear-gradient(90deg, #1f0303, #4a0c0c 17%, #6e1a1a 47%, #4a0c0c 80%, #1f0303); }
/* (the gold rays already turn behind it: no extra light sweeping here, one moving thing at a time) */
#screen-list.md .zc-pod.is-new .zc-sheen, #screen-list.md .zc-pod.is-new .zc-ped-top::after { display: none; }
#screen-list.md .zc-new-name { margin: 0; font: 800 26px/1.1 var(--md-head); }
#screen-list.md .zc-new-sub { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.4; color: var(--md-sand); }
#screen-list.md .zc-new-acts { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; margin-top: auto; }
#screen-list.md .zc-new-acts .zc-btn.is-gold { min-height: 58px; font-size: 21px; }
#screen-list.md .zc-new-back { display: flex; align-items: center; justify-content: center; min-height: 48px; color: var(--md-sand); font-weight: 800; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
@keyframes zc-spin { to { transform: rotate(360deg); } }
@keyframes zc-pop { 0% { opacity: 0; transform: scale(.7) translateY(24px); } 60% { opacity: 1; transform: scale(1.04) translateY(-4px); } 100% { opacity: 1; transform: none; } }
/* «Elige tu personaje» */
#screen-list.md .zc-pick-head { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 6px; }
#screen-list.md .zc-now { display: flex; align-items: center; gap: 14px; margin: 6px 16px 0; padding: 14px; border-radius: 22px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); }
/* (2026-10-20) the character you play as, on its own small lit pedestal */
#screen-list.md .zc-now-art {
  position: relative; flex: none; width: 140px; height: 160px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 92%, #fffaf0 0%, var(--md-sand) 62%, #ead39a 100%);
  /* (--room past the half: in this small frame a winged Dralingo may lose its wing tips, never his size) */
  container-type: size; --px: 50%; --pb: 24px; --pw: 104px; --hmax: 126px; --room: 66cqw;
}
#screen-list.md .zc-now-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#screen-list.md .zc-now-t > span:first-child { font-size: 14px; font-weight: 700; color: var(--md-soft); }
#screen-list.md .zc-now-t b { font: 800 22px/1.1 var(--md-head); overflow-wrap: anywhere; }
#screen-list.md .zc-now-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--md-green); font-weight: 800; font-size: 14px; }
#screen-list.md .zc-now-ok svg { width: 16px; height: 16px; }
#screen-list.md .zc-pickpage .zc-body { gap: 12px; }
#screen-list.md .zc-pickpage .zc-h2 + .zc-grid3 { margin-bottom: 10px; }
#screen-list.md .zc-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#screen-list.md .zc-pick {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-height: 48px; padding: 10px 6px;
  border: 0; border-radius: 18px; background: var(--md-paper); box-shadow: inset 0 0 0 2px var(--md-line); cursor: pointer; font: inherit;
  color: var(--md-ink); text-decoration: none; transition: transform .14s var(--md-ease), box-shadow .14s var(--md-ease);
}
#screen-list.md .zc-pick img.is-body { height: 86px; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; }
#screen-list.md .zc-pick img.is-head { width: 72px; height: 72px; margin: 7px 0; border-radius: 50%; object-fit: cover; background: var(--md-sand); }
#screen-list.md .zc-pick > span { font-weight: 800; font-size: 13px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
#screen-list.md .zc-pick.is-on { box-shadow: inset 0 0 0 3px var(--md-green), 0 0 0 3px var(--md-green-pale); }
#screen-list.md .zc-pick.is-locked { background: var(--md-wash); box-shadow: none; }
#screen-list.md .zc-pick.is-locked img { opacity: .55; filter: grayscale(.6); }
#screen-list.md .zc-pick.is-locked > span { color: var(--md-ink-2); }
#screen-list.md .zc-pick .zc-pick-price { display: inline-flex; align-items: center; gap: 4px; color: var(--md-oro-ink); }
#screen-list.md .zc-pick .zc-pick-price svg { width: 14px; height: 14px; color: var(--md-rojo); }
#screen-list.md .zc-pick .zc-pick-price b { font-size: 13px; }
@media (hover: hover) and (pointer: fine) {
  #screen-list.md .zc-card:hover, #screen-list.md .zc-pick:not(.is-on):hover { box-shadow: inset 0 0 0 2px var(--md-oro-line), 0 4px 0 var(--md-oro-line); }
  #screen-list.md .zc-hero:hover .zc-fig-img { transform: translateY(-5px); }
}
/* a laptop / tablet: wider grids, the character beside its sheet */
@media (min-width: 700px) {
  #screen-list.md .zc-head { padding: 18px max(24px, calc(50% - 540px)) 22px; }
  #screen-list.md .zc-body { width: 100%; max-width: 1128px; margin: 0 auto; padding: 22px 24px 32px; }
  #screen-list.md .zc-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
  #screen-list.md .zc-hero { height: 340px; --px: 70%; --pb: 40px; --pw: 196px; --hmax: 266px; --room: 40cqw; }
  #screen-list.md .zc-hero-t { left: 28px; bottom: 26px; max-width: min(360px, calc(70% - 120px)); }
  #screen-list.md .zc-hero-name { font-size: 36px; }
  #screen-list.md .zc-item { flex-direction: row; min-height: 100vh; min-height: 100dvh; }
  #screen-list.md .zc-stage { flex: 1 1 58%; height: auto; min-height: 100vh; min-height: 100dvh; --pb: 96px; --pw: 320px; --hmax: min(60vh, 500px); }
  #screen-list.md .zc-sheet { flex: 0 1 460px; justify-content: center; margin-top: 0; padding: 40px 36px; border-radius: 0; }
  #screen-list.md .zc-coins .zc-body, #screen-list.md .zc-pickpage .zc-body { max-width: 760px; }
  #screen-list.md .zc-coins .zc-head { padding-left: max(24px, calc(50% - 356px)); padding-right: max(24px, calc(50% - 356px)); }
  #screen-list.md .zc-coins .zc-head-art { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 12px; align-items: start; }
  #screen-list.md .zc-coins .zc-head-split { display: contents; }
  #screen-list.md .zc-coins .zc-head-art > .zc-back { grid-column: 1; grid-row: 1; justify-self: start; }
  #screen-list.md .zc-coins .zc-head-t { grid-column: 1; grid-row: 2; padding-bottom: 22px; }
  #screen-list.md .zc-coins .zc-head-img { grid-column: 2; grid-row: 1 / span 2; align-self: end; width: 108px; }
  #screen-list.md .zc-pick-head, #screen-list.md .zc-now { width: calc(100% - 48px); max-width: 712px; margin-left: auto; margin-right: auto; }
  #screen-list.md .zc-pick-head { padding: 18px 0 6px; }
  #screen-list.md .zc-grid3 { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  #screen-list.md .zc-now-art { width: 172px; height: 184px; --pb: 26px; --pw: 124px; --hmax: 146px; }
}
@media (min-width: 1000px) {
  #screen-list.md .md-dock { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  #screen-list.md .zc-rays g { animation: none !important; }
}
/* a short phone (360 × 640): the character's stage gives way, so «Desbloquear» sits on the first screen */
@media (max-width: 699px) and (max-height: 760px) {
  #screen-list.md .zc-stage { height: min(430px, 44vh); --pb: 58px; --pw: 188px; --hmax: min(288px, calc(44vh - 118px)); }
  /* («¡Ya es tuyo!»: «Usarlo ahora» and «Volver al Draly Souk» both on the first screen) */
  #screen-list.md .zc-new { gap: 10px; padding-top: 24px; }
  #screen-list.md .zc-new-stage { height: min(392px, 40vh); }
  #screen-list.md .zc-sheet { gap: 12px; padding-top: 18px; }
  #screen-list.md .zc-h1.is-dark { font-size: 26px; }
}
/* a short laptop (1366 × 657 under the browser bars): the spotlight smaller, the first cards on the first screen */
@media (min-width: 700px) and (max-height: 760px) {
  #screen-list.md .zc-head { gap: 8px; padding-top: 12px; padding-bottom: 16px; }
  #screen-list.md .zc-h1 { font-size: 30px; }
  #screen-list.md .zc-body { padding-top: 16px; gap: 20px; }
  #screen-list.md .zc-hero { height: 250px; --pb: 30px; --pw: 150px; --hmax: 196px; }
  #screen-list.md .zc-stage { --pb: 80px; --hmax: min(58vh, 460px); }
  #screen-list.md .zc-hero-name { font-size: 30px; }
}

/* ═══ 🆕 2026-10-26 «use the Souk more» (his words: «let's use the souk a little bit more»): js/mi-dralingo.js ═══
   «Nuevo» on a new character's card, «Nuevo en el Draly Souk» on the home (soukNewsHtml: after the path; a laptop above
   the dock), «¡Ya te alcanza!» under «Hoy» (affordHtml: gold, never green; ✕ closes it for the day). Nothing moves. */
/* the shop's spotlight when the purse covers it: gold, «¡Ya te alcanza!» (like its card) */
#screen-list.md .zc-hero-chip.is-ready { flex-wrap: wrap; row-gap: 2px; background: var(--md-oro-claro); color: var(--md-rojo); box-shadow: 0 3px 0 var(--md-oro); }
#screen-list.md .zc-hero-ready { font-weight: 800; font-size: 13px; line-height: 1.2; }
#screen-list.md .zc-new-tag {
  position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--md-red); color: var(--md-paper);
  font-weight: 800; font-size: 12px; line-height: 1.3; box-shadow: 0 2px 0 rgba(28, 26, 23, .18);
}
#screen-list.md .md-souk {
  position: relative; isolation: isolate; display: flex; align-items: stretch; min-height: 158px; border-radius: 22px; overflow: hidden;
  background: #1a1240; box-shadow: 0 5px 0 var(--md-oro-line); color: var(--md-paper); text-decoration: none; transition: transform .14s var(--md-ease);
}
#screen-list.md .md-souk:active { transform: scale(.985); }
#screen-list.md .md-souk-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
#screen-list.md .md-souk-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 10, 44, .82) 0%, rgba(18, 10, 44, .58) 46%, rgba(18, 10, 44, .08) 78%); }
#screen-list.md .md-souk-t { position: relative; z-index: 3; flex: 1 1 56%; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 7px; padding: 14px 4px 14px 16px; }
#screen-list.md .md-souk-k { padding: 4px 10px; border-radius: 999px; background: var(--md-red); color: var(--md-paper); font-weight: 800; font-size: 12px; line-height: 1.25; }
#screen-list.md .md-souk-t > b { font: 800 21px/1.1 var(--md-head); color: var(--md-paper); text-shadow: 0 2px 0 var(--md-ink); overflow-wrap: anywhere; }
#screen-list.md .md-souk-t small { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-weight: 800; font-size: 14px; color: var(--md-oro-claro); }
#screen-list.md .md-souk-t small > svg { width: 16px; height: 16px; flex: none; }
#screen-list.md .md-souk-c { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 2px; border-radius: 999px; background: var(--md-paper); color: var(--md-rojo); }
#screen-list.md .md-souk-c .md-coin { width: 20px; height: 20px; }
#screen-list.md .md-souk-c b { font: 800 15px/1 var(--md-body); }
#screen-list.md .md-souk-pics { flex: 0 0 44%; min-width: 0; display: flex; align-items: flex-end; justify-content: center; padding: 12px 8px 0 10px; }
#screen-list.md .md-souk-pic { position: relative; width: auto; max-width: 62%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 4px 5px rgba(10, 6, 30, .45)); }
#screen-list.md .md-souk-pic.is-0 { order: 1; z-index: 2; height: 128px; }
#screen-list.md .md-souk-pic.is-1 { order: 0; z-index: 1; height: 100px; margin-right: -14px; }
#screen-list.md .md-souk-pic.is-2 { order: 2; z-index: 0; height: 92px; margin-left: -14px; }
@media (max-width: 380px) {
  #screen-list.md .md-souk-t > b { font-size: 19px; }
  #screen-list.md .md-souk-pics { flex-basis: 41%; padding-left: 12px; }
  #screen-list.md .md-souk-pic.is-0 { height: 112px; }
  #screen-list.md .md-souk-pic.is-1, #screen-list.md .md-souk-pic.is-2 { height: 84px; }
}
@media (min-width: 1000px) {
  #screen-list.md .md-souk { min-height: 150px; }
  #screen-list.md .md-souk-t > b { font-size: 24px; }
  #screen-list.md .md-souk-pics { flex-basis: 40%; }
}
/* (review 2026-10-26: one slim row, so the path moves down as little as possible) */
#screen-list.md .md-afford {
  display: flex; align-items: center; gap: 2px; min-height: 52px; padding: 2px 2px 2px 4px; border-radius: 16px; background: var(--md-warm);
  box-shadow: inset 0 0 0 2px var(--md-oro-claro), 0 3px 0 var(--md-oro-line);
}
#screen-list.md .md-afford-go { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 2px 4px; border-radius: 12px; color: var(--md-ink); text-decoration: none; }
#screen-list.md .md-afford-go:active { transform: scale(.98); }
#screen-list.md .md-afford-go img { width: 38px; height: 38px; flex: none; border-radius: 50%; object-fit: cover; background: var(--md-sand); box-shadow: 0 0 0 2px var(--md-oro-claro); }
#screen-list.md .md-afford-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0; line-height: 1.15; }
#screen-list.md .md-afford-t b { font: 800 16px/1.1 var(--md-head); color: var(--md-rojo); }
#screen-list.md .md-afford-t span { font-size: 13px; font-weight: 700; color: var(--md-ink-2); }
#screen-list.md .md-afford-go > svg { width: 18px; height: 18px; flex: none; color: var(--md-oro-ink); }
#screen-list.md .md-afford-x { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: transparent; color: var(--md-soft); cursor: pointer; }
#screen-list.md .md-afford-x svg { width: 20px; height: 20px; }
#screen-list.md .md-afford-x:active { transform: scale(.94); }
#screen-list.md .md-afford-x:focus-visible, #screen-list.md .md-afford-go:focus-visible, #screen-list.md .md-souk:focus-visible { outline: 3px solid var(--md-rojo); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  #screen-list.md .md-souk:hover .md-souk-pic.is-0 { transform: translateY(-4px); }
  #screen-list.md .md-afford-go:hover { background: rgba(232, 200, 120, .22); }
  #screen-list.md .md-afford-x:hover { background: var(--md-wash); }
}
#screen-list.md .md-souk-pic.is-0 { transition: transform .22s var(--md-ease); }
@media (prefers-reduced-motion: reduce) {
  #screen-list.md .md-souk, #screen-list.md .md-souk-pic.is-0 { transition: none; }
}
/* ═══ 🆕 2026-10-27 v3 «clean, by character» (his words: «it looks a little bit disorganized… it could be organized
   better, more clean and visually even more appealing»): js/mi-dralingo.js charCardHtml + zocoItemHtml ═══
   ONE card per character (its looks on its page): «N looks» under the name («2 de 4 looks» in green once some are the
   kid's), the price row at the card's foot («desde 800»), Dralingo's picture turning slowly through his families.
   The character's page: the strip of its looks under its name (Dralingo's in families, a label at the left), the chosen
   one ringed in gold, a green ✓ on the ones the kid has. «Ver en 3D» on the stage once the 3D is there. */
#screen-list.md .zc-sec-head { flex-wrap: wrap; row-gap: 2px; }
#screen-list.md .zc-count { white-space: nowrap; }
#screen-list.md .zc-card > .zc-price, #screen-list.md .zc-card > .zc-own { margin-top: auto; }
#screen-list.md .zc-card-name { min-height: 0; }
#screen-list.md .zc-card-meta { display: inline-flex; align-items: center; gap: 4px; margin-top: -4px; font-size: 13px; font-weight: 800; color: var(--md-soft); }
#screen-list.md .zc-card-meta.is-mine { color: var(--md-green); }
#screen-list.md .zc-card-meta svg { width: 14px; height: 14px; flex: none; }
#screen-list.md .zc-from { font-size: 13px; font-weight: 800; color: var(--md-oro-ink); }
#screen-list.md .zc-pick .zc-pick-price .zc-from { font-size: 12px; }
/* Dralingo's card: his families' looks, one after the other (3.2 s each, a soft cross-fade; reduced motion: the first) */
#screen-list.md .zc-cycle { position: absolute; inset: 0; }
#screen-list.md .zc-cycle .zc-card-img {
  position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); opacity: 0;
  /* (half a turn ahead: the page opens on the first look alone, never in the middle of a cross-fade) */
  animation: zc-cycle calc(var(--n, 4) * 3.2s) linear calc((var(--i, 0) - var(--n, 4) - .5) * 3.2s) infinite;
}
@keyframes zc-cycle { 0%, 22% { opacity: 1; } 28%, 94% { opacity: 0; } 100% { opacity: 1; } }
/* the character's page */
#screen-list.md .zc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#screen-list.md .zc-tag.is-n { background: var(--md-wash); color: var(--md-ink-2); }
#screen-list.md .zc-looks { display: flex; flex-direction: column; gap: 8px; }
#screen-list.md .zc-fam { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 8px; }
#screen-list.md .zc-fam + .zc-fam { padding-top: 8px; border-top: 1px solid var(--md-line); }
#screen-list.md .zc-fam-t { font: 800 15px/1.1 var(--md-head); color: var(--md-oro-ink); overflow-wrap: anywhere; }
#screen-list.md .zc-strip { display: flex; flex-wrap: wrap; gap: 8px; }
#screen-list.md .zc-look {
  position: relative; flex: none; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: var(--md-sand); cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--md-line); transition: transform .14s var(--md-ease), box-shadow .14s var(--md-ease);
  -webkit-tap-highlight-color: transparent;
}
#screen-list.md .zc-look img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
#screen-list.md .zc-look.is-on { box-shadow: 0 0 0 3px var(--md-oro-claro), 0 0 0 5px var(--md-rojo); }
#screen-list.md .zc-look:active { transform: scale(.94); }
#screen-list.md .zc-look:focus-visible { outline: 3px solid var(--md-rojo); outline-offset: 6px; }
#screen-list.md .zc-look-ok {
  position: absolute; right: -3px; bottom: -3px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--md-green); color: var(--md-paper); box-shadow: 0 0 0 2px var(--md-paper);
}
#screen-list.md .zc-look-ok svg { width: 13px; height: 13px; }
#screen-list.md .zc-look-new { position: absolute; right: 1px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--md-red); box-shadow: 0 0 0 2px var(--md-paper); }
#screen-list.md .zc-look-t { display: flex; flex-direction: column; gap: 4px; }
#screen-list.md .zc-look-h { margin: 0; font: 800 21px/1.15 var(--md-head); color: var(--md-ink); }
@media (hover: hover) and (pointer: fine) {
  #screen-list.md .zc-look:not(.is-on):hover { box-shadow: inset 0 0 0 2px var(--md-oro-line), 0 0 0 2px var(--md-oro-claro); }
}
/* 🧊 «Ver en 3D»: on the stage once the 3D character is there (.is-3d), under the purse */
#screen-list.md .zc-3d-open {
  position: absolute; z-index: 2; right: 14px; top: 74px; display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 12px;
  border: 0; border-radius: 999px; background: rgba(22, 14, 52, .8); color: #fff7e2; font: 800 15px/1 var(--md-body); cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 6, 30, .35), inset 0 0 0 2px rgba(243, 218, 148, .7); -webkit-tap-highlight-color: transparent;
  transition: transform .14s var(--md-ease);
}
#screen-list.md .zc-3d-open svg { width: 22px; height: 22px; color: var(--md-oro-claro); }
#screen-list.md .zc-stage.is-3d .zc-3d-open { display: inline-flex; animation: zc-fade .3s var(--md-ease) both; }
#screen-list.md .zc-3d-open:active { transform: scale(.96); }
#screen-list.md .zc-3d-open:focus-visible { outline: 3px solid var(--md-oro-claro); outline-offset: 2px; }
/* 🧊 the full-screen view (js/zoco3d/stage.js full()): the character on a night sky, nothing else to tap but ✕; the canvas
   takes every finger (touch-action: none: one finger turns it every way, two pinch it) */
#screen-list.md .zc-full {
  position: fixed; inset: 0; z-index: 8000; overflow: hidden; touch-action: none; overscroll-behavior: contain;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, #4a3592 0%, #241860 48%, #120b33 100%);
  animation: zc-fade .22s var(--md-ease) both;
}
#screen-list.md .zc-full::after {
  content: ''; position: absolute; left: 50%; bottom: -18vh; width: 120vmax; height: 46vh; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 222, 146, .18), rgba(255, 222, 146, 0));
}
#screen-list.md .zc-full .zc-3d { position: absolute; z-index: 1; opacity: 1; touch-action: none; transition: none; }
/* (the whole screen is the character: no ring around it; the keys still work, ✕ keeps its own ring) */
#screen-list.md .zc-full .zc-3d:focus-visible { outline: none; }
#screen-list.md .zc-full-name {
  position: absolute; z-index: 2; left: 18px; top: max(20px, env(safe-area-inset-top)); max-width: calc(100% - 104px); margin: 0;
  font: 800 24px/1.1 var(--md-head); color: var(--md-oro-claro); text-shadow: 0 2px 0 rgba(10, 6, 30, .6); pointer-events: none;
}
#screen-list.md .zc-full-x {
  position: absolute; z-index: 3; right: 14px; top: max(14px, env(safe-area-inset-top)); display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: var(--md-paper); color: var(--md-rojo); cursor: pointer;
  box-shadow: 0 4px 0 var(--md-oro), 0 6px 18px rgba(10, 6, 30, .45); -webkit-tap-highlight-color: transparent;
}
#screen-list.md .zc-full-x svg { width: 26px; height: 26px; }
#screen-list.md .zc-full-x:active { transform: scale(.94); }
#screen-list.md .zc-full-x:focus-visible { outline: 3px solid var(--md-oro-claro); outline-offset: 3px; }
#screen-list.md .zc-full .zc-3d-hint { z-index: 2; bottom: max(30px, calc(env(safe-area-inset-bottom) + 18px)); }
#screen-list.md .zc-3d-hint.is-pinch.is-on .zc-3d-hand { animation: zc-pinch 1.6s cubic-bezier(.45, 0, .25, 1) infinite; }
#screen-list.md .zc-3d-hint.is-orbit.is-on .zc-3d-hand { animation: zc-orbit 2.2s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes zc-pinch { 0%, 100% { transform: scale(.82) rotate(-10deg); } 50% { transform: scale(1.12) rotate(6deg); } }
@keyframes zc-orbit { 0% { transform: translate(-8px, 0); } 25% { transform: translate(0, -7px); } 50% { transform: translate(8px, 0); } 75% { transform: translate(0, 7px); } 100% { transform: translate(-8px, 0); } }
/* a wide laptop: six cards a row, so each section is one tidy row (The Squad's six fill it) */
@media (min-width: 1100px) {
  #screen-list.md .zc-main .zc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 700px) {
  #screen-list.md .zc-3d-open { right: 24px; top: 82px; }
  #screen-list.md .zc-full-name { left: 28px; top: 26px; font-size: 30px; }
  #screen-list.md .zc-full-x { right: 24px; top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #screen-list.md .zc-cycle .zc-card-img { animation: none; opacity: 0; }
  #screen-list.md .zc-cycle .zc-card-img:first-child { opacity: 1; }
  #screen-list.md .zc-full, #screen-list.md .zc-stage.is-3d .zc-3d-open { animation: none; }
  #screen-list.md .zc-look, #screen-list.md .zc-3d-open { transition: none; }
}

/* ═══ 🎭 2026-10-29 «every character on show» (his words: «some of them should be rarer than others… some should be seen
   like shadows… to keep the intrigue to unlock them»): the Souk wears the roster's rarity (css/roster.css: the frame's
   colour + a small label) and keeps the shadows' secret (a silhouette from the picture's own alpha, «?», no name, no 3D).
   «Elige tu personaje» draws its tiles with js/roster.js. ═══ */
#screen-list.md .zc-card.ro-r-raro { box-shadow: inset 0 0 0 2.5px var(--ro-raro); }
#screen-list.md .zc-card.ro-r-epico { box-shadow: inset 0 0 0 2.5px var(--ro-epico); }
#screen-list.md .zc-card.ro-r-legendario { box-shadow: inset 0 0 0 2.5px var(--ro-leg), inset 0 0 0 4.5px rgba(255, 228, 150, .55); }
#screen-list.md .zc-card.is-ready { box-shadow: inset 0 0 0 2.5px var(--md-oro-claro), 0 4px 0 var(--md-oro-line); }
#screen-list.md .zc-card-art > .ro-chip { position: absolute; left: 8px; bottom: 8px; }
#screen-list.md .zc-card.is-shadow { background: radial-gradient(120% 90% at 50% 25%, var(--ro-night-2), var(--ro-night) 72%); color: #fff4d6; }
#screen-list.md .zc-card.is-shadow .zc-card-art { background: radial-gradient(circle at 50% 62%, rgba(255, 211, 106, .34) 0 36%, rgba(255, 211, 106, 0) 68%); }
#screen-list.md .zc-card.is-shadow .ro-q { font-size: 54px; }
#screen-list.md .zc-price.is-shadow { color: #ffe39a; font-weight: 800; font-size: 14px; }
#screen-list.md .zc-price.is-shadow b { color: #fff; }
#screen-list.md .zc-card:not(.is-shadow) .zc-price.is-shadow { color: var(--md-soft); }
#screen-list.md .zc-card:not(.is-shadow) .zc-price.is-shadow svg { width: 16px; height: 16px; }
/* a look's ring on a character's page: its rarity; a shadow's thumb is its silhouette with «?» */
#screen-list.md .zc-look[data-r="raro"] { box-shadow: inset 0 0 0 2.5px var(--ro-raro); }
#screen-list.md .zc-look[data-r="epico"] { box-shadow: inset 0 0 0 2.5px var(--ro-epico); }
#screen-list.md .zc-look[data-r="legendario"] { box-shadow: inset 0 0 0 2.5px var(--ro-leg); }
#screen-list.md .zc-look.is-on { box-shadow: 0 0 0 3px var(--md-oro-claro), 0 0 0 5px var(--md-rojo); }
#screen-list.md .zc-look.is-shadow { background: radial-gradient(circle at 50% 50%, var(--ro-night-2), var(--ro-night)); }
#screen-list.md .zc-look.is-shadow .ro-q { font-size: 24px; }
#screen-list.md .zc-tags .ro-chip { height: 24px; padding: 0 10px; font-size: 12.5px; }
/* a shadow on its pedestal: the silhouette and a big «?» */
#screen-list.md .zc-fig-in { position: relative; }
#screen-list.md .ro-q.is-big { font-size: 96px; }
#screen-list.md .zc-item.is-shadow .zc-beam { filter: hue-rotate(-12deg) saturate(1.3); }
#screen-list.md .zc-meter.is-gold i { background: linear-gradient(90deg, #f3d27a, #c9971c); }
#screen-list.md .zc-earned { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--ro-leg-bg);
  box-shadow: inset 0 0 0 2px var(--ro-leg); color: var(--ro-leg-ink); font-weight: 800; font-size: 15px; line-height: 1.3; }
#screen-list.md .zc-earned svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
/* «Elige tu personaje»: the roster's tiles (css/roster.css) under the page's own titles */
#screen-list.md .zc-pickpage .ro-grid { margin-bottom: 6px; }
#screen-list.md .zc-pickpage .zc-h2 + .ro-sec-sub { margin-top: -6px; }
#screen-list.md .ro-h-lock { margin-top: 22px; }

/* ═══ 🎁 2026-10-29 the parents' reward chest, as the kid hears of it: ONE calm card at the end of the Souk («Mostrar a mis
   papás» opens Papás on it; never a price), and the home's line under «Hoy» while a chest waits (locked until the next
   homework). The chest is drawn here (a wooden-gold box, its lid, a lock), no picture to download. ═══ */
#screen-list.md .zc-chest {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 12px; padding: 14px; border-radius: 20px;
  background: var(--md-warm); box-shadow: inset 0 0 0 2px var(--md-line);
}
#screen-list.md .zc-chest-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#screen-list.md .zc-chest-t b { font: 800 17px/1.15 var(--md-head); color: var(--md-ink); }
#screen-list.md .zc-chest-t span { font-size: 14px; font-weight: 700; color: var(--md-ink-2); line-height: 1.3; }
#screen-list.md .zc-chest-go {
  grid-column: 1 / -1; min-height: 48px; border: 0; border-radius: 14px; cursor: pointer; background: var(--md-paper); color: var(--md-rojo);
  box-shadow: inset 0 0 0 2px var(--md-oro-claro), 0 3px 0 var(--md-oro-line); font: 800 16px/1 var(--md-head);
}
#screen-list.md .zc-chest-go:active { transform: scale(.98); }
#screen-list.md .zc-chest-go:focus-visible { outline: 3px solid var(--md-rojo); outline-offset: 2px; }
#screen-list.md .zc-chest.is-waiting { background: linear-gradient(180deg, #fff6dc, #fbefcd); box-shadow: inset 0 0 0 2px var(--md-oro-claro); }
#screen-list.md .zc-chest-box {
  position: relative; width: 58px; height: 46px; margin-top: 8px; border-radius: 6px 6px 9px 9px;
  background: linear-gradient(180deg, #a8632a, #7a3f17); box-shadow: inset 0 0 0 3px #e8c878, inset 0 -6px 0 rgba(0, 0, 0, .12), 0 3px 0 rgba(28, 26, 23, .18);
}
#screen-list.md .zc-chest-lid {
  position: absolute; left: -3px; right: -3px; top: -12px; height: 18px; border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, #c27a36, #8d4a1c); box-shadow: inset 0 0 0 3px #e8c878;
}
#screen-list.md .zc-chest-box > img { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -38%); }
#screen-list.md .zc-chest-lock {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -40%); display: grid; place-items: center;
  border-radius: 6px; background: #e8c878; color: #5a1010;
}
#screen-list.md .zc-chest-lock svg { width: 14px; height: 14px; }
#screen-list.md .zc-chest-box.is-small { width: 40px; height: 32px; margin-top: 6px; }
#screen-list.md .zc-chest-box.is-small .zc-chest-lid { top: -9px; height: 13px; }
#screen-list.md .zc-chest-box.is-small .zc-chest-lock { width: 17px; height: 17px; }
#screen-list.md .zc-chest-box.is-small .zc-chest-lock svg { width: 11px; height: 11px; }
#screen-list.md .md-chest {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 12px 6px 10px; border-radius: 16px; text-decoration: none; color: var(--md-ink);
  background: linear-gradient(180deg, #fff6dc, #fbefcd); box-shadow: inset 0 0 0 2px var(--md-oro-claro), 0 3px 0 var(--md-oro-line);
}
#screen-list.md .md-chest:active { transform: scale(.985); }
#screen-list.md .md-chest:focus-visible { outline: 3px solid var(--md-rojo); outline-offset: 2px; }
#screen-list.md .md-chest-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
#screen-list.md .md-chest-t b { font: 800 16px/1.1 var(--md-head); color: var(--md-rojo); }
#screen-list.md .md-chest-t span { font-size: 13px; font-weight: 700; color: var(--md-ink-2); }
#screen-list.md .md-chest > svg { width: 18px; height: 18px; flex: none; color: var(--md-oro-ink); }
#screen-list.md .zc-price.is-shadow { flex-wrap: nowrap; white-space: nowrap; font-size: 13.5px; }
