/* Stitch's ruleta.html, adapted only to Aprende with local sans-serif fonts. */
.learn-stitch {
  --learn-panel:var(--surface-raised); --learn-soft:#202725; --learn-border:#39443d;
  --learn-ink:#f4f4f2; --learn-muted:#b8c3ba; --learn-pine:#a6c4b3;
  --learn-reward:#f5bd52; --learn-shadow:rgba(0,0,0,.18);
  color:var(--learn-ink); padding-top:32px;
}
html[data-theme="light"] .learn-stitch {
  --learn-panel:#fff; --learn-soft:#f4f2ec; --learn-border:#e8e5dd;
  --learn-ink:#1c1f1d; --learn-muted:#54594f; --learn-pine:#2d4f43;
  --learn-reward:#775100; --learn-shadow:rgba(45,79,67,.07);
}
.learn-stitch [hidden] { display:none!important; }
.learn-stitch .section-heading { display:flex; justify-content:space-between; align-items:end; gap:32px; border-bottom:1px solid var(--learn-border); padding-bottom:28px; margin-bottom:40px; }
.learn-stitch .section-title h1 { font-size:clamp(36px,4vw,56px); line-height:1.08; }
.learn-stitch .section-heading>p { max-width:380px; margin:0; text-align:right; color:var(--learn-muted); font-size:15px; line-height:1.7; }
.learn-stitch .section-title .paint-yellow { color:var(--learn-pine); background:none; padding:0; }
.learn-stitch .learn-interactive { grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:40px; align-items:start; }
.learn-stitch .learn-wheel-panel,.learn-stitch .learn-reader { border:1px solid var(--learn-border); border-radius:24px; background:var(--learn-panel); box-shadow:0 2px 3px var(--learn-shadow),0 14px 35px -16px var(--learn-shadow); color:var(--learn-ink); }
.learn-stitch .learn-wheel-panel { padding:28px; background-image:radial-gradient(ellipse at top left,rgba(245,189,82,.07),transparent 50%),radial-gradient(ellipse at bottom right,rgba(158,191,168,.09),transparent 50%); }
.learn-stitch .wheel-stage { width:min(340px,100%); margin:20px auto 28px; padding:10px; border-radius:50%; isolation:isolate; background:linear-gradient(160deg,#eeede6 5%,#d1cec4 32%,#f8f7f3 47%,#b6b2a7 75%,#dfdcd4); border:1px solid #aaa89f; box-shadow:0 22px 35px -13px rgba(0,0,0,.4),inset 0 2px 4px #fff,inset 0 -3px 5px #77796e; }
.learn-stitch .wheel-stage::after { content:""; position:absolute; inset:10px; z-index:1; border-radius:50%; background:linear-gradient(160deg,rgba(255,255,255,.25),transparent 50%,rgba(0,0,0,.15)); pointer-events:none; }
.learn-stitch .wheel-disc { border:1px solid #2d4f43; box-shadow:inset 0 2px 6px rgba(0,0,0,.3); background:#2d4f43; }
.learn-stitch .wheel-pointer { top:-18px; left:50%; transform:translateX(-50%); width:36px; height:46px; border:0; z-index:4; filter:drop-shadow(0 4px 4px rgba(0,0,0,.4)); }
.learn-stitch .wheel-center { inset:31%; z-index:3; pointer-events:auto; padding:7px; cursor:pointer; min-width:44px; min-height:44px; color:#ffe1a1; background:linear-gradient(150deg,#eeece5,#b2aea2 40%,#62675b 78%,#c7c4bb); border:1px solid #949b8b; box-shadow:0 9px 14px rgba(0,0,0,.35),inset 0 2px 2px #fff; transition:box-shadow 180ms ease; font:800 12px/1.4 var(--sans); text-transform:none; letter-spacing:.04em; }
.learn-stitch .wheel-center-face { display:flex; gap:4px; align-items:center; justify-content:center; flex-direction:column; width:100%; height:100%; padding:5px; border-radius:50%; background:radial-gradient(ellipse at 35% 15%,#436e60,#244237 55%,#152a22); border:1px solid #628b79; box-shadow:inset 0 3px 5px #ffffff45,inset 0 -4px 7px #0008; }
.learn-stitch .wheel-center:hover:enabled { box-shadow:0 11px 22px #0007,inset 0 2px 2px #fff; }
.learn-stitch .wheel-center:active:enabled { box-shadow:0 3px 8px #0006,inset 0 2px 2px #fff; }
.learn-stitch .wheel-center:disabled { cursor:default; }
.learn-stitch [data-state="spinning"] .wheel-center-face { color:#e1e2da; }
.learn-stitch .wheel-center:focus-visible { outline:3px solid var(--learn-reward); outline-offset:7px; }
.learn-stitch .wheel-caption { width:fit-content; max-width:100%; margin:0 auto 20px; padding:6px 12px; border:1px solid var(--learn-border); border-radius:999px; background:var(--learn-soft); color:var(--learn-pine); font-size:12px; font-weight:700; }
.learn-stitch .wheel-key { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; justify-content:start; font:500 12px/1.6 var(--sans); }
.learn-stitch .wheel-key li { display:grid; grid-template-columns:26px minmax(0,1fr); gap:7px; align-items:start; min-width:0; }
.learn-stitch .wheel-key b { padding:3px 0; text-align:center; border-radius:6px; background:#f5bd5230; color:var(--learn-ink); font:800 11px/1.6 var(--sans); }
.learn-stitch .learn-reader { display:flex; flex-direction:column; padding:32px; }
.learn-stitch .learn-reader-title { margin:0 0 24px; font:900 clamp(22px,2.2vw,30px)/1.3 var(--display); letter-spacing:-.035em; }
.learn-stitch .learn-status { position:relative; padding:16px 16px 16px 34px; margin:0 0 24px; min-height:0; background:var(--learn-soft); border:1px solid var(--learn-border); border-radius:16px; color:var(--learn-ink); font:600 14px/1.6 var(--sans); }
.learn-stitch .learn-status::before { content:""; position:absolute; top:22px; left:16px; width:8px; height:8px; background:var(--learn-reward); border-radius:50%; }
.learn-stitch .idea-result,.learn-stitch .idea-placeholder { padding:24px; margin:0 0 24px; border:1px solid var(--learn-border); border-radius:16px; background:var(--learn-soft); }
.learn-stitch .idea-placeholder { display:flex; flex:1; min-height:200px; align-items:center; justify-content:center; flex-direction:column; gap:12px; color:var(--learn-pine); }
.learn-stitch .idea-placeholder p { margin:0; font-weight:700; }
.learn-stitch .idea-result { animation:learn-reveal 280ms ease-out; }
.learn-stitch .idea-topic { border:1px solid var(--learn-border); border-radius:999px; background:var(--learn-panel); color:var(--learn-pine); padding:6px 10px; margin:0 0 14px; font:700 11px/1.6 var(--sans); letter-spacing:.05em; }
.learn-stitch .idea-result h3 { margin:0 0 16px; color:var(--learn-ink); font:800 22px/1.35 var(--sans); letter-spacing:-.02em; }
.learn-stitch #idea-text { font:400 16px/1.8 var(--sans); color:var(--learn-ink); margin:0 0 20px; }
.learn-stitch .idea-question { border:0; border-left:3px solid var(--learn-pine); background:var(--learn-panel); color:var(--learn-ink); padding:14px; margin:0 0 20px; font:600 14px/1.8 var(--sans); }
.learn-stitch .idea-attribution { color:var(--learn-muted); font:400 12px/1.7 var(--sans); margin:12px 0 0; }
.learn-stitch .text-link { color:var(--learn-pine); background:var(--learn-panel); border:1px solid var(--learn-border); border-radius:10px; text-transform:none; font:700 13px/1.6 var(--sans); transform:none; box-shadow:none; max-width:100%; }
.learn-stitch .text-link { display:flex; justify-content:space-between; white-space:normal; overflow-wrap:anywhere; }
.learn-stitch .learn-privacy-note { display:flex; align-items:start; gap:10px; margin-top:24px; color:var(--learn-pine); }
.learn-stitch .learn-privacy-note svg { flex:0 0 20px; margin-top:2px; }
.learn-stitch .learn-privacy { margin:0; font:400 12px/1.8 var(--sans); color:var(--learn-muted); }
.learn-stitch .learning-availability { padding:16px; margin:0; border:1px solid var(--learn-border); border-radius:12px; color:var(--learn-pine); background:var(--learn-soft); font:700 14px/1.7 var(--sans); }
.learn-stitch .learning-availability time { font-weight:500; overflow-wrap:anywhere; }
.learn-stitch :is(button,select,a):focus-visible { outline:3px solid var(--learn-pine); outline-offset:4px; }
@keyframes learn-reveal { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:1023px) {
  .learn-stitch .learn-interactive { grid-template-columns:1fr; gap:28px; }
  .learn-stitch .learn-wheel-panel { max-width:600px; width:100%; justify-self:center; }
  .learn-stitch .wheel-key { gap:12px 20px; }
}
@media(max-width:767px) {
  .learn-stitch .section-heading { display:block; margin-bottom:28px; padding-bottom:24px; }
  .learn-stitch .section-heading>p { text-align:left; margin-top:20px; }
  .learn-stitch .learn-wheel-panel,.learn-stitch .learn-reader { padding:20px; border-radius:20px; }
  .learn-stitch .wheel-key { grid-template-columns:1fr; }
  .learn-stitch .wheel-center { font-size:11px; inset:30%; padding:6px; }
  .learn-stitch .learn-reader-title { font-size:23px; }
  .learn-stitch .idea-result,.learn-stitch .idea-placeholder { padding:18px; }
  .learn-stitch .idea-result h3 { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) { .learn-stitch * { animation:none!important; transition:none!important; } }
