    :root{
      --page:#05020a;
      --shell:#10091c;
      --panel:#171022;
      --panel-2:#21152f;
      --line:#332047;
      --text:#f9f3ff;
      --sub:#a99ab9;
      --dim:#70637f;
      --hot:#ff1f78;
      --hot-2:#ff4aa0;
      --aqua:#3fdac7;
      --gold:#ffd166;
      --shadow:0 24px 70px rgba(0,0,0,.58);
      --nav-h:76px;
    }

    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
      min-height:100vh;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:14px;
      color:var(--text);
      background:
        radial-gradient(760px 440px at 50% -18%, rgba(79,35,143,.34), transparent 62%),
        radial-gradient(460px 500px at 8% 105%, rgba(255,31,120,.16), transparent 60%),
        radial-gradient(520px 420px at 100% 90%, rgba(63,218,199,.12), transparent 58%),
        var(--page);
      font-family:"Inter","Noto Sans SC",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
    }

    button,input,textarea,select{font:inherit}
    button{cursor:pointer}
    button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
      outline:2px solid var(--hot-2);
      outline-offset:2px;
    }
    .num{font-variant-numeric:tabular-nums}
    .icon{
      width:18px;
      height:18px;
      display:block;
      flex:0 0 auto;
      fill:none;
      stroke:currentColor;
      stroke-width:2;
      stroke-linecap:round;
      stroke-linejoin:round;
    }
    .fill-icon{fill:currentColor;stroke:none}

    .phone{
      position:relative;
      width:min(448px,100%);
      height:min(900px,calc(100vh - 28px));
      min-height:680px;
      overflow:hidden;
      border-radius:38px;
      background:var(--shell);
      border:1px solid rgba(116,67,170,.42);
      box-shadow:var(--shadow), 0 0 0 8px rgba(51,24,86,.72);
    }
    .screen{
      position:absolute;
      inset:0;
      display:none;
      flex-direction:column;
      min-width:0;
      min-height:0;
      background:linear-gradient(180deg, rgba(20,10,33,.97), rgba(9,5,15,.98)), var(--shell);
    }
    .screen.active{display:flex}
    .scroll{
      flex:1;
      min-height:0;
      overflow-y:auto;
      scrollbar-width:none;
      -webkit-overflow-scrolling:touch;
    }
    .scroll::-webkit-scrollbar{display:none}

    .app-header{
      position:relative;
      z-index:4;
      flex:0 0 auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:60px 20px 14px;
      border-bottom:1px solid rgba(255,255,255,.08);
      background:rgba(11,7,20,.84);
      backdrop-filter:blur(16px);
    }
    .brand{
      min-width:0;
      display:flex;
      align-items:center;
      gap:9px;
      color:#ff2f9b;
      font-size:15px;
      letter-spacing:3px;
      font-weight:900;
    }
    .brand-mark{width:18px;height:18px;color:#ff2f9b}
    .brand span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
    .brand-sub{
      color:#42364d;
      font-size:10px;
      font-weight:900;
      letter-spacing:4px;
      white-space:nowrap;
    }
    .header-actions{
      display:flex;
      align-items:center;
      gap:8px;
      flex:0 0 auto;
    }
    .pill-btn,.language-pill,.coin-chip{
      min-height:30px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:7px;
      padding:7px 10px;
      border-radius:999px;
      font-weight:900;
      white-space:nowrap;
    }
    .pill-btn{
      color:#fff;
      background:rgba(255,31,120,.15);
      border:1px solid rgba(255,74,160,.5);
      font-size:10px;
    }
    .language-pill{
      color:#e7d8f3;
      background:rgba(255,255,255,.04);
      border:1px solid rgba(255,74,160,.52);
      font-size:11px;
    }
    .header-language-wrap{
      position:relative;
      display:inline-flex;
      align-items:center;
      z-index:8;
    }
    .header-language-menu{
      position:absolute;
      top:calc(100% + 9px);
      right:0;
      width:160px;
      max-height:218px;
      display:none;
      overflow:auto;
      padding:5px;
      border:1px solid rgba(255,74,160,.28);
      border-radius:13px;
      background:rgba(14,8,24,.96);
      box-shadow:0 18px 38px rgba(0,0,0,.36),0 0 22px rgba(255,49,146,.12);
      scrollbar-width:none;
    }
    .header-language-menu::-webkit-scrollbar{display:none}
    .header-language-menu.active{display:block}
    .header-language-option{
      width:100%;
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:8px 10px;
      color:#efe6f7;
      border:0;
      border-radius:9px;
      background:transparent;
      font-size:12px;
      font-weight:850;
      text-align:left;
    }
    .header-language-option b{
      color:#9d8cab;
      font-size:11px;
      font-weight:950;
    }
    .header-language-option:hover,
    .header-language-option.is-active{
      color:#fff;
      background:rgba(255,49,146,.14);
    }
    .header-language-option.is-active b{color:#ff4aa0}
    .coin-chip{
      color:var(--gold);
      background:linear-gradient(135deg,rgba(255,209,102,.14),rgba(255,31,120,.08));
      border:1px solid rgba(255,209,102,.34);
      font-size:12px;
    }

    .main-scroll{
      padding:14px 16px calc(var(--nav-h) + 18px);
      background:radial-gradient(420px 210px at 40% 0%, rgba(255,31,120,.10), transparent 70%), var(--shell);
    }
    .page{display:none}
    .page.active{display:block}
    .page-title{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:14px;
      margin:4px 4px 16px;
    }
    .page-title h1{margin:0;font-size:22px;letter-spacing:.2px;line-height:1.1}
    .page-title p{margin:6px 0 0;color:var(--sub);font-size:12px;line-height:1.5}

    .search-wrap{position:relative;margin:0 4px 12px}
    .search-wrap .icon{
      position:absolute;
      left:15px;
      top:50%;
      transform:translateY(-50%);
      color:#f32391;
      width:17px;
      height:17px;
    }
    .search-wrap input{
      width:100%;
      height:46px;
      padding:0 18px 0 42px;
      color:var(--text);
      background:rgba(255,255,255,.035);
      border:1px solid rgba(255,255,255,.09);
      border-radius:18px;
      font-size:13px;
    }
    .search-wrap input::placeholder{color:#75687f}

    .chips{
      display:flex;
      gap:10px;
      margin:0 0 13px;
      padding:0 4px 3px;
      overflow-x:auto;
      scrollbar-width:none;
    }
    .chips::-webkit-scrollbar{display:none}
    .chip{
      flex:0 0 auto;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:34px;
      padding:9px 15px;
      color:#817491;
      background:#211a31;
      border:1px solid #352848;
      border-radius:999px;
      font-size:11px;
      font-weight:900;
      white-space:nowrap;
      transition:background .18s,border-color .18s,color .18s;
    }
    .chip.active{
      color:#fff;
      background:linear-gradient(135deg,#ff3eaa,#ff1f78);
      border-color:#ff3eaa;
      box-shadow:0 10px 25px rgba(255,31,120,.28);
    }

    .explore-feature-stack{
      display:grid;
      gap:18px;
      margin:0 0 17px;
    }
    .explore-showcase,
    .swap-preview-section{
      min-width:0;
      padding:0 4px;
    }
    .feature-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
      margin:1px 0 14px;
    }
    .feature-title{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:10px;
    }
    .feature-icon{
      width:33px;
      height:33px;
      flex:0 0 auto;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#ff4aa0;
      border:1px solid rgba(255,74,160,.48);
      border-radius:9px;
      background:rgba(255,31,120,.16);
    }
    .feature-icon .icon{width:18px;height:18px}
    .feature-title h2,
    .swap-copy h2{
      margin:0;
      color:#fff;
      font-size:19px;
      line-height:1.04;
      font-weight:900;
      letter-spacing:.5px;
      text-transform:uppercase;
    }
    .feature-title p{
      margin:4px 0 0;
      color:#ff3ca0;
      font-size:10px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .feature-tools{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:9px;
      padding-top:2px;
    }
    .swipe-label{
      color:#7e7488;
      font-size:10px;
      line-height:1;
      font-weight:900;
      text-transform:uppercase;
      white-space:nowrap;
    }
    .featured-chip{
      min-height:29px;
      display:inline-flex;
      align-items:center;
      gap:6px;
      padding:6px 11px;
      color:#d9d0e0;
      border:1px solid rgba(255,255,255,.14);
      border-radius:999px;
      background:rgba(255,255,255,.07);
      font-size:10px;
      line-height:1;
      font-weight:900;
      white-space:nowrap;
    }
    .featured-chip .icon{
      width:12px;
      height:12px;
      color:#ffd166;
    }
    .interactive-strip{
      display:flex;
      gap:14px;
      margin:0 -16px 0 0;
      padding:0 16px 2px 0;
      overflow-x:auto;
      scroll-behavior:smooth;
      overscroll-behavior-x:contain;
      scrollbar-width:none;
      -webkit-overflow-scrolling:touch;
    }
    .interactive-strip::-webkit-scrollbar{display:none}
    .interactive-strip.is-scrollbar-dragging,
    .swap-template-strip.is-scrollbar-dragging{
      scroll-behavior:auto;
    }
    .interactive-card{
      position:relative;
      width:178px;
      height:258px;
      flex:0 0 178px;
      overflow:hidden;
      color:#fff;
      text-align:left;
      border:1px solid rgba(114,73,154,.62);
      border-radius:19px;
      background:linear-gradient(145deg,var(--a),var(--b));
      box-shadow:0 18px 34px rgba(0,0,0,.32);
      cursor:pointer;
    }
    .interactive-card:hover{
      border-color:rgba(255,74,160,.78);
      transform:translateY(-2px);
      transition:transform .18s,border-color .18s;
    }
    .interactive-media{
      position:absolute;
      inset:0;
      overflow:hidden;
      background:linear-gradient(145deg,var(--a),var(--b));
    }
    .interactive-media img,
    .interactive-media video,
    .swap-template-media img,
    .swap-template-media video{
      width:100%;
      height:100%;
      display:block;
      object-fit:cover;
    }
    .interactive-media img{object-position:center 20%}
    .interactive-shade{
      position:absolute;
      inset:0;
      background:
        linear-gradient(180deg,rgba(5,2,10,.12),rgba(5,2,10,.05) 42%,rgba(5,2,10,.88) 100%),
        linear-gradient(90deg,rgba(0,0,0,.2),transparent 34%,rgba(0,0,0,.22));
    }
    .interactive-badge{
      position:absolute;
      z-index:2;
      top:13px;
      left:12px;
      display:inline-flex;
      align-items:center;
      gap:4px;
      max-width:calc(100% - 24px);
      min-height:23px;
      padding:5px 8px;
      color:#ff9ed0;
      border:1px solid rgba(255,74,160,.32);
      border-radius:999px;
      background:rgba(47,30,58,.68);
      backdrop-filter:blur(8px);
      font-size:9px;
      line-height:1;
      font-weight:900;
      text-transform:uppercase;
    }
    .interactive-badge .icon{
      width:11px;
      height:11px;
      color:#ff3ca0;
    }
    .interactive-card-copy{
      position:absolute;
      z-index:2;
      left:12px;
      right:12px;
      bottom:12px;
    }
    .interactive-name-row{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:8px;
    }
    .interactive-name-row h3{
      margin:0;
      overflow:hidden;
      color:#fff;
      font-size:15px;
      line-height:1.1;
      font-weight:900;
      text-overflow:ellipsis;
      white-space:nowrap;
      text-shadow:0 4px 18px rgba(0,0,0,.56);
    }
    .interactive-name-row span{
      flex:0 0 auto;
      color:#fff;
      font-size:8px;
      line-height:1.2;
      font-weight:900;
    }
    .role-pill{
      display:inline-flex;
      align-items:center;
      max-width:100%;
      min-height:21px;
      margin-top:5px;
      padding:5px 8px;
      overflow:hidden;
      color:#ff65ad;
      border:1px solid rgba(255,74,160,.34);
      border-radius:5px;
      background:rgba(255,31,120,.11);
      font-size:9px;
      line-height:1;
      font-weight:900;
      text-overflow:ellipsis;
      text-transform:uppercase;
      white-space:nowrap;
    }
    .interactive-bottom{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:9px;
      margin-top:9px;
      padding-top:9px;
      border-top:1px solid rgba(255,255,255,.12);
    }
    .heat-count{
      display:inline-flex;
      align-items:center;
      gap:5px;
      color:#eee4f4;
      font-size:10px;
      font-weight:900;
    }
    .heat-count .icon{
      width:12px;
      height:12px;
      color:#ff3ca0;
    }
    .interactive-play{
      width:28px;
      height:28px;
      flex:0 0 auto;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      border:0;
      border-radius:50%;
      background:linear-gradient(135deg,#ff56b3,#ff1377);
      box-shadow:0 10px 22px rgba(255,31,120,.36);
    }
    .interactive-play .icon{width:13px;height:13px}
    .strip-scrollbar{
      position:relative;
      width:100%;
      height:22px;
      margin:5px 0 0;
      cursor:pointer;
      touch-action:none;
    }
    .strip-scrollbar::before{
      content:"";
      position:absolute;
      left:0;
      right:0;
      top:50%;
      height:3px;
      transform:translateY(-50%);
      border-radius:999px;
      background:rgba(255,255,255,.012);
    }
    .strip-scrollbar-thumb{
      position:absolute;
      left:0;
      top:50%;
      width:88px;
      min-width:48px;
      height:3px;
      transform:translate3d(0,-50%,0);
      border-radius:999px;
      background:#7b1648;
      box-shadow:none;
      cursor:grab;
      touch-action:none;
      transition:background .16s ease, box-shadow .16s ease, opacity .16s ease;
      will-change:transform,width;
    }
    .strip-scrollbar-thumb::after{
      content:"";
      position:absolute;
      inset:-9px 0;
    }
    .strip-scrollbar-thumb.is-dragging{
      cursor:grabbing;
      background:#f02b91;
      box-shadow:0 0 14px rgba(240,43,145,.22);
    }
    .strip-scrollbar.is-disabled{
      opacity:0;
      pointer-events:none;
    }
    .swap-preview-section{
      display:grid;
      gap:12px;
      padding-top:1px;
    }
    .swap-kicker{
      display:flex;
      align-items:center;
      gap:7px;
      color:#ffd166;
      font-size:10px;
      line-height:1;
      font-weight:900;
      letter-spacing:1px;
      text-transform:uppercase;
    }
    .swap-kicker .icon{
      width:15px;
      height:15px;
      color:#ffd166;
    }
    .swap-copy h2{
      margin-top:6px;
      font-size:17px;
      letter-spacing:0;
      text-transform:none;
    }
    .swap-copy p{
      margin:8px 0 0;
      color:#b9afc4;
      font-size:12px;
      line-height:1.45;
      font-weight:700;
    }
    .swap-template-strip{
      display:flex;
      gap:12px;
      margin:0 -16px 0 0;
      padding:0 16px 2px 0;
      overflow-x:auto;
      scroll-behavior:smooth;
      overscroll-behavior-x:contain;
      scrollbar-width:none;
      -webkit-overflow-scrolling:touch;
    }
    .swap-template-strip::-webkit-scrollbar{display:none}
    .swap-template-card{
      position:relative;
      flex:0 0 calc((100% - 24px) / 3);
      min-width:116px;
      max-width:138px;
      height:232px;
      overflow:hidden;
      padding:0;
      color:#fff;
      border:1px solid rgba(255,255,255,.14);
      border-radius:7px;
      background:#08060d;
    }
    .swap-template-card.is-selected{
      border-color:#ff4aa0;
      box-shadow:0 0 0 1px rgba(255,74,160,.42),0 14px 28px rgba(255,31,120,.16);
    }
    .swap-template-media{
      position:absolute;
      inset:0 0 34px;
      overflow:hidden;
      background:#161019;
    }
    .swap-template-card::after{
      content:"";
      position:absolute;
      inset:42% 0 34px;
      background:linear-gradient(180deg,transparent,rgba(0,0,0,.28));
      pointer-events:none;
    }
    .duration-tag{
      position:absolute;
      left:7px;
      bottom:45px;
      z-index:2;
      min-height:22px;
      display:inline-flex;
      align-items:center;
      padding:5px 7px;
      color:#fff;
      border-radius:5px;
      background:rgba(0,0,0,.72);
      font-size:9px;
      line-height:1;
      font-weight:900;
    }
    .template-check{
      position:absolute;
      top:10px;
      right:9px;
      z-index:3;
      width:26px;
      height:26px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      border:2px solid rgba(255,255,255,.9);
      border-radius:50%;
      background:#ff4aa0;
      opacity:0;
      transform:scale(.82);
      transition:opacity .16s ease,transform .16s ease;
    }
    .swap-template-card.is-selected .template-check{
      opacity:1;
      transform:scale(1);
    }
    .template-check .icon{width:13px;height:13px}
    .template-play{
      position:absolute;
      left:0;
      right:0;
      bottom:0;
      height:34px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:rgba(7,5,11,.96);
    }
    .template-play .icon{width:14px;height:14px}
    .swap-preview-actions{
      display:grid;
      grid-template-columns:minmax(0,1fr) 92px;
      gap:8px;
      margin-top:6px;
    }
    .swap-preview-actions .solid-btn,
    .swap-preview-actions .ghost-btn{
      min-height:41px;
      border-radius:9px;
      font-size:11px;
    }
    .swap-preview-actions .solid-btn .icon{
      width:14px;
      height:14px;
    }
    .swap-preview-actions .ghost-btn{
      color:#fff;
      background:rgba(255,255,255,.045);
      border-color:rgba(255,255,255,.16);
    }

    .companion-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:14px;
      padding:0 0 10px;
    }
    .companion-card{
      position:relative;
      min-width:0;
      height:282px;
      overflow:hidden;
      border-radius:20px;
      color:#fff;
      background:#1d1428;
      border:1px solid rgba(114,73,154,.56);
      box-shadow:0 18px 34px rgba(0,0,0,.28);
      text-align:left;
      transition:transform .18s,border-color .18s,box-shadow .18s;
    }
    .companion-card:hover{
      transform:translateY(-2px);
      border-color:rgba(255,74,160,.78);
      box-shadow:0 22px 40px rgba(0,0,0,.36);
    }
    .companion-card:active{transform:translateY(0)}
    .media{
      position:absolute;
      inset:0;
      overflow:hidden;
      background:linear-gradient(145deg,var(--a),var(--b));
    }
    .media img,.media video{width:100%;height:100%;object-fit:cover;display:block}
    .media img{object-position:center 22%}
    .portrait-fallback{
      position:absolute;
      inset:0;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      background:
        radial-gradient(circle at 52% 22%, rgba(255,255,255,.34), transparent 15%),
        linear-gradient(145deg,var(--a),var(--b));
    }
    .portrait-fallback::before{
      content:"";
      position:absolute;
      width:118%;
      height:74%;
      left:-9%;
      bottom:-18%;
      border-radius:48% 48% 0 0;
      background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(0,0,0,.18));
    }
    .portrait-fallback::after{
      content:"";
      position:absolute;
      inset:0;
      background:
        linear-gradient(90deg,rgba(255,255,255,.12),transparent 18%,transparent 82%,rgba(0,0,0,.2)),
        radial-gradient(circle at 50% 38%, rgba(0,0,0,.22), transparent 28%);
      mix-blend-mode:soft-light;
    }
    .portrait-fallback span{
      position:relative;
      z-index:1;
      color:rgba(255,255,255,.9);
      font-size:66px;
      font-weight:900;
      letter-spacing:0;
      text-shadow:0 12px 34px rgba(0,0,0,.36);
    }
    .card-overlay{
      position:absolute;
      inset:0;
      background:
        linear-gradient(180deg,rgba(4,2,8,.14) 0%,rgba(4,2,8,.05) 36%,rgba(4,2,8,.82) 100%),
        linear-gradient(90deg,rgba(0,0,0,.18),transparent 28%,transparent 74%,rgba(0,0,0,.26));
    }
    .round-action{
      position:absolute;
      z-index:2;
      width:32px;
      height:32px;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:rgba(0,0,0,.36);
      border:1px solid rgba(255,255,255,.16);
      backdrop-filter:blur(8px);
    }
    .round-action .icon{width:17px;height:17px}
    .fav-btn{top:14px;left:14px}
    .fav-btn.active{
      color:#ff6daf;
      background:rgba(255,31,120,.22);
      border-color:rgba(255,109,175,.52);
    }
    .age-badge{
      position:absolute;
      z-index:2;
      top:16px;
      right:14px;
      padding:5px 10px;
      border-radius:999px;
      color:#ff9acb;
      background:rgba(0,0,0,.44);
      border:1px solid rgba(255,74,160,.26);
      font-size:10px;
      font-weight:900;
      letter-spacing:.8px;
    }
    .card-content{
      position:absolute;
      left:0;
      right:0;
      bottom:0;
      z-index:2;
      padding:0 16px 16px;
    }
    .card-content h3{
      margin:0;
      font-size:17px;
      line-height:1.1;
      font-weight:900;
      letter-spacing:0;
      text-shadow:0 4px 20px rgba(0,0,0,.48);
    }
    .card-meta{
      min-width:0;
      display:flex;
      align-items:center;
      gap:6px;
      margin-top:6px;
      color:#ddd0ea;
      font-size:10px;
      font-weight:800;
      line-height:1.4;
    }
    .card-meta strong{color:#ff62ad;letter-spacing:1px;white-space:nowrap}
    .dot{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.55);flex:0 0 auto}
    .card-meta span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
    .play-me{
      width:100%;
      height:38px;
      margin-top:11px;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      color:#fff;
      border:0;
      border-radius:12px;
      background:linear-gradient(90deg,#ff4ab0,#ff0057);
      box-shadow:0 12px 26px rgba(255,0,87,.3);
      font-size:12px;
      font-weight:900;
    }
    .play-me .icon{width:15px;height:15px}

    .ad-card{
      position:relative;
      height:124px;
      overflow:hidden;
      border-radius:18px;
      border:1px solid rgba(255,209,102,.34);
      background:
        radial-gradient(circle at 82% 28%, rgba(255,255,255,.22), transparent 20%),
        linear-gradient(135deg,#f8d83f 0%,#56bb45 52%,#0d7944 100%);
      box-shadow:0 18px 34px rgba(0,0,0,.28);
      grid-column:span 2;
      padding:18px;
      color:#14240e;
    }
    .ad-card small{
      position:absolute;
      top:10px;
      right:10px;
      padding:3px 7px;
      border-radius:999px;
      background:rgba(0,0,0,.22);
      color:#fff;
      font-size:9px;
      font-weight:900;
    }
    .ad-card h3{width:62%;margin:0;font-size:21px;line-height:1.05;font-weight:900}
    .ad-card p{width:56%;margin:8px 0 0;color:#214018;font-size:11px;line-height:1.45;font-weight:800}
    .ad-card b{position:absolute;right:24px;bottom:18px;color:#fff;font-size:42px;text-shadow:0 6px 18px rgba(0,0,0,.22)}

    .empty-state{
      min-height:178px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:10px;
      margin:6px 4px 0;
      padding:28px;
      color:var(--sub);
      text-align:center;
      background:rgba(255,255,255,.035);
      border:1px dashed rgba(255,255,255,.14);
      border-radius:18px;
      font-size:13px;
      line-height:1.6;
    }
    .empty-state b{color:#fff;font-size:15px}
    .ghost-btn,.solid-btn{
      min-height:42px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding:0 15px;
      border-radius:13px;
      font-size:13px;
      font-weight:900;
    }
    .ghost-btn{color:#e8dff3;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12)}
    .solid-btn{
      color:#fff;
      border:0;
      background:linear-gradient(90deg,#ff4ab0,#ff0057);
      box-shadow:0 12px 24px rgba(255,31,120,.28);
    }

    #screen-main.is-shorts .app-header{display:none}
    #screen-main.is-shorts .main-scroll{
      padding:0;
      overflow:hidden;
      background:#05020a;
    }
    #screen-main.is-shorts #page-shorts{
      height:100%;
      min-height:0;
    }
    #screen-main.is-shorts #page-shorts .page-title{display:none}
    #screen-main.is-shorts .bottom-nav{
      background:rgba(12,8,22,.9);
      border-top-color:rgba(255,255,255,.08);
    }
    #screen-main.is-chat .app-header{display:none}
    #screen-main.is-chat .main-scroll{
      padding:0 16px calc(var(--nav-h) + 18px);
      background:#05020a;
    }
    #screen-main.is-create .app-header{display:none}
    #screen-main.is-create .main-scroll{
      padding:29px 24px calc(var(--nav-h) + 34px);
      background:#07060c;
    }
    #screen-main.is-profile .app-header{display:none}
    #screen-main.is-profile .main-scroll{
      padding:49px 20px calc(var(--nav-h) + 28px);
      background:#07060c;
      overflow-x:hidden;
    }
    #screen-main.is-profile .bottom-nav{
      background:rgba(10,7,16,.96);
      border-top-color:rgba(255,255,255,.08);
    }
    .chat-hero{
      margin:0 -16px 12px;
      padding:64px 28px 27px;
      border-bottom:1px solid rgba(255,255,255,.09);
      background:linear-gradient(180deg,rgba(18,11,30,.92),rgba(12,7,20,.92));
    }
    .chat-title-row{
      display:flex;
      align-items:center;
      gap:9px;
      min-width:0;
      color:#ff8bc8;
    }
    .chat-title-row .icon{
      width:21px;
      height:21px;
      color:#ff2f9b;
    }
    .chat-title-row h1{
      margin:0;
      color:#ff9bd2;
      font-size:21px;
      line-height:1.1;
      font-weight:900;
      letter-spacing:.7px;
      text-transform:uppercase;
    }
    .chat-hero p{
      margin:10px 0 0;
      color:#c7bdd4;
      font-size:12px;
      line-height:1.5;
    }
    .shorts-stack{
      position:relative;
      height:100%;
      min-height:0;
      overflow:hidden;
      background:#05020a;
    }
    .short-card{
      position:relative;
      height:100%;
      min-height:0;
      overflow:hidden;
      border:0;
      border-radius:0;
      background:linear-gradient(145deg,var(--a),var(--b));
      box-shadow:none;
    }
    .short-card .media,
    .short-card .portrait-fallback{
      inset:0;
      border-radius:0;
    }
    .short-card video,
    .short-card img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }
    .short-shade{
      position:absolute;
      inset:0;
      background:
        linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.06) 33%,rgba(0,0,0,.18) 61%,rgba(0,0,0,.72) 100%),
        linear-gradient(90deg,rgba(0,0,0,.08),transparent 48%,rgba(0,0,0,.28));
    }
    .short-pager{
      position:absolute;
      z-index:3;
      top:76px;
      right:22px;
      display:flex;
      flex-direction:column;
      overflow:hidden;
      border:1px solid rgba(255,255,255,.18);
      border-radius:24px;
      background:rgba(255,255,255,.18);
      backdrop-filter:blur(12px);
    }
    .short-pager button{
      width:44px;
      height:40px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:transparent;
      border:0;
    }
    .short-pager button:first-child{border-bottom:1px solid rgba(255,255,255,.16)}
    .short-mute{
      position:absolute;
      z-index:3;
      top:168px;
      right:22px;
      width:44px;
      height:44px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:rgba(117,56,82,.68);
      border:1px solid rgba(255,255,255,.18);
      border-radius:50%;
      backdrop-filter:blur(12px);
    }
    .short-rail{
      position:absolute;
      right:18px;
      bottom:calc(var(--nav-h) + 28px);
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:14px;
      z-index:3;
    }
    .short-avatar-wrap{
      position:relative;
      width:50px;
      height:50px;
      overflow:visible;
    }
    .short-avatar{
      position:relative;
      width:50px;
      height:50px;
      padding:0;
      overflow:visible;
      border-radius:50%;
      border:2px solid #6c5cff;
      background:linear-gradient(145deg,var(--a),var(--b));
    }
    .short-avatar img{
      width:100%;
      height:100%;
      border-radius:inherit;
      object-fit:cover;
      object-position:center 20%;
    }
    .short-avatar span{
      position:absolute;
      inset:0;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      font-size:20px;
      font-weight:900;
    }
    .short-follow{
      position:absolute;
      right:-1px;
      bottom:-7px;
      width:19px;
      height:19px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:#5b49ff;
      border:1px solid rgba(255,255,255,.45);
      border-radius:50%;
      font-size:15px;
      font-style:normal;
      line-height:1;
      z-index:2;
    }
    .short-follow.following{
      background:#20c47a;
      border-color:rgba(255,255,255,.66);
    }
    .short-follow.following span{
      width:8px;
      height:5px;
      margin-top:-2px;
      border-left:2px solid currentColor;
      border-bottom:2px solid currentColor;
      transform:rotate(-45deg);
    }
    .short-action{
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:6px;
      min-width:54px;
      color:#fff;
    }
    .short-action button{
      width:48px;
      height:48px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:rgba(35,35,39,.74);
      border:1px solid rgba(255,255,255,.1);
      border-radius:50%;
      backdrop-filter:blur(8px);
    }
    .short-action.swap button{background:linear-gradient(135deg,#6e63ff,#8b72ff)}
    .short-action.play button{background:rgba(55,48,52,.78);color:#ff3ca0}
    .short-action.music button{width:42px;height:42px;background:rgba(0,0,0,.58);color:#6d81ff}
    .short-action .icon{width:23px;height:23px}
    .short-action .short-count,
    .short-action .short-label{
      color:rgba(255,255,255,.84);
      font-size:11px;
      font-weight:800;
      line-height:1;
      text-align:center;
      text-shadow:0 2px 10px rgba(0,0,0,.5);
    }
    .short-action .short-count{font-size:10px;letter-spacing:.4px}
    .short-info{
      position:absolute;
      left:18px;
      right:86px;
      bottom:calc(var(--nav-h) + 18px);
      z-index:3;
      color:#fff;
      text-shadow:0 2px 16px rgba(0,0,0,.72);
    }
    .short-title-line{
      margin:0 0 -2px;
      color:rgba(255,255,255,.46);
      font-size:28px;
      line-height:1.06;
      font-weight:500;
      letter-spacing:0;
      white-space:nowrap;
    }
    .short-author{
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:7px;
      margin:0 0 9px;
      font-size:16px;
      font-weight:900;
    }
    .short-age,
    .short-role,
    .hash{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:22px;
      padding:4px 8px;
      border-radius:5px;
      font-size:10px;
      font-weight:900;
      line-height:1;
      text-shadow:none;
      white-space:nowrap;
    }
    .short-age{color:#dbe5ff;background:rgba(75,91,204,.72)}
    .short-role{color:#dfffe8;background:rgba(32,196,122,.72)}
    .hash-row{
      display:flex;
      flex-wrap:wrap;
      gap:6px;
      margin:8px 0 10px;
    }
    .hash{
      color:#fff;
      background:rgba(31,31,36,.74);
      border:1px solid rgba(255,255,255,.08);
      font-size:9px;
    }
    .short-desc{
      display:-webkit-box;
      margin:0;
      overflow:hidden;
      color:rgba(255,255,255,.9);
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
      font-size:12px;
      line-height:1.45;
    }
    .short-ready{
      display:flex;
      align-items:center;
      gap:8px;
      margin-top:11px;
      color:rgba(255,255,255,.72);
      font-size:10px;
      font-weight:800;
      letter-spacing:.2px;
    }
    .short-ready i{
      width:8px;
      height:8px;
      border-radius:50%;
      background:#2edb7d;
      box-shadow:0 0 0 4px rgba(46,219,125,.12);
    }
    .live-tag{
      display:inline-flex;
      align-items:center;
      gap:7px;
      min-height:26px;
      padding:5px 9px;
      color:#83f2dd;
      background:rgba(0,0,0,.34);
      border:1px solid rgba(131,242,221,.2);
      border-radius:999px;
      font-size:10px;
      font-weight:900;
    }
    .live-tag i{width:7px;height:7px;border-radius:50%;background:var(--aqua);box-shadow:0 0 0 5px rgba(63,218,199,.12)}

    .chat-list{display:flex;flex-direction:column;gap:10px}
    .thread-row{
      display:flex;
      align-items:center;
      gap:12px;
      min-height:78px;
      padding:11px;
      color:#fff;
      background:rgba(255,255,255,.035);
      border:1px solid rgba(255,255,255,.08);
      border-radius:18px;
      cursor:pointer;
      text-align:left;
    }
    .thread-row:hover{
      border-color:rgba(255,74,160,.26);
      background:rgba(255,255,255,.052);
    }
    .mini-avatar{
      position:relative;
      width:54px;
      height:54px;
      flex:0 0 auto;
      overflow:hidden;
      border-radius:16px;
      background:linear-gradient(145deg,var(--a),var(--b));
    }
    .mini-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
    .mini-avatar span{
      position:absolute;
      inset:0;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      font-size:22px;
      font-weight:900;
      background:linear-gradient(145deg,var(--a),var(--b));
    }
    .online-dot{position:absolute;right:0;bottom:0;width:12px;height:12px;border-radius:50%;background:var(--aqua);border:2px solid #171022}
    .thread-copy{flex:1;min-width:0}
    .thread-top{display:flex;align-items:center;gap:8px;margin-bottom:5px}
    .thread-top strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px}
    .thread-copy p{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--sub);font-size:12px}
    .thread-side{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:9px;
    }
    .thread-meta{
      min-width:38px;
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:5px;
    }
    .thread-heart-pill{
      min-width:34px;
      height:20px;
      padding:0 8px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:4px;
      color:#ffd8eb;
      background:rgba(255,31,120,.34);
      border:1px solid rgba(255,74,160,.42);
      border-radius:999px;
      font-size:10px;
      font-weight:900;
    }
    .thread-heart-pill .icon{
      width:10px;
      height:10px;
      color:#ff4f9d;
    }
    .thread-date{
      color:#8f829e;
      font-size:10px;
      font-weight:800;
      white-space:nowrap;
    }
    .unread{
      flex:0 0 auto;
      min-width:22px;
      height:22px;
      padding:0 7px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      background:#ff1f78;
      border-radius:999px;
      font-size:10px;
      font-weight:900;
    }
    .thread-delete{
      flex:0 0 auto;
      width:36px;
      height:36px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#ff4f86;
      background:rgba(255,31,120,.08);
      border:1px solid rgba(255,79,134,.48);
      border-radius:13px;
    }
    .thread-delete:hover{background:rgba(255,31,120,.16);border-color:rgba(255,79,134,.76)}
    .thread-delete .icon{width:17px;height:17px}

    .create-hub{
      min-height:100%;
      display:flex;
      flex-direction:column;
      align-items:stretch;
    }
    .create-pill{
      align-self:center;
      min-height:26px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:7px;
      padding:6px 14px;
      color:#ff71bc;
      background:rgba(255,31,120,.08);
      border:1px solid rgba(255,74,160,.62);
      border-radius:999px;
      box-shadow:0 10px 26px rgba(255,31,120,.08);
    }
    .create-pill .icon{width:14px;height:14px}
    .create-pill h1{
      margin:0;
      font-size:11px;
      line-height:1;
      font-weight:900;
      letter-spacing:0;
    }
    .create-intro{
      max-width:328px;
      margin:15px auto 18px;
      color:#b7aebb;
      font-size:13px;
      line-height:1.55;
      text-align:center;
    }
    .capacity-card{
      min-height:70px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:16px;
      border:1px solid rgba(255,255,255,.11);
      border-radius:17px;
      background:#151519;
    }
    .capacity-copy{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:9px;
    }
    .capacity-copy .icon{
      width:17px;
      height:17px;
      margin-top:2px;
      color:#ff59ad;
    }
    .capacity-copy h2{
      margin:0;
      color:#fff;
      font-size:14px;
      line-height:1.2;
      font-weight:900;
      letter-spacing:0;
    }
    .capacity-copy p{
      margin:5px 0 0;
      color:#fff;
      font-size:11px;
      line-height:1.2;
      font-weight:700;
    }
    .capacity-copy b{color:#ff3d99}
    .capacity-status{
      flex:0 0 auto;
      min-height:27px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:7px 13px;
      color:#dbfff4;
      background:rgba(18,130,95,.28);
      border:1px solid rgba(71,225,178,.48);
      border-radius:999px;
      font-size:9px;
      line-height:1;
      font-weight:900;
      letter-spacing:0;
      white-space:nowrap;
    }
    .capacity-status.is-full{
      color:#fff;
      background:linear-gradient(90deg,#f5a623,#c77a05);
      border-color:rgba(255,209,102,.42);
      box-shadow:0 10px 24px rgba(245,166,35,.16);
    }
    button.capacity-status:not(:disabled):hover{
      filter:brightness(1.08);
    }
    button.capacity-status:disabled{
      cursor:default;
    }
    .bonus-card{
      min-height:82px;
      width:100%;
      display:flex;
      align-items:center;
      gap:12px;
      margin-top:14px;
      padding:15px 14px;
      color:#fff;
      text-align:left;
      border:1px solid rgba(255,31,120,.45);
      border-radius:17px;
      background:#1a0e19;
    }
    .bonus-icon,.create-option-icon{
      width:50px;
      height:50px;
      flex:0 0 auto;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#ff72bd;
      background:rgba(255,31,120,.12);
      border:1px solid rgba(255,74,160,.48);
      border-radius:12px;
    }
    .bonus-icon .icon{width:26px;height:26px}
    .bonus-copy{min-width:0;flex:1}
    .bonus-copy h2{
      margin:0;
      color:#fff;
      font-size:13px;
      line-height:1.16;
      font-weight:900;
      letter-spacing:0;
    }
    .bonus-copy p{
      margin:5px 0 0;
      color:#fff;
      font-size:10px;
      line-height:1.45;
      font-weight:800;
    }
    .bonus-cta{
      min-width:102px;
      min-height:30px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:5px;
      padding:7px 10px;
      color:#f0a4d0;
      background:rgba(255,31,120,.18);
      border:1px solid rgba(255,74,160,.56);
      border-radius:11px;
      font-size:10px;
      line-height:1;
      font-weight:900;
      white-space:nowrap;
    }
    .bonus-cta .icon{width:12px;height:12px}
    .create-options{
      display:grid;
      gap:14px;
      margin-top:14px;
    }
    .create-option{
      position:relative;
      min-height:98px;
      width:100%;
      display:flex;
      align-items:center;
      gap:16px;
      padding:22px 17px 22px 20px;
      color:#fff;
      text-align:left;
      background:#19191c;
      border:1px solid rgba(255,255,255,.09);
      border-radius:15px;
      box-shadow:0 14px 28px rgba(0,0,0,.2);
    }
    .create-option.is-featured{
      border-color:rgba(255,74,160,.46);
      background:#19191c;
    }
    .create-option.is-featured::before{
      content:"";
      position:absolute;
      left:0;
      top:16px;
      bottom:16px;
      width:3px;
      border-radius:0 999px 999px 0;
      background:#d75ca1;
    }
    .create-option:hover{border-color:rgba(255,74,160,.5)}
    .create-option.is-locked{
      opacity:.58;
      border-color:rgba(255,255,255,.07);
      background:#111114;
    }
    .create-option.is-locked .create-option-copy h2{
      display:flex;
      align-items:center;
      gap:7px;
    }
    .create-option.is-locked .create-option-copy h2::after{
      content:"LOCKED";
      flex:0 0 auto;
      padding:3px 6px;
      color:#f6b84c;
      border:1px solid rgba(246,184,76,.25);
      border-radius:7px;
      background:rgba(246,184,76,.1);
      font-size:8px;
      line-height:1;
      font-weight:900;
    }
    .create-option-icon{
      width:52px;
      height:52px;
      color:#ff8dcc;
    }
    .create-option-icon .icon{width:26px;height:26px}
    .create-option:nth-child(3) .create-option-icon{
      color:#a985ff;
      background:rgba(128,91,255,.11);
      border-color:rgba(128,91,255,.46);
    }
    .create-option-copy{min-width:0;flex:1}
    .create-option-copy h2{
      margin:0;
      color:#fff;
      font-size:15px;
      line-height:1.16;
      font-weight:900;
      letter-spacing:0;
      text-transform:uppercase;
    }
    .create-option.is-featured .create-option-copy h2{text-transform:none}
    .create-option-copy p{
      margin:7px 0 0;
      color:#a59da9;
      font-size:11px;
      line-height:1.5;
      font-weight:700;
    }
    .create-chevron{
      flex:0 0 auto;
      width:19px;
      height:19px;
      color:#69656e;
    }
    .create-flow-screen{
      background:#07060c;
      color:#f8f3ff;
    }
    .create-flow-head{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:12px;
      padding:49px 16px 13px;
      border-bottom:1px solid rgba(255,255,255,.08);
      background:rgba(8,6,13,.94);
      backdrop-filter:blur(16px);
    }
    .create-flow-head .icon-btn{
      width:38px;
      height:38px;
      background:rgba(255,255,255,.045);
      border-color:rgba(255,255,255,.11);
    }
    .create-flow-title{
      flex:1;
      min-width:0;
    }
    .create-flow-title span{
      display:block;
      color:#ff6eb9;
      font-size:10px;
      font-weight:900;
      line-height:1.2;
      text-transform:uppercase;
    }
    .create-flow-title h1{
      margin:3px 0 0;
      overflow:hidden;
      color:#fff;
      font-size:18px;
      line-height:1.15;
      font-weight:900;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .create-flow-body{
      flex:1;
      min-height:0;
      padding:18px 18px 28px;
      background:#07060c;
    }
    .flow-window{
      width:100%;
      max-width:390px;
      margin:0 auto;
      display:grid;
      gap:14px;
    }
    .flow-hero{
      display:flex;
      align-items:flex-start;
      gap:14px;
      padding:17px;
      border:1px solid rgba(255,74,160,.24);
      border-radius:20px;
      background:
        radial-gradient(260px 160px at 100% 0%, rgba(255,74,160,.14), transparent 66%),
        #141217;
      box-shadow:0 18px 34px rgba(0,0,0,.24);
    }
    .flow-hero.is-violet{
      border-color:rgba(142,106,255,.26);
      background:
        radial-gradient(260px 160px at 100% 0%, rgba(142,106,255,.17), transparent 66%),
        #141217;
    }
    .flow-hero.is-teal{
      border-color:rgba(63,218,199,.25);
      background:
        radial-gradient(260px 160px at 100% 0%, rgba(63,218,199,.13), transparent 66%),
        #141217;
    }
    .flow-hero-icon{
      width:50px;
      height:50px;
      flex:0 0 auto;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#ff7dc3;
      background:rgba(255,31,120,.12);
      border:1px solid rgba(255,74,160,.42);
      border-radius:14px;
    }
    .flow-hero.is-violet .flow-hero-icon{
      color:#ac8dff;
      background:rgba(142,106,255,.12);
      border-color:rgba(142,106,255,.42);
    }
    .flow-hero.is-teal .flow-hero-icon{
      color:#89fff0;
      background:rgba(63,218,199,.1);
      border-color:rgba(63,218,199,.34);
    }
    .flow-hero-icon .icon{width:25px;height:25px}
    .flow-hero-copy{min-width:0}
    .flow-hero-copy span{
      color:#ff94ce;
      font-size:10px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .flow-hero-copy h2{
      margin:5px 0 7px;
      color:#fff;
      font-size:19px;
      line-height:1.12;
      font-weight:900;
    }
    .flow-hero-copy p{
      margin:0;
      color:#b7afbe;
      font-size:12px;
      line-height:1.55;
      font-weight:700;
    }
    .flow-section{
      display:grid;
      gap:10px;
    }
    .flow-section-title{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      color:#efe7f7;
      font-size:12px;
      font-weight:900;
    }
    .flow-section-title span:last-child{
      color:#807789;
      font-size:10px;
      font-weight:800;
    }
    .scene-grid,.preset-grid,.preference-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:9px;
    }
    .scene-card,.preset-card,.preference-card{
      min-width:0;
      min-height:82px;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      gap:8px;
      padding:11px;
      color:#fff;
      text-align:left;
      border:1px solid rgba(255,255,255,.1);
      border-radius:14px;
      background:linear-gradient(145deg,var(--a),var(--b));
      box-shadow:0 12px 24px rgba(0,0,0,.18);
    }
    .scene-card strong,.preset-card strong,.preference-card strong{
      font-size:11px;
      line-height:1.15;
      font-weight:900;
    }
    .scene-card span,.preset-card span,.preference-card span{
      color:rgba(255,255,255,.74);
      font-size:9px;
      line-height:1.25;
      font-weight:800;
    }
    .upload-zone{
      min-height:124px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:9px;
      padding:20px;
      color:#d8cde3;
      text-align:center;
      border:1px dashed rgba(255,74,160,.38);
      border-radius:18px;
      background:rgba(255,255,255,.035);
    }
    .upload-zone .icon{
      width:34px;
      height:34px;
      color:#ff64b6;
    }
    .upload-zone strong{
      color:#fff;
      font-size:13px;
      font-weight:900;
    }
    .upload-zone span{
      color:#8f8798;
      font-size:10px;
      line-height:1.4;
      font-weight:800;
    }
    .step-dots{
      display:grid;
      grid-template-columns:repeat(11,1fr);
      gap:5px;
    }
    .step-dots i{
      height:5px;
      border-radius:999px;
      background:rgba(255,255,255,.12);
    }
    .step-dots i:first-child{background:#ff4aa0}
    .flow-summary{
      display:grid;
      gap:9px;
      padding:14px;
      border:1px solid rgba(255,255,255,.09);
      border-radius:18px;
      background:#16151a;
    }
    .flow-summary-row{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      color:#fff;
      font-size:12px;
      font-weight:800;
    }
    .flow-summary-row span:first-child{color:#9d94a8}
    .slot-purchase-card{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:17px;
      border:1px solid rgba(255,209,102,.28);
      border-radius:20px;
      background:
        radial-gradient(180px 120px at 88% 18%, rgba(255,209,102,.15), transparent 68%),
        #151118;
    }
    .slot-purchase-left{
      display:flex;
      align-items:center;
      gap:13px;
      min-width:0;
    }
    .slot-purchase-icon{
      width:46px;
      height:46px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      color:#1c1200;
      border-radius:15px;
      background:linear-gradient(135deg,#ffd95a,#d48a00);
      box-shadow:0 12px 26px rgba(245,166,35,.14);
    }
    .slot-purchase-icon .icon{
      width:22px;
      height:22px;
    }
    .slot-purchase-copy{
      min-width:0;
    }
    .slot-purchase-copy strong{
      display:block;
      color:#fff;
      font-size:13px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .slot-purchase-copy span{
      display:block;
      margin-top:5px;
      color:#9d94a8;
      font-size:10px;
      line-height:1.35;
      font-weight:800;
    }
    .slot-price-big{
      flex:0 0 auto;
      color:#ffd166;
      font-size:18px;
      line-height:1;
      font-weight:900;
      white-space:nowrap;
    }
    .slot-flow-note{
      margin:0;
      color:#84798d;
      font-size:10px;
      line-height:1.45;
      font-weight:800;
      text-align:center;
    }
    .flow-actions{
      display:flex;
      gap:10px;
      margin-top:2px;
    }
    .flow-actions .solid-btn,.flow-actions .ghost-btn{
      flex:1;
      min-height:46px;
      border-radius:14px;
    }
    .external-window{
      min-height:180px;
      overflow:hidden;
      border:1px solid rgba(63,218,199,.24);
      border-radius:20px;
      background:
        radial-gradient(190px 120px at 75% 18%, rgba(63,218,199,.16), transparent 65%),
        linear-gradient(145deg,#171321,#0b0a10);
    }
    .external-window-bar{
      display:flex;
      align-items:center;
      gap:6px;
      padding:10px 12px;
      border-bottom:1px solid rgba(255,255,255,.08);
      background:rgba(0,0,0,.26);
    }
    .external-window-bar i{
      width:7px;
      height:7px;
      border-radius:50%;
      background:#ff5c9e;
    }
    .external-window-bar i:nth-child(2){background:#ffd166}
    .external-window-bar i:nth-child(3){background:#3fdac7}
    .external-window-copy{
      padding:20px;
    }
    .external-window-copy h3{
      margin:0;
      color:#fff;
      font-size:20px;
      line-height:1.15;
      font-weight:900;
    }
    .external-window-copy p{
      margin:8px 0 0;
      color:#b9afc4;
      font-size:12px;
      line-height:1.55;
      font-weight:700;
    }
    .create-flow-screen{
      background:#0a0a0f;
    }
    .create-flow-screen .create-flow-head{
      display:none;
    }
    .create-flow-screen .create-flow-body{
      padding:24px 16px calc(var(--nav-h) + 24px);
      background:#0a0a0f;
    }
    .create-flow-screen .bottom-nav{
      background:rgba(10,7,16,.96);
      border-top-color:rgba(255,255,255,.08);
    }
    .create-flow-screen .nav-btn[data-page="create"]{
      color:#ff3ca0;
    }
    .flow-window{
      max-width:416px;
      display:flex;
      flex-direction:column;
      gap:16px;
    }
    .flow-window.is-photo{
      min-height:calc(100% - 8px);
      justify-content:center;
      padding-top:8px;
      padding-bottom:6px;
    }
    .flow-topbar{
      display:grid;
      grid-template-columns:48px 1fr 56px;
      align-items:center;
      gap:8px;
      padding:0 2px;
    }
    .flow-topbar.is-left{
      grid-template-columns:auto 1fr;
      justify-items:start;
    }
    .flow-back-icon{
      width:41px;
      height:41px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      color:#d4cadb;
      border:1px solid rgba(255,255,255,.1);
      border-radius:17px;
      background:rgba(0,0,0,.55);
    }
    .flow-back-icon .icon{
      width:17px;
      height:17px;
    }
    .flow-title-block{
      min-width:0;
      text-align:center;
    }
    .flow-title-block span{
      display:block;
      color:#ff8dcc;
      font-size:9px;
      line-height:1.25;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:0;
    }
    .flow-title-block h1{
      margin:3px 0 0;
      color:#fff;
      font-size:18px;
      line-height:1.12;
      font-weight:900;
      letter-spacing:0;
    }
    .flow-topbar.is-left .flow-title-block{
      text-align:left;
    }
    .flow-topbar.is-left .flow-title-block h1{
      font-size:13px;
      text-transform:uppercase;
    }
    .flow-gold{
      justify-self:end;
      color:#ffd166;
      font-size:12px;
      line-height:1;
      font-weight:900;
      text-align:right;
    }
    .video-shell{
      overflow:hidden;
      border:1px solid rgba(255,255,255,.1);
      border-radius:28px;
      background:#07030f;
      box-shadow:0 24px 42px rgba(0,0,0,.42);
    }
    .video-preview{
      position:relative;
      min-height:235px;
      height:35vh;
      max-height:330px;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      background:#000;
    }
    .video-preview video{
      width:100%;
      height:100%;
      object-fit:cover;
      opacity:.88;
    }
    .preview-controls{
      position:absolute;
      top:13px;
      right:13px;
      z-index:2;
      display:flex;
      gap:8px;
    }
    .preview-control{
      width:40px;
      height:40px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      border:1px solid rgba(255,255,255,.15);
      border-radius:50%;
      background:rgba(0,0,0,.64);
    }
    .preview-control .icon{
      width:17px;
      height:17px;
    }
    .preview-caption{
      position:absolute;
      left:0;
      right:0;
      bottom:0;
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:14px;
      padding:44px 16px 16px;
      background:linear-gradient(180deg, transparent, rgba(0,0,0,.88));
    }
    .preview-caption span{
      display:block;
      color:#ffb1d8;
      font-size:9px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:0;
    }
    .preview-caption strong{
      display:block;
      max-width:250px;
      margin-top:4px;
      overflow:hidden;
      color:#fff;
      font-size:16px;
      line-height:1.15;
      font-weight:900;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .duration-pill{
      flex:0 0 auto;
      padding:5px 10px;
      color:#fff;
      border:1px solid rgba(255,255,255,.16);
      border-radius:999px;
      background:rgba(255,255,255,.1);
      font-size:10px;
      font-weight:900;
    }
    .reference-section{
      display:grid;
      gap:9px;
    }
    .section-kicker{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      padding:0 2px;
      color:#827987;
      font-size:10px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:0;
    }
    .section-kicker span:last-child{
      color:#706878;
      text-transform:none;
    }
    .template-strip,
    .role-strip{
      display:flex;
      gap:12px;
      margin:0 -4px;
      padding:0 4px 2px;
      overflow-x:auto;
      scrollbar-width:none;
    }
    .template-strip::-webkit-scrollbar,
    .role-strip::-webkit-scrollbar{display:none}
    .template-card{
      position:relative;
      width:106px;
      flex:0 0 106px;
      overflow:hidden;
      padding:0;
      color:#fff;
      text-align:left;
      border:1px solid rgba(255,255,255,.11);
      border-radius:18px;
      background:#000;
      transition:transform .18s,border-color .18s,box-shadow .18s;
    }
    .template-card.is-selected{
      border-color:#ff79bd;
      box-shadow:0 12px 28px rgba(255,31,120,.2);
    }
    .template-card:active{transform:scale(.98)}
    .template-media{
      display:block;
      width:100%;
      aspect-ratio:3/4;
      background:#111;
    }
    .template-media video,
    .template-media img{
      width:100%;
      height:100%;
      display:block;
      object-fit:cover;
      opacity:.9;
    }
    .template-copy{
      position:absolute;
      inset:auto 0 0;
      padding:34px 9px 9px;
      background:linear-gradient(180deg, transparent, rgba(0,0,0,.9));
    }
    .template-copy span{
      display:block;
      color:#ffb1d8;
      font-size:8px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
      letter-spacing:0;
    }
    .template-copy strong{
      display:block;
      margin-top:3px;
      overflow:hidden;
      color:#fff;
      font-size:10px;
      line-height:1.2;
      font-weight:800;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .template-copy em{
      display:block;
      margin-top:2px;
      color:#d8d2db;
      font-size:8px;
      line-height:1.2;
      font-style:normal;
      font-weight:800;
    }
    .face-source-panel,
    .quality-panel,
    .photo-upload-panel,
    .wizard-content-card,
    .bonus-window-panel{
      border:1px solid rgba(255,255,255,.1);
      border-radius:24px;
      background:rgba(255,255,255,.04);
    }
    .face-source-panel,
    .quality-panel{
      display:grid;
      gap:12px;
      padding:13px;
    }
    .source-segment,
    .quality-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:8px;
    }
    .quality-grid{
      grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .source-segment button,
    .quality-grid button{
      min-height:40px;
      color:#8f8796;
      border:1px solid rgba(255,255,255,.1);
      border-radius:16px;
      background:rgba(0,0,0,.35);
      font-size:10px;
      font-weight:900;
      text-transform:uppercase;
    }
    .source-segment button.is-active,
    .quality-grid button.is-active{
      color:#fff;
      border-color:#ff79bd;
      background:#ff3ca0;
      box-shadow:0 10px 24px rgba(255,31,120,.16);
    }
    .photo-source-row{
      width:100%;
      display:flex;
      align-items:center;
      gap:12px;
      padding:0 2px 2px;
      border:0;
      background:transparent;
      text-align:left;
    }
    .face-upload-thumb{
      width:56px;
      height:56px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#ff8dcc;
      border:1px dashed rgba(255,255,255,.18);
      border-radius:14px;
      background:rgba(0,0,0,.32);
    }
    .face-upload-thumb .icon{
      width:22px;
      height:22px;
    }
    .photo-source-row strong{
      display:block;
      color:#e9e2ee;
      font-size:12px;
      line-height:1.25;
      font-weight:900;
    }
    .photo-source-row > span:not(.face-upload-thumb) span{
      display:block;
      margin-top:4px;
      color:#8c8492;
      font-size:10px;
      line-height:1.35;
      font-weight:700;
    }
    .price-row{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding-top:12px;
      border-top:1px solid rgba(255,255,255,.08);
    }
    .price-row span{
      color:#aaa2af;
      font-size:12px;
      font-weight:700;
    }
    .price-row strong{
      color:#ffd166;
      font-size:18px;
      font-weight:900;
    }
    .photo-upload-panel{
      display:grid;
      gap:15px;
      padding:20px;
      background:rgba(9,9,14,.82);
    }
    .photo-upload-panel h2{
      margin:0;
      color:#f6f0fb;
      font-size:16px;
      line-height:1.2;
      font-weight:900;
      text-align:center;
    }
    .photo-upload-panel p{
      margin:0;
      color:#a8a0ad;
      font-size:11px;
      line-height:1.45;
      font-weight:700;
      text-align:center;
    }
    .upload-drop{
      min-height:156px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding:22px;
      color:#bfb6c7;
      text-align:center;
      border:2px dashed rgba(255,255,255,.11);
      border-radius:18px;
      background:rgba(255,255,255,.025);
      position:relative;
      overflow:hidden;
    }
    .upload-drop:hover{
      border-color:rgba(255,74,160,.45);
      background:rgba(255,74,160,.05);
    }
    .upload-drop .icon{
      width:40px;
      height:40px;
      color:#7e7486;
    }
    .upload-drop strong{
      color:#f0eaf5;
      font-size:12px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .upload-drop span{
      color:#817987;
      font-size:10px;
      font-weight:700;
    }
    .upload-spark{
      position:absolute;
      right:16px;
      bottom:13px;
      width:24px;
      height:24px;
      color:#ff4aa0;
      opacity:.7;
    }
    .model-preset-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      color:#817987;
      font-size:10px;
      font-weight:900;
      text-transform:uppercase;
    }
    .model-preset-head span:last-child{
      color:#ff73bc;
      text-transform:none;
    }
    .preset-avatar-grid{
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:8px;
    }
    .preset-avatar{
      position:relative;
      aspect-ratio:1;
      overflow:hidden;
      padding:0;
      border:1px solid rgba(255,255,255,.1);
      border-radius:10px;
      background:#111;
    }
    .preset-avatar img{
      width:100%;
      height:100%;
      object-fit:cover;
    }
    .preset-avatar-fallback{
      width:100%;
      height:100%;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      font-size:18px;
      font-style:normal;
      font-weight:900;
    }
    .preset-avatar span{
      position:absolute;
      left:0;
      right:0;
      bottom:0;
      padding:3px 2px;
      overflow:hidden;
      color:#d9d1df;
      background:rgba(0,0,0,.75);
      font-size:8px;
      font-weight:800;
      text-align:center;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .wizard-screen{
      padding:0 8px;
    }
    .wizard-progress-strip{
      display:flex;
      align-items:center;
      gap:6px;
      overflow-x:auto;
      padding:10px 12px;
      border:1px solid rgba(255,255,255,.08);
      border-radius:16px;
      background:rgba(9,9,14,.82);
      scrollbar-width:none;
    }
    .wizard-progress-strip::-webkit-scrollbar{display:none}
    .wizard-progress-item{
      width:24px;
      height:24px;
      flex:0 0 24px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#8e8596;
      border:1px solid rgba(255,255,255,.1);
      border-radius:50%;
      background:#17151d;
      padding:0;
      font-size:9px;
      font-weight:900;
      cursor:pointer;
      appearance:none;
    }
    .wizard-progress-item.is-active{
      color:#fff;
      border-color:#ff5cad;
      background:#ff3ca0;
      box-shadow:0 0 18px rgba(255,31,120,.32);
    }
    .wizard-progress-item.is-done{
      color:#d8bcff;
      border-color:#7d3dcb;
      background:#211331;
    }
    .wizard-rail{
      width:9px;
      height:2px;
      flex:0 0 9px;
      border-radius:999px;
      background:#2d2536;
    }
    .wizard-rail.is-done{
      background:#704cca;
    }
    .wizard-notice{
      display:flex;
      align-items:flex-start;
      gap:9px;
      padding:11px 12px;
      color:#d9c6ff;
      border:1px solid rgba(171,130,255,.22);
      border-radius:14px;
      background:rgba(55,24,106,.5);
    }
    .wizard-notice .icon{
      width:16px;
      height:16px;
      color:#ad8aff;
    }
    .wizard-notice .notice-copy{
      display:block;
    }
    .wizard-notice strong{
      display:block;
      color:#f2eaff;
      font-size:10px;
      line-height:1.25;
      font-weight:900;
    }
    .wizard-notice .notice-copy > span{
      display:block;
      margin-top:4px;
      color:#cbb4ff;
      font-size:9px;
      line-height:1.35;
      font-weight:700;
    }
    .wizard-content-card{
      display:grid;
      gap:15px;
      padding:16px;
      background:rgba(13,12,17,.68);
    }
    .wizard-content-card h2{
      margin:0;
      color:#f6f0fb;
      font-size:16px;
      line-height:1.18;
      font-weight:900;
      text-align:center;
      text-transform:uppercase;
    }
    .wizard-content-card p{
      margin:5px 0 0;
      color:#a9a1ae;
      font-size:11px;
      line-height:1.45;
      font-weight:700;
      text-align:center;
    }
    .face-reference-panel{
      display:flex;
      flex-direction:column;
      align-items:center;
      gap:12px;
      padding:16px;
      border:1px solid rgba(255,255,255,.08);
      border-radius:16px;
      background:rgba(255,255,255,.035);
    }
    .reference-preview{
      width:144px;
      height:144px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      color:#60576a;
      border:1px solid rgba(255,255,255,.1);
      border-radius:15px;
      background:#07070b;
    }
    .reference-preview .icon{
      width:32px;
      height:32px;
      margin-bottom:7px;
    }
    .reference-preview span{
      color:#706879;
      font-size:9px;
      font-weight:900;
      text-transform:uppercase;
    }
    .replace-photo-btn{
      min-height:38px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding:0 15px;
      color:#ded6e6;
      border:1px solid rgba(255,255,255,.1);
      border-radius:10px;
      background:#17151d;
      font-size:12px;
      font-weight:900;
      text-transform:uppercase;
    }
    .replace-photo-btn .icon{
      width:15px;
      height:15px;
      color:#ff4aa0;
    }
    .ethnicity-block{
      display:grid;
      gap:10px;
      padding-top:4px;
      border-top:1px solid rgba(255,255,255,.07);
    }
    .ethnicity-block > span{
      color:#827987;
      font-size:10px;
      font-weight:900;
      text-transform:uppercase;
    }
    .ethnicity-grid{
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:7px;
    }
    .ethnicity-grid button{
      min-height:31px;
      color:#827987;
      border:1px solid rgba(255,255,255,.08);
      border-radius:10px;
      background:#07070b;
      font-size:10px;
      font-weight:800;
    }
    .ethnicity-grid button.is-active{
      color:#ff73bc;
      border-color:#ff4aa0;
      background:rgba(255,31,120,.1);
    }
    .wizard-content-card.is-list-step{
      gap:16px;
      padding:18px 16px;
      background:rgba(7,7,11,.64);
    }
    .wizard-media-list{
      display:grid;
      gap:12px;
    }
    .wizard-media-card{
      position:relative;
      width:100%;
      min-height:142px;
      display:flex;
      align-items:center;
      gap:16px;
      padding:13px;
      color:#f4edf8;
      border:1px solid rgba(255,255,255,.08);
      border-radius:14px;
      background:rgba(255,255,255,.035);
      text-align:left;
      overflow:hidden;
      transition:border-color .18s,background .18s,box-shadow .18s;
    }
    .wizard-media-card.is-active{
      border-color:#ff2f9a;
      background:rgba(16,14,20,.92);
      box-shadow:0 0 0 1px rgba(255,47,154,.1) inset;
    }
    .wizard-media-thumb{
      width:78px;
      height:120px;
      flex:0 0 78px;
      display:block;
      overflow:hidden;
      border:1px solid rgba(255,255,255,.1);
      border-radius:8px;
      background:#08070d;
    }
    .wizard-media-thumb img,
    .wizard-media-thumb video{
      width:100%;
      height:100%;
      display:block;
      object-fit:cover;
    }
    .wizard-media-copy{
      min-width:0;
      display:grid;
      gap:7px;
      padding-right:28px;
    }
    .wizard-media-copy strong{
      color:#f8f2fb;
      font-size:13px;
      line-height:1.1;
      font-weight:900;
      text-transform:uppercase;
    }
    .wizard-option-status{
      width:max-content;
      max-width:100%;
      display:inline-flex;
      align-items:center;
      min-height:20px;
      padding:0 10px;
      color:#b987a6;
      border:1px solid rgba(255,74,160,.22);
      border-radius:999px;
      background:rgba(255,74,160,.08);
      font-size:9px;
      font-weight:800;
      text-transform:uppercase;
    }
    .wizard-selected-dot{
      position:absolute;
      right:13px;
      top:50%;
      transform:translateY(-50%);
      width:22px;
      height:22px;
      display:grid;
      place-items:center;
      color:#fff;
      border-radius:50%;
      background:#ff3ca0;
      box-shadow:0 0 16px rgba(255,47,154,.34);
    }
    .wizard-selected-dot .icon{
      width:13px;
      height:13px;
    }
    .wizard-media-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    .wizard-media-grid .wizard-media-card{
      min-height:0;
      flex-direction:column;
      align-items:stretch;
      gap:10px;
      padding:10px;
    }
    .wizard-media-grid .wizard-media-thumb{
      width:100%;
      height:auto;
      aspect-ratio:4/5;
      flex:none;
      border-radius:10px;
    }
    .wizard-media-grid .wizard-media-copy{
      min-height:42px;
      padding-right:22px;
    }
    .wizard-media-grid .wizard-media-copy strong{
      font-size:11px;
    }
    .wizard-media-grid .wizard-option-status{
      min-height:18px;
      padding:0 7px;
      font-size:8px;
    }
    .wizard-media-grid .wizard-selected-dot{
      top:auto;
      right:9px;
      bottom:9px;
      transform:none;
    }
    .wizard-choice-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    .wizard-choice-card{
      min-height:76px;
      display:flex;
      align-items:center;
      gap:11px;
      padding:11px;
      color:#f2edf7;
      border:1px solid rgba(255,255,255,.08);
      border-radius:14px;
      background:rgba(255,255,255,.035);
      text-align:left;
    }
    .wizard-choice-card.is-active{
      border-color:#ff3c95;
      background:linear-gradient(135deg,rgba(255,41,126,.16),rgba(117,74,255,.1));
      box-shadow:0 0 0 1px rgba(255,60,149,.08) inset;
    }
    .wizard-choice-media{
      width:44px;
      height:44px;
      flex:0 0 44px;
      display:grid;
      place-items:center;
      color:#ff73bc;
      border:1px solid rgba(255,74,160,.32);
      border-radius:12px;
      background:#231423;
    }
    .wizard-choice-media .icon{
      width:22px;
      height:22px;
    }
    .wizard-choice-copy{
      min-width:0;
      display:block;
    }
    .wizard-choice-copy strong{
      display:block;
      color:#f8f2fb;
      font-size:12px;
      line-height:1.2;
      font-weight:900;
    }
    .wizard-choice-copy span{
      display:block;
      margin-top:4px;
      color:#938999;
      font-size:9px;
      line-height:1.35;
      font-weight:700;
    }
    .wizard-mini-note{
      display:flex;
      align-items:center;
      gap:8px;
      padding:10px 11px;
      color:#bdb0c9;
      border:1px solid rgba(255,255,255,.08);
      border-radius:12px;
      background:rgba(8,7,12,.74);
      font-size:10px;
      line-height:1.35;
      font-weight:800;
    }
    .wizard-mini-note .icon{
      width:15px;
      height:15px;
      color:#ff4aa0;
    }
    .wizard-swatch-grid{
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:9px;
    }
    .wizard-swatch{
      min-height:58px;
      display:grid;
      place-items:center;
      gap:6px;
      padding:8px 4px;
      color:#a99fb2;
      border:1px solid rgba(255,255,255,.08);
      border-radius:13px;
      background:rgba(255,255,255,.035);
      font-size:9px;
      font-weight:900;
    }
    .wizard-swatch.is-active{
      color:#fff;
      border-color:#ff4aa0;
      background:rgba(255,31,120,.1);
    }
    .wizard-swatch i{
      width:22px;
      height:22px;
      border:2px solid rgba(255,255,255,.14);
      border-radius:50%;
      background:var(--swatch,#fff);
      box-shadow:0 0 14px rgba(255,74,160,.16);
    }
    .wizard-final-field{
      display:grid;
      gap:7px;
      padding:12px;
      border:1px solid rgba(255,255,255,.08);
      border-radius:13px;
      background:rgba(255,255,255,.035);
    }
    .wizard-final-field span{
      color:#827987;
      font-size:9px;
      font-weight:900;
      text-transform:uppercase;
    }
    .wizard-final-field input{
      width:100%;
      height:38px;
      color:#f5eef8;
      border:1px solid rgba(255,74,160,.26);
      border-radius:10px;
      background:#08070d;
      padding:0 11px;
      font:inherit;
      font-size:12px;
      font-weight:800;
      outline:none;
    }
    .wizard-summary-list{
      display:grid;
      gap:8px;
    }
    .wizard-summary-row{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      min-height:34px;
      padding:0 11px;
      color:#a79dad;
      border:1px solid rgba(255,255,255,.07);
      border-radius:10px;
      background:rgba(255,255,255,.03);
      font-size:10px;
      font-weight:800;
    }
    .wizard-summary-row strong{
      color:#ff73bc;
      font-weight:900;
      text-align:right;
    }
    .bonus-window-panel{
      overflow:hidden;
      min-height:320px;
      background:#080910;
    }
    .bonus-window-stage{
      min-height:260px;
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      padding:20px;
      background:
        radial-gradient(180px 120px at 72% 24%, rgba(255,74,160,.22), transparent 70%),
        linear-gradient(160deg,#10131b,#0a0710 68%);
    }
    .bonus-window-stage h2{
      margin:0;
      color:#fff;
      font-size:24px;
      line-height:1.05;
      font-weight:900;
    }
    .bonus-window-stage p{
      margin:8px 0 0;
      max-width:260px;
      color:#bdb4c7;
      font-size:12px;
      line-height:1.45;
      font-weight:700;
    }
    @media (max-height:760px){
      .create-flow-screen .create-flow-body{
        padding-top:16px;
      }
      .video-preview{
        min-height:200px;
        height:31vh;
      }
      .photo-upload-panel{
        gap:12px;
        padding:17px;
      }
      .upload-drop{
        min-height:126px;
        padding:18px;
      }
      .wizard-content-card{
        gap:12px;
        padding:14px;
      }
      .reference-preview{
        width:116px;
        height:116px;
      }
    }

    .profile-card{
      position:relative;
      overflow:hidden;
      padding:18px;
      border:1px solid rgba(255,255,255,.1);
      border-radius:22px;
      background:radial-gradient(circle at 86% 12%, rgba(63,218,199,.2), transparent 24%), linear-gradient(145deg,#281638,#171022);
    }
    .profile-head{display:flex;align-items:center;gap:13px}
    .user-avatar{
      width:62px;
      height:62px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      border-radius:20px;
      background:linear-gradient(135deg,#ff4ab0,#6957ff);
      box-shadow:0 16px 28px rgba(255,31,120,.22);
      font-size:25px;
      font-weight:900;
    }
    .profile-head h2{margin:0 0 5px;font-size:20px}
    .profile-head p{margin:0;color:var(--sub);font-size:12px}
    .wallet-grid,.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
    .wallet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .metric{
      min-width:0;
      padding:13px 10px;
      border:1px solid rgba(255,255,255,.08);
      border-radius:16px;
      background:rgba(255,255,255,.04);
    }
    .metric b{display:block;color:#fff;font-size:20px;line-height:1.1}
    .metric span{display:block;margin-top:6px;color:var(--sub);font-size:10px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}
    .settings-list{display:grid;gap:9px;margin-top:14px}
    .setting-row{
      min-height:54px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:0 14px;
      color:#fff;
      background:rgba(255,255,255,.035);
      border:1px solid rgba(255,255,255,.08);
      border-radius:16px;
      text-align:left;
    }
    .setting-row span{color:var(--sub);font-size:12px}
    .profile-center{
      display:grid;
      gap:16px;
      width:100%;
      max-width:384px;
      margin:0 auto;
      min-width:0;
    }
    .profile-user-card{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      min-height:110px;
      min-width:0;
      padding:22px;
      border:1px solid rgba(143,77,255,.5);
      border-radius:22px;
      background:#100b20;
      box-shadow:0 18px 36px rgba(0,0,0,.22);
    }
    .profile-user-left{
      display:flex;
      align-items:center;
      gap:16px;
      flex:1 1 auto;
      min-width:0;
    }
    .profile-avatar-ring{
      width:64px;
      height:64px;
      flex:0 0 auto;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      border:2px solid #ff3a99;
      border-radius:50%;
      background:#121016;
      box-shadow:0 0 0 2px rgba(255,209,102,.75) inset,0 8px 24px rgba(255,31,120,.26);
      font-size:17px;
      font-weight:900;
    }
    .profile-identity{
      min-width:0;
    }
    .profile-name-row{
      display:flex;
      align-items:center;
      gap:7px;
      min-width:0;
    }
    .profile-name-row h1{
      margin:0;
      overflow:hidden;
      color:#fff;
      font-size:17px;
      line-height:1.15;
      font-weight:900;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .profile-edit-btn{
      width:22px;
      height:22px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      color:#9c8bad;
      border:0;
      background:transparent;
    }
    .profile-edit-btn .icon{
      width:15px;
      height:15px;
    }
    .uid-chip{
      min-height:25px;
      display:inline-flex;
      align-items:center;
      gap:7px;
      max-width:152px;
      margin-top:9px;
      padding:5px 9px;
      color:#786d84;
      border:1px solid rgba(105,74,144,.66);
      border-radius:8px;
      background:#1d1730;
      font-size:10px;
      line-height:1;
      font-weight:900;
    }
    .uid-chip span{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .uid-chip .icon{
      width:14px;
      height:14px;
      color:#27d5d0;
    }
    .profile-lang-btn{
      min-width:72px;
      height:30px;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:7px;
      flex:0 0 auto;
      max-width:82px;
      overflow:hidden;
      padding:0 10px;
      color:#fff;
      border:1px solid rgba(255,74,160,.45);
      border-radius:999px;
      background:#25122a;
      font-size:10px;
      font-weight:900;
    }
    .profile-lang-btn .icon{
      width:14px;
      height:14px;
    }
    .profile-stat-card{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:7px;
      min-width:0;
      padding:16px;
      border:1px solid rgba(105,74,144,.34);
      border-radius:22px;
      background:#100b20;
    }
    .profile-stat-card .profile-metric{
      min-height:57px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:7px;
      border:1px solid rgba(105,74,144,.23);
      border-radius:16px;
      background:#100c1f;
    }
    .profile-metric b{
      color:#ff5daf;
      font-size:20px;
      line-height:1;
      font-weight:900;
    }
    .profile-metric span{
      color:#80758a;
      font-size:9px;
      line-height:1;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-tabs{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:4px;
      min-width:0;
      padding:4px;
      border:1px solid rgba(105,74,144,.33);
      border-radius:17px;
      background:#130d27;
    }
    .profile-tab{
      min-width:0;
      min-height:40px;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:7px;
      color:#9c91a8;
      border:0;
      border-radius:13px;
      background:transparent;
      font-size:10px;
      font-weight:900;
      text-transform:uppercase;
      white-space:nowrap;
    }
    .profile-tab span{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .profile-tab.is-active{
      color:#fff;
      background:#ff1f78;
      box-shadow:0 10px 18px rgba(255,31,120,.34);
    }
    .profile-tab .icon{
      width:14px;
      height:14px;
    }
    .profile-section-label{
      margin:4px 2px 0;
      color:#d59fff;
      font-size:10px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-panel{
      display:grid;
      gap:14px;
      min-width:0;
      max-width:100%;
    }
    .profile-settings-list{
      display:grid;
      gap:14px;
    }
    .profile-option-row{
      width:100%;
      min-height:66px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:16px;
      color:#fff;
      text-align:left;
      border:1px solid rgba(143,77,255,.48);
      border-radius:16px;
      background:#110c26;
      box-shadow:0 10px 22px rgba(0,0,0,.2);
    }
    .profile-option-row.is-payment{
      border-color:rgba(255,74,160,.7);
    }
    .profile-option-row.is-highlight{
      border-color:rgba(255,145,228,.32);
      background:linear-gradient(90deg,#170e2b,#120a23);
    }
    .profile-option-row.is-danger{
      border-color:rgba(255,31,120,.48);
      background:#100612;
    }
    .profile-option-copy{
      min-width:0;
    }
    .profile-option-title{
      display:flex;
      align-items:center;
      gap:7px;
      color:#f4eefa;
      font-size:12px;
      line-height:1.2;
      font-weight:900;
    }
    .profile-option-title .icon{
      width:15px;
      height:15px;
      color:#ff4aa0;
    }
    .profile-option-row.is-danger .profile-option-title{
      color:#ff5daf;
    }
    .profile-option-row p{
      margin:6px 0 0;
      color:#92889c;
      font-size:9px;
      line-height:1.45;
      font-weight:700;
    }
    .profile-option-icon{
      width:18px;
      height:18px;
      flex:0 0 auto;
      color:#ff4aa0;
    }
    .profile-info-card{
      width:100%;
      display:flex;
      align-items:flex-start;
      gap:11px;
      padding:16px;
      color:#fff;
      text-align:left;
      border:1px solid rgba(143,77,255,.33);
      border-radius:16px;
      background:#100b20;
    }
    .profile-info-card .icon{
      width:17px;
      height:17px;
      color:#ff4aa0;
    }
    .profile-info-card strong{
      display:block;
      color:#ff9bd1;
      font-size:10px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-info-card p{
      margin:7px 0 0;
      color:#92889c;
      font-size:9px;
      line-height:1.45;
      font-weight:700;
    }
    .build-mark{
      padding:2px 0 0;
      color:#41364d;
      border:0;
      background:transparent;
      text-align:center;
      font-size:8px;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-shop-card,
    .profile-creations-card{
      display:grid;
      gap:16px;
      padding:0;
      border:0;
      border-radius:0;
      background:transparent;
      min-width:0;
      max-width:100%;
    }
    .profile-balance-card{
      min-height:88px;
      display:flex;
      align-items:center;
      gap:18px;
      padding:20px;
      border:1px solid rgba(184,98,255,.43);
      border-radius:22px;
      background:
        radial-gradient(180px 120px at 82% 22%, rgba(255,31,120,.14), transparent 72%),
        linear-gradient(145deg, rgba(41,22,77,.92), rgba(22,8,45,.96));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
    }
    .profile-balance-icon{
      width:52px;
      height:52px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      color:#1d1200;
      border-radius:18px;
      background:linear-gradient(135deg,#ffd426,#e8a800);
      box-shadow:0 12px 28px rgba(255,188,21,.16);
    }
    .profile-balance-icon .icon{
      width:24px;
      height:24px;
    }
    .profile-balance-copy span,
    .profile-section-kicker,
    .creation-log-date,
    .failed-id{
      display:block;
      color:#9b86bc;
      font-size:10px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-balance-copy strong{
      display:flex;
      align-items:baseline;
      gap:8px;
      margin-top:8px;
      color:#ffd528;
      font-size:25px;
      line-height:1;
      font-weight:900;
    }
    .profile-balance-copy small{
      color:#fff;
      font-size:12px;
      font-weight:900;
    }
    .profile-special-card{
      min-height:96px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:16px 18px;
      color:#fff;
      text-align:left;
      border:1px solid rgba(184,98,255,.4);
      border-radius:22px;
      background:#100a21;
    }
    .special-bonus-art{
      width:64px;
      height:64px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      color:#fff6b0;
      border:1px solid rgba(255,221,92,.58);
      border-radius:18px;
      background:
        radial-gradient(circle at 50% 78%, rgba(255,210,58,.55), transparent 30%),
        linear-gradient(145deg,#5c2c30,#241041 58%,#0d081b);
      box-shadow:inset 0 0 16px rgba(255,214,78,.2);
      text-shadow:0 1px 7px rgba(255,185,24,.65);
    }
    .special-bonus-art b{
      font-size:18px;
      line-height:.92;
      font-weight:900;
    }
    .special-bonus-art span{
      margin-top:4px;
      color:#ffe994;
      font-size:8px;
      line-height:1;
      font-weight:900;
      text-transform:uppercase;
    }
    .special-offer-copy{
      min-width:0;
      flex:1 1 auto;
    }
    .special-offer-copy strong{
      display:block;
      overflow:hidden;
      color:#fff;
      font-size:15px;
      line-height:1.15;
      font-weight:900;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .special-offer-copy span{
      display:block;
      margin-top:7px;
      color:#d8ccdf;
      font-size:10px;
      line-height:1.35;
      font-weight:800;
    }
    .special-price{
      min-width:96px;
      min-height:34px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:6px;
      color:#ff9ccc;
      border:1px solid rgba(255,74,160,.55);
      border-radius:14px;
      background:rgba(255,31,120,.1);
      font-size:10px;
      font-weight:900;
      white-space:nowrap;
    }
    .special-price .icon{
      width:12px;
      height:12px;
    }
    .recharge-failed-card,
    .profile-pack-section{
      display:grid;
      gap:13px;
      padding:18px;
      border:1px solid rgba(255,31,120,.55);
      border-radius:24px;
      background:linear-gradient(180deg, rgba(18,7,28,.94), rgba(9,4,17,.98));
    }
    .failed-top{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:12px;
    }
    .failed-title-wrap{
      display:flex;
      align-items:flex-start;
      gap:14px;
      min-width:0;
    }
    .failed-icon{
      width:38px;
      height:38px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      color:#ff1f78;
      border:1px solid rgba(255,31,120,.44);
      border-radius:50%;
      background:rgba(255,31,120,.1);
    }
    .failed-icon .icon{
      width:18px;
      height:18px;
    }
    .failed-copy{
      min-width:0;
    }
    .failed-copy strong{
      display:block;
      color:#ff69b4;
      font-size:12px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .failed-offer-line{
      margin-top:8px;
      color:#fff;
      font-size:11px;
      line-height:1.35;
      font-weight:900;
    }
    .failed-offer-line span{
      color:#ff2f9b;
    }
    .failed-message{
      margin:8px 0 0;
      color:#ff527f;
      font-size:10px;
      line-height:1.45;
      font-weight:800;
    }
    .failed-id{
      margin-top:12px;
      color:#6e607c;
      font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
      font-size:8px;
      text-transform:none;
      word-break:break-all;
    }
    .failed-badge{
      min-height:23px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:5px 11px;
      color:#ff587b;
      border:1px solid rgba(255,31,120,.62);
      border-radius:999px;
      font-size:9px;
      font-weight:900;
      text-transform:uppercase;
      white-space:nowrap;
    }
    .failed-divider{
      height:1px;
      background:rgba(255,255,255,.08);
    }
    .failed-clear{
      width:max-content;
      min-height:32px;
      padding:8px 15px;
      color:#b7aebf;
      border:1px solid rgba(255,255,255,.08);
      border-radius:12px;
      background:rgba(255,255,255,.04);
      font-size:10px;
      line-height:1;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-pack-section{
      border-color:rgba(184,98,255,.28);
      background:#0d071b;
    }
    .profile-pack-head,
    .creation-footage-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }
    .profile-pack-head h3,
    .creation-footage-title h3{
      display:flex;
      align-items:center;
      gap:7px;
      margin:0;
      color:#d59fff;
      font-size:12px;
      line-height:1.2;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-pack-head h3 .icon,
    .creation-footage-title h3 .icon{
      width:14px;
      height:14px;
      color:#ff4aa0;
    }
    .profile-pack-head span{
      color:#81738e;
      font-size:8px;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-package-row{
      min-height:62px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:13px 14px;
      color:#fff;
      border:1px solid rgba(184,98,255,.28);
      border-radius:16px;
      background:#130a2c;
      text-align:left;
    }
    .profile-package-copy strong{
      display:block;
      font-size:14px;
      line-height:1.1;
      font-weight:900;
    }
    .profile-package-copy span{
      display:block;
      margin-top:5px;
      color:#9c8cae;
      font-size:9px;
      font-weight:800;
      text-transform:uppercase;
    }
    .profile-package-price{
      display:inline-flex;
      align-items:center;
      gap:7px;
      color:#ff4aa0;
      font-size:12px;
      font-weight:900;
      white-space:nowrap;
    }
    .profile-package-price .icon{
      width:16px;
      height:16px;
    }
    .creation-footage-panel{
      display:grid;
      gap:12px;
      min-width:0;
      max-width:100%;
    }
    .creation-footage-head{
      min-width:0;
      max-width:100%;
    }
    .creation-footage-title{
      min-width:0;
      overflow:hidden;
    }
    .creation-footage-title h3{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .creation-footage-title span{
      display:block;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      margin-top:4px;
      color:#6f617d;
      font-size:9px;
      line-height:1.1;
      font-weight:900;
      text-transform:uppercase;
    }
    .creation-refresh-btn{
      min-height:30px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:6px;
      flex:0 0 auto;
      padding:8px 10px;
      color:#bfb1cc;
      border:1px solid rgba(184,98,255,.3);
      border-radius:10px;
      background:rgba(255,255,255,.04);
      font-size:10px;
      font-weight:900;
    }
    .creation-refresh-btn .icon{
      width:13px;
      height:13px;
    }
    .creation-log-list{
      display:grid;
      gap:12px;
      min-width:0;
      max-width:100%;
    }
    .creation-log-row{
      min-height:84px;
      display:grid;
      grid-template-columns:48px minmax(0,1fr) 70px 34px;
      align-items:center;
      gap:13px;
      width:100%;
      min-width:0;
      max-width:100%;
      padding:14px;
      border:1px solid rgba(184,98,255,.25);
      border-radius:18px;
      background:#100820;
    }
    .creation-thumb{
      position:relative;
      width:48px;
      height:48px;
      display:grid;
      place-items:center;
      flex:0 0 auto;
      overflow:hidden;
      color:#fff;
      border-radius:14px;
      background:linear-gradient(135deg,#ff92c8,#583d93);
      font-size:16px;
      font-weight:900;
    }
    .creation-thumb img{
      position:absolute;
      inset:0;
      z-index:1;
      width:100%;
      height:100%;
      display:block;
      object-fit:cover;
    }
    .creation-thumb span{
      position:relative;
      z-index:0;
    }
    .creation-log-main{
      min-width:0;
      flex:1 1 auto;
    }
    .creation-log-title-row{
      display:flex;
      align-items:baseline;
      gap:8px;
      min-width:0;
    }
    .creation-log-title{
      min-width:0;
      overflow:hidden;
      color:#fff;
      font-size:12px;
      line-height:1.15;
      font-weight:900;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .creation-log-date{
      flex:0 0 auto;
      color:#6e607d;
      font-size:8px;
      text-transform:none;
    }
    .creation-log-prompt{
      margin:6px 0 0;
      overflow:hidden;
      color:#d4c8dc;
      font-size:10px;
      line-height:1.3;
      font-weight:800;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .completed-pill,
    .expired-pill{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:20px;
      margin-top:7px;
      padding:4px 10px;
      border-radius:999px;
      font-size:8px;
      line-height:1;
      font-weight:900;
      white-space:nowrap;
    }
    .completed-pill{
      color:#ff66af;
      border:1px solid rgba(255,74,160,.45);
      background:rgba(255,31,120,.13);
    }
    .expired-pill{
      min-width:0;
      min-height:32px;
      margin-top:0;
      padding:4px 8px;
      color:#b98ce7;
      border:1px solid rgba(184,98,255,.25);
      background:rgba(184,98,255,.13);
      font-size:10px;
      text-transform:uppercase;
    }
    .creation-log-delete{
      width:34px;
      height:34px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      color:#89779c;
      border:1px solid rgba(184,98,255,.3);
      border-radius:50%;
      background:rgba(255,255,255,.03);
    }
    .creation-log-delete .icon{
      width:16px;
      height:16px;
    }
    .profile-validity-note{
      margin:4px 0 0;
      color:#5e516b;
      font-size:8px;
      line-height:1.35;
      font-weight:900;
      text-transform:uppercase;
    }
    .profile-modal-mask{
      position:absolute;
      inset:0;
      z-index:90;
      display:none;
      align-items:flex-end;
      justify-content:center;
      padding:18px;
      background:rgba(0,0,0,.68);
      backdrop-filter:blur(10px);
    }
    .profile-modal-mask.active{display:flex}
    .profile-modal{
      width:100%;
      max-width:386px;
      max-height:78vh;
      overflow:hidden;
      border:1px solid rgba(255,74,160,.28);
      border-radius:24px;
      background:linear-gradient(180deg,#181029,#08050f);
      box-shadow:0 -12px 50px rgba(0,0,0,.62);
    }
    .profile-modal-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:14px;
      padding:18px 18px 14px;
      border-bottom:1px solid rgba(255,255,255,.08);
    }
    .profile-modal-head h2{
      margin:0;
      color:#fff;
      font-size:18px;
      line-height:1.18;
      font-weight:900;
    }
    .profile-modal-head p{
      margin:6px 0 0;
      color:#9d93a7;
      font-size:11px;
      line-height:1.45;
      font-weight:700;
    }
    .profile-modal-close{
      width:34px;
      height:34px;
      flex:0 0 auto;
      color:#cfc5d8;
      border:1px solid rgba(255,255,255,.1);
      border-radius:50%;
      background:rgba(255,255,255,.06);
      display:flex;
      align-items:center;
      justify-content:center;
    }
    .profile-modal-close .icon{
      width:16px;
      height:16px;
    }
    .profile-modal-body{
      display:grid;
      gap:11px;
      max-height:58vh;
      overflow:auto;
      padding:16px 18px 18px;
      scrollbar-width:none;
    }
    .profile-modal-body::-webkit-scrollbar{display:none}
    .profile-choice{
      width:100%;
      min-height:58px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:13px 14px;
      color:#fff;
      text-align:left;
      border:1px solid rgba(255,255,255,.1);
      border-radius:16px;
      background:rgba(255,255,255,.04);
    }
    .profile-choice.is-active{
      border-color:rgba(255,74,160,.65);
      background:rgba(255,31,120,.12);
    }
    .profile-choice strong{
      display:block;
      color:#fff;
      font-size:13px;
      line-height:1.2;
      font-weight:900;
    }
    .profile-choice span{
      display:block;
      margin-top:4px;
      color:#8f8599;
      font-size:10px;
      line-height:1.35;
      font-weight:700;
    }
    .profile-choice .icon{
      width:17px;
      height:17px;
      color:#ff73bc;
    }
    .profile-modal-input{
      width:100%;
      height:48px;
      padding:0 14px;
      color:#fff;
      border:1px solid rgba(255,255,255,.12);
      border-radius:15px;
      background:rgba(0,0,0,.34);
      font-size:14px;
      font-weight:800;
    }
    .profile-modal-actions{
      display:flex;
      gap:10px;
      margin-top:4px;
    }
    .profile-modal-actions .ghost-btn,
    .profile-modal-actions .solid-btn{
      flex:1;
    }
    .profile-guide-list{
      display:grid;
      gap:9px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .profile-guide-list li{
      padding:12px;
      color:#d9d1df;
      border:1px solid rgba(255,255,255,.09);
      border-radius:14px;
      background:rgba(255,255,255,.035);
      font-size:11px;
      line-height:1.45;
      font-weight:700;
    }
    @media (max-height:760px){
      #screen-main.is-profile .main-scroll{
        padding-top:34px;
      }
      .profile-center{
        gap:11px;
      }
      .profile-user-card{
        min-height:96px;
        padding:18px;
      }
      .profile-avatar-ring{
        width:58px;
        height:58px;
      }
      .profile-settings-list{
        gap:10px;
      }
      .profile-option-row{
        min-height:58px;
        padding:13px 15px;
      }
    }
    @media (max-width:390px){
      .feature-head{
        align-items:flex-start;
        flex-direction:column;
      }
      .feature-tools{
        width:100%;
        justify-content:space-between;
        padding-top:0;
      }
      .interactive-card{
        width:158px;
        height:236px;
        flex-basis:158px;
      }
      .swap-template-card{
        min-width:104px;
        height:214px;
      }
      .swap-preview-actions{
        grid-template-columns:1fr;
      }
    }

    .bottom-nav{
      position:absolute;
      z-index:8;
      left:0;
      right:0;
      bottom:0;
      height:var(--nav-h);
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      padding:8px 12px 12px;
      background:rgba(12,8,19,.94);
      border-top:1px solid rgba(255,255,255,.09);
      backdrop-filter:blur(18px);
    }
    .nav-btn{
      position:relative;
      min-width:0;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:4px;
      color:#746881;
      border:0;
      background:transparent;
      border-radius:14px;
      font-size:10px;
      font-weight:800;
    }
    .nav-btn.active{color:#ff3ca0}
    .nav-btn .icon{width:21px;height:21px}
    .nav-btn[data-page="chat"].has-unread::after{
      content:"";
      position:absolute;
      top:11px;
      right:24px;
      width:7px;
      height:7px;
      border-radius:50%;
      background:#ff3ca0;
      box-shadow:0 0 0 4px rgba(255,60,160,.14);
    }

    .icon-btn{
      width:38px;
      height:38px;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      color:#f4eaff;
      background:rgba(255,255,255,.045);
      border:1px solid rgba(255,255,255,.1);
    }
    .detail-hero{
      position:relative;
      min-height:392px;
      overflow:hidden;
      background:linear-gradient(145deg,var(--a),var(--b));
    }
    .detail-hero .media,.detail-hero .portrait-fallback{inset:0}
    .detail-hero .portrait-fallback span{font-size:104px}
    .detail-hero::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(8,4,14,.28) 34%,#10091c 100%);
    }
    .detail-back{position:absolute;z-index:3;top:52px;left:18px}
    .detail-fav{position:absolute;z-index:3;top:52px;right:18px}
    .detail-copy{position:absolute;z-index:3;left:20px;right:20px;bottom:22px}
    .detail-copy h1{margin:0;font-size:34px;letter-spacing:0;line-height:1}
    .detail-copy p{margin:9px 0 0;color:#e8ddee;font-size:13px;line-height:1.55}
    .tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
    .tag{
      min-height:27px;
      display:inline-flex;
      align-items:center;
      padding:6px 9px;
      color:#ffd7e9;
      background:rgba(255,31,120,.14);
      border:1px solid rgba(255,74,160,.32);
      border-radius:999px;
      font-size:10px;
      font-weight:800;
    }
    .detail-body{padding:0 18px 106px}
    .section-block{margin-top:14px;padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.035)}
    .section-block h3{margin:0 0 9px;color:#ff7fbd;font-size:12px;letter-spacing:1.4px;text-transform:uppercase}
    .section-block p{margin:0;color:#d7cbe2;font-size:13px;line-height:1.75}
    .memory-list{display:grid;gap:8px;margin-top:9px}
    .memory{display:flex;align-items:center;gap:9px;min-height:38px;color:#ded1e9;font-size:12px}
    .memory i{width:7px;height:7px;border-radius:50%;background:var(--aqua);box-shadow:0 0 0 4px rgba(63,218,199,.1)}
    .fixed-cta{
      position:absolute;
      z-index:8;
      left:0;
      right:0;
      bottom:0;
      display:flex;
      gap:10px;
      padding:14px 18px 18px;
      background:linear-gradient(180deg,rgba(16,9,28,0),rgba(16,9,28,.96) 24%,#10091c);
    }
    .fixed-cta .ghost-btn{width:46px;padding:0}
    .fixed-cta .solid-btn{flex:1}

    .room-head{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:10px;
      padding:50px 14px 10px;
      border-bottom:1px solid rgba(255,255,255,.08);
      background:rgba(11,7,20,.82);
      backdrop-filter:blur(16px);
    }
    .room-name{flex:1;min-width:0}
    .room-name strong{display:flex;align-items:center;gap:7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px}
    .room-name strong i{width:7px;height:7px;border-radius:50%;background:var(--aqua);box-shadow:0 0 0 5px rgba(63,218,199,.12)}
    .xp-line{display:flex;align-items:center;gap:8px;margin-top:5px;color:#a998bc;font-size:10px;font-weight:800}
    .xp-bar{flex:1;max-width:120px;height:5px;overflow:hidden;border-radius:999px;background:#352447}
    .xp-bar span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#ff4ab0,#ff0057);transition:width .28s}
    .heart-chip{
      display:inline-flex;
      align-items:center;
      gap:5px;
      min-height:32px;
      padding:8px 10px;
      color:#ff8dc6;
      background:rgba(255,31,120,.12);
      border:1px solid rgba(255,74,160,.3);
      border-radius:999px;
      font-size:12px;
      font-weight:900;
    }
    .stage{
      position:relative;
      flex:0 0 auto;
      height:38%;
      min-height:274px;
      overflow:hidden;
      background:linear-gradient(145deg,var(--a),var(--b));
    }
    .stage .media,.stage .portrait-fallback{inset:0}
    .stage video{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      display:none;
      background:#000;
    }
    .stage video.active{display:block}
    .stage::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.14) 42%,rgba(10,5,16,.58));pointer-events:none}
    .stage-chip{position:absolute;z-index:3;left:14px;top:14px}
    .pose-control{
      position:absolute;
      z-index:3;
      top:14px;
      right:14px;
      display:flex;
      align-items:center;
      overflow:hidden;
      color:#fff;
      background:rgba(0,0,0,.38);
      border:1px solid rgba(255,255,255,.16);
      border-radius:13px;
      backdrop-filter:blur(8px);
    }
    .pose-control button{width:34px;height:32px;display:flex;align-items:center;justify-content:center;color:#fff;background:transparent;border:0}
    .pose-control span{min-width:43px;color:#e7ddee;font-size:10px;font-weight:900;text-align:center}
    .action-chip{
      position:absolute;
      z-index:4;
      left:50%;
      bottom:18px;
      transform:translateX(-50%);
      max-width:86%;
      padding:8px 12px;
      color:#fff;
      background:rgba(0,0,0,.44);
      border:1px solid rgba(255,255,255,.18);
      border-radius:999px;
      font-size:12px;
      font-weight:900;
      white-space:nowrap;
      opacity:0;
      transition:opacity .2s,transform .2s;
      backdrop-filter:blur(8px);
    }
    .action-chip.show{opacity:1;transform:translateX(-50%) translateY(-4px)}
    .fx-layer{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}
    .fx{
      position:absolute;
      bottom:10%;
      width:18px;
      height:18px;
      color:#fff;
      opacity:.9;
      fill:none;
      stroke:currentColor;
      stroke-width:2;
      stroke-linecap:round;
      stroke-linejoin:round;
      animation:rise 1.7s ease-out forwards;
    }
    @keyframes rise{to{transform:translateY(-210px) scale(1.45);opacity:0}}
    .stage.bump .portrait-fallback,.stage.bump img{animation:bump .55s ease-out 2}
    @keyframes bump{45%{transform:scale(1.035) translateY(-5px)}}
    .room-log-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-top:1px solid rgba(255,255,255,.08)}
    .room-log-head h3{margin:0;color:#ff7fbd;font-size:11px;letter-spacing:1.8px;text-transform:uppercase}
    .room-log-head span{color:var(--sub);font-size:10px;font-weight:800}
    .messages{
      flex:1;
      min-height:0;
      display:flex;
      flex-direction:column;
      gap:10px;
      padding:4px 15px 12px;
      overflow-y:auto;
      scrollbar-width:none;
    }
    .messages::-webkit-scrollbar{display:none}
    .message{
      max-width:80%;
      padding:10px 13px;
      border-radius:16px;
      font-size:13px;
      line-height:1.65;
      animation:pop .18s ease-out;
    }
    @keyframes pop{from{transform:translateY(7px);opacity:0}}
    .message.me{align-self:flex-end;color:#fff;background:linear-gradient(135deg,#ff3ca0,#ff0057);border-bottom-right-radius:5px}
    .message.ai{align-self:flex-start;color:#eadff3;background:#21152f;border:1px solid rgba(255,255,255,.08);border-bottom-left-radius:5px}
    .message.system{align-self:center;color:var(--gold);background:transparent;padding:2px;font-size:11px}
    .message.typing{align-self:flex-start;width:58px;color:#a99ab9;background:#21152f;border:1px solid rgba(255,255,255,.08)}
    .dots{display:flex;gap:4px;align-items:center;justify-content:center}
    .dots i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:dot 1s infinite}
    .dots i:nth-child(2){animation-delay:.15s}
    .dots i:nth-child(3){animation-delay:.3s}
    @keyframes dot{45%{transform:translateY(-4px)}}
    .quick-actions{flex:0 0 auto;display:flex;gap:8px;padding:8px 15px 10px;overflow-x:auto;scrollbar-width:none}
    .quick-actions::-webkit-scrollbar{display:none}
    .quick-action{
      flex:0 0 auto;
      display:inline-flex;
      align-items:center;
      gap:7px;
      min-height:36px;
      padding:8px 12px;
      color:#a8fff1;
      background:rgba(63,218,199,.08);
      border:1px solid rgba(63,218,199,.26);
      border-radius:999px;
      font-size:12px;
      font-weight:900;
      white-space:nowrap;
    }
    .quick-action.hot{color:#ffc7e2;background:rgba(255,31,120,.14);border-color:rgba(255,74,160,.38)}
    .quick-action small{color:var(--gold);font-size:10px}
    .composer{flex:0 0 auto;display:flex;align-items:center;gap:9px;padding:0 15px 17px}
    .composer input{
      flex:1;
      min-width:0;
      height:44px;
      color:#fff;
      background:#171022;
      border:1px solid rgba(255,255,255,.1);
      border-radius:15px;
      padding:0 14px;
      font-size:13px;
    }
    .composer input::placeholder{color:#746881}
    .send-btn{
      width:44px;
      height:44px;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      border:0;
      border-radius:15px;
      background:linear-gradient(135deg,#ff4ab0,#ff0057);
      box-shadow:0 10px 22px rgba(255,31,120,.28);
    }

    .sheet-mask{
      position:absolute;
      inset:0;
      z-index:30;
      display:none;
      align-items:flex-end;
      background:rgba(5,2,10,.72);
      backdrop-filter:blur(10px);
    }
    .sheet-mask.active{display:flex}
    .sheet{
      width:100%;
      padding:20px 18px 22px;
      border-top:1px solid rgba(255,255,255,.1);
      border-radius:24px 24px 0 0;
      background:#21152f;
      box-shadow:0 -24px 60px rgba(0,0,0,.4);
      animation:sheet .22s ease-out;
    }
    @keyframes sheet{from{transform:translateY(34px);opacity:.6}}
    .sheet h2{margin:0;font-size:18px}
    .sheet p{margin:6px 0 16px;color:var(--sub);font-size:12px;line-height:1.55}
    .packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
    .pack{
      min-height:86px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:7px;
      color:#fff;
      background:#171022;
      border:1px solid rgba(255,209,102,.26);
      border-radius:16px;
    }
    .pack b{color:var(--gold);font-size:19px}
    .pack span{color:var(--sub);font-size:11px;font-weight:800}
    .sheet-close{width:100%;height:44px;margin-top:12px;color:#cabbdb;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:15px;font-weight:900}
    .toast{
      position:absolute;
      z-index:42;
      left:50%;
      top:18%;
      display:none;
      max-width:82%;
      transform:translateX(-50%);
      padding:10px 14px;
      color:#fff;
      background:rgba(0,0,0,.72);
      border:1px solid rgba(255,255,255,.12);
      border-radius:14px;
      font-size:13px;
      font-weight:800;
      text-align:center;
      box-shadow:0 18px 38px rgba(0,0,0,.35);
    }
    .toast.active{display:block;animation:pop .18s ease-out}

    @media (max-width:390px){
      body{padding:0}
      .phone{width:100vw;height:100vh;min-height:100vh;border-radius:0;border:0;box-shadow:none}
      .companion-card{height:264px;border-radius:18px}
      .play-me{height:36px}
      .card-content{padding:0 12px 13px}
      .brand-sub{display:none}
      .pill-btn{display:none}
      .main-scroll{padding-left:12px;padding-right:12px}
      .detail-hero{min-height:360px}
      #screen-main.is-profile .main-scroll{padding-left:12px;padding-right:12px}
      .profile-center{max-width:none}
      .profile-user-card{gap:10px;padding:18px 16px}
      .profile-avatar-ring{width:56px;height:56px}
      .uid-chip{max-width:126px}
      .profile-lang-btn{min-width:64px;max-width:72px;gap:5px;padding:0 8px}
      .profile-stat-card{gap:6px;padding:14px}
      .profile-tabs{gap:3px}
      .profile-tab{gap:5px;padding:0 6px;font-size:9px}
      .profile-tab .icon{width:13px;height:13px}
      .creation-footage-head{gap:8px}
      .creation-refresh-btn{max-width:74px;padding:7px 8px;font-size:9px}
      .creation-log-row{
        grid-template-columns:44px minmax(0,1fr) 58px 30px;
        gap:8px;
        padding:12px;
      }
      .creation-thumb{width:44px;height:44px}
      .creation-log-title-row{gap:5px}
      .creation-log-title{font-size:11px}
      .creation-log-date{font-size:7px}
      .creation-log-prompt{font-size:9px}
      .expired-pill{min-height:30px;padding:4px 6px;font-size:9px}
      .creation-log-delete{width:30px;height:30px}
    }

    @media (min-width:391px) and (max-height:760px){
      #screen-main.is-create .main-scroll{padding-top:20px;padding-bottom:calc(var(--nav-h) + 18px)}
      .create-pill{min-height:24px;padding:5px 13px}
      .create-intro{margin:11px auto 14px;font-size:12px;line-height:1.45}
      .capacity-card{min-height:64px;padding:14px}
      .bonus-card{min-height:74px;margin-top:12px;padding:12px 14px}
      .bonus-icon,.create-option-icon{width:44px;height:44px}
      .bonus-icon .icon,.create-option-icon .icon{width:23px;height:23px}
      .create-options{gap:10px;margin-top:12px}
      .create-option{min-height:84px;padding:16px 17px 16px 20px}
      .create-option-copy h2{font-size:14px}
      .create-option-copy p{margin-top:5px;line-height:1.38}
    }

    @media (prefers-reduced-motion:reduce){
      *,*::before,*::after{
        animation-duration:.001ms !important;
        animation-iteration-count:1 !important;
        scroll-behavior:auto !important;
        transition-duration:.001ms !important;
      }
    }
