* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #1f2937;
  background: #f6f7f9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(980px, calc(100vw - 32px));
  margin: 32px auto;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.1;
}

p {
  margin: 0;
  color: #667085;
}

.badge {
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  padding: 6px 10px;
  color: #344054;
  background: #fff;
  font-size: 13px;
}

.decrypt-section {
  width: min(420px, 100%);
  margin-bottom: 14px;
}

.decrypt-drop {
  min-height: 368px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px 20px;
  border: 2px dashed rgba(148, 163, 184, .34);
  border-radius: 10px;
  color: #f8fafc;
  background: rgba(0, 0, 0, .72);
  text-align: center;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.decrypt-drop:hover,
.decrypt-drop.drag-over {
  border-color: rgba(125, 211, 252, .72);
  background: rgba(0, 0, 0, .8);
  transform: translateY(-1px);
}

.decrypt-logo-wrap {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
}

.decrypt-logo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

.decrypt-drop strong {
  color: #f8fafc;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
}

.decrypt-drop span:last-child {
  max-width: 320px;
  color: #a8b0bb;
  font-size: 13px;
  line-height: 1.5;
}

.decrypt-hidden-controls {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.login-panel,
.account-panel,
.works,
.app-search,
.app-detail,
.trial-panel,
.member-panel,
.recommend-panel {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
}

.hidden {
  display: none !important;
}

.view-hidden {
  display: none !important;
}

.login-heading {
  margin-bottom: 12px;
}

.login-heading h2 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
}

.login-heading p {
  color: #667085;
  font-size: 14px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tab {
  min-width: auto;
  height: 34px;
  color: #344054;
  border-color: #d0d5dd;
  background: #fff;
}

.tab.active {
  color: #fff;
  border-color: #111827;
  background: #111827;
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 8px;
}

.secondary {
  border-color: #cfd6e0;
  color: #111827;
  background: #fff;
}

.hint {
  margin-top: 10px;
  font-size: 13px;
}

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

.account-panel small {
  display: block;
  margin-top: 4px;
  color: #667085;
}

.account-trial-button {
  width: min(220px, 100%);
  height: 38px;
  margin-top: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.account-trial-stats {
  width: min(720px, 100%);
  margin-top: 12px;
}

.trial-stats > div.account-cdk-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.account-cdk-value {
  min-width: 0;
}

.account-copy-cdk {
  min-width: 92px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.actions {
  display: flex;
  gap: 8px;
}

.team-select {
  width: 180px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.section-head p {
  font-size: 13px;
}

.section-head span,
.works-head span {
  min-width: 32px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #344054;
  background: #eef2f7;
  font-size: 13px;
  font-weight: 700;
}

.app-search-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.domain-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #f8fafc;
}

.domain-btn {
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: #475467;
  background: transparent;
}

.domain-btn.active {
  color: #fff;
  background: #111827;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding-right: 42px;
}

.clear-search {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #667085;
  background: #eef2f7;
  font-size: 20px;
  line-height: 1;
}

.mini-status {
  margin: 10px 0 12px;
  color: #667085;
  font-size: 13px;
}

.author-matches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.author-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #cfd6e0;
  border-radius: 999px;
  color: #344054;
  background: #fff;
  cursor: pointer;
}

.author-chip img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.app-grid.app-featured-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.app-card {
  display: grid;
  grid-template-rows: 128px auto;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.app-featured-card {
  position: relative;
  grid-template-rows: 1fr;
  min-height: 188px;
  aspect-ratio: 3 / 4;
  border-color: rgba(255, 255, 255, .16);
  background: #080a12;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .30);
}

.app-featured-card:focus-visible {
  outline: 2px solid rgba(122, 191, 255, .92);
  outline-offset: 2px;
}

.app-cover {
  position: relative;
  background: #111827;
  overflow: hidden;
}

.app-featured-card .app-cover {
  grid-row: 1;
  min-height: 0;
}

.app-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-featured-card .app-cover::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .88));
  pointer-events: none;
}

.app-use {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 39, .76);
  font-size: 12px;
  font-weight: 700;
}

