      :root {
        color-scheme: light;
      }

      :root[data-theme="dark"] {
        color-scheme: dark;
      }

      * { box-sizing: border-box; }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: "HarmonyOS Sans SC", "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif;
        background:
          radial-gradient(circle at 9% 7%, rgba(var(--brand-purple-bright-rgb), 0.26), transparent 26%),
          radial-gradient(circle at 82% 8%, rgba(var(--brand-purple-deep-rgb), 0.14), transparent 25%),
          linear-gradient(180deg, #ffffff 0%, #fbf8fc 48%, #f5edf7 100%);
        color: var(--text);
        min-height: 100vh;
      }

      :root[data-theme="dark"] body {
        background:
          radial-gradient(circle at 10% 8%, rgba(var(--accent-rgb), 0.18), transparent 28%),
          radial-gradient(circle at 78% 10%, rgba(var(--warm-rgb), 0.16), transparent 24%),
          linear-gradient(180deg, #101315 0%, #111819 52%, #0d1012 100%);
      }

      body::before {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background-image:
          linear-gradient(var(--grid-line) 1px, transparent 1px),
          linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
        background-size: 42px 42px;
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 72%);
      }

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

      button,
      input,
      select {
        font: inherit;
      }

      .page {
        width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
        padding: 0 0 56px;
        position: relative;
      }

      .nav-shell {
        width: 100%;
        background: linear-gradient(90deg, var(--nav-light-edge), var(--nav-light-center) 50%, var(--nav-light-edge));
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
        position: sticky;
        top: 0;
        z-index: 20;
        backdrop-filter: blur(18px);
        box-shadow: 0 14px 34px var(--nav-light-shadow);
      }

      :root[data-theme="dark"] .nav-shell {
        background: rgba(16, 19, 21, 0.76);
        border-bottom-color: var(--line);
        box-shadow: none;
      }

      .nav {
        width: 100%;
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: clamp(18px, 3vw, 42px);
        padding: 8px clamp(16px, 2.4vw, 32px);
      }

      .nav-primary {
        display: flex;
        align-items: center;
        gap: 14px;
        min-width: 0;
      }

      .brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        flex: 0 0 auto;
        font-weight: 800;
        letter-spacing: 0.03em;
      }

      .brand-mark {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        overflow: hidden;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: 0 10px 24px rgba(var(--accent-strong-rgb), 0.18);
      }

      .brand-mark img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        border-radius: inherit;
      }

      .nav-links {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        flex: 0 1 auto;
        justify-content: flex-start;
        min-width: 0;
      }

      .nav-link {
        flex: 0 0 auto;
        padding: 9px 13px;
        border-radius: 10px;
        color: var(--muted);
        white-space: nowrap;
        transition: 160ms ease;
      }

      .nav-link.is-active,
      .nav-link:hover {
        color: var(--text);
        background: rgba(var(--accent-rgb), 0.08);
      }

      .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        flex: 0 0 auto;
        justify-content: flex-end;
      }

      .theme-toggle,
      .account-button {
        min-height: 40px;
        border: 1px solid var(--line);
        border-radius: 12px;
        color: var(--text);
        background: rgba(255, 255, 255, 0.045);
        cursor: pointer;
        font: inherit;
        transition: 160ms ease;
      }

      .theme-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        position: relative;
        padding: 8px 11px;
      }

      .theme-toggle::before {
        content: "";
        width: 19px;
        height: 19px;
        flex: 0 0 auto;
        border-radius: 0;
        background: var(--accent);
        -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9A9 9 0 1 1 12 3Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9A9 9 0 1 1 12 3Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
        filter: drop-shadow(0 0 11px rgba(var(--accent-rgb), 0.42));
      }

      .theme-toggle.is-preview-light::before {
        width: 16px;
        height: 16px;
        border-radius: 999px;
        background: var(--warm);
        -webkit-mask: none;
        mask: none;
        filter: none;
        box-shadow: 0 0 18px rgba(var(--warm-rgb), 0.34);
      }

      .theme-toggle.is-preview-light {
        color: var(--text);
        background: var(--panel-strong);
      }

      :root:not([data-theme="dark"]) .nav-shell .theme-toggle,
      :root:not([data-theme="dark"]) .nav-shell .account-button,
      :root[data-theme="light"] .nav-shell .theme-toggle,
      :root[data-theme="light"] .nav-shell .account-button {
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.14);
      }

      :root:not([data-theme="dark"]) .nav-shell .theme-toggle::before,
      :root[data-theme="light"] .nav-shell .theme-toggle.is-preview-light::before {
        width: 16px;
        height: 16px;
        border-radius: 999px;
        background: #ffffff;
        -webkit-mask: none;
        mask: none;
        filter: none;
        box-shadow: 0 0 18px rgba(255, 255, 255, 0.34);
      }

      :root:not([data-theme="dark"]) .nav-shell .nav-link,
      :root[data-theme="light"] .nav-shell .nav-link {
        color: rgba(255, 255, 255, 0.72);
      }

      :root:not([data-theme="dark"]) .nav-shell .nav-link.is-active,
      :root:not([data-theme="dark"]) .nav-shell .nav-link:hover,
      :root[data-theme="light"] .nav-shell .nav-link.is-active,
      :root[data-theme="light"] .nav-shell .nav-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.14);
      }

      .account-button {
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
      }

      .account-label {
        max-width: 132px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .hero {
        margin-top: 0;
      }

      .hero-copy,
      .studio-card,
      .info-card,
      .wallet-card {
        border: 1px solid var(--line);
        background: var(--panel);
        box-shadow: 0 22px 60px var(--shadow);
        backdrop-filter: blur(18px);
      }

      .hero-copy {
        max-width: 900px;
        margin: 0 auto;
        border: 0;
        border-radius: 0;
        padding: clamp(54px, 9vw, 104px) 0 clamp(44px, 7vw, 86px);
        background: transparent;
        box-shadow: none;
        text-align: center;
        overflow: hidden;
        position: relative;
      }

      .hero-copy::after {
        display: none;
      }

      .kicker {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 16px;
        color: var(--accent);
        font-size: 12px;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }

      .kicker::before {
        content: "";
        width: 9px;
        height: 9px;
        border-radius: 999px;
        background: var(--accent);
        box-shadow: 0 0 20px var(--accent);
      }

      h1 {
        max-width: 680px;
        margin: 0 auto;
        font-size: clamp(38px, 7vw, 72px);
        line-height: 0.98;
        letter-spacing: -0.06em;
      }

      .hero-lead {
        max-width: 680px;
        margin: 22px auto 0;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.75;
      }

      .hero-actions {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 26px;
      }

      .primary-button,
      .ghost-button,
      .pill-button {
        border: 1px solid var(--line);
        cursor: pointer;
        transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
      }

      .primary-button,
      .ghost-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 12px 16px;
        border-radius: 16px;
      }

      .primary-button {
        color: #07120e;
        background: linear-gradient(135deg, var(--accent), var(--warm));
        font-weight: 800;
      }

      .primary-button:disabled {
        cursor: not-allowed;
        color: var(--muted);
        background: rgba(var(--panel-strong-rgb), 0.82);
        border-color: var(--line);
        box-shadow: none;
        opacity: 0.72;
      }

      .ghost-button {
        color: var(--text);
        background: rgba(255, 255, 255, 0.05);
      }

      .home-entry-button {
        width: min(260px, 100%);
        min-height: 96px;
        padding: 18px 20px;
        border-radius: 18px;
        flex-direction: column;
        font-size: 18px;
        line-height: 1.2;
        text-align: center;
        color: #07120e;
        font-weight: 850;
        background:
          linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
          linear-gradient(135deg, var(--entry-start), var(--entry-end));
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
      }

      .home-entry-button[data-entry-tone="voice"] {
        --entry-start: var(--accent);
        --entry-end: var(--warm);
      }

      .home-entry-button[data-entry-tone="image"] {
        --entry-start: #8fd8ff;
        --entry-end: #b8f2b2;
      }

      .home-entry-button span {
        display: block;
        margin-top: 8px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.45;
        color: rgba(7, 18, 14, 0.7);
      }

      [data-page-view] {
        display: none !important;
      }

      body[data-page="translater"] [data-page-view="translater"],
      body[data-page="removebg"] [data-page-view="removebg"] {
        display: block !important;
      }

      body[data-page="account"] .account-layout[data-page-view="account"],
      body[data-page="account"] .account-layout[data-page-view="product-editor"] {
        display: grid !important;
      }

      body[data-page="password-reset"] .account-layout[data-page-view="password-reset"] {
        display: grid !important;
      }

      body[data-page="account-security"] .account-layout[data-page-view="account-security"] {
        display: grid !important;
      }

      body[data-page="creator-withdrawals"] .account-layout[data-page-view="creator-withdrawals"] {
        display: grid !important;
      }

      body[data-page="creator-withdrawals"] h1 {
        max-width: none;
        margin: 0;
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: 0;
      }

      body[data-page="wechat-login"] [data-page-view="wechat-login"],
      body[data-page="account-merge"] [data-page-view="account-merge"] {
        display: grid !important;
      }

      body[data-page="cloud-run"] [data-page-view="cloud-run-new"] {
        display: block !important;
      }

      body[data-page="home"] [data-page-view="home"] {
        min-height: calc(100vh - 62px);
        display: grid !important;
        place-items: center;
      }


      body[data-page="translater"] [data-page-view="translater"],
      body[data-page="removebg"] [data-page-view="removebg"] {
        max-width: 980px;
        margin: 34px auto 0;
      }

      .primary-button:not(:disabled):hover,
      .ghost-button:hover,
      .pill-button:hover {
        transform: translateY(-1px);
        border-color: rgba(var(--accent-rgb), 0.46);
      }

      .price-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 30px;
        position: relative;
        z-index: 1;
      }

      .price-card {
        min-height: 112px;
        padding: 18px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.055);
        border: 1px solid var(--line);
      }

      .price-card strong {
        display: block;
        margin-bottom: 8px;
        font-size: clamp(22px, 3vw, 34px);
        letter-spacing: -0.03em;
      }

      .price-card span {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.5;
      }

      .studio-card {
        border-radius: 30px;
        padding: 22px;
      }

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

      .studio-header h2,
      .section-title {
        margin: 0;
        font-size: 24px;
        letter-spacing: -0.03em;
      }

      .studio-header p,
      .section-note {
        margin: 8px 0 0;
        color: var(--muted);
        line-height: 1.6;
      }

      .upload-zone {
        display: grid;
        gap: 10px;
        place-items: center;
        min-height: 178px;
        padding: 22px;
        border: 1px dashed rgba(var(--accent-rgb), 0.42);
        border-radius: 24px;
        background:
          linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(var(--warm-rgb), 0.055)),
          rgba(255, 255, 255, 0.035);
        text-align: center;
      }

      .upload-zone.is-dragover {
        border-color: var(--warm);
        background: rgba(var(--warm-rgb), 0.12);
      }

      .upload-icon {
        width: 54px;
        height: 54px;
        display: grid;
        place-items: center;
        border-radius: 20px;
        color: #07120e;
        background: var(--accent);
        font-weight: 900;
      }

      .upload-zone h3 {
        margin: 0;
        font-size: 18px;
      }

      .upload-zone p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
      }

      .removebg-workspace {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(184px, 220px);
        gap: 14px;
        align-items: start;
      }

      .removebg-stage {
        position: relative;
        min-height: min(58vh, 560px);
        display: grid;
        place-items: center;
        overflow: hidden;
        border: 1px dashed rgba(var(--accent-rgb), 0.42);
        border-radius: 28px;
        background:
          linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25% 75%, rgba(255,255,255,0.04) 75%),
          linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25% 75%, rgba(255,255,255,0.04) 75%),
          radial-gradient(circle at 18% 18%, rgba(var(--accent-rgb), 0.16), transparent 34%),
          rgba(255, 255, 255, 0.035);
        background-position: 0 0, 12px 12px, 0 0, 0 0;
        background-size: 24px 24px, 24px 24px, auto, auto;
        cursor: pointer;
      }

      .removebg-stage.is-dragover {
        border-color: var(--warm);
        background:
          linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25% 75%, rgba(255,255,255,0.05) 75%),
          linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25% 75%, rgba(255,255,255,0.05) 75%),
          rgba(var(--warm-rgb), 0.1);
        background-position: 0 0, 12px 12px, 0 0;
        background-size: 24px 24px, 24px 24px, auto;
      }

      .removebg-empty {
        display: grid;
        gap: 12px;
        justify-items: center;
        padding: 24px;
        text-align: center;
      }

      .removebg-empty h3 {
        margin: 0;
        font-size: clamp(24px, 4vw, 42px);
      }

      .removebg-empty p {
        margin: 0;
        color: var(--muted);
        line-height: 1.7;
      }

      .removebg-preview {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        padding: 18px;
      }

      .removebg-preview img {
        position: absolute;
        max-width: calc(100% - 36px);
        max-height: calc(100% - 36px);
        object-fit: contain;
        border-radius: 20px;
        filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.26));
      }

      .removebg-preview [data-remove-bg-result-preview] {
        clip-path: inset(0 100% 0 0);
      }

      .removebg-stage.has-result .removebg-preview [data-remove-bg-result-preview] {
        animation: removebg-wipe 1200ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
      }

      .removebg-scanline {
        position: absolute;
        top: 8%;
        bottom: 8%;
        right: 0;
        width: 2px;
        border-radius: 999px;
        background: var(--accent);
        box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.8);
        opacity: 0;
      }

      .removebg-stage.has-result .removebg-scanline {
        animation: removebg-scan 1200ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
      }

      .removebg-waiting {
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 18px;
        padding: 12px 14px;
        border: 1px solid rgba(var(--accent-rgb), 0.22);
        border-radius: 16px;
        background: rgba(15, 23, 24, 0.82);
        color: var(--text);
        text-align: center;
        backdrop-filter: blur(14px);
      }

      .removebg-side {
        display: grid;
        gap: 10px;
      }

      .removebg-options-panel {
        display: grid;
        gap: 10px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.045);
      }

      .removebg-billing-note {
        margin: 7px 0 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.6;
      }

      @keyframes removebg-wipe {
        from {
          clip-path: inset(0 100% 0 0);
        }
        to {
          clip-path: inset(0 0 0 0);
        }
      }

      @keyframes removebg-scan {
        0% {
          right: 0;
          opacity: 0;
        }
        12% {
          opacity: 1;
        }
        100% {
          right: 100%;
          opacity: 0;
        }
      }

      .form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 16px;
      }

      .field {
        display: grid;
        gap: 7px;
      }

      .field label {
        color: var(--muted);
        font-size: 13px;
      }

      .field select,
      .field input,
      .field textarea,
      .redeem-form select,
      .redeem-form textarea,
      .redeem-form input {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
        color: var(--text);
        background: rgba(255, 255, 255, 0.055);
        outline: none;
      }

      .field textarea,
      .redeem-form textarea {
        min-height: 76px;
        resize: vertical;
        line-height: 1.5;
      }

      .field select,
      .redeem-form select {
        color-scheme: light;
      }

      :root[data-theme="dark"] .field select,
      :root[data-theme="dark"] .redeem-form select {
        color-scheme: dark;
      }

      .field select option,
      .field select optgroup,
      .redeem-form select option,
      .redeem-form select optgroup {
        color: #101315;
        background: #f4f7f5;
      }

      .field select option:checked,
      .redeem-form select option:checked {
        color: #07120e;
        background: #b8d4f6;
      }

      .redeem-form {
        display: grid;
        gap: 10px;
        margin-top: 14px;
      }

      .redeem-result {
        min-height: 20px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.6;
      }

      .redeem-result[data-state="error"] {
        color: var(--danger);
      }

      .redeem-result[data-state="success"] {
        color: var(--accent);
      }

      .wechat-withdrawal-bind-card {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding: 10px;
        border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
        border-radius: 8px;
        background: color-mix(in srgb, var(--panel) 92%, var(--accent) 8%);
      }

      .wechat-withdrawal-bind-card + .wechat-withdrawal-bind-card {
        margin-top: 10px;
      }

      .wechat-withdrawal-bind-qr {
        display: grid;
        place-items: center;
        width: 104px;
        aspect-ratio: 1;
        border-radius: 8px;
        background: #fff;
        color: #6b6179;
        overflow: hidden;
      }

      .wechat-withdrawal-bind-qr img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .wechat-withdrawal-bind-meta {
        display: grid;
        gap: 4px;
        min-width: 0;
        color: var(--text);
      }

      .wechat-withdrawal-bind-meta strong {
        font-size: 13px;
      }

      .wechat-withdrawal-bind-meta span,
      .wechat-withdrawal-bind-warning {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
      }

      .wechat-withdrawal-bind-meta code {
        display: block;
        max-width: 100%;
        padding: 6px 8px;
        border-radius: 6px;
        background: color-mix(in srgb, var(--line) 70%, transparent);
        color: var(--muted);
        font-size: 11px;
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: anywhere;
      }

      @media (max-width: 560px) {
        .wechat-withdrawal-bind-card {
          grid-template-columns: 1fr;
        }

        .wechat-withdrawal-bind-qr {
          justify-self: center;
          width: min(180px, 100%);
        }
      }

      .field-hint {
        display: block;
        margin-top: 6px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.5;
      }

      .option-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

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

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

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

      .choice-pill {
        min-width: 0;
        cursor: pointer;
      }

      .choice-pill input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
      }

      .choice-pill span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 9px 12px;
        border-radius: 14px;
        border: 1px solid var(--line);
        color: var(--muted);
        background: rgba(255, 255, 255, 0.045);
        font-size: 13px;
        line-height: 1.2;
        text-align: center;
        transition: 160ms ease;
      }

      .choice-pill input:checked + span {
        border-color: rgba(var(--accent-rgb), 0.52);
        color: var(--text);
        background: rgba(var(--accent-rgb), 0.14);
      }

      .choice-pill input:focus-visible + span {
        outline: 2px solid rgba(var(--accent-rgb), 0.56);
        outline-offset: 2px;
      }

      .choice-pill input:disabled + span {
        cursor: not-allowed;
        opacity: 0.42;
      }

      .account-merge-card {
        max-width: 860px;
        margin: 0 auto;
      }

      .account-merge-form {
        display: grid;
        gap: 16px;
      }

      .account-merge-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .account-merge-option {
        min-width: 0;
        cursor: pointer;
      }

      .account-merge-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
      }

      .account-merge-option-body {
        display: grid;
        gap: 6px;
        min-height: 150px;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.06);
        transition: 160ms ease;
      }

      .account-merge-option-body strong {
        color: var(--muted);
        font-size: 12px;
        font-weight: 600;
      }

      .account-merge-option-body b {
        min-width: 0;
        overflow-wrap: anywhere;
        color: var(--text);
        font-size: 18px;
      }

      .account-merge-option-body small {
        min-width: 0;
        overflow-wrap: anywhere;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
      }

      .account-merge-option input:checked + .account-merge-option-body {
        border-color: rgba(var(--accent-rgb), 0.58);
        background: rgba(var(--accent-rgb), 0.14);
        box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.16);
      }

      .account-merge-option input:focus-visible + .account-merge-option-body {
        outline: 2px solid rgba(var(--accent-rgb), 0.56);
        outline-offset: 2px;
      }

      .account-merge-rules {
        display: grid;
        gap: 10px;
        padding: 14px;
        border: 1px solid rgba(var(--accent-rgb), 0.2);
        border-radius: 14px;
        background: rgba(var(--accent-rgb), 0.06);
        color: var(--muted);
        font-size: 13px;
        line-height: 1.6;
      }

      .account-merge-selected-warning {
        display: grid;
        gap: 4px;
      }

      .account-merge-selected-warning strong {
        color: var(--text);
      }

      .account-merge-selected-warning small {
        color: var(--muted);
      }

      .account-merge-rules ul {
        margin: 0;
        padding-left: 18px;
      }

      .info-strip {
        margin-top: 14px;
        padding: 12px 14px;
        border-radius: 16px;
        border: 1px solid rgba(var(--accent-rgb), 0.18);
        background: rgba(var(--accent-rgb), 0.06);
        color: var(--muted);
        font-size: 13px;
        line-height: 1.6;
      }

      .info-strip strong {
        color: var(--text);
      }

      .toggle-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 14px;
        padding: 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid var(--line);
      }

      .toggle-row strong {
        display: block;
        font-size: 14px;
      }

      .toggle-row span {
        display: block;
        margin-top: 2px;
        color: var(--muted);
        font-size: 12px;
      }

      .switch {
        position: relative;
        width: 48px;
        height: 28px;
        flex: 0 0 auto;
      }

      .switch input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
      }

      .slider {
        position: absolute;
        inset: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid var(--line);
      }

      .slider::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 20px;
        height: 20px;
        border-radius: 999px;
        background: var(--text);
        transition: 160ms ease;
      }

      .switch input:checked + .slider {
        background: rgba(var(--accent-rgb), 0.28);
      }

      .switch input:checked + .slider::after {
        transform: translateX(20px);
        background: var(--accent);
      }

      .estimate-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        margin-top: 16px;
        padding: 16px;
        border-radius: 20px;
        background: #0f1718;
        border: 1px solid rgba(var(--accent-rgb), 0.18);
      }

      .estimate-panel span {
        color: var(--muted);
        font-size: 12px;
      }

      .estimate-panel strong {
        display: block;
        margin-top: 4px;
        font-size: 26px;
      }

      .estimate-copy {
        min-width: 0;
      }

      .estimate-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        margin-top: 8px;
      }

      .estimate-meta span {
        font-size: 12px;
        line-height: 1.45;
      }

      .estimate-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }

      .job-panel {
        display: grid;
        gap: 10px;
        margin-top: 12px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid var(--line);
      }

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

      .job-panel-header strong {
        font-size: 14px;
      }

      .job-state-pill {
        padding: 5px 9px;
        border-radius: 999px;
        color: #07120e;
        background: var(--warm);
        font-size: 12px;
        font-weight: 800;
      }

      .job-panel p {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.6;
      }

      .result-panel {
        display: grid;
        gap: 12px;
        margin-top: 12px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(var(--warm-rgb), 0.08);
        border: 1px solid rgba(var(--warm-rgb), 0.24);
      }

      .result-panel h3 {
        margin: 0;
        font-size: 16px;
      }

      .result-panel p {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.6;
      }

      .result-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .result-actions .primary-button,
      .result-actions .ghost-button {
        position: relative;
        overflow: visible;
      }

      .result-actions [data-free-badge="true"]::before {
        content: "免费";
        position: absolute;
        top: -9px;
        left: -7px;
        min-width: 34px;
        padding: 3px 7px;
        border-radius: 999px;
        color: #07120e;
        background: var(--warm);
        border: 1px solid rgba(255, 255, 255, 0.58);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
        font-size: 11px;
        font-weight: 900;
        line-height: 1;
        text-align: center;
      }

      .status-rail {
        --status-dot-size: 20px;
        --dub-step-count: 5;
        display: grid;
        grid-template-columns: repeat(var(--dub-step-count), minmax(82px, 1fr));
        margin-top: 16px;
        overflow-x: auto;
        padding: 2px 0 4px;
      }

      .status-step {
        position: relative;
        display: grid;
        gap: 8px;
        justify-items: center;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.35;
        min-width: 82px;
        text-align: center;
      }

      .status-step:not(:last-child)::after {
        content: "";
        position: absolute;
        z-index: 0;
        top: calc(var(--status-dot-size) / 2 - 1px);
        left: calc(50% + var(--status-dot-size) / 2 + 4px);
        right: calc(-50% + var(--status-dot-size) / 2 + 4px);
        height: 2px;
        border-radius: 999px;
        background: var(--line);
      }

      .status-step.is-done:not(:last-child)::after {
        background: rgba(var(--accent-rgb), 0.46);
      }

      .status-dot {
        position: relative;
        z-index: 1;
        width: var(--status-dot-size);
        height: var(--status-dot-size);
        border-radius: 999px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.05);
      }

      .status-label {
        max-width: 108px;
      }

      .status-step.is-active {
        color: var(--text);
      }

      .status-step.is-active .status-dot {
        border-color: var(--accent);
        background: var(--accent);
        box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
      }

      .status-step.is-done .status-dot {
        border-color: rgba(var(--accent-rgb), 0.42);
        background: rgba(var(--accent-rgb), 0.22);
      }

      .status-hint {
        margin: 8px 0 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.6;
      }

      .file-summary {
        margin-top: 14px;
        padding: 12px;
        border-radius: 16px;
        color: var(--muted);
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid var(--line);
        line-height: 1.6;
      }

      .file-summary strong {
        color: var(--text);
      }

      .dashboard {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-top: 24px;
      }

      .account-layout {
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 18px;
        margin-top: 34px;
      }

      .account-layout--single {
        grid-template-columns: minmax(0, 980px);
        justify-content: center;
      }

      .account-sidebar {
        align-self: start;
        display: grid;
        gap: 8px;
        padding: 14px;
        border-radius: 22px;
        border: 1px solid var(--line);
        background: var(--panel);
        box-shadow: 0 22px 60px var(--shadow);
        backdrop-filter: blur(18px);
      }

      .account-tab {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid transparent;
        border-radius: 14px;
        color: var(--muted);
        background: transparent;
        text-align: left;
        cursor: pointer;
      }

      .account-tab.is-active,
      .account-tab:hover {
        color: var(--text);
        border-color: rgba(var(--accent-rgb), 0.2);
        background: rgba(var(--accent-rgb), 0.08);
      }

      .account-content {
        display: grid;
        gap: 18px;
      }

      .account-login-required {
        display: grid;
        place-items: center;
        min-height: min(52vh, 520px);
        padding: 40px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.04);
      }

      .account-login-required[hidden] {
        display: none !important;
      }

      .account-login-required strong {
        color: var(--text);
        font-size: 20px;
        line-height: 1;
      }

      .account-overview-card {
        display: grid;
        justify-items: center;
        gap: 10px;
        width: 100%;
        padding: 4px 6px 14px;
        border-bottom: 1px solid var(--line);
      }

      .account-overview-main {
        display: flex;
        align-items: center;
        gap: 16px;
        min-width: 0;
      }

      .account-overview-avatar {
        width: 78px;
        height: 78px;
      }

      .account-overview-identity {
        display: grid;
        justify-items: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
        text-align: center;
      }

      .account-overview-title {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
      }

      .account-overview-title strong {
        color: var(--text);
        font-size: 22px;
        overflow-wrap: anywhere;
      }

      .account-overview-name-line {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        max-width: 100%;
        min-width: 0;
      }

      .account-overview-name-line > strong {
        max-width: 100%;
        color: var(--text);
        font-size: 16px;
        line-height: 1.35;
        overflow-wrap: anywhere;
      }

      .account-gender-mark {
        display: inline-grid;
        place-items: center;
        flex: 0 0 auto;
        width: 17px;
        height: 17px;
        font-size: 15px;
        font-weight: 900;
        line-height: 1;
      }

      .account-gender-mark[hidden] {
        display: none !important;
      }

      .account-gender-mark[data-gender="male"] {
        color: #3c8fff;
        text-shadow: 0 0 12px rgba(60, 143, 255, 0.28);
      }

      .account-gender-mark[data-gender="female"] {
        color: #f05ca8;
        text-shadow: 0 0 12px rgba(240, 92, 168, 0.24);
      }

      .account-overview-identity p {
        margin: 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.35;
      }

      .account-overview-identity p strong,
      .account-overview-identity p span {
        color: var(--text);
        font-weight: 700;
      }

      .account-overview-stats {
        display: grid;
        gap: 7px;
        width: 100%;
      }

      .account-overview-stats article {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        min-height: 0;
        padding: 0 2px;
      }

      .account-overview-stats span,
      .account-overview-stats small {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
      }

      .account-overview-stats strong {
        min-width: 0;
        color: var(--text);
        font-size: 13px;
        text-align: right;
        overflow-wrap: anywhere;
      }

      .account-overview-row-label {
        min-width: 0;
      }

      .account-overview-stats .account-overview-row-label strong {
        display: inline;
        color: var(--text);
        text-align: left;
      }

      .account-overview-row--membership {
        align-items: start;
      }

      .account-overview-membership-block {
        display: grid;
        justify-items: start;
        gap: 4px;
        min-width: 0;
      }

      .account-overview-membership-expiry {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.35;
        text-align: left;
      }

      .account-overview-row-action {
        width: auto !important;
        min-height: 0;
        padding: 0;
        justify-self: end;
        white-space: nowrap;
      }

      .account-overview-card .account-overview-bracket-action {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        width: auto !important;
        min-width: max-content;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        color: var(--brand-purple-deep);
        background: transparent;
        box-shadow: none;
        font-weight: 700;
        line-height: 1.2;
        text-align: right;
        text-decoration: none;
        white-space: nowrap;
      }

      :root[data-theme="dark"] .account-overview-card .account-overview-bracket-action {
        color: var(--accent);
      }

      .account-overview-card .account-overview-bracket-action:hover {
        color: var(--brand-purple-bright);
        border: 0;
        background: transparent;
      }

      :root[data-theme="dark"] .account-overview-card .account-overview-bracket-action:hover {
        color: var(--accent-strong);
      }

      .account-overview-stats small {
        grid-column: 1 / -1;
        text-align: right;
      }

      .account-overview-stats .account-overview-membership-expiry {
        grid-column: 1 / -1;
        text-align: left;
        margin-top: -2px;
      }

      .account-overview-actions {
        display: grid;
        gap: 10px;
        width: 100%;
      }

      .account-overview-card .primary-button,
      .account-overview-card .profile-inline-button {
        width: 100%;
      }

      .account-overview-card .manual-note {
        width: 100%;
        padding: 9px 10px;
        font-size: 12px;
        line-height: 1.45;
      }

      .membership-payment-overlay {
        align-items: flex-start;
        overflow: auto;
        padding: 24px;
      }

      .account-recharge-overlay {
        align-items: flex-start;
        overflow: auto;
        padding: 24px;
      }

      .account-recharge-modal {
        width: min(720px, 100%);
        margin: auto 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--panel-strong);
        color: var(--text);
        box-shadow: 0 28px 90px var(--shadow);
      }

      .account-recharge-body {
        display: grid;
        gap: 16px;
      }

      .account-recharge-body .wallet-grid {
        margin-top: 0;
      }

      .membership-payment-modal {
        width: min(980px, 100%);
        margin: auto 0;
        overflow: visible;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--panel-strong);
        color: var(--text);
        box-shadow: 0 28px 90px var(--shadow);
      }

      .membership-payment-hero {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: center;
        padding: 22px;
        border-bottom: 1px solid var(--line);
        background:
          linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--warm-rgb), 0.14)),
          rgba(255, 255, 255, 0.035);
      }

      .membership-payment-user {
        display: flex;
        align-items: center;
        min-width: 0;
        gap: 14px;
      }

      .membership-payment-user img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid rgba(255, 255, 255, 0.22);
      }

      .membership-payment-user h2,
      .membership-payment-user p {
        margin: 0;
      }

      .membership-payment-user h2 {
        font-size: 24px;
        color: var(--text);
      }

      .membership-payment-user p {
        margin-top: 5px;
        color: var(--muted);
        font-size: 13px;
        overflow-wrap: anywhere;
      }

      .membership-payment-body {
        display: grid;
        gap: 18px;
        padding: 22px;
      }

      .membership-payment-current {
        color: var(--muted);
        font-size: 13px;
      }

      .membership-payment-current strong {
        color: var(--accent);
      }

      .membership-payment-plan-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
      }

      .membership-payment-plan {
        display: grid;
        gap: 8px;
        min-height: 158px;
        padding: 16px;
        cursor: pointer;
        text-align: left;
        color: var(--text);
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
        transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
      }

      .membership-payment-plan:hover,
      .membership-payment-plan.is-selected {
        border-color: rgba(var(--accent-rgb), 0.55);
        background: rgba(var(--accent-rgb), 0.09);
      }

      .membership-payment-plan:hover {
        transform: translateY(-1px);
      }

      .membership-payment-plan-name {
        color: var(--accent);
        font-weight: 800;
      }

      .membership-payment-plan strong {
        color: var(--text);
        font-size: 28px;
        line-height: 1;
      }

      .membership-payment-plan span,
      .membership-payment-plan small {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45;
      }

      .membership-payment-checkout {
        display: grid;
        grid-template-columns: minmax(150px, 0.55fr) minmax(190px, 0.7fr) minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.04);
      }

      .membership-payment-summary {
        display: grid;
        gap: 6px;
      }

      .membership-payment-summary span {
        color: var(--muted);
        font-size: 13px;
      }

      .membership-payment-summary strong {
        color: var(--text);
        font-size: 30px;
      }

      .membership-payment-summary small {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45;
      }

      .membership-payment-summary small span {
        color: var(--accent);
        font-weight: 800;
      }

      .membership-payment-channels {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .membership-payment-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .membership-payment-actions .account-payment-cancel {
        min-height: 62px;
        border-radius: 8px;
      }

      .membership-payment-channel {
        min-height: 62px;
        padding: 10px 12px;
        cursor: pointer;
        text-align: left;
        color: var(--text);
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
      }

      .membership-payment-channel.is-selected {
        border-color: rgba(var(--accent-rgb), 0.55);
        background: rgba(var(--accent-rgb), 0.09);
      }

      .membership-payment-channel span,
      .membership-payment-channel small {
        display: block;
      }

      .membership-payment-channel span {
        font-weight: 800;
      }

      .membership-payment-channel small {
        margin-top: 4px;
        color: var(--muted);
      }

      .membership-payment-wechat {
        display: grid;
        justify-items: start;
        gap: 10px;
      }

      .membership-payment-method-title {
        display: grid;
        gap: 3px;
      }

      .membership-payment-method-title span {
        color: var(--text);
        font-weight: 800;
      }

      .membership-payment-method-title small {
        color: var(--muted);
        font-size: 12px;
      }

      .membership-payment-qr {
        display: grid;
        place-items: center;
        width: 188px;
        height: 188px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: #687182;
        font-size: 13px;
        text-align: center;
      }

      .membership-payment-qr img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .membership-payment-order {
        grid-column: 2 / -1;
        min-height: 18px;
        color: var(--muted);
        font-size: 12px;
        overflow-wrap: anywhere;
      }

      .membership-payment-checkout .redeem-result {
        grid-column: 2 / -1;
      }

      .account-panel {
        display: none;
      }

      .account-panel.is-active {
        display: grid;
        gap: 18px;
      }

      .profile-grid,
      .security-grid,
      .orders-grid,
      .publisher-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .orders-grid--single {
        grid-template-columns: 1fr;
      }

      .profile-list {
        display: grid;
        gap: 10px;
      }

      .profile-row {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        min-height: 48px;
        padding: 11px 14px;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.045);
      }

      .profile-row span {
        color: var(--muted);
        font-size: 13px;
      }

      .profile-row strong {
        min-width: 0;
        color: var(--text);
        font-size: 15px;
        overflow-wrap: anywhere;
      }

      .profile-row-value,
      .profile-inline-form {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
      }

      .profile-row-value strong {
        flex: 1 1 auto;
      }

      .profile-row-value--stack,
      .profile-inline-form--stack {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
      }

      .profile-inline-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
      }

      .profile-membership-badge,
      .account-overview-membership {
        --membership-badge-text: #48505a;
        --membership-badge-bg: linear-gradient(180deg, #f5f7f9, #dfe4e9);
        --membership-badge-border: rgba(91, 103, 116, 0.24);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        flex: 0 0 auto;
        width: fit-content;
        max-width: 100%;
        min-height: 24px;
        padding: 4px 9px;
        border-radius: 999px;
        border: 1px solid var(--membership-badge-border);
        color: var(--membership-badge-text);
        background: var(--membership-badge-bg);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
        font-size: 12px;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
        line-height: 1.2;
      }

      .account-overview-stats .account-overview-membership {
        color: var(--membership-badge-text);
        font-size: 12px;
        text-align: left;
      }

      .profile-membership-badge::before,
      .account-overview-membership::before {
        content: none;
        display: none;
      }

      .profile-membership-badge[data-membership-tier="vip"],
      .account-overview-membership[data-membership-tier="vip"] {
        --membership-badge-text: #6b4300;
        --membership-badge-bg: #efc45b;
        --membership-badge-border: rgba(174, 119, 14, 0.42);
      }

      .profile-membership-badge[data-membership-tier="svip"],
      .account-overview-membership[data-membership-tier="svip"] {
        --membership-badge-text: #ffe1a3;
        --membership-badge-bg: linear-gradient(135deg, #201224, #5b2865 58%, #9d6b1f);
        --membership-badge-border: rgba(255, 211, 138, 0.38);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 5px 14px rgba(45, 18, 55, 0.18);
      }

      .profile-membership-badge[data-membership-tier="gc-vip"],
      .account-overview-membership[data-membership-tier="gc-vip"] {
        --membership-badge-text: #f7e8ff;
        --membership-badge-bg: linear-gradient(135deg, #241033, #7a2e8f 52%, #d39a2d);
        --membership-badge-border: rgba(227, 178, 255, 0.42);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 6px 16px rgba(86, 26, 108, 0.22);
      }

      .profile-membership-badge[hidden] {
        display: none !important;
      }

      .profile-inline-form input,
      .profile-inline-form select,
      .profile-inline-form textarea {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 38px;
        padding: 8px 10px;
        border: 1px solid var(--line);
        border-radius: 12px;
        color: var(--text);
        background: rgba(255, 255, 255, 0.055);
        outline: none;
      }

      .profile-inline-form textarea {
        width: 100%;
        min-height: 78px;
        resize: vertical;
        line-height: 1.55;
      }

      .profile-inline-form select option {
        color: #1d2521;
        background: #f4fbf6;
      }

      .profile-inline-button {
        display: inline-grid;
        place-items: center;
        flex: 0 0 auto;
        min-height: 34px;
        padding: 7px 11px;
        border: 1px solid rgba(var(--accent-rgb), 0.24);
        border-radius: 10px;
        color: var(--text);
        background: rgba(var(--accent-rgb), 0.08);
        cursor: pointer;
        font: inherit;
        font-size: 13px;
        text-decoration: none;
      }

      .profile-inline-button:hover {
        border-color: rgba(var(--accent-rgb), 0.46);
        background: rgba(var(--accent-rgb), 0.13);
      }

      .profile-inline-button.is-active {
        border-color: rgba(var(--brand-purple-bright-rgb), 0.54);
        background: rgba(var(--brand-purple-bright-rgb), 0.18);
      }

      .profile-inline-button:disabled {
        opacity: 0.48;
        cursor: not-allowed;
      }

      .profile-inline-button:disabled:hover {
        border-color: rgba(var(--accent-rgb), 0.24);
        background: rgba(var(--accent-rgb), 0.08);
      }

      .profile-row--stack {
        align-items: start;
      }

      .profile-row--avatar {
        min-height: 96px;
      }

      .profile-avatar-button {
        position: relative;
        width: 76px;
        height: 76px;
        padding: 0;
        overflow: hidden;
        border: 1px solid rgba(229, 255, 245, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        cursor: pointer;
      }

      .profile-avatar-button:disabled {
        cursor: not-allowed;
        opacity: 0.62;
      }

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

      .profile-avatar-button span {
        position: absolute;
        inset: auto 0 0;
        padding: 6px 4px;
        background: rgba(0, 0, 0, 0.58);
        color: #f2fff8;
        font-size: 12px;
        line-height: 1;
        text-align: center;
        transform: translateY(100%);
        transition: transform 0.16s ease;
      }

      .profile-avatar-button:hover span,
      .profile-avatar-button:focus-visible span {
        transform: translateY(0);
      }

      .avatar-crop-overlay {
        position: fixed;
        inset: 0;
        z-index: 1300;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        background: rgba(0, 0, 0, 0.58);
      }

      .avatar-crop-dialog {
        width: min(480px, 100%);
        padding: 22px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--panel-strong);
        box-shadow: 0 24px 70px var(--shadow);
      }

      .avatar-crop-dialog h3 {
        margin: 0 0 14px;
        color: var(--text);
        font-size: 18px;
      }

      .avatar-crop-stage {
        width: 320px;
        height: 320px;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--bg);
        touch-action: none;
      }

      .avatar-crop-stage img {
        max-width: none;
        user-select: none;
        pointer-events: none;
        transform-origin: 0 0;
      }

      .avatar-crop-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        margin-top: 16px;
      }

      .phone-country-code {
        color: rgba(217, 229, 220, 0.48);
      }

      .profile-contact-value {
        display: inline-flex;
        align-items: baseline;
        gap: 4px;
        min-width: 0;
      }

      .account-subsection {
        display: grid;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--line);
      }

      .info-card > .account-subsection:first-child {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
      }

      .account-subsection > strong {
        color: var(--text);
        font-size: 16px;
      }

      .account-subsection-head,
      .profile-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
      }

      .account-subsection-head strong {
        color: var(--text);
        font-size: 16px;
      }

      .account-order-filter {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }

      .section-inline-note {
        color: var(--muted);
        font-size: 13px;
        text-align: right;
      }

      .balance-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 52px;
        padding: 12px 14px;
        border-radius: 16px;
        border: 1px solid rgba(var(--accent-rgb), 0.22);
        background: rgba(var(--accent-rgb), 0.08);
      }

      .balance-summary span {
        color: var(--muted);
        font-size: 13px;
      }

      .balance-summary strong {
        color: var(--text);
        font-size: 20px;
      }

      .profile-card {
        padding: 14px;
        border-radius: 18px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.045);
      }

      .profile-card span {
        display: block;
        color: var(--muted);
        font-size: 12px;
      }

      .profile-card strong {
        display: block;
        margin-top: 6px;
        font-size: 20px;
      }

      .account-usage-section {
        gap: 14px;
      }

      .account-usage-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .account-usage-card {
        display: grid;
        gap: 10px;
        min-height: 138px;
        padding: 16px;
        border-radius: 18px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.045);
      }

      .account-usage-card[data-state="locked"] {
        opacity: 0.62;
      }

      .account-usage-kicker {
        color: var(--muted);
        font-size: 13px;
      }

      .account-usage-value {
        color: var(--text);
        font-size: clamp(24px, 4vw, 34px);
        line-height: 1;
        letter-spacing: 0;
      }

      .account-usage-meter {
        height: 12px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(242, 255, 248, 0.18);
      }

      .account-usage-meter span {
        display: block;
        width: 0%;
        height: 100%;
        border-radius: inherit;
        background: var(--usage-meter-color, #6bd36f);
        transition: width 180ms ease, background 180ms ease;
      }

      .account-usage-card[data-state="good"] {
        --usage-meter-color: #6bd36f;
      }

      .account-usage-card[data-state="warn"] {
        --usage-meter-color: #ffbf66;
      }

      .account-usage-card[data-state="danger"] {
        --usage-meter-color: #ff6b6b;
      }

      .account-usage-card[data-state="locked"] {
        --usage-meter-color: rgba(242, 255, 248, 0.3);
      }

      .account-usage-card p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.55;
      }

      .wallet-pack.is-disabled {
        opacity: 0.54;
        cursor: not-allowed;
        filter: grayscale(0.4);
      }

      .wallet-pack.is-selected {
        border-color: rgba(var(--accent-rgb), 0.46);
        background: rgba(var(--accent-rgb), 0.1);
      }

      .info-card,
      .wallet-card {
        border-radius: 26px;
        padding: 22px;
      }

      .flow-list {
        display: grid;
        gap: 12px;
      }

      .flow-item {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        align-items: flex-start;
        padding: 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid var(--line);
      }

      .flow-index {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 15px;
        color: #07120e;
        background: var(--warm);
        font-weight: 900;
      }

      .flow-item strong {
        display: block;
        margin-bottom: 3px;
      }

      .flow-item span {
        color: var(--muted);
        line-height: 1.6;
        font-size: 13px;
      }

      .wallet-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 18px;
      }

      .wallet-pack {
        cursor: pointer;
        padding: 16px;
        border-radius: 18px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.045);
        color: var(--text);
        text-align: left;
        transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
      }

      .wallet-pack:hover {
        transform: translateY(-1px);
        border-color: rgba(var(--accent-rgb), 0.38);
        background: rgba(255, 255, 255, 0.065);
      }

      .wallet-pack strong {
        display: block;
        margin-bottom: 5px;
        color: var(--accent);
        font-size: 22px;
      }

      .wallet-pack span {
        display: block;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.5;
      }

      .wallet-pack .wallet-pack-detail {
        margin-top: 4px;
      }

      .wallet-pack .wallet-pack-action {
        margin-top: 10px;
        color: var(--accent);
        font-weight: 800;
      }

      .run-records-list {
        display: grid;
        gap: 12px;
      }

      .run-record-card {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr) auto;
        align-items: start;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.045);
      }

      .run-record-main {
        min-width: 0;
      }

      .run-record-main strong {
        display: block;
        margin-bottom: 5px;
        color: var(--accent);
        font-size: 16px;
        line-height: 1.45;
        overflow-wrap: anywhere;
      }

      .run-record-main span {
        display: block;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
        overflow-wrap: anywhere;
      }

      .run-record-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 14px;
        min-width: 0;
      }

      .run-record-meta span {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: anywhere;
      }

      .run-record-actions {
        display: flex;
        justify-content: flex-end;
        min-width: 0;
      }

      .membership-plan-grid,
      .token-package-grid {
        margin-top: 0;
      }

      .cloud-drive-toolbar,
      .cloud-blueprint-card-head,
      .cloud-blueprint-actions,
      .cloud-blueprint-badges {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
      }

      .cloud-drive-toolbar input[type="file"] {
        min-width: 0;
        flex: 1 1 220px;
      }

      .cloud-blueprint-card-head {
        justify-content: space-between;
      }

      .cloud-blueprint-badge {
        display: inline-flex;
        align-items: center;
        min-height: 20px;
        padding: 2px 7px;
        border-radius: 999px;
        border: 1px solid rgba(var(--accent-rgb), 0.32);
        background: rgba(var(--accent-rgb), 0.12);
        color: var(--accent);
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
      }

      .cloud-run-page {
        max-width: 1180px;
        margin: 28px auto 0;
      }

      .cloud-run-page .payment-page-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 18px;
      }

      .cloud-run-page .payment-page-head span {
        display: block;
        color: var(--muted);
        font-size: 13px;
      }

      .cloud-run-page .payment-page-head strong {
        display: block;
        margin-top: 4px;
        color: var(--text);
        font-size: 28px;
      }

      .cloud-run-builder {
        display: grid;
        grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
        gap: 16px;
        align-items: start;
      }

      .cloud-run-builder .account-subsection {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
      }

      .cloud-run-source-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
      }

      .cloud-run-source-card {
        width: 100%;
      }

      .cloud-run-form {
        margin-top: 0;
      }

      .cloud-run-basic-grid,
      .cloud-run-variable-list {
        display: grid;
        gap: 10px;
      }

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

      .cloud-run-variable-field {
        display: grid;
        gap: 7px;
        min-width: 0;
      }

      .cloud-run-variable-field > span,
      .cloud-run-variable-field > small {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.5;
      }

      .cloud-run-variable-field > span {
        color: var(--text);
        font-weight: 700;
      }

      .cloud-run-check {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        color: var(--text);
      }

      .cloud-run-check input {
        width: auto;
        min-height: 0;
      }

      .product-blueprint-item {
        display: grid;
        gap: 12px;
      }

      .product-blueprint-main,
      .product-blueprint-options {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
      }

      .product-blueprint-main span {
        display: grid;
        gap: 3px;
      }

      .product-blueprint-main small,
      .product-blueprint-options label {
        color: var(--muted);
        font-size: 12px;
      }

      .product-toggle-line {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--muted);
        font-size: 13px;
      }

      .product-price-channel-grid,
      .product-public-variable-list {
        display: grid;
        gap: 10px;
      }

      .product-price-channel-row,
      .product-public-variable-row {
        display: grid;
        grid-template-columns: minmax(92px, 0.75fr) minmax(92px, 0.7fr) minmax(110px, 1fr) auto;
        gap: 8px;
        align-items: center;
        padding: 10px;
        border-radius: 14px;
        border: 1px solid rgba(242, 255, 248, 0.1);
        background: rgba(255, 255, 255, 0.035);
      }

      .product-price-channel-row label,
      .product-public-variable-row label {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--muted);
        font-size: 12px;
      }

      .product-public-variable-panel {
        display: grid;
        gap: 9px;
        padding: 11px;
        border-radius: 14px;
        border: 1px dashed rgba(var(--accent-rgb), 0.22);
        background: rgba(var(--accent-rgb), 0.045);
      }

      .product-public-variable-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
      }

      .product-public-variable-head span {
        color: var(--muted);
        font-size: 12px;
      }

      .product-public-variable-row input,
      .product-public-variable-row select,
      .product-price-channel-row input,
      .product-price-channel-row select {
        min-height: 36px;
        border-radius: 10px;
      }

      @media (max-width: 760px) {
        .product-price-channel-row,
        .product-public-variable-row {
          grid-template-columns: 1fr;
        }
      }

      .recharge-method-panel {
        margin-top: 16px;
        padding: 16px;
        border-radius: 18px;
        border: 1px solid rgba(var(--accent-rgb), 0.22);
        background: rgba(var(--accent-rgb), 0.07);
      }

      .account-recharge-body .recharge-method-panel.membership-payment-checkout {
        grid-template-columns: minmax(130px, 0.5fr) minmax(180px, 0.7fr) minmax(0, 0.9fr);
      }

      .recharge-method-panel[hidden] {
        display: none;
      }

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

      .recharge-method-head span {
        color: var(--muted);
        font-size: 13px;
      }

      .recharge-method-head strong {
        color: var(--text);
        font-size: 18px;
      }

      .recharge-method-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 12px;
      }

      .password-reset-card {
        display: grid;
        gap: 20px;
      }

      .password-reset-head h1 {
        margin: 8px 0 0;
        font-size: clamp(28px, 4vw, 42px);
        letter-spacing: 0;
      }

      .password-reset-steps {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }

      .password-reset-steps span {
        min-height: 42px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        border: 1px solid var(--line);
        color: var(--muted);
        background: rgba(255, 255, 255, 0.045);
        font-size: 13px;
      }

      .password-reset-steps span.is-active {
        color: #07120e;
        border-color: rgba(var(--accent-rgb), 0.62);
        background: var(--accent);
        font-weight: 900;
      }

      .password-reset-form {
        display: grid;
        gap: 16px;
      }

      .password-reset-panel {
        display: none;
        gap: 16px;
      }

      .password-reset-panel.is-active {
        display: grid;
      }

      .password-reset-methods {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
      }

      .password-reset-method {
        min-height: 118px;
        padding: 16px;
        border-radius: 18px;
        border: 1px solid var(--line);
        color: var(--text);
        background: rgba(255, 255, 255, 0.045);
        text-align: left;
        cursor: pointer;
      }

      .password-reset-method strong,
      .password-reset-method span {
        display: block;
      }

      .password-reset-method strong {
        font-size: 18px;
      }

      .password-reset-method span {
        margin-top: 8px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.5;
      }

      .password-reset-method.is-active {
        border-color: rgba(var(--accent-rgb), 0.48);
        background: rgba(var(--accent-rgb), 0.12);
      }

      .password-reset-method.is-disabled,
      .password-reset-method:disabled {
        cursor: not-allowed;
        opacity: 0.48;
      }

      .password-reset-field {
        display: grid;
        gap: 8px;
      }

      .password-reset-field span {
        color: var(--muted);
        font-size: 13px;
      }

      .password-reset-hint {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.6;
      }

      .phone-input-shell {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.055);
        overflow: hidden;
      }

      .phone-input-prefix {
        display: none;
        align-items: center;
        align-self: stretch;
        padding: 0 13px;
        border-right: 1px solid var(--line);
        color: var(--muted);
        font-size: 14px;
        background: rgba(255, 255, 255, 0.04);
      }

      .phone-input-shell.is-phone .phone-input-prefix {
        display: inline-flex;
      }

      .password-reset-field input {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 14px;
        color: var(--text);
        background: rgba(255, 255, 255, 0.055);
        outline: none;
      }

      .phone-input-shell input {
        min-height: 46px;
        border: 0;
        border-radius: 0;
        background: transparent;
      }

      .password-reset-actions,
      .password-reset-done {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
      }

      .api-key-card {
        display: grid;
        gap: 18px;
      }

      .password-reset-head h2 {
        margin: 8px 0 0;
        font-size: 24px;
        letter-spacing: 0;
      }

      .api-key-create-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 12px;
      }

      .api-key-secret-box {
        display: grid;
        gap: 8px;
        padding: 14px;
        border-radius: 14px;
        border: 1px solid rgba(var(--accent-rgb), 0.32);
        background: rgba(var(--accent-rgb), 0.08);
      }

      .api-key-secret-box span {
        color: var(--muted);
        font-size: 13px;
      }

      .api-key-secret-box code {
        overflow-wrap: anywhere;
        color: var(--text);
        font-size: 13px;
        line-height: 1.6;
      }

      .api-key-list {
        display: grid;
        gap: 10px;
      }

      .api-key-empty,
      .api-key-row {
        min-height: 58px;
        padding: 12px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.045);
      }

      .api-key-empty {
        color: var(--muted);
        display: grid;
        place-items: center start;
      }

      .api-key-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
      }

      .api-key-row[data-status="revoked"] {
        opacity: 0.62;
      }

      .api-key-row-main {
        min-width: 0;
        display: grid;
        gap: 4px;
      }

      .api-key-row-main strong,
      .api-key-row-main span {
        overflow-wrap: anywhere;
      }

      .api-key-row-main span {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.5;
      }

      @media (max-width: 760px) {
        .password-reset-steps,
        .password-reset-methods {
          grid-template-columns: 1fr;
        }

        .api-key-create-row,
        .api-key-row {
          grid-template-columns: 1fr;
          display: grid;
        }

        .api-key-row .profile-inline-button {
          justify-self: start;
        }
      }

      .manual-note {
        margin-top: 16px;
        padding: 14px;
        border-radius: 18px;
        color: var(--muted);
        line-height: 1.7;
        background: rgba(var(--warm-rgb), 0.08);
        border: 1px solid rgba(var(--warm-rgb), 0.22);
      }

      [hidden] {
        display: none !important;
      }

      @media (max-width: 940px) {
        .dashboard {
          grid-template-columns: 1fr;
        }

        .removebg-workspace {
          grid-template-columns: 1fr;
        }

        .removebg-side {
          justify-items: start;
        }

        .removebg-options-panel {
          width: min(100%, 360px);
        }

        .account-layout {
          grid-template-columns: 1fr;
        }

        .account-overview-card {
          grid-template-columns: 1fr;
        }

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

        .membership-payment-checkout {
          grid-template-columns: 1fr;
        }

        .membership-payment-wechat,
        .membership-payment-actions,
        .membership-payment-order,
        .membership-payment-checkout .redeem-result {
          grid-column: auto;
        }

        .profile-grid,
        .account-usage-grid,
        .profile-row,
        .profile-row-value,
        .profile-inline-form,
        .security-grid,
        .orders-grid,
        .publisher-grid,
        .payment-page-grid,
        .cloud-run-builder,
        .cloud-run-basic-grid {
          grid-template-columns: 1fr;
        }

        .run-record-card {
          grid-template-columns: 1fr;
        }

        .run-record-actions {
          justify-content: flex-start;
        }

        .hero {
          align-items: start;
        }
      }

      @media (max-width: 720px) {
        .page {
          width: min(100% - 24px, 1180px);
          padding-top: 14px;
        }

        .nav {
          align-items: flex-start;
          flex-direction: column;
          gap: 10px;
          padding: 12px;
        }

        .nav-primary {
          align-items: flex-start;
          flex-direction: column;
          gap: 10px;
        }

        .nav-links,
        .nav-actions {
          width: 100%;
          justify-content: flex-start;
        }

        .nav-link {
          padding: 8px 10px;
        }

        .price-strip,
        .form-grid,
        .wallet-grid,
        .membership-payment-plan-grid,
        .membership-payment-channels,
        .membership-payment-actions,
        .recharge-method-grid,
        .account-merge-options,
        .estimate-panel {
          grid-template-columns: 1fr;
        }

        .membership-payment-overlay {
          padding: 12px;
        }

        .membership-payment-modal {
          max-height: calc(100vh - 24px);
        }

        .membership-payment-hero,
        .membership-payment-body {
          padding: 16px;
        }

        .payment-page-head {
          align-items: stretch;
          flex-direction: column;
        }

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

        .estimate-actions {
          justify-content: stretch;
        }

        .estimate-actions .primary-button,
        .estimate-actions .ghost-button {
          width: 100%;
        }

        .studio-card,
        .hero-copy,
        .info-card,
        .wallet-card {
          border-radius: 22px;
          padding: 18px;
        }

        .studio-header {
          flex-direction: column;
        }

      }
