@font-face { font-family: "Sora"; src: url("fonts/Sora.woff2") format("woff2"); font-weight: 100 800; font-display: block; }
/* =========================================================
   Volum — ilha (estilo Dynamic Island). Sempre preta, como a do iPhone.
   A janela é transparente; a pílula (.shape) é desenhada aqui, grudada no topo da tela, com
   "orelhas" (curvas) ligando ela à borda. Os tamanhos de cada estado precisam bater com o
   IslandForm.cs (ClosedW/H, TuckW/H, OpenW, Ear).
   ========================================================= */
:root {
  --black: #000;
  --text: #f5f5f7;
  --subtext: #9b9ba1;
  --soft: rgba(255, 255, 255, .1);
  --soft-hover: rgba(255, 255, 255, .18);
  --accent: #ffffff;   /* identidade do Volum: branco no lugar do laranja */
  --accent-2: #ffffff;
  --water: #38bdf8;
  --water-2: #0ea5e9;
  --battery: #34d058;
  --battery-low: #ff5a5f;
  --ear: 10px;
  --spring: cubic-bezier(.32, .72, 0, 1);   /* desacelera bem macio no fim (como a ilha do iPhone) */
  --anim: 480ms;                           /* igual ao AnimMs do IslandForm.cs */
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: transparent;
  color: var(--text);
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;   /* a mesma fonte do mixer */
  font-size: 13px;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }
button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ---------- Forma: tamanho de cada estado ---------- */
.island { --w: 250px; --h: 32px; --r: 16px; --ear-size: var(--ear); position: relative; height: 100%; }
.island.tucked { --w: 130px; --h: 6px; --r: 3px; --ear-size: 6px; }
.island.idle { --h: 54px; --r: 24px; }   /* ociosa: desce um pouco e o mascote fica maior (IdleH no IslandForm.cs) */
.island.open { --w: 440px; --h: var(--open-h, 156px); --r: 30px; }

.shape {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--w);
  height: var(--h);
  transform: translateX(-50%);
  border-radius: 0 0 var(--r) var(--r);
  background: var(--black);
  transition: width var(--anim) var(--spring), height var(--anim) var(--spring), border-radius var(--anim) var(--spring);
}
/* Orelhas: a pílula "escorre" da borda da tela, como um entalhe */
.shape::before, .shape::after {
  content: "";
  position: absolute;
  top: 0;
  width: var(--ear-size);
  height: var(--ear-size);
}
.shape::before { right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--ear-size) - .5px), var(--black) var(--ear-size)); }
.shape::after  { left: 100%;  background: radial-gradient(circle at 100% 100%, transparent calc(var(--ear-size) - .5px), var(--black) var(--ear-size)); }

