.amber-brand,.amber-chat-model{display:none}
@media(max-width:700px){
 .amber-mobile{--amber-ink:#382013;--amber-muted:#9a8573;--amber-orange:#f27b09;--amber-paper:#fffaf3;background:#fffaf3;color:var(--amber-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
 .amber-mobile button,.amber-mobile input,.amber-mobile textarea{font-family:inherit;-webkit-tap-highlight-color:transparent}.amber-mobile button{touch-action:manipulation}.amber-mobile button:active{filter:brightness(.96);transform:translateY(1px)}
 .amber-mobile .top{height:70px;min-height:70px;padding:12px 20px;border:0;background:rgba(255,250,243,.96);box-shadow:none;gap:12px;z-index:55}.amber-mobile .top .menuwrap,.amber-mobile .top .right{display:none}.amber-mobile .amber-brand{display:flex;align-items:center;gap:8px;border:0;padding:0;background:none;box-shadow:none;color:#42210d;order:0}.amber-brand b{font-size:25px;letter-spacing:1px}.amber-infinity{width:46px;height:29px;overflow:visible}.amber-mobile .mobile-menu{order:1;margin-left:auto;width:36px;flex-basis:36px;height:36px;background:#fff4e3;border:1px solid #f0dfc7;color:#9a5c2c;border-radius:11px;font-size:0}.mobile-menu svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
 .amber-mobile .mobile-bottom{height:calc(69px + var(--safe-bottom));padding:6px 12px calc(6px + var(--safe-bottom));background:rgba(255,252,247,.98);border-top:1px solid #f0e4d4;box-shadow:0 -4px 22px #9c602006;gap:8px;z-index:65}.amber-mobile .mobile-bottom button{background:none;border:0;border-radius:12px;color:#8e867d;font-size:11px;gap:5px;box-shadow:none;min-height:51px;padding:4px}.amber-mobile .mobile-bottom button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.amber-mobile .mobile-bottom button.active{color:#ed6b00;background:none}.amber-mobile .mobile-bottom button.active svg{stroke-width:2.2;filter:drop-shadow(0 2px 3px #ff9c2830)}
 .amber-mobile .main{padding:18px 22px;top:calc(95px + env(safe-area-inset-top,0px));bottom:calc(224px + var(--safe-bottom));background:radial-gradient(ellipse at 85% 0%,#ffdeaa23,transparent 65%)}
 .amber-mobile.amber-chat .main{top:calc(151px + env(safe-area-inset-top,0px))}.amber-mobile.amber-chat .retention{top:calc(137px + env(safe-area-inset-top,0px));font-size:9px;color:#b2a18c}.amber-mobile.amber-chat .amber-chat-model{display:flex;position:fixed;top:calc(85px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);align-items:center;gap:8px;max-width:75vw;padding:10px 15px;border-radius:24px;background:#fffdf9;border:1px solid #efdfca;color:#3d3025;box-shadow:0 4px 15px #aa6e2420;z-index:35;font-size:12px;font-weight:600}.amber-chat-model>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.amber-chat-model>svg:last-child{width:12px;height:12px;transform:rotate(90deg)}.amber-chat-model>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.amber-mobile.mobile-page .amber-chat-model,.amber-mobile.mobile-api .amber-chat-model,.amber-mobile.mobile-canvas .amber-chat-model{display:none}
 .amber-mobile.amber-chat .floattools{display:none}.amber-mobile .empty{width:100%;left:0;top:37%;transform:translateY(-50%);padding:0!important}.amber-mobile .heroicon{width:74px;height:59px;background:transparent;box-shadow:none;border:0;border-radius:0;margin:0 auto 15px}.amber-mobile .heroicon .amber-infinity{width:74px;height:44px}.amber-mobile #heroTitle{font-family:inherit;font-size:31px!important;letter-spacing:3px;font-weight:750;color:#45230e}.amber-mobile #heroSubtitle{font-size:12px;line-height:1.8;margin:10px 0;color:#a28770}
 .amber-mobile .composerwrap{left:16px;right:16px;bottom:calc(82px + var(--safe-bottom) + var(--keyboard-inset,0px));width:auto}.amber-mobile .composer{border:1px solid #ead8be;border-radius:30px;background:#fffdfa;padding:8px 10px;box-shadow:0 5px 20px #ab773415;gap:7px}.amber-mobile #input{font-size:14px;min-height:34px;height:36px;color:#493123;padding:7px 0}.amber-mobile #input::placeholder{color:#b49e89}.amber-mobile .send{width:40px;height:40px;min-width:40px;border-radius:50%;background:linear-gradient(135deg,#ffb943,#f57900);box-shadow:0 3px 7px #f1892035;color:white}.amber-mobile .attach{width:28px;color:#9a8b7c}.amber-mobile .attach svg{width:20px;height:20px}.amber-mobile .chips{padding-bottom:8px}.amber-mobile .chips button{background:#fffdf8;border:1px solid #eddfc9;color:#937a60;box-shadow:none;font-size:10px}
 .amber-mobile .message.user{padding-left:40px}.amber-mobile .message.user .bubble{background:linear-gradient(125deg,#ffedc7,#ffe1aa);color:#452b17;border:1px solid #ffe3b4;border-radius:17px 5px 17px 17px;box-shadow:none;font-size:14px;line-height:1.85;padding:13px 16px}.amber-mobile .result{margin:20px 0;padding:16px 17px;border:1px solid #f0e1cd;border-radius:5px 17px 17px 17px;background:#fffdf9;box-shadow:0 3px 10px #b1814010;font-size:14px;line-height:1.9;color:#38291d}.amber-mobile .result small{display:block;font-size:9px;color:#ad947a;line-height:1.6;margin-top:13px;border-top:1px solid #f4e9db;padding-top:9px}.amber-mobile .result img{max-width:100%;border-radius:12px}
 .amber-mobile #textTools{bottom:calc(153px + var(--safe-bottom) + var(--keyboard-inset,0px));left:16px;width:calc(100vw - 32px);gap:6px;max-width:none}.amber-mobile #textTools button{min-height:30px;font-size:10px;padding:7px 10px;background:#fff6e8;border:1px solid #edd7b9;border-radius:16px;box-shadow:none;color:#b0743c}.amber-mobile #textTools button:first-child{background:#ffd795;color:#9e5617}.amber-mobile .sidefloat{left:20px;bottom:calc(196px + var(--safe-bottom));opacity:.92}.amber-mobile .sidefloat button{min-height:31px;padding:7px 10px;font-size:10px;box-shadow:none;border-color:#ead8bf}
 .amber-mobile #apiworkspace{padding:80px 18px calc(90px + var(--safe-bottom));background:radial-gradient(ellipse at 90% 10%,#ffe6bd45,transparent 50%),#fffaf3}.amber-mobile #apiTitle{font-size:27px;color:#2f2116;font-weight:750;letter-spacing:-.5px;margin:3px 0 14px}.amber-mobile #apiworkspace>.smalllabel{display:none}.amber-mobile #apinav{gap:5px;margin:0 0 16px;padding:0 0 8px;border-bottom:0;overflow-x:auto}.amber-mobile #apinav button,.amber-mobile #apinav button.illustrated-nav{border:1px solid #ecdfce!important;padding:6px 11px!important;font-size:10px;border-radius:18px;color:#9f8165;background:#fffaf3;white-space:nowrap;box-shadow:none;min-height:29px}.amber-mobile #apinav button.active{background:#fff0d8;color:#c66b1b;border-color:#eac79a!important}.amber-mobile #apinav .nav-icon{display:none!important}
 .amber-mobile .amber-balance{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 18px 20px;border-radius:18px;background:linear-gradient(115deg,#ffedcd,#ffdb9f);border:1px solid #ffe1b3;margin:0 0 12px}.amber-balance:before{content:'';position:absolute;right:-15px;top:-35px;width:130px;height:130px;border:1px solid #fff8dc90;transform:rotate(35deg);pointer-events:none}.amber-balance:after{content:'';position:absolute;right:-50px;top:-20px;width:130px;height:130px;border:1px solid #fff8dc90;transform:rotate(35deg);pointer-events:none}.amber-balance>div{min-width:0}.amber-balance strong{display:block;font-size:29px;color:#552b10;font-weight:750;letter-spacing:-1px;line-height:1.2;margin-top:9px}.amber-section-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#886448}.amber-section-label svg{width:17px;height:17px;fill:none;stroke:#e8790a;stroke-width:1.7;stroke-linejoin:round}.amber-recharge{position:relative;z-index:1;border:0;border-radius:22px;background:linear-gradient(130deg,#ffb333,#f97600);color:#fff;padding:11px 20px;font-size:12px;font-weight:650;box-shadow:0 4px 10px #ed8c1b25;white-space:nowrap;min-height:38px}
 .amber-key,.amber-model-count,.amber-usage,.amber-models{background:#fffdf9;border:1px solid #f0e4d5;border-radius:16px;margin-bottom:12px;padding:14px 15px}.amber-key-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.amber-key-row code{overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#4f3420}.amber-text-button{border:0;background:#fff2df;border-radius:10px;color:#be7228;padding:7px 10px;font-size:11px}.amber-model-count{display:flex;align-items:center;gap:9px;width:100%;color:#72513a;font-size:12px;min-height:48px}.amber-model-count>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.amber-model-count b{margin-left:auto;font-size:15px;color:#39261a}.amber-model-count svg:last-child{width:13px}
 .amber-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.amber-section-head h3{display:flex;align-items:center;gap:7px;font-size:14px;margin:0;color:#422b1a}.amber-section-head h3 svg{width:17px;height:17px;fill:none;stroke:#ee850e;stroke-width:2}.amber-section-head>span{font-size:10px;color:#af9174}.amber-bars{display:flex;align-items:flex-end;gap:9px;height:112px;border-bottom:1px solid #eddcc7;background:repeating-linear-gradient(to top,transparent,transparent 30px,#efe2d33b 31px,#efe2d33b 32px);padding:0 3px}.amber-bar-col{flex:1;text-align:center;min-width:0;height:100%;position:relative;display:flex;flex-direction:column;align-items:center}.amber-bar-col>b{font-size:9px;color:#b18f6f;height:17px;font-weight:400}.amber-bar-track{height:78px;width:65%;display:flex;align-items:flex-end}.amber-bar-track i{display:block;background:linear-gradient(#ffac47,#ffd89e);width:100%;border-radius:4px 4px 0 0;min-height:1px}.amber-bar-col>span{font-size:8px;color:#b59d88;white-space:nowrap;margin-top:5px}.amber-chart-note{display:block;font-size:9px;color:#b49c85;margin-top:14px}.amber-models{padding-bottom:0}.amber-section-head input{width:112px;min-width:0;border:1px solid #efdfca;border-radius:20px;background:#fffaf4;padding:6px 10px;font-size:11px;color:#7f654e}.amber-model-tabs{display:flex;gap:7px;padding-bottom:13px}.amber-model-tabs button{border:0;background:#fcf0e0;padding:6px 12px;border-radius:14px;font-size:10px;color:#a68a6d}.amber-model-tabs button.active{background:linear-gradient(120deg,#ffae32,#ed7900);color:#fff}.amber-model-row{display:flex;align-items:center;width:100%;gap:10px;border:0;border-bottom:1px solid #f2e5d6;background:none;text-align:left;padding:13px 0;color:#442d1b}.amber-model-logo{width:29px;min-width:29px;height:29px;display:grid;place-items:center}.amber-model-logo svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6}.amber-model-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.amber-model-copy b{font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amber-model-copy small{font-size:9px;color:#a38d77;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}.amber-type-tag{margin-left:auto;font-size:9px;color:#d68a3f;background:#fff2df;border-radius:10px;padding:4px 7px;white-space:nowrap}.amber-empty,.amber-loading{font-size:12px;color:#ac8c6c;padding:20px}
 .amber-mobile .mobile-account-page:not([hidden]){top:calc(70px + env(safe-area-inset-top,0px));bottom:calc(69px + var(--safe-bottom));padding:12px 18px 28px;background:radial-gradient(ellipse at 85% 10%,#ffe9c83b,transparent 65%),#fffaf3}.amber-mobile .mobile-account-page>header{margin-bottom:18px}.amber-mobile .mobile-account-page>header h1{font-size:22px;color:#402919}.amber-mobile .mobile-page-back{background:#fff8eb;border-color:#ecdac2;color:#bd7b38}.amber-identity{display:flex;align-items:center;gap:13px;padding:5px 2px 24px}.amber-avatar{width:57px;height:57px;flex-shrink:0;border-radius:50%;background:linear-gradient(145deg,#ffe1ac,#f4c98b);display:grid;place-items:center;color:#aa682e;border:3px solid #fff2dd;box-shadow:0 4px 12px #c58d3b15}.amber-avatar svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.amber-identity h2{margin:0 0 5px;font-size:18px;font-weight:700;color:#342014}.amber-member{font-size:11px;color:#aa927c}.amber-menu-group{background:#fffdf9;border:1px solid #f0e4d5;border-radius:17px;padding:0 14px;margin:16px 0}.amber-menu-row{display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;border:0;border-bottom:1px solid #f2e6d8;background:none;text-align:left;color:#49301f;min-height:54px;font-size:13px}.amber-menu-row:last-child{border-bottom:0}.amber-menu-row>svg{width:20px;height:20px;fill:none;stroke:#ec7a0c;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.amber-menu-row>svg:last-child{margin-left:auto;width:12px;color:#b3967c;stroke:currentColor}.amber-logout{border:0;background:none;color:#ac8c6e;font-size:12px;width:100%;padding:12px;margin-top:3px}.amber-about{text-align:center;padding:24px}.amber-about .amber-infinity{width:80px;height:45px}.amber-about h3{font-size:26px;color:#512f15}.amber-about p{font-size:13px;color:#a58b71}
 .amber-mobile .mobile-account-page .plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.amber-mobile .plan{border-radius:17px;background:#fff9ed;border:1px solid #f0d5ad;min-height:110px;padding:15px;color:#925b2c;box-shadow:none}.amber-mobile .plan b{color:#a96017;font-size:26px}.amber-mobile .plan:hover{border-color:#f9ac44;background:#fff0d5}.amber-mobile .primary{border:0;background:linear-gradient(125deg,#ffb43b,#ef7a05);color:#fff;border-radius:15px;box-shadow:0 3px 10px #f79c2220}.amber-mobile .dialog{background:#fffaf3;border-color:#eedfc9}.amber-mobile .dialog h2{color:#4c2b13}.amber-mobile .dialog input,.amber-mobile .dialog textarea,.amber-mobile .dialog select{background:#fffdf8;border-color:#ead9c2;border-radius:13px}.amber-mobile .yj-auth-brand{background:#fff0d6}.amber-mobile .yj-auth-submit{background:linear-gradient(125deg,#ffb43b,#ef7a05)}
 .amber-mobile .sl-tabs button.active{background:#f79018;color:white}.amber-mobile .sl-toolbar button,.amber-mobile .sl-search button,.amber-mobile .sl-back{border-radius:13px;border-color:#edd8ba;color:#b27b41;background:#fff7e9}.amber-mobile .sl-status{color:#a88c70;font-size:12px}.amber-mobile .sl-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.amber-mobile .sl-work{border-radius:15px;border:1px solid #eedfc9;background:#fffdf9}.amber-mobile .sl-cover{border-radius:14px 14px 0 0}.amber-mobile .apicard{background:#fffdf9;border-color:#eddfcc;border-radius:17px;box-shadow:none}.amber-mobile #apiBody .apicard{padding:17px}.amber-mobile #apiBody h3{font-size:16px}.amber-mobile #apiBody p{font-size:12px;line-height:1.8}
 .amber-mobile.mobile-keyboard .composerwrap{bottom:calc(10px + var(--keyboard-inset,0px))}.amber-mobile.mobile-keyboard .main{bottom:calc(90px + var(--keyboard-inset,0px))}.amber-mobile .amber-menu-row:focus-visible,.amber-mobile .mobile-bottom button:focus-visible,.amber-mobile .amber-model-row:focus-visible{outline:2px solid #f5a132;outline-offset:2px}
 @media(prefers-reduced-motion:no-preference){.amber-mobile .mobile-account-page:not([hidden]){animation:amber-enter .18s ease-out}.amber-mobile .amber-recharge,.amber-mobile .send{transition:filter .15s,box-shadow .15s}.amber-mobile .mobile-bottom button{transition:color .15s}}
 @keyframes amber-enter{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
}

@media(max-width:700px){.amber-mobile #apiworkspace{top:calc(70px + env(safe-area-inset-top,0px));height:calc(100dvh - 70px - env(safe-area-inset-top,0px));padding-top:12px}.amber-mobile #apinav .nav-glyph{display:none!important}.amber-mobile #textTools #conversationIndicator{display:none!important}.amber-mobile #apinav button.illustrated-nav{min-height:29px!important;gap:0!important}}

@media(max-width:700px){.amber-mobile .mobile-page-back{display:grid;place-items:center}.amber-mobile .mobile-page-back[hidden]{display:none}.amber-mobile .mobile-page-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}}

/* Compact app chrome reserves the screen for conversation. */
@media(max-width:700px){
 .amber-mobile .top{height:56px;min-height:56px;padding:8px 16px;gap:7px}.amber-mobile .amber-brand{gap:5px}.amber-mobile .amber-brand b{font-size:23px;letter-spacing:0}.amber-mobile .amber-brand .amber-infinity{width:37px;height:25px}.amber-mobile .mobile-menu{height:34px;width:34px;flex-basis:34px}
 .amber-mobile.amber-chat .amber-chat-model{top:calc(10px + env(safe-area-inset-top,0px));left:auto;right:63px;transform:none;max-width:calc(100vw - 190px);padding:8px 10px;min-height:34px;font-size:11px;gap:6px;border-radius:18px;z-index:58;box-shadow:0 2px 8px #aa6e2410}.amber-chat-model>svg{width:17px;height:17px;flex-shrink:0}.amber-chat-model>svg:last-child{width:10px;height:10px}
 .amber-mobile.amber-chat .retention{top:calc(59px + env(safe-area-inset-top,0px));line-height:16px;font-size:9px}.amber-mobile.amber-chat .main{top:calc(79px + env(safe-area-inset-top,0px));bottom:calc(182px + var(--safe-bottom));padding:5px 20px 12px}.amber-mobile .result:first-child,.amber-mobile .message:first-child{margin-top:2px}.amber-mobile .result{margin-top:13px;margin-bottom:13px}
 .amber-mobile #textTools{bottom:calc(146px + var(--safe-bottom) + var(--keyboard-inset,0px));gap:5px}.amber-mobile #textTools button{min-height:28px;font-size:10px;padding:6px 9px}.amber-mobile #textTools #promptGenerator{background:#fff8ec;color:#bd7a34;border:1px solid #edd7b9;box-shadow:none;border-radius:16px;display:flex;align-items:center;gap:4px}.amber-mobile #textTools #promptGenerator svg{width:13px;height:13px}.amber-mobile.amber-chat .sidefloat{display:none}
 .amber-mobile #apiworkspace{top:calc(56px + env(safe-area-inset-top,0px));height:calc(100dvh - 56px - env(safe-area-inset-top,0px))}.amber-mobile .mobile-account-page:not([hidden]){top:calc(56px + env(safe-area-inset-top,0px))}
 .amber-mobile.mobile-keyboard .main{bottom:calc(85px + var(--keyboard-inset,0px))}
}

@media(max-width:700px){.amber-mobile.mobile-dialog-open .mobile-bottom{display:none!important}.amber-mobile #overlay{z-index:1000}.amber-mobile #overlay .dialog{max-height:calc(94dvh - var(--keyboard-inset,0px));overflow-y:auto;padding-bottom:calc(26px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:26px}.amber-mobile #overlay #dialogBody{padding-bottom:5px}.amber-mobile.mobile-dialog-open .amber-chat-model{display:none!important}}
/* Shared mobile type, controls and illustration sheet. */
@media(max-width:700px){
 .amber-mobile{color:#392b20;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
 .amber-mobile button,.amber-mobile input,.amber-mobile textarea,.amber-mobile select{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:0}
 .amber-mobile #overlay{background:#30251b55;backdrop-filter:blur(7px)}
 .amber-mobile #overlay .dialog{padding:24px 22px calc(22px + env(safe-area-inset-bottom,0px));border:1px solid #fff9ee;border-radius:28px 28px 0 0;background:#fffcf7;box-shadow:0 -12px 50px #3e291f18}
 .amber-mobile #dialog .close{float:right;display:grid;place-items:center;width:34px;height:34px;min-width:34px;min-height:34px;max-height:34px;padding:0;aspect-ratio:1;flex-shrink:0;border:1px solid #eee4d6;border-radius:50%;background:#f5efe6;color:#887666;box-shadow:none;margin:0 0 8px 12px}
 .amber-mobile #dialog .close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
 .amber-mobile #dialogBody>h2{font-size:21px;line-height:34px;font-weight:650;letter-spacing:-.4px;margin:0 0 18px;color:#392719}
 .amber-mobile .dialog label{font-size:13px;font-weight:550;color:#79624d;line-height:1.6}
 .amber-mobile .dialog input,.amber-mobile .dialog textarea,.amber-mobile .dialog select{font-size:15px;line-height:1.6;color:#493a2c;background:#fffefa;border:1px solid #e9ddcd;border-radius:12px;box-shadow:0 1px 2px #3f2c1503;padding:12px 14px}
 .amber-mobile .dialog input::placeholder,.amber-mobile .dialog textarea::placeholder{color:#a79b8e;font-weight:400}
 .amber-mobile .dialog input:focus,.amber-mobile .dialog textarea:focus,.amber-mobile .dialog select:focus{outline:2px solid #f5a54240;outline-offset:1px;border-color:#efaa50}
 .amber-mobile .dialog .primary{min-height:46px;font-size:15px;font-weight:600;border-radius:14px;background:linear-gradient(115deg,#ffa927,#ef7c00);box-shadow:0 5px 14px #e8901926}
 .amber-mobile .dialog button:disabled{opacity:.5;box-shadow:none}
 .amber-mobile .illustration-panel{clear:both}
 .amber-mobile .illustration-panel .illustration-intro{font-size:13px;line-height:1.6;margin:-8px 0 24px;color:#988571}
 .amber-mobile .illustration-field{display:flex;flex-direction:column;gap:9px;margin:0 0 18px}
 .amber-mobile .illustration-field select{width:100%;height:48px;margin:0;font-weight:500;padding-right:30px}
 .amber-mobile .illustration-panel .illustration-cost{margin:-7px 0 22px;font-size:12px;color:#ba741d;line-height:1.6;display:flex;align-items:center;gap:6px}
 .amber-mobile .illustration-cost:before{content:'';width:5px;height:5px;border-radius:50%;background:#f2a12a}
 .amber-mobile #illustrationPrompt{width:100%;min-height:156px;height:156px;max-height:240px;resize:vertical;margin:0;line-height:1.8}
 .amber-mobile .illustration-panel .illustration-status{font-size:11px;line-height:1.6;color:#9c8770;margin:0;font-weight:400}
 .amber-mobile .illustration-ratio{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-top:22px}
 .amber-mobile .illustration-ratio select{width:120px;height:44px}
 .amber-mobile .illustration-footer{position:sticky;bottom:-22px;background:linear-gradient(#fffcf700,#fffcf7 15px);padding:18px 0 4px;margin-top:6px}
 .amber-mobile #illustrationGenerate{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:48px}
 .amber-mobile #illustrationGenerate svg{width:19px;height:19px;stroke-width:1.7}
 .amber-mobile .mobile-page-back,.amber-mobile .mobile-menu{box-shadow:none}
 .amber-mobile svg{stroke-linecap:round;stroke-linejoin:round}
}
/* Vivid app palette: stronger type, filled navigation, colored service surfaces. */
@media(max-width:700px){
 .amber-mobile{--amber-ink:#272637;--amber-muted:#777689;--amber-orange:#ff710a;color:#272637;background:#fffaf6}
 .amber-mobile .top{background:#fffaf6;border-bottom:1px solid #f6ece3}
 .amber-mobile .amber-brand b{font-weight:800;color:#f4660a;letter-spacing:-.8px}
 .amber-mobile .amber-brand .amber-infinity{filter:drop-shadow(0 2px 3px #ff8a2322)}
 .amber-mobile .mobile-menu{color:#f06c13;background:#fff0df;border-color:#ffd8af}
 .amber-mobile #apiworkspace{background:radial-gradient(ellipse at 100% 0,#ffe2c6aa,transparent 45%),#fffaf6}
 .amber-mobile #apiTitle{font-size:27px;font-weight:800;letter-spacing:-.8px;color:#292537;margin:5px 0 18px;display:flex;align-items:center;gap:9px}
 .amber-mobile #apiTitle:before{content:'';display:block;width:5px;height:25px;border-radius:4px;background:linear-gradient(#ffb224,#ff6909)}
 .amber-mobile #apinav{gap:8px;padding-bottom:12px;margin-bottom:12px;scrollbar-width:none}
 .amber-mobile #apinav button,.amber-mobile #apinav button.illustrated-nav{--tab-tone:#ee7516;--tab-wash:#fff0df;display:inline-flex;align-items:center;justify-content:center;gap:6px!important;min-height:36px!important;font-size:11px;font-weight:600;padding:8px 11px!important;border:1px solid transparent!important;color:var(--tab-tone);background:var(--tab-wash);border-radius:12px;box-shadow:none}
 .amber-mobile #apinav button:nth-child(2){--tab-tone:#8250d5;--tab-wash:#f0e8ff}.amber-mobile #apinav button:nth-child(3){--tab-tone:#008f94;--tab-wash:#ddf5f1}.amber-mobile #apinav button:nth-child(4){--tab-tone:#b87900;--tab-wash:#fff0bf}.amber-mobile #apinav button:nth-child(5){--tab-tone:#1b9b6a;--tab-wash:#e0f6e9}.amber-mobile #apinav button:nth-child(6){--tab-tone:#3c7cde;--tab-wash:#e9f0ff}
 .amber-mobile #apinav button svg{display:block!important;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}
 .amber-mobile #apinav button.active{color:white;background:var(--tab-tone);border-color:transparent!important;box-shadow:0 4px 10px color-mix(in srgb,var(--tab-tone) 23%,transparent)}
 .amber-mobile .amber-balance{background:linear-gradient(115deg,#ff9428,#ff6c12);border:0;border-radius:20px;padding:20px;box-shadow:0 8px 22px #f8751825;margin-bottom:16px}
 .amber-mobile .amber-balance .amber-section-label,.amber-mobile .amber-balance .amber-section-label svg{color:#fff4e6;stroke:currentColor}
 .amber-mobile .amber-balance strong{color:white;font-weight:800;font-size:32px;letter-spacing:-1px}
 .amber-mobile .amber-recharge{background:white;color:#f1700a;font-weight:700;box-shadow:0 3px 12px #b5461522;padding:11px 20px}
 .amber-mobile .amber-key{background:linear-gradient(120deg,#f1eaff,#faf7ff);border:1px solid #e5d7fa;border-radius:18px;padding:17px;margin-bottom:13px;box-shadow:0 4px 14px #7d52c309}
 .amber-mobile .amber-key .amber-section-label{color:#7950b8;font-weight:600}.amber-mobile .amber-key .amber-section-label svg{color:#8a50df;stroke:currentColor;width:21px;height:21px;background:#e5d7ff;border-radius:7px;padding:3px;box-sizing:content-box}
 .amber-mobile .amber-key-row code{color:#46375d;font-size:13px}.amber-mobile .amber-text-button{background:#8c54dd;color:white;border-radius:10px;font-size:12px;font-weight:600;padding:8px 12px}
 .amber-mobile .amber-model-count{background:linear-gradient(110deg,#dcf7f1,#f1fcf8);border-color:#c8ece2;border-radius:16px;color:#148677;font-weight:600;padding:14px 17px;min-height:59px;margin-bottom:13px}
 .amber-mobile .amber-model-count>svg:first-child{color:#00a88f;background:#c0eee3;border-radius:8px;padding:5px;box-sizing:content-box;width:19px;height:19px}
 .amber-mobile .amber-model-count b{color:#087e70;font-size:17px}
 .amber-mobile .amber-usage{background:#fff;border-color:#f2e7dd;border-radius:18px;padding:17px;box-shadow:0 4px 16px #b4662308}
 .amber-mobile .amber-section-head h3{color:#302d40;font-size:15px;font-weight:750}.amber-mobile .amber-section-head h3 svg{color:#ff8b16;stroke:currentColor;background:#fff0d9;padding:4px;box-sizing:content-box;border-radius:7px}
 .amber-mobile .amber-bar-track i{background:linear-gradient(#ff8615,#ffc643)}
 .amber-mobile .amber-models{background:#fff;border-color:#ece7f2;border-radius:18px}
 .amber-mobile .amber-model-tabs button.active{background:#f87a13;box-shadow:0 3px 8px #f87a1325}.amber-mobile .amber-model-copy b{color:#302b3f;font-weight:650}.amber-mobile .amber-type-tag{background:#e4f7f1;color:#148771}
 .amber-mobile .mobile-bottom{background:#fffdfb;border-top-color:#f3e8dd;box-shadow:0 -5px 24px #b16b1910}
 .amber-mobile .mobile-bottom button{font-weight:550;color:#8b8793}.amber-mobile .mobile-bottom button.active{background:#fff0dc;color:#f16e0a;border-radius:15px}.amber-mobile .mobile-bottom button.active svg{color:#f16e0a;filter:none}
 .amber-mobile .amber-menu-group{border-color:#f0e6df;background:#fff;box-shadow:0 4px 16px #ad752309}
 .amber-mobile .amber-menu-row{color:#383244;font-weight:550}.amber-mobile .amber-menu-row>svg:first-child{background:#fff0de;border-radius:8px;padding:5px;box-sizing:content-box;color:#f27c15;stroke:currentColor}
 .amber-mobile .amber-menu-row:nth-child(2)>svg:first-child{color:#8250d5;background:#f0e8ff}.amber-mobile .amber-menu-row:nth-child(3)>svg:first-child{color:#039f87;background:#dff7ef}
 .amber-mobile .amber-identity h2{color:#302a3d;font-weight:750}.amber-mobile .amber-avatar{background:linear-gradient(135deg,#ffb341,#ff7b16);color:white;border-color:#fff0da}
 .amber-mobile #dialogBody>h2{color:#32283b;font-weight:750}.amber-mobile .dialog label{color:#6c596f}.amber-mobile .dialog input,.amber-mobile .dialog textarea,.amber-mobile .dialog select{background:#fff;border-color:#e7dbea;color:#403447}
 .amber-mobile .dialog .primary,.amber-mobile .send{background:linear-gradient(120deg,#ffa518,#ff6d0b);box-shadow:0 4px 12px #f57a222e}
 .amber-mobile #dialog .close{background:#fff0de;border-color:#ffe0b8;color:#ec791a}
 .amber-mobile #heroTitle{color:#f0720c}.amber-mobile .message.user .bubble{background:linear-gradient(120deg,#ffedcc,#ffdaa3);border-color:#ffd59b;color:#51301d}
}
@media(max-width:700px){
 .amber-mobile #apinav button.active,.amber-mobile #apinav button.active.illustrated-nav{background:var(--tab-tone)!important;color:#fff!important}
 .amber-mobile #apinav .nav-glyph,.amber-mobile #apinav .nav-icon{display:inline-flex!important;width:17px!important;height:17px!important;min-width:17px!important;align-items:center;justify-content:center;background:transparent!important;box-shadow:none!important;padding:0!important;border:0!important;color:inherit!important}
 .amber-mobile #apinav button.illustrated-nav{font-size:11px!important;gap:6px!important}
}
/* Wujie mobile system: common type, touch, state and surface tokens. */
@media(max-width:700px){
 .amber-mobile{--wj-font:'Wujie Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;--wj-ink:#302636;--wj-muted:#776675;--wj-orange:#bf5000;--wj-purple:#7941be;--wj-teal:#087c6b;--wj-paper:#fffcf8;--wj-radius:16px;--wj-focus:#a44706;font-family:var(--wj-font);font-size:14px;color:var(--wj-ink);font-synthesis:none}
 .amber-mobile button,.amber-mobile input,.amber-mobile textarea,.amber-mobile select,.amber-mobile .message,.amber-mobile #apiworkspace,.amber-mobile .dialog,.amber-mobile .dialog h2,.amber-mobile #heroTitle{font-family:var(--wj-font)!important}
 .amber-mobile ::selection{color:#512604;background:#ffe0ab}
 .amber-mobile input,.amber-mobile textarea{caret-color:var(--wj-orange)}
 .amber-mobile button:active{transform:none;filter:brightness(.94)}
 .amber-mobile button:focus-visible,.amber-mobile input:focus-visible,.amber-mobile select:focus-visible,.amber-mobile textarea:focus-visible{outline:2px solid var(--wj-focus);outline-offset:3px}
 .amber-mobile .amber-brand b{font-weight:800;letter-spacing:-.02em;color:#d85b00;font-size:24px}
 .amber-mobile .mobile-menu{width:44px;height:44px;flex-basis:44px;border-radius:13px}
 .amber-mobile.amber-chat .amber-chat-model{min-height:44px;top:calc(6px + env(safe-area-inset-top,0px));right:72px;max-width:calc(100vw - 200px);font-size:12px;padding:9px 11px;box-shadow:none;border-radius:13px}
 .amber-mobile #apiTitle{font-size:26px;font-weight:750;letter-spacing:-.02em;margin:6px 0 20px}
 .amber-mobile #apiTitle:before{display:none}
 .amber-mobile #apinav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;margin:0 0 20px;padding:0}
 .amber-mobile #apinav button,.amber-mobile #apinav button.illustrated-nav{min-height:44px!important;gap:6px!important;padding:9px 5px!important;font-size:12px!important;border-radius:12px;line-height:1.4;min-width:0}
 .amber-mobile #apinav button>span:last-child{white-space:normal}
 .amber-mobile #apinav button:first-child{--tab-tone:#b94c00}.amber-mobile #apinav button:nth-child(2){--tab-tone:#7941be}.amber-mobile #apinav button:nth-child(3){--tab-tone:#087c6b}.amber-mobile #apinav button:nth-child(4){--tab-tone:#805400}.amber-mobile #apinav button:nth-child(5){--tab-tone:#137747}.amber-mobile #apinav button:nth-child(6){--tab-tone:#3266bb}
 .amber-mobile .amber-balance{border-radius:var(--wj-radius);box-shadow:none;background:linear-gradient(115deg,#ffb640,#ff8a1c);padding:20px;margin-bottom:16px}
 .amber-mobile .amber-balance strong{color:#542306;font-size:32px;font-weight:750;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
 .amber-mobile .amber-balance .amber-section-label{color:#713407;font-size:12px;font-weight:500}
 .amber-mobile .amber-balance .amber-section-label svg{color:#783806;stroke:currentColor}
 .amber-mobile .amber-recharge{min-height:44px;padding:10px 20px;background:#fffaf1;color:#a74400;font-size:13px;font-weight:650;box-shadow:none;border-radius:12px}
 .amber-mobile .amber-key{border:0;box-shadow:none;border-radius:var(--wj-radius);padding:18px;background:#f1e8ff}
 .amber-mobile .amber-key .amber-section-label{color:#6838a8;font-size:13px}.amber-mobile .amber-key-row{margin-top:12px}.amber-mobile .amber-key-row code{font-family:var(--wj-font);color:#4a365d;font-size:14px}
 .amber-mobile .amber-text-button{min-width:54px;min-height:44px;background:var(--wj-purple);font-size:12px;padding:10px 14px;border-radius:12px}
 .amber-mobile .amber-model-count{border:0;background:#dff5ed;color:var(--wj-teal);border-radius:var(--wj-radius);padding:14px 18px;min-height:64px;font-size:13px}
 .amber-mobile .amber-model-count b{font-size:17px;color:#086b5d;font-weight:700}
 .amber-mobile .amber-usage,.amber-mobile .amber-models,.amber-mobile .amber-menu-group{border:1px solid #eee3d9;box-shadow:none;border-radius:var(--wj-radius);background:#fffefd}
 .amber-mobile .amber-section-head h3{font-size:15px;font-weight:650;letter-spacing:0;color:var(--wj-ink)}
 .amber-mobile .amber-section-head>span,.amber-mobile .amber-chart-note{font-size:11px;color:#7e6b5b}
 .amber-mobile .amber-usage-empty .amber-section-head{margin-bottom:8px}.amber-mobile .amber-usage-empty-copy{margin:0;color:#7d6b5a;font-size:12px;line-height:1.8}
 .amber-mobile .amber-model-tabs{gap:6px}.amber-mobile .amber-model-tabs button{min-height:40px;padding:9px 13px;font-size:12px;border-radius:11px;color:#876038;background:#fff1dc}
 .amber-mobile .amber-model-tabs button.active{background:#b94c00;color:#fff;box-shadow:none}
 .amber-mobile .amber-section-head input{width:128px;min-height:40px;font-size:12px;color:#61505e;background:white;border-color:#e5dce8;border-radius:11px}
 .amber-mobile .amber-section-head input::placeholder{color:#7e6d7b}
 .amber-mobile .amber-model-copy b{font-size:14px;line-height:1.5}.amber-mobile .amber-model-copy small{font-size:11px;line-height:1.5;color:#7b6875;max-width:none;white-space:normal}
 .amber-mobile .amber-model-logo{width:30px;min-width:30px}.amber-mobile .amber-type-tag{font-size:11px;color:#086f5d;padding:4px 8px}
 .amber-mobile .amber-model-row{gap:11px;padding:15px 0}.amber-mobile .amber-model-copy{flex:1}
 .amber-mobile .mobile-bottom button{font-size:12px;font-weight:500;gap:4px;color:#79717a}.amber-mobile .mobile-bottom button.active{color:#b94b00;background:#fff0da}
 .amber-mobile .mobile-bottom button.active svg{color:#c05404}
 .amber-mobile .amber-menu-row{min-height:58px;font-size:14px;font-weight:500;color:var(--wj-ink)}
 .amber-mobile .amber-member{font-size:12px;color:#7c6470}.amber-mobile .amber-logout{min-height:44px;color:#a34e2c;font-size:13px}
 .amber-mobile .mobile-account-page>header h1{font-size:24px;letter-spacing:-.02em;color:var(--wj-ink)}
 .amber-mobile .amber-loading,.amber-mobile .amber-empty,.amber-mobile .amber-error{font-size:13px;color:#776675}
 .amber-mobile #textTools{min-height:44px;align-items:center}.amber-mobile #textTools button{min-height:40px;font-size:12px;padding:8px 10px;color:#a04b12}
 .amber-mobile #textTools #promptGenerator{color:#a04b12}.amber-mobile.amber-chat .main{bottom:calc(194px + var(--safe-bottom))}
 .amber-mobile .message .bubble,.amber-mobile .result{font-size:14px;line-height:1.85}.amber-mobile .result>small{font-size:11px;color:#876e59}
 .amber-mobile #input{font-size:16px;color:#493123}.amber-mobile #input::placeholder{color:#8e7764}.amber-mobile .send{background:#f58b0a;color:#512604;box-shadow:none}
 .amber-mobile #dialog .close{width:44px;height:44px;min-width:44px;min-height:44px;max-height:44px;background:#fff0df;color:#aa4b05;border:0}.amber-mobile #dialog .close svg{width:18px;height:18px}
 .amber-mobile #dialogBody>h2{font-size:22px;line-height:44px;font-weight:650;letter-spacing:-.02em}
 .amber-mobile .dialog label{font-size:13px;color:#675565}.amber-mobile .dialog p{color:#7b685a}
 .amber-mobile .dialog input,.amber-mobile .dialog select,.amber-mobile .dialog textarea{font-size:16px;line-height:1.65;border-radius:12px;background:#fff;border-color:#e5d9d0;color:#44313d}
 .amber-mobile .dialog input::placeholder,.amber-mobile .dialog textarea::placeholder{color:#8d7b70}
 .amber-mobile .dialog .primary,.amber-mobile .primary{min-height:46px;color:#542503;background:linear-gradient(115deg,#ffb135,#ff951e);font-size:14px;font-weight:650;box-shadow:none;border-radius:12px}
 .amber-mobile .illustration-panel .illustration-intro,.amber-mobile .illustration-panel .illustration-status{color:#7c6856;font-size:12px}
 .amber-mobile .illustration-panel .illustration-cost{color:#955006;font-size:12px}
 .amber-mobile .illustration-footer{background:linear-gradient(#fffcf700,#fffcf7 15px)}
 @media(prefers-reduced-motion:reduce){.amber-mobile *,.amber-mobile *:before,.amber-mobile *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
}
/* User-requested saturated component fills, replacing pale/outlined treatments. */
@media(max-width:700px){
 .amber-mobile #dialog.model-selector{background:#fffcf7!important;box-shadow:0 -10px 40px #3c205224!important}
 .amber-mobile .model-search{border:2px solid #9160e4;background:#fff;box-shadow:none;border-radius:14px}
 .amber-mobile .model-search>span{color:#7940d1}.amber-mobile .model-search input{font-size:14px!important;color:#352644!important}.amber-mobile .model-search input::placeholder{color:#806a8d}
 .amber-mobile .model-filter-tabs{gap:8px;margin:18px 0}.amber-mobile .model-filter-tabs button{min-height:44px;padding:10px 15px;background:#087f6b;color:#fff;border-radius:12px;font-size:13px;font-weight:600;box-shadow:none}
 .amber-mobile .model-filter-tabs button.active{background:#cc4c00;color:#fff;box-shadow:0 4px 10px #db590024}
 .amber-mobile .model-filter-tabs>small{font-size:11px;color:#725b6b}
 .amber-mobile .model-card{--model-fill:#6340ba;background:var(--model-fill)!important;border:2px solid transparent!important;border-radius:16px;box-shadow:none!important;padding:15px 12px;min-height:88px;gap:11px;color:#fff;transform:none}
 .amber-mobile .model-card.graphite{--model-fill:#4e3bc0}.amber-mobile .model-card.sand{--model-fill:#c34019}.amber-mobile .model-card.mint{--model-fill:#07816a}.amber-mobile .model-card.sky{--model-fill:#2365cc}.amber-mobile .model-card.peach{--model-fill:#bb4709}.amber-mobile .model-card.blue{--model-fill:#235bd1}.amber-mobile .model-card.lavender{--model-fill:#793bc8}.amber-mobile .model-card.rose{--model-fill:#bd286a}
 .amber-mobile .model-card .model-title-line b{color:#fff!important;font-size:14px;font-weight:650}.amber-mobile .model-card .model-card-copy>small{color:#fff!important;opacity:.88;font-size:12px;margin-top:6px}
 .amber-mobile .model-card .model-price-tag{background:#fff;color:var(--model-fill);border:0;box-shadow:none;font-size:11px;font-weight:600;padding:7px 9px;white-space:nowrap;border-radius:10px}
 .amber-mobile .model-card .model-price-tag.free{background:#e3ff92;color:#294809}
 .amber-mobile .model-card.selected{background:#ff9b24!important;border-color:#f56d00!important;color:#512404}
 .amber-mobile .model-card.selected .model-title-line b,.amber-mobile .model-card.selected .model-card-copy>small{color:#512404!important;opacity:1}
 .amber-mobile .model-current{background:#783000;color:#fff;font-size:9px;padding:3px 6px;border-radius:7px}
 .amber-mobile .model-card.selected .model-price-tag{color:#8d3b05;background:#fff8e9}
 .amber-mobile .model-card-list{gap:11px;padding:2px 1px 12px;max-height:54dvh}
 .amber-mobile .model-logo.upstream-icon{background:#fff!important;box-shadow:none!important;border:0;border-radius:12px;width:39px;height:43px;flex-basis:39px;font-size:27px}
 .amber-mobile #textTools button,.amber-mobile #textTools #promptGenerator,.amber-mobile #textTools #createPersonaTool{border:0!important;background:#7b38cc!important;color:#fff!important;box-shadow:none!important;border-radius:12px;min-height:40px;font-weight:550}
 .amber-mobile #textTools #promptGenerator{background:#ce4d00!important}.amber-mobile #textTools button:nth-child(2){background:#7136c5!important}.amber-mobile #textTools #createPersonaTool{background:#087f6b!important}.amber-mobile #textTools button:nth-child(4){background:#2563cc!important}
 .amber-mobile.amber-chat .amber-chat-model{background:#6240bc;color:white;border:0}.amber-mobile .amber-chat-model>svg{stroke:currentColor}
 .amber-mobile .mobile-menu{background:#ee6d00;color:#fff;border:0}
 .amber-mobile .mobile-bottom button.active{background:#ce4d00;color:#fff;box-shadow:0 4px 10px #dd5a0020}.amber-mobile .mobile-bottom button.active svg{color:#fff}
 .amber-mobile #dialog .close{background:#e54c32;color:#fff;border:0}
 .amber-mobile .send{background:#f87900;color:#4b2000;box-shadow:0 3px 8px #ee6d0025}
 .amber-mobile .conversation-row{background:#f2ecff;border-color:#ded0fa;box-shadow:none}.amber-mobile .conversation-row.current{background:#ffad38;border-color:#ff830d}.amber-mobile .conversation-number{background:#7540c8;color:#fff}.amber-mobile .conversation-actions button{background:#2263ce;color:#fff}.amber-mobile .conversation-actions button.current{background:#aa4100;color:#fff}.amber-mobile .conversation-actions .delete-conversation{background:#d7423c;color:#fff}
 .amber-mobile .persona-card-actions .primary{background:#7836c8;color:#fff}.amber-mobile .persona-toolbar .primary{background:#cd4e00;color:#fff}
}
/* Floating app dock: a single surface with compact icon selection. */
@media(max-width:700px){
 .amber-mobile .mobile-bottom{left:14px;right:14px;width:auto;bottom:calc(10px + var(--safe-bottom));height:64px;min-height:64px;padding:6px 9px;gap:5px;border:0;border-radius:23px;background:#30233e;box-shadow:0 7px 22px #39244225;align-items:center;overflow:visible}
 .amber-mobile .mobile-bottom button,.amber-mobile .mobile-bottom button.active{height:52px;min-height:52px;min-width:0;padding:0 3px;gap:3px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:transparent;border:0;border-radius:14px;box-shadow:none;font-size:11px;font-weight:500;line-height:1.3;color:#d3c9dd}
 .amber-mobile .mobile-bottom .amber-nav-icon{display:grid;place-items:center;width:34px;height:30px;border-radius:10px;background:transparent;transition:background .16s ease-out,color .16s ease-out}
 .amber-mobile .mobile-bottom button svg{width:21px;height:21px;stroke-width:1.7;color:inherit;filter:none}
 .amber-mobile .mobile-bottom button.active{color:#ffbf55;font-weight:650}
 .amber-mobile .mobile-bottom button.active .amber-nav-icon{background:#ffa01e;color:#41200a;box-shadow:0 2px 7px #170c2020}
 .amber-mobile .mobile-bottom button.active svg{color:#41200a;stroke-width:1.9}
 .amber-mobile .mobile-bottom button:focus-visible{outline:2px solid #ffd594;outline-offset:1px}
 .amber-mobile .mobile-account-page:not([hidden]){bottom:calc(84px + var(--safe-bottom))}
}
/* Four independent navigation buttons; no shared colored dock. */
@media(max-width:700px){
 .amber-mobile .mobile-bottom{left:14px;right:14px;bottom:calc(10px + var(--safe-bottom));height:64px;min-height:64px;padding:0;gap:10px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;align-items:stretch}
 .amber-mobile .mobile-bottom button,.amber-mobile .mobile-bottom button.active{--nav-accent:#bb4b00;display:flex;flex:1;min-width:0;height:64px;min-height:64px;padding:7px 3px;gap:4px;border:1px solid #eee0d3;border-radius:16px;background:#fffefd;color:#766873;box-shadow:0 3px 10px #81573012;font-size:11px;font-weight:500;line-height:1.25}
 .amber-mobile .mobile-bottom button:nth-child(2){--nav-accent:#7540ca}.amber-mobile .mobile-bottom button:nth-child(3){--nav-accent:#087d68}.amber-mobile .mobile-bottom button:nth-child(4){--nav-accent:#ce386b}
 .amber-mobile .mobile-bottom .amber-nav-icon,.amber-mobile .mobile-bottom button.active .amber-nav-icon{width:28px;height:27px;border-radius:0;background:transparent;color:var(--nav-accent);box-shadow:none}
 .amber-mobile .mobile-bottom button svg,.amber-mobile .mobile-bottom button.active svg{width:23px;height:23px;color:var(--nav-accent);stroke-width:1.8}
 .amber-mobile .mobile-bottom button.active{background:var(--nav-accent);border-color:var(--nav-accent);color:#fff;font-weight:650;box-shadow:0 4px 12px color-mix(in srgb,var(--nav-accent) 23%,transparent)}
 .amber-mobile .mobile-bottom button.active .amber-nav-icon,.amber-mobile .mobile-bottom button.active svg{color:white}
 .amber-mobile .mobile-bottom button:focus-visible{outline:2px solid var(--nav-accent);outline-offset:3px}
}
.model-card-copy .model-description{font-size:11px;line-height:1.65;color:#77634f;margin:7px 0 0;white-space:normal;overflow-wrap:anywhere;font-weight:400}
@media(max-width:700px){
 .amber-mobile .model-card{align-items:flex-start;padding-top:16px;padding-bottom:16px}
 .amber-mobile .model-card .model-logo{margin-top:3px}
 .amber-mobile .model-card .model-price-tag{align-self:center}
 .amber-mobile .model-card .model-description{display:block;font-size:12px!important;line-height:1.65;color:#fff!important;opacity:.92;margin:8px 0 0!important;white-space:normal;overflow:visible;overflow-wrap:anywhere}
 .amber-mobile .model-card.selected .model-description{color:#512404!important;opacity:1}
 .amber-mobile .model-card .model-card-copy>small{font-size:11px;opacity:.78;margin-top:4px}
}
/* The composer owns the focus treatment; no rectangular textarea outline. */
@media(max-width:700px){
 .amber-mobile .composer #input,.amber-mobile .composer #input:focus,.amber-mobile .composer #input:focus-visible{border:0!important;outline:none!important;box-shadow:none!important;background:transparent}
 .amber-mobile .composer:focus-within{border-color:#edb781}
}
.sl-filter-trigger{display:none}.sl-filter-submit{border:1px solid #e4ccb1;border-radius:12px;padding:10px 18px;background:#fff4e2;color:#9a4b15}
@media(max-width:700px){
 .amber-mobile .sl-ledger-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;margin:18px 0}
 .amber-mobile .sl-ledger-filters>input{grid-column:1/-1;width:100%;min-width:0;height:48px;padding:12px 14px;font-size:14px;border:1px solid #ddcce8;border-radius:13px;background:#fff;color:#463247;box-shadow:none}
 .amber-mobile .sl-ledger-filters>input::placeholder{color:#806d7b}
 .amber-mobile .sl-ledger-filters .sl-native-filter{display:none!important}
 .amber-mobile .sl-ledger-filters .sl-filter-trigger{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0;min-height:48px;padding:12px 14px;background:#f0e7ff;border:0;border-radius:12px;color:#6a35b4;font-size:13px;font-weight:550;box-shadow:none;text-align:left;white-space:normal}
 .amber-mobile .sl-filter-trigger>span{min-width:0;overflow-wrap:anywhere}.amber-mobile .sl-filter-trigger svg{width:17px;height:17px;flex-shrink:0;stroke:currentColor;stroke-width:1.8;fill:none}
 .amber-mobile .sl-ledger-filters .sl-filter-trigger:nth-of-type(2){background:#dbf5eb;color:#096e5b}
 .amber-mobile .sl-ledger-filters .sl-filter-submit{grid-column:1/-1;min-height:46px;font-size:14px;font-weight:650;background:#ca4e00;color:white;border:0;border-radius:12px;box-shadow:none}
 .amber-mobile .sl-filter-options{display:grid;gap:9px;margin:6px 0}
 .amber-mobile #dialog .sl-filter-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;width:100%;padding:13px 16px;border:0;border-radius:13px;background:#f4edf9;color:#503b61;font-size:15px;text-align:left;font-weight:500;box-shadow:none}
 .amber-mobile #dialog .sl-filter-option[aria-pressed="true"]{background:#793ac8;color:#fff}
 .amber-mobile .sl-filter-check{font-size:18px;line-height:1;flex-shrink:0}
}
/* Structured public API reference, shared desktop and mobile. */
.wj-docs{display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;align-items:start;color:#40313d;font-size:14px;line-height:1.8}
.wj-doc-nav{position:sticky;top:12px;display:grid;gap:4px;background:#fffdfa;border:1px solid #eee2d5;border-radius:16px;padding:8px;max-height:75vh;overflow:auto}
.wj-doc-nav button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:10px 11px;border-radius:10px;color:#685461;min-height:48px;border:0;background:none;line-height:1.4}
.wj-doc-nav button b{font-size:12px;font-weight:600}.wj-doc-nav button small{font-size:10px;overflow-wrap:anywhere;color:#826f7c}
.wj-doc-nav button.active{background:#ffedd9;color:#a64005}.wj-doc-nav button.active small{color:#965528}
.wj-doc-main{min-width:0}.wj-doc-main section{padding:24px;background:#fffefd;border:1px solid #eae0d9;border-radius:16px;margin:0 0 18px;scroll-margin-top:18px}
.wj-doc-main h2{font-size:21px;line-height:1.4;font-weight:650;margin:0;color:#302331;letter-spacing:-.02em}.wj-doc-endpoint{font-size:12px;color:#a74e19;margin:7px 0 20px;font-weight:550}
.wj-doc-main p{font-size:14px!important;line-height:1.85!important;color:#62505c!important;margin:14px 0}
.wj-doc-main ul{padding-left:20px;margin:15px 0}.wj-doc-main li{margin:9px 0;color:#62505c;font-size:14px}.wj-doc-main li::marker{color:#e67418}
.wj-doc-main code{font-family:Consolas,'SFMono-Regular',monospace;font-size:12px;color:#99430e;overflow-wrap:anywhere}
.wj-code{margin:18px 0;background:#282234;color:#eee7f7;border-radius:12px;overflow:hidden}
.wj-code header{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;background:#342c41;color:#e8dbf4;font-size:12px;gap:12px}
.wj-code .wj-copy{color:#fff;background:#665079;border:0;border-radius:7px;padding:5px 10px;font-size:12px;min-width:48px;min-height:30px}
#apiBody .wj-code pre{margin:0;padding:17px;background:transparent;box-shadow:none;border:0;border-radius:0;color:#f3ebff;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%}
#apiBody .wj-code pre code{color:inherit;background:none;padding:0;font-size:inherit;white-space:inherit}
.wj-doc-table{overflow-x:auto;margin:18px 0}.wj-doc-table table{border-collapse:collapse;width:100%;min-width:360px;text-align:left;font-size:12px}
.wj-doc-table th{background:#f6eee4;color:#674d3e;font-weight:600}.wj-doc-table th,.wj-doc-table td{padding:11px 12px;border-bottom:1px solid #ece2d9;vertical-align:top;white-space:normal;line-height:1.75}.wj-doc-table td{color:#64515d;overflow-wrap:anywhere}
.wj-doc-nav button:focus-visible,.wj-copy:focus-visible{outline:2px solid #ab4f12;outline-offset:2px}
@media(max-width:700px){
 .amber-mobile .wj-docs{display:block;font-family:var(--wj-font);font-size:14px}
 .amber-mobile .wj-doc-nav{position:relative;top:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border:0;padding:0;background:none;max-height:none;overflow:visible;margin-bottom:18px}
 .amber-mobile .wj-doc-nav button{background:#fff0de;border:0;padding:10px 12px;min-height:58px;border-radius:12px;color:#805125;min-width:0}
 .amber-mobile .wj-doc-nav button.active{background:#b64b00;color:#fff}.amber-mobile .wj-doc-nav button.active small{color:#ffeddf}.amber-mobile .wj-doc-nav button small{font-size:10px;color:#795d48;line-height:1.5}.amber-mobile .wj-doc-nav button b{font-size:13px}
 .amber-mobile .wj-doc-main section{padding:18px 16px;border-radius:14px;scroll-margin-top:14px;margin-bottom:14px}
 .amber-mobile .wj-doc-main h2{font-size:20px}.amber-mobile .wj-doc-main p,.amber-mobile .wj-doc-main li{font-size:14px!important;line-height:1.85!important}
 .amber-mobile .wj-code header{padding:8px 11px;font-size:11px}.amber-mobile .wj-code .wj-copy{min-height:38px;padding:7px 10px}
 .amber-mobile #apiBody .wj-code pre{padding:13px;font-size:12px;line-height:1.85}.amber-mobile .wj-doc-table th,.amber-mobile .wj-doc-table td{padding:10px;font-size:12px}
}
/* Optional connection-model guidance for account-owned API keys. */
.key-create-form>label{display:block;margin:17px 0 9px;font-weight:550}.key-create-form>label input,.key-create-form>label select{display:block;width:100%;margin-top:8px;min-height:44px;padding:11px 13px}.key-model-field{margin:18px 0;padding:16px;background:#f8f3ff;border-radius:14px}.key-field-title{font-size:13px;font-weight:600;color:#543c6d;margin-bottom:10px}.key-field-title>span{font-size:11px;font-weight:400;margin-left:5px;color:#7a6889}
.key-model-toggle{min-height:44px;border:0;border-radius:11px;background:#7738bd;color:#fff;font-size:13px;padding:11px 15px;width:100%;text-align:left}
.key-selected-model{margin-top:12px;padding:13px;background:white;border:1px solid #e5d9ef;border-radius:11px;overflow-wrap:anywhere}.key-selected-model>b{display:block;font-size:14px;color:#443052}.key-selected-model>span{display:inline-block;margin-top:7px;font-size:12px;color:#087861}.key-selected-model p{font-size:12px!important;margin:8px 0 0!important;line-height:1.7!important;color:#6b5579!important}
.key-model-picker{margin-top:12px}.key-model-picker>input{width:100%;min-height:44px;font-size:14px;margin:0;background:#fff}.key-model-filter{display:flex;gap:7px;margin:10px 0;flex-wrap:wrap}.key-model-filter button{min-height:40px;padding:9px 11px;border:0;border-radius:10px;background:#e9ddf6;color:#693697;font-size:12px}.key-model-filter button[aria-pressed="true"]{background:#7236b6;color:white}
.key-model-choices{max-height:250px;overflow:auto;display:grid;gap:8px;overscroll-behavior:contain}.key-model-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:5px 9px;text-align:left;min-height:65px;width:100%;padding:12px;border:1px solid #e4d6ee;border-radius:11px;background:#fff;color:#49325d;box-shadow:none}.key-model-choice b{font-size:13px;font-weight:600;overflow-wrap:anywhere}.key-model-choice span{font-size:11px;color:#0b6c59;white-space:normal;text-align:right}.key-model-choice small{grid-column:1/-1;font-size:11px;line-height:1.65;color:#766281;overflow-wrap:anywhere}.key-model-choice[aria-pressed="true"]{border:2px solid #7c40b8;padding:11px}
.key-create-form .key-model-hint,.key-connection-help{font-size:12px!important;color:#79677b!important;line-height:1.8!important;margin-bottom:0}.key-model-picker[hidden],.key-selected-model[hidden]{display:none!important}
.key-connection{margin:14px 0}.key-connection h3{font-size:18px;margin:0 0 18px;color:#3d2a4c}.key-copy-row{display:flex;gap:10px;align-items:center;margin:13px 0;padding:13px;background:#f6efff;border-radius:12px}.key-copy-row>div{flex:1;min-width:0}.key-copy-row small{display:block;font-size:12px;color:#785b8d;margin-bottom:7px}.key-copy-row input{width:100%;margin:0!important;padding:3px 0!important;border:0!important;background:transparent!important;color:#49305d;font-family:Consolas,'Microsoft YaHei',sans-serif;font-size:13px;box-shadow:none!important}.key-copy-row button{border:0;border-radius:10px;background:#763cba;color:#fff;min-height:44px;min-width:54px;padding:10px;font-size:12px}.key-connection .key-model-note{background:#e1f5ec;color:#08674e!important;padding:12px;border-radius:11px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.key-saved-model{overflow-wrap:anywhere}
@media(max-width:700px){.amber-mobile .key-model-field{padding:14px}.amber-mobile .key-model-toggle{font-family:var(--wj-font);font-weight:550}.amber-mobile .key-model-choices{max-height:220px}.amber-mobile .key-model-choice{font-family:var(--wj-font)}.amber-mobile .key-copy-row input{font-size:14px}.amber-mobile .key-create-form .primary{margin-top:16px}.amber-mobile .key-create-form select{font-size:15px}}
.key-secret-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:13px 0}.key-secret-controls>input{flex:1 1 150px;min-width:0;width:100%;font-size:13px;padding:11px 12px;background:#f7f1ff;border:1px solid #e6d8f2;border-radius:11px;color:#53346b;min-height:44px}.key-secret-controls>button{min-height:44px;font-size:12px;padding:10px 12px;background:#7439b8;color:white;border:0;border-radius:10px}.key-secret-controls>p{font-size:12px!important;color:#886d59!important}.key-secret-controls>button:disabled{opacity:.55}
@media(max-width:700px){.amber-mobile .key-secret-controls>input{flex-basis:100%;font-family:var(--wj-font)}.amber-mobile .key-secret-controls>button{flex:1}}
/* Invite code, referral rewards and private invitation records. */
#profilegrid button:last-child:nth-child(odd){grid-column:1/-1}
.wj-invite{color:#48314b;min-width:0}.wj-invite h3{font-size:17px;font-weight:650;margin:0 0 14px}.wj-invite-hero{background:linear-gradient(120deg,#ffb837,#ff8c1e);border-radius:16px;padding:23px;color:#542605;margin-bottom:22px}.wj-invite-hero h3{color:#69300a}.wj-invite-hero>strong{font-size:34px;line-height:1.3;font-weight:750;display:block}.wj-invite-hero p{color:#68330f!important;font-size:13px;margin-bottom:0;line-height:1.8}
.wj-invite-share{margin:20px 0}.wj-invite-copy{display:flex;gap:10px;align-items:center;padding:13px 14px;background:#f0e6ff;border-radius:13px;margin:12px 0}.wj-invite-copy>div{flex:1;min-width:0}.wj-invite-copy small{font-size:12px;color:#72518d;display:block;margin-bottom:7px}.wj-invite-copy input{margin:0!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;width:100%;font-size:15px;color:#4d2670;line-height:1.8}.wj-invite-copy-button{min-height:44px;min-width:54px;background:#7836c4;color:#fff;border:0;border-radius:11px;font-size:12px;padding:10px 12px;flex-shrink:0}.wj-invite-note{font-size:12px!important;color:#80627c!important;line-height:1.8}
.wj-invite-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.wj-invite-stats>div{padding:16px;background:#dff5ec;border-radius:13px;color:#09644d}.wj-invite-stats>div:nth-child(2){background:#fff0d1;color:#844500}.wj-invite-stats small{display:block;font-size:12px;margin-bottom:8px}.wj-invite-stats b{font-size:21px;font-weight:650}
.wj-invite-rules{margin:26px 0;padding:0 0 22px;border-bottom:1px solid #eadfd7}.wj-invite-rules ul{padding-left:20px;margin:0}.wj-invite-rules li{font-size:13px;line-height:1.9;color:#786172;margin:7px 0}.wj-invite-history{margin:24px 0 10px}.wj-invite-record{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eadfd8;padding:16px 0}.wj-invite-record>div{min-width:0}.wj-invite-record b{font-size:14px;color:#49304b}.wj-invite-record small{display:block;font-size:11px;color:#866f80;line-height:1.7;margin-top:5px}.wj-invite-record strong{font-size:15px;color:#078366}.wj-invite-record>div:last-child{text-align:right}.wj-invite-empty{font-size:13px!important;line-height:1.9;color:#846778!important}.wj-invite-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.wj-invite-pages button{background:#f0e5ff;color:#703ab2;border:0;border-radius:11px;min-height:44px;padding:10px 13px}.wj-invite-pages button:disabled{opacity:.4}.wj-invite-pages span{font-size:12px;color:#7e687b}
.yj-auth .yj-invite-note{font-size:12px!important;line-height:1.8!important;color:#926139!important;margin:8px 0 16px}
@media(max-width:700px){.amber-mobile .wj-invite h3{font-size:17px}.amber-mobile .wj-invite-hero{padding:22px 18px}.amber-mobile .wj-invite-copy input{font-family:var(--wj-font);font-size:15px}.amber-mobile .wj-invite-copy-button{background:#7836c4;color:#fff}.amber-mobile .wj-invite-stats{gap:10px}.amber-mobile .wj-invite-stats b{font-size:20px}.amber-mobile .wj-invite-record small{font-size:11px}.amber-mobile .wj-invite-rules li{font-size:13px}.amber-mobile .yj-auth .yj-invite-note{font-size:12px!important}}
/* Account settings and password verification are separate tasks. */
.wj-security{max-width:620px;margin:0 auto;color:#403447}.wj-security-intro{margin:0 0 24px;color:#756779;line-height:1.6;font-size:14px}.wj-security-group{margin:0 0 26px}.wj-security-group h3{margin:0 0 10px;font-size:14px;font-weight:650;color:#746078}.wj-security-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #eee4da;font-size:15px}.wj-security-row span{color:#756779}.wj-security-row strong{font-weight:550;overflow-wrap:anywhere;text-align:right}.wj-security-password{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;padding:17px 0;border-bottom:1px solid #eee4da;min-height:64px}.wj-security-password span{display:grid;gap:6px}.wj-security-password strong{font-size:16px;font-weight:600}.wj-security-password small{font-size:13px;color:#756779;line-height:1.5}.wj-security-password svg{transform:rotate(180deg);width:18px;height:18px;color:#9b6b45}.wj-security-note{font-size:13px;line-height:1.8;color:#756779;margin:0}.yj-auth-reset .yj-auth-brand,.yj-auth-reset .yj-auth-tabs{display:none}.yj-auth.yj-auth-reset{display:block;margin-top:0}.yj-auth-reset-intro{font-size:14px!important;line-height:1.7!important;color:#756779!important;margin:0 0 22px!important}.yj-auth-reset .yj-auth-main{padding:0}.yj-auth-reset .yj-auth-content form{margin-top:0}.yj-auth-feedback:empty{display:none}.dialog:has(.yj-auth-reset){width:480px}.yj-auth-reset .yj-auth-switch{margin-top:14px!important}
@media(max-width:700px){.amber-mobile #overlay .dialog:has(.yj-auth){max-height:calc(94dvh - var(--keyboard-inset,0px));overflow-y:auto;padding:20px 22px calc(22px + env(safe-area-inset-bottom,0px))}.amber-mobile #dialog:has(.yj-auth) .close{width:44px;height:44px;min-width:44px;min-height:44px;background:#f5ede3;color:#765b45}.amber-mobile #dialog:has(.yj-auth) #dialogBody>h2{font-size:22px;line-height:44px;margin-bottom:14px}.amber-mobile .yj-auth-brand{display:none}.amber-mobile .yj-auth{display:block;margin:0}.amber-mobile .yj-auth input{min-height:48px;height:48px;font-size:16px!important;border-radius:12px!important}.amber-mobile .yj-auth label{font-size:14px;margin-bottom:16px;gap:8px}.amber-mobile .yj-auth .yj-auth-send{min-width:104px;width:104px;min-height:48px;font-size:14px;color:#7c420d;background:#fff0dc;border-color:#efcc9f}.amber-mobile .yj-auth-submit{min-height:48px;margin-top:4px;font-size:16px;background:#ed7807;color:#fff;border-radius:12px}.amber-mobile .yj-auth-reset .yj-auth-switch{margin-bottom:0!important}.amber-mobile .wj-security{padding:0 2px}.amber-mobile .wj-security-intro{margin-top:0}.amber-mobile .yj-auth-challenge{padding:12px;margin-bottom:16px}.amber-mobile .yj-auth-reveal{font-size:13px;min-height:40px;color:#8d501b}}
.wj-checkin{max-width:480px;margin:auto;text-align:center;color:#403447}.wj-checkin-intro{font-size:15px;line-height:1.6;color:#756779;margin:0 0 26px}.wj-checkin-reward{display:flex;align-items:baseline;justify-content:center;gap:10px;margin-bottom:14px;color:#cb5703}.wj-checkin-reward strong{font-size:64px;line-height:1.1;font-weight:750;letter-spacing:-.03em}.wj-checkin-reward span{font-size:15px}.wj-checkin-date{color:#756779;font-size:13px;margin:0 0 24px}.wj-checkin .primary{min-height:48px;font-size:16px;border-radius:12px}.wj-checkin .primary:disabled{background:#efe5d8;color:#765d46;opacity:1;box-shadow:none}.wj-checkin [role=status]{min-height:24px;margin:12px 0;font-size:14px;line-height:1.7;color:#4f6c38}.wj-checkin-rules{text-align:left;color:#756779;font-size:13px;line-height:1.8;margin:22px 0 0}
/* Shared secondary surfaces: one hierarchy across desktop dialogs and app pages. */
#overlay .dialog,.mobile-account-page{--detail-ink:#30281f;--detail-muted:#786a5c;--detail-line:#eee7dd;--detail-orange:#e96508;--detail-paper:#fffdf9;color:var(--detail-ink);font-family:var(--wj-font,'Segoe UI'),'Microsoft YaHei',sans-serif;letter-spacing:0;font-synthesis:none}
body #overlay{background:rgb(39 29 19 / 32%);backdrop-filter:blur(4px)}
body #overlay #dialog.dialog{position:relative;background:#fffdf9;border:0;border-radius:24px;padding:28px;width:520px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 48px);overflow-y:auto;box-shadow:0 24px 72px rgb(51 34 17 / 20%);scrollbar-width:thin;scrollbar-color:#d7c9b9 transparent;scroll-padding:24px}
body #overlay #dialog.dialog.wide{width:860px}
body #overlay #dialog .close{position:absolute;float:none;top:20px;right:20px;margin:0;display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;max-height:40px;padding:0;aspect-ratio:1;border-radius:12px;background:#f5eee5;color:#815737;border:0;box-shadow:none}
body #overlay #dialog .close svg{width:18px;height:18px;stroke-width:1.8}
body #overlay #dialog .close:hover{background:#fbe2c8;color:#bd4e04}
body #overlay #dialogBody>h2{font-size:24px;line-height:40px;letter-spacing:-.02em;font-weight:650;color:#30281f;margin:0 52px 24px 0}
body #dialogBody h3{font-weight:600;letter-spacing:-.01em}body #dialogBody h4{font-size:15px;font-weight:650;line-height:1.5;margin:28px 0 12px}
body #overlay #dialog .primary{min-height:48px;padding:12px 20px;border-radius:12px;background:#ec7309;color:#fff;font-size:15px;font-weight:600;line-height:1.5;border:0;box-shadow:none}
body #overlay #dialog .pill{min-height:44px;padding:10px 16px;background:#f7f0e6;color:#80502c;border:0;border-radius:12px;font-size:14px;box-shadow:none}
body #overlay #dialog input,body #overlay #dialog textarea,body #overlay #dialog select{border-radius:12px;border-color:#e6dbcc;background:#fff;font-size:15px;line-height:1.6;color:#3c3026}
body #overlay #dialog :is(button,input,textarea,select,a):focus-visible,.mobile-account-page :is(button,input,textarea,select,a):focus-visible{outline:2px solid #d96a10;outline-offset:3px}
body #overlay #dialog .detailrow{padding:17px 0;gap:20px;border-bottom:1px solid var(--detail-line);font-size:15px}body #overlay #dialog .detailrow span{color:var(--detail-muted)}body #overlay #dialog .detailrow b{font-weight:550;overflow-wrap:anywhere}
body #overlay #dialog .yj-auth{color:var(--detail-ink)}body #overlay #dialog:has(.yj-auth):not(:has(.yj-auth-reset)){width:820px}body #overlay #dialog:has(.yj-auth-reset){width:480px}
body #overlay #dialog:has(.wj-checkin){width:420px}body #overlay #dialog:has(.wj-security){width:520px}
.wj-checkin{max-width:none;text-align:left}.wj-checkin-reward{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:22px;margin:0 0 22px;padding:28px;border-radius:16px;background:#f7780a;color:#fff;min-height:158px}.wj-checkin-symbol{display:grid;place-items:center;width:64px;height:64px;flex-shrink:0;border-radius:16px;background:#ffffff26}.wj-checkin-symbol svg{width:34px;height:34px;stroke-width:1.6}.wj-checkin-label{display:block;color:#fff;font-size:14px;font-weight:500;margin:0 0 7px}.wj-checkin-reward strong{display:flex;align-items:baseline;gap:10px;color:#fff;font-size:66px;font-weight:750;line-height:1;letter-spacing:-.03em}.wj-checkin-reward strong small{font-size:16px;font-weight:500;letter-spacing:0}.wj-checkin #claimDailyCheckin{width:100%;min-height:50px;border-radius:12px;background:#e86606;color:#fff;border:0;font-size:16px;font-weight:600;box-shadow:none;margin:0}.wj-checkin.is-checked #claimDailyCheckin:disabled{background:#087c67;color:#fff;opacity:1}.wj-checkin [role=status]{margin:12px 0 0;font-size:14px;line-height:1.6;color:#a43d22;min-height:0}.wj-checkin [role=status]:empty{display:none}
.wj-security-intro{display:none}.wj-security-group{margin-bottom:26px}.wj-security-group h3{font-size:13px;color:#86694f;font-weight:600;margin-bottom:4px}.wj-security-row{min-height:58px;font-size:15px;border-color:#eee7dd}.wj-security-row span{color:#786a5c}.wj-security-row strong{color:#30281f;font-variant-numeric:tabular-nums}.wj-security-password{min-height:76px;border-color:#eee7dd}.wj-security-password strong{color:#30281f;font-size:16px}.wj-security-password small{color:#786a5c;font-size:13px}.wj-security-note{font-size:12px;color:#786a5c;line-height:1.7}.wj-security-password:hover strong{color:#cf5d06}
.studio-library{--sl-ink:#30281f;--sl-muted:#786a5c;--sl-line:#eee7dd}.studio-library .sl-back{display:inline-flex;align-items:center;min-height:40px;padding:8px 13px;margin:0 0 16px;background:#f6eee4;border:0;border-radius:10px;color:#80502c;font-size:13px}.studio-library .sl-meta{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;align-items:start;border-bottom:1px solid #eee7dd;padding:16px 0;font-size:14px;line-height:1.6}.studio-library .sl-meta>span{color:#786a5c}.studio-library .sl-meta>b{font-weight:500;text-align:right;overflow-wrap:anywhere;word-break:break-word;color:#30281f}.studio-library .sl-prompt{padding:0;margin:12px 0 0;background:transparent;border:0;border-radius:0;color:#46382c;font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.studio-library .sl-note{font-size:13px;line-height:1.8}.studio-library .sl-detail-media{margin:16px 0 24px;overflow:hidden;border-radius:14px}.studio-library .sl-rename input{min-height:46px}.studio-library .sl-rename button{min-height:44px;background:#f5eadc;color:#80502c;border-radius:10px;padding:10px 16px}.studio-library .sl-status:empty{display:none}.sl-bill-summary{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 20px;padding:22px 24px;margin:0 0 8px;border-radius:14px;background:#fff0de;color:#9f4200}.sl-bill-label{font-size:13px;color:#8b4d18}.sl-bill-summary strong{grid-column:1;grid-row:2;font-size:36px;line-height:1.2;font-weight:650;letter-spacing:-.02em}.sl-bill-summary small{grid-column:2;grid-row:1 / 3;background:#fff9ef;color:#8b4d18;border-radius:8px;padding:6px 10px;font-size:12px}.sl-bill-summary.refunded{background:#e5f4ee;color:#08715b}.sl-bill-summary.refunded :is(.sl-bill-label,small){color:#086650}.sl-bill-summary.refunded small{background:#f5fffb}
.wj-invite .wj-invite-hero{padding:24px;border:0;border-radius:16px;background:#f5780b;color:#fff;box-shadow:none}.wj-invite .wj-invite-hero:before,.wj-invite .wj-invite-hero:after{display:none}.wj-invite .wj-invite-hero h3{color:#fff;font-size:16px;margin:0 0 12px}.wj-invite .wj-invite-hero strong{font-size:40px;color:#fff;line-height:1.2}.wj-invite .wj-invite-hero p{color:#fff;font-size:13px;line-height:1.7;margin:12px 0 0}.wj-invite .wj-invite-copy{border-radius:12px;background:#f8f1e7;border:0;padding:14px;gap:14px}.wj-invite .wj-invite-copy input{border:0!important;background:transparent!important;padding:4px 0!important;box-shadow:none;color:#30281f}.wj-invite .wj-invite-copy-button{background:#e96c07;color:#fff;border-radius:10px;min-height:44px;font-size:14px}.wj-invite .wj-invite-stats>div{background:#f8f1e7;border-radius:12px;border:0}.wj-invite .wj-invite-stats b{color:#402f21;font-size:24px}.wj-invite .wj-invite-rules{background:transparent;padding:0;border:0}.wj-invite .wj-invite-rules li{color:#786a5c;font-size:13px;line-height:1.8}.wj-invite .wj-invite-record{padding:16px 0;background:transparent;border-bottom:1px solid #eee7dd;border-radius:0}.wj-invite .wj-invite-record strong{color:#087c67}.wj-invite .wj-invite-record small{color:#786a5c}
body #overlay #dialog #orderList .modelrow{padding:18px 0;min-height:60px;border:0;border-bottom:1px solid #eee7dd;border-radius:0;text-align:left;font-size:15px;color:#3c3026;background:transparent}
@media(max-width:700px){body #overlay #dialog.dialog,body #overlay #dialog.dialog.wide{width:100%;max-width:100%;padding:22px 22px calc(26px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 18px - var(--keyboard-inset,0px));border-radius:24px 24px 0 0;box-shadow:0 -12px 50px rgb(45 28 14 / 10%)}body #overlay #dialog .close{top:18px;right:18px;width:44px;height:44px;min-width:44px;min-height:44px;max-height:44px}body #overlay #dialogBody>h2{font-size:22px;line-height:44px;margin-bottom:22px}.mobile-account-page>header{border-bottom:1px solid #eee7dd;padding-bottom:16px;margin-bottom:22px}.mobile-account-page>header h1{font-size:22px;color:#30281f;letter-spacing:-.02em;font-weight:650}.mobile-account-page .mobile-page-back{width:42px;height:42px;border-radius:12px;border:0;background:#f5eee5;color:#815737;box-shadow:none}.mobile-account-page .wj-checkin{padding:0 2px}.wj-checkin-reward{padding:24px;gap:20px;min-height:158px}.wj-checkin-reward strong{font-size:64px}.wj-checkin-symbol{width:58px;height:58px}.studio-library .sl-meta{grid-template-columns:94px minmax(0,1fr);font-size:14px;gap:12px}.sl-bill-summary{padding:20px}.mobile-account-page .wj-invite-hero{padding:22px}.mobile-account-page .wj-invite-copy-button{background:#e96c07}.mobile-account-page .wj-invite-stats b{font-size:24px}}
@media(max-width:360px){.wj-checkin-reward{padding:22px 18px;gap:16px}.wj-checkin-symbol{width:48px;height:48px}.wj-checkin-reward strong{font-size:56px}}

body #overlay #dialog .wj-checkin.is-checked #claimDailyCheckin:disabled{background:#087c67;color:#fff;opacity:1}.studio-library .sl-back{gap:6px}.studio-library .sl-back svg{width:16px;height:16px}
/* Recharge choices and generated-content actions. */
.wj-recharge{max-width:680px;margin:0 auto;color:#33291f}.wj-recharge-balance{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 18px;padding:0 0 24px;border-bottom:1px solid #eee4d8;margin:0 0 24px}.wj-recharge-balance>span{font-size:13px;color:#786a5c}.wj-recharge-balance>strong{grid-column:1;font-size:28px;font-weight:650;line-height:1.3;letter-spacing:-.02em}.wj-recharge-balance>button{grid-column:2;grid-row:1 / 3;display:inline-flex;align-items:center;gap:5px;padding:8px 0;font-size:13px;color:#a44806}.wj-recharge-balance>button svg{width:15px;height:15px;transform:rotate(180deg)}.wj-recharge>h3{font-size:16px;margin:0 0 16px}.wj-pay-channels{display:flex;gap:10px;margin:0 0 24px}.wj-pay-channel{flex:1;display:flex;align-items:center;gap:9px;padding:12px 14px;min-height:48px;border:1px solid #e9dfd3;border-radius:12px;background:#fff;color:#584a3d;font-size:14px}.wj-pay-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#1487ed;color:#fff}.wj-pay-icon.wechat{background:#10a263}.wj-pay-icon svg{width:17px;height:17px}.wj-pay-channel>i{width:17px;height:17px;border:1.5px solid #cbbba8;border-radius:50%;margin-left:auto;flex-shrink:0}.wj-pay-channel[aria-pressed=true]{border-color:#ee7b22;background:#fff5e9;color:#804017}.wj-pay-channel[aria-pressed=true]>i{border:5px solid #eb730f;background:#fff}.wj-recharge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wj-recharge-pack{display:flex;position:relative;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;min-height:125px;padding:22px 18px;background:#fff;border:1px solid #e9dfd3;border-radius:14px;box-shadow:none;text-align:left;color:#3a2a1c;transition:border-color .15s,background .15s}.wj-pack-price{display:flex;gap:5px;align-items:baseline;line-height:1}.wj-pack-price>small{font-size:15px;font-weight:600;color:#754a29}.wj-pack-price>b{font-size:30px;font-weight:650;letter-spacing:-.03em}.wj-pack-credits{font-size:15px;font-weight:550;color:#76573c}.wj-pack-credits>small{font-size:12px;font-weight:400}.wj-recharge-pack.has-bonus{border-color:#e9dfd3;background:#fff}.wj-pack-bonus{position:absolute;right:10px;top:-10px;padding:4px 8px;border-radius:6px;background:#e86c09;color:#fff;font-size:11px;line-height:1.4;font-weight:600}.wj-recharge-pack:hover,.wj-recharge-pack:focus-visible{border-color:#cdbda9;background:#fffdf9}.wj-recharge-pack:active{background:#ffe7c8}.wj-recharge #paymentStatus:empty{display:none}.wj-recharge #paymentStatus{font-size:13px;color:#a3441d;margin:16px 0 0}.wj-confirm-amount{text-align:center;padding:4px 0 24px}.wj-confirm-amount>span{display:block;font-size:13px;color:#786a5c;margin:0 0 12px}.wj-confirm-amount strong{font-size:48px;font-weight:650;line-height:1.2;color:#3d2b1c;letter-spacing:-.03em}.wj-confirm-amount strong small{font-size:22px;letter-spacing:0;margin-right:5px}.wj-confirm-amount p{font-size:14px;color:#88603e;margin:12px 0 0}.wj-recharge #createPaymentError:empty{display:none}
.result-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;white-space:normal;margin:14px 0 8px;line-height:1.4}.result-actions button,.result-actions a,.result-save{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;font:500 13px var(--wj-font,'Segoe UI'),sans-serif;color:#8b552e;background:#f9f0e5;border:0;border-radius:10px;padding:7px 11px;text-decoration:none;cursor:pointer;box-shadow:none}.result-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.media-actions{justify-content:flex-start}.media-actions .result-save,.sl-detail-media>.result-save{background:#e96c08;color:#fff}.sl-detail-media>.result-save{margin:12px 0 16px}.studio-library>.result-actions{margin-top:12px}.result-actions button:hover,.result-actions a:hover{filter:brightness(.96)}
@media(max-width:700px){.wj-recharge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.wj-recharge-pack{min-height:122px;padding:22px 18px}.wj-pay-channel{padding:12px;gap:8px;font-size:14px}.wj-pack-price>b{font-size:29px}.wj-recharge-balance{padding-bottom:20px;margin-bottom:22px}.wj-recharge-balance>strong{font-size:26px}.wj-recharge .wj-pay-channels{margin-bottom:26px}.amber-mobile .result-actions button,.amber-mobile .result-actions a{min-height:36px;font-size:12px;padding:8px 11px}.mobile-account-page .wj-recharge-pack{font-size:14px}.result .result-actions{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.wj-recharge-pack{transition:none}}
/* Compact personal menu, with clear identity and six consistent shortcuts. */
#profile.profilepop{width:min(352px,calc(100vw - 24px));right:18px;top:82px;padding:18px;background:#fffdf9;border:0;border-radius:20px;box-shadow:0 16px 48px rgb(64 39 19 / 18%);max-height:calc(100dvh - 100px);overflow:auto;color:#372c24;font-family:var(--wj-font,'Segoe UI'),'Microsoft YaHei',sans-serif}
#profile .personhead{gap:13px;padding:3px 3px 18px;margin-bottom:16px;border-bottom:1px solid #eee6db;min-width:0}#profile .personhead .avatar{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border:0;border-radius:15px;background:#f37b12;color:#fff;box-shadow:none}#profile .personhead .avatar svg{width:25px;height:25px;color:inherit;stroke-width:1.7}#profile .personhead>div:nth-child(2){min-width:0}#profile .personhead b{display:block;font-size:17px;font-weight:650;line-height:1.4;font-variant-numeric:tabular-nums;letter-spacing:.01em;overflow-wrap:anywhere}#profile .personhead small{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.5;color:#786a5c;margin-top:4px}#profile .personhead[data-logged-in=true] small{color:#087c67}#profile .personhead[data-logged-in=true] small:before{content:'';width:5px;height:5px;border-radius:50%;background:#0a9478}
#profile #profilegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#profile #profilegrid .profile-entry{display:flex;align-items:center;gap:9px;min-height:60px;padding:12px 10px;border:0;border-radius:12px;background:#f7f2eb;text-align:left;box-shadow:none;transition:background .15s;color:#4b382a}#profile #profilegrid .profile-entry:last-child{grid-column:auto}#profile .profile-entry-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:9px;color:#fff;background:#e96c0a}#profile .profile-entry-icon.purple{background:#7a43c7}#profile .profile-entry-icon.blue{background:#2774c8}#profile .profile-entry-icon.teal{background:#078872}#profile #profilegrid .profile-entry-icon svg{margin:0;width:17px;height:17px;color:inherit;stroke-width:1.7}#profile .profile-entry-label{font-size:13px;font-weight:550;line-height:1.4;white-space:nowrap}#profile #profilegrid .profile-entry:hover{background:#ffecd6}#profile #profilegrid .profile-entry:focus-visible{outline:2px solid #e97616;outline-offset:2px}#profile #profilegrid .profile-entry:active{background:#ffdfb8}#profile .profilelogin{border:0;border-radius:12px;background:#f17a0c;color:#fff;min-height:44px;font-size:14px;font-weight:600;margin-bottom:12px}#profile .profilelogin svg{color:#fff}
@media(max-width:380px){#profile.profilepop{right:12px;padding:16px}#profile #profilegrid .profile-entry{gap:8px;padding:12px 9px}.profile-entry-icon{width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){#profile #profilegrid .profile-entry{transition:none}}
/* Sidebar: precise navigation, a real account control, and a clear app link. */
.platform-shell .site-rail{background:#fcf7ee;border-right:1px solid #eee4d6;color:#534133;scrollbar-color:#d9cbbb transparent;scrollbar-width:thin}.platform-shell .site-rail .site-brand .brandmark{background:#ef7c13;box-shadow:none;border-radius:13px}.platform-shell .site-rail .site-brand b{color:#3d2819;font-size:25px;letter-spacing:0}.platform-shell .site-rail .site-brand small{color:#876b54;letter-spacing:1.8px}.platform-shell .site-rail .rail-create{border-radius:12px;background:#ed780c;color:#fff;box-shadow:none;min-height:46px;font-size:14px;font-weight:600;gap:8px}.platform-shell .site-rail button.illustrated-nav{border:0;min-height:46px;border-radius:12px;font-size:14px;font-weight:500;padding:7px 10px;gap:12px;color:#5a4230;box-shadow:none}.platform-shell .site-rail button.illustrated-nav:hover{background:#f7ead8;border:0}.platform-shell .site-rail button.illustrated-nav.selected{background:#ffe6c9;color:#a33e00;box-shadow:none;font-weight:600}.platform-shell .site-rail button.selected:after{display:none}.platform-shell .site-rail .nav-glyph{border:0;width:30px;height:30px;flex-basis:30px;border-radius:9px;box-shadow:none;transform:none}.platform-shell .site-rail .nav-glyph.clay{background:#ed7411}.platform-shell .site-rail .nav-glyph.amber{background:#d88b06}.platform-shell .site-rail .nav-glyph.sage{background:#159a71}.platform-shell .site-rail .nav-glyph.rose{background:#df427b}.platform-shell .site-rail .nav-glyph.violet{background:#8350ca}.platform-shell .site-rail .nav-glyph.teal{background:#0a9a95}.platform-shell .site-rail .rail-label{font-size:11px;letter-spacing:.5px;color:#8b7059}.platform-shell .site-rail .rail-divider{background:#eee3d3;margin:14px 10px;min-height:1px}.platform-shell .site-rail .rail-bottom{margin-top:auto;padding-top:14px}.platform-shell .site-rail #railAccount{display:none}.platform-shell .site-rail button.rail-person{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;margin:8px 0 10px;border:0;border-radius:13px;background:#f6ead9;color:#4b3321;box-shadow:none;min-height:58px;font-size:13px;line-height:1.4}.platform-shell .site-rail button.rail-person:hover{background:#ffe5c7}.platform-shell .site-rail .rail-person .avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:#fffaf2;border-radius:10px;color:#c56114}.platform-shell .site-rail .rail-person .avatar svg{width:20px;height:20px}.platform-shell .site-rail #accountName{font-weight:600;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.platform-shell .site-rail .rail-person-arrow{margin-left:auto;color:#a06a40}.platform-shell .site-rail .rail-person-arrow svg{width:15px;height:15px;transform:rotate(180deg)}.platform-shell .site-rail .mobile-app-link{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;width:100%;padding:10px 14px;margin:0;border:1px solid #ecd6bb;border-radius:12px;background:#fffaf2;color:#a54e0c;text-decoration:none;font-size:13px;font-weight:550;line-height:1.5;box-shadow:none}.platform-shell .site-rail .mobile-app-link svg{width:18px;height:18px;stroke-width:1.8}.platform-shell .site-rail .mobile-app-link:hover{background:#fff0db;border-color:#e2af73}.platform-shell .site-rail :is(button,a):focus-visible{outline:2px solid #e78025;outline-offset:2px}
@media(min-width:701px) and (max-width:860px){.platform-shell .site-rail button.illustrated-nav{font-size:0;padding:8px 0;gap:0;justify-content:center}.platform-shell .site-rail button.rail-person{padding:10px 0;justify-content:center}.platform-shell .site-rail #accountName,.platform-shell .site-rail .rail-person-arrow,.platform-shell .site-rail .mobile-app-link span{display:none}.platform-shell .site-rail .mobile-app-link{padding:10px 0}.platform-shell .site-rail .rail-create{font-size:0;justify-content:center}.platform-shell .site-rail .rail-create svg{width:20px;height:20px}}
@media(max-width:700px){.platform-shell .site-rail button.illustrated-nav{font-size:14px;justify-content:flex-start}.platform-shell .site-rail .rail-bottom{padding-top:12px}.platform-shell .site-rail .rail-person #accountName{font-size:14px}.platform-shell .site-rail .mobile-app-link{font-size:14px}}
body #overlay #dialog .model-card.is-unavailable{background:#f1eeea;border:1px solid #e0d8cf;color:#807367;box-shadow:none;opacity:1;cursor:not-allowed}body #overlay #dialog .model-card.is-unavailable .model-logo{filter:grayscale(1);opacity:.65}body #overlay #dialog .model-card.is-unavailable :is(b,small,.model-description){color:#807367}body #overlay #dialog .model-card.is-unavailable .model-price-tag{background:#e9e2d9;color:#756758;border-color:#dcd1c3;box-shadow:none;white-space:normal;max-width:128px;font-size:12px;text-align:center}body #overlay #dialog .model-unavailable,.mc-unavailable{display:inline-block;flex-shrink:0;padding:3px 7px;border-radius:6px;background:#e3dcd3;color:#716355;font-size:11px;font-weight:500;line-height:1.5}.model-card.is-unavailable .model-title-line{flex-wrap:wrap}
/* Account center: identity, usable balance, and structured account actions. */
body #overlay #dialog:has(.wj-account){width:540px;padding:28px;background:#fffdf9}body #overlay #dialog:has(.wj-account) #dialogBody>h2{margin-bottom:24px}.wj-account{color:#35291f}.wj-account-identity{display:flex;align-items:center;gap:14px;margin:0 0 24px;min-width:0}.wj-account-avatar{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:#f57a12;color:#fff}.wj-account-avatar svg{width:28px;height:28px;stroke-width:1.65}.wj-account-identity>div{min-width:0}.wj-account-identity h3{margin:0 0 4px;font-size:19px;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;letter-spacing:0}.wj-account-identity>div>span{font-size:13px;color:#806a57}.wj-account-balance{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-radius:16px;background:#fff0db;margin-bottom:24px}.wj-account-balance>div{min-width:0}.wj-account-balance>div>span{display:block;font-size:13px;color:#92531f;margin-bottom:10px}.wj-account-balance strong{display:block;font-size:36px;font-weight:650;line-height:1.2;letter-spacing:-.025em;color:#74370d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}body #overlay #dialog .wj-account-balance>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-height:44px;padding:11px 17px;border:0;border-radius:12px;background:#e96d0a;color:#fff;font-size:14px;font-weight:600;box-shadow:none}.wj-account-balance>button svg{width:16px;height:16px;transform:rotate(180deg)}.wj-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wj-account-grid>button{display:flex;align-items:center;gap:10px;min-height:64px;padding:12px;border-radius:12px;background:#f8f2ea;border:0;color:#503a2a;text-align:left;font-size:14px;box-shadow:none}.wj-account-grid>button>span:nth-child(2){font-size:14px;font-weight:500;white-space:nowrap}.wj-account-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#ec7412;color:#fff}.wj-account-icon.blue{background:#2c78c8}.wj-account-icon.purple{background:#8150c7}.wj-account-icon.teal{background:#078975}.wj-account-icon svg{width:18px;height:18px;stroke-width:1.7}.wj-account-grid>button>svg{width:13px;height:13px;color:#ad8c6e;transform:rotate(180deg);margin-left:auto}.wj-account-grid>button:hover{background:#ffead1}.wj-account-footer{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:14px;border-top:1px solid #eee5db;gap:20px}body #overlay #dialog .wj-account-footer>button{min-height:40px;padding:8px 2px;border:0;background:none;box-shadow:none;font-size:13px;color:#8b6546}.wj-account-footer #siteLogout{color:#ad4737!important}.wj-account-footer #siteLogout:hover{color:#cc3325!important}.wj-account button:focus-visible{outline:2px solid #df751d;outline-offset:2px}
@media(max-width:700px){.wj-account-grid{gap:10px}.wj-account-grid>button{padding:12px 10px;gap:8px}.wj-account-balance{padding:22px 20px}.wj-account-balance strong{font-size:32px}}
body .key-delete{color:#b14b36!important}.wj-order-row{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #eee5db}.wj-order-summary{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:16px;padding:0;background:none;border:0;text-align:left;color:#433125;box-shadow:none}.wj-order-summary>span:first-child{display:grid;gap:6px}.wj-order-summary strong{font-size:20px;font-weight:600;line-height:1.3}.wj-order-summary small{font-size:13px;color:#8a705a}.wj-order-state{font-size:12px;white-space:nowrap;color:#a56321}.wj-order-state.expired,.wj-order-state.failed{color:#8b7b6d}.wj-order-state.paid{color:#087a65}.wj-order-pay{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:40px;padding:9px 14px;border-radius:10px;background:#ed760b;color:#fff;font-size:13px;font-weight:550;text-decoration:none;line-height:1.5}.wj-order-pay:hover{background:#d85e02}@media(max-width:400px){.wj-order-row{gap:12px}.wj-order-summary{gap:10px}.wj-order-summary strong{font-size:18px}.wj-order-pay{padding:9px 11px;font-size:12px}}
.wj-recharge-pack[aria-pressed=true]{border-color:#ee730a;background:#fff0db;box-shadow:inset 0 0 0 1px #ee730a}.wj-recharge .wj-pay-now{width:100%;display:flex;align-items:center;justify-content:center;min-height:48px;margin:24px 0 0;border-radius:12px;background:#ec7309;color:#fff;font-size:16px;font-weight:600;border:0}.wj-recharge .wj-pay-now:disabled{background:#f0e7dc!important;color:#927b64!important;opacity:1!important;cursor:default}.wj-recharge .wj-pay-now:not(:disabled):hover{background:#d85c03}
#promptGenerator[hidden]{display:none!important}

.wj-recharge-pack[aria-pressed=true]::after{content:"";position:absolute;right:15px;top:15px;width:6px;height:11px;border-right:2px solid #e96c08;border-bottom:2px solid #e96c08;transform:rotate(45deg)}
/* Keep drawer actions reachable above the browser and system safe areas. */
@media(max-width:700px){body.platform-shell.mobile-drawer .mobile-bottom{display:none!important}body.platform-shell.mobile-drawer .site-rail{height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}body.platform-shell.mobile-drawer .rail-bottom{flex-shrink:0}}
/* Copy controls are quiet icons below the message, for either speaker. */
#messages .copy-actions{justify-content:flex-end;margin:4px 0 0;gap:0;line-height:1}
#messages .copy-actions .response-copy{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:8px;border:0;border-radius:9px;background:transparent;color:#8b654a;box-shadow:none}
#messages .copy-actions .response-copy svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
#messages .copy-actions .copy-done{display:none}
#messages .copy-actions .is-copied{color:#087c67}
#messages .copy-actions .is-copied .copy-icon{display:none}
#messages .copy-actions .is-copied .copy-done{display:block}
#messages .copy-actions .response-copy:hover{background:#f6ecdf}
#messages .copy-actions .response-copy:focus-visible{outline:2px solid #bc6520;outline-offset:1px}
@media(max-width:700px){#messages .copy-actions .response-copy{width:44px;height:40px;min-width:44px;min-height:40px}#messages .message.user .copy-actions{margin-right:-6px}}
