:root {
  --bg: #ffffff;
  --gutter: #f6f8fa;
  --ink: #1f2328;
  --muted: #4b5563;
  --line: #d0d7de;
  --raise: #f6f8fa;
  --accent: #0969da;
  --accent-ink: #ffffff;
  --late: #cf222e;
  --ok: #1a7f37;
  --win: #1a7f37;
  --pri-alta: #cf222e;
  --pri-media: #9a6700;
  --pri-baixa: #8c959f;
  --font-ui: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-num: "IBM Plex Mono", ui-monospace, monospace;
  --pad: 20px;
  --nav: 56px;
  --col: 480px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--gutter);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

input,
select,
textarea {
  font-size: 16px;
}

button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: var(--accent);
  text-decoration: none;
}

#app {
  width: 100%;
  max-width: var(--col);
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.screen {
  min-height: 100dvh;
  padding: calc(16px + env(safe-area-inset-top)) var(--pad) calc(var(--nav) + 64px + env(safe-area-inset-bottom));
}

.screen.auth,
.screen.onboard {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
}

.display {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lede {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.flash {
  margin: 12px 0 0;
  color: var(--ok);
  font-size: 13px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field span,
.field-label {
  color: var(--muted);
  font-size: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 6px;
  outline: none;
}

.field textarea {
  min-height: 80px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-ghost {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-text {
  background: transparent;
  color: var(--ink);
  min-height: 32px;
  font-size: 13px;
}

.btn-exit {
  color: var(--late);
  font-weight: 600;
}

.btn-late {
  background: var(--late);
  color: #fff;
}

.btn s {
  opacity: 0.75;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
}

.links a {
  color: var(--accent);
}

.home-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.faces {
  display: flex;
  gap: 10px;
  margin: 16px 0 10px;
}

.home-line {
  margin: 0 0 4px;
  font-size: 14px;
}

.home-line a {
  color: var(--ink);
}

.home-line a:hover {
  color: var(--accent);
}

.teaser {
  display: block;
  margin: 16px 0 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raise);
  color: inherit;
}

.teaser-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.score-lg {
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.teaser-meta {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
}

.teaser-meta strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 20px 0 6px;
}

.section-head h2,
.block-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.task {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-align: left;
  width: 100%;
}

.task-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pri-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pri-baixa);
  flex: 0 0 auto;
}

.pri-alta .pri-dot {
  background: var(--pri-alta);
}

.pri-media .pri-dot {
  background: var(--pri-media);
}

.pri-baixa .pri-dot {
  background: var(--pri-baixa);
}

.pts-badge {
  color: var(--ok);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.task-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.task-flag {
  color: var(--late);
  font-size: 11px;
}

.task.is-late .task-title {
  color: var(--late);
}

.task.is-done {
  opacity: 0.55;
}

.nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
  max-width: var(--col);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--bg);
  border-top: 1px solid var(--line);
  z-index: 5;
}

.nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.nav a.active {
  color: var(--accent);
}

.nav svg,
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.meta-row dt {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.meta-row dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.who-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0 0 16px;
}

.who-block .lede {
  margin-top: 4px;
}

.comments {
  margin: 4px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment,
.hist {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.hist {
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.comment-who {
  font-size: 13px;
  font-weight: 600;
}

.comment-at {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.comment-text {
  margin: 2px 0 0;
  font-size: 14px;
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin: 14px 0 8px;
}

.seg button {
  min-height: 32px;
  color: var(--muted);
  font-size: 13px;
}

.seg button.active {
  background: var(--raise);
  color: var(--ink);
  font-weight: 600;
}

.onboard .seg {
  grid-template-columns: 1fr 1fr;
}

.statline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.statline button,
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 10px;
  color: inherit;
  border-right: 1px solid var(--line);
}

.statline button:last-child {
  border-right: 0;
}

.statline .num,
.stat .num {
  font-family: var(--font-num);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.statline .lbl,
.stat .lbl {
  color: var(--muted);
  font-size: 11px;
}

.statline button.active {
  background: var(--raise);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.statline button.active .num {
  color: var(--accent);
}

.statline button.is-late .num {
  color: var(--late);
}

.statline button.is-done .num {
  color: var(--ok);
}

.statline button.is-late.active {
  box-shadow: inset 0 -2px 0 var(--late);
}

.statline button.is-done.active {
  box-shadow: inset 0 -2px 0 var(--ok);
}

.trophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.trophy {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--bg);
}

.trophy-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.trophy-side {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.trophy-tag {
  margin: 0;
  font-size: 11px;
}

.trophy-side.best .trophy-tag {
  color: var(--ok);
}

.trophy-side.worst .trophy-tag {
  color: var(--late);
}

.trophy-who,
.trophy-val,
.trophy-tie {
  margin: 0;
  font-size: 13px;
}

.trophy-val,
.trophy-tie {
  color: var(--muted);
  font-size: 12px;
}

.faces-mini {
  display: flex;
}

.faces-mini .avatar {
  margin-right: -6px;
  box-shadow: 0 0 0 2px var(--bg);
}

.timeline {
  position: relative;
  margin-top: 12px;
  padding-left: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.tl-day {
  margin: 18px 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.tl-day.is-today {
  color: var(--ink);
}

.tl-item.is-done {
  opacity: 0.55;
}

.tl-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  position: relative;
  padding: 10px 0;
  color: inherit;
}

.tl-item.is-late .tl-dot {
  background: var(--late);
}

.tl-item.is-late .task-title {
  color: var(--late);
}

.who-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  margin: 12px 0 0;
  padding-bottom: 2px;
}

.who-filter button {
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  line-height: 0;
}

.who-filter button.active {
  border-color: var(--accent);
}

.who-filter .who-all {
  width: auto;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 24px;
  color: var(--muted);
}

.who-filter .who-all.active {
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.cal-shift {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 4px;
  font-size: 13px;
  font-weight: 600;
}

.cal-shift button {
  width: 32px;
  height: 32px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  color: inherit;
  min-width: 0;
}

.cal-chip-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}

.cal-chip-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.cal-chip .pts-badge {
  font-size: 9px;
}

.cal-chip.is-done {
  opacity: 0.55;
}

.cal-month {
  margin-top: 8px;
}

.cal-month-head {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4px;
}

.cal-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cal-cell {
  background: var(--bg);
  min-height: 92px;
  padding: 4px 3px 6px;
}

.cal-cell.is-out {
  opacity: 0.4;
}

.cal-cell.is-today {
  background: var(--gutter);
  box-shadow: inset 0 2px 0 var(--accent);
}

.cal-cell.is-on {
  background: var(--raise);
}

.cal-date {
  display: block;
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-align: left;
}

.cal-more {
  display: block;
  width: 100%;
  margin-top: 2px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  text-align: left;
}

.tl-dot {
  position: absolute;
  left: -16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg);
}

.badge {
  color: var(--ok);
  font-size: 11px;
  font-weight: 500;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--raise);
}

.avatar.sm {
  width: 28px;
  height: 28px;
}

.avatar.xs {
  width: 16px;
  height: 16px;
}

.avatar.lg {
  width: 48px;
  height: 48px;
}

.who-block .avatar.lg {
  width: 56px;
  height: 56px;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 64px 64px;
  gap: 0;
  margin: 8px 0 20px;
}

.cols-head,
.cols-row {
  display: contents;
}

.cols-head span {
  color: var(--muted);
  font-size: 11px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
}

.cols-head span:not(:first-child),
.cols-row strong {
  text-align: right;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.cols-row span,
.cols-row strong {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 400;
}

.reward {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.reward h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.reward p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.reward-cost {
  font-family: var(--font-num);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--muted);
}

.wallet-strip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 12px 0 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raise);
}

.wallet-strip .num {
  font-family: var(--font-num);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.invite {
  margin: 8px 0 12px;
  padding: 12px 14px;
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.avatars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.avatars button {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
}

.avatars button img {
  width: 100%;
  height: 100%;
  display: block;
}

.avatars button.active {
  border-color: var(--accent);
}

.empty {
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0;
}

.split {
  display: grid;
  gap: 24px;
}

.split-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.member-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.err {
  color: var(--late);
  font-size: 13px;
  margin: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 20px;
  color: inherit;
  text-decoration: none;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.wordmark .k-eyes {
  display: inline-block;
  margin: 0 3px 0 2px;
  color: var(--ink);
}

.wordmark .ss {
  color: var(--accent);
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.page-head .kicker {
  margin-bottom: 2px;
}

.top-avatar {
  flex: 0 0 auto;
  margin-top: 2px;
}

.top-avatar .avatar {
  width: 32px;
  height: 32px;
}

.pass-wrap {
  position: relative;
  display: block;
}

.pass-wrap input {
  padding-right: 40px;
}

.pass-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.pass-toggle .icon {
  width: 16px;
  height: 16px;
}

.form-nav {
  display: flex;
  gap: 8px;
}

.form-nav .btn {
  flex: 1;
}

.when-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips button,
.chip-check span {
  min-width: 36px;
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-num);
}

.chips button.active,
.chip-check input:checked + span {
  border-color: var(--accent);
  background: var(--raise);
  color: var(--accent);
  font-weight: 600;
}

.chip-check {
  position: relative;
}

.chip-check input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.pick-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  text-align: left;
}

.pick-list {
  display: none;
  flex-direction: column;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.pick-list.is-open {
  display: flex;
}

.pick-list button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}

.pick-list button:hover {
  background: var(--raise);
}

.is-hidden {
  display: none;
}

.fab-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--nav) + 12px + env(safe-area-inset-bottom));
  margin: 0 auto;
  width: 100%;
  max-width: var(--col);
  z-index: 6;
  display: flex;
  justify-content: flex-end;
  padding: 0 20px;
  pointer-events: none;
}

.fab {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(9, 105, 218, 0.25);
  white-space: nowrap;
}

.fab .icon {
  width: 16px;
  height: 16px;
}

.screen.has-fab {
  padding-bottom: calc(var(--nav) + 64px + env(safe-area-inset-bottom));
}

.avatar-wrap {
  position: relative;
}

.done-mark {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.done-mark .icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.who-block.is-resolved .kicker,
.who-block.is-resolved .display,
.who-block.is-resolved .lede {
  opacity: 0.62;
}

.who-block s {
  color: var(--muted);
}

.boards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.board {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.board h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
}

.board-row {
  display: grid;
  grid-template-columns: 28px 72px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}

.board-name {
  font-size: 13px;
}

.board-track {
  height: 4px;
  background: var(--raise);
  border-radius: 2px;
  overflow: hidden;
}

.board-track i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.board-row.is-lead .board-track i {
  background: var(--ok);
}

.board-val {
  font-family: var(--font-num);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.board-row.is-lead .board-val {
  color: var(--ink);
}

.need {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.reward-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--raise);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-mark .icon {
  width: 18px;
  height: 18px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screen.is-enter > *:not(.nav):not(.fab-dock) {
  animation: fade-up 220ms ease both;
}

.screen.is-enter > *:not(.nav):not(.fab-dock):nth-child(2) {
  animation-delay: 40ms;
}

.screen.is-enter > *:not(.nav):not(.fab-dock):nth-child(3) {
  animation-delay: 80ms;
}

.screen.is-enter > *:not(.nav):not(.fab-dock):nth-child(4) {
  animation-delay: 120ms;
}

.screen.is-enter > *:not(.nav):not(.fab-dock):nth-child(5) {
  animation-delay: 160ms;
}

.screen.is-enter > *:not(.nav):not(.fab-dock):nth-child(6) {
  animation-delay: 200ms;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes k-pop {
  0% {
    transform: scale(0.55);
    opacity: 0;
  }
  55% {
    transform: scale(1.08);
    opacity: 1;
  }
  78% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes k-draw {
  from {
    stroke-dashoffset: 300;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes k-eye-in {
  0%,
  35% {
    transform: scale(0);
    opacity: 0;
  }
  62% {
    transform: scale(1.18);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes k-blink {
  0%,
  86%,
  100% {
    transform: scaleY(1);
  }
  91% {
    transform: scaleY(0.08);
  }
  96% {
    transform: scaleY(1);
  }
}

@keyframes k-up {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes k-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes k-bar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(280%);
  }
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0b1420;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity 400ms ease;
}

.splash.is-out,
html.no-splash .splash {
  opacity: 0;
  pointer-events: none;
}

html.no-splash .splash {
  display: none;
}

.splash-mark {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: k-pop 0.72s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}

.splash-draw {
  animation: k-draw 1.05s 0.38s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.splash-eye {
  transform-box: fill-box;
  transform-origin: center;
}

.splash-eye-a {
  animation: k-eye-in 1s 0.95s cubic-bezier(0.2, 0.9, 0.3, 1.4) both, k-blink 3.4s 2s infinite;
}

.splash-eye-b {
  animation: k-eye-in 1s 1.06s cubic-bezier(0.2, 0.9, 0.3, 1.4) both, k-blink 3.4s 2.1s infinite;
}

.splash-word {
  margin: 0;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  animation: k-up 0.6s 1.35s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.splash-tag {
  margin: -14px 0 0;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d8896;
  animation: k-fade 0.7s 1.7s both;
}

.splash-bar {
  position: absolute;
  bottom: 48px;
  width: 110px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  animation: k-fade 0.6s 1.9s both;
}

.splash-bar span,
.loader-bar span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  animation: k-bar 1.25s linear infinite;
}

.splash-bar span {
  animation-delay: 2s;
}

.loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: rgba(11, 20, 32, 0.72);
}

html.is-busy .loader {
  display: flex;
}

.loader-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: k-blink 1.6s infinite;
}

.loader-eye-b {
  animation-delay: 0.12s;
}

.loader-bar {
  width: 96px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .screen.is-enter > *:not(.nav):not(.fab-dock),
  [data-reveal],
  .splash,
  .splash-mark,
  .splash-draw,
  .splash-eye,
  .splash-word,
  .splash-tag,
  .splash-bar,
  .splash-bar span,
  .loader-eye,
  .loader-bar span {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .splash {
    display: none;
  }
}
