@font-face {
  font-family: 'ZT Nature';
  font-weight: 100;
  font-display: swap;
  src: url('../fonts/ztnature-thin.woff') format('woff');
}

@font-face {
  font-family: 'ZT Nature';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ztnature-regular.woff') format('woff');
}

@font-face {
  font-family: 'ZT Nature';
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ztnature-medium.woff') format('woff');
}

@font-face {
  font-family: 'ZT Nature';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ztnature-bold.woff') format('woff');
}

:root {
  --bg: #F2F3F6;
  --inverted: #101114;
  --surface: #E5E7EC;
  --stroke: rgba(16, 17, 20, 0.10);
  --text: #101114;
  --text-2: #777B8A;
  --text-2-muted: rgba(119, 123, 138, 0.30);
  --default: #9295A3;
  --ripple-bg: rgba(16, 17, 20, 0.10);
  --ripple-surface: rgba(25, 26, 32, 0.10);
  --hover-surface: rgba(16, 17, 20, 0.035);

  --accent: #DF355C;
  --accent-2: #EC7E98;
  --ripple-accent: rgba(223, 53, 92, 0.10);
  --on-accent: #F2F3F6;

  --red: #F44336;
  --red-surface: rgba(244, 67, 54, 0.145);
  --green: #4CAF50;
  --green-surface: rgba(76, 175, 80, 0.145);
  --warning: #FFA000;

  --sky-top: #0B0B12;
  --sky-bottom: #15162A;
  --on-sky: #FFFFFF;
  --on-sky-2: rgba(255, 255, 255, 0.74);

  --radius: 10px;
  --radius-sheet: 20px;
  --radius-toast: 16px;

  --ease-decel: cubic-bezier(0, 0, 0.2, 1);
  --ease-accel: cubic-bezier(0.4, 0, 1, 1);
  --ease-std: cubic-bezier(0.45, 0, 0.55, 1);

  --font: 'ZT Nature', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --pad: 24px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101114;
    --inverted: #F2F3F6;
    --surface: #191A20;
    --stroke: rgba(242, 243, 246, 0.10);
    --text: #F2F3F6;
    --text-2: #9295A3;
    --text-2-muted: rgba(146, 149, 163, 0.30);
    --default: #777B8A;
    --ripple-bg: rgba(242, 243, 246, 0.10);
    --ripple-surface: rgba(229, 231, 236, 0.10);
    --hover-surface: rgba(242, 243, 246, 0.035);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.35 var(--font);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

svg {
  display: block;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1168px;
  margin-inline: auto;
  padding-inline: max(var(--pad), env(safe-area-inset-left, 0px)) max(var(--pad), env(safe-area-inset-right, 0px));
}

.has-ripple {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: var(--ripple, var(--ripple-surface));
  pointer-events: none;
  transform: scale(0);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(var(--sky-top), var(--sky-bottom));
  color: var(--on-sky);
  padding-top: env(safe-area-inset-top, 0px);
}

.sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-top: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-logo {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.brand-tag {
  margin-left: 4px;
  padding: 4px 8px 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--on-sky-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: inherit;
  --ripple: rgba(255, 255, 255, 0.14);
  transition: background-color 0.15s;
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
}

.hero .icon-btn {
  color: var(--on-sky-2);
}

@media (hover: hover) {
  .hero .icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--on-sky);
  }
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 48px;
  padding-top: 40px;
  padding-bottom: calc(64px + var(--radius-sheet));
}

