/* ==========================================================================
   PulsePoster – Styles (public/css/style.css)
   Optik angelehnt an specialprints.de: ruhig, viel Weißraum, schwarze Buttons,
   Serifen-Überschriften – mit dem cremefarbenen Hintergrund von PulsePoster.
   Schriften werden ausschließlich lokal geladen (public/fonts, siehe README).
   ========================================================================== */

/* Schriften: siehe css/fonts.css (wird automatisch eingebunden, sobald public/fonts befüllt ist) */

:root {
    --cream: #fcf8f6;          /* Hintergrund (beibehalten) */
    --cream-2: #f5ede6;        /* Wechselflächen */
    --card: #ffffff;
    --ink: #111111;            /* Schwarz wie bei specialprints */
    --ink-soft: #4a4442;
    --muted: #7c726e;
    --line: #e5dbd3;
    --accent: #e03554;         /* nur für Herz/Puls & Hinweise */
    --ok: #2e7d32;
    --err: #c0392b;
    --head: 'Tenor Sans', Georgia, 'Times New Roman', serif;
    --body: Outfit, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: 4px;
    --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
body.modal-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.2; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, canvas { max-width: 100%; }
.hidden { display: none !important; }
[hidden] { display: none !important; }
.center { text-align: center; }
.small { font-size: .82rem; color: var(--muted); }
.strong { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 400 .95rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--ink); border-radius: var(--radius); padding: 1.05em 1.8em; transition: background .2s, color .2s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover:not(:disabled) { background: #2a2a2a; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover:not(:disabled) { background: var(--ink); color: #fff; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.btn-lg { padding: 1.25em 1.8em; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--ink-soft); font: inherit; font-size: .88rem; text-decoration: underline; cursor: pointer; display: block; margin: 8px auto 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .8rem; letter-spacing: .08em; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(252,248,246,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--head); font-size: 1.5rem; text-decoration: none; letter-spacing: .02em; }
.logo span { color: var(--accent); }
.main-nav { display: flex; gap: clamp(14px, 3vw, 34px); }
.main-nav a { text-decoration: none; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { border-color: var(--ink); }
.lang-select { font: inherit; font-size: .85rem; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 8px; color: var(--ink); }

/* ---------- Hero (volle Breite) ---------- */
.hero { position: relative; width: 100%; height: min(86vh, 780px); min-height: 560px; overflow: hidden; background: var(--cream); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: clamp(24px, 6vh, 64px); text-align: center; padding: 0 20px; }
.hero-overlay h1 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); margin-bottom: .35em; }
.hero-overlay p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--ink-soft); margin-bottom: 1.4em; }

/* ---------- Text-Abschnitt ---------- */
.intro { max-width: 820px; margin: 0 auto; padding: clamp(56px, 9vw, 110px) 20px; text-align: center; }
.intro h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .7em; }
.intro p { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-soft); }