/* ---------- Fechada ---------- */
.mini {
  position: absolute;
  top: 0;
  left: 50%;
  width: 250px;
  height: 32px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* hora sempre no meio, com ou sem a onda */
  align-items: center;
  padding: 0 14px 0 12px;
  transition: opacity .18s ease;
}
.island:not(.closed):not(.idle) .mini { opacity: 0; pointer-events: none; }
.mini-left { display: flex; align-items: center; min-width: 22px; }
.mini .wave { justify-self: end; }
.mini-cover { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
.clock { font-size: 14px; font-weight: 700; letter-spacing: .2px; font-variant-numeric: tabular-nums; }

/* Bateria: anel com a carga; com raio quando está carregando */
.battery { display: inline-grid; place-items: center; width: 20px; height: 20px; }
.battery[hidden] { display: none; }
.battery svg { width: 20px; height: 20px; }

/* Onda de áudio (anda com música tocando) */
.wave[hidden] { display: none; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.wave i { width: 2.5px; border-radius: 2px; background: var(--text); height: 30%; }
.wave i:nth-child(1) { height: 35%; } .wave i:nth-child(2) { height: 75%; } .wave i:nth-child(3) { height: 100%; }
.wave i:nth-child(4) { height: 60%; } .wave i:nth-child(5) { height: 40%; }
.wave.playing i { animation: wave 1.1s ease-in-out infinite; transform-origin: center; }
.wave.playing i:nth-child(2) { animation-delay: -.25s; } .wave.playing i:nth-child(3) { animation-delay: -.5s; }
.wave.playing i:nth-child(4) { animation-delay: -.75s; } .wave.playing i:nth-child(5) { animation-delay: -.4s; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* ---------- Aberta ---------- */
.full {
  position: absolute;
  top: 0;
  left: 50%;
  width: 440px;
  transform: translateX(-50%) scale(.97);
  transform-origin: 50% 0;
  padding: 8px 18px 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform var(--anim) var(--spring);
}
.island.open .full { opacity: 1; transform: translateX(-50%); pointer-events: auto; transition-delay: .06s; }

.status { position: relative; display: flex; align-items: center; justify-content: center; height: 20px; padding: 0 4px; }
.status .battery { position: absolute; left: 4px; }
.status .wave { position: absolute; right: 4px; }
.when { font-size: 12px; color: var(--subtext); }
.when b { color: var(--text); font-weight: 700; margin-left: 4px; font-variant-numeric: tabular-nums; }

.pages { position: relative; margin-top: 6px; }
.page { padding: 0 26px; }
.page[hidden] { display: none; }
.page-arrow {
  position: absolute;
  top: 14px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--subtext);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.page-arrow svg { width: 12px; height: 12px; }
.page-arrow:hover { background: var(--soft-hover); color: var(--text); }
.page-arrow.left { left: -6px; }
.page-arrow.right { right: -6px; }
.page-arrow[hidden] { display: none; }

/* Player */
.track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cover {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  background: #1c1c1e;
  color: var(--subtext);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover img:not([hidden]) + svg { display: none; }
.cover svg { width: 22px; height: 22px; }
.meta { display: grid; flex: 1; min-width: 0; }
.meta b, .meta span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.meta b { font-size: 15px; font-weight: 700; }
.meta span { margin-top: 1px; font-size: 12px; color: var(--subtext); }

.progress { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.progress[hidden] { display: none; }
.progress .bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--text); }

.controls { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, opacity .15s ease;
}
.controls button svg { width: 22px; height: 22px; }
.controls button:hover { background: var(--soft); }
.controls button:active { transform: scale(.9); }
.controls button:disabled { opacity: .3; pointer-events: none; }
.controls .side { color: var(--subtext); }
.controls .side svg { width: 19px; height: 19px; }
.controls .play svg { width: 26px; height: 26px; }
.play .i-pause, .play.playing .i-play { display: none; }
.play.playing .i-pause { display: block; }

/* Água */
.water { display: flex; align-items: center; gap: 14px; padding-top: 2px; }
.drop { flex: none; width: 34px; height: 34px; fill: var(--water); filter: drop-shadow(0 4px 12px rgba(56, 189, 248, .35)); }
.water-text { display: grid; flex: 1; gap: 3px; min-width: 0; }
.water-text b { font-size: 14px; }
.water-text span { font-size: 12.5px; color: var(--subtext); font-variant-numeric: tabular-nums; }
.water-bar { height: 5px; margin-top: 4px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.water-bar span { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--water-2), var(--water)); transition: width .5s var(--spring); }
.water-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.water-buttons button { height: 30px; border: 0; border-radius: 9px; font-weight: 600; cursor: pointer; }
.water-minus { width: 34px; background: var(--soft); font-size: 16px; }
.water-minus:disabled { opacity: .35; pointer-events: none; }
.water-add { padding: 0 14px; background: linear-gradient(135deg, var(--water), var(--water-2)); color: #fff; }
.water-buttons button:active { transform: scale(.95); }

/* ---------- Pomodoro ---------- */
/* Anel: o JS põe o quanto já passou (--from) e o tempo que falta (--left); o CSS enche sozinho até o fim,
   sem nada rodando a cada segundo. Pausado: fica parado onde está. */
.ring-bg { fill: none; stroke: var(--soft); }
.ring-fg {
  fill: none;
  stroke: var(--text);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
}
.break .ring-fg { stroke: var(--battery); }   /* pausa: verde */
.mini-ring { width: 20px; height: 20px; }
.mini-ring[hidden] { display: none; }
.mini-ring circle { stroke-width: 2.4; }

.focus { display: flex; align-items: center; gap: 14px; padding-top: 2px; }
.focus-ring { flex: none; width: 46px; height: 46px; }
.focus-ring circle { stroke-width: 3; }
.focus-text { display: grid; flex: 1; min-width: 0; }
.focus-text span { font-size: 12px; color: var(--subtext); }
.focus-text b { font-size: 22px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.focus-buttons { display: flex; align-items: center; gap: 8px; }
.focus-buttons button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, opacity .15s ease;
}
.focus-buttons button:active { transform: scale(.9); }
.focus-buttons button:disabled { opacity: .3; pointer-events: none; }
.focus-buttons .soft { background: var(--soft); color: var(--text); }
.focus-buttons .soft:hover { background: var(--soft-hover); }
.focus-buttons .soft svg { width: 15px; height: 15px; }
.focus-buttons .main { width: 40px; height: 40px; background: var(--text); color: #090909; }
.focus-buttons .main svg { width: 20px; height: 20px; }
.focus-buttons .i-pause, .focus-buttons .main.running .i-play { display: none; }
.focus-buttons .main.running .i-pause { display: block; }

/* ---------- Páginas empilhadas: a ilha aberta tem sempre a altura da maior ---------- */
.pages { display: grid; }
.pages > .page { grid-area: 1 / 1; }
.page.off { visibility: hidden; pointer-events: none; }

/* ---------- Mascote ---------- */
.mascot { display: block; overflow: visible; }
.mascot .m-face { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
/* Piscar: o olho vira um risquinho no meio */
.mascot .m-eye { transform-box: fill-box; transform-origin: center; animation: m-blink 4.6s ease-in-out infinite; }
.mascot .m-eyes { transform-box: fill-box; transform-origin: center; animation: m-look 11s ease-in-out infinite; }
/* Uma piscadinha e, mais adiante, duas seguidas */
@keyframes m-blink {
  0%, 44%, 50%, 88%, 94%, 100% { transform: scaleY(1); }
  47%, 91%, 97% { transform: scaleY(.08); }
}
/* Olha para os lados de vez em quando */
@keyframes m-look {
  0%, 30%, 100% { transform: translateX(0); }
  36%, 46% { transform: translateX(-14px); }
  54%, 64% { transform: translateX(14px); }
  70% { transform: translateX(0); }
}

/* Na ilha fechada (ociosa): entra com um pulinho e fica "respirando" */
.mini-mascot { display: inline-grid; place-items: center; width: 30px; height: 20px; }
.mini-mascot[hidden] { display: none; }
.mini-mascot .mascot { width: 28px; height: 18px; animation: m-pop .55s var(--spring) both, m-breathe 3.2s ease-in-out .6s infinite; }
@keyframes m-pop { from { opacity: 0; transform: translateY(8px) scale(.4); } }
@keyframes m-breathe { 50% { transform: translateY(-1px) scale(1.04); } }

/* Olhinhos: alterna sozinho entre os olhos normais (piscando) e a carinha feliz em arquinho (^ ^).
   Começa feliz (logo depois do "bom dia" e ao aparecer), volta ao normal, e de tempos em tempos sorri de novo. */
.mascot .m-happy path { fill: none; stroke: #0c3f73; stroke-width: 24; stroke-linecap: round; }
.mascot .m-happy { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: m-happy 16s ease-in-out infinite; }
.mascot .m-normal { animation: m-normal 16s ease-in-out infinite; }
@keyframes m-happy {
  0%, 16% { opacity: 1; transform: translateY(0); }
  4% { transform: translateY(-14px); }     /* pulinho de alegria */
  8% { transform: translateY(0); }
  20%, 58% { opacity: 0; }
  62%, 74% { opacity: 1; transform: translateY(0); }
  67% { transform: translateY(-10px); }
  78%, 100% { opacity: 0; }
}
@keyframes m-normal {
  0%, 16% { opacity: 0; }
  20%, 58% { opacity: 1; }
  62%, 74% { opacity: 0; }
  78%, 100% { opacity: 1; }
}

/* "Bom dia" (PC ligou): só a frase, no meio da ilha, entrando suave */
.island.alerting.greeting { --w: 250px; --h: 54px; --r: 24px; }   /* mesmo tamanho da ilha ociosa (o mascote entra sem a ilha mudar) */
.noticebar[data-kind="greet"] { justify-content: center; width: 250px; height: 54px; padding: 0 14px; }
.noticebar[data-kind="greet"] .notice-icon,
.noticebar[data-kind="greet"] .notice-close,
.noticebar[data-kind="greet"] .notice-text span { display: none; }
.noticebar[data-kind="greet"] .notice-text { flex: none; justify-content: center; }
.noticebar[data-kind="greet"] .notice-text b { font-size: 14px; letter-spacing: .3px; animation: greet-in .9s var(--spring) both; }
@keyframes greet-in { from { opacity: 0; transform: translateY(6px); letter-spacing: 2px; filter: blur(3px); } }
/* Ociosa (e logo depois do "bom dia"): só o mascote, maior e no meio; a hora e o resto somem */
.mini { transition: opacity .18s ease, height var(--anim) var(--spring); }
.island.idle .mini { height: 54px; grid-template-columns: 1fr; justify-items: center; padding: 0; }
.island.idle .clock, .island.idle .mini .wave, .island.idle .mini-left > :not(.mini-mascot) { display: none; }
.island.idle .mini-left { justify-content: center; }
.island.idle .mini-mascot { width: 56px; height: 36px; }
.island.idle .mini-mascot .mascot { width: 54px; height: 34px; }
/* Bolinhas das páginas */
.dots { display: flex; justify-content: center; gap: 5px; height: 5px; margin-top: 8px; }
.dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: width .25s var(--spring), background .25s ease; cursor: pointer; }
.dots i.on { width: 16px; background: var(--text); }
.dots:empty { display: none; }

/* ---------- Aviso do Volum: peças da faixa fina (.noticebar) ---------- */
.notice-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #1c1c1e; }
.notice-icon svg { width: 24px; height: 24px; }
.notice-text { display: grid; flex: 1; min-width: 0; }
.notice-text b { font-size: 14px; font-weight: 700; }
.notice-text span { margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--subtext); }
.notice-action {
  flex: none;
  padding: 7px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #090909;
  font-weight: 600;
  cursor: pointer;
}
.notice-action[hidden] { display: none; }
.notice-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--subtext);
  cursor: pointer;
}
.notice-close:hover { background: var(--soft-hover); color: var(--text); }
.notice-close svg { width: 12px; height: 12px; }

/* Modo leve e "menos movimento" no Windows: sem animações */
.lite *, .lite *::before, .lite *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Faixa de aviso (substitui o quadrado grande: discreta, da altura da ilha) ---------- */
.island.alerting { --w: 400px; --h: 36px; --r: 18px; }
.noticebar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 400px;
  height: 36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 14px;
  inset: 0 auto auto 50%;
  bottom: auto;
  right: auto;
  background: transparent;
}
.island:not(.alerting) .noticebar { display: none; }
.noticebar .notice-icon { width: 20px; height: 20px; border-radius: 0; background: none; }
.noticebar .notice-icon svg { width: 18px; height: 18px; }
.noticebar .notice-text { display: flex; gap: 6px; align-items: baseline; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.noticebar .notice-text b { font-size: 12.5px; }
.noticebar .notice-text span { margin: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.noticebar .notice-action { padding: 4px 10px; border-radius: 12px; font-size: 12px; background: #fff; color: #090909; }
[data-kind="drop"] .noticebar .notice-action, .noticebar[data-kind="drop"] .notice-action { background: linear-gradient(135deg, var(--water), var(--water-2)); color: #fff; }   /* azul só na água */
.noticebar .notice-close { width: 22px; height: 22px; }
.island.alerting .mini, .island.alerting .full { opacity: 0; pointer-events: none; }

/* ---------- Transições suaves ----------
   A forma cresce/encolhe devagar e macia; o conteúdo que sai some rápido (antes de a forma mudar)
   e o que entra aparece só depois que a ilha já abriu espaço, desfocado → nítido. Assim nada "pula". */
.shape { will-change: width, height; }

.mini { transition: opacity .12s ease, filter .12s ease, height var(--anim) var(--spring); }
.island.closed .mini, .island.idle .mini { transition: opacity .3s ease .18s, filter .3s ease .18s, height var(--anim) var(--spring); }
.island:not(.closed):not(.idle) .mini { filter: blur(3px); }

.full { filter: blur(4px); transform: translateX(-50%) translateY(-6px) scale(.96);
  transition: opacity .12s ease, filter .12s ease, transform .2s ease; }
.island.open .full { filter: none; transform: translateX(-50%);
  transition: opacity .3s ease .16s, filter .3s ease .16s, transform var(--anim) var(--spring) .06s; }

/* A faixa de aviso é centralizada com translateX(-50%): a animação de entrada precisa manter isso,
   senão ela termina dando um pulo para o lado */
.noticebar { animation: notice-in .45s var(--spring) .14s both; }
@keyframes notice-in { from { opacity: 0; transform: translateX(-50%) translateY(-4px); filter: blur(4px); } }

/* ---------- Pixel art (estilo 16 bits): mascote e cena de levantar ----------
   Os desenhos vêm do island.js (mapas de pixels). Tudo anda por quadros inteiros (step-end),
   sem suavizar nada, como nos jogos antigos. */
/* Animações do mascote: mascot.css (o mixer usa o mesmo) */
.mini-mascot .mascot.px { animation: m-pop .4s steps(3) both; }   /* entra em 3 quadros, sem "respirar" suave */
.island.idle .mini-mascot .mascot.px { width: 48px; height: 33px; }

/* Cena de levantar: o island.js toca os quadros (roteiro WALK_SCRIPT, ~9,7 s): digita sentado → levanta →
   espreguiça → anda devagar até o sol → curte o sol. No fim a cena some e entram o texto e o botão. */
.island.alerting.walking { --h: 54px; --r: 24px; }
.noticebar[data-kind="walk"] { height: 54px; padding-left: 16px; }
.walk-scene { display: none; position: absolute; inset: 0; width: 400px; height: 54px; pointer-events: none; }
.noticebar[data-kind="walk"] .walk-scene { display: block; overflow: hidden; transition: opacity .5s ease; }
.noticebar[data-kind="walk"].scene-done .walk-scene { opacity: 0; }
.noticebar[data-kind="walk"] > :not(.walk-scene):not(.notice-close) { opacity: 0; transform: translateY(3px); transition: opacity .45s ease .25s, transform .45s ease .25s; }
.noticebar[data-kind="walk"].scene-done > :not(.walk-scene):not(.notice-close) { opacity: 1; transform: none; }

/* ---------- Indicadores rápidos (Caps Lock, Num Lock, volume, microfone): faixa estreita, 1,6 s ---------- */
.island.alerting.osd { --w: 250px; --h: 36px; --r: 18px; }
.noticebar[data-kind="osd"] { width: 250px; padding: 0 16px; gap: 10px; }
.noticebar[data-kind="osd"] .notice-close, .noticebar[data-kind="osd"] .notice-action { display: none; }
.noticebar[data-kind="osd"] .notice-text { flex: none; }
.noticebar[data-kind="osd"] .notice-text span { color: var(--text); font-variant-numeric: tabular-nums; }
.osd-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--soft); overflow: hidden; }
.osd-bar[hidden] { display: none; }
.osd-bar i { display: block; height: 100%; border-radius: 2px; background: var(--text); transition: width .12s ease; }

/* ---------- Transições fluidas: mola de verdade ----------
   A forma cresce passando um pouquinho do tamanho e volta (--bounce, ~5% a mais na largura); a altura usa
   uma mola quase sem sobra (--soft-spring), porque a janela tem a altura exata da ilha e cortaria o excesso.
   As curvas são de uma mola amortecida calculada (linear() com os pontos). AnimMs no IslandForm.cs = --anim + folga. */
:root {
  --anim: 540ms;
  --bounce: linear(0, 0.0234, 0.0839, 0.169, 0.2683, 0.3737, 0.4788, 0.5791, 0.6714, 0.7537, 0.825, 0.8851, 0.9342, 0.9732, 1.0031, 1.0248, 1.0396, 1.0487, 1.0533, 1.0542, 1.0525, 1.0489, 1.0441, 1.0386, 1.0329, 1.0272, 1.0219, 1.0169, 1.0126, 1.0088, 1.0057, 1.0031, 1.0011, 0.9996, 0.9985, 0.9977, 1);
  --soft-spring: linear(0, 0.0388, 0.1306, 0.2475, 0.3711, 0.4897, 0.597, 0.6898, 0.7674, 0.8303, 0.88, 0.9182, 0.9469, 0.9678, 0.9825, 0.9926, 0.9991, 1.0031, 1.0052, 1.0062, 1.0063, 1.0059, 1.0052, 1.0045, 1.0037, 1.003, 1.0023, 1.0018, 1);
}
.shape { transition: width var(--anim) var(--bounce), height var(--anim) var(--soft-spring), border-radius var(--anim) var(--soft-spring); }

/* O conteúdo nasce de dentro da forma: pequeno e desfocado → tamanho certo, com a mesma mola */
.island.open .full { transition: opacity .28s ease .12s, filter .3s ease .12s, transform var(--anim) var(--bounce) .04s; }
.full { transform: translateX(-50%) translateY(-10px) scale(.9); }
.mini { transform: translateX(-50%) scale(.92); }
.island.closed .mini, .island.idle .mini { transform: translateX(-50%); transition: opacity .3s ease .18s, filter .3s ease .18s, transform var(--anim) var(--bounce) .1s, height var(--anim) var(--soft-spring); }
.noticebar { animation: notice-in .5s var(--bounce) .12s both; }
@keyframes notice-in { from { opacity: 0; transform: translateX(-50%) scale(.9); filter: blur(4px); } }

/* Apertar e segurar (abre o mixer): a ilha "afunda" um pouquinho enquanto segura */
.island { transform-origin: 50% 0; transition: transform .3s var(--soft-spring); }
.island.pressing { transform: scale(.965); transition-duration: .55s; }

/* Trocar de página: a nova entra deslizando do lado certo; arrastar puxa a página junto com o mouse */
.page { transition: transform .3s cubic-bezier(.2, .8, .3, 1); }   /* volta do arrastar sem passar do ponto (sem "pulinho") */
.page.dragging { transition: none; }
.page.enter-next { animation: page-next .42s var(--soft-spring) both; }
.page.enter-prev { animation: page-prev .42s var(--soft-spring) both; }
@keyframes page-next { from { opacity: 0; transform: translateX(28px); filter: blur(4px); } }
@keyframes page-prev { from { opacity: 0; transform: translateX(-28px); filter: blur(4px); } }
/* Música nova: capa e nome entram de novo */
.track.swap { animation: track-swap .45s var(--soft-spring) both; }
@keyframes track-swap { from { opacity: 0; transform: translateY(6px) scale(.97); filter: blur(4px); } }

/* Volume pela rodinha: aparece no lugar da data por um instante */
.when-vol { position: absolute; left: 50%; display: flex; align-items: center; gap: 8px; width: 180px; transform: translateX(-50%) scale(.9);
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .35s var(--bounce); }
.when-vol svg { width: 16px; height: 16px; flex: none; }
.when-vol .osd-bar { flex: 1; }
.when-vol b { width: 34px; font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.when { transition: opacity .18s ease; }
.status.showing-vol .when { opacity: 0; }
.status.showing-vol .when-vol { opacity: 1; transform: translateX(-50%); }

/* ---------- Ilha flutuante (Configurações → Ilha → Formato) ----------
   Pílula solta, arredondada por inteiro, um pouco abaixo da borda de cima (o C# desce a janela FloatGap px).
   Sem as orelhas; um contorno bem fraco para não sumir em papéis de parede escuros. */
.floating .shape { border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.floating .shape::before, .floating .shape::after { display: none; }

/* ---------- Forma desenhada em SVG + mola física (substitui as transições de largura/altura acima) ----------
   O island.js lê o tamanho-alvo de cada estado (--w, --h, --r, --ear-size) e anima com uma mola de verdade
   (rígida e pouco elástica, como no Alcove: chega em ~250 ms, passa ~2%), só enquanto a ilha se mexe.
   Cantos contínuos (squircle) e as orelhas do formato grudado vão no mesmo caminho. */
.shape { background: none; border-radius: 0; transition: none; overflow: visible; }
.shape::before, .shape::after { display: none; }
.floating .shape { box-shadow: none; }
.shape-svg { position: absolute; top: 0; left: 0; overflow: visible; }
.shape-svg path { fill: var(--black); }
.floating .shape-svg path { stroke: rgba(255, 255, 255, .1); stroke-width: 1; }

/* Conteúdo acompanhando a mola: entra rápido logo depois de a forma abrir espaço */
.island.open .full { transition: opacity .2s ease .07s, filter .22s ease .07s, transform .42s var(--soft-spring) .03s; }
.full { transform: translateX(-50%) translateY(-6px) scale(.94); }
.island.closed .mini, .island.idle .mini { transition: opacity .22s ease .1s, filter .22s ease .1s, transform .42s var(--soft-spring) .06s, height var(--anim) var(--soft-spring); }

/* Indicador de música (teclas de mídia): "Tocando · nome da música"; o nome corta com "…" dentro da pílula */
.noticebar[data-kind="osd"]:has(.osd-bar[hidden]) .notice-text { flex: 1 1 auto; min-width: 0; }

/* ---------- Proporções do Alcove (07/11/2026, pedido do Esdras) ----------
   Em vez da pílula toda redonda: um retângulo de cantos arredondados (raio 12, contínuos) e um pouco mais alto.
   Fechada e avisos com 40 de altura (ClosedH e NoticeH no IslandForm.cs). */
.island { --h: 40px; --r: 12px; }
.island.idle { --h: 54px; --r: 16px; }
.island.open { --r: 24px; }
.island.alerting, .island.alerting.osd { --h: 40px; --r: 12px; }
.island.alerting.greeting, .island.alerting.walking { --h: 54px; --r: 16px; }
.mini { height: 40px; padding: 0 14px; }
.mini-cover { width: 24px; height: 24px; border-radius: 7px; }
.mini-ring, .battery, .battery svg { width: 22px; height: 22px; }
.clock { font-size: 14.5px; }
.noticebar { height: 40px; }
.noticebar[data-kind="greet"], .noticebar[data-kind="walk"] { height: 54px; }

/* ---------- Fase 3: atividades ao vivo ---------- */
/* Direita da ilha fechada: pontinhos de microfone/câmera + onda */
.mini-right { justify-self: end; display: flex; align-items: center; gap: 7px; }
.island.idle .mini-right { display: none; }
/* Pontinhos (como no iPhone): laranja = microfone, verde = câmera */
.privacy { display: inline-flex; gap: 4px; align-items: center; }
.privacy[hidden] { display: none; }
.privacy i { width: 6px; height: 6px; border-radius: 50%; display: none; }
.privacy.mic .mic { display: block; background: #ff9f0a; box-shadow: 0 0 6px rgba(255, 159, 10, .7); }
.privacy.cam .cam { display: block; background: #30d158; box-shadow: 0 0 6px rgba(48, 209, 88, .7); }
.status .privacy { position: absolute; right: 34px; }

/* Cor da música: tirada da capa (o JS põe --tint); a onda e a barra de progresso usam ela */
.island { --tint: var(--text); }
.wave i { background: var(--tint); transition: background .6s ease; }
.progress .bar span { background: var(--tint); transition: background .6s ease; }
.mini-cover, .cover { box-shadow: 0 0 0 0 transparent; transition: box-shadow .6s ease; }
.island.tinted .cover { box-shadow: 0 6px 22px -6px var(--tint); }

/* Onda ao vivo: o JS mexe cada barrinha pelo nível do som (sem a animação de sempre) */
.wave.live i { animation: none !important; transition: none; transform-origin: center; will-change: transform; }   /* o JS anda quadro a quadro (suave) */

/* Faixa de atividade (carregador, fone, microfone/câmera em uso): como o indicador, um pouco mais larga (ActW no C#) */
.island.alerting.act { --w: 320px; --h: 40px; --r: 12px; }
.noticebar[data-kind="act"] { width: 320px; padding: 0 16px; gap: 10px; }
.noticebar[data-kind="act"] .notice-close, .noticebar[data-kind="act"] .notice-action { display: none; }
.noticebar[data-kind="act"] .notice-text { flex: 1 1 auto; min-width: 0; }
.noticebar[data-kind="act"] .notice-text span { color: var(--text); }
.noticebar[data-kind="act"] .osd-bar { flex: 0 0 64px; }
.noticebar[data-kind="act"] .osd-bar i { background: var(--battery); }

/* ---------- Fase 4: notificações dos apps (ícone do app) ---------- */
.notice-icon img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }

/* ---------- Agenda (página na ilha aberta) ---------- */
.agenda { display: grid; gap: 6px; padding-top: 2px; }
.agenda-head { font-size: 12px; color: var(--subtext); font-weight: 600; }
.agenda-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.agenda-list li { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.agenda-when { flex: none; width: 74px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--subtext); }
.agenda-title { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.agenda-list li.now .agenda-when { color: #30d158; font-weight: 700; }
.agenda-empty { font-size: 13px; color: var(--subtext); }

/* ---------- Barra do tempo que dá para arrastar (players que deixam mudar o ponto da música) ----------
   A área de clique é mais alta que o traço (14 px); o traço engrossa ao passar o mouse e ganha uma bolinha. */
.progress .bar.seekable {
  --track: 4px;
  height: 14px;
  display: flex;
  align-items: center;
  overflow: visible;
  border-radius: 0;
  cursor: pointer;
  touch-action: none;
  background: linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25)) center / 100% var(--track) no-repeat;
  transition: --track .15s ease;
}
.progress .bar.seekable span { position: relative; height: var(--track); flex: none; }
.progress .bar.seekable:hover, .progress .bar.seekable.seeking { --track: 6px; }
.progress .bar.seekable span::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, .5);
  transform: scale(0);
  transition: transform .15s ease;
}
.progress .bar.seekable:hover span::after, .progress .bar.seekable.seeking span::after { transform: scale(1); }
.progress .bar.seeking span { transition: none; }
@property --track { syntax: "<length>"; inherits: true; initial-value: 4px; }

/* ---------- Página do clima ----------
   Em cima: cidade e temperatura grande à esquerda; ícone, condição e máx./mín. à direita.
   Embaixo: as próximas 5 horas (hora, ícone, temperatura). Mesmo traço dos outros ícones. */
.wx { display: grid; gap: 10px; padding-top: 2px; }
.wx-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.wx-main { display: grid; min-width: 0; }
.wx-place { font-size: 12px; font-weight: 600; color: var(--subtext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-temp { font-size: 38px; font-weight: 300; line-height: 1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.wx-side { display: grid; justify-items: end; gap: 2px; text-align: right; min-width: 0; }
.wx-icon .wx-svg { width: 22px; height: 22px; }
.wx-cond { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.wx-range { font-size: 11.5px; color: var(--subtext); white-space: pre; font-variant-numeric: tabular-nums; }
.wx-hours { list-style: none; margin: 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .08); }
.wx-hours li { display: grid; justify-items: center; gap: 3px; }
.wx-hour { font-size: 11px; color: var(--subtext); font-variant-numeric: tabular-nums; }
.wx-hicon .wx-svg { width: 18px; height: 18px; }
.wx-htemp { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wx-svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Compacta: a página do clima não pode passar da altura do player (senão a ilha aberta cresce em todas as páginas) */
.wx { gap: 6px; padding-top: 0; }
.wx-temp { font-size: 30px; }
.wx-side { grid-template-columns: auto auto; align-items: center; column-gap: 6px; row-gap: 1px; }
.wx-side .wx-range { grid-column: 1 / -1; }
.wx-icon .wx-svg { width: 18px; height: 18px; }
.wx-hours { padding-top: 6px; }
.wx-hours li { gap: 1px; }
.wx-hicon .wx-svg { width: 16px; height: 16px; }

/* ---------- Clima na ilha fechada: ícone + temperatura, à direita (antes da onda) ---------- */
.mini-wx { display: inline-flex; align-items: center; gap: 4px; color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.mini-wx[hidden] { display: none; }
.mini-wx b { font-weight: 600; letter-spacing: -.2px; }
.mini-wx-icon .wx-svg { width: 16px; height: 16px; }
.island.idle .mini-wx { display: none; }

/* Setas sempre por cima das páginas: a página que desliza (transform) ficava por cima da seta esquerda e engolia o clique */
.page-arrow { z-index: 3; }

/* ---------- Ilha embaixo (Configurações → Ilha → Posição: Embaixo) ----------
   Fica acima da barra de tarefas, sempre no formato flutuante, e cresce para CIMA: forma, ilha fechada, ilha aberta
   e faixa de aviso ficam presas pela borda de baixo (o WebView também, pelo C#). */
html.at-bottom .shape,
html.at-bottom .mini,
html.at-bottom .full,
html.at-bottom .noticebar { top: auto; bottom: 0; }
html.at-bottom .island { transform-origin: 50% 100%; }
html.at-bottom .full { transform-origin: 50% 100%; transform: translateX(-50%) translateY(10px) scale(.9); }
html.at-bottom .island.open .full { transform: translateX(-50%); }

/* =========================================================
   Visual novo da ilha (Figma do Esdras, 10/11/2026)
   Maior que antes, para os elementos respirarem. Os tamanhos batem com o IslandForm.cs (ClosedW 270, ClosedH 50,
   IdleH 58, OpenW 400, NoticeW 400, NoticeH 50, ActW 330, BubbleW 50, BubbleGap 8). Ícones cheios (estilo
   SF Symbols), textos de apoio em #9A9A9A, trilhos #3F3F3F a 70% com o preenchimento branco a 80%.
   ========================================================= */
:root { --subtext: #9a9a9a; --rail: rgba(63, 63, 63, .7); --rail-fill: rgba(255, 255, 255, .8); }
.island { --w: 270px; --h: 50px; --r: 16px; --tint: var(--rail-fill); }
.island.idle { --h: 58px; --r: 18px; }
.island.open { --w: 400px; --r: 22px; }
.island.alerting, .island.alerting.osd { --h: 50px; --r: 16px; }
.island.alerting.osd, .island.alerting.greeting { --w: 270px; }
.island.alerting.greeting, .island.alerting.walking { --h: 58px; --r: 18px; }
.island.alerting.act { --w: 330px; --h: 50px; --r: 16px; }

/* ---------- Fechada: capa (ou carga) | hora | clima e onda ---------- */
.mini { width: 270px; height: 50px; padding: 0 16px; }
.island.idle .mini { height: 58px; }
.mini-cover { width: 26px; height: 26px; border-radius: 6px; }
.mini-ring { display: none !important; }
.battery, .battery svg { width: 24px; height: 24px; }
.clock { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.mini-right { gap: 8px; }
.mini-wx { gap: 5px; font-size: 13px; }
.mini-wx b { font-weight: 600; }
.mini-wx-icon .wx-svg { width: 22px; height: 22px; }
/* Com a onda na tela (música tocando), o clima fica só no ícone, como no Figma: a hora continua no meio */
.mini-right:has(.wave:not([hidden])) .mini-wx b { display: none; }

/* Onda: 6 barrinhas cheias e arredondadas (waveform do Figma) */
.wave { height: 20px; gap: 2.4px; }
.wave i { width: 3px; border-radius: 3px; }
.wave i:nth-child(1) { height: 24%; } .wave i:nth-child(2) { height: 62%; } .wave i:nth-child(3) { height: 100%; }
.wave i:nth-child(4) { height: 50%; } .wave i:nth-child(5) { height: 79%; } .wave i:nth-child(6) { height: 30%; }
.wave.playing i:nth-child(6) { animation-delay: -.6s; }

/* ---------- Aberta ---------- */
.full { width: 400px; padding: 16px 16px 12px; }
/* Sem a linha de data em cima (a hora já está na ilha fechada): a faixa fica por cima, só para o volume da rodinha
   e os pontinhos de microfone/câmera */
.status { position: absolute; top: 4px; left: 0; right: 0; height: 22px; padding: 0; z-index: 4; pointer-events: none; }
.status .battery, .status .when { display: none; }
.status .when-vol { padding: 4px 12px; border-radius: 12px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.status .privacy { position: absolute; top: 4px; right: 16px; }
.pages { margin-top: 0; }
.pages > .page { align-self: center; }   /* páginas mais baixas que o player ficam no meio, não grudadas em cima */
.page { padding: 0 22px; }
.page-arrow { top: 50%; margin-top: -11px; }   /* setas no meio da altura das páginas */

/* Player: capa 53, nome 16 semibold, artista 14 cinza, onda à direita */
.track { gap: 12px; }
.cover { width: 53px; height: 53px; border-radius: 8px; }
.meta b { font-size: 16px; font-weight: 600; line-height: 18px; letter-spacing: -.4px; }
.meta span { margin-top: 2px; font-size: 14px; line-height: 18px; color: var(--subtext); }
.track .wave { flex: none; height: 24px; margin-left: 6px; }
.progress { gap: 9px; margin-top: 12px; font-size: 12px; color: var(--subtext); letter-spacing: -.4px; }
.progress .bar { height: 6.5px; border-radius: 8px; background: var(--rail); }
.progress .bar span { border-radius: 8px; }
.progress .bar.seekable { --track: 6.5px; background: linear-gradient(var(--rail), var(--rail)) center / 100% var(--track) no-repeat; }
.progress .bar.seekable:hover, .progress .bar.seekable.seeking { --track: 8px; }
.controls { margin-top: 8px; }
.controls button { width: 44px; height: 44px; border-radius: 12px; }
.controls button .i-skip { width: 30px; height: 17px; }
.controls .play svg { width: 26px; height: 26px; }
.controls .side { color: var(--text); }
.controls .side svg { width: 26px; height: 26px; }
.controls .side.gone { display: none; }
.controls .side[hidden] { display: grid; visibility: hidden; }   /* espaço vazio: os botões do meio não saem do centro */

/* Água: garrafinha, "Água hoje", quanto já bebeu, barra inteira e os botões − / + embaixo à direita */
.water { gap: 14px; padding-top: 0; }
.bottle { flex: none; width: 22px; height: 44px; margin: 0 4px; fill: #fff; }
.bottle .bottle-drop { fill: #000; }
.water-text { gap: 2px; }
.water-text b { font-size: 16px; font-weight: 600; letter-spacing: -.4px; }
.water-text span { font-size: 14px; color: var(--subtext); }
.water-bar { height: 6.5px; margin-top: 12px; border-radius: 8px; background: var(--rail); }
.water-bar span { border-radius: 8px; background: var(--rail-fill); }
.water-buttons { gap: 7px; margin-top: 10px; }
.water-buttons button { height: 28px; border-radius: 7px; font-size: 15px; font-weight: 600; letter-spacing: -.25px; }
.water-minus { width: 28px; padding: 0; background: #2c2c2c; color: #40e816; }
.water-add { padding: 0 10px; background: #00b3ff; color: #fff; }

/* Pomodoro e anéis: trilho cinza do Figma */
.ring-bg { stroke: rgba(135, 135, 135, .55); }
.focus-text span { color: var(--subtext); }
.focus-text b { font-size: 24px; }

/* Clima: ícone grande cheio */
.wx-icon .wx-svg.wx-fill { width: 24px; height: 24px; }

/* Bolinhas das páginas: uma faixa um pouco mais alta (o chip do Pomodoro mora nela) */
.dots { height: 22px; margin-top: 10px; align-items: center; }
.island.pomo-on .dots:empty { display: flex; }

/* ---------- Pomodoro: bolha ao lado da ilha fechada ----------
   Aparece à direita (8 px de vão). Quando a ilha abre, ela desliza para dentro, encolhe e some no lugar do chip
   (anel + tempo, embaixo à direita), que aparece logo depois. Fechando, ela sai de novo para o lado. */
.pomo-bubble {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: 143px;   /* metade da ilha fechada (135) + vão (8) */
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #000;
  opacity: 0;
  transform: translateX(-24px) scale(.5);
  pointer-events: none;
  transition: transform .45s var(--soft-spring), opacity .2s ease, border-radius .3s ease;
}
html:not(.floating) .pomo-bubble { border-radius: 0 0 16px 16px; }
.floating .pomo-bubble { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.bubble-ring { position: absolute; width: 34px; height: 34px; }
.bubble-ring circle { stroke-width: 3; }
.bubble-clock { width: 17px; height: 17px; }
.pomo-bubble.break .ring-fg, .pomo-chip.break .ring-fg { stroke: var(--battery); }
/* Ilha fechada ou ociosa com o Pomodoro rodando: a bolha sai de trás da ilha com uma molinha */
.island.pomo-on.closed .pomo-bubble, .island.pomo-on.idle .pomo-bubble {
  opacity: 1;
  transform: none;
  transition: transform .6s var(--bounce) .12s, opacity .25s ease .12s, border-radius .3s ease;
}
/* Abrindo: entra na ilha e vira o chip (embaixo à direita) */
.island.pomo-on.open .pomo-bubble {
  opacity: 0;
  border-radius: 50%;
  transform: translate(-40px, calc(var(--open-h, 160px) - 48px)) scale(.42);
  transition: transform .5s var(--soft-spring), opacity .16s ease .3s, border-radius .3s ease;
}
html.at-bottom .pomo-bubble { top: auto; bottom: 0; }
html.at-bottom .island.pomo-on.open .pomo-bubble { transform: translate(-40px, -2px) scale(.42); }

.pomo-chip {
  position: absolute;
  right: 18px;
  bottom: 12px;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.pomo-chip svg { width: 20px; height: 20px; }
.pomo-chip circle { stroke-width: 2.4; }
.island.pomo-on.open .pomo-chip { opacity: 1; transition: opacity .3s ease .38s; }

/* ---------- Avisos: faixa de 50 px ---------- */
.noticebar { width: 400px; height: 50px; padding: 0 10px 0 18px; gap: 10px; }
.noticebar .notice-icon { width: 24px; height: 24px; }
.noticebar .notice-icon svg { width: 22px; height: 22px; }
.noticebar .notice-text b { font-size: 13.5px; }
.noticebar .notice-text span { font-size: 13px; }
.noticebar .notice-action { padding: 6px 12px; border-radius: 9px; font-size: 13px; }
.noticebar .notice-close { width: 24px; height: 24px; }
.noticebar[data-kind="greet"], .noticebar[data-kind="walk"] { height: 58px; }
.noticebar[data-kind="greet"] { width: 270px; }
.noticebar[data-kind="walk"] .walk-scene { top: 2px; }
.noticebar[data-kind="osd"] { width: 270px; }
.noticebar[data-kind="act"] { width: 330px; }

/* Notificação de outro app: ícone redondo, nome do app pequeno em cinza e, embaixo, quem mandou e a mensagem */
.noticebar[data-kind="app"] { padding-left: 10px; }
.noticebar[data-kind="app"] .notice-icon { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: #1c1c1e; }
.noticebar[data-kind="app"] .notice-icon img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.noticebar[data-kind="app"] .notice-text { display: grid; gap: 4px; align-items: start; }
.noticebar[data-kind="app"] .notice-text b { font-size: 10.5px; font-weight: 400; line-height: 1; color: #a4a4a9; }
.noticebar[data-kind="app"] .notice-text span { font-size: 13px; line-height: 1.1; color: var(--text); white-space: nowrap; }

/* ---------- Ajustes do Esdras (10/11/2026) ---------- */
/* Fechada, à esquerda: capa e, ao lado, a bateria (só notebook): raio no meio e a borda verde que diminui */
.mini-left { gap: 8px; }
/* Água: o "−" branco e em negrito */
.water-minus { color: #fff; font-weight: 700; }

/* Todas as páginas no padrão do player (Figma): em cima um "cabeçalho" com a arte de 53 px à esquerda, título 16
   semibold e texto de apoio 14 cinza; embaixo o conteúdo ou os botões */

/* Foco: anel com o relógio no lugar da capa, fase e ciclo, tempo grande à direita; botões como os do player */
.focus { display: grid; gap: 8px; padding-top: 0; }
.focus-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.focus-art { position: relative; flex: none; display: grid; place-items: center; width: 53px; height: 53px; }
.focus-art .focus-ring { position: absolute; inset: 0; width: 53px; height: 53px; }
.focus-art .focus-ring circle { stroke-width: 3.2; }
.focus-clock { width: 24px; height: 24px; }
.focus-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.focus-text b { font-size: 16px; font-weight: 600; line-height: 18px; letter-spacing: -.4px; }
.focus-text span { font-size: 14px; line-height: 18px; color: var(--subtext); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.focus-time { flex: none; font-size: 26px; font-weight: 600; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.focus-buttons { justify-content: center; gap: 36px; }
.focus-buttons button, .focus-buttons .main { width: 44px; height: 44px; border-radius: 12px; background: transparent; color: var(--text); }
.focus-buttons button:hover, .focus-buttons .soft:hover { background: var(--soft); }
.focus-buttons .soft { background: transparent; }
.focus-buttons .soft svg { width: 22px; height: 22px; }
.focus-buttons .main svg { width: 26px; height: 26px; }

/* Agenda: ícone e título como cabeçalho, a lista embaixo (hora cinza, título semibold) */
.agenda { gap: 10px; }
.agenda-head { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -.4px; color: var(--text); }
.agenda-icon { width: 24px; height: 24px; color: #fff; }
.agenda-list { gap: 8px; }
.agenda-when { width: 78px; font-size: 12px; color: var(--subtext); }
.agenda-title { font-size: 14px; font-weight: 600; letter-spacing: -.2px; }
.agenda-empty { font-size: 14px; }

/* Clima: ícone grande cheio à esquerda, cidade (título) e condição (cinza), temperatura grande e máx./mín. à direita;
   embaixo as próximas horas com os ícones cheios */
.wx { display: grid; gap: 12px; padding-top: 0; }
.wx-top { display: flex; align-items: center; gap: 12px; }
.wx-icon { flex: none; display: grid; place-items: center; width: 53px; height: 53px; }
.wx-icon .wx-svg, .wx-icon .wx-svg.wx-fill { width: 44px; height: 44px; }
.wx-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.wx-place { font-size: 16px; font-weight: 600; line-height: 18px; letter-spacing: -.4px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-cond { font-size: 14px; font-weight: 400; line-height: 18px; color: var(--subtext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-side { display: grid; justify-items: end; gap: 2px; grid-template-columns: none; }
.wx-side .wx-range { grid-column: auto; }
.wx-temp { font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -.6px; }
.wx-range { font-size: 12px; color: var(--subtext); white-space: nowrap; }
.wx-hours { padding: 0; border-top: 0; }
.wx-hours li { gap: 4px; }
.wx-hour { font-size: 12px; color: var(--subtext); }
.wx-hicon .wx-svg, .wx-hicon .wx-svg.wx-fill { width: 22px; height: 22px; }
.wx-htemp { font-size: 14px; font-weight: 600; letter-spacing: -.2px; }

/* Alto-falante do player: com som / mudo (fica um pouco apagado quando está mudo) */
#muteBtn .i-muted, #muteBtn.muted .i-sound { display: none; }
#muteBtn.muted .i-muted { display: block; }
#muteBtn.muted { color: var(--subtext); }
/* Onda: sempre branca (a cor da capa continua só na barra do tempo e na sombra da capa) */
.wave i, .island.tinted .wave i { background: #fff; }

/* Sem o brilho colorido atrás da capa (pedido do Esdras); a capa é clicável (abre o app que está tocando) */
.island.tinted .cover, .cover { box-shadow: none; }
.cover { cursor: pointer; transition: transform .2s var(--soft-spring); }
.cover:hover { transform: scale(1.04); }
.cover:active { transform: scale(.96); }

/* Seletor de volume: entra no lugar dos controles do player (o alto-falante abre) */
.controls { position: relative; }
.controls > :not(.volpanel) { transition: opacity .18s ease, transform .18s ease; }
.controls.vol-open > :not(.volpanel) { opacity: 0; transform: scale(.9); pointer-events: none; }
.volpanel { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 2px;
  opacity: 0; transform: translateY(4px) scale(.97); pointer-events: none; transition: opacity .2s ease .05s, transform .28s cubic-bezier(.32, .72, 0, 1) .05s; }
.controls.vol-open .volpanel { opacity: 1; transform: none; pointer-events: auto; }
.volpanel .vp-mute, .volpanel .vp-close { flex: none; color: var(--text); }
.volpanel .vp-close svg { width: 18px; height: 18px; opacity: .7; }
.vp-mute .i-muted, .vp-mute.muted .i-sound { display: none; }
.vp-mute.muted .i-muted { display: block; opacity: .55; }
.vp-track { position: relative; flex: 1; height: 28px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.vp-rail { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; transition: height .15s ease; }
.vp-rail i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: #fff; }
.vp-track b { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45); transform: scale(.85); transition: transform .15s ease; }
.vp-track:hover .vp-rail, .vp-track.dragging .vp-rail { height: 8px; }
.vp-track:hover b, .vp-track.dragging b { transform: scale(1); }
.vp-pct { flex: none; min-width: 38px; text-align: right; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
:root.lite .volpanel, :root.lite .controls > * { transition: none !important; }

/* Barra de abas: só no tema Vidro (skins.css); fora dele, as bolinhas de sempre */
.tabbar { display: none; }
.tabbar[hidden] { display: none !important; }

/* ---------- Pomodoro: aviso com destaque (fim do foco e da pausa) ----------
   O C# manda kind "pomo": o relógio balança de tempos em tempos, duas ondas saem dele
   e o botão pulsa. O aviso fica até alguém clicar (e o som toca de novo em 20 s). */
.noticebar[data-kind="pomo"] .notice-icon { position: relative; overflow: visible; }
.noticebar[data-kind="pomo"] .notice-icon::before,
.noticebar[data-kind="pomo"] .notice-icon::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid var(--text, #fff); opacity: 0; pointer-events: none;
  animation: pomo-ring 1.8s cubic-bezier(.2, .6, .3, 1) infinite;
}
.noticebar[data-kind="pomo"] .notice-icon::after { animation-delay: .9s; }
@keyframes pomo-ring { 0% { transform: scale(.55); opacity: .75; } 100% { transform: scale(1.7); opacity: 0; } }
.noticebar[data-kind="pomo"] .notice-icon svg { transform-origin: 50% 58%; animation: pomo-shake 2.4s ease-in-out infinite; }
@keyframes pomo-shake {
  0%, 66%, 100% { transform: rotate(0); }
  70% { transform: rotate(-16deg); } 74% { transform: rotate(14deg); } 78% { transform: rotate(-10deg); }
  82% { transform: rotate(7deg); } 86% { transform: rotate(-3deg); } 90% { transform: rotate(0); }
}
.noticebar[data-kind="pomo"] .notice-action { animation: pomo-glow 1.8s ease-in-out infinite; }
@keyframes pomo-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); } }
.island.alerting.pomo-alert { --h: 76px; --r: 22px; }
.noticebar[data-kind="pomo"] { height: 76px; padding: 0 14px 0 16px; gap: 14px; }
.noticebar[data-kind="pomo"] .notice-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.noticebar[data-kind="pomo"] .notice-icon svg { width: 26px; height: 26px; }
.noticebar[data-kind="pomo"] .notice-text { display: grid; gap: 3px; white-space: nowrap; }
.noticebar[data-kind="pomo"] .notice-text b { font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.noticebar[data-kind="pomo"] .notice-text span { font-size: 13px; }
.noticebar[data-kind="pomo"] .notice-action { padding: 9px 16px; border-radius: 11px; font-size: 13.5px; font-weight: 700; }

/* ---------- Direita do player: funções ativas (16/11/2026) ----------
   O ícone do clima saiu daqui. Com o Pomodoro rodando, ao abrir no player a bolha de fora voa até o botão
   (--bq-x/--bq-y, medidos pelo island.js), e o botão aparece no lugar dela; nas outras páginas continua o chip. */
.controls .side.pomo-quick { position: relative; display: grid; place-items: center; width: 40px; height: 40px; opacity: 0; }
.controls .side.pomo-quick.gone { display: none; }   /* sem Pomodoro não ocupa lugar (o play fica no centro) */
.pomo-quick .bubble-ring { position: absolute; width: 34px; height: 34px; }
.pomo-quick.break .ring-fg { stroke: var(--battery); }
/* Gota líquida (island.js, blobTo/drawBlob): o corpo da bolha é desenhado na camada da ilha (#blobBody/#blobNeck,
   com a mesma cor dos temas, sem contorno). A caixa .pomo-bubble fica só com o anel e o relógio, que o JS move. */
.blob-svg { left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
.shape-svg.blob-svg path { stroke: none !important; }
.pomo-bubble { background: transparent !important; box-shadow: none !important; border-radius: 50% !important;
  transition: opacity .16s ease !important; will-change: transform; }
.pomo-bubble::before, .pomo-bubble::after { display: none !important; }
.island.open.quick-pomo.landed .pomo-quick { opacity: 1; transition: opacity .14s ease; }
.island.pomo-on.open .pomo-chip { opacity: 0; transition: opacity .1s ease; }
.island.pomo-on.open.landed .pomo-chip { opacity: 1; transition: opacity .14s ease; }
.island.quick-pomo .pomo-chip { display: none; }

/* ---------- Ilha aberta: configurações e trocar de monitor (embaixo à esquerda, discretos) ---------- */
/* Moram na faixa das bolinhas (18 px, 8 px acima da borda; ver "Ilha aberta mais baixa"), centralizados nela:
   botões de 22 px não alcançam o alto-falante do player (bug de 25/11: com 26 px a 10 px da borda ficavam por cima dele) */
.full-tools { position: absolute; left: 14px; bottom: 6px; display: flex; gap: 2px; z-index: 3; }
.full-tools button {
  display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 7px;
  background: none; color: var(--text); opacity: .38; cursor: pointer; transition: opacity .15s ease, background .15s ease;
}
.full-tools button:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.full-tools button[hidden] { display: none; }
/* Com uma página só (sem bolinhas) a faixa continua lá: é o lugar das ferramentas */
.full .dots:empty { display: flex; }
.full-tools svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.full-tools #gearBtn:hover svg { transform: rotate(60deg); transition: transform .5s var(--soft-spring); }
/* Tema Vidro: a barra de abas ocupa a largura toda; abre espaço à esquerda e alinha as ferramentas com ela */
:root[data-skin="glass"] .full .tabbar { padding-left: 40px; }
:root[data-skin="glass"] .full:has(#monBtn:not([hidden])) .tabbar { padding-left: 68px; }
:root[data-skin="glass"] .full-tools { bottom: 16px; }   /* no meio da barra de abas (38 px, 8 px acima da borda) */
/* Vidro com uma página só (sem barra de abas): volta a faixa vazia das bolinhas para as ferramentas */
:root[data-skin="glass"] .full:has(.tabbar[hidden]) .dots { display: flex !important; }
:root[data-skin="glass"] .full:has(.tabbar[hidden]) .full-tools { bottom: 6px; }

/* ---------- Gota das páginas (indicador líquido; island.js, dotsTo) ---------- */
.full { --dots-goo: 1; }
.dots { gap: 9px; }
.dots i, .dots i.on { width: 5px; opacity: 0; }   /* as bolinhas continuam para o clique; o desenho é o SVG */
.dots-goo { position: absolute; overflow: visible; pointer-events: none; color: var(--text); }
.dots-goo .dg-rest circle { fill: currentColor; opacity: .3; }
.dots-goo .dg-drop { fill: currentColor; }
:root[data-skin="glass"] .dots-goo { display: none !important; }   /* no Vidro, a barra de abas faz esse papel */

/* =========================================================
   Ilha inteira líquida (16/11/2026, referências de morphing / liquid motion)
   Sem anel, contorno ou onda piscando em nada (pedido do Esdras).
   ========================================================= */
.island button:focus, .island button:focus-visible, .island [tabindex]:focus { outline: none; }

/* Botões: apertando, amassam como gota (mais largos que altos); soltando, voltam com uma mola que passa um pouco.
   Usa a propriedade "scale" (soma com o transform que cada botão já tem, como o das setas). */
.island button { transition: scale .5s cubic-bezier(.3, 1.9, .45, 1), background .15s ease, opacity .15s ease, color .15s ease; }
.island button:active { scale: .86 .78; transition-duration: .12s; transition-timing-function: ease-out; }
.controls button:active, .water-buttons button:active, .focus-buttons button:active, .cover:active { transform: none; }

/* Tocar/pausar: o triângulo se divide nas duas barras (e as barras viram o triângulo) */
.pp { width: 100%; height: 100%; overflow: visible; }
.pp path { fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round;
  transition: d .42s cubic-bezier(.34, 1.45, .55, 1); }
.pp-a { d: path("M7 4.9 L13.8 8.4 L13.8 15.6 L7 19.1 Z"); }
.pp-b { d: path("M13.8 8.4 L20.6 12 L20.6 12 L13.8 15.6 Z"); }
.play.playing .pp-a, .main.running .pp-a { d: path("M6 4.2 L9 4.2 L9 19.8 L6 19.8 Z"); }
.play.playing .pp-b, .main.running .pp-b { d: path("M15 4.2 L18 4.2 L18 19.8 L15 19.8 Z"); }

/* Trocar de página: a nova só aparece (desfocada → nítida), sem andar nem balançar. O "pulinho" de antes
   (gelatina, e antes dela o deslizar) incomodava o Esdras; quem mostra o movimento é a gota das bolinhas. */
@keyframes page-next { from { opacity: 0; filter: blur(4px); } }
@keyframes page-prev { from { opacity: 0; filter: blur(4px); } }
.page.enter-next, .page.enter-prev { transform: none; animation: page-next .32s ease both; }

/* Música nova: a capa e o nome caem e assentam como gota */
@keyframes track-swap {
  0%   { opacity: 0; transform: translateY(8px) scale(.94, 1.08); filter: blur(4px); }
  55%  { opacity: 1; transform: translateY(-2px) scale(1.03, .97); filter: blur(0); }
  100% { transform: none; }
}
.track.swap { animation: track-swap .55s cubic-bezier(.2, .8, .3, 1) both; }

/* Avisos: o conteúdo entra esticado e assenta junto com a forma da ilha */
@keyframes notice-in {
  0%   { opacity: 0; transform: translateX(-50%) scale(.86, .7); filter: blur(5px); }
  60%  { opacity: 1; transform: translateX(-50%) scale(1.03, .97); filter: blur(0); }
  100% { transform: translateX(-50%); }
}

/* Seletor de volume: a barra escorre de dentro do alto-falante para a direita, e os controles se encolhem para ele */
.volpanel { clip-path: inset(0 100% 0 0 round 20px); transform: none !important;
  transition: clip-path .5s cubic-bezier(.34, 1.25, .5, 1), opacity .2s ease !important; }
.controls.vol-open .volpanel { clip-path: inset(0 0 0 0 round 20px); }
.controls.vol-open > :not(.volpanel) { transform: scale(.6, .5) !important; filter: blur(3px); transform-origin: 0 50%; }
.controls > * { transition: transform .4s cubic-bezier(.34, 1.4, .5, 1), opacity .2s ease, filter .2s ease; }

/* Bolinhas dos sliders: esticam no sentido do arrasto (island.js, goo) e voltam redondas com mola */
.vp-track b { transition: transform .15s ease, scale .45s cubic-bezier(.3, 1.9, .45, 1); }
.progress .bar.seekable span::after { scale: var(--ksx, 1) var(--ksy, 1); transition: transform .15s ease, scale .45s cubic-bezier(.3, 1.9, .45, 1); }

/* Modo leve e "reduzir movimento": sem nada disso */
:root.lite .island button, :root.lite .pp path, :root.lite .volpanel, :root.lite .controls > * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .island button, .pp path, .volpanel, .controls > * { transition: none !important; }
  .page.enter-next, .page.enter-prev, .track.swap { animation: none; }
}

/* ---------- Tarefas (página da ilha) ----------
   Cabeçalho como as outras páginas; o "+" vira ✕ e o campo escorre dele para a esquerda (clip-path), por cima do título.
   Lista com no máximo ~3 linhas visíveis (rola com a rodinha), para a ilha aberta não crescer. */
.todo { display: grid; gap: 8px; }   /* altura total <= a do player (a ilha aberta tem a altura da maior página) */
.todo-head { position: relative; display: flex; align-items: center; gap: 10px; min-height: 34px; }
.todo-icon { flex: none; width: 24px; height: 24px; color: var(--text); }
.todo-title { flex: 1; min-width: 0; display: grid; }
.todo-title b { font-size: 16px; font-weight: 600; letter-spacing: -.4px; }
.todo-title span { font-size: 12px; color: var(--subtext); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.todo-clear { flex: none; border: 0; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--subtext);
  font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.todo-clear:hover { color: var(--text); background: var(--soft-hover); }
.todo-clear[hidden] { display: none; }
.todo-plus { flex: none; position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 50%; background: var(--text); color: #090909; cursor: pointer; }
.todo-plus svg { width: 18px; height: 18px; transition: rotate .45s cubic-bezier(.34, 1.6, .5, 1); }
.todo.adding .todo-plus svg { rotate: 45deg; }
.todo-new { position: absolute; inset: 0 44px 0 0; margin: 0; z-index: 1; opacity: 0; pointer-events: none;
  clip-path: inset(0 0 0 100% round 17px); transition: clip-path .5s cubic-bezier(.34, 1.25, .5, 1), opacity .15s ease; }
.todo.adding .todo-new { opacity: 1; pointer-events: auto; clip-path: inset(0 0 0 0 round 17px); }
.todo-new input { width: 100%; height: 34px; box-sizing: border-box; padding: 0 14px; border: 0; border-radius: 17px;
  background: #1f1f1f; color: var(--text); font: inherit; font-size: 13.5px; outline: none; }
.todo-new input::placeholder { color: var(--subtext); }
.todo-list { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 2px; max-height: 88px; overflow-y: auto;
  overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.todo-list:empty { display: none; }
.todo-list li { display: flex; align-items: center; gap: 10px; min-height: 28px; min-width: 0; }
.todo-check { flex: none; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border-radius: 50%;
  border: 1.6px solid var(--subtext); background: transparent; color: #090909; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, scale .5s cubic-bezier(.3, 1.9, .45, 1); }
.todo-check svg { width: 12px; height: 12px; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .3s ease .08s; }
.todo-list li.done .todo-check { background: var(--text); border-color: var(--text); }
.todo-list li.done .todo-check svg { stroke-dashoffset: 0; }
.todo-txt { flex: 0 1 auto; min-width: 0; font-size: 14px; font-weight: 600; letter-spacing: -.2px; overflow: hidden; white-space: nowrap;
  text-overflow: ellipsis; background: linear-gradient(currentColor, currentColor) 0 55% / 0 1.5px no-repeat;
  transition: background-size .35s ease, color .25s ease; }
.todo-list li.done .todo-txt { color: var(--subtext); background-size: 100% 1.5px; }
.todo-del { flex: none; margin-left: auto; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--subtext); opacity: 0; cursor: pointer; transition: opacity .15s ease; }
.todo-del svg { width: 12px; height: 12px; }
.todo-list li:hover .todo-del { opacity: .85; }
.todo-list li.enter { animation: todo-in .5s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes todo-in { from { opacity: 0; transform: translateY(-8px) scale(.94, 1.1); filter: blur(3px); } }
:root.lite .todo *, :root.lite .todo { transition: none !important; animation: none !important; }

/* Tarefas pendentes na ilha fechada: quadradinho + número, apagadinho (não chama atenção, só lembra) */
.mini-todo { display: inline-flex; align-items: center; gap: 3px; margin-left: 2px; color: var(--subtext); opacity: .75;
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-todo[hidden] { display: none; }
.mini-todo svg { width: 13px; height: 13px; }
.island.idle .mini-todo { display: none; }

/* ---------- Ilha aberta mais baixa (16/11/2026, pedido do Esdras: "está muito grande") ----------
   Menos respiro em cima/embaixo, controles e faixa das bolinhas mais justos (~30 px a menos). */
.full { padding-top: 12px; padding-bottom: 8px; }
.progress { margin-top: 8px; }
.controls { margin-top: 4px; }
.controls button { height: 38px; }
.dots { height: 18px; margin-top: 4px; }
.todo-list { max-height: 76px; }   /* a página Tarefas não pode passar da altura do player */

/* ---------- Ícones da ilha padronizados (16/11/2026, pedido do Esdras) ----------
   Cada página tem o ícone numa caixa de 44 px, branco e cheio, centralizado; o título começa sempre no mesmo lugar.
   O relógio (Foco, bolha e botão do player) é o cronômetro cheio da aba Foco, branco puro, e o aro do progresso é fino.
   Alturas: nenhuma página passa da do player (118 px), senão a ilha aberta cresce toda. */
.focus-art { width: 44px; height: 44px; }
.focus-art .focus-ring { width: 44px; height: 44px; }
.focus-art .focus-ring circle { stroke-width: 2.4; }
.focus-clock { width: 24px; height: 24px; }
.water { gap: 12px; }
.bottle { width: 44px; height: 34px; margin: 0; }
.wx { gap: 10px; }
.wx-icon { width: 44px; height: 44px; }
.wx-icon .wx-svg, .wx-icon .wx-svg.wx-fill { width: 36px; height: 36px; }
.agenda { gap: 6px; }
.agenda-head { gap: 12px; min-height: 44px; }
.agenda-icon { flex: none; width: 44px; height: 28px; color: var(--text); }
.agenda-list { gap: 6px; }
.agenda-when { width: 96px; white-space: nowrap; }
.todo { gap: 4px; }
.todo-head { gap: 12px; min-height: 44px; }
.todo-icon { width: 44px; height: 28px; }
.todo-list li { min-height: 22px; }
.todo-list { max-height: 70px; }
.bubble-clock { width: 18px; height: 18px; }

/* ---------- Aparelhos sem fio (17/11/2026; protótipo, o Esdras vai desenhar no Figma) ----------
   Cabeçalho no padrão das outras páginas (ícone na caixa de 44 px) e uma linha por aparelho: ícone, nome,
   barra de bateria com a cor da carga e a porcentagem. No máx. 3 linhas visíveis (a página não passa do player). */
.devs { display: grid; gap: 4px; }
.devs-head { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.devs-icon { flex: none; width: 44px; height: 28px; display: grid; place-items: center; color: var(--text); }
.devs-icon svg { width: 26px; height: 26px; }
.devs-title { flex: 1; min-width: 0; display: grid; }
.devs-title b { font-size: 16px; font-weight: 600; letter-spacing: -.4px; }
.devs-title span { font-size: 12px; color: var(--subtext); }
/* "Beta" bem discreto ao lado do título (a leitura da bateria 2.4 GHz ainda está em testes) */
.devs-title b > span { font-size: inherit; color: inherit; }
.dev-beta { display: inline-block; margin-left: 2px; padding: 0 5px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px;
  font-size: 9px; font-style: normal; font-weight: 500; letter-spacing: .3px; line-height: 14px; vertical-align: 2px; color: var(--subtext); }
.devs-list { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 4px; max-height: 70px; overflow-y: auto;
  overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.devs-list li { display: flex; align-items: center; gap: 10px; min-height: 22px; }
.dev-ico { flex: none; width: 44px; display: grid; place-items: center; color: var(--text); }
.dev-ico svg { width: 18px; height: 18px; }
.dev-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-bar { flex: none; width: 64px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.dev-bar i { display: block; height: 100%; border-radius: 3px; transition: width .6s var(--spring), background-color .6s ease; }
.dev-pct { flex: none; width: 38px; text-align: right; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.devs-list li.low .dev-pct { color: #ff6b6b; }
/* Reconhecido, mas a bateria ainda não dá para ler: no lugar da barra e da %, um texto discreto */
.dev-unsup { flex: 0 0 auto; max-width: 58%; font-size: 11.5px; color: var(--subtext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.devs-list li.unsup { min-width: 0; overflow: hidden; }
.devs-list li.unsup .dev-name { flex: 1 1 auto; }   /* o aviso fica inteiro (até 58%); quem encolhe é o nome */
.devs-list li.unsup .dev-ico, .devs-list li.unsup .dev-name { opacity: .6; }
.dev-notice-ico { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; }
.dev-notice-ico svg { width: 20px; height: 20px; }

/* Ilha fechada: aparelhos sem fio entre a hora e o clima (ícone num anel com a carga, sem porcentagem) */
.mini-devs { display: inline-flex; align-items: center; gap: 5px; }
.mini-devs[hidden] { display: none; }
.mini-dev { display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--text); }
.mini-dev svg { width: 22px; height: 22px; }
.island.idle .mini-devs { display: none; }

/* ---------- Tracinho no lugar da ilha (opção, 18/11/2026) ----------
   Em cima das abas a ilha vira um risquinho no topo que só abre com clique. Um traço claro no meio para dar para ver
   em cima de qualquer barra de abas, e a mãozinha do mouse indicando que é clicável. */
.tuck-line .island.tucked { cursor: default; }
.tuck-line .island.tucked::after { content: ""; position: absolute; left: 50%; top: 1px; width: 46px; height: 3px; border-radius: 2px;
  transform: translateX(-50%); background: rgba(255, 255, 255, .7); pointer-events: none; z-index: 5;
  animation: tl-in .25s ease .35s both; }   /* aparece depois que a ilha termina de encolher */
@keyframes tl-in { from { opacity: 0; } }
.lite .tuck-line .island.tucked::after { animation: none; }
/* Mouse parado em cima: o traço cresce até a borda em 3 s (o tempo que falta para abrir); saiu, volta na hora */
.tuck-line .island.tucked.arming::after { width: 122px; background: #fff; transition: width 3s linear, background .3s ease; }

/* ---------- Idiomas sem Sora (turco, polonês, vietnamita, russo, árabe, japonês, coreano, chinês):
   fonte do Windows. A classe vem do Volum.applyI18n; o lang do <html> escolhe a fonte certa de cada escrita. ---------- */
html.sys-font body, html.sys-font button, html.sys-font input, html.sys-font .island, html.sys-font .brand, html.sys-font .news-title {
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}
html.sys-font:lang(ja) body, html.sys-font:lang(ja) button, html.sys-font:lang(ja) input, html.sys-font:lang(ja) .island { font-family: "Yu Gothic UI", "Meiryo UI", "Segoe UI", sans-serif; }
html.sys-font:lang(ko) body, html.sys-font:lang(ko) button, html.sys-font:lang(ko) input, html.sys-font:lang(ko) .island { font-family: "Malgun Gothic", "Segoe UI", sans-serif; }
html.sys-font:lang(zh-CN) body, html.sys-font:lang(zh-CN) button, html.sys-font:lang(zh-CN) input, html.sys-font:lang(zh-CN) .island { font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif; }
html.sys-font:lang(zh-TW) body, html.sys-font:lang(zh-TW) button, html.sys-font:lang(zh-TW) input, html.sys-font:lang(zh-TW) .island { font-family: "Microsoft JhengHei UI", "Segoe UI", sans-serif; }
/* A fonte do Windows tem entrelinha maior que a Sora: fixa a altura das linhas pequenas
   para Player, Agenda e Clima não passarem de 118 px (senão a ilha aberta cresce) */
html.sys-font .island :is(.progress, .wx-hour, .wx-range, .agenda-when) { line-height: 15px; }
html.sys-font .island :is(.agenda-title, .wx-htemp) { line-height: 18px; }

/* Árabe: só o texto corre da direita para a esquerda (o layout não espelha) */
html.rtl-text :is(p, span, b, small, label, h1, h2, h3, li, button, output, .label, .setting-text, .name, .news-head, .news-text) { unicode-bidi: plaintext; }
/* na ilha o texto fica colado no ícone, à esquerda, como o resto do layout */
html.rtl-text .island :is(p, span, b, small, label, li, div) { text-align: left; }
html.rtl-text input[type="text"], html.rtl-text input:not([type]) { unicode-bidi: plaintext; text-align: start; }

/* =========================================================
   0.11.0
   ========================================================= */
/* Abrir com clique: a ilha fechada mostra a mãozinha */
html.open-click .island.closed, html.open-click .island.idle { cursor: pointer; }

/* Visual mais limpo (Configurações → Ilha → Visual da ilha fechada) */
html.look-nowave .mini .wave { display: none !important; }
html.look-nowave .mini-right .mini-wx b { display: inline !important; }   /* sem a onda, o clima volta a ter a temperatura */
html.look-nobatt #miniBattery { display: none !important; }
html.look-noclock .island.music-playing .mini .clock { display: none; }
/* sem a hora, cada lado continua na sua coluna (senão a direita cairia na coluna do meio) */
html.look-noclock .mini-left { grid-column: 1; }
html.look-noclock .mini-right { grid-column: 3; }

/* Tecla de mídia com a música conhecida: capa | música e artista | tocar/pausar (mesma faixa de 270 × 50 do indicador) */
.noticebar.media-osd { gap: 10px; padding: 0 14px 0 12px; }
.noticebar.media-osd .notice-icon { width: 30px; height: 30px; flex: none; }
.noticebar.media-osd .notice-icon img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; }
.noticebar.media-osd .notice-icon svg { width: 20px; height: 20px; }
.noticebar.media-osd .notice-text { display: grid; flex: 1 1 auto; min-width: 0; gap: 1px; align-items: initial; }
.noticebar.media-osd .notice-text b { overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; font-weight: 600; }
.noticebar.media-osd .notice-text span { color: var(--subtext); font-size: 11.5px; font-variant-numeric: normal; }
.noticebar.media-osd .osd-bar { display: none; }
.notice-media-ico { flex: none; display: grid; place-items: center; width: 20px; height: 20px; }
.notice-media-ico[hidden] { display: none; }
.notice-media-ico svg { width: 18px; height: 18px; }
.noticebar.media-osd .notice-icon img, .noticebar.media-osd .notice-media-ico { animation: media-osd-in .45s var(--spring, ease) both; }
@keyframes media-osd-in { from { opacity: 0; transform: scale(.8); } }
html.lite .noticebar.media-osd .notice-icon img, html.lite .noticebar.media-osd .notice-media-ico { animation: none; }

/* ---------- Adendo 0.11.0 (feedbacks de 26 a 29/11) ---------- */
/* S1: botão "–" (esconder por 10 s) junto da engrenagem/monitor. No Vidro, a barra de abas abre mais espaço à esquerda
   (14 + 3 botões de 22 + 2 vãos de 2 = 84 px; com 2 botões, 60 px) */
:root[data-skin="glass"] .full .tabbar { padding-left: 64px; }
:root[data-skin="glass"] .full:has(#monBtn:not([hidden])) .tabbar { padding-left: 92px; }

/* S2: páginas com ícones (Configurações → Ilha → Visual). Mesma faixa de 18 px das bolinhas; a gota some */
html.nav-icons .dots { position: relative; gap: 2px; }
html.nav-icons .dots-goo { display: none !important; }
.nav-ico {
  position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 18px; padding: 0; border: 0;
  border-radius: 6px; background: none; color: var(--text); opacity: .38; cursor: pointer; transition: opacity .25s ease;
}
.nav-ico:hover { opacity: .7; }
.nav-ico.on { opacity: 1; }
.nav-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav-ico.on svg { transform: scale(1.06); }
.nav-ico svg { transition: transform .3s var(--soft-spring); }
/* destaque do atual: pílula clarinha (cor do texto do tema, bem fraca) que desliza até o ícone */
.nav-pill { position: absolute; left: 0; top: 0; width: 24px; height: 18px; border-radius: 6px; background: var(--text); opacity: .13; pointer-events: none; }
.nav-pill.ready { transition: transform .45s var(--soft-spring); }
:root.lite .nav-pill, :root.lite .nav-ico, :root.lite .nav-ico svg { transition: none !important; }

/* S4: ilha escondida mostrando só a hora (peek): a data curta ao lado ("seg 30"); a hora aparece mesmo com
   "esconder a hora quando toca música". O encaixe dos aparelhos é refeito pelo JS (fitMiniDevices) */
.island.peek .clock::after { content: attr(data-date); margin-left: 6px; font-weight: 500; font-size: .86em; color: var(--subtext); letter-spacing: 0; }
html.look-noclock .island.peek.music-playing .mini .clock { display: block; }
/* Espiada rápida: a onda e o contador de tarefas saem para a data caber; os lados ficam do tamanho do que têm e a
   hora + data usam o meio (sem passar por cima de nada); se ainda faltar espaço, a data termina em "…" */
.island.peek .mini { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 8px; }
.island.peek .mini .wave, .island.peek .mini-todo { display: none !important; }
.island.peek .clock { grid-column: 2; justify-self: center; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.island.peek .mini-left { grid-column: 1; }
.island.peek .mini-right { grid-column: 3; }
/* Ilha fechada apertada à esquerda (island.js, fitMiniDevices): o contador de tarefas sai para não ficar embaixo da hora */
.mini.mini-tight .mini-todo { display: none !important; }

/* ---------- Mascote da água (0.11.0; island.js, "Mascote da água") ----------
   Mora no lugar da garrafinha (caixa 44 × 34: a página Água não cresce). Pixel art do MASCOT_PX com rostos extras.
   Os rostos são quadros inteiros (step-end, como o mascote de sempre); corpo, gotas e confete andam com curvas suaves.
   Humores: .mood-thirsty / ok / happy / veryhappy / champion. Eventos: .wm-sip (gole), .wm-ue, .wm-cheer (meta), .wm-swap. */
.wm-box { flex: none; display: grid; place-items: center; width: 44px; height: 34px; }
.wmascot { width: 44px; height: 34px; overflow: visible; }
.wmascot g, .wmascot rect { transform-box: fill-box; }
.wmascot .px-body { animation: none; }   /* sem o pulinho do ciclo de 9 s do mascot.css */
.wmascot .wm-all { transform-origin: 50% 100%; }
.wmascot .we, .wmascot .wmo, .wmascot .wm-cheeks, .wmascot .wm-sweat,
.wmascot .wm-drop, .wmascot .wm-heart, .wmascot .wm-confetti rect { opacity: 0; }
.wmascot .wmo, .wmascot .wm-cheeks { transition: opacity .35s ease; }
.wmascot .we { animation-duration: 5s; animation-iteration-count: infinite; animation-timing-function: step-end; }

/* Com sede: pálpebras caídas, boca seca, gotinha de suor escorrendo devagar; pisca bem devagar */
.wmascot.mood-thirsty .we-sleepy { opacity: 1; animation-name: wm-sleepy; animation-duration: 6s; }
.wmascot.mood-thirsty .we-blink { animation-name: wm-sleepy-blink; animation-duration: 6s; }
.wmascot.mood-thirsty .wmo-dry { opacity: 1; }
.wmascot.mood-thirsty .wm-sweat { opacity: 1; transform-origin: 50% 0; animation: wm-sweat 3.2s cubic-bezier(.5, 0, .7, 1) infinite; }
@keyframes wm-sleepy { 0%, 86% { opacity: 1; } 87% { opacity: 0; } 93%, 100% { opacity: 1; } }
@keyframes wm-sleepy-blink { 0%, 86% { opacity: 0; } 87% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes wm-sweat { 0% { opacity: 0; transform: translateY(-.5px); } 20% { opacity: 1; } 75% { opacity: 1; transform: translateY(1.5px); } 100% { opacity: 0; transform: translateY(2.5px); } }

/* Ok: olhos normais, pisca em etapas (meio → fechado → meio) */
.wmascot.mood-ok .we-open { opacity: 1; animation-name: wm-open; }
.wmascot.mood-ok .we-half, .wmascot.mood-happy .we-half { animation-name: wm-half; }
.wmascot.mood-ok .we-blink, .wmascot.mood-happy .we-blink { animation-name: wm-blink; }
@keyframes wm-open  { 0%, 60% { opacity: 1; } 61% { opacity: 0; } 64.6%, 100% { opacity: 1; } }
@keyframes wm-half  { 0%, 61% { opacity: 0; } 61.1% { opacity: 1; } 62.2% { opacity: 0; } 63.4% { opacity: 1; } 64.6%, 100% { opacity: 0; } }
@keyframes wm-blink { 0%, 62.2% { opacity: 0; } 62.3% { opacity: 1; } 63.4%, 100% { opacity: 0; } }

/* Feliz: sorriso, ^ ^ de vez em quando, balança de leve */
.wmascot.mood-happy .we-open { opacity: 1; animation-name: wm-open-some; }
.wmascot.mood-happy .we-happy { animation-name: wm-happy-some; }
.wmascot.mood-happy .wmo-smile { opacity: 1; }
.wmascot.mood-happy .wm-all { animation: wm-sway 3.4s ease-in-out infinite; }
@keyframes wm-happy-some { 0%, 20% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes wm-open-some { 0%, 20% { opacity: 0; } 21%, 60% { opacity: 1; } 61% { opacity: 0; } 64.6%, 100% { opacity: 1; } }
@keyframes wm-sway { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }

/* Muito feliz: ^ ^ quase sempre, bochechas, pulinhos pequenos (amassa ao cair) */
.wmascot.mood-veryhappy .we-happy, .wmascot.mood-champion .we-happy { opacity: 1; animation-name: wm-happy-most; }
.wmascot.mood-veryhappy .we-open, .wmascot.mood-champion .we-open { animation-name: wm-open-few; }
.wmascot.mood-veryhappy .wmo-smile, .wmascot.mood-champion .wmo-smile,
.wmascot.mood-veryhappy .wm-cheeks, .wmascot.mood-champion .wm-cheeks { opacity: 1; }
.wmascot.mood-veryhappy .wm-all { animation: wm-hop 1.6s cubic-bezier(.3, .7, .4, 1) infinite; }
@keyframes wm-happy-most { 0%, 78% { opacity: 1; } 79%, 92% { opacity: 0; } 93%, 100% { opacity: 1; } }
@keyframes wm-open-few { 0%, 78% { opacity: 0; } 79%, 92% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes wm-hop {
  0%, 46%, 100% { transform: translateY(0) scale(1, 1); }
  10% { transform: translateY(0) scale(1.06, .92); }
  22% { transform: translateY(-1.4px) scale(.97, 1.04); }
  36% { transform: translateY(0) scale(1.05, .94); }
}

/* Campeão (meta batida): tudo do "muito feliz", balançando de leve */
.wmascot.mood-champion .wm-all { animation: wm-sway 4s ease-in-out infinite; }
/* Temas de inverno: o gorro já ocupa o alto da cabeça */

/* Troca de humor: amassa e volta (em vez de trocar o rosto de uma vez) */
.wmascot.wm-swap .px-body { transform-origin: 50% 100%; animation: wm-swap .45s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes wm-swap { 0% { transform: scale(1.08, .88); } 55% { transform: scale(.96, 1.05); } 100% { transform: scale(1); } }

/* Gole (+1 copo): inclina para trás, a gotinha cai na boca ("o"), fecha ^ ^, sorri e sobe um coraçãozinho */
.wmascot.wm-sip .we { animation: none !important; opacity: 0 !important; }
.wmascot.wm-sip .we-happy { opacity: 1 !important; }
.wmascot.wm-sip .wmo { animation: none; opacity: 0; transition: none; }
.wmascot.wm-sip .wmo-o { animation: wm-sip-o 1.1s step-end both; }
.wmascot.wm-sip .wmo-smile { animation: wm-sip-smile 1.1s step-end both; }
.wmascot.wm-sip .wm-sweat { opacity: 0; animation: none; }
.wmascot.wm-sip .wm-all { animation: wm-sip 1.1s cubic-bezier(.4, 0, .3, 1) both; }
.wmascot.wm-sip .wm-drop { animation: wm-drop 1.1s cubic-bezier(.55, 0, .9, .5) both; }
.wmascot.wm-sip .wm-heart { transform-origin: 50% 100%; animation: wm-heart 1.1s cubic-bezier(.2, .7, .4, 1) both; }
@keyframes wm-sip { 0% { transform: rotate(0); } 28%, 52% { transform: rotate(-9deg) translateY(-.4px); } 78% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@keyframes wm-drop { 0% { opacity: 0; transform: translate(-1.5px, 0); } 8% { opacity: 1; } 40% { opacity: 1; transform: translate(-1.5px, 10px); } 44%, 100% { opacity: 0; transform: translate(-1.5px, 10px); } }
@keyframes wm-sip-o { 0%, 12% { opacity: 0; } 13%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes wm-sip-smile { 0%, 48% { opacity: 0; } 49%, 100% { opacity: 1; } }
@keyframes wm-heart { 0%, 45% { opacity: 0; transform: translate(0, 1px) scale(.6); } 58% { opacity: 1; transform: translate(.4px, -.5px) scale(1); }
                      100% { opacity: 0; transform: translate(-.6px, -5px) scale(1); } }

/* Tirou um copo: "ué" rápido (um olho fechado, boca torta, cabeça de lado) */
.wmascot.wm-ue .we, .wmascot.wm-ue .wmo { animation: none !important; opacity: 0 !important; transition: none; }
.wmascot.wm-ue .we-ue, .wmascot.wm-ue .wmo-ue { opacity: 1 !important; }
.wmascot.wm-ue .wm-all { animation: wm-ue .7s cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes wm-ue { 0% { transform: rotate(0); } 30%, 70% { transform: rotate(7deg); } 100% { transform: rotate(0); } }

/* Meta batida: três pulos com amassado, ^ ^ e confete de gotas em dois estouros */
.wmascot.wm-cheer .we, .wmascot.wm-party .we { animation: none !important; opacity: 0 !important; }
.wmascot.wm-cheer .we-happy, .wmascot.wm-party .we-happy,
.wmascot.wm-cheer .wmo-smile, .wmascot.wm-cheer .wm-cheeks { opacity: 1 !important; }
.wmascot.wm-cheer .wmo:not(.wmo-smile), .wmascot.wm-cheer .wm-sweat { opacity: 0 !important; animation: none; }
.wmascot.wm-cheer .wm-all { animation: wm-cheer-hop .85s cubic-bezier(.3, .7, .4, 1) 3 both; }
.wmascot.wm-cheer .wm-confetti rect { animation: wm-confetti 1.25s cubic-bezier(.2, .8, .4, 1) var(--d) 2 both; }
.wmascot.wm-party .wm-all { animation: wm-cheer-hop .85s cubic-bezier(.3, .7, .4, 1) infinite; }
.wmascot.wm-party .wm-confetti rect { animation: wm-confetti 1.7s cubic-bezier(.2, .8, .4, 1) var(--d) infinite both; }
@keyframes wm-cheer-hop {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  12% { transform: translateY(0) scale(1.1, .88); }
  40% { transform: translateY(-3px) scale(.95, 1.07); }
  70% { transform: translateY(0) scale(1.08, .9); }
  85% { transform: translateY(0) scale(.98, 1.02); }
}
@keyframes wm-confetti {
  0% { opacity: 0; transform: translate(0, 0) scale(.5); }
  12% { opacity: 1; transform: translate(calc(var(--dx) * .35), calc(var(--dy) * .35)) scale(1); }
  55% { opacity: 1; transform: translate(var(--dx), var(--dy)) rotate(90deg); }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 1.15), calc(var(--dy) + 7px)) rotate(180deg); }
}
/* "Meta batida!" no lugar do título por um instante (mesmo lugar; volta sozinho) */
.water-text b.wm-title { animation: greet-in .9s var(--spring) both; }

/* Aviso "watergoal" (meta batida com a ilha fechada): o mascote comemorando no lugar do ícone */
.noticebar[data-kind="watergoal"] .notice-icon { width: 38px; height: 30px; overflow: visible; }
.noticebar[data-kind="watergoal"] .notice-icon .wmascot { width: 38px; height: 30px; }

/* Modo leve / reduzir movimento: só o rosto de cada humor, parado */
:root.lite .wmascot *, :root.lite .water-text b.wm-title { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .wmascot *, .water-text b.wm-title { animation: none !important; transition: none !important; } }