.hero-title {
  font-weight: 700;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-title span {
  display: block;
}

.hero-title .soft {
  color: var(--accent-2);
}

.hero-sub {
  max-width: 34em;
  margin-top: 18px;
  color: var(--on-sky-2);
  font-size: 18px;
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.hero-logo {
  width: 300px;
  aspect-ratio: 1516.09 / 1737.62;
  margin-right: 8px;
}

.hero-logo svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.hero-logo .logo-bag {
  fill: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn-filled {
  background: var(--accent);
  color: var(--on-accent);
  --ripple: rgba(16, 17, 20, 0.157);
}

.btn-outlined {
  border: 1px solid var(--default);
  color: var(--default);
  --ripple: var(--ripple-bg);
}

.hero .btn-outlined {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--on-sky);
  --ripple: rgba(255, 255, 255, 0.12);
}

@media (hover: hover) {
  .btn-filled:not(:disabled):hover {
    background: color-mix(in srgb, var(--accent) 90%, #fff);
  }

  .btn-outlined:not(:disabled):hover {
    background: var(--hover-surface);
  }

  .hero .btn-outlined:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
  }
}

.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  height: 40px;
  min-width: 140px;
  font-size: 15px;
}

.sheet {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--radius-sheet));
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  background: var(--bg);
  padding-top: 32px;
  padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  gap: 40px 32px;
  align-items: start;
}

.stack > * + * {
  margin-top: 24px;
}

.group-header {
  padding-bottom: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.3;
}

.group-header small {
  margin-left: 6px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 400;
}

.card-group {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--surface);
}

.card-group > * + * {
  border-top: 1px solid var(--stroke);
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px;
  color: var(--text);
  --ripple: var(--ripple-surface);
  transition: background-color 0.15s;
}

a.row,
button.row {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

@media (hover: hover) {
  a.row:hover,
  button.row:hover {
    background: var(--hover-surface);
  }
}

.row > .icon {
  align-self: flex-start;
  margin-top: 1px;
}

.row-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.row-title {
  font-size: 15px;
  line-height: 20px;
}

.row-desc {
  margin-top: 3px;
  overflow: hidden;
  color: var(--text-2);
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-trail {
  flex: none;
  width: 18.3px;
  height: 18.3px;
  margin-left: 2px;
  color: var(--text-2-muted);
  transition: color 0.15s, transform 0.2s var(--ease-decel);
}

@media (hover: hover) {
  a.row:hover .row-trail {
    color: var(--text-2);
    transform: translate(1px, -1px);
  }
}

.row-value {
  flex: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.row-split {
  display: flex;
  align-items: stretch;
}

.row-split > .row {
  flex: 1;
  min-width: 0;
}

.row-split > .icon-btn {
  align-self: center;
  margin-right: 10px;
  color: var(--text-2);
  --ripple: var(--ripple-surface);
}

@media (hover: hover) {
  .row-split > .icon-btn:hover {
    background: var(--hover-surface);
    color: var(--text);
  }
}

.row-split > .icon-btn .icon {
  width: 20px;
  height: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px;
}

.stat + .stat {
  border-left: 1px solid var(--stroke);
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 18px;
}

.stat-label .icon {
  width: 15px;
  height: 15px;
}

.stat-value {
  min-height: 36px;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stat-value .counter-digit {
  width: 0.66em;
}

.downloads-text {
  font-size: 15px;
  line-height: 22px;
  text-wrap: pretty;
}

.downloads-text .counter {
  --counter-h: 22px;
  color: var(--accent);
  font-weight: 700;
}

.downloads-text .counter-digit {
  width: 0.64em;
}

.row > .icon-accent {
  color: var(--accent);
}

.notice {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
  text-wrap: pretty;
}

.link {
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.15s;
}

@media (hover: hover) {
  .link:hover {
    opacity: 0.75;
  }
}

.link:active {
  opacity: 0.5;
}

.counter {
  --counter-h: 1.2em;
  display: inline-flex;
  vertical-align: bottom;
  white-space: pre;
}

.counter-digit {
  display: inline-block;
  width: 0.62em;
  height: var(--counter-h);
  overflow: hidden;
  text-align: center;
}

.counter-strip {
  display: flex;
  flex-direction: column;
}

.counter-strip span {
  display: block;
  height: var(--counter-h);
  line-height: var(--counter-h);
}

.counter-char {
  display: inline-block;
  height: var(--counter-h);
  line-height: var(--counter-h);
}

.stat-value.counter {
  --counter-h: 36px;
  display: flex;
}

.bone {
  display: inline-block;
  width: 4.2em;
  height: 0.62em;
  border-radius: 999px;
  vertical-align: middle;
  background:
    linear-gradient(100deg, transparent 25%, var(--bone-wave) 50%, transparent 75%) 0 0 / 200% 100% no-repeat,
    var(--bone);
  --bone: color-mix(in srgb, var(--surface), var(--text) 7%);
  --bone-wave: color-mix(in srgb, var(--surface), var(--text) 14%);
  animation: shimmer 1.2s linear infinite;
}

.downloads-text .bone {
  width: 2.6em;
  height: 0.7em;
}

@keyframes shimmer {
  from { background-position: 150% 0, 0 0; }
  to { background-position: -50% 0, 0 0; }
}

.dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: auto;
}

.dialog[open] {
  display: grid;
  place-items: center;
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  animation: fade-in 0.2s var(--ease-decel);
}

.dialog.closing::backdrop {
  animation: fade-out 0.2s var(--ease-accel) forwards;
}

.dialog-card {
  width: 100%;
  max-width: 380px;
  padding: 20px;
  border: 1px solid var(--surface);
  border-radius: var(--radius-sheet);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  animation: dialog-in 0.2s var(--ease-decel);
}

.dialog.closing .dialog-card {
  animation: dialog-out 0.2s var(--ease-accel) forwards;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
}

.dialog .icon-btn {
  margin: -6px -8px -6px 0;
  color: var(--text-2);
  --ripple: var(--ripple-bg);
}

.people {
  margin-top: 16px;
  list-style: none;
}

.person {
  padding: 5px 0;
}

.person + .person {
  position: relative;
  margin-top: 5px;
  padding-top: 10px;
}

.person + .person::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--text-2) 6px, transparent 6px) 0 0 / 10px 1px repeat-x;
  opacity: 0.5;
}

