/* Identidade visual aprovada (modelo "Novo Clube do Tico").
   Última camada de estilo: creme, bege, rosado, lilás, pêssego e amarelo suaves; marrom nos textos;
   roxo só nos destaques. Os seletores começam por body para valer sobre as camadas anteriores. */
:root {
  --tk-creme: #FFF6DC; --tk-pessego: #FDE9DC; --tk-rosa: #F8E3EA; --tk-lilas: #F1E6F4; --tk-bege: #F3EADB;
  --tk-sombra: 0 1px 0 rgba(75,58,42,.05), 0 10px 26px -14px rgba(75,58,42,.28);
  --tk-sombra-forte: 0 2px 0 rgba(75,58,42,.06), 0 20px 40px -18px rgba(75,58,42,.36);
  --tk-r-g: 28px; --tk-r: 22px; --tk-r-p: 14px; --tk-menu: 248px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --tk-creme: #3A321F; --tk-pessego: #3D2A24; --tk-rosa: #3E2730; --tk-lilas: #3B2B40; --tk-bege: #2E241C; --tk-sombra: 0 10px 26px -14px rgba(0,0,0,.6); --tk-sombra-forte: 0 20px 40px -18px rgba(0,0,0,.7) }
}
:root[data-theme="dark"] { --tk-creme: #3A321F; --tk-pessego: #3D2A24; --tk-rosa: #3E2730; --tk-lilas: #3B2B40; --tk-bege: #2E241C; --tk-sombra: 0 10px 26px -14px rgba(0,0,0,.6); --tk-sombra-forte: 0 20px 40px -18px rgba(0,0,0,.7) }

body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased }
body h1, body h2, body h3 { letter-spacing: -.012em; text-wrap: balance }
.tk-ic { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.25em }

/* ---------- elementos gerais ---------- */
body .card { border-radius: var(--tk-r); box-shadow: var(--tk-sombra); border: 1px solid color-mix(in srgb, var(--line) 55%, transparent) }
body .aviso { border-radius: var(--tk-r-p); background: var(--tk-lilas) }
body .icone-btn { border: 0; background: var(--card); box-shadow: var(--tk-sombra); color: var(--ink); width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center }
body .icone-btn .tk-ic, body .icone-btn svg { width: 22px; height: 22px }
body .btn.sec { border: 1.5px solid var(--line); box-shadow: 0 3px 0 color-mix(in srgb, var(--line) 80%, transparent) }