.app-featured-card .app-use {
  right: 7px;
  top: 7px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .68);
  font-size: 11px;
}

.app-body {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.app-featured-card .app-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  gap: 4px;
  padding: 34px 8px 9px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .80));
}

.app-name {
  min-height: 38px;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.app-featured-card .app-name {
  min-height: 0;
  display: -webkit-box;
  color: #fff;
  font-size: 13px;
  line-height: 1.28;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .72);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.app-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #475467;
  font-size: 12px;
}

.app-featured-card .app-author {
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.app-author img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.app-featured-card .app-actions {
  display: none;
}

.featured-pagination {
  width: min(360px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 14px auto 0;
}

.featured-pagination button {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--neon-white);
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 800;
}

.featured-page-indicator {
  min-width: 72px;
  padding: 0 12px;
  color: var(--neon-white);
  font-size: 13px;
  font-weight: 900;
  line-height: 34px;
  text-align: center;
  white-space: nowrap;
}

.featured-pagination button.active {
  border-color: rgba(122, 191, 255, .82);
  background: linear-gradient(135deg, rgba(46, 132, 255, .55), rgba(116, 76, 255, .62));
}

.featured-pagination button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

@media (max-width: 980px) {
  .app-grid.app-featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .app-grid.app-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 18px;
  }

  .app-featured-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .app-featured-card .app-use {
    right: 6px;
    top: 6px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .app-featured-card .app-body {
    padding: 28px 8px 9px;
  }

  .app-featured-card .app-name {
    font-size: 12px;
    line-height: 1.25;
  }

  .app-featured-card .app-author {
    gap: 4px;
    font-size: 10px;
  }

  .app-featured-card .app-author img {
    width: 16px;
    height: 16px;
  }

  .featured-pagination {
    width: 100%;
    gap: 10px;
  }
}

.app-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-actions a,
.app-actions button {
  height: 30px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
}

.app-actions a {
  color: #fff;
  background: #111827;
}

#appLoadMore {
  width: 100%;
  margin-top: 12px;
}

.detail-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.detail-top strong {
  text-align: center;
}

.detail-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.detail-cover {
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #111827;
}

.detail-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.detail-info {
  display: grid;
  align-content: start;
  gap: 10px;
}

.detail-info h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.detail-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475467;
}

.detail-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-stat {
  min-width: 86px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f2f4f7;
  font-size: 13px;
  font-weight: 700;
}

#detailDesc {
  white-space: pre-wrap;
  font-size: 13px;
}

.detail-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 14px;
}

.input-panel,
.run-panel {
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fbfcfe;
}

.input-panel h3,
.run-panel h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.param-field {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.param-field label {
  color: #344054;
  font-weight: 700;
}

.param-field textarea {
  min-height: 92px;
  resize: vertical;
  border: 1px solid #cfd6e0;
  border-radius: 6px;
  padding: 9px 10px;
  font: inherit;
}

.upload-box {
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px dashed #98a2b3;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  cursor: pointer;
}

.upload-box.has-file {
  border-color: #16a34a;
  color: #166534;
  background: #f0fdf4;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#runAppBtn {
  width: 100%;
  margin-top: 4px;
}

.safe-line {
  margin-top: 10px;
  color: #667085;
  font-size: 13px;
}

.run-status {
  min-height: 48px;
  padding: 12px;
  border-radius: 8px;
  color: #344054;
  background: #f2f4f7;
  white-space: pre-wrap;
}

.run-status.running {
  color: #0369a1;
  background: #eef8ff;
}

.run-status.done {
  color: #166534;
  background: #f0fdf4;
}

.run-status.error {
  color: #991b1b;
  background: #fff7f7;
}

.run-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.run-result {
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
}

.run-file {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  text-align: center;
  background: #f8fafc;
}

.run-file strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  color: #fff;
  background: #111827;
  font-size: 16px;
}

.run-file span {
  max-width: 100%;
  overflow: hidden;
  color: #475467;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.run-result button {
  width: calc(100% - 16px);
  margin: 8px;
}