.person-name {
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
}

.person-role {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 13px;
}

@keyframes dialog-in {
  from { opacity: 0; transform: scale(0.92); }
}

@keyframes dialog-out {
  to { opacity: 0; transform: scale(0.92); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes fade-out {
  to { opacity: 0; }
}

.toast {
  position: fixed;
  z-index: 50;
  top: calc(8px + env(safe-area-inset-top, 0px));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(420px, calc(100% - 24px));
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--surface);
  border-radius: var(--radius-toast);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: var(--text);
  font-weight: 500;
  font-size: 13.5px;
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, calc(-100% - 16px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease-decel), opacity 0.25s var(--ease-decel);
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.toast .icon {
  width: 22px;
  height: 22px;
}

.toast[data-type='success'] {
  color: var(--green);
}

.toast[data-type='error'] {
  color: var(--red);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--surface);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.top-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.top-bar .brand {
  color: var(--accent);
  font-size: 22px;
}

.top-bar .brand-logo {
  width: 26px;
  height: 26px;
}

.top-bar .icon-btn {
  color: var(--text);
  --ripple: var(--ripple-bg);
}

.empty-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.empty-page main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 32px 24px calc(64px + env(safe-area-inset-bottom, 0px));
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  text-align: center;
}

.empty-art {
  width: 220px;
  height: 220px;
  margin-bottom: 4px;
}

.empty-art .blob { fill: var(--surface); }
.empty-art .l-accent { fill: var(--accent); }
.empty-art .l-accent-2 { fill: var(--accent-2); }
.empty-art .l-surface { fill: var(--surface); }
.empty-art .l-inverted { fill: var(--inverted); }

.empty-code {
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.empty-title {
  font-weight: 500;
  font-size: 21px;
  line-height: 1.25;
}

.empty-desc {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
  text-wrap: pretty;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-dot {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background-color 0.3s;
}

.status[data-status='up'] .status-dot {
  background: var(--green);
}

.status[data-status='up'] .status-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s var(--ease-decel) infinite;
}

.status[data-status='partial'] .status-dot {
  background: var(--warning);
}

.status[data-status='down'] .status-dot {
  background: var(--red);
}

.status[data-status='checking'] .status-dot {
  animation: blink 1.2s var(--ease-std) infinite alternate;
}

.status .hero-title {
  font-size: 56px;
}

.hero-host {
  margin-top: 14px;
  color: var(--on-sky-2);
  font-size: 18px;
}

.service-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-state::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-2-muted);
  transition: background-color 0.3s;
}

