/* Tots — visual "cérebros de pelúcia" 2026-11-24 (D39; dono: "eu quero esse design em todo aplicativo, mude tudo no interior").
   Carregado DEPOIS de tots-brand.css. Mundo de brinquedo no estilo Moly: céu azul, fundo creme, cartões brancos bem redondos,
   títulos em Bricolage Grotesque (Fredoka recusada em 24/11), botões pretos em pílula, cores vivas por área e os 5 cérebros de pelúcia (tots-plush.js).
   Nenhuma função muda: só cores, fontes, formas e imagens. */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url(/assets/fonts/bricolage-latin-wght-normal.woff2) format("woff2")}
:root,:root[data-theme="light"]{
  --bg:#FBF6EC; --surface:#F4EDDF; --card:#FFFFFF; --line:#EADFCB; --line-2:#DCCFB7;
  --text:#16202B; --muted:#5A6672;
  --accent:#C9437A; --accent-hover:#B23A6C; --accent-ink:#C23B72; --on-accent:#FFFFFF;
  --amber:#FFD34D; --amber-ink:#8A6200; --amber-soft:#FFF3C9; --pink-soft:#FFE3EE;
  --sky:#5FB8EE; --sky-2:#9ED6F7; --pk:#FF8FB8; --bl:#6CC4F5; --yl:#FFD34D; --li:#B9A2FF; --pi:#A3C26A;
  --pk-s:#FFE3EE; --bl-s:#DDF1FD; --yl-s:#FFF3C9; --li-s:#EEE7FF; --pi-s:#ECF4DD;
  --bloom:linear-gradient(135deg,#FFB3CF 0%,#FF8FB8 55%,#E8588F 100%);
  --shadow:0 2px 0 rgba(22,32,43,.04),0 14px 30px -18px rgba(22,32,43,.28);
  --display:"Bricolage Grotesque","Lexend",ui-sans-serif,system-ui,sans-serif;
  --r-sm:16px; --r:24px; --r-lg:32px;
}
:root[data-theme="dark"]{
  --bg:#101A33; --surface:#17244A; --card:#1B2A52; --line:#283A68; --line-2:#344A7E;
  --text:#F3F1FF; --muted:#B8C0DC;
  --accent:#FFD34D; --accent-hover:#FFE07A; --accent-ink:#FFB3CF; --on-accent:#16202B;
  --amber-soft:#2A2B4A; --pink-soft:#2C2752;
  --pk-s:#3A2747; --bl-s:#1E3556; --yl-s:#3A3425; --li-s:#2E2A5A; --pi-s:#24352B;
  --shadow:0 1px 0 rgba(255,255,255,.04),0 16px 34px -18px rgba(0,0,0,.7);
}
body{background:var(--bg)}
::selection{background:#FFD0E1;color:#16202B}
:focus-visible{outline-color:#E8588F}

/* títulos redondos e grossos */
h1,h2,h3,.brand__name,.ob h2,.sheet h2{font-family:var(--display);font-weight:700;letter-spacing:-.03em}
h1{font-size:clamp(2rem,6vw,2.7rem);line-height:1.02}
h2{font-size:1.3rem}
.eyebrow{display:inline-block;padding:.22rem .7rem;border-radius:999px;background:var(--pk);color:#fff;font-size:.8rem;letter-spacing:.01em}
:root[data-theme="dark"] .eyebrow{color:#16202B}

/* barra do topo: céu azul com a marca "tots" e o cérebro */
.bar{background:linear-gradient(180deg,#BFE4FA,#DDF1FD);border-bottom:0;box-shadow:0 8px 20px -16px rgba(20,70,120,.45)}
:root[data-theme="dark"] .bar{background:linear-gradient(180deg,#1B2A52,#17244A)}
.brand__logo--light{display:block!important;height:22px}
:root[data-theme="dark"] .brand__logo--light{display:none!important}
:root[data-theme="dark"] .brand__logo--dark{display:block!important;height:22px}
.brand__name{font-size:1.25rem;color:#16202B}
.brand__name::before{background:rgba(22,32,43,.25)}
:root[data-theme="dark"] .brand__name{color:#fff}
.brand__brain{display:none}
.bar .icon-btn,.bar .pause-btn{background:rgba(255,255,255,.92);color:#16202B;border:0}
.bar .ai-pill{background:rgba(255,255,255,.92);color:#16202B}

/* cartões e botões */
.card{border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.btn{font-weight:600}
.btn--bloom{background:var(--accent);color:var(--on-accent)}
.btn--quiet{color:var(--text);background:var(--card);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.btn--quiet:hover{background:var(--pk-s);box-shadow:inset 0 0 0 1.5px var(--pk)}
.input,textarea.input,input.input,select{border-radius:18px}

/* chips coloridos, um tom por vez, como os cartões do Moly */
.chip{border:0;font-weight:600;color:#16202B}
.chips .chip:nth-child(5n+1){background:var(--pk-s)}
.chips .chip:nth-child(5n+2){background:var(--bl-s)}
.chips .chip:nth-child(5n+3){background:var(--yl-s)}
.chips .chip:nth-child(5n+4){background:var(--li-s)}
.chips .chip:nth-child(5n+5){background:var(--pi-s)}
:root[data-theme="dark"] .chip{color:var(--text)}

/* herói de cada tela: o cérebro da área grande, pulando de leve */
.hero__flower,.hero .plush-hero{width:120px!important;height:120px!important;object-fit:contain;filter:drop-shadow(0 12px 16px rgba(22,32,43,.18));animation:plush-pop .7s cubic-bezier(.2,.9,.3,1.3) both, plush-bob 4s ease-in-out .7s infinite}
@keyframes plush-pop{from{transform:scale(.6) rotate(-8deg);opacity:0}to{transform:none;opacity:1}}
@keyframes plush-bob{50%{transform:translateY(-6px) rotate(-2deg)}}
.composer--hero{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:1rem}

/* cartões de hoje com cor por assunto */
.sx-today{background:var(--pk-s);border-color:transparent}
.card.deck{background:var(--bl-s);border-color:transparent}
.card.mood{background:var(--yl-s);border-color:transparent}
.grid2:not(.today) > .card:nth-child(1){background:var(--li-s);border-color:transparent}
.grid2:not(.today) > .card:nth-child(2){background:var(--pi-s);border-color:transparent}

/* conversa: avatar do cérebro, balões redondos */
.msg__av{width:36px!important;height:36px!important;object-fit:contain;border-radius:50%;background:var(--pk-s);padding:2px}
.msg--me .bubble,.msg--me .msg__body{background:var(--accent);color:var(--on-accent);border-radius:20px 20px 6px 20px}
.msg--tots .bubble,.msg--tots .msg__body{border-radius:20px 20px 20px 6px}

/* estados vazios e abertura */
.empty img{width:96px!important;height:96px!important;object-fit:contain;opacity:1}
.boot{background:linear-gradient(180deg,#BFE4FA,var(--bg))}
.boot img{width:150px!important;height:150px!important;object-fit:contain}
.ob__flower{width:110px!important;height:110px!important;object-fit:contain}

/* barra de baixo (celular): item ativo em pílula rosa */
.tabbar{background:var(--card);border-top:1px solid var(--line)}
.tabbar a[aria-current="page"],.tabbar a.is-active,.tabbar a.active{color:var(--text)}
.tabbar a[aria-current="page"] svg,.tabbar a.is-active svg,.tabbar a.active svg{background:var(--pk);color:#fff;border-radius:12px;padding:3px;width:32px;height:26px}
.tabbar a{font-weight:600}

/* menu lateral (computador) */
.side a[aria-current="page"],.side a.is-active,.side a.active{background:var(--pk-s);color:var(--text)}
.side .pause-link{background:var(--li-s);color:var(--text)}

@media (prefers-reduced-motion:reduce){.hero__flower,.hero .plush-hero{animation:none}}

/* cabeçalho das telas: o cérebro da área no canto (tots-plush.js põe a imagem) */
.page-head{position:relative;padding-inline-end:96px;min-height:96px}
.page-head .plush-corner{position:absolute;inset-inline-end:-6px;top:-8px;width:100px;height:100px;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(22,32,43,.18));animation:plush-pop .6s cubic-bezier(.2,.9,.3,1.3) both,plush-bob 4.5s ease-in-out .6s infinite}

/* abas de ferramentas (Plans, My Life): a escolhida fica escura e legível */
.chips--nav .chip[aria-current="page"]{background:var(--text)!important;color:var(--bg)!important}

/* Explore: cartões coloridos com um cérebro em cada */
.sx-tile{position:relative;overflow:hidden;border-radius:var(--r);color:#16202B;padding-inline-end:120px;box-shadow:var(--shadow)}
.sx-tile h2,.sx-tile h3{font-family:var(--display)}
.sx-tile::after{content:"";position:absolute;inset-inline-end:-8px;bottom:-14px;width:128px;height:128px;background:center/contain no-repeat;pointer-events:none;transition:transform .25s}
.sx-tile:hover::after{transform:rotate(-6deg) scale(1.05)}
.sx-tile--relax{background:var(--li)!important;color:#16202B!important}
.sx-tile--relax::after{background-image:url(/assets/img/brains/v2/nuvem-calm-400.webp);width:150px;height:150px}
.sx-tile--journey{background:var(--yl)!important}
.sx-tile--journey::after{background-image:url(/assets/img/brains/v2/faisca-prop-400.webp)}
.sx-tile--learn{background:var(--bl)!important}
.sx-tile--learn::after{background-image:url(/assets/img/brains/v2/zip-think-400.webp)}
.sx-tile--support{background:var(--pk)!important}
.sx-tile--support::after{background-image:url(/assets/img/brains/v2/nuvem-reach-400.webp)}

/* Relax: jogos em tons pastel do mundo de pelúcia */
.sx-game{border-radius:var(--r);color:#16202B;box-shadow:var(--shadow)}
.sx-game--sky{background:var(--bl-s)}.sx-game--fuel{background:var(--bl-s)}.sx-game--guard{background:var(--li-s)}
.sx-game--studio{background:var(--yl-s)}.sx-game--dash{background:var(--pi-s)}.sx-game--boost{background:var(--yl)}.sx-game--breath{background:var(--li-s)}
:root[data-theme="dark"] .sx-game{color:#16202B}

/* Shape scale (owner 27/11: "acho que tem arredondado demais … meio ou quadrado"). Research (REI Cedar, Maersk, Carta,
   Telerik, Android for Cars): few sizes, inner corners smaller than outer, more rounding only for more emphasis.
   So: cards 16, things inside cards 10, secondary buttons and chips 12; only primary buttons stay pills. */
:root:root{--r:16px;--r-sm:10px;--r-lg:22px}
.btn--quiet,a.btn--quiet,button.btn--quiet,.chip,.seg,.seg__btn,.pause-btn,.composer__row select.input,.tl-chip{border-radius:12px!important}
.tag,.ai-pill,.lh-stop__c,.mp__streak,.mp__private{border-radius:8px}
.btn--bloom,.btn--primary,.mp__save,.sx-games .sx-game__go{border-radius:999px}
.sx-mw__d,.mc__cell,.lh-g,.mc__p,.sx-game__art,.mp__c{border-radius:10px}
.lh-stop,.stage,.sx-games .sx-game,.sx-mt,.sx-tile{border-radius:16px}
.mp__foot{border-radius:14px}
.mp__foot .mp__save{border-radius:10px}
@media (min-width:640px){.mp{border-radius:22px}}
