/* TungstenCloud v8.2.1 - focused refresh for plugin pages */
html[theme="tungstencloud"] .tc-page-refresh-root{min-width:0!important}

/* Ticket system: remove the obsolete blank placeholder and tighten the workspace. */

html[theme="tungstencloud"][data-tc-page="ticket"][data-tc-plugin="true"] .el-main>.tc-page-refresh-root{
  padding:0!important;border:1px solid #dde5ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.025),0 10px 28px rgba(15,23,42,.05)!important;overflow:hidden!important
}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root>.tc-ticket-title-row{min-height:64px!important;display:flex!important;align-items:center!important;margin:0!important;padding:0 22px!important;border-bottom:1px solid #edf2f7!important;background:#fff!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-toolbar,
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-action-row{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;max-width:100%!important;margin:0!important;padding:16px 20px!important;border-bottom:1px solid #edf2f7!important;background:#fbfcfe!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-toolbar .el-input,
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-toolbar .el-select{max-width:320px!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .el-table{border-radius:0!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .el-table th.el-table__cell{height:44px!important;background:#f8fafc!important;color:#64748b!important;font-weight:650!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .el-table td.el-table__cell{height:46px!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .el-table .cell{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important}

/* Referral / recommendation page: modern dashboard hierarchy without changing plugin behavior. */
html[theme="tungstencloud"][data-tc-page="recommend"][data-tc-plugin="true"] .el-main>.tc-page-refresh-root{
  padding:0!important;border:1px solid #dde5ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.025),0 10px 28px rgba(15,23,42,.05)!important;overflow:hidden!important
}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-title-row{min-height:64px!important;display:flex!important;align-items:center!important;margin:0!important;padding:0 22px!important;border-bottom:1px solid #edf2f7!important;background:linear-gradient(135deg,#fff 0%,#f8fbff 100%)!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs{margin:0!important;padding:0 20px!important;border-bottom:1px solid #edf2f7!important;background:#fff!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs .el-tabs__header{margin:0!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs .el-tabs__nav-wrap::after{display:none!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs .el-tabs__item{height:48px!important;line-height:48px!important;font-size:14px!important;font-weight:650!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:20px!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card{
  min-width:0!important;min-height:128px!important;margin:0!important;padding:18px 18px 14px!important;border:1px solid #e4ebf4!important;border-radius:14px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.02)!important;overflow:hidden!important
}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card::before{content:"";display:block;width:28px;height:3px;margin-bottom:13px;border-radius:999px;background:#1769e0}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card:nth-child(2)::before{background:#10b981}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card:nth-child(3)::before{background:#8b5cf6}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card:nth-child(4)::before{background:#0ea5e9}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card canvas,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card svg{opacity:.5!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section{margin:0 20px 18px!important;padding:18px 20px!important;border:1px solid #e5ecf4!important;border-radius:14px!important;background:#fff!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section-title{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 15px!important;padding:0!important;color:#172033!important;font-size:15px!important;font-weight:750!important;line-height:1.4!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section-title::before{content:"";width:3px;height:16px;border-radius:999px;background:#1769e0}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-link-card .el-input,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-link-card input{max-width:620px!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-link-card .el-input__inner{height:42px!important;background:#f8fafc!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-link-card button,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-link-card .el-button{min-height:40px!important;border-radius:10px!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-product-card{overflow:hidden!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-product-card table,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-product-card .el-table{margin:0!important;border:1px solid #e7edf5!important;border-radius:11px!important;overflow:hidden!important}


/* Product transfer: remove the redundant outermost white shell while preserving inner cards. */
html[theme="tungstencloud"][data-tc-page="product-transfer"] .el-main>.tc-product-transfer-root,
html[theme="tungstencloud"][data-tc-page="product-transfer"][data-tc-plugin="true"] .el-main>div:not(.el-loading-mask):not(.tc-iframe-page),
html[theme="tungstencloud"][data-tc-page="product-transfer"][data-tc-plugin="true"] .el-main>section:not(.el-loading-mask){
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important
}

/* Lucky draw / wheel page: keep the page below the fixed header and normalize the drawing canvas. */
html[theme="tungstencloud"][data-tc-page="lottery"][data-tc-plugin="true"] .el-main>.tc-page-refresh-root{
  margin-top:12px!important;padding:20px!important;border:1px solid #dde5ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.025),0 10px 28px rgba(15,23,42,.05)!important;overflow:visible!important;transform:none!important;top:auto!important
}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage,
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-side-card{border:1px solid #e5ecf4!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage{min-height:360px!important;overflow:visible!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage canvas,
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage svg{max-width:min(480px,92%)!important;max-height:430px!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-side-card{overflow:hidden!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-side-card h1,
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-side-card h2,
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-side-card h3{color:#172033!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-wheel-media{display:block!important;margin-left:auto!important;margin-right:auto!important}

@media(max-width:1100px){
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  html[theme="tungstencloud"][data-tc-page="ticket"][data-tc-plugin="true"] .el-main>.tc-page-refresh-root,
  html[theme="tungstencloud"][data-tc-page="recommend"][data-tc-plugin="true"] .el-main>.tc-page-refresh-root,
  html[theme="tungstencloud"][data-tc-page="lottery"][data-tc-plugin="true"] .el-main>.tc-page-refresh-root{border-radius:14px!important;box-shadow:none!important}
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-grid{grid-template-columns:1fr!important;gap:10px!important;margin:14px!important}
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section{margin:0 14px 14px!important;padding:15px!important}
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-toolbar,
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-action-row{padding:14px!important;flex-wrap:wrap!important;overflow-x:visible!important}
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-toolbar .el-input,
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-toolbar .el-select{width:100%!important;max-width:none!important}
  html[theme="tungstencloud"][data-tc-page="lottery"][data-tc-plugin="true"] .el-main>.tc-page-refresh-root{margin-top:6px!important;padding:14px!important}
  html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage{min-height:310px!important}
}
/* TungstenCloud Aurora v8.3.0 - suite-wide visual polish
 * Goals: one spacing system, one card language, compact empty states,
 * consistent controls/tables, and focused fixes for plugin pages.
 */
:root[theme="tungstencloud"]{
  --tc-suite-max:1400px;
  --tc-suite-card:#fff;
  --tc-suite-soft:#f8fafc;
  --tc-suite-soft-blue:#f6f9fe;
  --tc-suite-line:#e2e8f0;
  --tc-suite-line-soft:#edf2f7;
  --tc-suite-text:#172033;
  --tc-suite-muted:#66758c;
  --tc-suite-faint:#94a3b8;
  --tc-suite-primary:#1769e0;
  --tc-suite-radius:15px;
  --tc-suite-control-radius:9px;
  --tc-suite-shadow:0 1px 2px rgba(15,23,42,.025),0 8px 24px rgba(15,23,42,.045);
}

/* Shell / page frame */
html[theme="tungstencloud"] .el-main{overflow-x:hidden!important}
html[theme="tungstencloud"] .el-main>.main-card,
html[theme="tungstencloud"] .el-main>.tc-page-refresh-root,
html[theme="tungstencloud"] .el-main>.tc-ui-page-root,
html[theme="tungstencloud"] .tc-product-list-card,
html[theme="tungstencloud"] .order-detail{
  width:min(100%,var(--tc-suite-max))!important;
  max-width:var(--tc-suite-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
html[theme="tungstencloud"] .el-main>.main-card:not(.tc-iframe-page):not(.tc-blog-iframe-page):not(.tc-product-transfer-root){
  border:1px solid var(--tc-suite-line)!important;
  border-radius:var(--tc-suite-radius)!important;
  background:var(--tc-suite-card)!important;
  box-shadow:var(--tc-suite-shadow)!important;
  overflow:hidden;
}
html[theme="tungstencloud"] .main-card-title{
  min-height:62px!important;
  display:flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0 20px!important;
  border-bottom:1px solid var(--tc-suite-line-soft)!important;
  color:var(--tc-suite-text)!important;
  font-size:19px!important;
  font-weight:750!important;
  line-height:1.35!important;
}
html[theme="tungstencloud"] .main-card-title .title-text{font:inherit!important;color:inherit!important}

/* Element UI controls */
html[theme="tungstencloud"] .el-main .el-input__inner,
html[theme="tungstencloud"] .el-main .el-textarea__inner{
  border-color:#d8e2ee!important;
  border-radius:var(--tc-suite-control-radius)!important;
  color:#334155!important;
  background:#fff!important;
  box-shadow:none!important;
}
html[theme="tungstencloud"] .el-main .el-input__inner{height:40px!important}
html[theme="tungstencloud"] .el-main .el-input__inner:focus,
html[theme="tungstencloud"] .el-main .el-textarea__inner:focus{border-color:#8db6ee!important;box-shadow:0 0 0 3px rgba(23,105,224,.08)!important}
html[theme="tungstencloud"] .el-main .el-input.is-disabled .el-input__inner{color:#94a3b8!important;background:#f8fafc!important}
html[theme="tungstencloud"] .el-main .el-button{
  min-height:38px;
  border-radius:var(--tc-suite-control-radius)!important;
  font-weight:600;
  box-shadow:none!important;
}
html[theme="tungstencloud"] .el-main .el-button--primary{border-color:var(--tc-suite-primary)!important;background:var(--tc-suite-primary)!important}
html[theme="tungstencloud"] .el-main .el-button--primary:hover{border-color:#145dc7!important;background:#145dc7!important}
html[theme="tungstencloud"] .el-main .el-switch__core{box-shadow:none!important}

/* Tabs */
html[theme="tungstencloud"] .el-main .el-tabs__header{margin-bottom:18px!important}
html[theme="tungstencloud"] .el-main .el-tabs__nav-wrap::after{height:1px!important;background:var(--tc-suite-line-soft)!important}
html[theme="tungstencloud"] .el-main .el-tabs__item{height:44px!important;line-height:44px!important;color:#65758b!important;font-size:13px!important;font-weight:650!important}
html[theme="tungstencloud"] .el-main .el-tabs__item.is-active{color:var(--tc-suite-primary)!important}
html[theme="tungstencloud"] .el-main .el-tabs__active-bar{height:3px!important;border-radius:3px 3px 0 0!important;background:var(--tc-suite-primary)!important}

/* Tables: remove double borders and align all row actions. */
html[theme="tungstencloud"] .el-main .tabledata{border:0!important;border-radius:12px!important;background:transparent!important;overflow:hidden}
html[theme="tungstencloud"] .el-main .el-table{
  border:1px solid var(--tc-suite-line)!important;
  border-radius:12px!important;
  color:#475569!important;
  background:#fff!important;
  overflow:hidden!important;
}
html[theme="tungstencloud"] .el-main .el-table::before,
html[theme="tungstencloud"] .el-main .el-table::after,
html[theme="tungstencloud"] .el-main .el-table__fixed::before,
html[theme="tungstencloud"] .el-main .el-table__fixed-right::before{display:none!important}
html[theme="tungstencloud"] .el-main .el-table th.el-table__cell{height:44px!important;padding:8px 0!important;border-bottom:1px solid var(--tc-suite-line)!important;color:#64748b!important;background:#f8fafc!important;font-size:12px!important;font-weight:700!important}
html[theme="tungstencloud"] .el-main .el-table td.el-table__cell{height:48px!important;padding:7px 0!important;border-bottom:1px solid var(--tc-suite-line-soft)!important;background:#fff!important;font-size:12px!important}
html[theme="tungstencloud"] .el-main .el-table .cell{padding-left:12px!important;padding-right:12px!important;line-height:1.45!important}
html[theme="tungstencloud"] .el-main .el-table__empty-block{min-height:128px!important}
html[theme="tungstencloud"] .el-main .el-table__empty-text{color:#94a3b8!important;font-size:12px!important}
html[theme="tungstencloud"] .el-main .more-operation{width:30px!important;height:30px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border-radius:8px!important}
html[theme="tungstencloud"] .el-main .more-operation:hover{background:#eef5ff!important}

/* Pagination: keep every control on the same 32px baseline, independent of page-level input styles. */
html[theme="tungstencloud"] .el-pagination,
html[theme="tungstencloud"] .myPage{align-items:center!important}
html[theme="tungstencloud"] .el-pagination{box-sizing:border-box!important;min-height:36px!important;padding:2px 0!important;line-height:normal!important}
html[theme="tungstencloud"] .el-pagination button,
html[theme="tungstencloud"] .el-pager li{width:auto!important;min-width:32px!important;height:32px!important;padding:0 8px!important;box-sizing:border-box!important;line-height:32px!important;border-radius:8px!important}
html[theme="tungstencloud"] .el-pager{height:32px!important;display:inline-flex!important;align-items:center!important;padding:0!important}
html[theme="tungstencloud"] .el-pager li.active{color:#fff!important;background:var(--tc-suite-primary)!important}
html[theme="tungstencloud"] .el-pagination :is(.el-pagination__sizes,.el-pagination__jump){height:32px!important;display:inline-flex!important;align-items:center!important;line-height:32px!important}
html[theme="tungstencloud"] .el-pagination .el-select .el-input{width:96px!important;height:32px!important;margin:0!important}
html[theme="tungstencloud"] .el-pagination .el-select .el-input__inner,
html[theme="tungstencloud"] .el-pagination .el-pagination__editor.el-input,
html[theme="tungstencloud"] .el-pagination .el-pagination__editor.el-input .el-input__inner{height:32px!important;min-height:32px!important;line-height:30px!important;box-sizing:border-box!important}
html[theme="tungstencloud"] .el-pagination .el-pagination__editor.el-input{width:48px!important;margin:0 4px!important;padding:0!important}
html[theme="tungstencloud"] .el-pagination .el-input__suffix{height:32px!important;display:flex!important;align-items:center!important}
html[theme="tungstencloud"] .el-pagination span:not([class*=suffix]){vertical-align:middle!important}
html[theme="tungstencloud"] .custom-pagination{align-items:center!important;padding:14px 2px 0!important}

/* Dialogs and popovers */
html[theme="tungstencloud"] .el-dialog{border-radius:14px!important;overflow:hidden!important;box-shadow:0 22px 60px rgba(15,23,42,.20)!important}
html[theme="tungstencloud"] .el-dialog__header{padding:18px 20px 12px!important}
html[theme="tungstencloud"] .el-dialog__body{padding:18px 20px 22px!important}
html[theme="tungstencloud"] .el-popover{border-color:var(--tc-suite-line)!important;border-radius:10px!important;box-shadow:0 10px 28px rgba(15,23,42,.12)!important}

/* Empty blocks across list pages should be compact instead of filling the viewport. */
html[theme="tungstencloud"] .el-main .el-empty{padding:28px 0!important}
html[theme="tungstencloud"] .el-main .el-empty__image{width:72px!important}
html[theme="tungstencloud"] .el-main .el-empty__description{margin-top:10px!important}
html[theme="tungstencloud"] .tc-ui-compact-empty{min-height:132px!important;height:auto!important;padding:28px 16px!important}

/* Account */
html[theme="tungstencloud"][data-tc-page="account"] #account .main-card{max-width:var(--tc-suite-max)!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .content-box{padding:0 20px 22px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .content-box>.el-tabs>.el-tabs__header{margin:0 -20px 18px!important;padding:0 20px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-overview{min-height:72px!important;margin-bottom:14px!important;padding:11px 14px!important;border-color:#dfe7f1!important;border-radius:12px!important;background:#f8fafc!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-avatar{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:11px!important;font-size:17px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-name{font-size:16px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-cert{min-height:38px!important;padding:7px 10px!important;border-radius:9px!important;font-size:12px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-cert img{width:22px!important;height:22px!important;flex-basis:22px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-section{margin-top:14px!important;padding:17px 18px 18px!important;border-color:#e3eaf3!important;border-radius:12px!important;box-shadow:none!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-section-head{margin-bottom:14px!important;padding-bottom:12px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-section-head h3{font-size:15px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-section-head p{margin-top:3px!important;color:#8a98aa!important;font-size:11px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-grid{gap:14px 16px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-field>label{margin-bottom:7px!important;color:#52617a!important;font-size:12px!important;font-weight:650!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-actions{padding-top:16px!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .btn-save{min-width:88px!important;height:38px!important;margin:0!important;border-radius:9px!important}

/* Security */
html[theme="tungstencloud"][data-tc-page="security"] .el-main>.main-card{padding:0!important}
html[theme="tungstencloud"][data-tc-page="security"] .el-main>.main-card>.el-tabs{padding:0 20px 20px!important}
html[theme="tungstencloud"][data-tc-page="security"] .el-main>.main-card>.el-tabs>.el-tabs__header{margin:0 -20px 14px!important;padding:0 20px!important}
html[theme="tungstencloud"][data-tc-page="security"] .el-main .el-tabs__content{min-height:0!important;overflow:visible!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table{margin:0!important;padding:0!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table .content_searchbar{align-items:center!important;margin:0 0 12px!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table .left-btn{width:auto!important;min-width:86px!important;height:38px!important;padding:0 14px!important;border-radius:9px!important;font-size:12px!important;line-height:38px!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table .tabledata{margin-top:0!important}

/* Finance */
html[theme="tungstencloud"][data-tc-page="finance"] .finance.main-card{padding:0!important;overflow:hidden!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .top{height:auto!important;min-height:76px!important;align-items:center!important;gap:18px!important;padding:14px 20px!important;border-bottom:1px solid var(--tc-suite-line-soft)!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .top-l{font-size:19px!important;font-weight:750!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .top-r{align-items:center!important;gap:10px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .item-balance{margin:0!important;padding:0!important;align-items:flex-end!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .money{align-items:center!important;gap:6px!important;font-size:24px!important;line-height:1.2!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .money-num>.text{margin-top:3px!important;font-size:10px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .btn-cz,
html[theme="tungstencloud"][data-tc-page="finance"] .finance .btn-tx{height:32px!important;margin-left:5px!important;padding:0 11px!important;border-radius:8px!important;font-size:11px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .item-unbalance{min-width:130px!important;padding:10px 14px!important;border-left:1px solid var(--tc-suite-line-soft)!important;align-items:flex-end!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .content_box{padding:0 18px 18px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .content_tab>.el-tabs>.el-tabs__header{margin:0 -18px 10px!important;padding:0 18px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .el-tabs__content{min-height:0!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .content_searchbar{align-items:center!important;gap:12px!important;margin:10px 0 12px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .left_tips{gap:4px!important;flex-wrap:wrap!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .tips_item{margin-right:12px!important;font-size:11px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .searchbar .el-input{margin-left:0!important}

/* Product list/detail */
html[theme="tungstencloud"][data-tc-page="product"] .tc-product-list-page .tc-product-list-card{box-shadow:var(--tc-suite-shadow)!important}
html[theme="tungstencloud"][data-tc-page="product"] .tc-product-list-page .main-card-search{gap:10px!important;padding:12px 0!important}
html[theme="tungstencloud"][data-tc-page="product"] .tc-product-list-page .tc-product-table-wrap{border:1px solid var(--tc-suite-line)!important;border-radius:12px!important}
html[theme="tungstencloud"][data-tc-page="product"] .tc-product-list-page .tc-product-table{border:0!important;border-radius:0!important}
html[theme="tungstencloud"][data-tc-page="product"] .product_detail .main-card,
html[theme="tungstencloud"][data-tc-page="product"] .order-detail{border-color:var(--tc-suite-line)!important;border-radius:var(--tc-suite-radius)!important;box-shadow:var(--tc-suite-shadow)!important}

/* Direct help-center route: preserve the plug-in's own geometry instead of applying
 * the generic resource-center reshaping used by source.htm. */
html[theme="tungstencloud"][data-tc-page="help-center"] .el-main{overflow-x:hidden!important}
html[theme="tungstencloud"][data-tc-page="help-center"] .el-main>*{min-width:0!important;max-width:100%!important}
html[theme="tungstencloud"][data-tc-page="help-center"] .template[data-tc-mounted="true"]{display:block!important}

/* Built-in and plugin list pages: source / child accounts / tickets */
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root,
html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-root,
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root{
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root{
  width:min(100%,var(--tc-suite-max))!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:14px 18px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  border:1px solid var(--tc-suite-line)!important;
  border-radius:var(--tc-suite-radius)!important;
  background:#fff!important;
  box-shadow:var(--tc-suite-shadow)!important;
  overflow:hidden!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root *{box-sizing:border-box!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root>*{max-width:100%!important;min-width:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-title{
  min-height:32px!important;
  margin:0!important;
  padding:0 0 10px!important;
  display:flex!important;
  align-items:center!important;
  border-bottom:1px solid var(--tc-suite-line-soft)!important;
  font-size:18px!important;
  font-weight:750!important;
  line-height:1.35!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-region,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-shell,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-flow,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs-region,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs-body,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-content,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-category-shell,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-main{
  position:static!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  transform:none!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-region{margin:0!important;padding:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-flow{
  margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs-region{width:100%!important;margin:0!important;padding:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-shell{
  position:relative!important;
  width:min(360px,100%)!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  overflow:visible!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search .el-input,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search.el-input{position:relative!important;width:100%!important;max-width:100%!important;margin:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search input,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search .el-input__inner{height:38px!important;line-height:38px!important;padding-right:40px!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search .el-input__suffix.tc-resource-search-icon{
  position:absolute!important;inset:0 8px 0 auto!important;width:28px!important;height:100%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;transform:none!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search .tc-resource-search-icon:not(.el-input__suffix){
  position:static!important;inset:auto!important;margin:0!important;transform:none!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-shell>.tc-resource-search-icon-orphan{
  position:absolute!important;z-index:3!important;top:50%!important;right:10px!important;bottom:auto!important;left:auto!important;
  width:24px!important;height:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;transform:translateY(-50%)!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-icon-orphan .tc-resource-search-icon-orphan{
  position:static!important;inset:auto!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs{width:100%!important;margin:0!important;padding:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs>.el-tabs__header,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs-head{margin:0 0 10px!important;padding:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs .el-tabs__nav-wrap::after{height:1px!important;background:var(--tc-suite-line-soft)!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs .el-tabs__item{height:38px!important;line-height:38px!important;padding:0 13px!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs .el-tabs__content,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs .el-tab-pane{overflow:visible!important;height:auto!important;min-height:0!important;max-height:none!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-content{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(220px,260px) minmax(0,1fr)!important;
  align-items:start!important;
  gap:14px!important;
  margin:0!important;
  padding:14px!important;
  border:1px solid var(--tc-suite-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:visible!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-category-shell{width:100%!important;margin:0!important;padding:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-category{
  width:100%!important;
  max-width:none!important;
  min-height:160px!important;
  margin:0!important;
  padding:16px!important;
  border:1px solid var(--tc-suite-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-category>*:first-child{margin-top:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-main{
  width:100%!important;
  min-height:160px!important;
  margin:0!important;
  padding:14px 16px!important;
  display:block!important;
  align-self:stretch!important;
  overflow:visible!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-main.tc-ui-compact-empty{
  display:block!important;
  min-height:160px!important;
  padding:14px 16px!important;
  text-align:left!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-main .tc-ui-compact-empty{
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:8px 0!important;
  display:block!important;
  text-align:left!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-empty{
  min-height:0!important;
  height:auto!important;
  margin:8px 0 0!important;
  padding:0!important;
  display:block!important;
  color:#94a3b8!important;
  text-align:left!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-ui-compact-empty{color:#94a3b8!important}

html[theme="tungstencloud"][data-tc-page="source"],
html[theme="tungstencloud"][data-tc-page="source"] body{max-width:100%!important;overflow-x:hidden!important}
html[theme="tungstencloud"][data-tc-page="source"] .el-main{overflow-x:hidden!important;padding-top:calc(var(--tc-topbar-height) + 14px)!important;padding-bottom:14px!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root>*{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin-top:0!important;
  margin-bottom:0!important;
  transform:none!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-spacer{display:none!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root .tc-overflow-fix{
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin-left:0!important;margin-right:0!important;left:auto!important;right:auto!important;transform:none!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs .el-tabs__content,
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs .el-tab-pane{margin:0!important;padding:0!important}

/* Resource help center: compact, complete single-page desktop layout. */
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-nav{
  width:100%!important;min-height:34px!important;height:auto!important;
  display:flex!important;align-items:center!important;gap:20px!important;flex-wrap:wrap!important;
  margin:0 0 10px!important;padding:0!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-nav>*{margin:0!important;min-width:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-grid{
  width:100%!important;max-width:100%!important;min-width:0!important;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px 14px!important;margin:0!important;padding:0!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  align-items:stretch!important;overflow:visible!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-grid>*{min-width:0!important;max-width:100%!important;margin:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-card{
  width:auto!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:154px!important;max-height:none!important;
  margin:0!important;padding:14px 16px!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  border:1px solid var(--tc-suite-line)!important;border-radius:10px!important;
  background:#fff!important;box-shadow:none!important;overflow:hidden!important;
}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-card>*{max-width:100%!important;min-width:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-card :is(ul,ol){margin-bottom:0!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-card :is(a,button,.el-button){max-width:100%!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-card .tc-resource-help-more{
  position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  z-index:auto!important;float:none!important;clear:both!important;transform:none!important;
  flex:0 0 auto!important;align-self:flex-start!important;margin:10px 0 0!important;
}

@media(max-width:1180px){
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-grid{grid-template-columns:1fr!important;gap:12px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-card{min-height:0!important;padding:16px 18px!important;overflow:visible!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-card .tc-resource-help-more{margin-top:10px!important}
}
@media(min-width:901px) and (max-height:900px){
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root{padding:12px 16px 14px!important;gap:8px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-title{min-height:30px!important;padding-bottom:8px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search input,
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search .el-input__inner{height:34px!important;line-height:34px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs .el-tabs__item{height:36px!important;line-height:36px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-card{min-height:138px!important;padding:12px 14px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-help-grid{gap:10px 12px!important}
}

html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-root{
  width:min(100%,var(--tc-suite-max))!important;
  margin:0 auto!important;
  padding:18px 20px 20px!important;
  border:1px solid var(--tc-suite-line)!important;
  border-radius:var(--tc-suite-radius)!important;
  background:#fff!important;
  box-shadow:var(--tc-suite-shadow)!important;
  overflow:hidden!important;
}
html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-title{margin:0 0 16px!important;font-size:20px!important;font-weight:750!important}
html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-toolbar{margin:0 0 14px!important}
html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-root table,
html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-root .el-table{width:100%!important}

html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root{max-width:var(--tc-suite-max)!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-ticket-toolbar{gap:10px!important;padding:14px 18px!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .el-table__empty-block{min-height:110px!important}

/* Referral plugin: force the old fixed-width/vertical title layout back into normal document flow. */
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root{
  width:min(100%,var(--tc-suite-max))!important;
  max-width:var(--tc-suite-max)!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0!important;
  border:1px solid var(--tc-suite-line)!important;
  border-radius:var(--tc-suite-radius)!important;
  background:#fff!important;
  box-shadow:var(--tc-suite-shadow)!important;
  overflow:hidden!important;
}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root *,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root *::before,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root *::after{box-sizing:border-box}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root>.tc-overflow-fix,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-overflow-fix{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;left:auto!important;right:auto!important;transform:none!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-title-row{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:60px!important;
  display:flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0 20px!important;
  border:0!important;
  border-bottom:1px solid var(--tc-suite-line-soft)!important;
  border-radius:0!important;
  color:var(--tc-suite-text)!important;
  background:#fff!important;
  box-shadow:none!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  transform:none!important;
  font-size:18px!important;
  font-weight:750!important;
  line-height:1.3!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-title-row *{writing-mode:horizontal-tb!important;text-orientation:mixed!important;transform:none!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs{width:100%!important;max-width:100%!important;padding:0 18px!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs .el-tabs__content{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-grid{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:18px!important;
}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card{width:auto!important;min-width:0!important;min-height:116px!important;padding:16px!important;border-color:var(--tc-suite-line)!important;border-radius:12px!important;box-shadow:none!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section{width:auto!important;max-width:none!important;min-width:0!important;margin:0 18px 16px!important;padding:16px 18px!important;border-color:var(--tc-suite-line)!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section-title{font-size:14px!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-product-card table,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-product-card .el-table{width:100%!important;max-width:100%!important}

/* Lottery plugin: neutralize negative positioning / viewport-sized shells. */
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-page-refresh-root{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:min(100%,var(--tc-suite-max))!important;
  max-width:var(--tc-suite-max)!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0 auto!important;
  padding:18px!important;
  border:1px solid var(--tc-suite-line)!important;
  border-radius:var(--tc-suite-radius)!important;
  background:#fff!important;
  box-shadow:var(--tc-suite-shadow)!important;
  overflow:hidden!important;
}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-page-refresh-root>.tc-overflow-fix,
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-overflow-fix{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;left:auto!important;right:auto!important;transform:none!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-heading{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  margin:0 0 14px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid var(--tc-suite-line-soft)!important;
  transform:none!important;
  overflow:visible!important;
}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-heading h1,
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-heading h2,
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-heading h3{margin:0!important;color:var(--tc-suite-text)!important;line-height:1.35!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage{min-height:330px!important;height:auto!important;padding:12px!important;border-color:var(--tc-suite-line)!important;border-radius:12px!important;box-shadow:none!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-side-card{border-color:var(--tc-suite-line)!important;border-radius:12px!important;box-shadow:none!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-wheel-media{max-width:min(460px,90%)!important;max-height:420px!important}

/* Product transfer plugin: remove only the redundant page shell, keep inner cards. */
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-product-transfer-root,
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-transfer-outer-shell{
  width:min(100%,var(--tc-suite-max))!important;
  max-width:var(--tc-suite-max)!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-product-transfer-root>.tc-overflow-fix{width:100%!important;max-width:100%!important;min-width:0!important}

/* Iframe pages: no nested card around an already styled embedded page. */
html[theme="tungstencloud"] .tc-iframe-page,
html[theme="tungstencloud"] .tc-blog-iframe-page{width:min(100%,var(--tc-suite-max))!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
html[theme="tungstencloud"] .tc-iframe-page iframe,
html[theme="tungstencloud"] .tc-blog-iframe-page iframe{display:block;width:100%!important;min-height:220px!important;border:0!important;border-radius:12px!important;background:#fff!important}
html[theme="tungstencloud"] .tc-iframe-page iframe.tc-iframe-cross-origin,
html[theme="tungstencloud"] .tc-blog-iframe-page iframe.tc-iframe-cross-origin{min-height:calc(100vh - var(--tc-topbar-height) - 44px)!important}

@media(max-width:1180px){
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[theme="tungstencloud"][data-tc-page="finance"] .finance .top{align-items:flex-start!important;flex-direction:column!important}
  html[theme="tungstencloud"][data-tc-page="finance"] .finance .top-r{width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important}
  html[theme="tungstencloud"][data-tc-page="finance"] .finance .item-unbalance{border-left:0!important}
}
@media(max-width:760px){
  html[theme="tungstencloud"] .el-main>.main-card:not(.tc-iframe-page):not(.tc-blog-iframe-page):not(.tc-product-transfer-root),
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root,
  html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-root,
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root,
  html[theme="tungstencloud"][data-tc-page="lottery"] .tc-page-refresh-root{border-radius:12px!important;box-shadow:none!important}
  html[theme="tungstencloud"] .main-card-title{min-height:54px!important;padding:0 15px!important;font-size:17px!important}
  html[theme="tungstencloud"] .el-main .el-tabs__item{padding:0 12px!important}
  html[theme="tungstencloud"][data-tc-page="account"] #account .content-box{padding:0 14px 16px!important}
  html[theme="tungstencloud"][data-tc-page="account"] #account .content-box>.el-tabs>.el-tabs__header{margin-left:-14px!important;margin-right:-14px!important;padding-left:14px!important;padding-right:14px!important}
  html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-overview{align-items:flex-start!important;flex-direction:column!important}
  html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-cert{max-width:100%!important}
  html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-section{padding:15px!important}
  html[theme="tungstencloud"][data-tc-page="security"] .el-main>.main-card>.el-tabs{padding:0 14px 16px!important}
  html[theme="tungstencloud"][data-tc-page="security"] .el-main>.main-card>.el-tabs>.el-tabs__header{margin-left:-14px!important;margin-right:-14px!important;padding-left:14px!important;padding-right:14px!important}
  html[theme="tungstencloud"][data-tc-page="finance"] .finance .top{padding:14px!important}
  html[theme="tungstencloud"][data-tc-page="finance"] .finance .content_box{padding:0 12px 14px!important}
  html[theme="tungstencloud"][data-tc-page="finance"] .finance .content_searchbar{align-items:stretch!important;flex-direction:column!important}
  html[theme="tungstencloud"][data-tc-page="finance"] .finance .searchbar,.finance .searchbar .el-input{width:100%!important}
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-grid{grid-template-columns:1fr!important;margin:14px!important}
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section{margin:0 14px 14px!important;padding:14px!important}
  html[theme="tungstencloud"][data-tc-page="lottery"] .tc-page-refresh-root{padding:14px!important}
  html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage{min-height:280px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root,
  html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-root{padding:15px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-search-shell{width:100%!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-tabs .el-tabs__item{padding:0 10px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-content{grid-template-columns:1fr!important;gap:12px!important;padding:12px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-category{min-height:0!important;padding:15px!important}
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-main,
  html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-main.tc-ui-compact-empty{min-height:120px!important;padding:14px!important}
}

/* v8.3.0 lottery flow-position repair */
.tc-lottery-flow-fix {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  transform: none !important;
}

/* v8.3.0 final interaction alignment and plugin shell cleanup */
html[theme="tungstencloud"] .el-main .el-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  line-height:1.2!important;
  vertical-align:middle!important;
}
html[theme="tungstencloud"] .el-main .el-button>span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  line-height:1.2!important;
}
html[theme="tungstencloud"] .el-main .el-button i{line-height:1!important;vertical-align:middle!important}
html[theme="tungstencloud"] .el-main>.main-card:not(.tc-iframe-page):not(.tc-blog-iframe-page){height:auto!important;min-height:0!important}
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-iframe-page iframe{
  border-radius:0!important;
  background:transparent!important;
}

/* ===== TungstenCloud Aurora v8.3.1: stability, alignment and density pass ===== */
:root[theme="tungstencloud"]{
  --tc-suite-max:1400px;
  --tc-suite-page-gap:16px;
  --tc-suite-card:#fff;
  --tc-suite-soft:#f8fafc;
  --tc-suite-line:#e2e8f0;
  --tc-suite-line-soft:#edf2f7;
  --tc-suite-text:#172033;
  --tc-suite-muted:#66758c;
  --tc-suite-primary:#1769e0;
}

html[theme="tungstencloud"] .el-main{min-width:0!important}
html[theme="tungstencloud"] .el-main>.main-card,
html[theme="tungstencloud"] .el-main>.tc-ui-page-root,
html[theme="tungstencloud"] .el-main>.tc-page-refresh-root{min-width:0!important;height:auto!important;min-height:0!important}
html[theme="tungstencloud"] .el-main .el-tabs__content,
html[theme="tungstencloud"] .el-main .el-tab-pane{min-width:0!important;min-height:0!important}
html[theme="tungstencloud"] .el-main .el-button,
html[theme="tungstencloud"] .el-main .left-btn,
html[theme="tungstencloud"] .el-main .btn-ok,
html[theme="tungstencloud"] .el-main .btn-no,
html[theme="tungstencloud"] .el-main .btn-save{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
}
html[theme="tungstencloud"] .el-main .el-button i,
html[theme="tungstencloud"] .el-main .el-button [class*="el-icon-"]{line-height:1!important}
html[theme="tungstencloud"] .el-main .el-tag{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.2!important}
html[theme="tungstencloud"] .el-main .el-table .cell{word-break:break-word!important}
html[theme="tungstencloud"] .el-main .el-table__empty-block{height:auto!important;min-height:108px!important}
html[theme="tungstencloud"] .el-main .el-table__empty-text{line-height:1.5!important}

/* Account: keep identity, status and form sections visually balanced. */
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-overview{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  background:#f8fafc!important;box-shadow:none!important
}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-person{flex:1 1 auto!important;min-width:0!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-cert{flex:0 1 auto!important;max-width:360px!important;box-shadow:none!important;transform:none!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-cert:hover{transform:none!important;box-shadow:none!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-section:last-of-type{margin-bottom:0!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-actions{position:sticky;bottom:0;z-index:2;margin-top:12px;padding:12px 0 0!important;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 28%)!important}

/* Security: remove the legacy dead air between tabs, toolbar and table. */
html[theme="tungstencloud"][data-tc-page="security"] .el-main>.main-card>.el-tabs{padding-bottom:18px!important}
html[theme="tungstencloud"][data-tc-page="security"] .el-main>.main-card>.el-tabs>.el-tabs__header{margin-bottom:10px!important}
html[theme="tungstencloud"][data-tc-page="security"] .el-main>.main-card .el-tab-pane{padding-top:0!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table{margin-top:0!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table .content_searchbar{min-height:40px!important;margin:0 0 10px!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table .searchbar:empty{display:none!important}
html[theme="tungstencloud"][data-tc-page="security"] .open-show{gap:8px!important}
html[theme="tungstencloud"][data-tc-page="security"] .open-show .setting{margin-left:0!important}

/* Finance: keep the header compact and the filter row aligned on one baseline. */
html[theme="tungstencloud"][data-tc-page="finance"] .finance .top{min-height:70px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .content_searchbar{min-height:40px!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .searchbar{margin-left:auto!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .tips_item{display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .tips_item .dot{flex:0 0 auto!important}
html[theme="tungstencloud"][data-tc-page="finance"] .finance .tx-list{display:inline-flex!important;align-items:center!important}

/* Product pages: suppress nested frames and prevent action columns from drifting. */
html[theme="tungstencloud"][data-tc-page="product"] .tc-product-list-page .tc-product-list-card,
html[theme="tungstencloud"][data-tc-page="product"] .product_detail .main-card,
html[theme="tungstencloud"][data-tc-page="product"] .order-detail{overflow:hidden!important}
html[theme="tungstencloud"][data-tc-page="product"] .main-card-search{align-items:center!important;flex-wrap:wrap!important}
html[theme="tungstencloud"][data-tc-page="product"] .el-table .more-operation{margin:0 auto!important}

/* Resource center / child account / ticket: no viewport-height empty canvases. */
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root,
html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-root,
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root{height:auto!important;min-height:0!important;max-height:none!important}
html[theme="tungstencloud"][data-tc-page="source"] .tc-resource-root .tc-ui-compact-empty,
html[theme="tungstencloud"][data-tc-page="child-account"] .tc-child-root .tc-ui-compact-empty,
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ui-compact-empty{min-height:96px!important;padding:20px 12px!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-ticket-empty-block{display:none!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-ticket-toolbar{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
html[theme="tungstencloud"][data-tc-page="ticket"] .tc-ticket-toolbar>*{min-width:0!important}

/* Referral: hard-stop the legacy fixed width/vertical-title layout. */
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root{overflow:hidden!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root>*{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs .el-tabs__content,
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-tabs .el-tab-pane{width:100%!important;max-width:100%!important;min-width:0!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-grid{grid-auto-flow:row!important;align-items:stretch!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-stat-card{height:auto!important;overflow:hidden!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section{max-width:calc(100% - 36px)!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-product-card{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-product-card .el-table{min-width:680px!important}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-link-card .el-input{min-width:0!important;max-width:min(620px,100%)!important}

/* Lottery: include the page root itself in flow repair so headings cannot sit under the top bar. */
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-page-refresh-root{top:auto!important;margin-top:0!important;transform:none!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-flow-fix{position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;margin-top:0!important;transform:none!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-heading{position:static!important;margin-top:0!important;padding-top:2px!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage canvas,
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage svg{flex:0 1 auto!important;width:auto!important;height:auto!important}

/* Product transfer: transparent outer shell, one level of functional cards only. */
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-product-transfer-root,
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-transfer-outer-shell{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-product-transfer-root>.tc-transfer-outer-shell{width:100%!important;max-width:100%!important}

/* Embedded host: let measured content height win and avoid a second card frame. */
html[theme="tungstencloud"] .tc-iframe-page,
html[theme="tungstencloud"] .tc-blog-iframe-page{min-height:0!important;height:auto!important}
html[theme="tungstencloud"] .tc-iframe-page iframe,
html[theme="tungstencloud"] .tc-blog-iframe-page iframe{height:auto;max-width:100%!important;box-shadow:none!important}

@media(max-width:1180px){
  html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-cert{max-width:46%!important}
  html[theme="tungstencloud"][data-tc-page="finance"] .finance .searchbar{margin-left:0!important}
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section{max-width:calc(100% - 28px)!important}
}
@media(max-width:760px){
  html[theme="tungstencloud"] .el-main{padding-left:12px!important;padding-right:12px!important}
  html[theme="tungstencloud"][data-tc-page="lottery"] .tc-iframe-page{margin-top:8px!important}
  html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-overview{align-items:stretch!important;flex-direction:column!important}
  html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-cert{width:100%!important;max-width:none!important;justify-content:flex-start!important}
  html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-actions{position:static!important;background:#fff!important}
  html[theme="tungstencloud"][data-tc-page="security"] .content-table .content_searchbar{align-items:stretch!important;flex-direction:column!important}
  html[theme="tungstencloud"][data-tc-page="security"] .content-table .left-btn{width:100%!important}
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-section{max-width:calc(100% - 28px)!important}
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-referral-product-card .el-table{min-width:600px!important}
  html[theme="tungstencloud"][data-tc-page="lottery"] .tc-lottery-stage{min-height:260px!important;padding:8px!important}
}

/* ===== TungstenCloud Aurora v8.3.2: reported UI fixes ===== */
/* Account / finance: their page-specific styles used overflow:visible, which made the
 * square inner canvas visually win over the shared rounded shell. Make the page card
 * itself the clipping boundary. */
html[theme="tungstencloud"][data-tc-page="account"] #account .main-card,
html[theme="tungstencloud"][data-tc-page="finance"] #finance .finance.main-card{
  border:1px solid var(--tc-suite-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:var(--tc-suite-shadow)!important;
  overflow:hidden!important;
}
html[theme="tungstencloud"][data-tc-page="account"] #account .main-card>.main-card-title,
html[theme="tungstencloud"][data-tc-page="finance"] #finance .finance.main-card>.top{
  border-top-left-radius:17px!important;
  border-top-right-radius:17px!important;
}
html[theme="tungstencloud"][data-tc-page="account"] #account .content-box,
html[theme="tungstencloud"][data-tc-page="finance"] #finance .finance>.content_box{
  border-bottom-left-radius:17px!important;
  border-bottom-right-radius:17px!important;
}

/* Referral: both the host iframe and the plugin surface end on the same rounded edge. */
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root{
  border-radius:18px!important;
  overflow:hidden!important;
}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-iframe-page{
  border-radius:18px!important;
  overflow:hidden!important;
}
html[theme="tungstencloud"][data-tc-page="recommend"] .tc-iframe-page>iframe{
  border-radius:18px!important;
}

/* v8.9.7 targeted ticket toolbar: all desktop filters share one aligned row. */
@media (min-width:761px){
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-toolbar{
    display:flex!important;
    align-items:center!important;
    gap:14px!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row{
    width:min(920px,calc(100% - 150px))!important;
    min-width:0!important;
    margin-left:auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.15fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    white-space:nowrap!important;
  }
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row .tc-ticket-filter-flow{
    display:contents!important;
  }
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row .el-input,
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row .el-select,
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row select{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row .el-input__inner,
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row .el-button{
    height:40px!important;
    min-height:40px!important;
    line-height:38px!important;
    margin:0!important;
  }
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row .el-button,
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-filter-row button{
    width:auto!important;
    min-width:82px!important;
    padding:0 18px!important;
  }
  html[theme="tungstencloud"][data-tc-page="ticket"] .tc-page-refresh-root .tc-ticket-toolbar.tc-ticket-filter-row{
    width:100%!important;
    grid-template-columns:auto minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.15fr) auto!important;
  }
}

/* Lottery: preserve the plug-in's native layout. The host only provides a transparent,
   non-clipping iframe surface; height is synchronized by tungstencloud-iframe-clean-v832.js. */
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-iframe-page{
  width:100%!important;
  max-width:var(--tc-suite-max)!important;
  margin:18px auto 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html[theme="tungstencloud"][data-tc-page="lottery"] .tc-iframe-page>iframe.tc-lottery-native-frame{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

/* Product transfer: the outer console iframe must never recreate a white wrapper. */
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-iframe-page,
html[theme="tungstencloud"][data-tc-page="product-transfer"] .tc-iframe-page>iframe{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

@media(max-width:760px){
  html[theme="tungstencloud"][data-tc-page="account"] #account .main-card,
  html[theme="tungstencloud"][data-tc-page="finance"] #finance .finance.main-card,
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-page-refresh-root,
  html[theme="tungstencloud"][data-tc-page="recommend"] .tc-iframe-page{border-radius:14px!important}
}

/* ===== TungstenCloud v8.4.5 unified layout resilience layer =====
   One shared UI contract for cards, controls, tables, pagination and responsive content.
   This replaces the accumulated v8.4.0/v8.4.3 override layers. */
:root[theme="tungstencloud"]{
  --tc-q-control-h:40px;
  --tc-q-gap:10px;
  --tc-q-line:#e2e8f0;
  --tc-q-line-soft:#edf2f7;
  --tc-q-text:#334155;
  --tc-q-muted:#64748b;
  --tc-q-radius:10px;
}

html[theme="tungstencloud"] *,
html[theme="tungstencloud"] *::before,
html[theme="tungstencloud"] *::after{box-sizing:border-box}

/* Content must shrink inside the console instead of forcing page-level overflow. */
html[theme="tungstencloud"] body:not(.tc-auth-page) .el-main,
html[theme="tungstencloud"] body:not(.tc-auth-page) .el-main>*{min-width:0!important;max-width:100%}
html[theme="tungstencloud"] .el-main :is(.el-row,[class*="el-col-"],.el-form,.el-form-item,.el-form-item__content,.el-tabs,.el-tabs__content,.el-tab-pane,.content,.content-box,.content_box,.content-table,.content_table){min-width:0!important;max-width:100%}

/* One card boundary. Inner content containers do not draw a second shell. */
html[theme="tungstencloud"] body:not(.tc-auth-page) .main-card>.content-box,
html[theme="tungstencloud"] body:not(.tc-auth-page) .main-card>.content_box,
html[theme="tungstencloud"] body:not(.tc-auth-page) .main-card>.main-card-table{border-left:0!important;border-right:0!important;border-bottom:0!important;box-shadow:none!important}
html[theme="tungstencloud"] .el-main :is(.el-card .el-card,.main-card .main-card,.content-box .content-box,.content_box .content_box){box-shadow:none!important}
html[theme="tungstencloud"] .main-card-title{min-width:0!important;align-items:center!important}
html[theme="tungstencloud"] .main-card-title>*{min-width:0}
html[theme="tungstencloud"] .main-card-title :is(.title-text,h1,h2,h3){max-width:100%;overflow-wrap:anywhere;word-break:break-word}

/* Controls: consistent geometry and real icon padding. */
html[theme="tungstencloud"] .el-main .el-input--prefix .el-input__inner{padding-left:38px!important}
html[theme="tungstencloud"] .el-main .el-input--suffix .el-input__inner{padding-right:38px!important}
html[theme="tungstencloud"] .el-main .el-input--prefix.el-input--suffix .el-input__inner{padding-left:38px!important;padding-right:38px!important}
html[theme="tungstencloud"] .el-main .el-input__prefix,
html[theme="tungstencloud"] .el-main .el-input__suffix{display:flex!important;align-items:center!important;justify-content:center!important}
html[theme="tungstencloud"] .el-main .el-input__prefix{left:11px!important}
html[theme="tungstencloud"] .el-main .el-input__suffix{right:10px!important}
html[theme="tungstencloud"] .el-main .el-input__icon{line-height:1!important}
html[theme="tungstencloud"] .el-main .el-input-group__prepend,
html[theme="tungstencloud"] .el-main .el-input-group__append{white-space:nowrap!important}
html[theme="tungstencloud"] .el-main :is(.el-select,.el-cascader,.el-autocomplete,.el-input-number,.el-date-editor,.el-textarea){max-width:100%!important}
html[theme="tungstencloud"] .el-main :is(.el-date-editor--daterange,.el-date-editor--timerange){min-width:0!important}
html[theme="tungstencloud"] .el-main .el-date-editor .el-range-input{min-width:0!important}

html[theme="tungstencloud"] .el-main .el-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0;line-height:1.2!important;vertical-align:middle}
html[theme="tungstencloud"] .el-main .el-button>span{min-width:0;line-height:1.2!important}
html[theme="tungstencloud"] .el-main .el-button i,
html[theme="tungstencloud"] .el-main .el-button [class*="el-icon-"]{flex:0 0 auto;line-height:1!important}
html[theme="tungstencloud"] .el-main .el-button-group{display:inline-flex!important;align-items:center!important;vertical-align:middle!important}
html[theme="tungstencloud"] .el-main :is(.el-dialog__footer,.dialog-footer,.dialog-fotter,.form-footer){min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
html[theme="tungstencloud"] .el-main :is(.el-dialog__footer,.dialog-footer,.dialog-fotter,.form-footer) .el-button+.el-button{margin-left:0!important}

/* Toolbars keep a clean baseline, then wrap as whole controls at smaller widths. */
html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.searchbar,.right-search,.filter-box,.operation-box,.btn-box,.action-box,.toolbar,.tool-bar){min-width:0;align-items:center;column-gap:10px;row-gap:8px}
html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.right-search,.filter-box,.operation-box,.toolbar,.tool-bar)>.el-input,
html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.right-search,.filter-box,.operation-box,.toolbar,.tool-bar)>.el-select,
html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.right-search,.filter-box,.operation-box,.toolbar,.tool-bar)>.el-date-editor{min-width:0!important;max-width:100%!important}
html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.right-search,.filter-box,.operation-box,.toolbar,.tool-bar) .el-button{min-height:var(--tc-q-control-h)!important;white-space:nowrap!important;flex:0 0 auto}

/* Product batch actions: direct renewal + clearly labelled secondary actions. */
html[theme="tungstencloud"][data-tc-page="product"] .batch-op-btn .tc-batch-controls{min-width:0;display:inline-flex;align-items:stretch;gap:8px;vertical-align:middle}
html[theme="tungstencloud"][data-tc-page="product"] .batch-op-btn :is(.tc-batch-renew-button,.tc-batch-more-button){height:40px!important;min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0 14px!important;border-radius:9px!important;font-size:12px!important;font-weight:650!important;line-height:1!important;white-space:nowrap!important;box-shadow:none!important}
html[theme="tungstencloud"][data-tc-page="product"] .batch-op-btn .tc-batch-renew-button{min-width:108px!important;color:#fff!important;border-color:var(--tc-primary)!important;background:var(--tc-primary)!important}
html[theme="tungstencloud"][data-tc-page="product"] .batch-op-btn .tc-batch-more-button{min-width:104px!important;color:#1769e0!important;border-color:#bcd3f4!important;background:#fff!important}
html[theme="tungstencloud"][data-tc-page="product"] .batch-op-btn .tc-batch-renew-button:hover{border-color:#1257bb!important;background:#1257bb!important}
html[theme="tungstencloud"][data-tc-page="product"] .batch-op-btn .tc-batch-more-button:hover{border-color:#7fb0ee!important;color:#1257bb!important;background:#f5f9ff!important}
html[theme="tungstencloud"][data-tc-page="product"] .batch-op-btn .tc-batch-renew-icon{margin-right:1px;font-size:14px;line-height:1}
html[theme="tungstencloud"][data-tc-page="product"] .batch-op-btn .tc-batch-more-button .el-icon--right{margin-left:1px!important;margin-right:0!important;font-size:11px}

/* Forms and labels must remain readable with long translations. */
html[theme="tungstencloud"] .el-main :is(.el-form-item,.el-form-item__label,.el-form-item__content){min-width:0!important;max-width:100%}
html[theme="tungstencloud"] .el-main .el-form-item__label{overflow-wrap:anywhere;word-break:break-word}
html[theme="tungstencloud"] .el-main :is(.el-checkbox,.el-radio){max-width:100%}
html[theme="tungstencloud"] .el-main :is(.el-checkbox__label,.el-radio__label){max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}

/* Legacy searchbars often carry inline rem widths; normalize them without changing behavior. */
html[theme="tungstencloud"] .el-main .content_searchbar .searchbar{min-width:0!important;display:flex;align-items:center;justify-content:flex-end;margin-left:auto!important}
html[theme="tungstencloud"] .el-main .content_searchbar .searchbar :is(.el-input,.el-select,.el-cascader,.el-date-editor){width:min(320px,100%)!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
html[theme="tungstencloud"] .el-main .content_searchbar .searchbar .el-date-editor--daterange{width:min(360px,100%)!important}
html[theme="tungstencloud"] .el-main .content_searchbar .left_tips{min-width:0;display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}

/* Tables: one frame, one row divider, readable cells and stable numeric columns. */
html[theme="tungstencloud"] .el-main .tabledata{min-width:0!important;max-width:100%!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[theme="tungstencloud"] .el-main .tabledata>.el-table{margin:0!important;border:1px solid var(--tc-q-line)!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important}
html[theme="tungstencloud"] .el-main .el-table{max-width:100%!important;font-variant-numeric:tabular-nums}
html[theme="tungstencloud"] .el-main .el-table :is(td.el-table__cell,th.el-table__cell){vertical-align:middle!important}
html[theme="tungstencloud"] .el-main .el-table td.el-table__cell .cell{min-width:0!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
html[theme="tungstencloud"] .el-main .el-table th.el-table__cell .cell{min-width:0!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;line-height:1.35!important;overflow-wrap:anywhere!important;word-break:break-word!important}
html[theme="tungstencloud"] .el-main .el-table td :is(.el-tag,.status,.more-operation,.operation-box,.operation,.order-nums,.money,.amount,.price,.count,.total){white-space:nowrap!important}
html[theme="tungstencloud"] .el-main .el-table .operation{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html[theme="tungstencloud"] .el-main .el-table__body-wrapper{max-width:100%!important;overflow-x:auto!important;overflow-y:auto;scrollbar-width:thin;scrollbar-gutter:stable}
html[theme="tungstencloud"] .el-main .el-table__body-wrapper::-webkit-scrollbar{height:8px;width:8px}
html[theme="tungstencloud"] .el-main .el-table.tc-table-empty .el-table__body-wrapper,
html[theme="tungstencloud"] .el-main .el-table__body-wrapper:has(>.el-table__empty-block){overflow-x:hidden!important;overflow-y:hidden!important;scrollbar-width:none!important;scrollbar-gutter:auto!important}
html[theme="tungstencloud"] .el-main .el-table.tc-table-empty .el-table__body-wrapper::-webkit-scrollbar,
html[theme="tungstencloud"] .el-main .el-table__body-wrapper:has(>.el-table__empty-block)::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
html[theme="tungstencloud"] .el-main .el-table.tc-table-empty .el-table__empty-block,
html[theme="tungstencloud"] .el-main .el-table__body-wrapper>.el-table__empty-block{width:100%!important;min-width:100%!important;max-width:100%!important}
html[theme="tungstencloud"] .el-main .tabledata>.el-table::before,
html[theme="tungstencloud"] .el-main .tabledata>.el-table::after,
html[theme="tungstencloud"] .el-main .tabledata>.el-table .el-table__fixed::before,
html[theme="tungstencloud"] .el-main .tabledata>.el-table .el-table__fixed-right::before{display:none!important}
html[theme="tungstencloud"] .el-main .tabledata>.el-table tbody tr:last-child>td.el-table__cell,
html[theme="tungstencloud"] .el-main .el-table__fixed-body-wrapper tbody tr:last-child>td.el-table__cell,
html[theme="tungstencloud"] .el-main .el-table__fixed-right .el-table__fixed-body-wrapper tbody tr:last-child>td.el-table__cell{border-bottom:0!important}
html[theme="tungstencloud"] .el-main .el-table__empty-block{min-width:100%!important;max-width:100%!important}
html[theme="tungstencloud"] .el-main .el-table__empty-text{max-width:calc(100% - 24px);white-space:normal;overflow-wrap:anywhere}

/* Pagination is a full-width toolbar. Do not clip tall selects or force a hidden max-content overflow. */
html[theme="tungstencloud"] :is(.myPage,.custom-pagination,.pagination){width:100%!important;min-width:0!important;max-width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html[theme="tungstencloud"] :is(.myPage,.custom-pagination,.pagination)>.el-pagination,
html[theme="tungstencloud"] pagination .el-pagination,
html[theme="tungstencloud"] .el-pagination{width:100%!important;min-width:0!important;max-width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;flex-wrap:nowrap!important;white-space:nowrap!important;font-variant-numeric:tabular-nums}
html[theme="tungstencloud"] .el-pagination>*{flex:0 0 auto!important}
html[theme="tungstencloud"] .el-pagination .page-total{min-width:0!important;height:32px!important;display:inline-flex!important;align-items:center!important;margin-right:auto!important;padding-right:18px!important;color:#64748b;line-height:32px!important;white-space:nowrap!important}
html[theme="tungstencloud"] .el-pagination :is(.el-pagination__jump,.el-pagination__sizes){margin-top:0!important;margin-bottom:0!important;white-space:nowrap!important}
html[theme="tungstencloud"] .el-pagination .el-pagination__sizes{margin-left:0!important;margin-right:4px!important}
html[theme="tungstencloud"] .el-pagination .el-pagination__jump{margin-left:4px!important;margin-right:0!important}

/* Dialogs, dropdowns and notices stay inside the viewport. */
html[theme="tungstencloud"] .el-dialog,
html[theme="tungstencloud"] .el-message-box{max-width:calc(100vw - 32px)!important}
html[theme="tungstencloud"] .el-dialog__header{min-width:0}
html[theme="tungstencloud"] .el-dialog__title{display:block;max-width:100%;padding-right:28px;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}
html[theme="tungstencloud"] .el-dialog__body{max-height:calc(100vh - 180px);overflow:auto}
html[theme="tungstencloud"] .el-message-box__message,
html[theme="tungstencloud"] .el-message-box__message p{overflow-wrap:anywhere;word-break:break-word}
html[theme="tungstencloud"] :is(.el-popover,.el-dropdown-menu,.el-select-dropdown){max-width:calc(100vw - 20px)}
html[theme="tungstencloud"] .el-dropdown-menu__item{max-width:100%;overflow-wrap:anywhere}
html[theme="tungstencloud"] .el-tooltip__popper{max-width:min(360px,calc(100vw - 20px));overflow-wrap:anywhere}
html[theme="tungstencloud"] :is(.el-message,.el-notification){max-width:calc(100vw - 24px)}

/* Long copy and numeric values. */
html[theme="tungstencloud"] .el-main :is(p,li,dd,td,.description,.desc,.notes,.content-text,.dialog-dec,.section-title,.el-alert__title){overflow-wrap:anywhere;word-break:break-word}
html[theme="tungstencloud"] .el-main :is(.money,.amount,.price,.price-num,.order-nums,.count,.total,.balance,.item-price,.item-total,.num-text){font-variant-numeric:tabular-nums}
html[theme="tungstencloud"] .el-main :is(.el-tag,.el-badge,.status){vertical-align:middle!important}

/* Account: log table and long user data remain inside the card. */
html[theme="tungstencloud"][data-tc-page="account"] #account :is(.tc-account-overview,.tc-account-person,.tc-account-person-copy,.tc-account-section,.tc-account-grid,.tc-account-field,.tc-account-log-desktop){min-width:0!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-name{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-log-desktop{overflow:visible!important}
html[theme="tungstencloud"][data-tc-page="account"] #account .tc-account-log-desktop .el-table .cell{line-height:1.5!important}

/* Finance: table owns the border; pagination remains outside that frame. */
html[theme="tungstencloud"][data-tc-page="finance"] #finance .content_tab{min-width:0!important;overflow:visible!important}
html[theme="tungstencloud"][data-tc-page="finance"] #finance .content_table{min-width:0!important}
html[theme="tungstencloud"][data-tc-page="finance"] #finance .content_table>.myPage{margin-top:12px!important;border:0!important}
html[theme="tungstencloud"][data-tc-page="finance"] #finance .el-table .cell{line-height:1.5!important}
html[theme="tungstencloud"][data-tc-page="finance"] #finance :is(.money,.money-num,.item-balance,.item-unbalance){font-variant-numeric:tabular-nums}

/* Security family: controls align to table width and operation text does not collide. */
html[theme="tungstencloud"][data-tc-page="security"] .content-table{min-width:0!important;overflow:visible!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table .content_searchbar{width:100%;min-width:0!important}
html[theme="tungstencloud"][data-tc-page="security"] .content-table .left-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.2!important;white-space:nowrap}
html[theme="tungstencloud"][data-tc-page="security"] .operation-item{white-space:nowrap}

/* Order/detail and article content: avoid fixed legacy widths and clipped rich text. */
html[theme="tungstencloud"] .order-detail :is(.page-content,.order-info,.order-table,.order-transaction,.self-field){min-width:0!important;max-width:100%}
html[theme="tungstencloud"] .order-detail :is(.order-user,.order-num,.pay-info,.table-item){overflow-wrap:anywhere;word-break:break-word}
html[theme="tungstencloud"] .news_detail .new-box{width:100%!important;max-width:1040px!important}
html[theme="tungstencloud"] .news_detail .new-box .content{overflow-x:auto;overflow-wrap:anywhere;word-break:break-word}
html[theme="tungstencloud"] .news_detail .new-box .content :is(img,video,iframe,table){max-width:100%!important}
html[theme="tungstencloud"] .news_detail .page{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;overflow:visible!important}
html[theme="tungstencloud"] .news_detail .page .link{width:auto!important;height:auto!important;min-width:0;min-height:38px;float:none!important;line-height:1.4!important}
html[theme="tungstencloud"] .news_detail .page .link a{display:-webkit-box!important;overflow:hidden!important;white-space:normal!important;line-height:1.45!important;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}

/* Static scroll text should not reserve a compositor layer while centered. */
html[theme="tungstencloud"] .scroll-container .scroll-text.centered{will-change:auto!important}

/* Keyboard and reduced-motion quality. */
html[theme="tungstencloud"] :is(button,a,[role="button"]):focus-visible{outline:2px solid rgba(23,105,224,.55);outline-offset:2px}

@media(max-width:1100px){
  html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.searchbar,.right-search,.filter-box,.operation-box,.btn-box,.action-box,.toolbar,.tool-bar){flex-wrap:wrap!important}
  html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.searchbar,.right-search,.filter-box,.operation-box,.toolbar,.tool-bar)>:is(.el-input,.el-select,.el-cascader,.el-date-editor,.el-autocomplete){min-width:180px!important;flex:1 1 220px}
  html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.searchbar,.right-search,.filter-box,.operation-box,.toolbar,.tool-bar)>:is(.el-date-editor--daterange,.el-date-editor--timerange){min-width:300px!important;flex-basis:320px!important}
}
@media(max-width:1100px) and (min-width:761px){
  html[theme="tungstencloud"] .el-pagination{flex-wrap:wrap!important;row-gap:8px!important}
  html[theme="tungstencloud"] .el-pagination .page-total{flex:1 0 100%!important;width:100%!important;height:auto!important;margin-right:0!important;padding-right:0!important;line-height:1.4!important}
}
@media(max-width:760px){
  html[theme="tungstencloud"] .el-dialog,
  html[theme="tungstencloud"] .el-message-box{max-width:calc(100vw - 20px)!important}
  html[theme="tungstencloud"] .el-dialog__body{max-height:calc(100dvh - 150px)}
  html[theme="tungstencloud"] .el-dialog__title{padding-right:24px}
  html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.searchbar,.right-search,.filter-box,.operation-box,.toolbar,.tool-bar)>:is(.el-input,.el-select,.el-cascader,.el-date-editor,.el-autocomplete){width:100%!important;min-width:0!important;max-width:100%!important;flex:1 1 100%}
  html[theme="tungstencloud"] .el-main :is(.el-date-editor--daterange,.el-date-editor--timerange){width:100%!important}
  html[theme="tungstencloud"] .el-pagination{justify-content:center!important;gap:2px!important;flex-wrap:nowrap!important}
  html[theme="tungstencloud"] .el-pagination :is(.page-total,.el-pagination__sizes,.el-pagination__jump){display:none!important}
  html[theme="tungstencloud"] .el-pagination button,html[theme="tungstencloud"] .el-pager li{min-width:30px!important;height:30px!important;line-height:30px!important}
  html[theme="tungstencloud"] .el-pager{height:30px!important}
  html[theme="tungstencloud"] .news_detail .page{grid-template-columns:1fr;gap:8px}
  html[theme="tungstencloud"] .news_detail .page .link:last-child{text-align:left!important}
}
@media(prefers-reduced-motion:reduce){
  html[theme="tungstencloud"] *,html[theme="tungstencloud"] *::before,html[theme="tungstencloud"] *::after{scroll-behavior:auto!important}
  html[theme="tungstencloud"] .tc-loading-spinner,html[theme="tungstencloud"] .el-icon-loading{animation-duration:1.4s!important}
}

/* v8.7.3 in-theme site-message detail; avoids broken ClientCare detail route */
html[theme="tungstencloud"] .el-message-box.tc-notice-detail-dialog{
  width:min(600px,calc(100vw - 32px))!important;
  max-width:600px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #dfe7f2!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 22px 56px rgba(15,23,42,.16)!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__header{
  padding:20px 22px 16px!important;
  border-bottom:1px solid #edf2f7!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__title{
  padding-right:28px!important;
  color:#0f172a!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.5!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__headerbtn{
  top:19px!important;
  right:20px!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__content{
  padding:18px 22px!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__message{width:100%!important}
html[theme="tungstencloud"] .tc-notice-detail-dialog .tc-notice-detail-body{width:100%!important;color:#475569!important}
html[theme="tungstencloud"] .tc-notice-detail-dialog .tc-notice-detail-meta{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-bottom:14px!important;
  color:#8a98ad!important;
  font-size:12px!important;
  font-weight:600!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .tc-notice-detail-sep{color:#cbd5e1!important}
html[theme="tungstencloud"] .tc-notice-detail-dialog .tc-notice-detail-content{
  max-height:min(46vh,420px)!important;
  overflow:auto!important;
  color:#334155!important;
  font-size:14px!important;
  line-height:1.9!important;
  overflow-wrap:anywhere!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .tc-notice-detail-empty{color:#94a3b8!important}
html[theme="tungstencloud"] .tc-notice-detail-dialog .tc-notice-detail-links{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  margin-top:16px!important;
  padding-top:14px!important;
  border-top:1px solid #edf2f7!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .tc-notice-detail-links strong{color:#64748b!important;font-size:12px!important}
html[theme="tungstencloud"] .tc-notice-detail-dialog .tc-notice-detail-links a{color:#1769e0!important;font-size:13px!important;text-decoration:none!important;overflow-wrap:anywhere!important}
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns{
  padding:12px 22px 18px!important;
  border-top:1px solid #f1f5f9!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .el-button{
  min-width:76px!important;
  height:36px!important;
  border-radius:10px!important;
}
@media(max-width:640px){
  html[theme="tungstencloud"] .el-message-box.tc-notice-detail-dialog{width:calc(100vw - 24px)!important}
  html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__header{padding:17px 18px 14px!important}
  html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__content{padding:16px 18px!important}
  html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns{padding:10px 18px 16px!important}
}


/* v8.7.4 notice detail close-button state repair */
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .tc-notice-detail-close-button,
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .tc-notice-detail-close-button:hover,
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .tc-notice-detail-close-button:focus,
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .tc-notice-detail-close-button:active{
  min-width:82px!important;
  height:36px!important;
  border:1px solid #1769e0!important;
  border-radius:10px!important;
  background:#1769e0!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  box-shadow:none!important;
}
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .tc-notice-detail-close-button>span,
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .tc-notice-detail-close-button:hover>span,
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .tc-notice-detail-close-button:focus>span,
html[theme="tungstencloud"] .tc-notice-detail-dialog .el-message-box__btns .tc-notice-detail-close-button:active>span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
}


/* ===== TungstenCloud v8.7.8 single-PC-template responsive baseline =====
   The backend now serves the PC template on every device. Keep all adaptation here;
   no mobile template assets are required. */
html[theme="tungstencloud"],html[theme="tungstencloud"] body{max-width:100%;overflow-x:hidden}
html[theme="tungstencloud"] .template,
html[theme="tungstencloud"] .template>.el-container,
html[theme="tungstencloud"] .template>.el-container>.el-container,
html[theme="tungstencloud"] .el-main{min-width:0!important;max-width:100%!important}
html[theme="tungstencloud"] .el-main :is(.main-card,.main-content,.content-box,.content-table,.table-box,.form-box,.page-content){min-width:0!important;max-width:100%!important;box-sizing:border-box}
html[theme="tungstencloud"] .el-main :is(img,video,canvas,svg){max-width:100%}

@media(max-width:760px){
  html[theme="tungstencloud"] .el-main{width:100%!important;padding-left:12px!important;padding-right:12px!important;overflow-x:hidden!important}
  html[theme="tungstencloud"] .el-main>.main-card,
  html[theme="tungstencloud"] .el-main>.tc-page-refresh-root,
  html[theme="tungstencloud"] .el-main>.tc-iframe-page{width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
  html[theme="tungstencloud"] .el-main :is(.main-card-search,.content_searchbar,.searchbar,.right-search,.filter-box,.operation-box,.toolbar,.tool-bar,.btn-box,.action-box){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;flex-wrap:wrap!important}
  html[theme="tungstencloud"] .el-main :is(.el-row,.el-form,.el-form-item,.el-tabs,.el-tabs__content,.el-tab-pane){max-width:100%!important;min-width:0!important}
  html[theme="tungstencloud"] .el-main :is(.el-input,.el-select,.el-cascader,.el-autocomplete,.el-date-editor){max-width:100%!important}
  html[theme="tungstencloud"] .el-main :is(.el-table,.el-table__body-wrapper,.el-table__header-wrapper){max-width:100%!important}
  html[theme="tungstencloud"] .el-main :is(.el-card,.main-card,.content-box,.form-box){border-radius:14px!important}
}
