/* Área do Aluno DCWK: visual "desktop de Mac" (2026-10). Mesma identidade da página V4 e do checkout V3.
   Carrega depois do app.css antigo no admin; tudo que é do aluno fica dentro de body.aluno. Fonte do sistema. */
/* variáveis só no aluno e na barra do topo: o admin (app.css) usa os mesmos nomes com outras cores */
body.aluno, .a-top {
  --bg: #f5f5f5;
  --ink: #000;
  --text: #000;
  --muted: rgba(0, 0, 0, .6);
  --soft: rgba(0, 0, 0, .45);
  --faint: rgba(0, 0, 0, .35);
  --line: rgba(0, 0, 0, .1);
  --line-strong: rgba(0, 0, 0, .18);
  --sel: #2f74e0;
  --blue: #0a6cf0;
  --ok: #1f9d55;
  --gold: #2f74e0; /* compatibilidade: o dourado antigo virou o azul da identidade nova */
  --gold-ink: #000;
  --cyan: #2f74e0;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 10px 24px rgba(0, 0, 0, .12);
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --lights: radial-gradient(circle at 16px 50%, #ff5f57 5.5px, transparent 6px), radial-gradient(circle at 34px 50%, #febc2e 5.5px, transparent 6px), radial-gradient(circle at 52px 50%, #28c840 5.5px, transparent 6px);
}

/* ---------- base ---------- */
body.aluno {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); letter-spacing: -.015em;
  background: var(--bg); background-image: radial-gradient(rgba(0, 0, 0, .13) 1px, rgba(0, 0, 0, 0) 1.3px); background-size: 24px 24px; background-position: 12px 12px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.aluno *, .aluno *::before, .aluno *::after { box-sizing: border-box; }
.aluno a { color: inherit; text-decoration: none; }
.aluno img { display: block; max-width: 100%; }
.aluno h1, .aluno h2, .aluno h3 { margin: 0; line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.aluno p { margin: 0; }
.aluno button { font: inherit; letter-spacing: inherit; }
.a-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.a-main { padding: 26px 0 120px; }
.a-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }
.a-muted { color: var(--muted); }
.a-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.a-spacer { flex: 1; }

/* ---------- janela de Mac (qualquer elemento com data-win) ---------- */
[data-win] { position: relative; background: #fff; border-radius: 12px; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .08); overflow: hidden; padding-top: 28px; }
[data-win]::before {
  content: attr(data-win); position: absolute; left: 0; right: 0; top: 0; height: 28px; z-index: 3; display: block; line-height: 28px; text-align: center;
  padding: 0 70px; font-size: 12px; font-weight: 500; color: rgba(0, 0, 0, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em;
  background: var(--lights), linear-gradient(#f7f7f7, #e6e6e6); border-bottom: 1px solid rgba(0, 0, 0, .12);
}
[data-win].a-win--dark { background: #000; border: 5px solid #2a2d33; }
[data-win].a-win--dark::before { background: var(--lights), linear-gradient(#3a3d44, #2c2f35); color: rgba(255, 255, 255, .72); border-bottom-color: #1b1d21; }
[data-win].a-win--notes::before { background: var(--lights), linear-gradient(#f3e7b3, #e6d48a); }
[data-win].a-win--blue::before { background: var(--lights), linear-gradient(#5a9cf6, #2f74e0); color: #fff; border-bottom-color: #2462c7; }

/* ---------- barra de menu ---------- */
.a-top { position: sticky; top: 0; z-index: 60; background: rgba(245, 245, 245, .84); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(0, 0, 0, .1); font-family: var(--font); }
.a-top, .a-top * { box-sizing: border-box; }
.a-top__in { max-width: none; display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 16px; }
.a-top a, .a-brand { color: #000; text-decoration: none; }
.a-brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.a-logo { width: 30px; height: 21px; overflow: visible; }
.a-logo .eye { transform-box: fill-box; transform-origin: center; animation: a-blink 7s infinite; }
.a-logo .eyes { animation: a-look 7s infinite; }
.a-brand__mark { font-weight: 700; font-size: 14px; letter-spacing: -.02em; }
.a-brand__mark b { color: var(--sel); }
.a-brand__sub { font-size: 13px; color: rgba(0, 0, 0, .55); padding-left: 10px; border-left: 1px solid rgba(0, 0, 0, .15); }
.a-nav { display: flex; align-items: center; gap: 2px; }
.a-nav a, .a-nav button { font: inherit; font-size: 13px; font-weight: 500; color: rgba(0, 0, 0, .62); background: none; border: 0; cursor: pointer; padding: 6px 10px; border-radius: 7px; min-height: 30px; display: inline-flex; align-items: center; gap: 7px; }
.a-nav a:hover, .a-nav button:hover { color: #000; background: rgba(0, 0, 0, .06); }
.a-nav a.is-active { color: #000; font-weight: 600; }
.a-clock { font-size: 13px; color: rgba(0, 0, 0, .55); font-variant-numeric: tabular-nums; }
.a-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; background: linear-gradient(135deg, #7aa7ff, #2c5fd3); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.a-top .a-logout { display: inline-flex; margin: 0; }
.a-top .a-logout button { padding: 2px 8px 2px 2px; border-radius: 999px; }
.a-admin-link { font-size: 12px !important; color: var(--sel) !important; border: 1px solid rgba(47, 116, 224, .35); }
body.admin-area .a-top { margin-bottom: 0; }

/* ---------- botões (Aqua) ---------- */
.a-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px 1px 15px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: #000 !important; cursor: pointer; border: 1px solid #8a8a8a; white-space: nowrap; text-decoration: none;
  background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%); box-shadow: 0 6px 16px rgba(0, 0, 0, .1); transition: transform .15s ease, box-shadow .2s;
}
.a-btn::before { content: ""; position: absolute; left: 9%; right: 9%; top: 2px; height: 46%; border-radius: 999px; background: linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .18)); pointer-events: none; }
.a-btn > * { position: relative; }
.a-btn svg { width: 16px; height: 16px; position: relative; }
.a-btn:active { transform: scale(.97); }
.a-btn--gold { background: linear-gradient(#edf4ff 0%, #d6e7ff 18%, #a2c7ff 50%, #99cbf8 80%, #a2d2f7 100%); border-color: #221898; }
.a-btn--ghost { background: linear-gradient(#fbfbfb 0%, #ededed 42%, #e4e4e4 100%); }
.a-btn--sm { min-height: 32px; font-size: 13.5px; padding: 0 13px 1px 11px; }
.a-btn--complete.is-done, .a-btn--done { background: linear-gradient(#e9f9ee, #bfe9cc); border-color: #1f7a45; }
.a-btn.a-pulse { animation: a-pulse 2.2s infinite; }

/* ---------- etiquetas ---------- */
.a-chip, .a-tag, .a-daytag, .a-here, .a-goal, .a-streak, .a-lock {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 3px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap;
  background: linear-gradient(#fff, #ececec); border: 1px solid rgba(0, 0, 0, .18); color: rgba(0, 0, 0, .7);
}
.a-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.a-chip span { font-weight: 700; }
.a-here { background: rgba(47, 116, 224, .12); border-color: rgba(47, 116, 224, .35); color: #1d4fb8; }
.a-tag--ok { background: #dcf5e3; border-color: rgba(31, 157, 85, .35); color: #13693a; }
.a-tag--text { background: rgba(47, 116, 224, .1); color: #1d4fb8; }
.a-streak svg, .a-goal svg, .a-lock svg { width: 14px; height: 14px; }
.a-streak svg { color: #ff7a1a; animation: a-flame 1.6s ease-in-out infinite; }
.a-lock { color: var(--soft); }

/* ---------- progresso ---------- */
.a-progress-row { display: flex; align-items: center; gap: 10px; }
.a-progress-row > span { font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.a-progress { flex: 1; height: 6px; border-radius: 999px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.a-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6aa8ff, #2f74e0); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.a-ring { position: relative; width: 104px; height: 104px; flex: none; }
.a-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.a-ring__bg { fill: none; stroke: rgba(0, 0, 0, .08); stroke-width: 12; }
.a-ring__fg { fill: none; stroke: #2f74e0; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1); }
.a-ring__txt { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1.05; }
.a-ring__txt b { font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.a-ring__txt small { display: block; font-size: 10.5px; color: var(--soft); }

/* ---------- capas ---------- */
.a-cover { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #e9ecf1; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.a-cover img { width: 100%; height: 100%; object-fit: cover; }
.a-cover--empty { display: grid; place-items: center; padding: 14px; text-align: center; font-weight: 600; color: var(--soft); background: linear-gradient(135deg, #f2f5fa, #e3e9f2); }
.a-cover__badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 2px 9px 3px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, .92); color: #000; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.a-cover__badge--ok { background: #1f9d55; color: #fff; }

/* ---------- painel (desktop) ---------- */
.a-desk { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.a-desk__main, .a-desk__side { display: grid; gap: 22px; align-content: start; min-width: 0; }
.a-desk__side { position: sticky; top: 60px; }
.a-hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.a-hello h1 { font-size: 32px; font-weight: 600; letter-spacing: -.035em; }
.a-hello h1 .a-kao { font-family: var(--mono); font-weight: 400; font-size: .8em; letter-spacing: 0; }
.a-hello p { margin-top: 4px; color: var(--muted); }
.a-hello__chips { display: flex; gap: 8px; flex-wrap: wrap; }

.a-resume { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); color: inherit; }
.a-resume .a-cover { border-radius: 0; box-shadow: none; min-height: 250px; aspect-ratio: auto; }
.a-resume .a-cover img { position: absolute; inset: 0; }
.a-resume__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.a-resume__play i { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .55);
  background: linear-gradient(rgba(255, 255, 255, .42), rgba(255, 255, 255, .16)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s; }
.a-resume__play svg { width: 22px; height: 22px; margin-left: 3px; }
.a-resume:hover .a-resume__play i { transform: scale(1.08); }
.a-resume__body { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 18px 20px 20px; }
.a-resume__body h2 { font-size: 21px; }
.a-resume__meta { font-size: 13.5px; color: var(--muted); }
.a-resume__body .a-btn { align-self: flex-start; margin-top: 4px; }

.a-route__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 16px 18px 4px; }
.a-route__head h2 { font-size: 19px; margin-top: 2px; }
.a-route__head .a-muted { font-size: 13px; }
.a-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 12px 18px 8px; }
.a-day { position: relative; border: 0; padding: 0 0 0; background: #fff; border-radius: 12px; cursor: pointer; overflow: hidden; text-align: center; display: grid; justify-items: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .05); transition: transform .15s, box-shadow .2s; }
.a-day:hover { transform: translateY(-2px); }
.a-day__n { width: 100%; height: 16px; line-height: 16px; background: #ff5f57; color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.a-day__dot { display: grid; place-items: center; height: 38px; font-size: 21px; font-weight: 700; letter-spacing: -.04em; color: #000; }
.a-day__dot svg { width: 20px; height: 20px; color: var(--ok); }
.a-day__lbl { font-size: 10.5px; color: var(--soft); padding: 0 2px 7px; text-transform: lowercase; }
.a-day.is-done { background: linear-gradient(#f2fbf5, #dff3e6); }
.a-day.is-today { background: linear-gradient(#edf4ff, #a9cdfc); box-shadow: 0 0 0 1.5px #2c5fd3, 0 8px 18px rgba(44, 95, 211, .22); }
.a-day.is-sel { outline: 2px solid rgba(47, 116, 224, .55); outline-offset: 2px; }
.a-today { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 8px 18px 18px; }
.a-today[hidden] { display: none; }
.a-today h3 { font-size: 16px; }
.a-today > div { flex: 1; min-width: 240px; }
.a-today__list { list-style: none; margin: 10px 0 0; padding: 0; }
.a-today__list li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 7px; font-size: 14px; }
.a-today__list li:nth-child(odd) { background: #f6f8fb; }
.a-today__list li small { margin-left: auto; color: var(--soft); font-size: 12.5px; }
.a-today__list li.is-done > span:not(.a-side__dot) { color: var(--soft); }

/* widgets da lateral */
.a-widget { background: rgba(255, 255, 255, .94); border-radius: 22px; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .06); padding: 16px 18px; }
.a-widget h3 { font-size: 12px; font-weight: 600; color: var(--soft); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.a-widget__prog { display: flex; align-items: center; gap: 14px; }
.a-widget__prog p { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.a-widget__prog p b { display: block; color: #000; font-size: 16px; font-weight: 600; }
.a-widget__streak { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.a-widget__streak b { font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
.a-flames { display: flex; gap: 4px; }
.a-flames i { width: 14px; height: 20px; border-radius: 8px 8px 7px 7px; background: linear-gradient(#ffd66b, #ff7a1a); opacity: .22; }
.a-flames i.on { opacity: 1; box-shadow: 0 2px 8px rgba(255, 122, 26, .4); }
.a-bubble { position: relative; display: inline-block; padding: 8px 14px 9px; border-radius: 20px; font-size: 14.5px; line-height: 1.3; margin: 2px 0 12px; background: linear-gradient(#eef5ff, #b9d7ff); border: 1.5px solid #2c5fd3; box-shadow: 0 8px 18px rgba(44, 95, 211, .16); }
.a-bubble::after { content: ""; position: absolute; right: -6px; bottom: -1px; width: 14px; height: 12px; background: #bcd8ff; border-right: 1.5px solid #2c5fd3; border-bottom: 1.5px solid #2c5fd3; border-bottom-right-radius: 12px 10px; transform: skewX(-12deg); }
.a-key { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--soft); letter-spacing: 0; }
.a-key b { color: #000; background: #fff2a8; padding: 0 5px; border-radius: 4px; }
.a-sticky { background: #fff4a8; padding: 14px 16px 16px; border-radius: 4px; box-shadow: 0 10px 22px rgba(0, 0, 0, .14); transform: rotate(-2deg); font-size: 14.5px; line-height: 1.4; }
.a-sticky b { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: rgba(0, 0, 0, .5); margin-bottom: 6px; }

/* seções em janela */
.a-section { margin-top: 0; }
.a-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px 0; }
.a-section__head h2 { font-size: 18px; }
.a-section__head span { font-size: 12.5px; color: var(--soft); }
.a-section > .a-grid, .a-section > .a-badges, .a-section > .a-modules, .a-section > .a-duo, .a-section > .a-empty { margin: 14px 18px 18px; }

.a-badges { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.a-badge { text-align: center; font-size: 11.5px; color: var(--muted); line-height: 1.25; display: grid; justify-items: center; gap: 2px; }
.a-badge__ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 6px; position: relative;
  background: linear-gradient(#7db6ff, #2f74e0); box-shadow: 0 6px 14px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .35); }
.a-badge__ico::after { content: ""; position: absolute; inset: 0 0 50% 0; border-radius: 14px 14px 0 0; background: rgba(255, 255, 255, .14); }
.a-badge__ico svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.a-badge:nth-child(1) .a-badge__ico { background: linear-gradient(#ffd66b, #e0a92b); }
.a-badge:nth-child(2) .a-badge__ico { background: linear-gradient(#6ee79a, #1f9d55); }
.a-badge:nth-child(3) .a-badge__ico { background: linear-gradient(#7db6ff, #2f74e0); }
.a-badge:nth-child(4) .a-badge__ico { background: linear-gradient(#ff8fb1, #d6336c); }
.a-badge:nth-child(5) .a-badge__ico { background: linear-gradient(#c3a2ff, #6b3fd6); }
.a-badge:nth-child(6) .a-badge__ico { background: linear-gradient(#ffd66b, #ff8a1a); }
.a-badge.is-locked .a-badge__ico { background: linear-gradient(#e3e6ea, #b9bfc6); color: rgba(255, 255, 255, .95); }
.a-badge strong { display: block; color: #000; font-weight: 600; font-size: 12px; }
.a-badge.is-new .a-badge__ico { animation: a-pop .6s ease both; }

.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.a-course { display: flex; flex-direction: column; gap: 10px; color: inherit; border-radius: 12px; padding: 8px 8px 12px; transition: background .2s; }
.a-course:hover { background: rgba(47, 116, 224, .07); }
.a-course:hover .a-cover { transform: translateY(-3px) rotate(-.5deg); box-shadow: 0 14px 28px rgba(0, 0, 0, .15), 0 0 0 1px rgba(0, 0, 0, .08); }
.a-course .a-cover { transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 6px 16px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .08); }
.a-course__body { display: grid; gap: 6px; padding: 0 4px; }
.a-course__body h3 { font-size: 15.5px; }
.a-course__meta { font-size: 13px; color: var(--muted); }
.a-offer-price { font-size: 13px; font-weight: 700; color: var(--sel); }
.a-empty { padding: 24px; border-radius: 12px; background: #fff; border: 1px dashed rgba(0, 0, 0, .2); color: var(--muted); }
.a-empty h2 { color: #000; font-size: 17px; margin-bottom: 6px; }
.a-admin-hint { font-size: 12.5px; color: var(--sel); }

.a-duo { display: grid; gap: 22px; }
.a-card { background: rgba(255, 255, 255, .94); border-radius: 22px; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .06); padding: 16px 18px 18px; display: grid; gap: 8px; justify-items: start; }
.a-card h3 { font-size: 16px; }
.a-card p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.a-card__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 116, 224, .1); }
.a-card__icon svg { width: 18px; height: 18px; }
.a-card--support { background: #fffbe0; box-shadow: var(--shadow), 0 0 0 1px rgba(200, 160, 0, .2); }
.a-card .a-progress-row { width: 100%; }

/* ---------- página do curso ---------- */
.a-crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--soft); margin-bottom: 14px; }
.a-crumbs a:hover { color: #000; }
.a-hero { position: relative; margin-bottom: 22px; }
.a-hero__bg { display: none; }
.a-hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.a-hero h1 { font-size: 40px; font-weight: 600; letter-spacing: -.04em; margin-top: 6px; }
.a-lead { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.a-hero__progress { display: flex; align-items: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.a-hero__in > .a-cover { box-shadow: 0 22px 50px rgba(0, 0, 0, .2), 0 0 0 1px rgba(0, 0, 0, .1); border-radius: 12px; transform: rotate(1.5deg); }
.a-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.a-module { display: flex; flex-direction: column; gap: 10px; color: inherit; border-radius: 12px; padding: 8px 8px 12px; transition: background .2s; }
.a-module:hover { background: rgba(47, 116, 224, .07); }
.a-module .a-cover { box-shadow: 0 6px 16px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .25s ease; }
.a-module:hover .a-cover { transform: translateY(-3px) rotate(-.5deg); }
.a-module.is-current { background: rgba(47, 116, 224, .08); box-shadow: inset 0 0 0 1.5px rgba(47, 116, 224, .4); }
.a-module__body { display: grid; gap: 6px; padding: 0 4px; }
.a-module__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.a-module__num { font-size: 12px; color: var(--soft); }
.a-module__body h3 { font-size: 15.5px; }
.a-module__body p { font-size: 13px; color: var(--muted); }

/* ---------- página do módulo (lista do Finder) ---------- */
.a-modhead { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
.a-modhead > .a-cover { width: 240px; flex: none; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .1); }
.a-modhead h1 { font-size: 34px; font-weight: 600; letter-spacing: -.04em; margin-top: 6px; }
.a-lessons { display: grid; padding-bottom: 6px; }
.a-lesson { display: grid; grid-template-columns: 34px 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 16px; color: inherit; border-top: 1px solid rgba(0, 0, 0, .05); }
.a-lesson:nth-child(even) { background: #f6f8fb; }
.a-lesson:hover { background: rgba(47, 116, 224, .1); }
.a-lesson__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: rgba(0, 0, 0, .6); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .22); }
.a-lesson__n svg { width: 14px; height: 14px; }
.a-lesson.is-done .a-lesson__n { background: var(--ok); color: #fff; box-shadow: none; }
.a-lesson .a-cover { border-radius: 6px; }
.a-lesson__txt h3 { font-size: 14.5px; font-weight: 600; }
.a-lesson__txt p { font-size: 12.5px; color: var(--soft); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.a-lesson__side { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--soft); }

/* ---------- página da aula ---------- */
.a-lessonpage { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.a-player { aspect-ratio: auto; }
.a-player video, .a-player iframe, .a-player img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain; background: #000; border: 0; }
.a-player--empty { display: grid; place-items: center; color: var(--muted); padding: 24px; text-align: center; aspect-ratio: 16 / 9; }
.a-lessonhead { margin: 18px 2px 0; }
.a-lessonhead h1 { font-size: 27px; font-weight: 600; letter-spacing: -.035em; margin-top: 4px; }
.a-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }
.a-lessoncontent { padding-bottom: 6px; }
.a-lessoncontent > * + * { margin-top: 14px; }
.a-lessoncontent > .a-tabs { margin: 12px 14px 0; }
.a-lessoncontent > .a-panel, .a-lessoncontent > .lc-lead, .a-lessoncontent > .a-prose, .a-lessoncontent > .lc-link { margin-left: 18px; margin-right: 18px; }
.a-lessoncontent > :last-child { margin-bottom: 18px; }
.a-tabs { display: inline-flex; flex-wrap: wrap; gap: 0; padding: 3px; border-radius: 10px; background: rgba(0, 0, 0, .07); max-width: calc(100% - 28px); }
.a-tab { font: inherit; font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, .7); background: none; border: 0; padding: 5px 14px 6px; border-radius: 8px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.a-tab:hover { color: #000; }
.a-tab.is-active { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.a-tab__n { font-size: 11px; color: var(--soft); font-weight: 600; }
.a-panel[hidden] { display: none; }
.a-panel.is-in { animation: a-fadeup .35s ease both; }
.a-panel > * + * { margin-top: 14px; }
.a-prose { font-size: 15px; line-height: 1.6; color: rgba(0, 0, 0, .78); }
.a-prose h2 { font-size: 19px; margin: 20px 0 8px; }
.a-prose h3 { font-size: 16px; margin: 16px 0 6px; }
.a-prose h2:first-child, .a-prose h3:first-child { margin-top: 0; }
.a-prose p { margin: 0 0 12px; }
.a-prose ul, .a-prose ol { padding-left: 20px; margin: 0 0 14px; }
.a-prose li { margin: 4px 0; }
.a-prose a { color: var(--sel); text-decoration: underline; text-underline-offset: 3px; }
.a-side { position: sticky; top: 60px; }
.a-side__head { padding: 14px 16px 10px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.a-side__head h2 { font-size: 16px; margin: 4px 0 10px; }
.a-side__list { list-style: none; margin: 0; padding: 6px; max-height: calc(100vh - 230px); overflow: auto; }
.a-side__item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 7px; font-size: 13.5px; line-height: 1.3; color: inherit; }
.a-side__item:hover { background: rgba(0, 0, 0, .05); }
.a-side__item small { margin-left: auto; font-size: 12px; color: var(--soft); flex: none; }
.a-side__item.is-current { background: var(--sel); color: #fff; }
.a-side__item.is-current small { color: rgba(255, 255, 255, .8); }
.a-side__dot { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; color: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .22); }
.a-side__dot svg { width: 12px; height: 12px; }
.is-done > .a-side__dot, .a-side__item.is-done .a-side__dot, .a-today__list li.is-done .a-side__dot { background: var(--ok); color: #fff; box-shadow: none; }
.a-side__item.is-current .a-side__dot { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }

/* aviso "próxima aula" = notificação do Mac */
.a-next { position: fixed; right: 14px; top: 50px; z-index: 90; width: min(360px, calc(100vw - 28px)); padding: 12px 14px; border-radius: 16px;
  background: rgba(250, 250, 250, .86); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 16px 40px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .08);
  transform: translateX(calc(100% + 30px)); transition: transform .45s cubic-bezier(.2, .9, .2, 1); }
.a-next.is-open { transform: none; }
.a-next__top { display: flex; gap: 12px; align-items: center; }
.a-next__top .a-cover { width: 84px; flex: none; border-radius: 7px; }
.a-next__top small { display: block; font-size: 12px; color: var(--soft); }
.a-next__top strong { font-size: 14px; font-weight: 600; line-height: 1.3; }
.a-next__bar { height: 3px; border-radius: 999px; background: rgba(0, 0, 0, .08); margin: 10px 0; overflow: hidden; }
.a-next.is-open .a-next__bar span { display: block; height: 100%; background: #2f74e0; animation: a-count 6s linear forwards; width: 0; }
.a-next__btns { display: flex; gap: 8px; justify-content: flex-end; }

/* avisos (toast) = notificações do Mac, no canto */
.a-toasts { position: fixed; right: 14px; top: 50px; z-index: 95; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; width: min(360px, calc(100vw - 28px)); }
.a-toast { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border-radius: 16px; font-size: 14px; font-weight: 600; color: #000;
  background: rgba(250, 250, 250, .88); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 16px 40px rgba(0, 0, 0, .2), 0 0 0 1px rgba(0, 0, 0, .08); animation: a-toast .4s cubic-bezier(.2, .9, .2, 1) both; }
.a-toast.is-out { opacity: 0; transform: translateX(30px); transition: .35s; }
.a-toast__ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(#6ee79a, #1f9d55); }
.a-toast__ico svg { width: 18px; height: 18px; }
.a-toast small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.a-confetti { position: fixed; z-index: 100; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; animation: a-confetti 1.1s cubic-bezier(.2, .7, .3, 1) forwards; }

/* ---------- conteúdo das aulas (lc-*) ---------- */
.lc-lead { font-size: 16px; line-height: 1.55; color: rgba(0, 0, 0, .75); }
.lc-sec + .lc-sec { margin-top: 18px; }
.lc-h { margin: 0 0 10px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.lc-h svg { width: 18px; height: 18px; color: var(--sel); }
.lc-sec p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: rgba(0, 0, 0, .72); }
.lc-learn, .lc-bullets, .lc-steps, .lc-tasks { list-style: none; margin: 0; padding: 0; }
.lc-learn li { display: flex; gap: 10px; padding: 6px 0; font-size: 15px; line-height: 1.45; }
.lc-learn li svg { width: 18px; height: 18px; flex: none; color: var(--ok); margin-top: 1px; }
.lc-bullets li { position: relative; padding: 4px 0 4px 18px; font-size: 15px; line-height: 1.45; }
.lc-bullets li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--sel); }
.lc-steps li { display: flex; gap: 12px; padding: 7px 0; font-size: 15px; line-height: 1.45; }
.lc-step__n { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(#6aa8ff, #2f74e0); }
.lc-callout { display: flex; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #f3f7ff; box-shadow: inset 0 0 0 1px rgba(47, 116, 224, .2); }
.lc-callout--warn { background: #fff7e6; box-shadow: inset 0 0 0 1px rgba(224, 150, 20, .3); }
.lc-callout--tip { background: #effaf2; box-shadow: inset 0 0 0 1px rgba(31, 157, 85, .25); }
.lc-callout__icon svg { width: 20px; height: 20px; }
.lc-callout--warn .lc-callout__icon { color: #c27c00; }
.lc-callout--tip .lc-callout__icon { color: var(--ok); }
.lc-callout--note .lc-callout__icon { color: var(--sel); }
.lc-callout p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(0, 0, 0, .7); }
.lc-callout__title { font-size: 14.5px; }
.lc-practice { padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 6px 16px rgba(0, 0, 0, .05); }
.lc-practice__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lc-practice__title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.lc-practice__title svg, .lc-pill svg { width: 16px; height: 16px; }
.lc-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 3px; border-radius: 999px; font-size: 12px; background: rgba(0, 0, 0, .06); color: var(--muted); }
.lc-practice__intro { font-size: 14.5px; color: var(--muted); margin: 8px 0 4px; }
.lc-task { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; font-size: 15px; line-height: 1.45; }
.lc-task input { position: absolute; opacity: 0; pointer-events: none; }
.lc-task__box { width: 20px; height: 20px; border-radius: 6px; flex: none; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .3); color: transparent; margin-top: 1px; transition: background .15s; }
.lc-task__box svg { width: 14px; height: 14px; }
.lc-task input:checked + .lc-task__box { background: linear-gradient(#6aa8ff, #2f74e0); box-shadow: none; color: #fff; }
.lc-task input:checked ~ .lc-task__txt { color: var(--soft); text-decoration: line-through; }
.lc-task input:focus-visible + .lc-task__box { outline: 2px solid var(--sel); outline-offset: 2px; }
.lc-practice__foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.lc-practice__foot .a-progress { flex: 1; }
.lc-practice__count { font-size: 12.5px; color: var(--soft); }
.lc-practice__done { display: none; margin-top: 10px; padding: 9px 12px; border-radius: 8px; background: #effaf2; color: #13693a; font-size: 14px; align-items: center; gap: 8px; }
.lc-practice__done svg { width: 16px; height: 16px; }
.lc-practice.is-complete .lc-practice__done { display: flex; }
.lc-faq { border-radius: 10px; background: #f7f8fa; }
.lc-faq + .lc-faq { margin-top: 8px; }
.lc-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; font-size: 15px; }
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-faq__chev::after { content: "+"; font-size: 20px; font-weight: 300; display: inline-block; transition: transform .3s; }
.lc-faq[open] .lc-faq__chev::after { transform: rotate(45deg); }
.lc-faq__a { padding: 0 14px 12px; }
.lc-faq__a p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; color: rgba(0, 0, 0, .65); }
.lc-link { padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.lc-link p { margin: 4px 0 10px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.lc-link__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.lc-link--support { background: #fff9d6; box-shadow: 0 0 0 1px rgba(200, 160, 0, .25); }
.lc-link--wait { opacity: .8; }

/* ---------- entrar (tela de bloqueio do Mac) ---------- */
.a-auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; padding: 7vh 16px 30px; color: #fff; text-align: center;
  background: #3f82db url("../img/ceu.webp") center / cover no-repeat; }
.a-auth__clock span { display: block; font-size: 19px; font-weight: 500; text-shadow: 0 1px 12px rgba(0, 40, 110, .5); }
.a-auth__clock strong { display: block; font-size: clamp(64px, 11vw, 108px); font-weight: 600; letter-spacing: -.04em; line-height: 1; text-shadow: 0 4px 30px rgba(0, 40, 110, .35); font-variant-numeric: tabular-nums; }
.a-auth__form { width: 100%; display: grid; place-items: center; }
.a-auth__box { width: min(340px, 100%); display: grid; justify-items: center; gap: 10px; }
.a-auth__av { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px rgba(0, 30, 80, .3); }
.a-auth__av svg { width: 58px; height: 40px; overflow: visible; }
.a-auth__box h1 { font-size: 21px; font-weight: 600; color: #fff; text-shadow: 0 1px 10px rgba(0, 40, 110, .5); margin-top: 4px; }
.a-auth__box > .a-muted { color: rgba(255, 255, 255, .92); font-size: 14px; text-shadow: 0 1px 8px rgba(0, 40, 110, .6); }
.a-auth__box form { width: 100%; display: grid; gap: 10px; margin-top: 6px; }
.a-field { display: grid; gap: 0; }
.a-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.a-field input { width: 100%; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color .15s, background .15s; }
.a-field input::placeholder { color: rgba(255, 255, 255, .85); }
.a-field input:focus { border-color: #fff; background: rgba(255, 255, 255, .36); }
.a-auth__box .a-btn { width: 100%; margin-top: 4px; min-height: 44px; }
.a-auth__links { display: flex; justify-content: space-between; gap: 12px; width: 100%; font-size: 13.5px; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 40, 110, .6); }
.a-auth__links a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.a-auth__foot { font-size: 12.5px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 8px rgba(0, 40, 110, .6); }
.a-alert { width: 100%; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: rgba(255, 241, 242, .95); color: #8a1621; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); text-align: left; }
.a-alert--ok { background: rgba(239, 250, 242, .95); color: #13693a; }

/* ---------- minha conta ---------- */
.a-account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.a-account dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; font-size: 14.5px; width: 100%; }
.a-account dt { color: var(--muted); }
.a-account dd { margin: 0; font-weight: 600; word-break: break-word; }
.a-account ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; width: 100%; }
.a-account li { padding: 9px 12px; border-radius: 9px; background: #f6f8fb; font-weight: 500; }

/* ---------- rodapé e dock ---------- */
.a-foot { padding: 0 0 110px; font-size: 12.5px; color: var(--soft); }
.a-foot .a-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(0, 0, 0, .08); padding-top: 16px; }
.a-foot a { color: var(--sel); }
.a-dock { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 70; display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px; border-radius: 20px;
  background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 0 1px rgba(0, 0, 0, .08); }
.a-dock a { position: relative; display: block; width: 50px; transition: width .18s ease; color: inherit; }
.a-dock a svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .2)); }
.a-dock a .a-dock__tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 3px 10px 4px; border-radius: 7px; background: rgba(40, 40, 40, .85); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.a-dock a:hover .a-dock__tip { opacity: 1; }
.a-dock a.is-active::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(0, 0, 0, .6); }
.a-dock__sep { width: 1px; align-self: stretch; margin: 4px 2px; background: rgba(0, 0, 0, .15); }
.a-dock__lbl { display: none; }

/* ---------- animações ---------- */
@keyframes a-blink { 0%, 44%, 48%, 92%, 96%, 100% { transform: scaleY(1); } 46%, 94% { transform: scaleY(.12); } }
@keyframes a-look { 0%, 20%, 100% { transform: translateX(0); } 26%, 40% { transform: translateX(2.5px); } 60%, 74% { transform: translateX(-2.5px); } }
@keyframes a-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes a-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes a-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 116, 224, .45); } 50% { box-shadow: 0 0 0 10px rgba(47, 116, 224, 0); } }
@keyframes a-flame { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.12) rotate(3deg); } }
@keyframes a-toast { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes a-confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
@keyframes a-count { to { width: 100%; } }
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- telas menores ---------- */
@media (max-width: 1000px) {
  .a-desk, .a-lessonpage { grid-template-columns: minmax(0, 1fr); }
  .a-desk__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-side { position: static; }
  .a-hero__in { grid-template-columns: minmax(0, 1fr); }
  .a-hero__in > .a-cover { transform: none; }
  .a-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .a-account { grid-template-columns: minmax(0, 1fr); }
  .a-resume { grid-template-columns: minmax(0, 1fr); }
  .a-resume .a-cover { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .a-wrap { padding: 0 12px; }
  .a-main { padding-top: 16px; }
  .a-top__in { height: 48px; padding: 0 12px; gap: 10px; }
  .a-brand__sub, .a-nav .a-hide-sm, .a-clock { display: none; }
  .a-hello h1 { font-size: 26px; }
  .a-desk__side { grid-template-columns: minmax(0, 1fr); }
  .a-days { gap: 5px; padding: 10px 10px 6px; }
  .a-day__dot { height: 32px; font-size: 17px; }
  .a-day__n { font-size: 8.5px; }
  .a-day__lbl { font-size: 9px; }
  .a-today { padding: 6px 12px 14px; }
  .a-today .a-btn { width: 100%; }
  .a-section > .a-grid, .a-section > .a-badges, .a-section > .a-modules, .a-section > .a-duo, .a-section > .a-empty { margin: 12px 12px 14px; }
  .a-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .a-hero h1 { font-size: 30px; }
  .a-modhead { flex-direction: column; align-items: flex-start; }
  .a-modhead > .a-cover { width: 100%; }
  .a-modhead h1 { font-size: 26px; }
  .a-lesson { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 10px 12px; }
  .a-lesson .a-cover { display: none; }
  .a-lessonhead h1 { font-size: 22px; }
  .a-actions .a-btn--complete { width: 100%; }
  [data-win].a-win--dark { border-width: 3px; }
  .a-foot { padding-bottom: 100px; }
  .a-dock { left: 8px; right: 8px; bottom: 8px; transform: none; justify-content: space-around; gap: 0; padding: 7px 6px calc(7px + env(safe-area-inset-bottom)); border-radius: 22px; }
  .a-dock a { width: 42px; text-align: center; }
  .a-dock a .a-dock__tip, .a-dock__sep, .a-dock .a-dock__xtra { display: none; }
  .a-dock__lbl { display: block; margin-top: 3px; font-size: 10px; color: rgba(0, 0, 0, .7); white-space: nowrap; }
  .a-dock a.is-active::after { display: none; }
  .a-dock a.is-active .a-dock__lbl { color: var(--sel); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .a-logo .eye, .a-logo .eyes, .a-streak svg { animation: none; }
}