.works-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.works h2 {
  margin: 0;
  font-size: 18px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.work-card {
  height: 214px;
  display: grid;
  grid-template-rows: 124px 34px 32px;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #7370d8 0%, #6c62c7 62%, #151321 100%);
  overflow: hidden;
}

.work-card.has-preview {
  background: #20242b;
}

.work-time {
  grid-row: 1;
  grid-column: 1;
  justify-self: start;
  align-self: start;
  z-index: 1;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(24, 31, 74, .78);
  font-size: 12px;
  font-weight: 700;
}

.work-preview {
  grid-row: 1;
  grid-column: 1;
  display: grid;
  place-items: center;
  height: 124px;
  margin: -8px -8px 0;
  overflow: hidden;
}

.work-preview img {
  width: 100%;
  height: 124px;
  display: block;
  object-fit: cover;
}

.work-preview span {
  font-size: 30px;
  font-weight: 800;
}

.work-body {
  grid-row: 2 / 4;
  display: grid;
  grid-template-rows: 34px 32px;
  gap: 6px;
  min-height: 0;
}

.work-name {
  height: 34px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .48);
}

.work-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-items: stretch;
  min-width: 0;
}

.work-actions button,
.work-actions a {
  width: 100%;
  height: 32px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #2f57c9;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.work-actions .green {
  background: #2f9e44;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

label {
  font-size: 13px;
  color: #475467;
}

input,
select,
button {
  max-width: 100%;
  height: 40px;
  border: 1px solid #cfd6e0;
  border-radius: 6px;
  padding: 0 10px;
  font: inherit;
  background: #fff;
}

button {
  min-width: 112px;
  border-color: #111827;
  color: #fff;
  background: #111827;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .6;
}

.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 5, 16, .72);
  backdrop-filter: blur(10px);
}

.notice-box {
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045)),
    linear-gradient(145deg, rgba(18, 20, 75, .92), rgba(8, 10, 28, .96));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5), 0 0 36px rgba(157, 92, 255, .18);
}

.notice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.notice-head h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

.notice-content {
  display: grid;
  gap: 10px;
}

.notice-content p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.7;
}

.notice-box > button:not(.icon-btn) {
  justify-self: end;
}

.login-required-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 5, 16, .50);
  backdrop-filter: blur(8px);
}

.login-required-box {
  width: min(360px, 100%);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045)),
    linear-gradient(145deg, rgba(18, 20, 75, .94), rgba(8, 10, 28, .98));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .46), 0 0 30px rgba(34, 211, 238, .16);
  text-align: center;
}

.login-required-box strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}

.captcha-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, .56);
}

.captcha-box {
  width: min(420px, 100%);
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .28);
}

.email-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 39, .58);
}

.email-guide-box {
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  display: grid;
  gap: 14px;
  padding: 18px;
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, .32);
}

.email-guide-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.email-guide-head strong {
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
}

.email-guide-images {
  display: grid;
  gap: 12px;
}

.email-guide-images img {
  width: 100%;
  max-height: 360px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #0f1117;
}

.email-guide-box p {
  margin: 0;
  color: #344054;
  font-size: 15px;
  line-height: 1.6;
}

.extract-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, .56);
}

.trial-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 11, 20, .72);
}

.trial-promo-frame {
  width: min(520px, calc(100vw - 28px));
  height: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  cursor: pointer;
}

.trial-promo-frame img {
  width: 100%;
  max-height: calc(100vh - 32px);
  display: block;
  object-fit: contain;
}

.extract-box {
  width: min(360px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .28);
}

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

.extract-head strong {
  font-size: 18px;
}

.extract-password,
.extract-confirm {
  width: 100%;
}

.extract-password::placeholder {
  color: rgba(102, 112, 133, .58);
}

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

.icon-btn {
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
  border-color: #e5e7eb;
  color: #111827;
  background: #fff;
  font-size: 22px;
  line-height: 1;
}

.captcha-stage {
  position: relative;
  width: 100%;
  margin: 14px 0 12px;
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f7;
}

.captcha-stage img {
  display: block;
  user-select: none;
  pointer-events: none;
}

#captchaBg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#captchaPiece {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: auto;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
}