/* ---------- Meistgeliebte Designs ---------- */
.favs { background: var(--cream-2); padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px); text-align: center; }
.favs h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.section-sub { color: var(--muted); margin-top: .6em; margin-bottom: 2.2em; }
.fav-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
.fav-card { background: var(--card); padding: 14px 14px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.fav-card h3 { font-size: 1.3rem; margin: 16px 0 2px; }
.fav-card p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.fav-card .btn { padding: .9em 1.4em; font-size: .82rem; }
.mockup-slot { position: relative; aspect-ratio: 4 / 3; background: #ece3da; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 6%; }
.mockup-canvas { width: 100%; height: auto; display: block; box-shadow: 0 14px 30px rgba(0,0,0,.18), 0 0 0 7px #111; }
.mockup-slot > span { position: absolute; left: 8px; bottom: 6px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(17,17,17,.45); }
.mockup-slot.has-img { padding: 0; }
.mockup-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Konfigurator ---------- */
.configurator { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px); }
.cfg-heading { text-align: center; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 1.6em; }
.cfg-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.cfg-left { position: sticky; top: 90px; }
/* Vorschau: Selbstdruck = schlichtes Blatt, Rahmen-Versand = Rahmen in gewählter Farbe mit Passepartout */
.poster-frame { --frame: #111; background: #fff; padding: 0; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0,0,0,.12); transition: padding .25s, background .25s, box-shadow .25s; }
.poster-frame.framed { background: var(--frame); padding: clamp(10px, 2vw, 22px); border-color: transparent; box-shadow: 0 24px 50px rgba(0,0,0,.25), inset 0 0 0 2px rgba(255,255,255,.08); }
.poster-frame.framed canvas { box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
[hidden] { display: none !important; }

/* ---------- Konfigurator-Optionen ---------- */
.opt-label { margin: 16px 0 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 400 .9rem/1.2 var(--body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 13px; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.chip:hover:not(:disabled) { border-color: var(--ink); }
.chip.active, .chip[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--cream-2); }
.chip:disabled { opacity: .38; cursor: not-allowed; }
.chip .swatch { position: relative; width: 22px; height: 22px; border: 2px solid #999; border-radius: 50%; display: inline-block; flex: none; }
.chip .swatch i { position: absolute; inset: 5px; border-radius: 50%; }
.chip-font .font-sample { font-size: 1.05rem; white-space: nowrap; }
.chip-icon { flex-direction: column; gap: 4px; padding: 8px 12px; min-width: 84px; }
.chip-icon .icon svg { width: 48px; height: 24px; display: block; }
.chip-size { flex-direction: column; align-items: flex-start; gap: 2px; }
.chip-size em { font-style: normal; color: var(--muted); font-size: .82rem; }
.format-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.format-card { text-align: left; display: flex; flex-direction: column; gap: 4px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.format-card strong { font-family: var(--head); font-weight: 400; font-size: 1.05rem; }
.format-card span { font-size: .84rem; color: var(--ink-soft); }
.format-card em { font-style: normal; font-weight: 600; margin-top: 4px; }
.format-card.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--cream-2); }
.print-options { margin-top: 10px; padding: 4px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 520px) { .format-list { grid-template-columns: 1fr; } }

.poster-frame canvas { display: block; width: 100%; height: auto; aspect-ratio: 297 / 210; }
.cfg-note { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }
.cfg-step { font-size: 1.15rem; margin: 28px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.cfg-step:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.measure-status { margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.measure-status.ok { color: var(--ink); }
.measure-status.ok strong { color: var(--accent); font-size: 1.15em; }
.theme-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.theme-btn { display: flex; align-items: center; gap: 10px; font: 400 .9rem var(--body); text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 12px; cursor: pointer; color: var(--ink); }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.swatch i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.fields label { display: block; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 5px; }
.fields input, .fields textarea { width: 100%; font: 300 1rem var(--body); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--ink); }
.fields > input, .fields > textarea { margin-top: 10px; }
.fields > input:first-child { margin-top: 0; }
.row2 { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.row-inline { display: flex; gap: 8px; }
.row-inline .btn { padding: 0 1.2em; white-space: nowrap; }
.included { margin: 26px 0 18px; padding: 16px 18px; background: var(--cream-2); border-radius: var(--radius); }
.included h4 { font-family: var(--body); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.included ul { margin: 0; padding: 0; list-style: none; }
.included li { padding-left: 22px; position: relative; font-size: .93rem; margin: 4px 0; }
.included li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }
.need-hint { color: var(--err); font-size: .88rem; margin: 10px 0 0; text-align: center; }
.price-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d2cd; text-align: center; padding: 40px 20px 46px; margin-top: 40px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-bottom: 18px; }
.footer-links a { color: #fff; text-decoration: none; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { text-decoration: underline; }
.site-footer p { font-size: .78rem; margin: 0; color: #a79f9a; }

/* ---------- Modals ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(17,17,17,.55); overflow-y: auto; }
.modal-card { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--cream); border-radius: 6px; padding: 30px 26px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal-card.modal-wide { max-width: 680px; }
.modal-card h2 { font-size: 1.5rem; margin-bottom: .7em; text-align: center; }
.modal-x { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; background: none; border: 0; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--ink); }
.legal-content { font-size: .92rem; text-align: left; }
.legal-content h3 { font-family: var(--body); font-weight: 600; font-size: .98rem; margin: 1.4em 0 .4em; }
.legal-content p { margin-bottom: .8em; }
.legal-note { font-size: .8rem; color: var(--muted); font-style: italic; }
.privacy-hint { background: var(--cream-2); border-radius: var(--radius); padding: 10px 12px; font-size: .85rem; margin: 10px 0 14px; }
.error-msg { color: var(--err); font-size: .9rem; }
.status-line { font-size: .9rem; font-weight: 400; text-align: center; margin: 10px 0 0; color: var(--ink-soft); }
.tips-list { padding-left: 0; list-style: none; font-size: .92rem; }
.tips-list li { margin: 8px 0; }
.signal-meter { margin: 12px 0 6px; }
.meter-label { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: 5px; color: var(--ink-soft); }
.meter-bar-bg { height: 10px; border-radius: 6px; background: #e8dfd8; overflow: hidden; }
.meter-bar-fill { height: 100%; width: 0; background: var(--accent); transition: width .15s linear; }
.countdown-circle { width: 92px; height: 92px; margin: 10px auto; border-radius: 50%; border: 3px solid var(--accent); display: flex; align-items: center; justify-content: center; font: 400 2.6rem var(--head); color: var(--accent); }
.live-canvas { display: block; width: 100%; height: 120px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0; }
.result-bpm { text-align: center; margin: 6px 0 16px; }
.result-bpm span { font: 400 4rem/1 var(--head); color: var(--accent); }
.result-bpm small { font-size: 1rem; letter-spacing: .12em; margin-left: 8px; color: var(--ink-soft); }
#stepResult h3 { text-align: center; font-size: 1.1rem; }
.success-icon { font-size: 2.6rem; }
.ref-badge { display: inline-block; font: 400 1.1rem var(--body); letter-spacing: .08em; background: var(--card); border: 1px dashed var(--ink); padding: 8px 16px; margin: 4px 0 14px; }
.consents { margin: 14px 0 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.45; margin: 10px 0; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.check a { text-decoration: underline; }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-row img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.captcha-row .link-btn { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

#videoElement { position: fixed; width: 2px; height: 2px; opacity: 0; pointer-events: none; left: 0; bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .cfg-grid { grid-template-columns: 1fr; }
    .cfg-left { position: static; }
    .fav-grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 620px) {
    .main-nav { display: none; }
    .site-header { padding: 10px 16px; }
    .theme-list { grid-template-columns: 1fr 1fr; }
    .hero { min-height: 520px; }
    .announce { font-size: .72rem; letter-spacing: .03em; padding: 8px 10px; }
    .modal-card { padding: 26px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tut-svg *, .tut-sub { animation: none !important; transition: none !important; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 48px); }
.faq h2 { text-align: center; margin-bottom: 1.2em; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-family: var(--head); font-size: 1.08rem; padding: 14px 28px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }
.footer-langs { margin: 10px 0 6px; font-size: .88rem; }
.footer-langs a { color: inherit; }

/* ---------- Mini-Vorschau (mobil) ---------- */
.mini-preview { display: none; }
@media (max-width: 900px) {
    .mini-preview { display: block; position: fixed; top: 66px; right: 12px; z-index: 45; width: 128px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.28); cursor: pointer; overflow: hidden; }
    .mini-preview[hidden] { display: none !important; }
    .mini-preview canvas { display: block; width: 100%; height: auto; aspect-ratio: 297 / 210; }
    .mini-preview.framed { padding: 4px; background: var(--frame, #111); border-color: transparent; }
}

/* ---------- Animierte Anleitung vor der Messung ---------- */
.tut { margin: 4px auto 14px; max-width: 360px; }
.tut-stage { position: relative; border-radius: 14px; overflow: hidden; background: #f3ece4; box-shadow: 0 8px 22px rgba(0,0,0,.10); }
.tut-svg { display: block; width: 100%; height: auto; }
.tut-sub { position: absolute; left: 8px; right: 8px; bottom: 8px; margin: 0; padding: 7px 10px; border-radius: 8px; background: rgba(15,15,20,.78); color: #fff; font-size: .78rem; line-height: 1.35; text-align: center; animation: tSubIn .35s ease both; }
.tut-dots { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.tut-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #d3c7bb; cursor: pointer; position: relative; }
.tut-dots button::after { content: ""; position: absolute; inset: -9px; }
.tut-dots button[aria-current="true"] { background: var(--accent); transform: scale(1.25); }

.t-bg { fill: #f3ece4; }
.t-shadow { fill: rgba(0,0,0,.12); }
.t-plate { fill: #171a22; stroke: #4a5060; stroke-width: 1; }
.t-rim { fill: none; stroke: #6c748a; stroke-width: 1.4; }
.t-spark { fill: rgba(255,255,255,.55); }
.t-flash { fill: #fff6d6; stroke: #c9b88a; stroke-width: 1; }
.t-heart { fill: var(--accent); }
.t-crease { fill: none; stroke: rgba(120,60,40,.22); stroke-width: 1.6; stroke-linecap: round; }
.t-ring { fill: none; stroke: var(--accent); stroke-width: 2.6; opacity: 0; transform-box: fill-box; transform-origin: center; }
.t-ring-flash { stroke-dasharray: 3 3; stroke-width: 2; }
.t-front, .t-back { transform-box: fill-box; transform-origin: center; }
.t-front { opacity: 0; }
.t-finger { transform: translateY(260px); transition: transform .6s ease; }
.t-glow { opacity: 0; transition: opacity .4s; }
.t-time, .t-ecg { opacity: 0; transition: opacity .4s; }
.t-ring-bg { fill: none; stroke: #ddd2c7; stroke-width: 6; }
.t-ring-fg { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: 0; }
.t-num { font: 600 15px/1 var(--body, sans-serif); fill: #3a3a3a; }
.t-ecg-bg { fill: #fff; stroke: #e4d9ce; }
.t-ecg-line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 0; }

/* Szene 1: Handy umdrehen */
.tut[data-scene="1"] .t-front { animation: tFrontOut 2.4s ease both; }
.tut[data-scene="1"] .t-back { animation: tBackIn 2.4s ease both; }
/* Szene 2: richtige Linse */
.tut[data-scene="2"] .t-lens-other { opacity: .3; transition: opacity .4s; }
.tut[data-scene="2"] .t-ring { animation: tRing 1.3s ease-in-out infinite; opacity: 1; }
/* Szene 3 + 4: Finger */
.tut[data-scene="3"] .t-finger, .tut[data-scene="4"] .t-finger { transform: none; }
.tut[data-scene="3"] .t-finger { animation: tFingerUp 1s .3s ease-out both; }
.tut[data-scene="3"] .t-glow { opacity: .5; transition-delay: 1s; }
.tut[data-scene="4"] .t-glow { opacity: .5; animation: tBeat 1.1s ease-in-out infinite; }
.tut[data-scene="4"] .t-time, .tut[data-scene="4"] .t-ecg { opacity: 1; }
.tut[data-scene="4"] .t-ring-fg { animation: tProgress 5.2s linear both; }
.tut[data-scene="4"] .t-ecg-line { animation: tEcg 5.2s linear both; }

@keyframes tFrontOut { 0%, 40% { opacity: 1; transform: scaleX(1); } 62% { opacity: 1; transform: scaleX(0); } 100% { opacity: 0; transform: scaleX(0); } }
@keyframes tBackIn { 0%, 60% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes tRing { 0%, 100% { transform: scale(.92); opacity: .55; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes tFingerUp { from { transform: translateY(260px); } to { transform: translateY(0); } }
@keyframes tBeat { 0%, 100% { opacity: .22; } 14% { opacity: .85; } 30% { opacity: .35; } }
@keyframes tProgress { from { stroke-dashoffset: 151; } to { stroke-dashoffset: 0; } }
@keyframes tEcg { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }
@keyframes tSubIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tut-dots button:disabled { opacity: .45; cursor: default; }
#tutNext { margin-top: 14px; }
#tipsFinal[hidden], #tutNext[hidden] { display: none; }
