:root {
  --bg: #f6f3ff; --card: #fff; --text: #241f3d; --muted: #625d82; --primary: #6c4cf1; --pink: #ff5fa2; --chip: #ece8ff; --ok: #12a150;
  --grad: linear-gradient(135deg, #6c4cf1 0%, #b04cf1 55%, #ff5fa2 100%);
  --shadow: 0 10px 30px rgba(108, 76, 241, .16);
  --r: 22px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14111f; --card: #1f1a33; --text: #f1eeff; --muted: #b7b1d6; --primary: #a590ff; --chip: #2f2556; --shadow: 0 10px 30px rgba(0, 0, 0, .35); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; font-size: 17px;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 900; text-align: center; margin-bottom: 14px; }
h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.fine { color: var(--muted); font-size: .88rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

/* zvýrazněná slova */
.hl { background: linear-gradient(transparent 62%, rgba(108, 76, 241, .28) 62%); border-radius: 6px; padding: 0 4px; }
.hl.pink { background: linear-gradient(transparent 62%, rgba(255, 95, 162, .38) 62%); }

/* tlačítka */
.btn { display: inline-block; text-decoration: none; background: var(--grad); color: #fff; font-weight: 800; border: 0; border-radius: 99px;
  padding: 11px 22px; box-shadow: 0 6px 18px rgba(108, 76, 241, .38); transition: transform .15s, box-shadow .15s; cursor: pointer; font-size: 1rem; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 10px 24px rgba(108, 76, 241, .45); }
.btn.big { padding: 15px 30px; font-size: 1.1rem; }
.btn.small { padding: 8px 16px; font-size: .95rem; }
.btn.ghost { background: var(--card); color: var(--primary); box-shadow: inset 0 0 0 2.5px var(--primary); }
.btn.white { background: #fff; color: #6c4cf1; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.btn.outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .9); }

/* horní lišta */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(14px, 4vw, 44px);
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.3rem; text-decoration: none; color: var(--text); }
.brand img { border-radius: 10px; box-shadow: 0 3px 8px rgba(108, 76, 241, .4); }
.top nav { display: flex; align-items: center; gap: 18px; }
.top nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 700; }
.top nav a:not(.btn):hover { color: var(--primary); }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: clamp(24px, 5vw, 60px) clamp(16px, 5vw, 70px) 40px; max-width: 1240px; margin: 0 auto; }
.kicker { display: inline-block; background: var(--chip); color: var(--primary); font-weight: 800; padding: 6px 14px; border-radius: 99px; margin: 0 0 16px; transform: rotate(-2deg); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 900; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 540px; margin: 18px 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; }
.badges li { background: var(--card); box-shadow: var(--shadow); padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: .92rem; }
.floaters { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.floaters span { position: absolute; left: var(--x); top: var(--y); font-size: 2rem; animation: bob 4s ease-in-out infinite; animation-delay: var(--d); opacity: .9; pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(8deg); } }

/* telefon s ukázkou */
.demo { text-align: center; position: relative; z-index: 2; }
.phone { width: 292px; margin: 0 auto; border: 10px solid #1b1730; border-radius: 40px; background: var(--bg); box-shadow: 0 24px 50px rgba(36, 31, 61, .35); position: relative; transform: rotate(2.5deg); transition: transform .3s; }
.phone:hover { transform: rotate(0); }
.notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 96px; height: 20px; background: #1b1730; border-radius: 0 0 14px 14px; z-index: 3; }
.screen { padding: 34px 14px 16px; min-height: 480px; position: relative; text-align: left; }
.appbar { display: flex; justify-content: space-between; align-items: center; font-weight: 900; margin-bottom: 10px; color: var(--text); }
.pts { background: var(--grad); color: #fff; padding: 3px 12px; border-radius: 99px; font-size: .92rem; transition: transform .3s; }
.pts.pop { animation: pop .5s; }
@keyframes pop { 40% { transform: scale(1.35); } }
.hello { font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.reward { background: var(--card); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); margin-bottom: 14px; font-size: .92rem; }
.reward .row { display: flex; justify-content: space-between; gap: 8px; }
.reward .row span { color: var(--muted); font-weight: 700; font-size: .85rem; }
.bar { height: 12px; background: var(--chip); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar div { height: 100%; background: linear-gradient(90deg, #ffb547, #ff5fa2); border-radius: 99px; transition: width .7s cubic-bezier(.2, .9, .3, 1.2); }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.task { width: 100%; display: flex; align-items: center; gap: 10px; background: var(--card); border: 0; border-radius: 14px; padding: 11px 12px; box-shadow: var(--shadow);
  font: inherit; font-weight: 700; color: var(--text); cursor: pointer; text-align: left; transition: transform .15s; }
.task:hover { transform: scale(1.03) rotate(-.6deg); }
.task .box { width: 24px; height: 24px; border-radius: 8px; border: 3px solid var(--primary); flex: none; display: grid; place-items: center; font-size: .9rem; color: #fff; transition: background .2s; }
.task .tt { flex: 1; }
.task .st { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.task.wait .box { background: #e08a00; border-color: #e08a00; }
.task.wait .box::after { content: '⏳'; font-size: .7rem; }
.task.done { opacity: .75; }
.task.done .box { background: var(--ok); border-color: var(--ok); }
.task.done .box::after { content: '✓'; font-weight: 900; }
.task.done .tt { text-decoration: line-through; }
.task:disabled { cursor: default; }
.toast { position: absolute; left: 14px; right: 14px; bottom: 16px; background: #241f3d; color: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .9rem; opacity: 0; transform: translateY(14px); transition: .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.unlocked { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: var(--grad); color: #fff; font-size: 1.7rem; font-weight: 900; line-height: 1.2; animation: pop .6s; border-radius: 4px; }
.unlocked[hidden] { display: none; }
.unlocked small { font-size: 1rem; font-weight: 700; opacity: .9; }
.reset { margin-top: 14px; background: none; border: 0; color: var(--primary); font-weight: 800; cursor: pointer; font-size: .95rem; }
.hint { color: var(--muted); font-weight: 700; margin: 6px 0 0; }

.wave { display: block; width: 100%; height: 60px; fill: var(--chip); margin-top: 10px; }
section { padding: clamp(40px, 7vw, 80px) clamp(16px, 5vw, 70px); max-width: 1240px; margin: 0 auto; }
.who { background: var(--chip); max-width: none; }
.who > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 30px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.sticker { background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); transition: transform .25s; }
.s1 { transform: rotate(-1.6deg); } .s2 { transform: rotate(1.2deg); } .s3 { transform: rotate(-1deg); }
.sticker:hover { transform: rotate(0) translateY(-5px); }
.big-emoji { font-size: 3rem; margin-bottom: 8px; }
.card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-6px) rotate(-.8deg); box-shadow: 0 16px 34px rgba(108, 76, 241, .25); }
.card .ic, .mini .ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--chip); font-size: 1.7rem; margin-bottom: 10px; }
.card p, .mini p, .sticker p { margin: 0; color: var(--muted); }
.card.hot { background: var(--grad); color: #fff; }
.card.hot .ic { background: rgba(255, 255, 255, .25); }
.card.hot p { color: rgba(255, 255, 255, .92); }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; padding: 0; margin: 34px 0 0; }
.steps li { background: var(--card); border-radius: var(--r); padding: 26px 22px 22px; box-shadow: var(--shadow); position: relative; margin-top: 18px; }
.steps .num { position: absolute; top: -20px; left: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(108, 76, 241, .45); }
.steps p { margin: 0; color: var(--muted); }

.tg { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tg h2 { text-align: left; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ticks li::before { content: '✓'; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; font-weight: 900; font-size: .85rem; margin-right: 10px; }
.chat { background: #cfe3f3; border-radius: 28px; padding: 22px 18px; display: grid; gap: 12px; box-shadow: var(--shadow); max-width: 420px; justify-self: center; }
@media (prefers-color-scheme: dark) { .chat { background: #1c2b3a; } }
.bubble { padding: 11px 15px; border-radius: 18px; max-width: 88%; font-size: .95rem; box-shadow: 0 2px 6px rgba(0, 0, 0, .1); animation: slideIn .6s both; color: #1b1730; background: #fff; }
.bubble.out { background: #d9fdd3; justify-self: end; border-bottom-right-radius: 5px; }
.bubble.in { border-bottom-left-radius: 5px; }
.bubble:nth-child(2) { animation-delay: .25s; } .bubble:nth-child(3) { animation-delay: .5s; } .bubble:nth-child(4) { animation-delay: .75s; }
@keyframes slideIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@media (prefers-color-scheme: dark) { .bubble.in { background: #2b3e52; color: #f1eeff; } .bubble.out { background: #2f6b4f; color: #f1fff6; } }

.safe { background: var(--chip); max-width: none; }
.safe > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.mini { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }

.faq { max-width: 820px; }
.faq details { background: var(--card); border-radius: 18px; padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '＋'; color: var(--primary); font-weight: 900; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 16px; color: var(--muted); }

.final { max-width: none; padding-top: 20px; }
.final-box { max-width: 900px; margin: 0 auto; background: var(--grad); color: #fff; border-radius: 36px; text-align: center; padding: clamp(30px, 6vw, 60px) 24px; box-shadow: 0 20px 50px rgba(108, 76, 241, .45); position: relative; overflow: hidden; }
.final-box h2 { color: #fff; }
.final-box p { max-width: 520px; margin: 0 auto 22px; }
.final-box .fine { color: rgba(255, 255, 255, .85); margin: 18px auto 0; }
.final-box .fine a { color: #fff; font-weight: 800; }
.bigicon { font-size: 3.4rem; animation: bob 3s ease-in-out infinite; }

footer { padding: 30px 16px 40px; text-align: center; }
.foot { display: grid; gap: 6px; justify-items: center; }
.foot p { margin: 0; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; width: 100%; height: 100%; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row, .badges { justify-content: center; }
  .tg { grid-template-columns: 1fr; }
  .tg h2 { text-align: center; }
  .top nav a:not(.btn):not(.login) { display: none; }
  .floaters span { font-size: 1.5rem; }
}
@media (max-width: 520px) { .top nav { gap: 10px; } .top nav .login { font-size: .92rem; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #confetti { display: none; }
}

/* právní stránky */
.legal { max-width: 800px; margin: 0 auto; padding: 30px clamp(16px, 5vw, 40px) 50px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; margin-bottom: 6px; text-align: left; }
.legal h2 { font-size: 1.25rem; text-align: left; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal .upd { color: var(--muted); }
mark.todo { background: #ffe58a; color: #5a4300; padding: 1px 6px; border-radius: 6px; font-weight: 700; }
footer .fine a { color: var(--muted); }

/* odkaz na návod v sekci Jak to funguje */
.phone-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--card); border-radius: var(--r); padding: 20px 24px; margin: 34px auto 0; max-width: 820px; box-shadow: var(--shadow); }
.phone-cta .pc-ico { font-size: 2.6rem; }
.phone-cta > div:nth-child(2) { flex: 1 1 260px; }
.phone-cta h3 { margin: 0 0 4px; }
.phone-cta p { margin: 0; color: var(--muted); }

/* návod: Togeda v telefonu */
.guide { max-width: 860px; margin: 0 auto; padding: 24px clamp(16px, 5vw, 40px) 60px; }
.g-hero { text-align: center; }
.g-ico { font-size: 3.4rem; animation: bob 3s ease-in-out infinite; }
.g-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; }
.g-hero .lead { margin: 14px auto 6px; }
.g-open { background: var(--card); border-radius: var(--r); padding: 12px 18px; box-shadow: var(--shadow); display: inline-block; margin-top: 10px; }
.g-open p { margin: 2px 0; }
.g-url { font-weight: 900; font-size: 1.3rem; }
.g-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 26px 0 8px; }
.g-tabs button { font: inherit; font-weight: 800; font-size: 1.05rem; border: 0; border-radius: 99px; padding: 12px 24px; background: var(--chip); color: var(--primary); cursor: pointer; transition: transform .15s; }
.g-tabs button:hover { transform: translateY(-2px); }
.g-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(108, 76, 241, .35); }
.g-detect { text-align: center; color: var(--muted); font-size: .92rem; margin: 6px 0 14px; }
.g-note { background: rgba(224, 138, 0, .14); border-radius: 16px; padding: 12px 16px; margin: 14px 0; font-weight: 600; }
.g-panel[hidden] { display: none; }
.g-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; counter-reset: gs; }
.g-steps li { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--card); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); }
.g-steps .n { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(108, 76, 241, .4); flex: none; }
.g-steps h3 { margin: 0 0 4px; font-size: 1.15rem; }
.g-steps p { margin: 0; color: var(--muted); }
.g-steps .vis { min-width: 120px; display: grid; place-items: center; }
.g-steps .urlbar { background: var(--chip); border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.g-steps .ico-big { width: 72px; height: 72px; border-radius: 20px; background: var(--chip); color: var(--primary); display: grid; place-items: center; }
.g-steps .row-mock { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--chip); border-radius: 14px; padding: 12px 16px; font-weight: 800; font-size: .95rem; min-width: 190px; }
.g-steps .plus { font-size: 1.3rem; color: var(--primary); }
.g-steps .btn-mock { background: var(--grad); color: #fff; font-weight: 800; border-radius: 99px; padding: 10px 26px; }
.g-steps .app-ico { border-radius: 18px; box-shadow: 0 8px 20px rgba(108, 76, 241, .4); }
.g-tip, .g-trouble details { background: var(--card); border-radius: 18px; padding: 4px 20px; margin: 14px 0 0; box-shadow: var(--shadow); }
.g-tip summary, .g-trouble summary { cursor: pointer; font-weight: 800; padding: 13px 0; }
.g-tip p, .g-trouble details p { margin: 0 0 14px; color: var(--muted); }
.g-trouble { margin-top: 38px; }
.g-trouble h2 { text-align: left; font-size: 1.6rem; margin-bottom: 10px; }
.g-help { margin-top: 16px; text-align: center; }
.g-final { text-align: center; margin-top: 34px; }
@media (max-width: 640px) {
  .g-steps li { grid-template-columns: auto 1fr; }
  .g-steps .vis { grid-column: 1 / -1; }
}

[hidden] { display: none !important; }

/* o autorovi a kontakt */
.about { max-width: none; background: var(--chip); }
.about-box { max-width: 860px; margin: 0 auto; display: flex; gap: 22px; align-items: center; background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.about-box h2 { text-align: left; font-size: 1.7rem; margin-bottom: 8px; }
.about-box p { margin: 0; color: var(--muted); }
.ab-ico { font-size: 3.4rem; flex: none; }

/* podpora (dary) */
.support { max-width: 980px; }
.support-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.support-text h2 { text-align: left; font-size: 1.8rem; margin-bottom: 8px; }
.support-text p { color: var(--muted); }
.acc { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 14px 0; }
.acc dt { color: var(--muted); font-weight: 700; font-size: .85rem; margin-top: 8px; }
.acc dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.copy { font: inherit; font-weight: 700; font-size: .85rem; border: 0; border-radius: 99px; padding: 4px 12px; margin-left: 6px; background: var(--chip); color: var(--primary); cursor: pointer; }
.qr { margin: 0; text-align: center; }
.qr img { display: block; margin: 0 auto 8px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 4px 14px rgba(36, 31, 61, .18); width: 220px; height: 220px; }
.qr figcaption { color: var(--muted); font-size: .88rem; font-weight: 700; }
@media (max-width: 760px) { .support-box { grid-template-columns: 1fr; text-align: center; } .support-text h2 { text-align: center; } .acc { text-align: left; } }

/* ===== ukázka aplikace v2 (více záložek, dítě / rodič) ===== */
.demo .roles { display: inline-flex; gap: 6px; background: var(--card); padding: 5px; border-radius: 99px; box-shadow: var(--shadow); margin-bottom: 16px; }
.rbtn { font: inherit; font-weight: 800; font-size: .92rem; border: 0; border-radius: 99px; padding: 8px 16px; background: transparent; color: var(--muted); cursor: pointer; transition: all .2s; }
.rbtn small { font-weight: 700; opacity: .8; }
.rbtn.on { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(108, 76, 241, .4); }
.rbtn.pulse:not(.on) { animation: rpulse 1.2s ease-in-out infinite; color: var(--primary); }
@keyframes rpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(108, 76, 241, .5); } 50% { box-shadow: 0 0 0 7px rgba(108, 76, 241, 0); } }
.demo .phone { width: 326px; }
.demo .screen { height: 560px; min-height: 0; overflow-y: auto; padding: 34px 12px 74px; scrollbar-width: none; overscroll-behavior: contain; }
.demo .screen::-webkit-scrollbar { display: none; }
.demo .appbar { margin-bottom: 8px; }
.pill-p { background: var(--chip); color: var(--primary); padding: 3px 12px; border-radius: 99px; font-size: .8rem; font-weight: 800; }
.dcard { background: var(--card); border-radius: 16px; padding: 11px 12px; box-shadow: var(--shadow); margin-bottom: 10px; font-size: .9rem; text-align: left; }
.dcard .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dcard.attn { box-shadow: 0 0 0 2px #e08a00, var(--shadow); }
.dcard.warnbox { box-shadow: 0 0 0 2px #e5384f, var(--shadow); }
.dcard.badge { text-align: center; background: var(--grad); color: #fff; font-weight: 700; animation: pop .6s; }
.dcard.streak { background: linear-gradient(135deg, #ffb547, #ff7a59); color: #fff; }
.dcard.streak .muted2 { color: rgba(255, 255, 255, .92); }
.dcard.rw.req { opacity: .85; }
.dcard.rw.given { opacity: .6; }
.muted2 { color: var(--muted); font-size: .8rem; font-weight: 600; }
.muted2 small, .dcard small { font-weight: 600; opacity: .85; }
.chip2 { font-size: .76rem; font-weight: 800; padding: 2px 10px; border-radius: 99px; background: var(--chip); color: var(--primary); white-space: nowrap; }
.chip2.warn { background: rgba(224, 138, 0, .2); color: #b36b00; }
.chip2.over { background: rgba(229, 56, 79, .18); color: #e5384f; }
.bar.warn div { background: linear-gradient(90deg, #ffd166, #e08a00); }
.bar.over div { background: linear-gradient(90deg, #ff8a95, #e5384f); }
.bar.green div { background: linear-gradient(90deg, #3ddc84, #12a150); }
.bar.slim { height: 8px; flex: 1; margin: 0 10px 0 0; }
.dbtns { display: flex; gap: 6px; margin-top: 8px; }
.dbtns.wrap { flex-wrap: wrap; }
.dbtn { font: inherit; font-weight: 800; font-size: .8rem; border: 0; border-radius: 99px; padding: 6px 12px; background: var(--chip); color: var(--primary); cursor: pointer; transition: transform .15s; }
.dbtn small { font-weight: 700; opacity: .75; }
.dbtn:hover:not(:disabled) { transform: translateY(-1px); }
.dbtn.ok { background: var(--ok); color: #fff; }
.dbtn.warn { background: #e5384f; color: #fff; }
.dbtn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--chip); }
.dbtn:disabled { opacity: .55; cursor: default; }
.qrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--chip); }
.qrow:first-of-type { margin-top: 6px; }
.qrow small { display: block; color: var(--muted); }
.demo .tasks { margin-top: 2px; }
.demo .task { padding: 9px 11px; font-size: .9rem; }
.demo .task .tt small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.demo .task.static { cursor: default; }
.demo .task.static:hover { transform: none; }
.steps { display: grid; gap: 7px; }
.step { display: flex; align-items: center; gap: 10px; width: 100%; font: inherit; font-weight: 700; font-size: .9rem; text-align: left; background: var(--card); color: var(--text); border: 0; border-radius: 13px; padding: 9px 11px; box-shadow: var(--shadow); cursor: pointer; }
.step .box { width: 22px; height: 22px; border-radius: 7px; border: 3px solid var(--primary); display: grid; place-items: center; color: #fff; font-size: .8rem; flex: none; }
.step.on .box { background: var(--ok); border-color: var(--ok); }
.step.on span:last-child { text-decoration: line-through; opacity: .7; }
.step.static { cursor: default; }
.step.slim { padding: 7px 4px; box-shadow: none; background: transparent; border-radius: 8px; }
.dnav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; background: var(--card); border-top: 1px solid var(--chip); padding: 5px 4px 8px; z-index: 2; border-radius: 0 0 26px 26px; }
.dnav button { position: relative; flex: 1; font: inherit; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 3px 0; border-radius: 12px; display: grid; justify-items: center; gap: 0; }
.dnav button span { font-size: 1.15rem; line-height: 1.2; }
.dnav button em { font-style: normal; font-size: .62rem; font-weight: 800; }
.dnav button.on { color: var(--primary); background: var(--chip); }
.nb { position: absolute; top: 0; right: 14%; background: #e5384f; color: #fff; font-style: normal; font-size: .62rem; font-weight: 900; border-radius: 99px; min-width: 16px; padding: 0 4px; line-height: 16px; }
.demo .toast { bottom: 66px; z-index: 3; font-size: .85rem; }
.demo .unlocked { z-index: 4; border-radius: 26px; }
@media (max-width: 860px) { .demo .roles { margin-top: 6px; } }

/* ===== kontakt v2 ===== */
.contact { max-width: 1080px; }
.cx { display: grid; grid-template-columns: 5fr 7fr; border-radius: 30px; overflow: hidden; box-shadow: 0 18px 44px rgba(108, 76, 241, .22); background: var(--card); }
.cx-side { position: relative; background: var(--grad); color: #fff; padding: 36px 30px; overflow: hidden; }
.cx-side::before, .cx-side::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cx-side::before { width: 220px; height: 220px; right: -70px; top: -60px; }
.cx-side::after { width: 160px; height: 160px; left: -50px; bottom: -50px; }
.cx-side > * { position: relative; z-index: 1; }
.cx-side h2 { text-align: left; color: #fff; font-size: 1.9rem; margin: 6px 0 10px; }
.cx-side p { margin: 0 0 22px; color: rgba(255, 255, 255, .92); }
.cx-mascot { width: 64px; height: 64px; display: grid; place-items: center; font-size: 2rem; background: rgba(255, 255, 255, .22); border-radius: 20px; animation: bob 3.2s ease-in-out infinite; }
.cx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cx-list li { display: flex; gap: 13px; align-items: flex-start; line-height: 1.4; font-size: .95rem; }
.cx-list li > span { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .22); border-radius: 13px; font-size: 1.15rem; }
.cx-list b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; margin-bottom: 1px; }
.cx-list a { color: #fff; font-weight: 800; }
.cx-main { padding: 34px 32px; }
.topics { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-weight: 800; font-size: .92rem; margin-bottom: 9px; padding: 0; width: 100%; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 9px 16px; border-radius: 99px; font-weight: 800; font-size: .92rem; background: var(--chip); color: var(--primary); transition: all .18s; border: 2px solid transparent; }
.topics label:hover span { transform: translateY(-2px); }
.topics input:checked + span { background: var(--grad); color: #fff; box-shadow: 0 6px 14px rgba(108, 76, 241, .38); }
.topics input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { position: relative; margin-bottom: 16px; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--card); border: 2px solid #d9d2f3; border-radius: 16px; padding: 22px 16px 8px; transition: border-color .18s, box-shadow .18s; }
@media (prefers-color-scheme: dark) { .fld input, .fld textarea { border-color: #3e3470; } }
.fld textarea { resize: vertical; min-height: 140px; padding-bottom: 28px; }
.fld label { position: absolute; left: 18px; top: 16px; font-weight: 700; color: var(--muted); pointer-events: none; transition: all .16s ease; transform-origin: left top; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { top: 6px; font-size: .74rem; color: var(--primary); }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(108, 76, 241, .18); }
.fld.bad input, .fld.bad textarea { border-color: #e5384f; box-shadow: 0 0 0 4px rgba(229, 56, 79, .14); }
.fld.bad label { color: #e5384f; }
.cnt { position: absolute; right: 14px; bottom: 8px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cx-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9rem; margin: 4px 0 20px; line-height: 1.45; }
.cx-check input { position: absolute; opacity: 0; pointer-events: none; }
.cx-check .tick { width: 24px; height: 24px; flex: none; border-radius: 8px; border: 2px solid #c8bdf0; background: var(--card); display: grid; place-items: center; transition: all .16s; margin-top: 1px; }
.cx-check input:checked + .tick { background: var(--grad); border-color: transparent; }
.cx-check input:checked + .tick::after { content: '✓'; color: #fff; font-weight: 900; font-size: .9rem; }
.cx-check input:focus-visible + .tick { outline: 3px solid var(--pink); outline-offset: 2px; }
.cx-check.bad .tick { border-color: #e5384f; box-shadow: 0 0 0 4px rgba(229, 56, 79, .14); }
.cx-send { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cx-send .sp { display: none; width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.cx-send.loading .sp { display: inline-block; }
.cx-send:disabled { opacity: .8; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.cstatus { margin: 12px 0 0; font-weight: 700; min-height: 1.4em; text-align: center; }
.cstatus.ok { color: var(--ok); }
.cstatus.err { color: #e5384f; }
.cx-done { text-align: center; padding: 30px 10px; animation: pop .6s; }
.cx-done[hidden] { display: none; }
.cx-check-big { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 2.8rem; font-weight: 900; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(108, 76, 241, .4); }
.cx-done h3 { font-size: 1.6rem; margin-bottom: 8px; }
.cx-done p { color: var(--muted); margin: 0 0 20px; }
@media (max-width: 820px) {
  .cx { grid-template-columns: 1fr; }
  .cx-side { padding: 28px 24px; }
  .cx-main { padding: 26px 20px; }
  .cx-row { grid-template-columns: 1fr; gap: 0; }
}