/* ---------- topo ---------- */
body .topo { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); gap: 10px; padding-block: 10px }
body .topo .titulo { font-weight: 800; font-size: 1.05rem; line-height: 1.15 }
body .topo .titulo small { font-weight: 500; color: var(--ink2); font-size: .78rem }
body .tk-avatar { box-shadow: none; background: transparent; width: 48px; height: 48px }
body .estrelas-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--tk-creme); color: var(--ink); border: 2px solid var(--amarelo); border-radius: 999px; padding: 7px 14px; font-weight: 800; text-decoration: none; box-shadow: none }
body .estrelas-chip .tk-ic { color: #D89A16; fill: #F2C94C; width: 18px; height: 18px }

/* ---------- início: boas-vindas ---------- */
.tk-wrap { max-width: 1080px; padding-top: 18px }
.tk-hero { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 4px 18px; background: linear-gradient(135deg, var(--tk-creme), color-mix(in srgb, var(--tk-creme) 70%, var(--tk-pessego))); border-radius: var(--tk-r-g); padding: 18px 20px 20px; position: relative; overflow: hidden; margin-bottom: 26px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--amarelo) 30%, transparent) }
.tk-hero::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -70px; top: -110px; background: color-mix(in srgb, var(--card) 45%, transparent); pointer-events: none }
.tk-hero-tico { align-self: end; margin-bottom: -20px; position: relative; z-index: 1 }
.tk-hero-tico img { width: 100%; max-height: 230px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 14px rgba(75,58,42,.16)); transform-origin: 50% 90% }
@media (prefers-reduced-motion: no-preference) { .tk-hero-tico .aceno { animation: tk-aceno 3.8s ease-in-out infinite } }
@keyframes tk-aceno { 0%, 100% { transform: rotate(0) } 50% { transform: rotate(-2.5deg) translateY(-3px) } }
.tk-hero-txt { position: relative; z-index: 1 }
.tk-ola { font-family: var(--mao); font-weight: 700; font-size: 1.85rem; color: var(--roxo); margin: 0 0 2px; line-height: 1 }
.tk-hero h1 { font-size: clamp(1.5rem, 4.4vw, 2.2rem); font-weight: 800; line-height: 1.12; margin: 0; color: var(--ink); max-width: 13em }
.tk-resumo { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; position: relative; z-index: 1 }
.tk-resumo-item { display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--card) 88%, transparent); border-radius: var(--tk-r-p); padding: 10px 14px; text-decoration: none; color: var(--ink); box-shadow: var(--tk-sombra); min-width: 0 }
.tk-resumo-item b { font-size: 1.1rem; font-weight: 800 }
.tk-resumo-item span { font-size: .84rem; color: var(--ink2) }
.tk-resumo-item .tk-ic { color: var(--roxo); width: 20px; height: 20px }
.tk-resumo-item.semana { grid-column: 1 / -1; display: grid; gap: 4px }
.tk-dias { display: flex; gap: 6px }
.tk-dias i { width: 15px; height: 15px; border-radius: 50%; background: color-mix(in srgb, var(--line) 85%, var(--card)) }
.tk-dias i.on { background: var(--roxo) }
.tk-dias i.hoje { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--roxo) }
@media (max-width: 420px) {
  .tk-hero { grid-template-columns: 112px 1fr; padding: 16px 16px 18px }
  .tk-ola { font-size: 1.6rem } .tk-hero h1 { font-size: 1.38rem }
}
@media (min-width: 760px) {
  .tk-hero { grid-template-columns: 190px 1fr 270px; padding: 26px 30px 26px 26px; min-height: 250px }
  .tk-hero-tico { margin-bottom: -26px } .tk-hero-tico img { max-height: 270px }
  .tk-ola { font-size: 2.1rem }
  .tk-resumo { grid-column: auto; grid-template-columns: 1fr; margin-top: 0 }
  .tk-resumo-item.semana { grid-column: auto }
}

/* continuar */
.tk-retomar { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--tk-r); box-shadow: var(--tk-sombra); padding: 12px 16px 12px 12px; margin-bottom: 26px }
.tk-retomar .tk-capa { width: 76px; height: 64px; flex-shrink: 0; border-radius: var(--tk-r-p) }
.tk-retomar .tk-capa > * { transform: scale(.42); transform-origin: center }
.tk-retomar > div { flex: 1; min-width: 0 } .tk-retomar p { margin: 2px 0 0; color: var(--ink2); font-size: .9rem }

/* ---------- seções ---------- */
.tk-secao { margin-bottom: 30px }
.tk-secao h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.2rem, 3vw, 1.45rem); font-weight: 800; margin: 0 0 14px }
.tk-secao h2 .tk-ic { color: var(--roxo); width: 24px; height: 24px }
.tk-secao-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px }
.tk-secao-cab h2 { margin: 0 }
.tk-busca { position: relative; flex: 1 1 240px; max-width: 340px }
.tk-busca > .tk-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink2); width: 18px; height: 18px }
body .tk-busca input { border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 40px 10px 40px; background: var(--card); font-size: .95rem; box-shadow: var(--tk-sombra) }
.tk-busca button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--tk-bege); width: 30px; height: 30px; border-radius: 50%; font-size: 1.1rem; line-height: 1 }