.service-state[data-ok='true']::before {
  background: var(--green);
}

.service-state[data-ok='false']::before {
  background: var(--red);
}

.service-state[data-ok='false'] {
  color: var(--red);
}

@keyframes pulse {
  from { transform: scale(1); opacity: 0.55; }
  to { transform: scale(2.4); opacity: 0; }
}

@keyframes blink {
  to { opacity: 0.35; }
}

.open-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(var(--sky-top), var(--sky-bottom));
  color: var(--on-sky);
}

.open-page > .sky {
  position: fixed;
}

.open-page .hero-bar {
  position: relative;
}

.open-stage {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 24px 0 64px;
}

.quick-sheet {
  width: 100%;
  max-width: 420px;
  padding: 10px 16px 16px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sheet);
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

.drag-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--text-2-muted);
}

.quick-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.app-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 75px;
  height: 75px;
  border-radius: var(--radius);
  background: #101114;
  outline: 1px solid var(--stroke);
  outline-offset: -1px;
}

.app-avatar svg {
  width: 56%;
  height: 56%;
  color: var(--accent);
}

.quick-kind {
  color: var(--accent);
  font-weight: 500;
  font-size: 13px;
}

.quick-name {
  margin-top: 2px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.quick-hint {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}

.quick-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

[hidden] {
  display: none !important;
}

.rise {
  animation: rise 0.5s var(--ease-decel) backwards;
  animation-delay: calc(var(--i, 0) * 70ms + 80ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.hero-logo.rise {
  animation-name: logo-in;
  animation-duration: 0.9s;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

@media (max-width: 1100px) {
  .hero-title {
    font-size: 54px;
  }

  .status .hero-title {
    font-size: 48px;
  }

  .hero-logo {
    width: 240px;
  }
}

@media (max-width: 900px) {
  .columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-logo {
    width: 190px;
  }

  .hero-body {
    column-gap: 32px;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 16px;
  }

  .hero-body {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 24px;
    padding-bottom: calc(40px + var(--radius-sheet));
  }

  .hero-logo {
    display: none;
  }

  .hero-title,
  .status .hero-title {
    font-size: 38px;
    letter-spacing: -0.02em;
  }

  .hero-sub,
  .hero-host {
    margin-top: 12px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  .sheet {
    padding-top: 24px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat {
    padding: 14px 12px;
  }

  .empty-art {
    width: 180px;
    height: 180px;
  }

  .open-stage {
    align-items: flex-end;
    padding: 24px 0 0;
  }

  .open-stage > .wrap {
    padding: 0;
  }

  .quick-sheet {
    max-width: none;
    border-width: 1px 0 0;
    border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .hero-title,
  .status .hero-title {
    font-size: 32px;
  }

  .stats:not(.stats-2) {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats:not(.stats-2) .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--stroke);
  }

  .stat-value {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.card-group + .notice {
  margin-top: 12px;
}

.counter .bone {
  align-self: center;
}

.stat-value-sm {
  font-size: 24px;
  letter-spacing: -0.01em;
}

.stat-value-sm .counter-digit {
  width: 0.64em;
}

@media (max-width: 560px) {
  .stats-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-2 .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--stroke);
  }
}

.app-avatar.is-user {
  background: var(--surface);
}

.app-avatar.is-user svg {
  width: 50%;
  height: 50%;
  color: var(--text-2);
}

.open-stage .quick-sheet {
  margin-inline: auto;
}

#open[hidden] + .btn-outlined {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
  --ripple: rgba(16, 17, 20, 0.157);
}