.captcha-slider {
  width: 100%;
  padding: 0;
}

.captcha-actions {
  margin-top: 10px;
}

.captcha-actions span {
  color: #667085;
  font-size: 13px;
}

.status {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
  color: #475467;
  white-space: pre-wrap;
}

.results {
  display: grid;
  gap: 10px;
}

.recommend-panel {
  margin-top: 14px;
}

.recommend-head {
  width: min(420px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.recommend-panel h2 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.recommend-back {
  min-width: 64px;
  height: 34px;
  padding: 0 14px;
  color: #111827;
  border-color: #cfd6e0;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.recommend-stack {
  display: grid;
  gap: 10px;
}

.recommend-layer {
  display: grid;
  gap: 10px;
}

.recommend-button {
  width: min(420px, 100%);
  height: 54px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800;
}

.secondary-recommend {
  border-color: #243041;
  color: #fff;
  background: #243041;
}

.trial-panel {
  position: relative;
  overflow: hidden;
}

.member-panel {
  overflow: hidden;
}

.trial-card {
  width: min(720px, 100%);
  display: grid;
  gap: 14px;
}

.member-card {
  width: min(720px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.member-promo-action {
  width: min(520px, 100%);
  height: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
}

.member-promo-action img {
  width: 100%;
  display: block;
}

.member-copy {
  width: min(620px, 100%);
  color: #b45309;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}

.purchase-qq-link {
  min-width: 0;
  padding: 0;
  border: 0;
  color: #fde047;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.purchase-qq-link:hover {
  color: #fef08a;
  background: transparent;
  text-shadow: 0 0 18px rgba(253, 224, 71, .38);
}

.trial-login-mask {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(185, 28, 28, .54);
  backdrop-filter: blur(1px);
}

.trial-login-warning {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.trial-login-warning strong {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #dc2626;
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(127, 29, 29, .35);
}

.trial-login-warning span {
  color: #fde047;
  font-size: 20px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(127, 29, 29, .36);
}

.trial-card h2 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
}

.trial-row {
  display: grid;
  gap: 6px;
}

.trial-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.trial-copy-row input {
  width: 100%;
}

.trial-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trial-stats > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #f8fafc;
}

.trial-stats span {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 13px;
}

.trial-stats strong,
.trial-stats code {
  display: block;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  word-break: break-all;
}

.trial-guide {
  color: #344054;
}

.trial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
}

.result strong {
  display: block;
  margin-bottom: 4px;
}

.result small {
  color: #667085;
}

.result a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 600;
}

.site-disclaimer {
  max-width: 1180px;
  margin: 18px auto 28px;
  padding: 0 16px;
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fff7f7;
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .shell {
    width: 100%;
    margin: 0;
    padding: 20px 14px calc(112px + env(safe-area-inset-bottom));
  }

  .topbar {
    gap: 12px;
    margin-bottom: 16px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  p,
  .hint,
  .mini-status {
    line-height: 1.45;
  }

  .login-panel,
  .account-panel,
  .works,
  .app-search,
  .app-detail,
  .trial-panel,
  .member-panel,
  .recommend-panel,
  .panel,
  .status,
  .result {
    border-radius: 8px;
  }

  .login-panel,
  .account-panel,
  .works,
  .app-search,
  .app-detail,
  .trial-panel,
  .member-panel,
  .recommend-panel,
  .panel {
    padding: 14px;
  }

  .trial-copy-row,
  .trial-stats {
    grid-template-columns: 1fr;
  }

  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }

  .tab {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    height: auto;
    padding: 5px 4px;
    white-space: normal;
    text-align: center;
    font-size: 12px;
    line-height: 1.15;
  }

  .panel,
  .result,
  .login-grid,
  .account-panel,
  .app-search-row,
  .detail-hero,
  .detail-workspace,
  .code-row {
    grid-template-columns: 1fr;
  }

  .panel,
  .login-grid,
  .app-search-row,
  .code-row {
    gap: 12px;
  }

  .panel > *,
  .login-grid > *,
  .app-search-row > *,
  .code-row > *,
  .search-box {
    min-width: 0;
  }

  input,
  select,
  button {
    width: 100%;
    min-width: 0;
  }

  input[type="file"] {
    overflow: hidden;
    padding: 8px;
    line-height: 22px;
  }

  input[type="file"]::file-selector-button {
    max-width: 38%;
    margin-right: 8px;
    padding: 4px 10px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    color: #111827;
    background: #eef2f7;
  }

  .domain-switch {
    width: 100%;
  }

  .domain-btn {
    width: 100%;
  }

  .section-head {
    gap: 10px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .account-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

:root {
  --neon-bg-0: #03040c;
  --neon-bg-1: #080b22;
  --neon-bg-2: #12144b;
  --neon-purple: #9d5cff;
  --neon-blue: #22d3ee;
  --neon-pink: #f472ff;
  --neon-white: rgba(255, 255, 255, .94);
  --neon-muted: rgba(229, 237, 255, .72);
  --neon-faint: rgba(229, 237, 255, .52);
  --neon-border: rgba(255, 255, 255, .28);
  --neon-border-strong: rgba(255, 255, 255, .68);
  --neon-panel: rgba(8, 13, 35, .72);
  --neon-panel-soft: rgba(15, 22, 54, .62);
  --neon-control: rgba(255, 255, 255, .08);
  --neon-control-hover: rgba(255, 255, 255, .15);
  --neon-shadow: 0 22px 70px rgba(0, 0, 0, .38), 0 0 34px rgba(92, 140, 255, .14);
}

html {
  min-height: 100%;
  background:
    radial-gradient(ellipse 120% 80% at 68% -18%, rgba(37, 24, 112, .82), transparent 68%),
    linear-gradient(120deg, #050716 0%, #111044 54%, #060819 100%);
}

body {
  min-height: 100vh;
  color: var(--neon-white);
  background:
    radial-gradient(ellipse 120% 78% at 66% -18%, rgba(45, 32, 134, .72), transparent 66%),
    radial-gradient(ellipse 88% 58% at 30% -12%, rgba(34, 211, 238, .16), transparent 62%),
    linear-gradient(120deg, rgba(3, 4, 12, .96) 0%, rgba(9, 10, 36, .95) 30%, rgba(26, 17, 79, .92) 58%, rgba(3, 5, 16, .98) 100%),
    linear-gradient(160deg, rgba(34, 211, 238, .22) 0%, transparent 34%, rgba(157, 92, 255, .24) 70%, transparent 100%),
    linear-gradient(20deg, rgba(244, 114, 255, .15), transparent 45%, rgba(56, 189, 248, .14));
  background-size: 118% 118%, 118% 118%, 118% 118%, 118% 118%, 118% 118%;
  background-position: center -54px, center -46px, center -34px, center -34px, center -34px;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: -72px -72px 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0%, rgba(34, 211, 238, .12) 36%, rgba(157, 92, 255, .16) 64%, transparent 100%);
  background-size: 64px 64px, 64px 64px, 118% 118%;
  background-position: center -24px, center -24px, center -40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .18));
}

body,
h1,
h2,
h3,
strong,
label,
.login-heading h2,
.recommend-panel h2,
.trial-card h2,
.app-name,
.trial-stats strong,
.trial-stats code,
.email-guide-head strong,
.extract-head strong {
  color: var(--neon-white);
}

p,
.login-heading p,
.section-head p,
.mini-status,
.account-panel small,
.safe-line,
.detail-author,
.app-author,
.run-file span,
.result small,
.trial-stats span,
.trial-guide,
.email-guide-box p,
.captcha-actions span,
.site-disclaimer {
  color: var(--neon-muted);
}

.topbar {
  text-shadow: 0 0 24px rgba(34, 211, 238, .2);
}

.badge,
.login-panel,
.account-panel,
.works,
.app-search,
.app-detail,
.trial-panel,
.member-panel,
.recommend-panel,
.input-panel,
.run-panel,
.app-card,
.run-result,
.result,
.status,
.trial-stats > div,
.captcha-box,
.email-guide-box,
.extract-box {
  border-color: var(--neon-border);
  color: var(--neon-white);
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045)), var(--neon-panel);
  box-shadow: var(--neon-shadow);
  backdrop-filter: blur(18px);
}