/* filtros por habilidade */
.tk-filtros { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity }
.tk-filtros button { --c: var(--roxo); flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid color-mix(in srgb, var(--line) 85%, transparent); background: var(--card); border-radius: 999px; padding: 8px 15px; font: 600 .88rem var(--fonte); color: var(--ink); white-space: nowrap; scroll-snap-align: start; transition: background .15s, border-color .15s }
.tk-filtros button[data-hab]:not([data-hab=""])::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c) }
.tk-filtros button:hover { border-color: color-mix(in srgb, var(--c) 55%, var(--line)) }
.tk-filtros button.on { background: color-mix(in srgb, var(--c) 16%, var(--card)); border-color: color-mix(in srgb, var(--c) 70%, transparent); color: var(--ink); font-weight: 700 }
.tk-filtros button[data-hab=""].on { background: var(--ink); border-color: var(--ink); color: var(--bg) }
.tk-filtros button.fav .tk-ic { width: 16px; height: 16px; color: #D9577A }
.tk-filtros button.fav.on .tk-ic { fill: #E57FA0 }

/* ---------- cartões das atividades ---------- */
.tk-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
@media (min-width: 640px) { .tk-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px } }
@media (min-width: 1180px) { .tk-grade { grid-template-columns: repeat(4, minmax(0, 1fr)) } }
.tk-linha { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 46%); gap: 14px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 -2px; scroll-snap-type: x mandatory; scrollbar-width: thin }
.tk-linha > * { scroll-snap-align: start }
@media (min-width: 640px) { .tk-linha { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 18px } }
@media (min-width: 1180px) { .tk-linha { grid-template-columns: repeat(4, minmax(0, 1fr)) } }

