:root {
  --bg: #0b0c13;
  --panel: rgba(28, 29, 43, 0.78);
  --panel2: rgba(41, 42, 60, 0.55);
  --glass: rgba(19, 20, 30, 0.7);
  --text: #f5f4fb;
  --muted: #9293a9;
  --line: rgba(255, 255, 255, 0.085);
  --accent: #a494ff;
  --green: #72e0b2;
  --red: #ff7c98;
  --shadow: 0 16px 48px #0003, 0 2px 8px #0002;
  --gradient: linear-gradient(120deg, #6366f1, #9863f8 53%, #ed79b5);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: max(env(safe-area-inset-top), var(--tg-safe-area-inset-top, 0px));
  --safe-bottom: max(
    env(safe-area-inset-bottom),
    var(--tg-safe-area-inset-bottom, 0px)
  );
}
[data-theme="light"] {
  --bg: #f5f4f9;
  --panel: rgba(255, 255, 255, 0.87);
  --panel2: rgba(238, 236, 248, 0.8);
  --glass: rgba(250, 249, 255, 0.72);
  --text: #242335;
  --muted: #79788e;
  --line: rgba(37, 32, 68, 0.09);
  --accent: #7460d6;
  --green: #269873;
  --red: #d74569;
  --shadow: 0 12px 36px #3c28590a, 0 2px 8px #3c285908;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family:
    -apple-system, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Tahoma,
    sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  color: inherit;
  background: none;
}
button:active {
  transform: scale(0.97);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button,
a,
input,
select,
textarea {
  outline: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: block;
}
button {
  transition:
    transform 0.28s var(--spring),
    opacity 0.2s;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
h1 {
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 720;
  letter-spacing: -1.9px;
  line-height: 1.1;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.55px;
}
h3 {
  font-size: 17px;
  letter-spacing: -0.35px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.mono {
  font-variant-numeric: tabular-nums;
}
.aurora {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}
.aurora i {
  position: absolute;
  width: 70vw;
  height: 75vh;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.12;
  animation: float 24s ease-in-out infinite alternate;
  background: #7755f6;
  top: -35vh;
  left: -10vw;
}
.aurora i:nth-child(2) {
  background: #d763b8;
  left: 70vw;
  top: 20vh;
  animation-delay: -9s;
  opacity: 0.07;
}
.aurora i:nth-child(3) {
  background: #4c75d4;
  left: 15vw;
  top: 75vh;
  animation-delay: -17s;
  opacity: 0.08;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.8' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glass {
  background: var(--glass);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 0.5px solid var(--line);
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(15px + var(--safe-top)) max(24px, calc((100vw - 900px) / 2));
  border-width: 0 0 0.5px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.brandmark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  border-radius: 10px;
  color: white;
  font-size: 23px;
  box-shadow: 0 4px 18px #8866f338;
}
.beta {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  margin-inline-start: 8px;
  align-self: center;
}
.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}
.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel2);
  font-size: 19px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}
.connection i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.connection.live i {
  background: var(--green);
  box-shadow: 0 0 12px #72e0b244;
}
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 24px calc(118px + var(--safe-bottom));
}
.pagehead {
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.1px;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: 14px;
}
.pagehead p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 15px;
}
.collapsed .brand {
  font-size: 18px;
}
.tabs {
  position: fixed;
  bottom: calc(17px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  max-width: 520px;
  width: calc(100% - 34px);
  display: flex;
  border-radius: 25px;
  padding: 7px 8px;
  box-shadow: var(--shadow);
}
.tab {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 10px;
  height: 55px;
  border-radius: 18px;
  font-weight: 550;
}
.tab svg {
  width: 21px;
  height: 21px;
}
.tab.active {
  color: var(--accent);
  background: var(--panel2);
}
.tab.active:before {
  content: "";
  position: absolute;
  inset: 10px 25%;
  background: #9665f822;
  filter: blur(15px);
  z-index: -1;
}
.tab .badge {
  position: absolute;
  top: 4px;
  right: 20%;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 9px;
  background: var(--red);
  color: white;
}
.card {
  background: var(--panel);
  border: 0.5px solid var(--line);
  border-radius: 25px;
  box-shadow: var(--shadow);
  padding: 24px;
  overflow: hidden;
}
.hero-card {
  padding: 30px;
  position: relative;
}
.hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.glow-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--panel2);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.glow-icon svg {
  width: 24px;
  height: 24px;
}
.hero-top .small {
  margin-top: 2px;
}
.paste-wrap {
  position: relative;
}
textarea,
input,
select {
  width: 100%;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px 16px;
  transition: border-color 0.2s;
  min-height: 46px;
}
textarea {
  resize: vertical;
  min-height: 82px;
  max-height: 180px;
  line-height: 1.6;
  direction: ltr;
  text-align: start;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
select {
  appearance: none;
  background-image: none;
}
option {
  background: var(--bg);
}
.paste-wrap textarea {
  padding-inline-end: 70px;
}
.paste-button {
  position: absolute;
  inset-inline-end: 10px;
  top: 12px;
  color: var(--accent);
  font-size: 12px;
  padding: 8px;
  border-radius: 9px;
  background: var(--panel);
}
.primary {
  background: var(--gradient);
  color: #fff;
  min-height: 49px;
  border-radius: 16px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 12px 20px;
  box-shadow: 0 5px 22px #8963f329;
}
.secondary {
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 13px;
  padding: 10px 15px;
  font-weight: 550;
  font-size: 13px;
  min-height: 40px;
}
.danger {
  color: var(--red);
}
.full {
  width: 100%;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.actions .primary {
  flex: 1;
}
.hero-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.micro {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 5px;
  align-items: center;
}
.micro svg {
  width: 13px;
  height: 13px;
}
.clipboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  margin-top: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 28px 2px 14px;
}
.section-label h2 {
  font-size: 17px;
}
.section-label span {
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 30px 20px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty svg {
  margin: 0 auto 13px;
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: 0.65;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.feature {
  text-align: center;
  padding: 18px 10px;
  border-radius: 20px;
  background: var(--panel2);
  border: 0.5px solid var(--line);
}
.feature svg {
  height: 20px;
  width: 20px;
  margin: 0 auto 8px;
  color: var(--accent);
}
.feature strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.feature span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  border-radius: 20px;
  border: 0.5px solid var(--line);
  background: var(--panel);
  box-shadow: 0 2px 6px #0001;
  animation: enter 0.55s var(--spring) both;
  animation-delay: calc(var(--i, 0) * 35ms);
  position: relative;
  overflow: hidden;
  min-height: 83px;
}
.item-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 45px;
  height: 49px;
  border-radius: 14px;
  background: var(--panel2);
  color: var(--accent);
}
.item-icon svg {
  width: 23px;
  height: 23px;
}
.item-content {
  flex: 1;
  min-width: 0;
}
.item-title {
  font-size: 14px;
  font-weight: 560;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.item-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.item-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.item-actions button {
  font-size: 12px;
  color: var(--accent);
  padding: 8px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 10px;
}
.item-actions svg {
  width: 18px;
  height: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 7px;
  padding: 3px 7px;
  background: var(--panel2);
  font-size: 10px;
  color: var(--muted);
}
.chip.approved,
.chip.done,
.chip.public {
  color: var(--green);
  background: #72e0b20d;
}
.chip.banned,
.chip.failed {
  color: var(--red);
  background: #ff7c980d;
}
.chip.pending,
.chip.queued {
  color: var(--accent);
  background: #a494ff0d;
}
.progress-ring {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  position: relative;
  display: grid;
  place-items: center;
}
.progress-ring svg {
  width: 54px;
  height: 54px;
  transform: rotate(-90deg);
}
.progress-ring circle {
  fill: none;
  stroke-width: 3.5;
  stroke: var(--line);
}
.progress-ring .fill {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 145;
  stroke-dashoffset: calc(145 - 145 * var(--progress, 0));
  transition: stroke-dashoffset 0.75s var(--spring);
}
.progress-ring b {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
}
.progress-ring.indeterminate svg {
  animation: spin 2s linear infinite;
}
.progress-ring.indeterminate .fill {
  stroke-dashoffset: 108;
}
.success-icon {
  color: var(--green);
  width: 28px;
  height: 28px;
  animation: success 0.6s var(--spring);
}
.success-icon path {
  stroke-dasharray: 30;
  stroke-dashoffset: 0;
  animation: check 0.5s ease;
}
.job-cancel {
  color: var(--muted);
  background: var(--panel2);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.preview {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 17px;
  align-items: center;
  border-top: 0.5px solid var(--line);
  padding-top: 20px;
  animation: enter 0.4s var(--spring);
}
.preview img,
.preview-art {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--panel2);
}
.preview-art {
  display: grid;
  place-items: center;
  color: var(--accent);
}
.preview h3 {
  font-size: 15px;
  line-height: 1.4;
  max-height: 42px;
  overflow: hidden;
}
.preview .chip {
  margin-top: 6px;
}
.quality-bar {
  display: flex;
  gap: 6px;
  overflow: auto;
  margin: 18px 0 2px;
  padding-bottom: 5px;
}
.quality {
  flex-shrink: 0;
  border-radius: 11px;
  padding: 8px 12px;
  font-size: 12px;
  background: var(--panel2);
  color: var(--muted);
  border: 1px solid transparent;
}
.quality.active {
  border-color: #a494ff66;
  color: var(--accent);
  background: #a494ff14;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.stat {
  padding: 22px;
}
.stat-label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 9px;
}
.stat-number {
  font-size: 31px;
  letter-spacing: -1.5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.stat-number small {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  margin-inline-start: 4px;
}
.chart {
  width: 100%;
  height: 90px;
  margin-top: 13px;
  color: var(--accent);
}
.chart path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart .area {
  stroke: none;
  fill: currentColor;
  opacity: 0.07;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.dropzone {
  padding: 35px 25px;
  text-align: center;
  border: 1px dashed #a494ff40;
  border-radius: 25px;
  background: var(--panel);
  position: relative;
}
.dropzone .glow-icon {
  margin: 0 auto 17px;
  width: 58px;
  height: 58px;
  border-radius: 19px;
}
.dropzone h2 {
  font-size: 20px;
}
.dropzone p {
  max-width: 380px;
  margin: 9px auto 20px;
  font-size: 13px;
  color: var(--muted);
}
.dropzone button {
  margin: auto;
}
.dropzone.dragging {
  border-color: var(--accent);
}
.search {
  position: relative;
  margin-bottom: 20px;
}
.search input {
  padding-inline-start: 42px;
  background: var(--panel);
}
.search svg {
  position: absolute;
  inset-inline-start: 15px;
  top: 15px;
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.profile {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 24px;
}
.avatar {
  width: 62px;
  height: 62px;
  background: var(--gradient);
  border-radius: 21px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 23px;
  font-weight: 650;
  flex-shrink: 0;
}
.avatar.small-avatar {
  width: 43px;
  height: 43px;
  font-size: 16px;
  border-radius: 14px;
}
.profile h2 {
  font-size: 24px;
}
.profile .small {
  margin-top: 4px;
}
.settings-group {
  margin: 18px 0;
}
.settings-row {
  padding: 17px 0;
  border-bottom: 0.5px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.settings-row:last-child {
  border: 0;
}
.settings-row select,
.settings-row input {
  max-width: 170px;
  padding: 10px;
  min-height: 37px;
  font-size: 13px;
  text-align: end;
}
.settings-row .muted {
  font-size: 11px;
  margin-top: 4px;
}
.segmented {
  display: flex;
  background: var(--panel2);
  border-radius: 12px;
  padding: 4px;
  gap: 3px;
}
.segmented button {
  flex: 1;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
}
.segmented button.active {
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 2px 5px #0002;
}
.pending-banner {
  background: #a494ff10;
  border: 1px solid #a494ff20;
  padding: 17px 20px;
  border-radius: 18px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
}
.gauge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gauge-card {
  padding: 20px 8px;
  text-align: center;
}
.gauge {
  height: 89px;
  width: 89px;
  position: relative;
  margin: auto;
  display: grid;
  place-items: center;
}
.gauge svg {
  width: 89px;
  height: 89px;
  transform: rotate(-90deg);
}
.gauge circle {
  fill: none;
  stroke: var(--line);
  stroke-width: 7;
}
.gauge .arc {
  stroke: var(--c, #a494ff);
  stroke-linecap: round;
  stroke-dasharray: 232;
  stroke-dashoffset: calc(232 - 232 * var(--p, 0));
  transition: stroke-dashoffset 0.8s var(--spring);
  filter: drop-shadow(0 0 5px #a494ff20);
}
.gauge b {
  position: absolute;
  font-size: 18px;
  letter-spacing: -0.7px;
}
.gauge-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.log {
  background: var(--panel2);
  border-radius: 14px;
  padding: 13px;
  max-height: 210px;
  overflow: auto;
  font:
    11px/1.8 ui-monospace,
    SFMono-Regular,
    monospace;
  color: var(--muted);
  direction: ltr;
}
.log div {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.footnote {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.4px;
  margin-top: 38px;
  opacity: 0.6;
}
.footnote > span:last-child {
  letter-spacing: 0;
}
.skeleton {
  border-radius: 22px;
  background: var(--panel);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.skeleton.hero {
  height: 270px;
  margin-bottom: 20px;
}
.skeleton.row {
  height: 82px;
  margin-top: 10px;
}
.skeleton:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(150, 145, 184, 0.09),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 1.8s infinite;
}
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0006;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.3s;
}
.sheet-overlay[hidden] {
  display: none;
}
.sheet {
  width: 100%;
  max-width: 580px;
  border-radius: 30px 30px 0 0;
  padding: 10px 26px calc(28px + var(--safe-bottom));
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 -10px 60px #0003;
  animation: sheet-in 0.5s var(--spring);
  touch-action: pan-y;
}
.drag-handle {
  display: block;
  width: 70px;
  height: 26px;
  margin: 0 auto 8px;
  padding: 0;
  touch-action: none;
  position: relative;
}
.drag-handle:before {
  content: "";
  position: absolute;
  top: 6px;
  left: 18px;
  width: 34px;
  height: 4px;
  border-radius: 10px;
  background: var(--muted);
  opacity: 0.45;
}
.sheet h2 {
  margin: 6px 0 16px;
}
.sheet .detail-art {
  width: 62px;
  height: 70px;
  margin: 0 auto 16px;
}
.sheet .detail-name {
  text-align: center;
  overflow-wrap: anywhere;
  margin-bottom: 8px;
}
.sheet .detail-sub {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 23px;
}
.sheet .actions {
  margin-top: 18px;
}
.sheet input,
.sheet textarea {
  margin: 8px 0;
}
.qr {
  background: white;
  border-radius: 18px;
  width: 220px;
  height: 220px;
  padding: 14px;
  margin: 22px auto;
}
.qr svg {
  width: 100%;
  height: 100%;
}
.sheet-link {
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
  text-align: center;
  direction: ltr;
}
#toast {
  position: fixed;
  top: calc(80px + var(--safe-top));
  left: 50%;
  transform: translate(-50%, -12px);
  opacity: 0;
  pointer-events: none;
  z-index: 70;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 13px 18px;
  width: max-content;
  max-width: calc(100% - 40px);
  font-size: 13px;
  transition:
    opacity 0.25s,
    transform 0.4s var(--spring);
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  display: inline-block;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.page-enter {
  animation: enter 0.4s var(--spring);
}
.swipe-content {
  position: relative;
  touch-action: pan-y;
  transition: transform 0.4s var(--spring);
}
.swipe-reveal {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 15px;
  background: var(--panel2);
  gap: 8px;
  transform: translateX(105%);
  transition: transform 0.4s var(--spring);
}
.list-item.swiped .swipe-reveal {
  transform: translateX(0);
}
.list-item.swiped .swipe-content {
  transform: translateX(-120px);
}
[dir="rtl"] .list-item.swiped .swipe-content {
  transform: translateX(120px);
}
[dir="rtl"] h1 {
  letter-spacing: -0.8px;
}
[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}
[dir="rtl"] .swipe-reveal {
  transform: translateX(-105%);
}
[dir="rtl"] .list-item.swiped .swipe-reveal {
  transform: translateX(0);
}
.access-card {
  text-align: center;
  padding: 34px;
}
.access-card .glow-icon {
  margin: 0 auto 18px;
}
.access-card p {
  margin: 12px auto 22px;
  max-width: 370px;
}
.large-check {
  display: grid;
  place-items: center;
  margin: 20px auto;
}
.bars {
  display: flex;
  align-items: flex-end;
  height: 100px;
  gap: 4px;
  margin-top: 20px;
}
.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--gradient);
  opacity: 0.7;
  min-height: 3px;
}
.loading-line {
  min-height: 100px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.load-more {
  margin: 18px auto;
}
.settings-field {
  display: block;
  margin-top: 14px;
}
.settings-field span {
  font-size: 12px;
  color: var(--muted);
}
.settings-field input,
.settings-field select {
  margin-top: 7px;
}
@keyframes float {
  to {
    transform: translate3d(8vw, 10vh, 0) scale(1.1);
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sheet-in {
  from {
    transform: translateY(100%);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes success {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes check {
  from {
    stroke-dashoffset: 30;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@media (min-width: 900px) {
  main {
    padding-top: 55px;
  }
  .hero-card {
    padding: 34px;
  }
  .desktop-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 22px;
    align-items: start;
  }
  .desktop-grid .section-label {
    margin-top: 2px;
  }
  .desktop-grid .feature-row {
    grid-column: 1/-1;
  }
  .sheet-overlay {
    align-items: center;
  }
  .sheet {
    border-radius: 29px;
    padding-bottom: 27px;
  }
  .tabs {
    bottom: 24px;
  }
}
@media (max-width: 480px) {
  main {
    padding: 29px 18px calc(110px + var(--safe-bottom));
  }
  .nav {
    padding-inline: 18px;
  }
  .beta {
    display: none;
  }
  .hero-card {
    padding: 23px;
  }
  .hero-actions .micro {
    font-size: 10px;
  }
  .hero-actions .primary {
    padding-inline: 17px;
    font-size: 13px;
  }
  .pagehead {
    margin-bottom: 25px;
  }
  .gauge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 20px;
  }
  .connection {
    font-size: 10px;
  }
  .feature-row {
    gap: 8px;
  }
  .feature {
    padding: 17px 7px;
  }
  .footnote {
    font-size: 8px;
  }
  .card {
    padding: 22px;
  }
  .list-item {
    padding: 15px 14px;
  }
  .item-actions button {
    padding: 7px;
  }
  .sheet {
    padding-inline: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .aurora i {
    transform: none;
  }
}
.primary svg,
.secondary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.preview-art svg {
  width: 30px;
  height: 30px;
}
.clipboard-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.pending-banner > svg {
  width: 22px;
  height: 22px;
}
.hero-actions .actions {
  flex-wrap: nowrap;
}
.hero-actions .micro {
  max-width: 110px;
}
.hero-actions .micro svg {
  flex-shrink: 0;
}
[dir="rtl"] .paste-wrap textarea {
  padding-left: 70px;
  padding-right: 16px;
}
::view-transition-old(selected-file),
::view-transition-new(selected-file) {
  animation-duration: 0.4s;
  animation-timing-function: var(--spring);
}
@media (max-width: 480px) {
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-actions .micro {
    max-width: none;
    width: 100%;
    margin-bottom: 2px;
  }
  .hero-actions .actions {
    width: 100%;
  }
  .hero-actions .secondary {
    flex: 1;
  }
  .hero-actions .primary {
    flex: 1.5;
  }
}