.badge {
  border-color: var(--neon-border-strong);
}

.decrypt-drop {
  border-color: rgba(255, 255, 255, .42);
  color: var(--neon-white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035)),
    linear-gradient(135deg, rgba(9, 16, 45, .88), rgba(26, 15, 66, .78));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .14), 0 24px 70px rgba(0, 0, 0, .34);
}

.decrypt-drop:hover,
.decrypt-drop.drag-over {
  border-color: rgba(255, 255, 255, .8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)),
    linear-gradient(135deg, rgba(17, 27, 72, .92), rgba(45, 23, 100, .82));
}

.decrypt-drop strong,
.decrypt-drop span:last-child {
  color: var(--neon-white);
}

.decrypt-drop span:last-child {
  opacity: .82;
}

input,
select,
textarea,
button,
.tab,
.secondary,
.author-chip,
.domain-switch,
.clear-search,
.upload-box,
.recommend-back,
.icon-btn {
  border-color: var(--neon-border-strong);
  color: var(--neon-white);
  background: var(--neon-control);
}

input,
select,
textarea {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

textarea {
  color: var(--neon-white);
}

input::placeholder,
textarea::placeholder,
.extract-password::placeholder {
  color: rgba(255, 255, 255, .54);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, .9);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .16), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

option {
  color: #101828;
  background: #fff;
}