.tk-card { position: relative; background: var(--card); border-radius: 24px; box-shadow: var(--tk-sombra); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; border: 1px solid color-mix(in srgb, var(--line) 45%, transparent) }
.tk-card:hover { transform: translateY(-3px); box-shadow: var(--tk-sombra-forte) }
.tk-card-alvo { display: block; width: 100%; border: 0; padding: 0; background: none; text-align: left; position: relative }
.tk-card-alvo::after { content: ''; position: absolute; inset: 0; border-radius: 24px 24px 0 0 }
.tk-card-corpo { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1 }
.tk-card h3 { font-size: 1rem; font-weight: 800; line-height: 1.22; margin: 0 }
.tk-sub { margin: 0; font-size: .82rem; line-height: 1.35; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.tk-chips { display: flex; gap: 6px; flex-wrap: wrap }
.tk-chip { --c: var(--roxo); display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 3px 10px 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--c) 17%, var(--card)); color: var(--ink); white-space: nowrap }
.tk-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c) }
.tk-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: auto 0 0; padding-top: 2px; font-size: .8rem; color: var(--ink2) }
.tk-meta span + span::before { content: '·'; margin-right: 10px; opacity: .6 }
.tk-est { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--ink) }
.tk-est .tk-ic { width: 15px; height: 15px; color: #D89A16; fill: #F2C94C }
.tk-fav { position: absolute; top: 10px; left: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--ink2); display: grid; place-items: center; box-shadow: 0 4px 12px -6px rgba(75,58,42,.4); backdrop-filter: blur(4px) }
.tk-fav .tk-ic { width: 19px; height: 19px }
.tk-fav.on { color: #D9577A } .tk-fav.on .tk-ic { fill: #E57FA0 }
.tk-cadeado { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: var(--card); display: grid; place-items: center; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(75,58,42,.4) }
.tk-cadeado .tk-ic { width: 18px; height: 18px }
.tk-card.bloq .tk-capa > * { filter: saturate(.6) opacity(.85) }

/* ---------- capas ilustradas ---------- */
.tk-capa { --cc: #B58ACB; position: relative; aspect-ratio: 16 / 11; background: linear-gradient(160deg, color-mix(in srgb, var(--cc) 20%, var(--card)), color-mix(in srgb, var(--cc) 34%, var(--card))); overflow: hidden; display: flex; align-items: center; justify-content: center }
.tk-capa::before { content: ''; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; right: -14%; top: -26%; background: color-mix(in srgb, var(--card) 38%, transparent) }
.tk-capa img.tk-t { position: absolute; pointer-events: none; user-select: none; filter: drop-shadow(0 6px 8px rgba(75,58,42,.16)) }
.tk-capa .corpo { height: 92%; bottom: -4%; width: auto }
.tk-capa .corpo.pequeno { height: 80% }
.tk-capa .corpo.dir { right: 7% } .tk-capa .corpo.esq { left: 7% }
.tk-capa .busto { height: 100%; bottom: -6%; width: auto; left: 50%; transform: translateX(-50%) }
.tk-capa .busto.dir { left: auto; right: 6%; transform: none }
.tk-capa .canto { height: 46%; right: 14%; bottom: 10% }
.tk-capa .canto.grande { height: 64%; right: 12%; bottom: 8% }
.tk-capa .rosto-grande { height: 82%; right: 4%; bottom: -8% }
.tk-capa .tk-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.tk-capa .tk-foto.contain { object-fit: contain; padding: 8% }
.tk-el { position: absolute; display: block; line-height: 0; filter: drop-shadow(0 4px 6px rgba(75,58,42,.14)) }
.tk-el svg { width: 100%; height: 100% }
.tk-el.s1 { width: 30%; left: 9%; top: 12% } .tk-el.s2 { width: 18%; left: 38%; top: 46% } .tk-el.s3 { width: 15%; left: 12%; top: 64% }
.tk-el.f1 { width: 18%; left: 12%; top: 14% } .tk-el.f2 { width: 16%; left: 34%; top: 50% } .tk-el.f3 { width: 15%; left: 12%; top: 62% }
.tk-el.lupa { width: 30%; left: 34%; top: 20% } .tk-el.lupa2 { width: 34%; right: 8%; top: 18% }
.tk-el.lamp { width: 22%; left: 24%; top: 10% }
.tk-el.balao { width: 22%; left: 16%; top: 8% }
.tk-el.ondas { width: 26%; left: 34%; top: 40% } .tk-el.ondas2 { width: 26%; left: 42%; top: 8% }
.tk-el.roleta { width: 42%; left: 9%; top: 14% }
.tk-el.meta { width: 16%; left: 54%; top: 14% }
.tk-el.cx1 { width: 28%; left: 8%; top: 36% } .tk-el.cx2 { width: 22%; left: 34%; top: 50% }
.tk-caixas { position: absolute; left: 7%; bottom: 12%; width: 58%; display: flex; align-items: flex-end; gap: 4%; z-index: 1 }
.tk-caixas span { flex: 1 } .tk-caixas span:nth-child(2) { transform: translateY(-22%) }
.tk-caixas img.tk-t { position: static; width: 100%; height: auto }
.tk-termos { display: flex; align-items: flex-end; justify-content: center; gap: 7%; height: 84%; position: relative; z-index: 1 }
.tk-termos span { height: 100%; display: flex; align-items: flex-end }
.tk-termos span:nth-child(1) { height: 82% } .tk-termos span:nth-child(2) { height: 92% }
.tk-termos img.tk-t { position: static; height: 100%; width: auto }
.tk-capa .corpo + .tk-el, .tk-capa .tk-el ~ .corpo { z-index: 1 }
.tk-rostos { display: flex; align-items: center; justify-content: center; position: relative; z-index: 1 }
.tk-rostos span { width: 34%; margin: 0 -4% } .tk-rostos span:nth-child(2) { width: 40%; z-index: 1 }
.tk-rostos img.tk-t { position: static; width: 100%; height: auto }
.tk-rostos.dupla { margin-right: 24% }
.tk-termo { position: absolute; left: 20%; top: 12%; width: 22%; height: 74%; background: var(--card); border-radius: 14px; padding: 7px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--tk-sombra) }
.tk-termo i { flex: 1; border-radius: 6px }
.tk-trilha { position: absolute; left: 7%; top: 26%; display: grid; gap: 6px; width: 48% }
.tk-trilha span { background: var(--card); border-radius: 10px; padding: 3px 10px; font-weight: 800; color: var(--ink); font-size: .8rem; box-shadow: var(--tk-sombra) }
.tk-pd { display: flex; gap: 8%; width: 84%; justify-content: center; position: relative; z-index: 1 }
.tk-pd span { flex: 1; background: var(--card); border-radius: 16px; display: grid; justify-items: center; gap: 4px; padding: 10px 6px 8px; box-shadow: var(--tk-sombra) }
.tk-pd svg { width: 46%; height: auto } .tk-pd small { font-weight: 800; color: var(--roxo); font-size: .74rem }
.tk-cartas { display: flex; gap: 6%; width: 82%; justify-content: center; position: relative; z-index: 1 }
.tk-cartas span { flex: 1; aspect-ratio: 3 / 4; border-radius: 14px; background: var(--card); display: grid; place-items: center; box-shadow: var(--tk-sombra); overflow: hidden }
.tk-cartas span:nth-child(1) { transform: rotate(-6deg) } .tk-cartas span:nth-child(3) { transform: rotate(6deg) }
.tk-cartas span.v { background: linear-gradient(150deg, #9C4BA5, #7A3482); color: #fff; font-weight: 800; font-size: 1.7rem }
.tk-cartas img.tk-t { position: static; width: 88%; height: auto }
.tk-regra { display: flex; align-items: center; gap: 8%; width: 76%; justify-content: center; position: relative; z-index: 1 }
.tk-regra svg { width: 38%; filter: drop-shadow(0 4px 6px rgba(75,58,42,.14)) } .tk-regra span { font-size: 1.7rem; font-weight: 800; color: color-mix(in srgb, var(--cc) 60%, var(--ink)); opacity: .7 }
.tk-mapa { position: absolute; left: 10%; top: 26%; width: 50%; height: 50% }
.tk-mapa i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--card); box-shadow: var(--tk-sombra) }
.tk-mapa i:nth-child(1) { left: 0; bottom: 0 } .tk-mapa i:nth-child(2) { left: 28%; bottom: 36% } .tk-mapa i:nth-child(3) { left: 54%; bottom: 14% } .tk-mapa i:nth-child(4) { left: 78%; bottom: 58% }
.tk-mapa::before { content: ''; position: absolute; inset: 10% 8% 6% 4%; border: 3px dashed color-mix(in srgb, var(--cc) 55%, var(--card)); border-radius: 50% 40% 50% 40%; border-left-color: transparent; border-top-color: transparent }
.tk-escada { position: absolute; left: 8%; bottom: 0; display: flex; align-items: flex-end; gap: 5px; width: 54% }
.tk-escada i { flex: 1; background: color-mix(in srgb, var(--card) 85%, transparent); border-radius: 8px 8px 0 0; box-shadow: var(--tk-sombra) }
.tk-escada i:nth-child(1) { height: 18px } .tk-escada i:nth-child(2) { height: 34px } .tk-escada i:nth-child(3) { height: 52px } .tk-escada i:nth-child(4) { height: 70px; background: color-mix(in srgb, var(--amarelo) 70%, var(--card)) }
.tk-bolha { position: absolute; background: var(--card); border-radius: 999px; padding: 5px 13px; font-weight: 800; font-size: .82rem; color: var(--ink); box-shadow: var(--tk-sombra); z-index: 2; white-space: nowrap }
.tk-bolha.b1 { left: 24%; top: 14% } .tk-bolha.b2 { left: 8%; top: 50%; background: var(--amarelo) }
.tk-sons { position: absolute; left: 6%; top: 26%; display: flex; align-items: center; gap: 4px; width: 56% }
.tk-sons span { flex: 1; aspect-ratio: 1; background: var(--card); border-radius: 50%; padding: 12%; box-shadow: var(--tk-sombra) }
.tk-sons b { font-size: 1.4rem; color: var(--ink2) }
.tk-notas { position: absolute; left: 7%; top: 22%; display: flex; gap: 6px; width: 56% }
.tk-notas span { flex: 1; background: var(--card); border-radius: 14px; padding: 8px 4px 4px; display: grid; justify-items: center; box-shadow: var(--tk-sombra) }
.tk-notas svg { width: 70% } .tk-notas small { font-weight: 800; font-size: .72rem; color: var(--ink2) }
.tk-pensa { position: absolute; right: 8%; top: 10%; width: 40%; aspect-ratio: 1.2; background: var(--card); border-radius: 50%; display: grid; place-items: center; box-shadow: var(--tk-sombra); z-index: 1 }
.tk-pensa img.tk-t { position: static; width: 58%; height: auto; filter: none }
.tk-pensa i { position: absolute; background: var(--card); border-radius: 50%; box-shadow: var(--tk-sombra) }
.tk-pensa i:nth-child(1) { width: 16px; height: 16px; left: -12%; bottom: 4% } .tk-pensa i:nth-child(2) { width: 9px; height: 9px; left: -26%; bottom: -12% }
.tk-interroga { position: absolute; left: 14%; top: 12%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(150deg, #9C4BA5, #7A3482); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 2.6rem; box-shadow: var(--tk-sombra) }
.tk-caminhos { position: absolute; left: 6%; top: 18%; width: 56%; height: 70% }
.tk-caminhos i { position: absolute; left: 0; bottom: 0; width: 100%; height: 12px; border-radius: 99px; transform-origin: left center }
.tk-caminhos i.a { background: color-mix(in srgb, #6FBF9B 70%, var(--card)); transform: rotate(-28deg); bottom: 18% }
.tk-caminhos i.b { background: color-mix(in srgb, #F4A259 70%, var(--card)); transform: rotate(-4deg); bottom: 10% }

/* ---------- Cantinho do Tico ---------- */
.tk-cantinho { display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg, var(--tk-lilas), var(--tk-rosa)); border-radius: var(--tk-r-g); padding: 14px 22px 0 14px; text-decoration: none; color: var(--ink); overflow: hidden; margin-top: 6px; box-shadow: var(--tk-sombra) }
.tk-cantinho-tico { width: 120px; flex-shrink: 0; align-self: flex-end; line-height: 0 }
.tk-cantinho-tico img { width: 100%; height: auto; position: static; filter: none }
.tk-cantinho > span:nth-child(2) { flex: 1; padding-bottom: 14px; font-size: .92rem; color: var(--ink2) }
.tk-cantinho b { display: block; font-size: 1.12rem; font-weight: 800; color: var(--ink) }
.tk-cantinho > .tk-ic { color: var(--roxo); width: 26px; height: 26px; margin-bottom: 14px }

/* ---------- menu: inferior no celular, lateral no computador ---------- */
body .tk-nav { grid-template-columns: repeat(4, 1fr); display: grid; gap: 6px; background: color-mix(in srgb, var(--card) 94%, transparent); border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 -10px 30px -22px rgba(75,58,42,.45); padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) }
body .tk-nav .so-pc, body .tk-nav .tk-nav-marca, body .tk-nav .tk-nav-rotulo { display: none }
body .tk-nav a, body .tk-nav button { font: 600 .7rem var(--fonte); color: var(--ink2); border-radius: 16px; min-height: 54px; gap: 3px; transition: background .15s, color .15s }
body .tk-nav .tk-nav-ic { width: 23px; height: 23px }
body .tk-nav .on { color: var(--roxo); background: var(--tk-lilas) }
body .tk-nav .on .tk-nav-ic { stroke-width: 2 }
@media (min-width: 1024px) {
  body.tk-com-menu #app { padding-left: var(--tk-menu) }
  body .tk-nav { top: 0; bottom: 0; right: auto; left: 0; width: var(--tk-menu); display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 18px 14px 18px; border-top: 0; border-right: 1px solid color-mix(in srgb, var(--line) 70%, transparent); box-shadow: none; background: color-mix(in srgb, var(--card) 70%, var(--bg)); overflow-y: auto; z-index: 45 }
  body .tk-nav .so-pc, body .tk-nav .tk-nav-rotulo { display: flex }
  body .tk-nav .so-cel { display: none } body .tk-nav span.so-pc { display: inline }
  body .tk-nav a, body .tk-nav button { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; font-size: .92rem; font-weight: 600; color: var(--ink); text-align: left; width: 100% }
  body .tk-nav a:hover, body .tk-nav button:hover { background: color-mix(in srgb, var(--tk-lilas) 60%, transparent) }
  body .tk-nav .on { color: var(--roxo); background: var(--tk-lilas); font-weight: 700 }
  body .tk-nav .tk-nav-ic { width: 21px; height: 21px; color: var(--ink2) }
  body .tk-nav .on .tk-nav-ic { color: var(--roxo) }
  body .tk-nav .tk-nav-marca { display: flex; gap: 10px; padding: 4px 8px 18px; margin-bottom: 6px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); border-radius: 0; font-size: 1rem; font-weight: 800; line-height: 1.15; color: var(--ink) }
  body .tk-nav .tk-nav-marca:hover { background: none }
  body .tk-nav .tk-nav-marca small { display: block; font-weight: 500; font-size: .72rem; color: var(--ink2) }
  .tk-nav-logo { width: 44px; height: 44px; border-radius: 50%; background: var(--amarelo); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; flex-shrink: 0 }
  .tk-nav-logo img { width: 88%; height: auto; margin-bottom: -3px }
  body .tk-nav .tk-nav-rotulo { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); padding: 14px 12px 6px; opacity: .85 }
  body.tk-com-menu .wrap { padding-bottom: 48px }
  body.tk-com-menu .topo { padding-inline: max(24px, calc((100vw - var(--tk-menu) - 1080px) / 2 + 16px)) }
}

/* ---------- tela da atividade (níveis) ---------- */
body .cab-ativ { display: flex; align-items: center; gap: 18px; margin: 8px 0 20px }
body .cab-ativ .tk-capa { width: 180px; flex-shrink: 0; border-radius: var(--tk-r); box-shadow: var(--tk-sombra) }
body .cab-ativ h2 { font-size: clamp(1.3rem, 3.6vw, 1.75rem); font-weight: 800 }
body .cab-ativ .tk-chips { margin-top: 10px } body .cab-ativ .tk-meta { margin-top: 6px }
body[data-rota="atividade"] .wrap.estreito { max-width: 720px }
@media (max-width: 520px) { body .cab-ativ { flex-direction: column; align-items: stretch; text-align: left; gap: 12px } body .cab-ativ .tk-capa { width: 100%; aspect-ratio: 16 / 8 } }
.tk-perfis-tico { width: 96px; margin: 8px auto -4px; line-height: 0 }
.tk-perfis-tico img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(75,58,42,.15)) }
body .niveis { display: grid; gap: 12px }
body .nivel { background: var(--card); border: 1px solid color-mix(in srgb, var(--line) 50%, transparent); border-radius: var(--tk-r); box-shadow: var(--tk-sombra); padding: 16px 18px; gap: 14px; transition: transform .15s, box-shadow .15s }
body .nivel:hover { transform: translateY(-2px); box-shadow: var(--tk-sombra-forte) }
body .nivel .n { background: var(--tk-lilas); color: var(--roxo); width: 52px; height: 52px; border-radius: 50%; font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; flex-shrink: 0 }
body .nivel b { font-size: 1.02rem }
body .nivel .seta { color: var(--roxo) } body .nivel .seta .tk-ic { width: 28px; height: 28px }

/* ---------- jogo em andamento ---------- */
body .palco-topo { background: transparent }
body .instrucao { border-radius: var(--tk-r); box-shadow: var(--tk-sombra); border: 1px solid color-mix(in srgb, var(--line) 50%, transparent); background: var(--card) }
body .ouvir { background: var(--tk-lilas); color: var(--roxo) }
body .card-emo { border-radius: var(--tk-r); box-shadow: var(--tk-sombra) }
body .detalhe-emo { border-radius: var(--tk-r); background: var(--tk-lilas) }

/* ---------- perfis e conquistas ---------- */
body .perfis { gap: 16px }
body .perfil { background: var(--card); border-radius: 24px; box-shadow: var(--tk-sombra); border: 1px solid color-mix(in srgb, var(--line) 50%, transparent); padding: 20px 18px 16px; font-weight: 700; transition: transform .15s, box-shadow .15s }
body .perfil:hover { transform: translateY(-3px); box-shadow: var(--tk-sombra-forte) }
body .perfil.novo .avatar { background: var(--tk-bege); color: var(--roxo); border: 2px dashed color-mix(in srgb, var(--roxo) 35%, var(--line)) }
body[data-rota="criancas"] h1 { font-weight: 800 }
body .placar .card { background: linear-gradient(140deg, var(--tk-creme), var(--card)) }

/* ---------- área dos adultos e telas públicas: mesma linguagem ---------- */
body .adult-note { border-radius: var(--tk-r-p) }
body [data-aba], body .abas button { border-radius: 999px }

/* celular: capas um pouco mais altas e cartões mais limpos, como no modelo */
@media (max-width: 639px) {
  .tk-capa { aspect-ratio: 1 / .78 }
  .tk-grade .tk-sub { display: none }
  .tk-card h3 { font-size: .95rem }
  .tk-card-corpo { padding: 10px 12px 12px }
  .tk-fav, .tk-cadeado { width: 32px; height: 32px; top: 8px } .tk-fav { left: 8px } .tk-cadeado { right: 8px }
}

/* Caixinhas surpresa: as caixas ilustradas no lugar dos botões cinzas, com o número num selo. */
.grade-caixas .caixa-surpresa { aspect-ratio: 1; border: 0; padding: 0; background: url(assets/caixa_vermelha.webp) center / 82% no-repeat; position: relative; cursor: pointer; border-radius: 18px; transition: transform .15s }
.grade-caixas .caixa-surpresa:nth-child(6n+2) { background-image: url(assets/caixa_azul.webp) }
.grade-caixas .caixa-surpresa:nth-child(6n+3) { background-image: url(assets/caixa_amarela.webp) }
.grade-caixas .caixa-surpresa:nth-child(6n+4) { background-image: url(assets/caixa_verde.webp) }
.grade-caixas .caixa-surpresa:nth-child(6n+5) { background-image: url(assets/caixa_roxa.webp) }
.grade-caixas .caixa-surpresa:nth-child(6n) { background-image: url(assets/caixa_laranja.webp) }
.grade-caixas .caixa-surpresa:not(.aberta):hover { transform: translateY(-3px) rotate(-2deg) }
.grade-caixas .caixa-surpresa .tampa { display: none }
.grade-caixas .caixa-surpresa .num { position: absolute; left: 4%; top: 4%; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: var(--card, #fff); color: var(--roxo, #8E3F96); font-weight: 800; font-size: .95rem; display: grid; place-items: center; text-shadow: none; box-shadow: 0 2px 6px rgba(75,58,42,.18) }
.grade-caixas .caixa-surpresa.aberta { filter: grayscale(.85) opacity(.5); cursor: default }
