:root { --creme: #fff6ef; --coral: #ff6b5c; --coral2: #ff9a76; --ameixa: #3b2a5c; --menta: #8fd6ca; --cinza: #8a7f93; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: -apple-system, 'Segoe UI', Roboto, system-ui, sans-serif; color: var(--ameixa); background: var(--creme); overscroll-behavior: none; }
.aula { max-width: 520px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.palco { position: relative; background: radial-gradient(120% 90% at 50% 20%, #fff 0%, #ffe9dc 60%, #ffd9c7 100%); border-radius: 0 0 32px 32px; overflow: hidden; }
.palco canvas { display: block; width: 100%; aspect-ratio: 1 / 0.8; touch-action: none; }
.topo { position: absolute; inset: 12px 14px auto; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.topo > * { pointer-events: auto; }
.chip { background: #ffffffd9; backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; box-shadow: 0 2px 10px #3b2a5c14; }
.redondo { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #ffffffd9; font-size: 20px; color: var(--ameixa); box-shadow: 0 2px 10px #3b2a5c14; }
.barra { height: 5px; background: #3b2a5c14; } .barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral2), var(--coral)); border-radius: 0 4px 4px 0; }
.info { padding: 18px 22px 6px; } .info h1 { margin: 0; font-size: 28px; letter-spacing: -0.02em; } .info p { margin: 4px 0 0; color: var(--cinza); font-size: 16px; }
.painel { display: flex; align-items: center; gap: 18px; padding: 10px 22px; }
.anel { --k: 0.7; position: relative; width: 104px; height: 104px; flex: none; display: grid; place-items: center; }
.anel::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--menta); opacity: 0.35; transform: scale(var(--k)); transition: transform 0.25s linear, background 0.4s; }
.anel.expira::before { background: var(--coral2); }
.anel b { position: relative; font-size: 17px; }
.conta { flex: 1; } .conta .n { font-size: 44px; font-weight: 800; line-height: 1; } .conta .n small { font-size: 20px; color: var(--cinza); font-weight: 600; }
.conta .dica { margin-top: 6px; font-size: 15px; color: var(--cinza); min-height: 38px; }
.controles { margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 18px; padding: 14px 22px 26px; }
.controles button { border: 0; background: #fff; color: var(--ameixa); width: 58px; height: 58px; border-radius: 50%; font-size: 22px; box-shadow: 0 4px 16px #3b2a5c1f; }
.controles .play { width: 84px; height: 84px; font-size: 32px; color: #fff; background: linear-gradient(135deg, var(--coral2), var(--coral)); box-shadow: 0 10px 26px #ff6b5c66; }
.controles button:active { transform: scale(0.94); }
.comecar { position: absolute; inset: 0; display: grid; place-items: center; background: #fff6efb3; backdrop-filter: blur(2px); border: 0; font: inherit; color: inherit; }
.comecar span { background: linear-gradient(135deg, var(--coral2), var(--coral)); color: #fff; font-weight: 800; font-size: 20px; padding: 18px 38px; border-radius: 999px; box-shadow: 0 10px 26px #ff6b5c66; }
.aseguir { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: #ffffffee; border-radius: 18px; padding: 12px 22px; text-align: center; box-shadow: 0 8px 24px #3b2a5c26; min-width: 60%; }
.aseguir small { display: block; color: var(--cinza); font-size: 13px; } .aseguir b { font-size: 18px; }
.controles .pular { width: 50px; height: 50px; font-size: 18px; }
.carregando { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cinza); font-weight: 600; }
[hidden] { display: none !important; }