button,
.tab.active,
.domain-btn.active,
.app-actions a,
.run-file strong,
.app-actions button {
  border-color: rgba(255, 255, 255, .76);
  color: #fff;
  background: linear-gradient(135deg, rgba(34, 211, 238, .28), rgba(157, 92, 255, .38));
  box-shadow: 0 0 20px rgba(34, 211, 238, .12);
}

button:hover:not(:disabled),
.tab:hover,
.secondary:hover,
.recommend-button:hover,
.upload-box:hover,
.author-chip:hover {
  border-color: #fff;
  background: var(--neon-control-hover);
}

.secondary,
.recommend-back,
.icon-btn {
  color: var(--neon-white);
}

.domain-switch,
.section-head span,
.works-head span,
.detail-stat,
.run-status,
.run-file,
.captcha-stage,
.app-cover,
.detail-cover,
.upload-box,
.trial-stats > div {
  background: rgba(255, 255, 255, .08);
  color: var(--neon-white);
}

.section-head span,
.works-head span {
  border: 1px solid var(--neon-border);
}

.run-status.running {
  color: #dff8ff;
  background: rgba(14, 116, 144, .28);
}

.run-status.done,
.upload-box.has-file {
  color: #dcfce7;
  border-color: rgba(134, 239, 172, .72);
  background: rgba(22, 101, 52, .28);
}

.run-status.error,
.error,
.result.error {
  color: #fecaca;
  border-color: rgba(248, 113, 113, .74);
  background: rgba(127, 29, 29, .34);
}

.result.error small {
  color: #fecaca;
}

.recommend-button {
  border-color: rgba(255, 255, 255, .82);
  color: #fff;
  background: linear-gradient(135deg, rgba(34, 211, 238, .20), rgba(157, 92, 255, .34));
  box-shadow: 0 12px 36px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.secondary-recommend {
  border-color: rgba(255, 255, 255, .82);
  background: linear-gradient(135deg, rgba(244, 114, 255, .24), rgba(34, 211, 238, .22));
}

.work-card,
.work-card.has-preview {
  border: 1px solid var(--neon-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03)),
    linear-gradient(145deg, rgba(42, 29, 104, .86), rgba(8, 13, 35, .92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}

.work-time {
  background: rgba(0, 0, 0, .34);
  border: 1px solid rgba(255, 255, 255, .18);
}

.work-actions button,
.work-actions a,
.work-actions .green {
  border: 1px solid rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .10);
}

.app-cover,
.detail-cover {
  border: 1px solid var(--neon-border);
}

.app-use {
  color: #fff;
  background: rgba(0, 0, 0, .42);
  border: 1px solid rgba(255, 255, 255, .18);
}

.member-copy {
  color: #f8e7ff;
  text-shadow: 0 0 20px rgba(244, 114, 255, .24);
}

.trial-login-mask {
  background: rgba(127, 29, 29, .58);
}

.trial-login-warning span {
  color: #fde047;
}

.site-disclaimer {
  text-shadow: 0 0 18px rgba(34, 211, 238, .12);
}

input[type="file"]::file-selector-button {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .5);
}

