/* TCS AI Virtual Try-On 0.4.4 — clean app page + hidden breadcrumb/title/menu */
.tcs-tryon-app{--tcs-blue:#1769ff;--tcs-blue-dark:#0f56d6;--tcs-navy:#11294e;--tcs-text:#233a5a;--tcs-muted:#6e7f96;--tcs-line:#dfe8f4;--tcs-soft:#f6f9ff;max-width:980px;margin:18px auto 48px;padding:0 14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--tcs-text)}
.tcs-tryon-app *{box-sizing:border-box}.tcs-tryon-app img{max-width:100%;height:auto}.tcs-tryon-head{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(285px,.7fr);gap:24px;align-items:center;padding:34px 36px;border:1px solid #dbe7f8;border-radius:26px;background:radial-gradient(circle at 90% 8%,rgba(23,105,255,.17),transparent 28%),linear-gradient(135deg,#fbfdff,#eef5ff);box-shadow:0 18px 50px rgba(36,73,128,.08)}
.tcs-tryon-badge{display:inline-flex;padding:6px 11px;border-radius:999px;background:#e6efff;color:var(--tcs-blue);font-size:11px;font-weight:850;letter-spacing:.06em}.tcs-tryon-head h2{max-width:700px;margin:12px 0 8px;font-size:clamp(30px,4.6vw,48px);line-height:1.08;letter-spacing:-.025em;color:var(--tcs-navy)}.tcs-tryon-head p{max-width:720px;margin:0;color:var(--tcs-muted);font-size:15px;line-height:1.75}.tcs-tryon-head-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.tcs-tryon-head-primary,.tcs-tryon-head-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border-radius:12px;text-decoration:none!important;font-size:14px;font-weight:800}.tcs-tryon-head-primary{background:var(--tcs-blue);color:#fff!important;box-shadow:0 9px 22px rgba(23,105,255,.19)}.tcs-tryon-head-secondary{background:#fff;color:#294766!important;border:1px solid #d5e1f2}.tcs-tryon-head-meta{display:grid;grid-template-columns:1fr;gap:9px}.tcs-tryon-head-meta>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(216,228,246,.95);border-radius:14px;background:rgba(255,255,255,.8)}.tcs-tryon-head-meta strong{color:#173e72;font-size:18px}.tcs-tryon-head-meta span{color:#74849a;font-size:12px;text-align:right}
.tcs-tryon-steps{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px auto 16px;padding:11px 14px;border:1px solid var(--tcs-line);border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(34,67,112,.045)}.tcs-tryon-steps>div{display:flex;align-items:center;gap:9px;min-width:0}.tcs-tryon-steps b{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#e8f1ff;color:var(--tcs-blue);font-size:13px}.tcs-tryon-steps span{display:grid;line-height:1.2}.tcs-tryon-steps strong{font-size:13px;color:#26415f}.tcs-tryon-steps small{margin-top:2px;font-size:10px;color:#8a98a9}.tcs-tryon-steps i{color:#a8b6c8;font-style:normal}
.tcs-tryon-form{scroll-margin-top:92px;padding:22px;border:1px solid #e1e9f4;border-radius:22px;background:#fff;box-shadow:0 12px 36px rgba(35,66,110,.065)}.tcs-tryon-token-row{padding:15px 16px;border:1px solid #dbe6f5;border-radius:16px;background:linear-gradient(135deg,#fafcff,#f3f7ff)}.tcs-tryon-token-row>label{display:block;margin-bottom:7px;font-weight:800;color:#26425f}.tcs-token-input-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.tcs-token-input-wrap input{min-width:0;min-height:46px;width:100%;border:1px solid #cfdbea;border-radius:11px;padding:10px 13px;background:#fff;color:#172a46;font-size:15px}.tcs-token-input-wrap input:focus,.tcs-url:focus,.tcs-options input:focus,.tcs-options select:focus{outline:0;border-color:#85aff7;box-shadow:0 0 0 4px rgba(23,105,255,.08)}.tcs-token-toggle,.tcs-token-verify{min-height:46px;border:0;border-radius:11px;padding:0 14px;cursor:pointer;font-weight:750}.tcs-token-toggle{background:#edf3fb;color:#24466f}.tcs-token-verify{background:#163e75;color:#fff}.tcs-token-verify:disabled{opacity:.55}.tcs-account-card{margin-top:9px;padding:9px 12px;border-radius:10px;background:#edf9f1;border:1px solid #bfe6ca;color:#12632a;font-size:13px;font-weight:700}.tcs-tryon-token-row small{display:block;margin-top:7px;color:#8190a4;line-height:1.55}.tcs-token-get-link{margin-left:5px;color:var(--tcs-blue);font-weight:800;text-decoration:none}.tcs-token-get-link:hover{text-decoration:underline}
.tcs-tryon-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}.tcs-upload-card{padding:16px;border:1px solid #e0e8f3;border-radius:18px;background:linear-gradient(180deg,#fcfdff,#f9fbff)}.tcs-upload-card h3{margin:0 0 3px;font-size:18px;color:#17365d}.tcs-upload-card p{margin:0 0 10px;color:#6f7f93;font-size:12px;line-height:1.55}.tcs-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:178px;padding:15px;border:2px dashed #bfd0e7;border-radius:15px;text-align:center;cursor:pointer;background:#fff;overflow:hidden;transition:.18s ease}.tcs-dropzone:hover{border-color:#6ba1f5;background:#f8fbff;transform:translateY(-1px)}.tcs-dropzone input{display:none}.tcs-upload-card:first-child .tcs-dropzone:before{content:"📷"}.tcs-upload-card:nth-child(2) .tcs-dropzone:before{content:"👕"}.tcs-dropzone:before{display:block;margin-bottom:7px;font-size:30px;line-height:1}.tcs-drop-title{display:block;font-weight:850;color:#24538f;font-size:14px}.tcs-drop-sub{display:block;font-size:11px;color:#8a98aa;margin-top:4px}.tcs-preview{display:none;width:100%;max-height:300px;object-fit:contain;border-radius:12px;margin-top:12px;background:#f4f6f9}.tcs-or{display:flex;align-items:center;gap:9px;color:#9aa7b8;font-size:11px;margin:9px 0}.tcs-or:before,.tcs-or:after{content:"";height:1px;background:#e4eaf2;flex:1}.tcs-url{width:100%;min-height:44px;border:1px solid #cfdbea;border-radius:11px;padding:10px 12px;background:#fff;color:#172a46;font-size:14px}
.tcs-options{display:grid;grid-template-columns:200px 1fr;gap:12px;margin-top:13px;padding:13px;border:1px solid #e5ebf3;border-radius:15px;background:#fbfcfe}.tcs-options label{display:grid;gap:5px;font-size:12px;font-weight:750;color:#475d79}.tcs-options input,.tcs-options select{width:100%;min-height:44px;border:1px solid #cfdbea;border-radius:10px;padding:9px 11px;background:#fff;color:#172a46;font-size:14px}.tcs-consent{display:flex;align-items:flex-start;gap:8px;margin:14px 1px;color:#5c6d82;font-size:12px;line-height:1.55}.tcs-consent input{margin-top:2px}.tcs-generate{width:100%;min-height:52px;border:0;border-radius:14px;padding:13px 18px;background:linear-gradient(135deg,#1769ff,#0f5bdf);color:#fff;font-size:16px;font-weight:850;cursor:pointer;box-shadow:0 9px 24px rgba(23,105,255,.20)}.tcs-generate:hover:not(:disabled){transform:translateY(-1px)}.tcs-generate:disabled{opacity:.55;cursor:wait}
.tcs-progress,.tcs-result,.tcs-error{margin-top:16px;padding:18px;border-radius:17px}.tcs-progress{border:1px solid #dce8f8;background:linear-gradient(135deg,#f8fbff,#f2f7ff)}.tcs-progress-top{display:flex;justify-content:space-between;gap:14px}.tcs-progress-title{color:#1a3f72}.tcs-elapsed{color:#708299}.tcs-progress-track{height:9px;background:#e3ebf6;border-radius:999px;overflow:hidden;margin:10px 0}.tcs-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#1769ff,#3aa5ff,#35c4a9);border-radius:999px;transition:width .45s ease}.tcs-progress-text{margin:0;color:#61748c;font-size:13px}.tcs-queue-meta{margin-top:9px;padding:8px 10px;border-radius:10px;background:#fff;color:#31557d;border:1px solid #dae6f6;font-size:11px;font-weight:700}.tcs-cancel-job{margin-top:9px;border:1px solid #d8a9a9;background:#fff;color:#9b2525;border-radius:10px;padding:8px 12px;font-weight:700;cursor:pointer}.tcs-cancel-job:disabled{opacity:.55}.tcs-error{background:#fff3f3;border:1px solid #ffcaca;color:#a92020}.tcs-result{border:1px solid #dae5f3;background:#fff;text-align:center;box-shadow:0 16px 45px rgba(24,49,84,.07)}.tcs-result h3{margin:0 0 14px;color:#16365e}.tcs-result-image{max-width:min(100%,680px);max-height:900px;border-radius:16px;box-shadow:0 15px 40px rgba(24,49,84,.13)}.tcs-result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:16px}.tcs-preview-large,.tcs-save-photo,.tcs-again{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:11px;padding:9px 16px;font-weight:800;text-decoration:none;cursor:pointer}.tcs-save-photo{background:var(--tcs-blue);color:#fff}.tcs-preview-large{background:#eaf2ff;color:#165bb9}.tcs-again{background:#eef3fa;color:#1c3d65}.tcs-result-meta{color:#75869b;font-size:11px;margin:10px 0 0}.tcs-result-savehint{margin:10px auto 0;max-width:650px;color:#687b94;font-size:11px;line-height:1.6}.tcs-result-privacy{margin:7px 0 0;color:#8997a8;font-size:11px}.tcs-result-image{cursor:zoom-in}.tcs-image-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(8,17,31,.92);overscroll-behavior:contain}.tcs-image-lightbox.is-open{display:flex}.tcs-image-lightbox-inner{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.tcs-image-lightbox img{max-width:100%;max-height:calc(100vh - 78px);object-fit:contain;border-radius:10px}.tcs-image-lightbox p{margin:0;color:#e5ebf4;font-size:12px;text-align:center}.tcs-image-lightbox-close{position:absolute;top:0;right:0;width:44px;height:44px;border:0;border-radius:999px;background:rgba(255,255,255,.15);color:#fff;font-size:29px;line-height:1;cursor:pointer}.tcs-tryon-unavailable{max-width:760px;margin:24px auto;padding:20px;border:1px solid #f0d28b;border-radius:15px;background:#fffaf0;color:#5f4b18}
@media(max-width:820px){.tcs-tryon-head{grid-template-columns:1fr;padding:25px 22px}.tcs-tryon-head-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.tcs-tryon-head-meta>div{display:grid;justify-content:start}.tcs-tryon-head-meta span{text-align:left}.tcs-tryon-grid,.tcs-options{grid-template-columns:1fr}.tcs-tryon-steps{justify-content:space-between}.tcs-tryon-steps i{display:none}.tcs-tryon-steps>div{flex:1;justify-content:center}}
@media(max-width:560px){.tcs-tryon-app{margin:8px auto 34px;padding:0 9px}.tcs-tryon-head{gap:17px;padding:21px 15px;border-radius:20px}.tcs-tryon-badge{font-size:10px}.tcs-tryon-head h2{font-size:29px;line-height:1.13;margin:10px 0 7px}.tcs-tryon-head p{font-size:13px;line-height:1.65}.tcs-tryon-head-actions{display:grid;grid-template-columns:1fr;margin-top:14px}.tcs-tryon-head-primary,.tcs-tryon-head-secondary{width:100%;min-height:46px}.tcs-tryon-head-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tcs-tryon-head-meta>div{padding:9px 8px}.tcs-tryon-head-meta strong{font-size:15px}.tcs-tryon-head-meta span{font-size:9px;line-height:1.2}.tcs-tryon-steps{gap:4px;margin:9px 0;padding:8px 5px;border-radius:13px}.tcs-tryon-steps>div{display:grid;justify-items:center;text-align:center;gap:3px}.tcs-tryon-steps b{width:27px;height:27px;flex-basis:27px}.tcs-tryon-steps strong{font-size:11px}.tcs-tryon-steps small{display:none}.tcs-tryon-form{padding:11px;border-radius:18px}.tcs-tryon-token-row{padding:11px}.tcs-token-input-wrap{grid-template-columns:1fr 1fr}.tcs-token-input-wrap input{grid-column:1/-1;min-height:48px;font-size:16px}.tcs-token-toggle,.tcs-token-verify{width:100%;min-height:43px}.tcs-tryon-token-row small{font-size:11px}.tcs-token-get-link{display:block;margin:5px 0 0}.tcs-tryon-grid{gap:9px;margin-top:10px}.tcs-upload-card{padding:11px;border-radius:15px}.tcs-upload-card h3{font-size:15px}.tcs-upload-card p{font-size:11px}.tcs-dropzone{min-height:140px;padding:12px}.tcs-dropzone:before{font-size:26px}.tcs-preview{max-height:270px;margin-top:9px}.tcs-url,.tcs-options input,.tcs-options select{font-size:16px}.tcs-options{padding:10px;gap:9px}.tcs-consent{font-size:11px;margin:12px 0}.tcs-generate{position:sticky;bottom:8px;z-index:8;min-height:54px;box-shadow:0 10px 26px rgba(23,105,255,.28)}.tcs-progress,.tcs-result,.tcs-error{padding:14px}.tcs-result-actions{display:grid;grid-template-columns:1fr}.tcs-preview-large,.tcs-save-photo,.tcs-again{width:100%}}

/* 0.4.2: browser token memory, shopping share text, theme menu localization */
.tcs-token-local-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.tcs-token-remember{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;color:#53677f!important;font-size:12px!important;font-weight:700!important;cursor:pointer}.tcs-token-remember input{width:16px;height:16px;margin:0}.tcs-token-forget{border:0;background:transparent;color:#6e8199;font-size:11px;font-weight:700;cursor:pointer;padding:5px 0}.tcs-token-forget:hover{color:#b33131;text-decoration:underline}
.tcs-garment-link{min-height:68px!important;resize:vertical;line-height:1.5;font-family:inherit}.tcs-link-hint{margin-top:7px;padding:7px 9px;border-radius:9px;background:#edf9f1;border:1px solid #c4e8cf;color:#16703b;font-size:11px;font-weight:700;line-height:1.45}.tcs-link-hint.is-warning{background:#fff9eb;border-color:#f1d99a;color:#8a6717}
.tcs-localized-menu-toggle{font-size:13px!important;line-height:1!important;min-height:38px!important;padding:0 13px!important;border-radius:10px!important;text-transform:none!important;letter-spacing:0!important}
@media(max-width:560px){.tcs-token-local-row{align-items:flex-start;flex-direction:column;gap:5px}.tcs-token-forget{padding:2px 0}.tcs-garment-link{min-height:84px!important;font-size:16px!important}.tcs-link-hint{font-size:10px}.tcs-localized-menu-toggle{font-size:13px!important}}


/* 0.4.3: resilient failed-submit recovery, Taobao fallback link, hide theme Menu on try-on page */
.tcs-open-product-link{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;min-height:36px;padding:0 12px;border:1px solid #cbdcf2;border-radius:10px;background:#f5f9ff;color:#1d5fba!important;font-size:12px;font-weight:800;text-decoration:none!important}.tcs-open-product-link:hover{background:#eaf3ff}.tcs-taobao-fallback{display:block;margin-top:7px;color:#8997a8;font-size:10px;line-height:1.55}
body.tcs-ai-tryon-page .menu-toggle,
body.tcs-ai-tryon-page .mobile-menu-toggle,
body.tcs-ai-tryon-page [class*="menu-toggle"],
body.tcs-ai-tryon-page [id*="menu-toggle"],
body.tcs-ai-tryon-page button[aria-controls*="menu"],
body.tcs-ai-tryon-page a[aria-controls*="menu"],
body.tcs-ai-tryon-page .navbar-toggler,
body.tcs-ai-tryon-page .responsive-menu-pro-button,
body.tcs-ai-tryon-page .responsive-menu-button{display:none!important}
@media(max-width:560px){.tcs-open-product-link{width:100%;min-height:40px}.tcs-taobao-fallback{font-size:10px}}


/* 0.4.4: AI 试衣页使用独立产品界面，不显示主题面包屑 / 页面标题 / 移动菜单。
   仅在本插件页面 body.tcs-ai-tryon-page 下生效，不影响站点其它页面。 */
body.tcs-ai-tryon-page .breadcrumb,
body.tcs-ai-tryon-page .breadcrumbs,
body.tcs-ai-tryon-page #breadcrumb,
body.tcs-ai-tryon-page #breadcrumbs,
body.tcs-ai-tryon-page .breadcrumb-trail,
body.tcs-ai-tryon-page .breadcrumb-area,
body.tcs-ai-tryon-page .breadcrumb-wrapper,
body.tcs-ai-tryon-page .breadcrumb-section,
body.tcs-ai-tryon-page .entry-header,
body.tcs-ai-tryon-page .page-header,
body.tcs-ai-tryon-page h1.entry-title,
body.tcs-ai-tryon-page h1.page-title,
body.tcs-ai-tryon-page .page-title,
body.tcs-ai-tryon-page .post-title,
body.tcs-ai-tryon-page .inner-banner,
body.tcs-ai-tryon-page .page-banner{display:none!important}

/* 隐藏后清掉主题给标题区域预留的顶部空白。 */
body.tcs-ai-tryon-page .entry-content,
body.tcs-ai-tryon-page .site-main,
body.tcs-ai-tryon-page main,
body.tcs-ai-tryon-page .content-area{margin-top:0!important;padding-top:0!important}
body.tcs-ai-tryon-page .tcs-tryon-app{margin-top:8px!important}
\n\n/* 0.4.6 mobile full-bleed fix: Prefer theme constrains shortcode content inside a narrow article container.\n   Break the try-on app out to the viewport on phones while keeping a small safe gutter. */\n@media(max-width:760px){\n  body.tcs-ai-tryon-page{overflow-x:hidden!important}\n  body.tcs-ai-tryon-page .content-area,\n  body.tcs-ai-tryon-page .site-main,\n  body.tcs-ai-tryon-page article,\n  body.tcs-ai-tryon-page .entry-content{max-width:none!important;overflow:visible!important}\n  .tcs-tryon-app{\n    width:calc(100vw - 12px)!important;\n    max-width:none!important;\n    margin-left:50%!important;\n    margin-right:0!important;\n    transform:translateX(-50%)!important;\n    padding-left:0!important;\n    padding-right:0!important;\n  }\n}\n@supports(width:100dvw){\n  @media(max-width:760px){\n    .tcs-tryon-app{width:calc(100dvw - 12px)!important}\n  }\n}\n
/* 0.5.0 multi-outfit batch UI */
.tcs-person-restore-note{margin-top:10px;padding:8px 10px;border-radius:10px;background:#edf5ff;border:1px solid #d6e4fb;color:#35506e;font-size:12px;line-height:1.55}
.tcs-inline-link{margin-left:8px;border:0;background:transparent;color:#1769ff;font-weight:800;cursor:pointer;padding:0}
.tcs-upload-list{display:grid;gap:8px;margin-top:10px}
.tcs-upload-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 9px;border:1px solid #dce7f6;border-radius:12px;background:#fff}
.tcs-upload-item-thumb{width:64px;height:64px;object-fit:cover;border-radius:10px;background:#eef3fa}
.tcs-upload-item-info{display:grid;min-width:0}.tcs-upload-item-info strong{font-size:13px;color:#1d385b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcs-upload-item-info span{font-size:11px;color:#7a8da6}
.tcs-upload-item-remove{min-height:34px;border:1px solid #f0c3c3;background:#fff7f7;color:#a12a2a;border-radius:10px;padding:0 12px;font-size:12px;font-weight:800;cursor:pointer}
.tcs-result{text-align:left}
.tcs-result-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:12px}.tcs-result-head h3{margin:0;color:#16365e}.tcs-result-summary{margin:0;color:#6d7f98;font-size:12px}
.tcs-result-list{display:grid;grid-template-columns:1fr;gap:14px}
.tcs-result-card{padding:14px;border:1px solid #dbe5f3;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(24,49,84,.05)}
.tcs-result-card.is-completed{border-color:#cfe2ff;background:linear-gradient(180deg,#ffffff,#fbfdff)}
.tcs-result-card.is-failed,.tcs-result-card.is-cancelled{border-color:#f0cccc;background:#fff8f8}
.tcs-result-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.tcs-result-card-title{display:block;color:#17365d;font-size:15px}.tcs-result-card-status{display:block;margin-top:4px;color:#6a7f98;font-size:12px}
.tcs-result-card-body{margin-top:12px}.tcs-result-card-placeholder{display:flex;align-items:center;justify-content:center;min-height:240px;border-radius:14px;border:1px dashed #c9d8ee;background:#f7faff;color:#6c7f98;text-align:center;padding:14px;font-size:13px;line-height:1.6}.tcs-result-card-placeholder.is-error{border-color:#efc7c7;background:#fff5f5;color:#a53a3a}
.tcs-result-card-image{display:block;width:100%;max-height:560px;object-fit:contain;border-radius:14px;background:#f5f8fc;cursor:zoom-in}
.tcs-result-card-meta{margin-top:10px;color:#7688a0;font-size:11px;line-height:1.6;min-height:18px}
.tcs-result-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.tcs-result-card-actions .tcs-preview-large,.tcs-result-card-actions .tcs-save-photo{min-height:40px;padding:0 14px}
.tcs-result-bottom{display:flex;justify-content:center;margin-top:16px}
body.tcs-ai-tryon-page .site-footer, body.tcs-ai-tryon-page footer{margin-top:18px}
@media(max-width:820px){.tcs-result-list{grid-template-columns:1fr}}
@media(max-width:560px){
  .tcs-person-restore-note{font-size:11px}
  .tcs-upload-item{grid-template-columns:54px minmax(0,1fr) auto;gap:8px;padding:7px}
  .tcs-upload-item-thumb{width:54px;height:54px}
  .tcs-upload-item-remove{padding:0 10px;font-size:11px}
  .tcs-result-list{gap:10px}
  .tcs-result-card{padding:11px;border-radius:14px}
  .tcs-result-card-placeholder{min-height:180px}
  .tcs-result-card-actions{display:grid;grid-template-columns:1fr 1fr}
  .tcs-result-bottom .tcs-again{width:100%}
}

/* 0.5.1 clear per-item batch credit pricing */
.tcs-batch-cost-note{margin:0 1px 10px;padding:10px 12px;border:1px solid #d5e4f9;border-radius:11px;background:#f2f7ff;color:#31567f;font-size:12px;font-weight:750;line-height:1.55}
@media(max-width:560px){.tcs-batch-cost-note{font-size:11px;padding:9px 10px}}

/* 0.5.4 — recharge info from account service */
.tcs-tryon-recharge{margin-top:10px}.tcs-tryon-recharge-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid #d9e6f7;border-radius:13px;background:linear-gradient(135deg,#f8fbff,#eef5ff)}.tcs-tryon-recharge-inner.is-low{border-color:#f1cf8c;background:linear-gradient(135deg,#fffaf0,#fff4d9)}.tcs-tryon-recharge-copy{min-width:0}.tcs-tryon-recharge-kicker{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e7f0ff;color:#1769ff;font-size:10px;font-weight:850}.tcs-tryon-recharge-copy strong{display:block;margin-top:7px;color:#17365d;font-size:16px}.tcs-tryon-recharge-contact{margin:4px 0 0;color:#294866;font-size:13px;font-weight:800}.tcs-tryon-recharge-note{margin:5px 0 0;color:#6b7c92;font-size:11px;line-height:1.55}.tcs-tryon-recharge-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;margin-top:9px;padding:0 12px;border-radius:10px;background:#1769ff;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:800}.tcs-tryon-recharge-qr{display:grid;justify-items:center;gap:4px}.tcs-tryon-recharge-qr img{display:block;width:108px;height:108px;object-fit:contain;border:6px solid #fff;border-radius:12px}.tcs-tryon-recharge-qr small{color:#79899c;font-size:9px}@media(max-width:560px){.tcs-tryon-recharge-inner{grid-template-columns:1fr}.tcs-tryon-recharge-qr{justify-items:start}.tcs-tryon-recharge-qr img{width:min(52vw,200px);height:auto;aspect-ratio:1/1}.tcs-tryon-recharge-link{width:100%}}


/* 0.5.5: match Account Center page gutters/overall content width. */
.tcs-tryon-app{max-width:980px}
@media(max-width:760px){
  .tcs-tryon-app{
    width:calc(100vw - 12px)!important;
    max-width:none!important;
    margin-left:50%!important;
    margin-right:0!important;
    transform:translateX(-50%)!important;
    padding-left:0!important;
    padding-right:0!important;
  }
}
@supports(width:100dvw){
  @media(max-width:760px){.tcs-tryon-app{width:calc(100dvw - 12px)!important}}
}

/* 0.5.6 gift-card Token import */
.tcs-gift-token-import{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.tcs-gift-token-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px;margin:0!important;padding:0 12px;border:1px solid #c7daf5;border-radius:10px;background:#fff;color:#1769ff!important;font-size:11px!important;font-weight:800!important;cursor:pointer}.tcs-gift-token-button input{display:none}.tcs-gift-token-status{padding:7px 9px;border-radius:9px;background:#f5f8fc;color:#526780;font-size:10px;line-height:1.45}.tcs-gift-token-status.is-success{background:#edf9f1;color:#17632b}.tcs-gift-token-status.is-error{background:#fff1f1;color:#a31c1c}@media(max-width:560px){.tcs-gift-token-import{display:grid;grid-template-columns:1fr}.tcs-gift-token-button{width:100%;min-height:44px}.tcs-gift-token-status{font-size:10px}}

/* 0.5.8 premium hero refresh */
.tcs-tryon-head{background:radial-gradient(circle at 86% 10%,rgba(83,137,245,.18),transparent 26%),radial-gradient(circle at 12% 92%,rgba(103,189,220,.10),transparent 28%),linear-gradient(145deg,#fbfdff 0%,#eef4ff 58%,#f8fbff 100%)!important;border-color:#d8e5f6!important;box-shadow:0 20px 54px rgba(28,61,110,.09)!important}
.tcs-tryon-badge{padding:7px 12px!important;background:rgba(227,237,255,.92)!important;border:1px solid rgba(84,126,205,.12)!important;color:#2b63b8!important;letter-spacing:.09em!important}
.tcs-tryon-head h2{max-width:620px!important;font-weight:900!important;letter-spacing:-.04em!important;color:#0e2d57!important}
.tcs-tryon-head p{max-width:690px!important;color:#61748e!important;font-size:15.5px!important;line-height:1.85!important}
.tcs-tryon-head-meta>div{display:grid!important;gap:3px!important;justify-content:start!important;align-items:start!important;padding:14px 15px!important;background:rgba(255,255,255,.82)!important;border-color:rgba(205,219,239,.92)!important}
.tcs-tryon-head-meta strong{font-size:16px!important;color:#173f73!important;letter-spacing:.01em}
.tcs-tryon-head-meta span{font-size:11px!important;line-height:1.45!important;color:#7a8aa0!important;text-align:left!important}
.tcs-tryon-head-primary{background:linear-gradient(135deg,#1a69f4,#0e56cf)!important;box-shadow:0 10px 25px rgba(23,105,255,.24)!important}
@media(max-width:560px){.tcs-tryon-head h2{font-size:31px!important;line-height:1.16!important}.tcs-tryon-head p{font-size:13.5px!important;line-height:1.78!important}.tcs-tryon-head-meta strong{font-size:13px!important}.tcs-tryon-head-meta span{font-size:9px!important}}


/* 0.6.0 Smart Pose */
.tcs-options-advanced{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
}
.tcs-options-advanced label{min-width:0}
.tcs-options-advanced .tcs-field-help{
  display:block;
  margin-top:6px;
  color:#73859c;
  font-size:11px;
  line-height:1.55;
}
.tcs-options-advanced .tcs-extra-prompt-wrap,
.tcs-options-advanced .tcs-custom-pose-wrap{
  grid-column:1/-1;
}
.tcs-options-advanced [hidden]{display:none!important}
@media(max-width:700px){
  .tcs-options-advanced{grid-template-columns:1fr!important}
  .tcs-options-advanced .tcs-extra-prompt-wrap,
  .tcs-options-advanced .tcs-custom-pose-wrap{grid-column:auto}
}


/* 0.6.1 upstream fault tolerance */
.tcs-result-card-actions[hidden]{display:none!important}
.tcs-result-card.is-failed .tcs-result-card-actions,
.tcs-result-card.is-cancelled .tcs-result-card-actions{display:none!important}


/* 0.6.3 Scene Studio */
.tcs-scene-section{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:12px;
  border:1px solid #dce7f8;
  border-radius:14px;
  background:linear-gradient(135deg,#f8fbff,#f2f6ff);
}
.tcs-scene-section-title{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:1px;
}
.tcs-scene-section-title span{
  color:#204c87;
  font-size:13px;
  font-weight:850;
}
.tcs-scene-section-title small{
  color:#6f84a1;
  font-size:10px;
  font-weight:700;
}
.tcs-scene-section .tcs-custom-background-wrap{
  grid-column:1/-1;
}
.tcs-scene-section [hidden]{display:none!important}
@media(max-width:700px){
  .tcs-scene-section{grid-template-columns:1fr}
  .tcs-scene-section .tcs-custom-background-wrap{grid-column:auto}
}


/* 0.6.4 realism-first modes */
.tcs-generation-mode{
  margin:10px 0 12px;
  padding:12px;
  border:1px solid #dce7f6;
  border-radius:14px;
  background:#f8fbff;
}
.tcs-generation-mode label{
  display:block;
  color:#294868;
  font-weight:800;
  font-size:12px;
}
.tcs-generation-mode select{
  width:100%;
  margin-top:6px;
}
.tcs-mode-note{
  margin-top:8px;
  padding:9px 10px;
  border-radius:10px;
  background:#fff;
  color:#667a91;
  font-size:11px;
  line-height:1.55;
}
.tcs-scene-section[hidden]{display:none!important}


/* 0.6.5 provider guard */
.tcs-result-card-status.is-retrying{
  letter-spacing:.01em;
}


/* 0.6.6 face fidelity */
.tcs-person-restore-note{line-height:1.55}


/* 0.6.7 refresh recovery */
.tcs-result-card-status{white-space:normal}


/* 0.6.13 per-task stop control */
.tcs-stop-job{
  flex:0 0 auto;
  min-height:34px;
  padding:6px 10px;
  border:1px solid #e3b2b2;
  border-radius:9px;
  background:#fff;
  color:#a02d2d;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.tcs-stop-job:hover{background:#fff5f5;border-color:#d98f8f}
.tcs-stop-job:disabled{opacity:.55;cursor:wait}
@media(max-width:560px){
  .tcs-stop-job{min-height:32px;padding:5px 9px;font-size:11px}
}


/* 0.6.14 — result cards use a single vertical column */
.tcs-tryon-app .tcs-result-list{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:14px !important;
}
.tcs-tryon-app .tcs-result-card{
  width:100% !important;
  max-width:none !important;
}


/* 0.6.15 failed-task manual retry */
.tcs-result-card-head-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.tcs-retry-job{
  flex:0 0 auto;
  min-height:34px;
  padding:6px 10px;
  border:1px solid #b8c7e8;
  border-radius:9px;
  background:#fff;
  color:#3158a6;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.tcs-retry-job:hover{background:#f5f8ff;border-color:#9fb5e5}
.tcs-retry-job:disabled{opacity:.55;cursor:wait}
@media(max-width:560px){
  .tcs-result-card-head-actions{justify-content:flex-end;gap:6px}
  .tcs-retry-job{min-height:32px;padding:5px 9px;font-size:11px}
}


/* 0.6.17 quality selector */
.tcs-hd-tryon{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  margin-top:12px;
  padding:11px 12px;
  border:1px solid #d7e2f1;
  border-radius:12px;
  background:#f8fbff;
  cursor:pointer;
}
.tcs-hd-tryon input{
  width:18px;
  height:18px;
  margin:2px 0 0;
  flex:0 0 auto;
}
.tcs-hd-tryon span{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.tcs-hd-tryon strong{
  color:#1d416d;
  font-size:13px;
}
.tcs-hd-tryon small{
  color:#6f8198;
  font-size:11px;
  line-height:1.55;
}
@media(max-width:560px){
  .tcs-hd-tryon{padding:10px}
}


/* 0.6.18 clear speed expectations for slower generation modes */
.tcs-speed-note{
  margin-top:9px;
  padding:9px 11px;
  border:1px solid #dce6f3;
  border-radius:10px;
  background:#f8fbff;
  color:#5f748e;
  font-size:11px;
  line-height:1.55;
}
.tcs-speed-note.is-warning{
  border-color:#efd79f;
  background:#fffaf0;
  color:#805d19;
}
.tcs-speed-note.is-strong{
  border-color:#ebc2a3;
  background:#fff7ef;
  color:#8a4c1e;
  font-weight:700;
}


/* 0.6.19 customer speed/quality profiles */
.tcs-quality-profile{
  display:grid;
  gap:8px;
  margin-top:12px;
}
.tcs-quality-profile-title{
  color:#25476f;
  font-size:12px;
  font-weight:800;
}
.tcs-quality-choice{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  padding:10px 12px;
  border:1px solid #d9e3f0;
  border-radius:11px;
  background:#fff;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease;
}
.tcs-quality-choice:has(input:checked){
  border-color:#9ebcf0;
  background:#f4f8ff;
}
.tcs-quality-choice input{
  width:17px;
  height:17px;
  margin:2px 0 0;
  flex:0 0 auto;
}
.tcs-quality-choice span{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.tcs-quality-choice strong{
  color:#1d416d;
  font-size:13px;
}
.tcs-quality-choice small{
  color:#6f8198;
  font-size:11px;
  line-height:1.5;
}
.tcs-speed-note.is-fast{
  border-color:#b9e1cd;
  background:#f2fbf6;
  color:#26684a;
  font-weight:700;
}
@media(max-width:560px){
  .tcs-quality-choice{padding:9px 10px}
}
