:root {
  --bg:#07060f;
  --bg2:#0e0c1d;
  --card:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.10);
  --t1:#fff;
  --t2:rgba(255,255,255,.72);
  --t3:rgba(255,255,255,.48);
  --c1:#22e1ff;
  --c2:#7c5cff;
  --c3:#ff4fd8;
  --ok:#3dffa8;
  --warn:#ffb648;
  --bad:#ff5d73;
  --grad:linear-gradient(
      120deg,var(--c1),var(--c2) 50%,var(--c3));
  --r:18px;
  --tab:68px;
  --safe:env(safe-area-inset-bottom,0px);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--t1);
  font:
    15px/1.5 -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans SC",
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
a {
  color: var(--c1);
}
.hide {
  display: none !important;
}
#stage {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background:
    radial-gradient(
      60vw 60vw at 10% 0%,
      rgba(124, 92, 255, .25),
      transparent 60%),
    radial-gradient(
      50vw 50vw at 100% 100%,
      rgba(255, 79, 216, .18),
      transparent 60%),
    var(--bg);
}
#app {
  position: relative;
  height: 100%;
  max-width: 440px;
  margin: 0 auto;
  overflow: hidden;
  overflow: clip;
  background: var(--bg);
}
.bgfx {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 600px) {
  #app {
    height: calc(100% - 40px);
    margin-top: 20px;
    border-radius: 34px;
    border: 1px solid var(--line);
    box-shadow: 0 0 0 8px #000, 0 0 80px rgba(124, 92, 255, .35);
  }
}
.aurora {
  position: absolute;
  top: -30%;
  right: -30%;
  left: -30%;
  height: 520px;
  pointer-events: none;
  filter: blur(60px);
  opacity: .55;
  z-index: 0;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      #22e1ff55,
      #7c5cff66,
      #ff4fd855,
      #22e1ff55);
  animation: spin 18s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.view {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  bottom: calc(var(--tab) + var(--safe));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  scrollbar-width: none;
}
.view::-webkit-scrollbar {
  display: none;
}
.pad {
  padding: 0 16px;
}
.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
  background: linear-gradient(var(--bg) 60%, transparent);
}
.topbar h1 {
  font-size: 19px;
  margin: 0;
  font-weight: 800;
  letter-spacing: .5px;
}
.brand {
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 13px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sp {
  flex: 1;
}
.iconbtn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
}
.iconbtn svg {
  width: 20px;
  height: 20px;
}
.keydot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--t2);
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--line);
}
.keydot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bad);
  box-shadow: 0 0 10px var(--bad);
}
.keydot.on i {
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}
.hero {
  position: relative;
  height: 300px;
  margin: 0 16px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0a18;
  isolation: isolate;
}
.wall {
  position: absolute;
  right: -30px;
  top: -40px;
  display: flex;
  gap: 10px;
  transform: rotate(12deg);
  transform-origin: 100% 0;
  opacity: .9;
  z-index: -1;
}
.wall .col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: up 38s linear infinite;
}
.wall .col:nth-child(2) {
  animation-duration: 30s;
  animation-direction: reverse;
}
.wall .col:nth-child(3) {
  animation-duration: 44s;
}
.wall img {
  width: 96px;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
@keyframes up {
  to {
    transform: translateY(-50%);
  }
}
.hero:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #0b0a18 34%,
      rgba(11, 10, 24, .55) 62%,
      rgba(11, 10, 24, .1)),
    linear-gradient(
      0deg,
      #0b0a18,
      transparent 45%);
}
.hero .txt {
  position: absolute;
  left: 20px;
  top: 26px;
  right: 20px;
}
.hero .tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(34, 225, 255, .12);
  color: var(--c1);
  border: 1px solid rgba(34, 225, 255, .35);
  letter-spacing: 1px;
}
.hero h2 {
  margin: 12px 0 6px;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 1px;
}
.shine {
  background:
    linear-gradient(
      100deg,
      #fff 0%,
      #fff 35%,
      var(--c1) 45%,
      var(--c3) 55%,
      #fff 65%,
      #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0% {
    background-position: 100% 0;
  }
  60%, 100% {
    background-position: -50% 0;
  }
}
.hero p {
  margin: 0;
  color: var(--t2);
  font-size: 14px;
}
.hero .cta {
  position: absolute;
  left: 20px;
  bottom: 22px;
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .12s;
}
.btn:active {
  transform: scale(.96);
}
.btn.main {
  background: var(--grad);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 92, 255, .45);
  position: relative;
  overflow: hidden;
}
.btn.main:after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  pointer-events: none;
  width: 40%;
  height: 100%;
  transform: skewX(-20deg);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, .45),
      transparent);
  animation: sweep 2.8s ease-in-out infinite;
}
@keyframes sweep {
  0% {
    left: -60%;
  }
  60%, 100% {
    left: 130%;
  }
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn.sm {
  height: 34px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 13px;
}
.btn.block {
  width: 100%;
}
.btn[disabled] {
  opacity: .45;
  pointer-events: none;
}
.entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px;
}
.entry {
  position: relative;
  border-radius: 22px;
  padding: 16px 14px 14px;
  min-height: 132px;
  overflow: hidden;
  text-align: left;
  isolation: isolate;
  background: #100e22;
}
.entry:before {
  content: "";
  position: absolute;
  top: -60%;
  right: -60%;
  bottom: -60%;
  left: -60%;
  z-index: -2;
  background:
    conic-gradient(
      var(--c1),
      var(--c2),
      var(--c3),
      var(--c1));
  animation: spin 5s linear infinite;
}
.entry:after {
  content: "";
  position: absolute;
  top: 1.5px;
  right: 1.5px;
  bottom: 1.5px;
  left: 1.5px;
  border-radius: 21px;
  z-index: -1;
  background:
    radial-gradient(
      120px 90px at 85% 90%,
      rgba(124, 92, 255, .35),
      transparent),
    #100e22;
}
.entry.b:after {
  background:
    radial-gradient(
      120px 90px at 85% 90%,
      rgba(255, 79, 216, .32),
      transparent),
    #100e22;
}
.entry b {
  display: block;
  font-size: 17px;
  font-weight: 800;
}
.entry small {
  display: block;
  color: var(--t2);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.4;
}
.entry .ico {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
}
.entry .ico svg {
  width: 24px;
  height: 24px;
}
.ribbon {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 0 0 12px 0;
  background: var(--c3);
  color: #fff;
}
.tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 16px 8px;
}
.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--t2);
}
.tool span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
}
.tool svg {
  width: 22px;
  height: 22px;
}
.sec {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 10px;
  font-weight: 800;
  font-size: 16px;
}
.sec:before,
.sec:after {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 16px;
  padding: 4px;
  border-radius: 15px;
  background: var(--card);
  border: 1px solid var(--line);
}
.seg button {
  position: relative;
  z-index: 1;
  height: 38px;
  border-radius: 11px;
  font-weight: 700;
  color: var(--t2);
  transition: color .2s;
}
.seg button.on {
  color: #fff;
}
.seg .ind {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 11px;
  background: var(--grad);
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1);
  box-shadow: 0 4px 18px rgba(124, 92, 255, .5);
}
.seg.r .ind {
  transform: translateX(100%);
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px 4px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  height: 32px;
  padding: 0 14px;
  border-radius: 99px;
  font-size: 13px;
  color: var(--t2);
  background: var(--card);
  border: 1px solid var(--line);
}
.chip.on {
  color: #07060f;
  background: #fff;
  font-weight: 700;
  border-color: #fff;
}
.grid {
  columns: 2;
  column-gap: 10px;
  padding: 10px 16px 24px;
}
.card {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #151229;
  border: 1px solid var(--line);
  display: block;
  width: 100%;
  text-align: left;
}
.card .media {
  position: relative;
  aspect-ratio: 9/16;
}
.card img,
.card video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card video {
  opacity: 0;
  transition: opacity .4s;
}
.card video.ready {
  opacity: 1;
}
.card .pbadge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .42);
  border: 1.5px solid rgba(255, 255, 255, .75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 2;
}
.card .pbadge svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}
.card .shade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}
.card .dur {
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.card .kind {
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(124, 92, 255, .75);
}
.card .kind.av {
  background: rgba(255, 79, 216, .75);
}
.card .meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
}
.card .meta b {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}
.card .same {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--grad);
}
#tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--tab) + var(--safe));
  padding-bottom: var(--safe);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: rgba(10, 9, 22, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
#tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--t3);
}
#tabs button svg {
  width: 22px;
  height: 22px;
}
#tabs button.on {
  color: #fff;
}
#tabs button.on svg {
  filter: drop-shadow(0 0 6px var(--c1));
}
#tabs .plus {
  width: 54px;
  height: 54px;
  margin: -24px auto 0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 6px 26px rgba(124, 92, 255, .6), 0 0 0 5px var(--bg);
  color: #fff;
}
#tabs .plus svg {
  width: 28px;
  height: 28px;
}
#tabs .dot {
  position: absolute;
  margin-left: 18px;
  margin-top: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  font-size: 10px;
  line-height: 16px;
  color: #fff;
  background: var(--c3);
}
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 16px 6px;
}
.mode {
  border-radius: 16px;
  padding: 12px;
  text-align: left;
  background: var(--card);
  border: 1.5px solid var(--line);
  transition: .2s;
}
.mode b {
  display: block;
  font-size: 15px;
}
.mode small {
  color: var(--t3);
  font-size: 12px;
}
.mode.on {
  border-color: transparent;
  background: linear-gradient(#141129, #141129) padding-box, var(--grad) border-box;
  box-shadow: 0 0 22px rgba(124, 92, 255, .35);
}
.step {
  margin: 12px 16px;
  padding: 14px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
}
.step h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
}
.step h3 .n {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  background: var(--grad);
}
.step h3 small {
  margin-left: auto;
  font-weight: 400;
  color: var(--t3);
  font-size: 12px;
}
.lbl {
  display: block;
  font-size: 12px;
  color: var(--t3);
  margin: 10px 0 6px;
}
.lbl:first-of-type {
  margin-top: 0;
}
.opts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.opt {
  min-width: 64px;
  height: 36px;
  padding: 0 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  color: var(--t2);
  font-size: 14px;
}
.opt.on {
  background: #fff;
  color: #07060f;
  font-weight: 700;
}
.field {
  width: 100%;
  border-radius: 13px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
  padding: 11px 12px;
  outline: none;
  resize: vertical;
  min-height: 44px;
}
.field:focus {
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .25);
}
textarea.field {
  min-height: 92px;
}
.fieldwrap {
  position: relative;
}
.fieldwrap .mic {
  position: absolute;
  right: 8px;
  bottom: 8px;
}
.mic {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  border-radius: 99px;
  font-size: 12px;
  background: rgba(34, 225, 255, .12);
  border: 1px solid rgba(34, 225, 255, .4);
  color: var(--c1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.mic svg {
  width: 15px;
  height: 15px;
}
.mic.rec {
  background: var(--bad);
  border-color: var(--bad);
  color: #fff;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(255, 93, 115, .2);
  }
}
.hint {
  font-size: 12px;
  color: var(--t3);
  margin-top: 6px;
  line-height: 1.5;
}
.hint.warn {
  color: var(--warn);
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
select.field {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      var(--t2) 50%),
    linear-gradient(
      135deg,
      var(--t2) 50%,
      transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}
select.field option {
  background: #141129;
}
.pics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pic {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  border: 1px dashed rgba(255, 255, 255, .25);
  display: grid;
  place-items: center;
  color: var(--t3);
  font-size: 11px;
}
.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pic .x {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .65);
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}
.pic .no {
  position: absolute;
  left: 4px;
  bottom: 4px;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
}
.pic.add svg {
  width: 24px;
  height: 24px;
}
.avatarbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line);
}
.avatarbox .face {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--grad);
  font-weight: 900;
  overflow: hidden;
}
.avatarbox .face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatarbox div {
  flex: 1;
  min-width: 0;
}
.avatarbox b {
  display: block;
}
.avatarbox small {
  display: block;
  color: var(--t3);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
details.adv {
  margin-top: 10px;
}
details.adv summary {
  color: var(--t3);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
details.adv summary:before {
  content: "\25b8  ";
}
details.adv[open] summary:before {
  content: "\25be  ";
}
.costline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--t3);
  margin: 0 16px 8px;
}
.costline b {
  color: var(--warn);
  font-weight: 700;
}
.actions {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  padding: 12px 16px 14px;
  background: linear-gradient(transparent, var(--bg) 35%);
  z-index: 4;
}
.actions .btn {
  height: 52px;
  border-radius: 16px;
}
.actions .btn.main {
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}
.actions .btn.main small {
  font-size: 11px;
  font-weight: 400;
  opacity: .85;
}
.wgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 6px 16px 24px;
}
.work {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #151229;
  border: 1px solid var(--line);
  text-align: left;
}
.work .media {
  position: relative;
  aspect-ratio: 9/16;
  background: #0d0b1a;
}
.work.sq .media {
  aspect-ratio: 1;
}
.work img,
.work video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work .info {
  padding: 8px 10px 10px;
}
.work .info b {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work .info small {
  display: block;
  font-size: 11px;
  color: var(--t3);
}
.work .badge {
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.work .badge.run {
  background: rgba(124, 92, 255, .85);
}
.work .badge.bad {
  background: rgba(255, 93, 115, .85);
}
.work .play {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.work .play svg {
  width: 20px;
  height: 20px;
}
.running {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  color: var(--t2);
  background:
    linear-gradient(
      110deg,
      rgba(21, 18, 41, .55) 30%,
      rgba(70, 55, 140, .7) 50%,
      rgba(21, 18, 41, .55) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}
.empty {
  text-align: center;
  color: var(--t3);
  padding: 60px 30px;
}
.empty svg {
  width: 64px;
  height: 64px;
  opacity: .5;
}
.copycard {
  margin: 0 16px 10px;
  padding: 14px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
  width: calc(100% - 32px);
  display: block;
}
.copycard b {
  display: block;
  margin-bottom: 4px;
}
.copycard p {
  margin: 0;
  color: var(--t2);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.copycard small {
  color: var(--t3);
  font-size: 11px;
}
.out {
  margin: 12px 16px;
  padding: 16px;
  border-radius: var(--r);
  white-space: pre-wrap;
  line-height: 1.75;
  font-size: 15px;
  background: linear-gradient(#100e22, #100e22) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  min-height: 120px;
}
.out .cursor {
  display: inline-block;
  width: 8px;
  height: 18px;
  vertical-align: -3px;
  background: var(--c1);
  animation: blink .8s infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.outbar {
  display: flex;
  gap: 8px;
  margin: 0 16px 20px;
  flex-wrap: wrap;
}
.panel {
  margin: 12px 16px;
  padding: 16px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
}
.panel h3 {
  margin: 0 0 4px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel p.sub {
  margin: 0 0 12px;
  color: var(--t3);
  font-size: 12px;
}
.keyrow {
  display: flex;
  gap: 8px;
}
.keyrow .field {
  flex: 1;
  font-family:
    ui-monospace,
    Consolas,
    monospace;
  font-size: 13px;
}
.steps {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.steps li {
  position: relative;
  padding: 0 0 12px 34px;
  font-size: 13px;
  color: var(--t2);
  line-height: 1.6;
  counter-increment: s;
}
.steps li:before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: rgba(124, 92, 255, .35);
  color: #fff;
}
.steps li b {
  color: #fff;
}
.switch {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .15);
  transition: .2s;
  flex: none;
}
.switch:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: .2s;
}
.switch.on {
  background: var(--ok);
}
.switch.on:after {
  left: 23px;
}
.line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.line:first-of-type {
  border-top: 0;
}
.line div {
  flex: 1;
}
.line b {
  display: block;
  font-size: 14px;
}
.line small {
  display: block;
  font-size: 12px;
  color: var(--t3);
}
.foot {
  text-align: center;
  color: var(--t3);
  font-size: 11px;
  padding: 10px 20px 30px;
  line-height: 1.7;
}
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background: #000;
  display: flex;
  flex-direction: column;
}
.layer .close {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.layer .close svg {
  width: 22px;
  height: 22px;
}
.feed {
  flex: 1;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.feed::-webkit-scrollbar {
  display: none;
}
.slide {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}
.slide video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.slide .cap {
  position: absolute;
  left: 0;
  right: 70px;
  bottom: 0;
  padding: 16px 16px 22px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}
.slide .cap b {
  font-size: 17px;
  display: block;
  margin-bottom: 6px;
}
.slide .cap p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--t2);
}
.slide .cap .q {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-block;
  margin-top: 4px;
}
.slide .side {
  position: absolute;
  right: 10px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.slide .side button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
}
.slide .side span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.slide .side .go span {
  background: var(--grad);
  box-shadow: 0 0 20px rgba(255, 79, 216, .6);
}
.slide .side svg {
  width: 22px;
  height: 22px;
}
.slide .mute {
  position: absolute;
  right: 12px;
  top: 14px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(0, 0, 0, .45);
}
.slide .unmute {
  position: absolute;
  right: 12px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 15px;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.slide .bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .15);
}
.slide .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
}
#gen {
  background:
    radial-gradient(
      circle at 50% 40%,
      #1b1640,
      #07060f 70%);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.orb {
  position: relative;
  width: 210px;
  height: 210px;
  margin-bottom: 26px;
}
.orb .ring {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50%;
  background: conic-gradient(var(--c1) var(--p,0%), rgba(255, 255, 255, .08) 0);
  -webkit-mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 9px),
      #000 calc(100% - 8px));
  mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 9px),
      #000 calc(100% - 8px));
  transition: --p .4s;
}
.orb .glow {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border-radius: 50%;
  background:
    conic-gradient(
      var(--c1),
      var(--c2),
      var(--c3),
      var(--c1));
  filter: blur(22px);
  opacity: .55;
  animation: spin 3s linear infinite;
}
.orb .core {
  position: absolute;
  top: 26px;
  right: 26px;
  bottom: 26px;
  left: 26px;
  border-radius: 50%;
  background: #0c0a1d;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.orb .core:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 6px,
      rgba(34, 225, 255, .06) 6px 7px);
  animation: scan 2s linear infinite;
}
@keyframes scan {
  to {
    transform: translateY(14px);
  }
}
.orb .pct {
  position: relative;
  font-size: 44px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.orb .pct small {
  font-size: 18px;
}
.orb.counting .pct {
  opacity: 0;
}
.orb .count {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  font-size: 96px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pop .9s ease-out;
}
@keyframes pop {
  0% {
    transform: scale(2.2);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.stages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  width: 250px;
}
.stage {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--t3);
  font-size: 14px;
}
.stage i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .2);
  flex: none;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
}
.stage.now {
  color: #fff;
}
.stage.now i {
  border-color: var(--c1);
  border-top-color: transparent;
  animation: spin .8s linear infinite;
}
.stage.done {
  color: var(--t2);
}
.stage.done i {
  border-color: var(--ok);
  background: var(--ok);
  color: #07060f;
}
.stage.done i:after {
  content: "\2713";
  font-weight: 900;
}
#gen .tip {
  margin-top: 20px;
  color: var(--t3);
  font-size: 12px;
  max-width: 290px;
}
#gen .btns {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}
.modal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
}
.sheet {
  width: 100%;
  max-height: 88%;
  overflow: auto;
  border-radius: 24px 24px 0 0;
  background: #110f24;
  border-top: 1px solid var(--line);
  padding: 20px 18px calc(20px + var(--safe));
  animation: rise .3s ease-out;
}
@keyframes rise {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}
.sheet h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.sheet p,
.sheet li {
  color: var(--t2);
  font-size: 14px;
  line-height: 1.7;
}
.sheet ul {
  padding-left: 20px;
  margin: 8px 0;
}
.sheet .btns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.sheet .btns .btn {
  flex: 1;
}
.resultv {
  width: 100%;
  max-height: 52vh;
  border-radius: 16px;
  background: #000;
  display: block;
}
#toast {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translate(-50%, -140%);
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  max-width: 86%;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 14px;
  background: rgba(20, 18, 40, .95);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
#toast.bad {
  border-color: var(--bad);
}
#toast.ok {
  border-color: var(--ok);
}
.envbar {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  background: rgba(255, 182, 72, .14);
  border: 1px solid rgba(255, 182, 72, .55);
  color: #ffe2b3;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.envbar span {
  flex: 1;
}
.envbar b {
  color: #fff;
}
.envbar button {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  font-size: 15px;
  line-height: 1;
}
.envbar.strong {
  background: rgba(255, 93, 115, .18);
  border-color: rgba(255, 93, 115, .7);
  color: #ffd0d7;
}
#app.has-envbar .view {
  top: var(--envh,0px);
}
@supports not (aspect-ratio: 1/1) {
  .card .media::before,
  .work .media::before {
    content: "";
    display: block;
    padding-top: 177.78%;
  }
  .work.sq .media::before {
    padding-top: 100%;
  }
  .pic {
    height: 0;
    padding-top: 100%;
  }
  .pic.v916 {
    padding-top: 177.78%;
  }
}
#app.playing .envbar {
  display: none;
}