/* Bottom feature navigation layout */
body {
  padding-bottom: 92px;
}

.shell {
  width: min(980px, calc(100vw - 32px));
  margin: 24px auto 20px;
}

.topbar {
  margin-bottom: 18px;
}

.decrypt-section {
  width: min(760px, 100%);
  margin: 34px auto 18px;
}

.decrypt-drop {
  min-height: min(420px, calc(100vh - 230px));
  border-radius: 14px;
  border-color: rgba(255, 255, 255, .56);
  background:
    radial-gradient(circle at 50% 64%, rgba(34, 211, 238, .24) 0 2px, transparent 56px),
    radial-gradient(circle at 18% 18%, rgba(157, 92, 255, .26), transparent 34%),
    radial-gradient(circle at 82% 30%, rgba(244, 114, 255, .20), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035)),
    rgba(7, 13, 31, .56);
  box-shadow:
    inset 0 0 70px rgba(255, 255, 255, .05),
    0 24px 86px rgba(0, 0, 0, .36),
    0 0 34px rgba(34, 211, 238, .12);
  backdrop-filter: blur(16px);
}

.decrypt-drop:hover,
.decrypt-drop.drag-over {
  border-color: rgba(255, 255, 255, .84);
  background:
    radial-gradient(circle at 50% 64%, rgba(34, 211, 238, .34) 0 2px, transparent 62px),
    radial-gradient(circle at 18% 18%, rgba(157, 92, 255, .32), transparent 34%),
    radial-gradient(circle at 82% 30%, rgba(244, 114, 255, .26), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .045)),
    rgba(8, 14, 34, .64);
}

.decrypt-logo-wrap {
  width: 86px;
  height: 86px;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, .48));
}

.decrypt-drop strong {
  font-size: 22px;
}

.decrypt-drop span:last-child {
  max-width: 520px;
  color: rgba(229, 237, 255, .76);
}

.app-search,
.recommend-panel,
.login-panel,
.account-panel,
.works,
.app-detail,
.trial-panel,
.member-panel {
  width: 100%;
}

.bottom-feature-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 18;
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(10, 14, 30, .92), rgba(5, 8, 18, .96));
  box-shadow: 0 -18px 60px rgba(0, 0, 0, .38), 0 0 28px rgba(34, 211, 238, .10);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.bottom-feature-button {
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.bottom-feature-button:hover {
  border-color: rgba(255, 255, 255, .64);
  background: rgba(255, 255, 255, .10);
}

.bottom-feature-button.active {
  border-color: rgba(125, 249, 255, .92);
  color: #fff;
  background: linear-gradient(135deg, rgba(34, 211, 238, .34), rgba(157, 92, 255, .38));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .22),
    0 0 22px rgba(34, 211, 238, .42),
    inset 0 0 20px rgba(255, 255, 255, .07);
}

.bottom-feature-button[data-main-nav="upload"].active {
  border-color: rgba(216, 180, 254, .94);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .24),
    0 0 22px rgba(168, 85, 247, .46),
    inset 0 0 20px rgba(255, 255, 255, .07);
}

@media (max-width: 760px) {
  body {
    padding-bottom: 92px;
  }

  .decrypt-section {
    width: 100%;
  }

  .decrypt-drop {
    min-height: min(390px, calc(100vh - 230px));
  }

  .bottom-feature-nav {
    width: 100%;
    gap: 7px;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
    border-radius: 0;
  }

  .bottom-feature-button {
    height: 38px;
    padding: 0 4px;
    font-size: 12px;
    white-space: normal;
  }
}
