.tai-v50-viewport,
.tai-immersive-target {
position: relative;
width: 100%;
overflow: hidden;
transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.tai-v50-viewport {
height: 420px;
border-radius: 20px;
perspective: 1000px;
user-select: none;
}
.tai-v50-container {
position: relative;
width: 100%;
height: 100%;
transform-style: preserve-3d;
}
.tai-v50-item {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1); background: transparent;
backface-visibility: hidden;
}
.tai-v50-item img, 
.tai-v50-item video {
width: 100%;
height: auto;
display: block;
object-fit: cover; 
border-radius: 14px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0,0,0,0.2);
} .tai-v50-viewport.mode-vertical .tai-v50-item.active {
opacity: 1;
visibility: visible;
transform: translateZ(50px) rotateX(0deg);
z-index: 10;
}
.tai-v50-viewport.mode-vertical .tai-v50-item.prev {
opacity: 0.4;
visibility: visible;
transform: translateY(-55%) translateZ(-400px) rotateX(45deg);
z-index: 1;
filter: blur(2px) grayscale(0.5);
}
.tai-v50-viewport.mode-vertical .tai-v50-item.next {
opacity: 0.4;
visibility: visible;
transform: translateY(55%) translateZ(-400px) rotateX(-45deg);
z-index: 1;
filter: blur(2px) grayscale(0.5);
} .tai-v50-viewport.mode-horizontal .tai-v50-item.active {
opacity: 1;
visibility: visible; transform: translate3d(0, 0, 60px) scale(1) rotateX(0deg);
z-index: 10;
}
.tai-v50-viewport.mode-horizontal .tai-v50-item.prev {
opacity: 0.5;
visibility: visible; transform: translate3d(0, -60%, -350px) scale(0.7) rotateX(45deg);
z-index: 1;
filter: blur(3px) brightness(0.7);
}
.tai-v50-viewport.mode-horizontal .tai-v50-item.next {
opacity: 0.5;
visibility: visible; transform: translate3d(0, 60%, -350px) scale(0.7) rotateX(-45deg);
z-index: 1;
filter: blur(3px) brightness(0.7);
} .tai-v50-dots {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 10px;
z-index: 20;
}
.tai-immersion-btn svg {
width: 14px !important;
height: 14px !important;
min-width: 14px !important;
display: block;
}
.tai-v50-dot {
width: 4px;
height: 24px;
background: rgba(255,255,255,0.2);
border-radius: 4px;
cursor: pointer;
transition: all 0.3s;
}
.tai-v50-dot.active {
background: #fff;
height: 48px;
box-shadow: 0 0 15px #fff;
}
.tai-v50-scroll-hint {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
color: rgba(255,255,255,0.4);
font-size: 11px;
pointer-events: none;
background: rgba(0,0,0,0.3);
padding: 4px 12px;
border-radius: 20px;
backdrop-filter: blur(4px);
border: 1px solid rgba(255,255,255,0.1);
} .tai-v50-item {
cursor: zoom-in;
}
.tai-v50-lightbox {
position: fixed;
inset: 0;
z-index: 99999;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(10px);
display: none;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.4s;
}
.tai-v50-lightbox.active {
display: flex;
opacity: 1;
}
.tai-v50-lb-content {
max-width: 90%;
max-height: 90%;
transform: scale(0.8);
transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}
.tai-v50-lightbox.active .tai-v50-lb-content {
transform: scale(1);
}
.tai-v50-lb-content img,
.tai-v50-lb-content video {
max-width: 100%;
max-height: 90vh;
border-radius: 8px;
display: block;
}
.tai-v50-lb-close {
position: absolute;
top: 30px;
right: 30px;
width: 44px;
height: 44px;
background: rgba(255,255,255,0.1);
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 24px;
transition: all 0.3s;
border: 1px solid rgba(255,255,255,0.2);
}
.tai-v50-lb-close:hover {
background: #ef4444;
transform: rotate(90deg);
}
.tai-v50-lb-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 60px;
height: 60px;
background: rgba(255,255,255,0.1);
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 24px;
transition: all 0.3s;
border: 1px solid rgba(255,255,255,0.2);
z-index: 10;
}
.tai-v50-lb-nav:hover {
background: rgba(255,255,255,0.3);
}
.tai-v50-lb-prev { left: 40px; }
.tai-v50-lb-next { right: 40px; } .tai-immersive-target.is-immersive > *:not(.tai-v50-immersion-btn) {
filter: blur(12px) contrast(0.9) brightness(0.7);
opacity: 0.2;
pointer-events: none;
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
} .tai-immersive-target.is-focus-mode > *:not(.tai-v50-immersion-btn) {
filter: blur(6px) brightness(0.85);
opacity: 0.8;
transition: all 0.4s ease;
}
.tai-v50-immersion-btn {
position: absolute;
top: 15px;
left: 15px; right: auto;
z-index: 1000;
padding: 7px 14px;
background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 24px;
color: #fff;
font-size: 13px;
font-weight: 500;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.05);
user-select: none;
}
.tai-v50-immersion-btn:hover {
background: rgba(15, 23, 42, 0.6);
border-color: rgba(255, 255, 255, 0.3);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.tai-v50-immersion-btn svg {
display: block !important;
width: 14px !important;
height: 14px !important;
min-width: 14px !important;
min-height: 14px !important;
max-width: 14px !important;
max-height: 14px !important;
flex-shrink: 0 !important;
margin: 0 !important;
padding: 0 !important;
transform: none !important;
transition: none !important;
}
.tai-immersive-target.is-immersive .tai-v50-immersion-btn {
background: #3b82f6;
border-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 0 25px rgba(59, 130, 246, 0.5), inset 0 0 10px rgba(255,255,255,0.2);
}
.tai-immersive-target.is-immersive .tai-v50-dots,
.tai-immersive-target.is-immersive .tai-v50-scroll-hint {
opacity: 0 !important;
pointer-events: none !important;
} #tianyin-app-root .tai-form-card-hd{
font-size: 15px !important;
}
#tianyin-app-root .tai-nav-section-label {
font-size: 16px !important;
}
#tianyin-app-root .tai-nav-section-header{
background: #fafafa;
}
#tianyin-app-root .tai-nav-item {
line-height: 1;
}
#tianyin-app-root .tai-rh-actions  {
border-top: 0 !important;
}
#tianyin-app-root.dark-mode .tai-nav-subsection .tai-nav-item{
color: #eee !important;
}
#tianyin-app-root .tai-chat-model-custom {
width: min(46vw, 220px) !important;
}
#tianyin-app-root.dark-mode .tai-hist-hd  {
background: rgba(148, 163, 184, 0.10);
border-color: rgba(148, 163, 184, 0.16);
}
#tianyin-app-root.dark-mode .tai-topbar-title{
color: #fff !important;
}
#tianyin-app-root div.tai-topbar,
#tianyin-app-root .tai-logo {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
position: relative;
z-index: 10;
}
#tianyin-app-root .tai-app-cover-card img,
#tianyin-app-root .tai-app-cover-card video {
max-height: 100% !important;
}
#tianyin-app-root .tai-field textarea {
height: 220px !important;
font-size: 15px !important;
}
#tianyin-app-root .tai-app-desc-inner {
font-size: 16px !important;
}
#tianyin-app-root div.tai-user-menu-item,
#tianyin-app-root div.tai-user-name{
font-size: 15px !important;
line-height: 1;
}
#tianyin-app-root div.tai-upload-preview{
width: 220px !important;
height: 220px !important;
padding: 0;
overflow: hidden;
}
#tianyin-app-root .tai-field-desc,
#tianyin-app-root .tai-rh-container .tai-field label{
line-height: 2 !important;
}
#tianyin-app-root .tai-field:has([data-node-id="187"]),
#tianyin-app-root .tai-show-when:has([data-node-id="187"]) {
display: none !important;
}
#tianyin-app-root [data-node-id="187"] {
display: none !important;
}
#tianyin-app-root #tai-sec-apps > .tai-nav-section-body,
#tianyin-app-root #tai-sec-draw > .tai-nav-section-body {
max-height: none !important;
}
#tianyin-app-root .tai-nav {
padding-bottom: 65px !important;
}
#tianyin-app-root .tai-apps-featured-title,
#tianyin-app-root .tai-apps-featured-subtitle{
display: none;
}
#tianyin-app-root .tai-apps-featured-section {
margin: 0 -10px 0 -10px !important;
padding: 0 20px 14px !important;
}
#tianyin-app-root .tai-apps-all-hd {
display: none !important;
}
@media (max-width: 768px) {
#tianyin-app-root .tai-apps-tabs {
gap: 2px !important;
}
#tianyin-app-root .tai-apps-tabs a {
padding: 5px 6px !important;
font-size: 13px !important;
}
}
#tianyin-app-root .tai-app-desc-inner {
line-height: 1.3;
} #tianyin-app-root .tai-nav-section.collapsed .tai-nav-section-body {
max-height: 0 !important;
}html, body { height: 100%; }
body, body.tianyin-ai-page { min-height: 100vh; height: 100dvh; }
body.tianyin-ai-page { margin: 0; } .tianyin-fullpage-wrap { margin: 0 !important; padding: 0 !important; }
.tianyin-ai-page .tianyin-fullpage-wrap,
.tianyin-ai-page .entry-content,
.tianyin-ai-page .site-main,
.tianyin-ai-page .content-area,
.tianyin-ai-page main {
min-height: 100vh !important; min-height: 100dvh !important;
height: 100vh !important;
margin: 0 !important;
padding: 0 !important;
max-width: none !important;
}
.tianyin-fullpage-wrap .site-header,
.tianyin-fullpage-wrap .site-footer,
.tianyin-fullpage-wrap header,
.tianyin-fullpage-wrap footer { display: none !important; }
#tianyin-app-root {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
width: 100vw;
height: 100vh; height: 100dvh;
z-index: 100;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 14px;
display: flex;
overflow: hidden;
} :root {
--sidebar-w: 260px;
--blue:      #1f4fd1;
--blue2:     #163d9f;
--blue3:     #edf3ff;
--green:     #1d6a47;
--text:      #111827;
--text2:     #6b7280;
--border:    #e5e7eb;
--bg:        #f5f7fb;
--white:     #ffffff;
--sidebar-bg:#ffffff;
--sidebar-text: #334155;
--sidebar-title:#0f172a;
--sidebar-muted:#64748b;
--sidebar-border:#e5e7eb;
--sidebar-hover:#f1f5f9;
--sidebar-menu:#ffffff;
--topbar-bg: #ffffff;
--topbar-border: #e5e7eb;
--content-bg:#ffffff;
--msg-ai-bg: #eef2f7;
--msg-user-bg: #1a56db;
--input-bg:  #ffffff;
--shadow:    0 14px 40px rgba(15,23,42,0.08);
--radius:    14px;
} #tianyin-app-root.dark-mode {
--text:      #f9fafb;
--text2:     #9ca3af;
--border:    #374151;
--bg:        #111827;
--white:     #111827;
--sidebar-bg:#0d1117;
--sidebar-text: #d1d5db;
--sidebar-title:#f8fafc;
--sidebar-muted:#a8b0bc;
--sidebar-border:rgba(255,255,255,0.08);
--sidebar-hover:#1f2937;
--sidebar-menu:#1f2937;
--topbar-bg: #111827;
--topbar-border: #374151;
--content-bg:#0b0f14;
--msg-ai-bg: #374151;
--msg-user-bg: #1a56db;
--input-bg:  #374151;
}
#tianyin-app-root * { box-sizing: border-box; } #tai-sidebar {
width: var(--sidebar-w);
min-width: var(--sidebar-w);
background: var(--sidebar-bg);
display: flex;
flex-direction: column;
overflow: hidden;
z-index: 10;
transition: width 0.25s, border-color 0.25s, box-shadow 0.25s;
border-right: 1px solid var(--sidebar-border);
box-shadow: 8px 0 24px rgba(15,23,42,0.05);
}
#tai-main {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
background: var(--content-bg);
position: relative;
}
#tianyin-app-root.sidebar-collapsed #tai-sidebar{width:72px;min-width:72px}
#tianyin-app-root.sidebar-collapsed .tai-logo-text,
#tianyin-app-root.sidebar-collapsed .tai-nav-section-label,
#tianyin-app-root.sidebar-collapsed .tai-nav-item .ni-label,
#tianyin-app-root.sidebar-collapsed .tai-user-info,
#tianyin-app-root.sidebar-collapsed .tai-user-chevron,
#tianyin-app-root.sidebar-collapsed .tai-nav-subheader span:first-child,
#tianyin-app-root.sidebar-collapsed .tai-history-toggle-btn,
#tianyin-app-root.sidebar-collapsed .tai-history-more-btn,
#tianyin-app-root.sidebar-collapsed .tai-user-menu{display:none}
#tianyin-app-root.sidebar-collapsed .tai-logo{justify-content:center; padding: 0;}
#tianyin-app-root.sidebar-collapsed .tai-logo-main{display:none}
#tianyin-app-root.sidebar-collapsed .tai-nav-empty{display:none}
#tianyin-app-root.sidebar-collapsed .tai-nav-item{justify-content:center;padding:10px 8px}
#tianyin-app-root.sidebar-collapsed .tai-nav-item .ni-actions,
#tianyin-app-root.sidebar-collapsed .tai-nav-item .ni-drag{display:none !important}
#tianyin-app-root.sidebar-collapsed .tai-nav-subheader{justify-content:center;padding:8px}
#tianyin-app-root.sidebar-collapsed .tai-sidebar-footer{padding:8px 0}
#tianyin-app-root.sidebar-collapsed .tai-user-btn{justify-content:center;padding:8px} .tai-logo {
height: 48px;
padding: 0 16px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
border-bottom: 1px solid var(--sidebar-border);
flex-shrink: 0;
}
.tai-logo-main{display:flex;align-items:center;gap:10px;min-width:0}
.tai-logo-icon {
width: 26px; height: 26px;
background: var(--blue);
border-radius: 6px;
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 14px; font-weight: 700; flex-shrink: 0;
overflow: hidden;
}
.tai-logo-icon.has-img { background: transparent; }
.tai-logo-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tai-logo-text { font-size: 15px; font-weight: 700; color: var(--sidebar-title); }
#tai-sidebar-collapse {
width: 28px; height: 28px; border: 1px solid var(--sidebar-border); background: var(--white); color: var(--sidebar-muted);
border-radius: 8px; cursor: pointer; flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
}
#tai-sidebar-collapse:hover{color:var(--sidebar-title);background:var(--sidebar-hover)}
.tai-nav { flex: 1; overflow-y: auto; padding: 8px 0 120px 0; }
.tai-nav::-webkit-scrollbar { width: 3px; }
.tai-nav::-webkit-scrollbar-thumb { background: #374151; border-radius: 2px; } .tai-nav-section {
margin-bottom: 4px;
}
.tai-nav-section-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 7px 16px;
cursor: pointer;
user-select: none;
background: rgba(0, 0, 0, 0.02);
border-radius: 4px;
}
.dark-mode .tai-nav-section-header { background: rgba(255, 255, 255, 0.04); }
.tai-nav-section-label {
font-size: 11px;
font-weight: 600;
color: var(--sidebar-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.tai-nav-section-toggle {
color: var(--sidebar-muted);
font-size: 10px;
transition: transform 0.2s;
}
.tai-nav-section.collapsed .tai-nav-section-toggle { transform: rotate(-90deg); }
.tai-nav-section-body {
overflow: hidden;
transition: max-height 0.25s ease;
}
.tai-nav-section.collapsed .tai-nav-section-body { max-height: 0 !important; }
.tai-nav-item {
display: flex;
align-items: center;
gap: 9px;
padding: 8px 16px;
cursor: pointer;
border-radius: 6px;
margin: 1px 8px;
color: var(--sidebar-text);
transition: background 0.15s;
user-select: none;
position: relative;
}
.tai-nav-item:hover  { background: var(--sidebar-hover); color: var(--sidebar-title); }
.tai-nav-item.active { background: rgba(31, 79, 209, 0.05); color: var(--blue); font-weight: 600; }
.dark-mode .tai-nav-item.active { background: rgba(255, 255, 255, 0.08); color: #60a5fa; }
.tai-nav-item .ni-icon  { font-size: 14px; flex-shrink: 0; width: 17px; text-align: center; }
.tai-nav-item.active .ni-label, .tai-nav-item.active .ni-icon { color: inherit; }
.tai-nav-item .ni-label { flex: 1; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tai-nav-item .ni-badge { background: #ef4444; color: #fff; border-radius: 8px; padding: 1px 5px; font-size: 10px; font-weight: 700; }
.tai-nav-item .ni-drag  { opacity: 0; cursor: grab; color: #6b7280; font-size: 11px; }
.tai-nav-item:hover .ni-drag { opacity: 1; }
.tai-nav-item .ni-pin   { opacity: 0; cursor: pointer; color: #f59e0b; font-size: 11px; }
.tai-nav-item:hover .ni-pin { opacity: 0.7; }
.tai-nav-item .ni-pin.pinned { opacity: 1; }
.tai-nav-item .ni-actions { display: flex; gap: 3px; opacity: 0; margin-left: auto; }
.tai-nav-item:hover .ni-actions { opacity: 1; }
.tai-nav-item .ni-act-btn {
background: none; border: none; cursor: pointer;
color: #9ca3af; padding: 1px 3px; border-radius: 3px; font-size: 11px;
}
.tai-nav-item .ni-act-btn:hover { background: rgba(255,255,255,0.1); color: #f9fafb; }
.tai-history-toggle-btn,
.tai-history-more-btn {
width: calc(100% - 16px);
margin: 6px 8px 0;
padding: 8px 10px;
border: 1px solid rgba(148,163,184,0.24);
border-radius: 10px;
background: rgba(255,255,255,0.04);
color: #cbd5e1;
font-size: 12px;
cursor: pointer;
}
.tai-history-toggle-btn:hover,
.tai-history-more-btn:hover { background: var(--sidebar-hover); color: var(--sidebar-title); }
.dark-mode .tai-history-more-btn,
.dark-mode .tai-history-toggle-btn {
background: rgba(255, 255, 255, 0.06) !important;
color: #e5e7eb !important;
border-color: rgba(148, 163, 184, 0.22) !important;
}
.dark-mode .tai-history-more-btn:hover,
.dark-mode .tai-history-toggle-btn:hover {
background: var(--sidebar-hover) !important;
color: var(--sidebar-title) !important;
} #tai-chat-sessions-modal {
display: none;
position: fixed;
inset: 0;
z-index: 400;
align-items: center;
justify-content: center;
padding: 16px;
box-sizing: border-box;
background: rgba(15, 23, 42, 0.48);
backdrop-filter: blur(4px);
}
#tai-chat-sessions-modal.tai-chat-sessions-modal--open {
display: flex;
}
.tai-chat-sessions-modal-panel {
width: min(440px, 100%);
max-height: min(78vh, 600px);
background: var(--sidebar-bg);
border: 1px solid var(--sidebar-border);
border-radius: 14px;
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
display: flex;
flex-direction: column;
overflow: hidden;
}
.tai-chat-sessions-modal-hd {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 12px 14px;
border-bottom: 1px solid var(--sidebar-border);
font-size: 14px;
font-weight: 700;
color: var(--sidebar-title);
flex-shrink: 0;
}
.tai-chat-sessions-modal-x {
border: none;
background: transparent;
color: var(--sidebar-muted);
font-size: 18px;
line-height: 1;
cursor: pointer;
padding: 4px 8px;
border-radius: 8px;
}
.tai-chat-sessions-modal-x:hover {
background: var(--sidebar-hover);
color: var(--sidebar-title);
}
.tai-chat-sessions-modal-body {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
padding: 0;
-webkit-overflow-scrolling: touch;
}
.tai-chat-sessions-modal-search-wrap {
flex-shrink: 0;
padding: 8px 12px 10px;
border-bottom: 1px solid var(--sidebar-border);
}
.tai-chat-sessions-modal-search {
width: 100%;
box-sizing: border-box;
padding: 8px 10px;
border: 1px solid var(--sidebar-border);
border-radius: 10px;
font-size: 13px;
background: var(--white);
color: var(--text);
}
.dark-mode .tai-chat-sessions-modal-search {
background: rgba(255, 255, 255, 0.06);
color: #e5e7eb;
border-color: rgba(148, 163, 184, 0.25);
}
.tai-chat-sessions-modal-search:focus {
outline: none;
border-color: rgba(96, 165, 250, 0.55);
}
.tai-chat-sessions-modal-list {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 6px 0 12px;
}
.tai-chat-sessions-modal-empty {
padding: 20px 14px;
text-align: center;
font-size: 13px;
color: var(--sidebar-muted);
}
#tai-chat-sessions-modal-list .tai-nav-item {
margin-left: 10px;
margin-right: 10px;
}
.tai-nav-subsection{margin:4px 0 6px}
.tai-nav-subheader{display:flex;align-items:center;justify-content:space-between;padding:6px 16px 4px;cursor:pointer;color:var(--sidebar-muted);font-size:12px;font-weight:600}
.dark-mode .tai-nav-subheader {
color: #cbd5e1;
} .dark-mode .tai-nav-subsection .tai-nav-item {
color: #eee !important;
}
.dark-mode .tai-nav-subsection .tai-nav-item:hover {
color: var(--sidebar-title) !important;
}
.dark-mode .tai-nav-subsection .tai-nav-item.active {
color: #60a5fa !important;
}
.dark-mode #tai-sec-chat .tai-nav-section-body .tai-nav-item,
.dark-mode #tai-sec-draw .tai-nav-section-body .tai-nav-item,
.dark-mode #tai-sec-super .tai-nav-section-body .tai-nav-item,
.dark-mode #tai-sec-docs .tai-nav-section-body .tai-nav-item,
.dark-mode #tai-chat-sessions-modal-list .tai-nav-item {
color: #eee !important;
}
.dark-mode #tai-sec-chat .tai-nav-section-body .tai-nav-item:hover,
.dark-mode #tai-sec-draw .tai-nav-section-body .tai-nav-item:hover,
.dark-mode #tai-sec-super .tai-nav-section-body .tai-nav-item:hover,
.dark-mode #tai-sec-docs .tai-nav-section-body .tai-nav-item:hover,
.dark-mode #tai-chat-sessions-modal-list .tai-nav-item:hover {
color: var(--sidebar-title) !important;
}
.dark-mode #tai-sec-chat .tai-nav-section-body .tai-nav-item.active,
.dark-mode #tai-sec-draw .tai-nav-section-body .tai-nav-item.active,
.dark-mode #tai-sec-super .tai-nav-section-body .tai-nav-item.active,
.dark-mode #tai-sec-docs .tai-nav-section-body .tai-nav-item.active,
.dark-mode #tai-chat-sessions-modal-list .tai-nav-item.active {
color: #60a5fa !important;
}
.tai-nav-subtoggle{font-size:10px;transition:transform .2s}
.tai-nav-subbody{overflow:hidden;transition:max-height .25s ease;max-height:1200px}
.tai-nav-subsection.collapsed .tai-nav-subbody{max-height:0}
.tai-nav-subsection.collapsed .tai-nav-subtoggle{transform:rotate(-90deg)}
.tai-nav-section-header-direct {
margin: 1px 8px;
border-radius: 6px;
background: transparent;
}
.tai-nav-section-header-direct:hover {
background: var(--sidebar-hover);
}
.tai-nav-section-header-direct .tai-nav-direct-label {
font-size: 13px;
color: var(--sidebar-text);
font-weight: 600;
letter-spacing: 0;
}
.tai-nav-section-header-direct.active {
background: rgba(31, 79, 209, 0.05);
}
.tai-nav-section-header-direct.active .tai-nav-direct-label {
color: var(--blue);
}
.dark-mode .tai-nav-section-header-direct.active {
background: rgba(255, 255, 255, 0.08);
}
.dark-mode .tai-nav-section-header-direct.active .tai-nav-direct-label {
color: #60a5fa;
} .tai-sidebar-footer { border-top: 1px solid var(--sidebar-border); flex-shrink: 0; }
.tai-user-btn {
display: flex; align-items: center; gap: 10px;
padding: 10px 14px; cursor: pointer;
transition: background 0.15s;
}
.tai-user-btn:hover { background: var(--sidebar-hover); }
.tai-user-avatar {
width: 32px; height: 32px; border-radius: 50%;
object-fit: cover; flex-shrink: 0;
background: var(--blue);
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 13px; font-weight: 600;
overflow: hidden;
}
.tai-user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tai-user-info { flex: 1; overflow: hidden; min-width: 0; }
.tai-user-name { font-size: 13px; color: var(--sidebar-title); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tai-user-credits { font-size: 11px; color: var(--sidebar-muted); }
.tai-user-chevron { color: var(--sidebar-muted); transition: transform 0.2s; font-size: 11px; }
.tai-user-chevron.open { transform: rotate(180deg); }
.tai-user-menu {
background: var(--sidebar-menu);
overflow: hidden;
max-height: 0;
transition: max-height 0.25s ease;
}
.tai-user-menu.open { max-height: 280px; }
.tai-user-menu-item {
display: flex; align-items: center; gap: 9px;
padding: 9px 14px 9px 22px;
cursor: pointer; color: var(--sidebar-text); font-size: 13px;
transition: background 0.15s;
}
.tai-user-menu-item:hover { background: var(--sidebar-hover); color: var(--sidebar-title); } .tai-topbar {
background: var(--topbar-bg);
border-bottom: 1px solid var(--topbar-border);
padding: 0 16px;
height: 48px;
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
}
.tai-topbar-title { font-size: 15px; font-weight: 600; color: var(--text); }
.tai-topbar-right { display: flex; align-items: center; gap: 8px; } .tai-all-apps-btn, .tai-theme-btn, .tai-lang-pill, .tai-topbar-credits {
height: 36px;
box-sizing: border-box;
border: 1px solid var(--border);
border-radius: 8px; background: var(--bg);
display: flex; align-items: center; justify-content: center;
cursor: pointer; transition: all 0.15s;
text-decoration: none;
box-shadow: 0 1px 3px rgba(0,0,0,0.02);
} .tai-all-apps-btn:hover, .tai-theme-btn:hover, .tai-lang-pill:hover, .tai-topbar-credits:hover {
background: #f8fafc;
border-color: #cbd5e1;
}
.dark-mode .tai-all-apps-btn:hover, .dark-mode .tai-theme-btn:hover, .dark-mode .tai-lang-pill:hover, .dark-mode .tai-topbar-credits:hover {
background: #1e293b;
border-color: #475569;
} .tai-all-apps-btn, .tai-theme-btn, .tai-lang-pill {
width: 36px;
min-width: 36px;
padding: 0;
}
.tai-topbar-credits {
padding: 0 12px;
color: var(--text2); font-size: 13px; font-weight: 600;
}
.tai-theme-btn {
font-size: 16px; color: var(--text2);
}
.tai-lang-pill {
font-size: 11px;
font-weight: 700;
color: var(--text2);
} .tai-all-apps-btn {
color: transparent !important;
position: relative;
overflow: hidden;
}
.tai-all-apps-btn::before {
content: "";
display: inline-block;
width: 20px;
height: 20px;
visibility: visible;
background: 
linear-gradient(#D4AF37, #D4AF37) 0 0,
linear-gradient(#D4AF37, #D4AF37) 11px 0,
linear-gradient(#D4AF37, #D4AF37) 0 11px,
linear-gradient(135deg, transparent 50%, #D4AF37 50%) 11px 11px; 
background-size: 9px 9px;
background-repeat: no-repeat;
border-radius: 2px;
position: absolute;
left: 50%; top: 50%;
transform: translate(-50%, -50%);
}
#tai-mobile-menu-btn {
display: none;
width: 34px; height: 34px;
border: 1px solid var(--border);
border-radius: 7px;
align-items: center; justify-content: center;
font-size: 16px; cursor: pointer;
background: var(--bg); color: var(--text);
} #tai-content {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
position: relative;
background: var(--content-bg);
} .tai-welcome {
display: flex; flex-direction: column;
align-items: center; justify-content: center;
height: 100%; padding: 40px 20px; text-align: center;
}
.tai-welcome-icon { font-size: 52px; margin-bottom: 14px; }
.tai-welcome h2  { font-size: 22px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.tai-welcome p   { color: var(--text2); max-width: 400px; line-height: 1.6; }
.tai-welcome-cards { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.tai-welcome-card {
padding: 14px 18px; background: var(--bg); border: 1px solid var(--border);
border-radius: var(--radius); cursor: pointer; transition: all 0.2s; text-align: left; min-width: 140px;
}
.tai-welcome-card:hover { border-color: var(--blue); background: var(--blue3); }
.dark-mode .tai-welcome-card:hover { background: rgba(26,86,219,0.2); }
.tai-welcome-card .wc-icon  { font-size: 20px; margin-bottom: 5px; }
.tai-welcome-card .wc-title { font-size: 13px; font-weight: 600; color: var(--text); }
.tai-welcome-card .wc-desc  { font-size: 12px; color: var(--text2); margin-top: 2px; } .tai-chat-wrap { display: flex; flex-direction: column; height: 100%; }
.tai-chat-session-bar {
display: none; align-items: center; justify-content: space-between; gap: 10px;
padding: 8px 16px; border-bottom: 1px solid var(--border);
background: var(--bg); color: var(--text2); font-size: 12px; flex-shrink: 0;
}
.tai-chat-session-id { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tai-chat-session-link-btn {
border: 1px solid var(--border); background: var(--content-bg); color: var(--text2);
border-radius: 999px; padding: 5px 10px; font-size: 12px; line-height: 1.2;
cursor: pointer; flex-shrink: 0;
}
.tai-chat-session-link-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue3); }
.tai-chat-messages {
flex: 1; overflow-y: auto; padding: 20px 16px;
display: flex; flex-direction: column; gap: 14px;
}
.tai-chat-messages::-webkit-scrollbar { width: 4px; }
.tai-chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.tai-msg { display: flex; gap: 10px; align-items: flex-start; }
.tai-msg.user { flex-direction: row-reverse; }
.tai-msg .avatar {
width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.tai-msg.user .avatar  { background: var(--blue); color: #fff; }
.tai-msg.ai   .avatar  { background: var(--msg-ai-bg); color: var(--text); font-size: 15px; }
.tai-msg-body { max-width: 72%; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.tai-msg.user .tai-msg-body { align-items: flex-end; }
.tai-msg .bubble {
max-width: 72%; padding: 10px 14px; border-radius: 12px;
font-size: 14px; line-height: 1.65; color: var(--text);
word-break: break-word; white-space: pre-wrap;
}
.tai-msg .tai-msg-body .bubble { max-width: 100%; }
.tai-msg.user .bubble { background: var(--msg-user-bg); color: #fff; border-bottom-right-radius: 3px; }
.tai-msg.ai   .bubble { background: var(--msg-ai-bg); border-bottom-left-radius: 3px; }
.tai-msg.ai   .bubble pre { background: #1f2937; color: #e5e7eb; padding: 10px; border-radius: 6px; overflow-x: auto; font-size: 12px; margin: 8px 0; }
.tai-msg.ai   .bubble code:not(pre code) { background: rgba(0,0,0,0.08); padding: 1px 5px; border-radius: 3px; font-size: 12px; }
.dark-mode .tai-msg.ai .bubble code:not(pre code) { background: rgba(255,255,255,0.1); }
.tai-msg.ai   .bubble p  { margin: 0 0 8px; }
.tai-msg.ai   .bubble p:last-child { margin: 0; }
.tai-msg-actions { display: flex; gap: 6px; opacity: 0; transition: opacity 0.15s ease; }
.tai-msg:hover .tai-msg-actions,
.tai-msg:focus-within .tai-msg-actions { opacity: 1; }
.tai-msg-action {
border: 1px solid var(--border); background: var(--content-bg); color: var(--text2);
border-radius: 999px; padding: 3px 8px; font-size: 11px; line-height: 1.2;
cursor: pointer; box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.tai-msg-action:hover { border-color: var(--blue); color: var(--blue); background: var(--blue3); }
.dark-mode .tai-msg-action { background: rgba(255,255,255,0.06); }
@media (hover: none) {
.tai-msg-actions { opacity: 1; }
}
.tai-typing { display: flex; gap: 4px; padding: 4px 0; }
.tai-typing span { width: 6px; height: 6px; background: #9ca3af; border-radius: 50%; animation: tai-bounce 1.2s ease-in-out infinite; }
.tai-typing span:nth-child(2) { animation-delay: 0.2s; }
.tai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tai-bounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-5px)} }
.tai-chat-cost-bar {
padding: 4px 16px; font-size: 11px; color: var(--text2);
background: var(--bg); border-top: 1px solid var(--border);
text-align: right; flex-shrink: 0;
} .tai-chat-input-area {
padding: 10px 14px; 
padding-bottom: calc(10px + env(safe-area-inset-bottom));
background: var(--content-bg);
border-top: 1px solid var(--border); flex-shrink: 0;
}
.tai-chat-input-row { display: flex; gap: 8px; align-items: flex-end; } .tai-chat-model-custom {
order: 2;
position: relative;
flex-shrink: 0;
width: min(46vw, 280px);
min-width: 200px;
max-width: 320px;
align-self: flex-end;
}
.tai-chat-model-native {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
opacity: 0;
pointer-events: none;
}
.tai-chat-model-trigger {
width: 100%;
min-height: 42px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 10px;
font-size: 12px;
background: var(--bg);
color: var(--text);
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
text-align: left;
transition: border-color 0.15s, background 0.15s;
white-space: nowrap;
-webkit-appearance: none;
appearance: none;
}
.tai-chat-model-trigger:hover:not(:disabled) {
border-color: var(--blue);
}
.tai-chat-model-trigger:focus {
outline: none;
border-color: var(--blue);
}
.tai-chat-model-trigger:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.tai-chat-model-label {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 1.25;
}
.tai-chat-model-caret {
flex-shrink: 0;
font-size: 10px;
opacity: 0.65;
transition: transform 0.2s;
}
.tai-chat-model-trigger[aria-expanded="true"] .tai-chat-model-caret {
transform: rotate(180deg);
}
.tai-chat-model-panel {
display: none;
position: absolute;
left: 0;
right: 0;
bottom: 100%;
margin-bottom: 6px;
max-height: min(240px, 42vh);
overflow-y: auto;
z-index: 60;
padding: 5px;
border-radius: 10px;
border: 1px solid var(--border);
background: var(--white);
box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.14);
}
.dark-mode .tai-chat-model-panel {
background: var(--input-bg);
box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.45);
}
.tai-chat-model-panel.tai-chat-model-panel--open {
display: block;
}
.tai-chat-model-item {
display: block;
width: 100%;
padding: 8px 10px;
margin: 0;
border: none;
border-radius: 7px;
background: transparent;
font-size: 12px;
color: var(--text);
text-align: left;
cursor: pointer;
transition: background 0.12s;
}
.tai-chat-model-item:hover {
background: rgba(148, 163, 184, 0.16);
}
.dark-mode .tai-chat-model-item:hover {
background: rgba(255, 255, 255, 0.08);
}
.tai-chat-model-item--active {
font-weight: 700;
background: rgba(31, 79, 209, 0.08);
}
.dark-mode .tai-chat-model-item--active {
background: rgba(96, 165, 250, 0.12);
} #tianyin-app-root.dark-mode .tai-chat-model-trigger {
background-color: rgba(30, 41, 59, 0.92) !important;
color: #e5e7eb !important;
border-color: rgba(148, 163, 184, 0.35) !important;
box-shadow: none;
}
#tianyin-app-root.dark-mode .tai-chat-model-trigger:hover:not(:disabled) {
background-color: rgba(51, 65, 85, 0.95) !important;
border-color: rgba(96, 165, 250, 0.45) !important;
}
#tianyin-app-root.dark-mode .tai-chat-model-item {
color: #e5e7eb !important;
background: transparent !important;
}
#tianyin-app-root.dark-mode .tai-chat-send-btn {
background-color: rgba(30, 41, 59, 0.92) !important;
color: #e5e7eb !important;
border-color: rgba(148, 163, 184, 0.35) !important;
box-shadow: none;
-webkit-appearance: none;
appearance: none;
}
#tianyin-app-root.dark-mode .tai-chat-send-btn:hover {
background-color: rgba(51, 65, 85, 0.95) !important;
color: #93c5fd !important;
border-color: rgba(96, 165, 250, 0.5) !important;
}
#tianyin-app-root.dark-mode .tai-chat-send-btn:disabled {
background-color: rgba(15, 23, 42, 0.65) !important;
color: #64748b !important;
border-color: rgba(71, 85, 105, 0.5) !important;
}
#tianyin-app-root.dark-mode .tai-chat-stop-btn {
background: rgba(127, 29, 29, 0.85) !important;
color: #fecaca !important;
border: 1px solid rgba(248, 113, 113, 0.35);
-webkit-appearance: none;
appearance: none;
}
#tianyin-app-root.dark-mode .tai-chat-stop-btn:hover {
background: rgba(153, 27, 27, 0.9) !important;
}
.tai-chat-textarea {
flex: 1; padding: 9px 12px; border: 1px solid var(--border);
border-radius: 10px; font-size: 14px; line-height: 1.5;
resize: none; min-height: 42px; max-height: 150px;
font-family: inherit; background: var(--input-bg); color: var(--text);
transition: border-color 0.2s; overflow-y: auto;
}
.tai-chat-textarea:focus { outline: none; border-color: var(--blue); }
.tai-chat-send-btn {
order: 3;
width: 42px;
height: 42px;
background: #ffffff;
color: var(--text);
border: 1px solid var(--border);
border-radius: 8px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 15px;
flex-shrink: 0;
transition: background 0.2s, border-color 0.2s, color 0.2s;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
-webkit-appearance: none;
appearance: none;
}
.tai-chat-send-btn:hover {
background: #f8fafc;
border-color: var(--blue);
color: var(--blue);
}
.tai-chat-send-btn:disabled {
background: #e5e7eb;
color: #9ca3af;
border-color: #d1d5db;
cursor: not-allowed;
box-shadow: none;
}
.tai-chat-stop-btn {
order: 3;
width: 42px;
height: 42px;
background: #ef4444;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
flex-shrink: 0;
-webkit-appearance: none;
appearance: none;
} .tai-panel-scroll { padding: 18px; overflow-y: auto; height: 100%; }
.tai-rh-scroll { padding-bottom: 128px; }  .tai-rh-container { max-width: 1100px; margin: 0 auto; font-size: 15px; transition: margin 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.tai-rh-container .tai-field label{ font-size: 13px; }
.tai-rh-container .tai-field-desc{ font-size: 13px; }
.tai-rh-container .tai-field select,
.tai-rh-container .tai-field input[type="number"],
.tai-rh-container .tai-field textarea{ font-size: 14px; } .tai-form-card {
background: var(--white);
border: 1px solid var(--border);
border-radius: 14px;
padding: 14px 14px 30px;
margin-bottom: 12px;
box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}
.dark-mode .tai-form-card { background: rgba(255,255,255,0.04); box-shadow: 0 10px 28px rgba(0,0,0,0.22); }
.tai-form-card-hd {
font-size: 12px;
font-weight: 800;
color: var(--text2);
margin-bottom: 10px;
letter-spacing: 0.02em;
display: flex;
align-items: center;
gap: 8px;
padding: 8px 10px;
border-radius: 12px;
background: rgba(148,163,184,0.14);
border: 1px solid rgba(148,163,184,0.18);
}
.dark-mode .tai-form-card-hd{
background: rgba(148,163,184,0.10);
border-color: rgba(148,163,184,0.16);
}
.tai-form-card-hd::before{
content:'';
width: 10px;
height: 10px;
border-radius: 6px;
background: linear-gradient(180deg, rgba(31,79,209,0.55), rgba(31,79,209,0.15));
border: 1px solid rgba(31,79,209,0.25);
}
.dark-mode .tai-form-card-hd::before{
background: linear-gradient(180deg, rgba(147,197,253,0.45), rgba(147,197,253,0.12));
border-color: rgba(147,197,253,0.20);
} .tai-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px 28px;
position: relative;
justify-items: stretch; }
@media (min-width: 1100px) {
.tai-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tai-form-grid .tai-field { margin-bottom: 0; }
.tai-form-grid .tai-field { width: 100%; }
.tai-form-card:not(.tai-form-card--full) .tai-form-grid { justify-items: stretch; }
.tai-form-card:not(.tai-form-card--full) .tai-form-grid .tai-field:not(.tai-field--wide) {
max-width: 420px;
margin-left: auto;
margin-right: auto;
}
.tai-field--wide { grid-column: 1 / -1; }
.tai-field--wide { max-width: 100% !important; }
.tai-field--wide textarea { display:block; width: 100% !important; max-width: 100% !important; } .tai-form-card--full .tai-form-grid { justify-items: stretch; }
.tai-form-card--full .tai-form-grid .tai-field { max-width: none !important; }
.tai-form-card--full .tai-form-grid::before { display:none; } .tai-form-card[data-count="2"] .tai-form-grid { justify-items: stretch; }
.tai-form-card[data-count="2"] .tai-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.tai-form-card[data-count="2"] .tai-form-grid .tai-field { max-width: none !important; }
.tai-form-card[data-count="2"] .tai-form-grid::before { display: none; }  .tai-form-card[data-count="1"] .tai-form-grid{
grid-template-columns: 1fr !important;
justify-items: stretch;
}
.tai-form-card[data-count="1"] .tai-form-grid .tai-field{
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
} .tai-form-grid::before{
content:'';
position:absolute;
top: 6px;
bottom: 6px;
left: 50%;
width: 28px; transform: translateX(-14px);
pointer-events:none;
background: linear-gradient(90deg, rgba(15,23,42,0.00), rgba(15,23,42,0.06), rgba(15,23,42,0.00));
filter: blur(0.2px);
border-radius: 999px;
}
.dark-mode .tai-form-grid::before{
background: linear-gradient(90deg, rgba(148,163,184,0.00), rgba(148,163,184,0.10), rgba(148,163,184,0.00));
}
@media (min-width: 1100px) {
.tai-form-grid::before { display:none; } } .tai-rh-cards-grid{
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
justify-items: center;
}
.tai-rh-cards-grid .tai-form-card{
width: 100%;
max-width: 440px;
}
.tai-rh-cards-grid .tai-form-card.tai-form-card--full{
grid-column: 1 / -1;
max-width: 900px;
}
.tai-rh-cards-grid.single{
grid-template-columns: 1fr;
}
.tai-rh-cards-grid.single .tai-form-card{
max-width: 900px;
}
@media (max-width: 920px){
.tai-rh-cards-grid{ grid-template-columns: 1fr; }
.tai-rh-cards-grid .tai-form-card{ max-width: 900px; }
} .tai-rh-actions {
position: fixed;
bottom: 0;
left: 260px; right: 0;
padding: 14px 18px 18px;
background: transparent; border-top: 1px solid rgba(148,163,184,0.25);
backdrop-filter: blur(10px);
z-index: 30;
padding-bottom: calc(18px + env(safe-area-inset-bottom));
pointer-events: none; }
@media (max-width: 768px){
.tai-rh-actions{ left: 0; }
}
.dark-mode .tai-rh-actions {
background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(23,27,34,0.76) 35%, rgba(23,27,34,0.96) 100%);
border-top-color: rgba(148,163,184,0.18);
}
.tai-rh-actions-inner {
max-width: 760px; margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
border-radius: 16px;
background: rgba(255, 252, 253, 0.88);
border: 1px solid rgba(148,163,184,0.18);
box-shadow: 0 12px 32px rgba(15,23,42,0.07);
pointer-events: auto;
}
.dark-mode .tai-rh-actions-inner{
background: rgba(255, 245, 248, 0.06);
border-color: rgba(148,163,184,0.14);
box-shadow: 0 14px 40px rgba(0,0,0,0.32);
}
.tai-rh-cost { font-size: 13px; color: #6b7280; font-weight: 700; }
.dark-mode .tai-rh-cost{ color: rgba(255,255,255,0.92); }
.tai-rh-btns { display: flex; align-items: center; gap: 10px; }
.tai-rh-submit { width: auto; min-width: 240px; font-size: 22px; padding: 14px 20px; border-radius: 14px; }
.tai-rh-abort { width: auto; min-width: 140px; margin-top: 0; } .tai-submit-btn.green.tai-rh-submit{
background: rgba(255, 228, 238, 0.88);
color: rgba(17,24,39,0.88);
}
.tai-submit-btn.green.tai-rh-submit:hover{
background: rgba(255, 218, 232, 0.95);
}
.dark-mode .tai-submit-btn.green.tai-rh-submit{
background: rgba(255, 218, 232, 0.12);
color: rgba(255,255,255,0.9);
}
.dark-mode .tai-submit-btn.green.tai-rh-submit:hover{
background: rgba(255, 218, 232, 0.18);
} .tai-upload-placeholder.tai-media-square,
.tai-upload-placeholder.tai-audio-square {
box-sizing: border-box;
border-style: dashed;
border-color: rgba(148, 163, 184, 0.45);
background: rgba(148, 163, 184, 0.06);
}
.dark-mode .tai-upload-placeholder.tai-media-square,
.dark-mode .tai-upload-placeholder.tai-audio-square {
border-color: rgba(148, 163, 184, 0.28);
background: rgba(148, 163, 184, 0.05);
}
.tai-custom-upload {
cursor: pointer;
display: inline-block;
transition: all 0.2s ease;
}
.tai-upload-placeholder {
display: flex;
align-items: center;
justify-content: center;
transition: border-color 0.2s, background 0.2s;
}
.tai-custom-upload:hover .tai-upload-placeholder {
border-color: var(--blue);
background: rgba(31, 79, 209, 0.04);
}
.dark-mode .tai-custom-upload:hover .tai-upload-placeholder {
background: rgba(96, 165, 250, 0.08);
}
.tai-upload-plus {
font-size: 32px;
font-weight: 300;
color: var(--text2);
opacity: 0.6;
transition: transform 0.2s, opacity 0.2s, color 0.2s;
}
.tai-custom-upload:hover .tai-upload-plus {
opacity: 1;
transform: scale(1.15);
color: var(--blue);
}
.dark-mode .tai-custom-upload:hover .tai-upload-plus {
color: #93c5fd;
}
.tai-app-desc-inner {
margin: 0;
width: 100%;
font-size: 13px;
color: var(--text2);
line-height: 1.55;
white-space: pre-line;
min-height: 4.65em;
max-height: 420px;
overflow-y: auto;
} .tai-upload-preview { position: relative; }
.tai-upload-preview-inner{
position: relative;
display: inline-block;
}
.tai-upload-preview img,
.tai-upload-preview video{
display:block;
margin: 0 auto;
} .tai-media-square{
width: 220px;
height: 220px;
border-radius: 12px;
border: 1px solid var(--border);
overflow: hidden;
background: rgba(148,163,184,0.10);
position: relative;
}
.dark-mode .tai-media-square{ background: rgba(148,163,184,0.08); }
.tai-media-square img,
.tai-media-square video{
width: 100%;
height: 100%;
object-fit: cover;
display: block;
background: #000;
}
.tai-audio-square{
width: 220px;
height: 220px;
border-radius: 12px;
border: 1px solid var(--border);
overflow: hidden;
background: rgba(148,163,184,0.10);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px;
text-align: center;
color: var(--text2);
}
.dark-mode .tai-audio-square{ background: rgba(148,163,184,0.08); }
.tai-audio-square .ico{ font-size: 34px; }
.tai-audio-square .fn{ font-size: 12px; font-weight: 700; color: var(--text); word-break: break-all; }
.tai-upload-ring {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
}
.tai-upload-ring-svg {
width: 54px;
height: 54px;
transform: rotate(-90deg);
filter: drop-shadow(0 6px 16px rgba(15,23,42,0.20));
}
.tai-upload-ring-bg {
fill: rgba(0,0,0,0.22);
stroke: rgba(255,255,255,0.18);
stroke-width: 4;
}
.tai-upload-ring-fg {
fill: none;
stroke: rgba(251,146,60,0.92); stroke-width: 4;
stroke-linecap: round;
stroke-dasharray: 113.097; stroke-dashoffset: 113.097;
}  .tai-upload-remove {
position: absolute;
top: 8px;
right: 8px;
width: 24px;
height: 24px;
background: rgba(0, 0, 0, 0.5);
color: #fff !important;
border-radius: 12px;
border: none;
font-size: 16px;
font-weight: 400;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
line-height: 1;
z-index: 20;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
transition: all 0.2s;
}
.tai-upload-remove:hover {
background: rgba(0, 0, 0, 0.8) !important;
transform: scale(1.1);
}
.dark-mode .tai-upload-remove {
background: rgba(255, 255, 255, 0.2);
}
.dark-mode .tai-upload-remove:hover {
background: rgba(255, 255, 255, 0.3) !important;
}
.tai-field { margin-bottom: 13px; }
.tai-field label { display: block; font-size: var(--font-size-label, 12px); font-weight: 600; color: var(--text2); margin-bottom: 4px; }
.tai-field-desc { font-size: var(--font-size-desc, 12px); color: var(--text2); margin-bottom: 5px; line-height: 1.5; }
.tai-field select, .tai-field input[type="number"], .tai-field input[type="text"], .tai-field textarea {
width: 100%; padding: 8px 10px;
border: 1px solid var(--border); border-radius: 7px;
font-size: 13px; background: var(--bg); color: var(--text);
transition: border-color 0.15s;
} .tai-field select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 8px 30px 8px 10px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
background-color: var(--bg);
}
.dark-mode .tai-field select {
color: #e5e7eb;
background-color: var(--input-bg);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
border-color: var(--border);
}
.tai-field select:focus, .tai-field input[type="number"]:focus, .tai-field textarea:focus { outline: none; border-color: var(--blue); }
.tai-field textarea { resize: vertical; font-family: inherit; }
.tai-draw-prompt {
width: 100%; padding: 10px 12px;
border: 1px solid var(--border); border-radius: 10px;
font-size: 14px; line-height: 1.5; resize: vertical; min-height: 90px;
font-family: inherit; background: var(--bg); color: var(--text);
margin-bottom: 12px;
}
.tai-draw-prompt:focus { outline: none; border-color: var(--blue); }
.tai-draw-controls { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.tai-upload-area {
background: var(--bg); border: 1px dashed var(--border);
border-radius: 8px; padding: 11px 13px; margin-bottom: 12px;
}
.tai-upload-area .ul { font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 7px; display: block; }
.tai-upload-row { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.tai-upload-row input[type="file"] { flex: 1; font-size: 12px; color: var(--text); }
.tai-rm-btn { background: #fee2e2; color: #dc2626; border: none; border-radius: 4px; padding: 3px 7px; font-size: 11px; cursor: pointer; flex-shrink: 0; }
.tai-add-file-btn { background: none; border: 1px dashed var(--border); border-radius: 4px; padding: 4px 11px; font-size: 12px; cursor: pointer; color: var(--text2); margin-top: 3px; }
.tai-add-file-btn:hover { border-color: var(--blue); color: var(--blue); }
.tai-cost-hint { font-size: 12px; color: var(--text2); margin-bottom: 10px; }
.tai-submit-btn {
width: 100%; padding: 10px 14px; background: var(--blue); color: #fff;
border: none; border-radius: 8px; font-size: 13px; font-weight: 600;
cursor: pointer; transition: background 0.2s;
}
.tai-submit-btn:hover    { background: var(--blue2); }
.tai-submit-btn:disabled { background: #9ca3af; cursor: not-allowed; }
.tai-submit-btn.green    { background: var(--green); }
.tai-submit-btn.green:hover { background: #0d4a29; } .tai-abort-btn {
width: 100%; padding: 9px; background: #fee2e2; color: #dc2626;
border: 1px solid #fca5a5; border-radius: 8px; font-size: 13px; font-weight: 600;
cursor: pointer; margin-top: 6px; display: none;
}
.tai-abort-btn.show { display: block; } .tai-app-cover-card {
position: relative;
background: transparent;
border: none;
border-radius: 14px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0,0,0,0.2);
margin-bottom: 22px;
width: 100%;
overflow: hidden;
}
.dark-mode .tai-app-cover-card {
background: transparent;
border: none;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(0,0,0,0.4);
}
.tai-app-cover-card img, 
.tai-app-cover-card video { 
width: 100%; 
max-height: 420px; 
object-fit: cover; 
display: block; 
border-radius: 14px; 
}
.tai-app-header      { padding: 4px 0 14px; }
.tai-app-header h3   { margin: 0; font-size: 18px; font-weight: 800; color: var(--text); }
.tai-app-header p    { margin: 0; font-size: 12px; color: var(--text2); }
.tai-cost-bar {
padding: 8px 18px; background: var(--blue3); border-radius: 6px;
font-size: 12px; color: var(--blue2); margin-bottom: 14px;
display: flex; align-items: center; justify-content: space-between;
}
.dark-mode .tai-cost-bar { background: rgba(26,86,219,0.15); color: #93c5fd; } .tai-history { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.tai-hist-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--white); }
.tai-hist-hd {
background: linear-gradient(135deg, #f8fbff, #eef4ff); color: var(--text);
padding: 7px 13px; font-size: 12px;
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px;
border-bottom: 1px solid var(--border);
}
.tai-hist-body { padding: 10px; text-align: center; }
.tai-hist-body img { max-width: 100%; border-radius: 6px; cursor: zoom-in; }
.tai-hist-body video { max-width: 100%; border-radius: 6px; }
.tai-loading-wrap { padding: 18px; text-align: center; color: var(--text2); font-size: 13px; }
.tai-pb-wrap { width: 100%; background: var(--border); border-radius: 3px; height: 4px; margin: 7px 0; overflow: hidden; }
.tai-pb-inner { height: 4px; background: var(--blue); border-radius: 3px; animation: taipb 2s ease-in-out infinite; }
@keyframes taipb { 0%{width:5%} 50%{width:72%} 100%{width:5%} }
.tai-hist-meta { font-size: 11px; color: var(--text2); margin-top: 5px; text-align: left; }
.tai-hist-actions { display: flex; gap: 6px; margin-top: 7px; }
.tai-hist-actions a, .tai-hist-actions button {
flex: 1; text-align: center; padding: 5px; border-radius: 5px;
font-size: 12px; cursor: pointer; text-decoration: none; border: none;
}
.btn-dl  { background: #f3f4f6; color: #111827; border: 1px solid #d1d5db !important; text-decoration: none !important; }
.btn-dl:hover { background: #e5e7eb; color: #111827; text-decoration: none !important; }
.btn-del { background: var(--bg); color: var(--text2); border: 1px solid var(--border) !important; }
.btn-del:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5 !important; } .tai-user-panel { padding: 18px; }
.tai-series-panel { max-width: 980px; margin: 0 auto; }
.tai-series-form .tai-field textarea { width: 100%; min-height: 92px; }
.tai-series-actions { margin-top: 10px; display: flex; gap: 8px; }
.tai-series-result-wrap {
margin-top: 14px;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--white);
padding: 10px;
}
.tai-series-result-hd {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
font-size: 12px;
color: var(--text2);
margin-bottom: 8px;
}
.tai-series-result {
margin: 0;
max-height: 460px;
overflow: auto;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg);
padding: 10px;
font-size: 12px;
line-height: 1.5;
}
.tai-series-tips {
margin-top: 10px;
font-size: 12px;
color: var(--text2);
}
.tai-credits-cards { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tai-credit-card {
flex: 1; min-width: 120px; padding: 14px; border: 1px solid var(--border);
border-radius: 8px; background: var(--bg); text-align: center;
}
.tai-credit-card .cc-val   { font-size: 24px; font-weight: 700; color: var(--blue); }
.tai-credit-card .cc-label { font-size: 11px; color: var(--text2); margin-top: 2px; }
.tai-credit-card.monthly .cc-val { color: var(--green); } .tai-plans-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 10px; margin-bottom: 18px; }
.tai-plan-card {
border: 2px solid var(--border); border-radius: 9px;
padding: 14px; cursor: pointer; transition: all 0.2s;
position: relative; background: var(--white);
}
.tai-plan-card:hover   { border-color: var(--blue); }
.tai-plan-card.selected{ border-color: var(--blue); background: var(--blue3); }
.dark-mode .tai-plan-card.selected { background: rgba(26,86,219,0.15); }
.tai-plan-card.monthly-plan { border-color: #bbf7d0; }
.tai-plan-card.monthly-plan.selected { border-color: var(--green); background: #f0fff4; }
.dark-mode .tai-plan-card.monthly-plan.selected { background: rgba(26,107,60,0.15); }
.tai-plan-badge { position: absolute; top:-1px; right:9px; background:var(--green); color:#fff; font-size:10px; padding:2px 7px; border-radius:0 0 5px 5px; }
.tai-plan-name    { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.tai-plan-credits { font-size: 22px; font-weight: 800; color: var(--blue); }
.tai-plan-credits.monthly { color: var(--green); }
.tai-plan-unit    { font-size: 11px; color: var(--text2); margin-bottom: 7px; }
.tai-plan-price   { font-size: 17px; font-weight: 700; color: var(--text); }
.tai-plan-desc    { font-size: 11px; color: var(--text2); margin-top: 3px; }
.tai-currency-toggle { display: flex; gap: 6px; margin-bottom: 13px; }
.tai-cur-btn { padding: 5px 13px; border: 1px solid var(--border); border-radius: 20px; cursor: pointer; font-size: 12px; background: var(--bg); color: var(--text); transition: all 0.15s; }
.tai-cur-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); } .tai-recharge-page { max-width: 1120px; margin: 0 auto; padding: 20px 22px 28px; }
.tai-recharge-hero {
background: linear-gradient(130deg, rgba(31,79,209,0.10), rgba(29,106,71,0.09));
border: 1px solid rgba(31,79,209,0.16);
border-radius: 16px;
padding: 18px 20px;
margin-bottom: 16px;
}
.tai-recharge-title { font-size: 24px; font-weight: 800; color: var(--text); line-height: 1.25; }
.tai-recharge-sub { font-size: 14px; color: var(--text2); margin-top: 7px; }
.tai-recharge-page .tai-currency-toggle { gap: 10px; margin-bottom: 16px; }
.tai-recharge-page .tai-cur-btn { padding: 8px 16px; font-size: 13px; border-radius: 999px; }
.tai-recharge-page .tai-paym-btn { padding: 8px 16px; font-size: 13px; border-radius: 999px; border: 1px solid var(--border); cursor: pointer; background: var(--bg); color: var(--text); transition: all 0.15s; }
.tai-recharge-page .tai-paym-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tai-recharge-page .tai-paym-btn[disabled] { opacity: .55; cursor: not-allowed; }
.tai-recharge-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tai-recharge-actions .tai-recharge-cta { flex: 1 1 260px; max-width: none; }
.tai-recharge-actions .tai-recharge-cta.alt { background: #0f766e; }
.tai-recharge-actions .tai-recharge-cta.alt:hover { background: #115e59; }
.tai-plan-section { margin-bottom: 16px; }
.tai-plan-sec-title { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.tai-recharge-page .tai-plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 0; }
.tai-recharge-page .tai-plan-card {
border-width: 2px;
border-radius: 14px;
padding: 18px 16px 14px;
min-height: 208px;
box-shadow: 0 6px 20px rgba(17,24,39,0.04);
}
.tai-recharge-page .tai-plan-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(17,24,39,0.10); }
.tai-recharge-page .tai-plan-badge { font-size: 11px; padding: 3px 8px; border-radius: 0 0 8px 8px; }
.tai-recharge-page .tai-plan-badge.permanent { background: var(--blue); }
.tai-recharge-page .tai-plan-name { font-size: 16px; margin-bottom: 7px; }
.tai-recharge-page .tai-plan-credits { font-size: 34px; line-height: 1.05; }
.tai-recharge-page .tai-plan-unit { font-size: 13px; margin-bottom: 10px; }
.tai-recharge-page .tai-plan-price { font-size: 24px; margin-bottom: 2px; }
.tai-recharge-page .tai-plan-desc { font-size: 13px; line-height: 1.45; margin-top: 6px; }
.tai-plan-empty {
grid-column: 1 / -1;
border: 1px dashed var(--border);
border-radius: 12px;
padding: 20px;
text-align: center;
color: var(--text2);
font-size: 14px;
background: var(--bg);
}
.tai-recharge-cta { margin-top: 12px; max-width: 420px; font-size: 16px; padding: 12px 18px; border-radius: 12px; }
@media (max-width: 1024px) {
.tai-recharge-page .tai-plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
.tai-recharge-page { padding: 14px 10px 22px; }
.tai-recharge-title { font-size: 20px; }
.tai-plan-sec-title { font-size: 16px; }
.tai-recharge-page .tai-plans-grid { grid-template-columns: 1fr; }
.tai-recharge-page .tai-plan-credits { font-size: 30px; }
.tai-recharge-page .tai-plan-price { font-size: 22px; }
} .tai-pay-overlay {
display: none; position: fixed; z-index: 99998;
top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0,0,0,0.5);
justify-content: center; align-items: center;
}
.tai-pay-overlay.on { display: flex; }
.tai-pay-modal {
background: #fff; border-radius: 12px; padding: 22px;
width: 90%; max-width: 400px; position: relative;
box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.tai-pay-close { position: absolute; top: 11px; right: 13px; font-size: 18px; cursor: pointer; color: #9ca3af; background: none; border: none; }
.tai-pay-title  { font-size: 15px; font-weight: 700; margin-bottom: 3px; color: #111827; }
.tai-pay-amount { font-size: 13px; color: #6b7280; margin-bottom: 14px; }
#tai-payment-element { margin-bottom: 13px; min-height: 80px; }
.tai-pay-btn {
width: 100%; padding: 10px; background: var(--blue); color: #fff;
border: none; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.tai-pay-btn:hover    { background: var(--blue2); }
.tai-pay-btn:disabled { background: #9ca3af; cursor: not-allowed; }
.tai-pay-msg { text-align: center; font-size: 12px; margin-top: 7px; min-height: 16px; }
.tai-pay-success { text-align: center; padding: 12px; }
.tai-pay-success .sicon { font-size: 40px; margin-bottom: 8px; }
.tai-pay-success h3 { color: var(--green); margin: 0 0 6px; font-size: 16px; } .tai-docs-wrap { display: grid; grid-template-columns: 320px 1fr; grid-template-rows: auto 1fr; gap: 14px; height: calc(100vh - 120px); min-height: 560px; }
.tai-docs-topbar {
grid-column: 1 / -1;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: nowrap;
border: 1px solid var(--border);
border-radius: 12px;
background: var(--white);
padding: 10px 12px;
position: relative;
z-index: 2;
}
.tai-docs-side {
border: 1px solid var(--border);
border-radius: 12px;
background: var(--white);
display: flex;
flex-direction: column;
overflow: hidden;
}
.tai-docs-search {
width: 280px;
flex: 0 1 320px;
min-width: 180px;
max-width: 100%;
border: 1px solid var(--border);
border-radius: 10px;
padding: 8px 12px;
font-size: 13px;
color: var(--text);
background: var(--white);
}
.tai-docs-list { flex: 1; overflow: auto; padding: 8px; }
.tai-doc-item {
border: 1px solid var(--border);
border-radius: 10px;
background: var(--white);
padding: 10px 12px;
margin-bottom: 8px;
cursor: pointer;
transition: all .16s ease;
}
.tai-doc-item:hover { border-color: var(--blue); transform: translateY(-1px); }
.tai-doc-item.active { border-color: var(--blue); background: var(--blue3); }
.tai-doc-item-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; }
.tai-doc-item-desc { font-size: 12px; color: var(--text2); margin-top: 5px; line-height: 1.45; max-height: 36px; overflow: hidden; }
.tai-doc-item-time { font-size: 11px; color: var(--text2); margin-top: 6px; }
.tai-doc-kind-tabs { display: flex; gap: 8px; margin-bottom: 0; flex: 0 0 auto; white-space: nowrap; }
.tai-doc-kind-tabs a {
display: inline-block;
padding: 5px 10px;
border: 1px solid var(--border);
border-radius: 999px;
text-decoration: none !important;
font-size: 12px;
color: var(--text2);
box-shadow: none;
white-space: nowrap;
}
.tai-doc-kind-tabs a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tai-doc-tag-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tai-doc-tag-title { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--text2); letter-spacing: .04em; }
.tai-doc-tag-link {
display: block;
border: 1px solid var(--border);
border-radius: 10px;
text-decoration: none;
background: #fff;
color: var(--text2);
padding: 8px 6px;
font-size: 12px;
line-height: 1.25;
text-align: center;
word-break: break-word;
}
.tai-doc-tag-link:hover { border-color: #93c5fd; color: #1d4ed8; }
.tai-doc-tag-link.active { border-color: #1d4ed8; background: #eff6ff; color: #1d4ed8; }
.tai-prompt-masonry { column-count: 3; column-gap: 14px; position: relative; z-index: 1; }
.tai-prompt-card {
break-inside: avoid;
margin-bottom: 12px;
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
background: #fff;
cursor: pointer;
pointer-events: auto;
position: relative;
z-index: 1;
}
.tai-prompt-fav-btn {
position: absolute;
top: 8px;
right: 8px;
width: 26px;
height: 26px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.85);
background: rgba(255,255,255,0.92);
color: #ef4444;
cursor: pointer;
line-height: 1;
font-size: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.dark-mode .tai-prompt-fav-btn {
border-color: rgba(51,65,85,0.9);
background: rgba(15,23,42,0.9);
color: #f87171;
}
.tai-prompt-card-cover img { width: 100%; display: block; object-fit: cover; background: #fff; }
.tai-prompt-card-empty { height: 140px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--text2); }
.tai-prompt-card-main { padding: 12px; }
.tai-prompt-card-title {
font-size: 18px;
font-weight: 800;
color: #0f172a;
line-height: 1.35;
letter-spacing: 0.01em;
text-shadow: 0 1px 0 rgba(255,255,255,0.85);
}
.tai-prompt-card-meta { margin-top: 4px; font-size: 12px; color: var(--text2); }
.tai-prompt-card-tag { margin-top: 6px; font-size: 11px; color: #7c3aed; }
.tai-doc-prompt-modal { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 18px; }
.tai-doc-prompt-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,0.66); }
.tai-doc-prompt-panel {
position: relative;
width: min(1060px, 96vw);
max-height: 90vh;
overflow: auto;
background: #fff;
border: 1px solid var(--border);
border-radius: 14px;
padding: 18px;
}
.tai-prompt-detail { background: #fff; }
.tai-doc-prompt-close {
position: sticky;
top: 0;
float: right;
z-index: 2;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg2);
color: var(--text2);
padding: 4px 10px;
cursor: pointer;
}
.tai-doc-prompt-full {
position: sticky;
top: 0;
float: right;
margin-right: 8px;
z-index: 2;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--bg2);
color: var(--text2);
padding: 4px 10px;
cursor: pointer;
}
.tai-doc-prompt-modal.is-fullscreen .tai-doc-prompt-panel {
width: 98vw;
max-width: 98vw;
height: 96vh;
max-height: 96vh;
border-radius: 10px;
}
.tai-prompt-detail-title { margin: 0 0 8px; font-size: 24px; line-height: 1.25; color: var(--text); }
.tai-prompt-detail-meta { font-size: 13px; color: var(--text2); line-height: 1.55; }
.tai-prompt-detail-tags { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.tai-prompt-detail-tags span { font-size: 12px; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; color: var(--text2); }
.tai-prompt-detail-sec { margin-top: 16px; }
.tai-prompt-detail-sec h4 { margin: 0 0 8px; font-size: 14px; color: var(--text); }
.tai-prompt-main-title {
margin: 4px 0 10px !important;
padding-left: 10px;
border-left: 5px solid #ef4444;
font-size: 20px !important;
line-height: 1.2;
font-weight: 800;
} .tai-prompt-detail > .tai-prompt-detail-sec:has(.tai-prompt-work-grid, .tai-prompt-scroll-gallery-works) > h4,
.tai-prompt-detail > .tai-prompt-detail-sec:has(.tai-prompt-recs) > h4 {
margin: 4px 0 10px !important;
padding-left: 10px;
border-left: 5px solid #ef4444;
font-size: 20px !important;
line-height: 1.2;
font-weight: 800;
}
.tai-prompt-detail-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tai-prompt-detail-images.single { grid-template-columns: 1fr; }
.tai-prompt-detail-images figure { margin: 0; }
.tai-prompt-detail-images img { width: 100%; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.tai-prompt-detail-images img,
.tai-prompt-scroll-gallery img,
.tai-prompt-work-grid img { cursor: zoom-in; }
.tai-prompt-detail-images figcaption { margin-top: 4px; font-size: 12px; color: var(--text2); }
.tai-prompt-scroll-gallery {
margin-top: 4px;
display: flex;
gap: 12px;
overflow-x: auto;
overflow-y: hidden;
scroll-snap-type: x mandatory;
padding-bottom: 4px;
}
.tai-prompt-scroll-gallery::-webkit-scrollbar { height: 8px; }
.tai-prompt-scroll-gallery::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
.tai-prompt-scroll-item {
margin: 0;
flex: 0 0 100%;
scroll-snap-align: start;
}
.tai-prompt-scroll-item img {
width: 100%;
display: block;
border-radius: 12px;
border: 1px solid var(--border);
background: #fff;
}
.tai-prompt-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tai-prompt-work-card {
border: 1px solid var(--border);
border-radius: 10px;
background: #fff;
padding: 8px;
cursor: pointer;
}
.tai-prompt-work-card img,
.tai-prompt-work-slide img {
width: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
border-radius: 8px;
background: #fff;
}
.tai-prompt-work-empty {
width: 100%;
aspect-ratio: 16 / 9;
border-radius: 8px;
background: #fff;
border: 1px dashed var(--border);
display: flex;
align-items: center;
justify-content: center;
color: var(--text2);
}
.tai-prompt-work-title,
.tai-prompt-work-slide figcaption {
margin-top: 6px;
font-size: 12px;
color: var(--text2);
line-height: 1.45;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.tai-prompt-work-slide { cursor: pointer; }
.tai-prompt-desc {
border: 1px solid #e5e7eb;
border-radius: 14px;
padding: 14px 16px;
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
color: #334155;
font-size: 14px;
line-height: 1.75;
}
.tai-prompt-desc p { margin: 0 0 0.85em; }
.tai-prompt-desc p:last-child { margin-bottom: 0; }
.tai-prompt-desc h2, .tai-prompt-desc h3, .tai-prompt-desc h4 { margin: 0 0 0.6em; color: #0f172a; }
.tai-prompt-desc ul, .tai-prompt-desc ol { margin: 0 0 0.8em 1.2em; }
.tai-prompt-text-wrap {
border-radius: 14px;
padding: 1px;
background: linear-gradient(130deg, #e9d5ff 0%, #bfdbfe 45%, #fde68a 100%);
box-shadow: 0 10px 24px rgba(59, 130, 246, 0.12);
}
.tai-prompt-text {
border: 1px solid rgba(255,255,255,0.78);
border-radius: 13px;
background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
padding: 12px 12px;
font-size: 13px;
line-height: 1.7;
white-space: pre-wrap;
}
.tai-prompt-actions { margin-top: 8px; display: flex; justify-content: flex-end; gap: 8px; }
.tai-prompt-btn { border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; background: var(--bg2); color: var(--text2); font-size: 12px; cursor: pointer; }
.tai-prompt-btn.use { border-color: rgba(124,58,237,0.35); color: #7c3aed; }
.tai-prompt-recs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.tai-prompt-rec { border: 1px solid var(--border); border-radius: 10px; padding: 8px; cursor: pointer; background: #fff; display: flex; flex-direction: column; }
.tai-prompt-rec img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; background: #fff; }
.tai-prompt-rec-empty { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--text2); border-radius: 8px; }
.tai-prompt-rec-title { margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--text2); min-height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tai-docs-main {
border: 1px solid var(--border);
border-radius: 12px;
background: var(--white);
overflow: hidden;
display: flex;
flex-direction: column;
}
.tai-docs-content { flex: 1; overflow: auto; padding: 20px 24px; }
.tai-docs-empty { color: var(--text2); font-size: 13px; text-align: center; padding: 28px 12px; }
.tai-docs-more-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
padding: 0 22px;
font-size: 15px;
font-weight: 600;
border-radius: 10px;
border: 1px solid #cbd5e1;
background: #ffffff;
color: #111827;
cursor: pointer;
}
.tai-docs-more-btn:hover { background: #f8fafc; }
.tai-docs-wrap.prompt-mode {
grid-template-columns: 1fr;
height: auto;
min-height: 0;
grid-template-rows: auto auto;
}
.tai-docs-wrap.prompt-mode .tai-docs-side {
display: none;
}
.tai-docs-wrap.prompt-mode .tai-docs-main {
grid-column: 1 / -1;
min-height: 0;
max-height: none;
}
.tai-docs-wrap.prompt-mode .tai-docs-content {
padding: 16px 18px;
overflow: visible;
}
.tai-doc-article-head { border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 18px; }
.tai-doc-article-title { margin: 0; font-size: 26px; line-height: 1.28; color: var(--text); }
.tai-doc-article-time { margin-top: 6px; font-size: 12px; color: var(--text2); }
.tai-doc-article-body { color: var(--text); font-size: 15px; line-height: 1.75; word-break: break-word; }
.tai-doc-article-body h2, .tai-doc-article-body h3, .tai-doc-article-body h4 { margin-top: 1.3em; margin-bottom: 0.5em; color: var(--text); }
.tai-doc-article-body p { margin: 0 0 0.9em; }
.tai-doc-article-body ul, .tai-doc-article-body ol { margin: 0 0 1em 1.2em; }
.tai-doc-link-actions { display: inline-flex; gap: 6px; margin-left: 8px; flex-wrap: wrap; vertical-align: middle; }
.tai-doc-link-btn {
border: 1px solid var(--border);
background: var(--bg2);
color: var(--text2);
font-size: 11px;
line-height: 1;
padding: 5px 8px;
border-radius: 999px;
cursor: pointer;
}
.tai-doc-link-btn.inline { color: #0f766e; border-color: rgba(15,118,110,0.35); }
.tai-doc-link-btn.md { color: #7c3aed; border-color: rgba(124,58,237,0.35); }
.tai-doc-link-btn.jump { color: #1d4ed8; border-color: rgba(29,78,216,0.35); }
.tai-doc-link-btn:hover { transform: translateY(-1px); }
.tai-docs-iframe-modal {
position: fixed;
inset: 0;
z-index: 100000;
display: flex;
align-items: center;
justify-content: center;
padding: 18px;
}
.tai-docs-iframe-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, 0.66); }
.tai-docs-iframe-panel {
position: relative;
width: min(1200px, 96vw);
height: min(86vh, 900px);
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 14px;
box-shadow: 0 22px 56px rgba(2, 6, 23, 0.35);
display: flex;
flex-direction: column;
}
.tai-docs-iframe-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.tai-docs-iframe-title { font-size: 13px; font-weight: 700; color: var(--text); }
.tai-docs-iframe-close {
border: 1px solid var(--border);
background: var(--bg2);
color: var(--text2);
border-radius: 8px;
padding: 6px 10px;
cursor: pointer;
}
.tai-docs-iframe-body { flex: 1; min-height: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
#tai-docs-iframe { width: 100%; flex: 1; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.tai-docs-md-view {
width: 100%;
flex: 1;
overflow: auto;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--bg-card);
padding: 14px 16px;
}
.tai-docs-iframe-hint { color: var(--text2); font-size: 12px; line-height: 1.45; }
.tai-docs-iframe-foot { padding: 0 12px 12px; }
#tai-docs-iframe-open-new {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 8px 12px;
border-radius: 8px;
background: var(--blue3);
border: 1px solid rgba(37,99,235,0.35);
color: #1d4ed8;
text-decoration: none;
font-size: 12px;
font-weight: 600;
}
.tai-doc-article-body code {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
font-size: 13px;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 6px;
padding: 1px 5px;
}
.tai-doc-article-body pre {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 10px;
padding: 10px 12px;
overflow: auto;
}
.tai-doc-inline-embed { display: flex; flex-direction: column; gap: 10px; }
.tai-doc-inline-frame-wrap {
width: 100%;
height: min(74vh, 900px);
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
background: #ffffff;
}
.tai-doc-inline-iframe {
width: 100%;
height: 100%;
border: none;
background: #ffffff;
}
.tai-doc-inline-note {
font-size: 13px;
color: var(--text2);
line-height: 1.5;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 10px;
padding: 10px 12px;
}
.tai-doc-inline-actions { display: flex; justify-content: flex-end; }
.tai-doc-inline-open {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 8px 12px;
border-radius: 8px;
background: var(--blue3);
border: 1px solid rgba(37,99,235,0.35);
color: #1d4ed8;
text-decoration: none;
font-size: 12px;
font-weight: 600;
}
.tai-doc-fetch-zone {
border: 1px solid var(--border);
border-radius: 10px;
background: var(--bg);
padding: 10px 12px;
}
.tai-doc-fetch-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tai-doc-fetch-btn {
border: 1px solid rgba(37,99,235,0.35);
background: var(--blue3);
color: #1d4ed8;
border-radius: 8px;
padding: 7px 10px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
}
.tai-doc-fetch-tip { font-size: 12px; color: var(--text2); }
.tai-doc-fetch-list { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.tai-doc-prompt-item {
border: 1px solid var(--border);
background: var(--bg-card);
border-radius: 10px;
padding: 10px;
}
.tai-doc-prompt-item textarea {
width: 100%;
min-height: 86px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px 10px;
font-size: 13px;
line-height: 1.5;
background: var(--bg);
color: var(--text);
resize: vertical;
}
.tai-doc-prompt-actions { margin-top: 8px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.tai-doc-prompt-copy,
.tai-doc-prompt-use {
border: 1px solid var(--border);
border-radius: 8px;
padding: 6px 10px;
font-size: 12px;
cursor: pointer;
background: var(--bg2);
color: var(--text2);
}
.tai-doc-prompt-use { border-color: rgba(124,58,237,0.35); color: #7c3aed; }
@media (max-width: 960px) {
.tai-docs-wrap { grid-template-columns: 1fr; height: auto; min-height: 0; }
.tai-docs-topbar { flex-direction: column; align-items: stretch; }
.tai-docs-search { width: 100%; }
.tai-docs-side { max-height: 320px; }
.tai-docs-content { padding: 16px; }
.tai-doc-article-title { font-size: 22px; }
.tai-prompt-masonry { column-count: 2; }
.tai-prompt-detail-images { grid-template-columns: 1fr; }
.tai-prompt-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tai-prompt-recs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tai-docs-wrap.prompt-mode .tai-docs-topbar {
flex-direction: row;
align-items: center;
flex-wrap: nowrap;
}
.tai-docs-wrap.prompt-mode .tai-docs-search {
width: 280px;
flex: 0 1 320px;
min-width: 180px;
}
}
@media (max-width: 768px) {
.tai-docs-wrap.prompt-mode .tai-docs-topbar {
flex-direction: row;
align-items: center;
flex-wrap: nowrap;
gap: 8px;
}
.tai-docs-wrap.prompt-mode .tai-doc-kind-tabs {
flex: 1 1 auto;
min-width: 0;
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
}
.tai-docs-wrap.prompt-mode .tai-doc-kind-tabs a {
flex: 0 0 auto;
}
.tai-docs-wrap.prompt-mode .tai-docs-search {
width: auto;
flex: 0 0 min(46vw, 220px);
min-width: 120px;
max-width: 46vw;
}
.tai-docs-wrap.prompt-mode .tai-docs-content {
padding: 14px 12px;
}
} .tai-media-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tai-media-filter a { display: inline-block; padding: 4px 12px; border: 1px solid var(--border); border-radius: 15px; font-size: 12px; color: var(--text2); text-decoration: none !important; margin-right: 5px; transition: all 0.15s; }
.tai-media-filter a:hover { text-decoration: none !important; }
.tai-media-filter a.active, .tai-media-filter a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.tai-media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tai-media-item { 
position: relative;
border: 1px solid var(--border); 
border-radius: 12px; 
overflow: hidden; 
background: var(--white); 
transition: transform 0.2s, box-shadow 0.2s; 
aspect-ratio: 1/1;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.tai-media-item:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.tai-media-thumb { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; background: #000; cursor: pointer; transition: transform 0.3s; }
.tai-media-item:hover .tai-media-thumb { transform: scale(1.08); }
.tai-media-fname {
position: absolute;
left: 8px;
right: 8px;
bottom: 0;
z-index: 3;
padding: 6px 10px;
font-size: 12px;
line-height: 1.2;
color: #fff;
background: rgba(0,0,0,0.72);
border-radius: 8px 8px 0 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
pointer-events: none;
opacity: 0;
transform: translateY(4px);
transition: opacity .18s ease, transform .18s ease;
}
.tai-media-item:hover .tai-media-fname { opacity: 1; transform: translateY(0); }
.tai-media-thumb.audio-thumb,
.tai-media-thumb.zip-thumb { 
width: 100%; height: 100%;
background: #f1f5f9; 
display: flex; flex-direction: column; 
align-items: center; justify-content: center; 
gap: 12px; border: 1px solid #e2e8f0; 
box-sizing: border-box;
}
.dark-mode .tai-media-thumb.audio-thumb,
.dark-mode .tai-media-thumb.zip-thumb { background: #1e293b; border-color: #334155; }
.audio-icon, .zip-icon { font-size: 44px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
.audio-text, .zip-text { font-size: 12px; color: var(--text2); font-weight: 600; }
.dark-mode .audio-text, .dark-mode .zip-text { color: #94a3b8; }
.tai-media-info { 
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
padding: 12px;
background: rgba(0,0,0,0.65);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s;
backdrop-filter: blur(2px);
z-index: 2;
text-align: center;
color: #fff;
}
.tai-media-item:hover .tai-media-info { opacity: 1; }
.tai-media-info .msrc { font-size: 14px; color: rgba(255,255,255,0.9); font-weight: 600; margin-bottom: 6px; }
.tai-media-info .mcost { font-size: 11px; color: #fecaca; margin-bottom: 2px; }
.tai-media-info .mexp  { font-size: 10px; color: #fde68a; }
.tai-media-acts { display: flex; gap: 10px; margin-top: 14px; width: 100%; justify-content: center; flex-wrap: wrap; }
.tai-media-acts a, .tai-media-acts button { 
flex: 0 0 34px;
width: 34px;
height: 34px;
min-width: 34px;
min-height: 34px;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 15px; 
border-radius: 50%; 
cursor: pointer; 
text-decoration: none; 
border: none; 
background: #fff;
color: #1e293b;
transition: all 0.2s;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
box-sizing: border-box;
}
.tai-media-acts .mact-link { color: #6366f1; }
.tai-media-acts .mact-redo { color: #10b981; }
.tai-media-acts .mact-fav  { color: #f59e0b; }
.tai-media-acts .mact-fav.active { background: #fff7ed; border: 1px solid #fdba74; }
.tai-media-acts .mact-dl   { color: #111827; }
.tai-media-acts .mact-del  { color: #ef4444; font-size: 13px; }
.tai-media-acts a:hover, .tai-media-acts button:hover { transform: scale(1.18); background: #f0f9ff; }
.mact-dl  { background: #fff; color: #111827; text-decoration: none !important; }
.mact-del { background: #fee2e2; color: #dc2626; }
.tai-fav-list {
display: grid;
gap: 10px;
grid-template-columns: 1fr;
}
@media (min-width: 1200px) {
.tai-fav-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.tai-fav-item {
border: 1px solid var(--border);
background: var(--white);
border-radius: 12px;
padding: 12px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.tai-fav-item.dragging { opacity: 0.55; }
.tai-fav-drag {
width: 24px;
text-align: center;
color: var(--text2);
cursor: grab;
user-select: none;
font-size: 14px;
}
.tai-fav-item:active .tai-fav-drag { cursor: grabbing; }
.tai-fav-main { min-width: 0; }
.tai-fav-title { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.tai-fav-app-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; flex: 0 0 18px; }
.tai-fav-title-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tai-fav-sub { font-size: 12px; color: var(--text2); margin-top: 4px; }
.tai-fav-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tai-fav-btn {
border: 1px solid var(--border);
background: var(--bg);
color: var(--text);
border-radius: 8px;
padding: 6px 10px;
font-size: 12px;
cursor: pointer;
}
.tai-fav-btn.run { border-color: #10b981; color: #065f46; background: #ecfdf5; }
.tai-fav-btn.danger { border-color: #fecaca; color: #b91c1c; background: #fef2f2; }
.tai-fav-template-sections {
display: flex;
flex-direction: column;
gap: 20px;
}
.tai-fav-template-section {
padding-top: 14px;
border-top: 1px solid var(--border);
}
.tai-fav-template-section:first-child {
padding-top: 0;
border-top: 0;
}
.tai-fav-template-section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 0 0 10px;
}
.tai-fav-template-section-title {
font-size: 15px;
font-weight: 800;
color: var(--text);
}
.tai-fav-template-section-count {
min-width: 26px;
height: 22px;
padding: 0 8px;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid var(--border);
background: var(--bg);
color: var(--text2);
font-size: 12px;
font-weight: 700;
}
.tai-fav-template-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
@media (max-width: 1200px) {
.tai-fav-template-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
.tai-fav-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
.tai-fav-template-grid { grid-template-columns: 1fr; }
}
.tai-fav-template-grid .tai-fav-item {
min-height: 108px;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
gap: 6px;
padding: 12px 12px 6px;
border-radius: 8px;
background: #ffffff;
border: 1px solid #e6ebf2;
box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.tai-fav-template-grid .tai-fav-item:hover {
transform: translateY(-1px);
border-color: rgba(31, 79, 209, 0.38);
box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
}
.tai-fav-template-grid .tai-fav-drag {
width: auto;
align-self: auto;
line-height: 1;
margin-top: 0;
flex: 0 0 auto;
}
.tai-fav-template-grid .tai-fav-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.tai-fav-template-grid .tai-fav-main {
min-width: 0;
display: flex;
flex-direction: column;
gap: 4px;
flex: 0 0 auto;
}
.tai-fav-template-grid .tai-fav-title {
min-height: 20px;
margin: 0;
flex: 1 1 auto;
min-width: 0;
line-height: 1.2;
font-size: 15px;
}
.tai-fav-template-grid .tai-fav-sub {
margin-top: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.25;
min-height: 15px;
font-size: 13px;
}
.tai-fav-template-grid .tai-fav-acts {
margin-top: 2px;
display: flex;
gap: 6px;
flex-wrap: nowrap;
justify-content: space-between;
align-items: stretch;
min-height: 30px;
}
.tai-fav-template-grid .tai-fav-btn {
flex: 1 1 0;
min-width: 0;
height: 30px;
padding: 0 6px;
white-space: nowrap;
line-height: 1;
font-size: 11px;
border-radius: 7px;
background: #ffffff;
border-color: #dbe4ee;
box-shadow: 0 2px 7px rgba(15, 23, 42, 0.12);
}
.tai-fav-template-grid .tai-fav-btn:hover {
box-shadow: 0 5px 12px rgba(15, 23, 42, 0.16);
}
.tai-fav-template-grid .tai-fav-btn:disabled,
.tai-fav-template-grid .tai-fav-btn.is-loading {
cursor: wait;
opacity: 0.62;
transform: none;
box-shadow: none;
}
.dark-mode .tai-fav-template-grid .tai-fav-item {
background: #1e293b;
border-color: #334155;
box-shadow: 0 4px 12px rgba(2, 6, 23, 0.32);
}
.dark-mode .tai-fav-template-grid .tai-fav-item:hover {
border-color: rgba(96, 165, 250, 0.45);
box-shadow: 0 10px 24px rgba(2, 6, 23, 0.45);
}
.dark-mode .tai-fav-template-grid .tai-fav-btn {
background: #0f172a;
border-color: #334155;
box-shadow: 0 2px 8px rgba(2, 6, 23, 0.4);
} #tianyin-app-root #tai-fav-tpl-list .tai-fav-template-grid {
display: grid !important;
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
gap: 12px !important;
}
@media (max-width: 1200px) {
#tianyin-app-root #tai-fav-tpl-list .tai-fav-template-grid {
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
}
@media (max-width: 900px) {
#tianyin-app-root #tai-fav-tpl-list .tai-fav-template-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
@media (max-width: 640px) {
#tianyin-app-root #tai-fav-tpl-list .tai-fav-template-grid {
grid-template-columns: 1fr !important;
}
}   .tai-apps-center { padding: 20px; box-sizing: border-box; width: 100%; height: 100%; display: flex; flex-direction: column; }
.tai-apps-filter-bar { display: flex; gap: 12px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
.tai-apps-filter-bar input { padding: 8px 16px; border: 1px solid var(--border); border-radius: 20px; font-size: 13px; background: #fff; color: var(--text1); outline: none; }
.dark-mode .tai-apps-filter-bar input { background: #1e293b; color: #fff; border-color: #334155; }
.tai-apps-filter-bar input { flex: 1; min-width: 200px; max-width: 300px; }
.tai-apps-scroll { flex: 1; overflow-y: auto; padding-right: 10px; }
.tai-apps-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
width: 100%;
}
@media (max-width: 1100px) { .tai-apps-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .tai-apps-grid { grid-template-columns: repeat(2, 1fr); } }
.tai-app-card {
background: #fff;
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
cursor: pointer;
transition: all 0.2s;
display: flex;
flex-direction: column;
}
.dark-mode .tai-app-card { background: #1e293b; border-color: #334155; }
.tai-app-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: var(--blue); }
.dark-mode .tai-app-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.4); }
.tai-app-card-cover {
width: 100%;
aspect-ratio: 3 / 4;
background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.dark-mode .tai-app-card-cover { background: linear-gradient(135deg, #334155 0%, #0f172a 100%); }
.tai-app-card-cover img, .tai-app-card-cover video {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
object-fit: cover;
}
.tai-app-fav-btn-inline {
width: 26px;
height: 26px;
border: 1px solid var(--border);
border-radius: 999px;
background: #fff;
color: #64748b;
font-size: 15px;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
flex: 0 0 26px;
transition: all 0.15s ease;
}
.dark-mode .tai-app-fav-btn-inline {
background: #1e293b;
border-color: #334155;
color: #cbd5e1;
}
.tai-app-fav-btn-inline:hover {
transform: scale(1.06);
border-color: #fca5a5;
}
.tai-app-fav-btn-inline.active {
color: #ef4444;
background: #fff1f2;
border-color: rgba(239,68,68,0.3);
}
.tai-app-card-placeholder {
font-size: 24px;
color: rgba(0,0,0,0.1);
font-weight: bold;
text-align: center;
padding: 20px;
word-break: break-all;
line-height: 1.2;
}
.dark-mode .tai-app-card-placeholder { color: rgba(255,255,255,0.05); }
.tai-app-card-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.tai-app-card-title-row { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:4px; min-height:26px; flex-wrap: nowrap; }
.tai-app-card-title { font-size: 14px; font-weight: 600; color: var(--text1); margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1 1 auto; min-width: 0; }
.tai-app-card-desc { font-size: 12px; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.tai-app-card-price { margin-top: auto; padding-top: 8px; font-size: 11px; color: var(--blue); font-weight: 600; } #tianyin-app-root:not(.dark-mode) .tai-app-fav-btn-inline {
background: #fff !important;
border-color: var(--border) !important;
color: #64748b !important;
}
#tianyin-app-root:not(.dark-mode) .tai-app-fav-btn-inline.active {
color: #ef4444 !important;
background: #fff1f2 !important;
border-color: rgba(239,68,68,0.3) !important;
}
body:not(.tai-dark-mode) #tianyin-app-root .tai-apps-center .tai-app-fav-btn-inline {
background: #fff !important;
color: #64748b !important;
border-color: #e2e8f0 !important;
}
body:not(.tai-dark-mode) #tianyin-app-root .tai-apps-center .tai-app-fav-btn-inline.active {
background: #fff1f2 !important;
color: #ef4444 !important;
border-color: rgba(239,68,68,0.3) !important;
}
body[data-tai-theme="light"] #tianyin-app-root .tai-apps-center .tai-app-fav-btn-inline {
background: #fff !important;
color: #64748b !important;
border-color: #e2e8f0 !important;
}
body[data-tai-theme="light"] #tianyin-app-root .tai-apps-center .tai-app-fav-btn-inline.active {
background: #fff1f2 !important;
color: #ef4444 !important;
border-color: rgba(239,68,68,0.3) !important;
} .tai-login-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 40px 20px; text-align: center; background: radial-gradient(circle at top, #eef4ff 0%, #f8fafc 45%, #ffffff 100%); }
.dark-mode .tai-login-panel { background: radial-gradient(circle at top, rgba(31,79,209,0.22) 0%, #111827 46%, #0f172a 100%); }
.tai-login-shell {
width: 100%;
max-width: 420px;
padding: 30px 28px 22px;
border: 1px solid var(--border);
border-radius: 24px;
background: rgba(255,255,255,0.88);
box-shadow: var(--shadow);
backdrop-filter: blur(12px);
}
.dark-mode .tai-login-shell { background: rgba(15,23,42,0.86); }
.tai-login-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 4px; }
.tai-login-panel .li-icon { font-size: 44px; margin-bottom: 2px; }
.tai-login-brand-badge {
padding: 4px 10px;
border-radius: 999px;
background: var(--blue3);
color: var(--blue2);
font-size: 12px;
font-weight: 700;
}
.tai-login-panel h2 { font-size: 24px; font-weight: 700; color: var(--text); margin: 0 0 6px; letter-spacing: 0.3px; }
.tai-login-panel p  { color: var(--text2); margin: 0 0 18px; font-size: 13px; }
.tai-google-btn {
display: flex; align-items: center; justify-content: center; width: 100%; gap: 10px; padding: 11px 22px;
background: var(--white); border: 1px solid var(--border); border-radius: 8px;
cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text);
text-decoration: none; transition: all 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
margin-bottom: 10px; box-sizing: border-box;
}
.tai-google-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.12); color: var(--text); }
.tai-google-btn img { width: 18px; height: 18px; }
.tai-wp-login-form { width: 100%; text-align: left; margin-top: 6px; }
.tai-wp-login-form input[type="text"], .tai-wp-login-form input[type="password"], .tai-wp-login-form input[type="email"] {
width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px;
font-size: 14px; margin-bottom: 8px; background: var(--bg); color: var(--text);
}
.tai-wp-login-form input:focus { outline: none; border-color: var(--blue); }
.tai-wp-login-form .divider { text-align: center; color: var(--text2); font-size: 12px; margin: 10px 0; position: relative; }
.tai-wp-login-form .divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.tai-wp-login-form .divider span { background: var(--content-bg); padding: 0 10px; position: relative; }
.tai-login-tabs { display: flex; gap: 0; margin-bottom: 14px; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: var(--bg); }
.tai-login-tab { flex: 1; padding: 8px; text-align: center; cursor: pointer; font-size: 13px; color: var(--text2); background: transparent; border: none; transition: all 0.15s; }
.tai-login-tab.active { background: var(--blue); color: #fff; }
.tai-login-note { margin-top: 10px; font-size: 11px; color: var(--text2); text-align: center; }
.tai-login-msg { margin-top: 8px; min-height: 18px; font-size: 12px; text-align: center; color: #22c55e; }
.tai-login-msg-error { color: #ef4444; }
.tai-login-footer-note { margin-top: 12px; font-size: 11px; color: var(--text2); opacity: 0.9; }
body.tai-dark-mode .tai-login-brand-badge { background: rgba(26,86,219,0.24); color: #bfdbfe; } .tai-lb { display: none; position: fixed; z-index: 200002; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); justify-content: center; align-items: center; cursor: zoom-out; }
.tai-lb.on { display: flex; }
.tai-lb img, .tai-lb video { max-width: 94vw; max-height: 94vh; border-radius: 8px; }
.tai-lb-stage { position: relative; display: flex; align-items: center; justify-content: center; }
.tai-lb-stage img { cursor: default; }
.tai-lb-close {
position: fixed;
top: 14px;
right: 14px;
width: 40px;
height: 40px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.35);
background: rgba(15,23,42,0.62);
color: #fff;
font-size: 22px;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 200004;
padding: 0;
}
.tai-lb-nav {
position: fixed;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.35);
background: rgba(15,23,42,0.62);
color: #fff;
font-size: 30px;
line-height: 1;
cursor: pointer;
z-index: 200003;
padding: 0;
}
.tai-lb-nav.prev { left: 20px; }
.tai-lb-nav.next { right: 20px; }
.tai-lb-counter {
position: fixed;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
color: #fff;
background: rgba(15,23,42,0.62);
border: 1px solid rgba(255,255,255,0.2);
border-radius: 999px;
padding: 4px 12px;
font-size: 12px;
z-index: 200003;
} @media (max-width: 768px) {
:root { --sidebar-w: 280px; }
#tai-sidebar { position: fixed; left: 0; top: 0; height: 100%; transform: translateX(-100%); transition: transform 0.25s; z-index: 200; }
#tai-sidebar.mobile-open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,0.3); }
#tianyin-app-root.sidebar-collapsed #tai-sidebar{width:var(--sidebar-w);min-width:var(--sidebar-w)}
#tianyin-app-root.sidebar-collapsed .tai-logo-text,
#tianyin-app-root.sidebar-collapsed .tai-nav-section-label,
#tianyin-app-root.sidebar-collapsed .tai-nav-item .ni-label,
#tianyin-app-root.sidebar-collapsed .tai-user-info,
#tianyin-app-root.sidebar-collapsed .tai-user-chevron,
#tianyin-app-root.sidebar-collapsed .tai-nav-subheader span:first-child,
#tianyin-app-root.sidebar-collapsed .tai-history-toggle-btn,
#tianyin-app-root.sidebar-collapsed .tai-history-more-btn,
#tianyin-app-root.sidebar-collapsed .tai-user-menu{display:initial}
#tai-mobile-menu-btn { display: flex; }
.tai-draw-controls { grid-template-columns: 1fr 1fr; }
.tai-chat-input-row { gap: 6px; }
.tai-chat-model-custom {
width: min(56vw, 220px);
min-width: 148px;
max-width: none;
}
.tai-login-shell { padding: 22px 18px; border-radius: 18px; }
} .tai-number-group {
display: inline-flex;
align-items: center;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 2px;
overflow: hidden;
height: 40px;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.tai-num-btn {
width: 36px;
height: 36px;
border: none;
background: transparent;
color: var(--text);
font-size: 18px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
border-radius: 6px;
}
.tai-num-btn:hover {
background: rgba(0, 0, 0, 0.05);
color: var(--blue);
}
.dark-mode .tai-num-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: #60a5fa;
}
.dark-mode .tai-immersion-btn svg {
width: 14px !important;
height: 14px !important;
min-width: 14px !important;
}
.tai-num-btn:active {
transform: scale(0.9);
}
.tai-number-group input[type="number"] {
width: 60px;
border: none !important;
background: transparent !important;
color: var(--text) !important;
text-align: center;
font-size: 15px;
font-weight: 700;
margin: 0;
padding: 0;
outline: none !important;
-moz-appearance: textfield;
} .tai-number-group input::-webkit-outer-spin-button,
.tai-number-group input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
} #tianyin-app-root .tai-series-panel #tai-series-project-select,
#tianyin-app-root .tai-series-panel #tai-series-scene-select {
height: 42px !important;
min-width: 180px !important;
}
#tianyin-app-root .tai-series-panel #tai-series-project-add,
#tianyin-app-root .tai-series-panel #tai-series-project-rename,
#tianyin-app-root .tai-series-panel #tai-series-project-save,
#tianyin-app-root .tai-series-panel #tai-series-scene-add,
#tianyin-app-root .tai-series-panel #tai-series-scene-rename,
#tianyin-app-root .tai-series-panel #tai-series-save,
#tianyin-app-root .tai-series-panel #tai-series-generate,
#tianyin-app-root .tai-series-panel #tai-series-open-anchor-draw,
#tianyin-app-root .tai-series-panel #tai-series-use-last-draw-as-cover {
min-height: 42px !important;
height: 42px !important;
padding: 0 14px !important;
line-height: 42px !important;
white-space: nowrap !important;
background: #e5e7eb !important;
color: #111827 !important;
border: 1px solid #cbd5e1 !important;
}
#tianyin-app-root .tai-series-panel .tai-series-card .tai-series-result-hd{
display:block;
width:100%;
margin: -12px -12px 10px -12px;
padding: 10px 12px;
background:#e5e7eb;
color:#111827;
border-bottom:1px solid #cbd5e1;
border-radius:10px 10px 0 0;
} #tianyin-app-root .tai-series-panel .tai-series-generate-row + .tai-series-result-hd{
margin-top: 12px;
}
#tianyin-app-root .tai-series-panel .tai-series-shots .tai-fav-item .btn-use {
min-height: 42px !important;
height: 42px !important;
background: #f1f5f9 !important;
color: #111827 !important;
border: 1px solid #cbd5e1 !important;
border-radius: 8px !important;
}
#tianyin-app-root .tai-series-panel .tai-series-shots .tai-fav-item .btn-use:hover { background: #e2e8f0 !important; }
#tianyin-app-root .tai-series-panel .tai-series-shot-card .tai-series-shot-hd{
background:#f1f5f9;
color:#0f172a;
border-bottom:1px solid #cbd5e1;
border-radius:8px 8px 0 0;
}
#tianyin-app-root .tai-series-panel .tai-series-card .tai-hist-actions .btn-dl,
#tianyin-app-root .tai-series-panel .tai-series-card .tai-hist-actions .btn-del{
background: #f1f5f9 !important;
color: #111827 !important;
border: 1px solid #cbd5e1 !important;
}
#tianyin-app-root .tai-series-panel .tai-series-anchor-top{
display:grid;
grid-template-columns: 1fr 1fr;
gap:12px;
align-items:start;
margin-bottom:10px;
}
#tianyin-app-root .tai-series-panel .tai-series-anchor-current-grid{
display:grid;
grid-template-columns: 1fr 1fr;
gap:10px;
}
@media (max-width: 680px){
#tianyin-app-root .tai-series-panel .tai-series-anchor-top{ grid-template-columns: 1fr; }
#tianyin-app-root .tai-series-panel .tai-series-anchor-current-grid{ grid-template-columns: 1fr; }
} .tai-notice-overlay {
position: fixed;
inset: 0;
background: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(8px);
z-index: 200000;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tai-notice-overlay.on {
opacity: 1;
visibility: visible;
}
.tai-notice-modal {
width: 90%;
max-width: 400px;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 24px;
padding: 32px 24px;
text-align: center;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
transform: scale(0.9);
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tai-notice-overlay.on .tai-notice-modal {
transform: scale(1);
}
.tai-notice-icon {
font-size: 48px;
margin-bottom: 20px;
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}
.tai-notice-title {
font-size: 20px;
font-weight: 800;
color: var(--text);
margin-bottom: 12px;
}
.tai-notice-msg {
font-size: 14px;
color: var(--text2);
line-height: 1.6;
margin-bottom: 28px;
}
.tai-notice-footer {
display: flex;
gap: 12px;
justify-content: center;
}
.tai-notice-btn {
padding: 12px 24px;
border-radius: 14px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
border: none;
}
.tai-notice-btn.secondary {
background: rgba(148, 163, 184, 0.1);
color: var(--text2);
}
.tai-notice-btn.secondary:hover { background: rgba(148, 163, 184, 0.2); }
.tai-notice-btn.primary {
background: var(--blue);
color: #fff;
box-shadow: 0 4px 12px rgba(31, 79, 209, 0.3);
}
.tai-notice-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31, 79, 209, 0.4); }
.dark-mode .tai-notice-modal {
background: #1e293b;
border-color: rgba(255, 255, 255, 0.1);
} @media (max-width: 650px) {
#tai-topbar-cost-hint { display: none !important; }
.tai-topbar { padding: 0 10px; }
.tai-topbar-credits { padding: 0 8px; font-size: 12px; }
.tai-chat-textarea { font-size: 16px; } } #tai-topbar-custom-area { display: none; flex: 1; }
.tai-chat-model-topbar { width: 100% !important; max-width: none !important; min-width: 0 !important; }
.tai-chat-model-topbar .tai-chat-model-trigger { 
background: transparent !important; 
border: none !important; 
font-size: 15px !important; 
font-weight: 700 !important;
}
@media (max-width: 650px) { #tai-topbar-custom-area { display: flex; min-width: 0; overflow: visible; }
#tai-topbar-title { display: none !important; } .tai-topbar > div:first-child { min-width: 0; flex: 1 1 auto; }
.tai-topbar-right { flex-shrink: 0; } .tai-chat-input-area .tai-chat-model-custom { display: none !important; } .tai-chat-input-row { gap: 4px; } .tai-chat-model-topbar { min-width: 0 !important; max-width: 100% !important; overflow: visible; position: relative; z-index: 10002; flex: 1 1 auto; }
.tai-chat-model-topbar .tai-chat-model-trigger {
width: 100% !important;
min-width: 0 !important;
max-width: 100% !important;
overflow: hidden;
}
.tai-chat-model-topbar .tai-chat-model-label {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tai-chat-model-topbar .tai-chat-model-panel {
left: 0 !important;
right: auto !important;
min-width: min(78vw, 320px);
max-width: 90vw;
z-index: 10003 !important;
}
} .tai-chat-model-topbar { position: relative; }
.tai-chat-model-topbar .tai-chat-model-panel {
top: 100% !important;
bottom: auto !important;
margin-top: 5px !important;
margin-bottom: 0 !important;
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25) !important;
z-index: 9999 !important;
}
.dark-mode .tai-chat-model-topbar .tai-chat-model-panel {
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5) !important;
} .tai-topbar { overflow: visible !important; } @media (min-width: 1100px) {
#tianyin-app-root.tai-task-panel-active .tai-rh-container {
margin-left: 20px !important;
margin-right: auto !important;
}
} .tai-video-badge {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 38px;
height: 38px;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: 1.5px solid rgba(255, 255, 255, 0.6);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 16px;
pointer-events: none;
z-index: 10;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
text-indent: 2px;
transition: all 0.2s ease;
}
.tai-te-preview-wrap:hover .tai-video-badge, 
.tai-media-item:hover .tai-video-badge {
transform: translate(-50%, -50%) scale(1.1);
background: rgba(59, 130, 246, 0.7); }
.tai-media-thumb-wrap {
position: relative;
width: 100%;
height: 100%;
}  .tai-btn-count {
margin-left: 6px;
opacity: 0.8;
font-size: 0.85em;
background: rgba(0,0,0,0.15);
padding: 2px 8px;
border-radius: 10px;
font-weight: normal;
}
.tai-submit-btn.tai-btn-disabled {
background: #cbd5e1 !important;
color: #64748b !important;
cursor: not-allowed !important;
border-color: #cbd5e1 !important;
box-shadow: none !important;
}
.tai-submit-btn.tai-btn-disabled .tai-btn-count {
background: rgba(0,0,0,0.05);
}  .tai-rh-split-wrap {
display: flex;
gap: 30px;
align-items: flex-start;
margin-top: 15px;
} .tai-rh-left-col {
flex: 1;
min-width: 0; } .tai-rh-right-col {
flex: 1;
width: 50%;
position: sticky;
top: 20px;
z-index: 10;
} .tai-rh-right-col .tai-app-cover-card {
margin-top: 0;
margin-bottom: 20px;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.tai-rh-right-col .tai-app-cover-card img,
.tai-rh-right-col .tai-app-cover-card video {
width: 100%;
height: auto;
display: block;
} @media (max-width: 900px) {
.tai-rh-split-wrap {
flex-direction: column;
}
.tai-rh-right-col {
width: 100%;
position: static;
order: -1; }
.tai-rh-split-wrap {
gap: 15px;
}
}  .tai-rh-split-wrap .tai-form-grid {
grid-template-columns: 1fr !important;
} .tai-rh-split-wrap .tai-form-grid::before {
display: none !important;
} .tai-rh-split-wrap .tai-field {
max-width: none !important;
} .tai-field--toggle {
padding: 0 !important;
background: none !important;
border: none !important;
margin-bottom: 0 !important;
}
.tai-field--toggle label { display: none !important; }  .tai-toggle-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
border-radius: 999px;
border: 2px solid transparent;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
position: relative;
min-width: 120px;
justify-content: center;
user-select: none;
backdrop-filter: blur(6px);
margin: 4px 6px 4px 0;
} .tai-toggle-btn.off {
background: rgba(255,255,255,0.06);
border-color: rgba(255,255,255,0.12);
color: var(--text2, #9ca3af);
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tai-toggle-btn.off:hover {
background: rgba(255,255,255,0.10);
border-color: rgba(255,255,255,0.22);
color: var(--text1, #e5e7eb);
transform: translateY(-1px);
} .tai-toggle-btn.on {
background: linear-gradient(135deg, var(--accent, #6366f1) 0%, #8b5cf6 100%);
border-color: transparent;
color: #fff;
box-shadow: 0 4px 18px rgba(99,102,241,0.45);
transform: translateY(-1px);
}
.tai-toggle-btn.on:hover {
box-shadow: 0 6px 24px rgba(99,102,241,0.60);
transform: translateY(-2px);
} .tai-toggle-icon {
font-size: 18px;
line-height: 1;
transition: transform 0.2s;
}
.tai-toggle-btn.on .tai-toggle-icon {
transform: scale(1.15);
} .tai-toggle-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
background: currentColor;
opacity: 0.5;
transition: opacity 0.2s, background 0.2s;
flex-shrink: 0;
}
.tai-toggle-btn.on .tai-toggle-indicator {
opacity: 1;
background: rgba(255,255,255,0.9);
box-shadow: 0 0 6px rgba(255,255,255,0.6);
} .tai-show-when {
overflow: hidden;
transition: max-height 0.3s ease, opacity 0.3s ease;
}
.tai-show-when[style*="display: none"],
.tai-show-when[style*="display:none"] {
max-height: 0;
opacity: 0;
} .tai-form-grid .tai-field--toggle {
display: flex;
flex-wrap: wrap;
gap: 4px;
align-items: center;
} .tai-radio-group {
display: inline-flex;
background: rgba(255,255,255,0.04);
border-radius: 12px;
padding: 4px;
border: 1px solid rgba(255,255,255,0.08);
gap: 4px;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.tai-radio-btn {
border: none;
background: transparent;
color: var(--text2, #9ca3af);
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
font-size: 13px;
font-weight: 600;
transition: all 0.2s ease;
min-width: 80px;
white-space: nowrap;
}
.tai-radio-btn:hover {
color: var(--text1, #fff);
background: rgba(255,255,255,0.04);
} .tai-radio-btn.active {
background: #fff;
color: #000;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
transform: scale(1.02);
} .tai-radio-btn.active {
background: var(--accent, #6366f1);
color: #fff;
}  .tai-apps-featured-section {
grid-column: 1 / -1; margin: 0 -16px 24px -16px;
padding: 24px 20px 32px;
background: linear-gradient(135deg, rgba(31, 79, 209, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
border-bottom: 1px solid var(--border);
}
.dark-mode .tai-apps-featured-section {
background: linear-gradient(135deg, rgba(31, 79, 209, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
}
.tai-apps-featured-hd {
margin-bottom: 20px;
padding-left: 4px;
}
.tai-apps-featured-title {
font-size: 20px;
font-weight: 800;
color: var(--text);
letter-spacing: -0.02em;
margin-bottom: 4px;
background: linear-gradient(90deg, var(--blue), #8b5cf6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.tai-apps-featured-subtitle {
font-size: 13px;
color: var(--text2);
opacity: 0.8;
} .tai-apps-featured-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
} .tai-app-featured-card {
position: relative;
height: 100px;
border-radius: 16px;
overflow: hidden;
cursor: pointer;
background: var(--white);
border: 1px solid var(--border);
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
display: flex;
box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.tai-app-featured-card:hover {
transform: translateY(-4px) scale(1.01);
box-shadow: 0 20px 40px rgba(31, 79, 209, 0.12);
border-color: var(--blue);
}
.tai-app-featured-cover {
width: 100px;
height: 100%;
overflow: hidden;
position: relative;
flex-shrink: 0;
background: #f1f5f9;
}
.tai-app-featured-cover img,
.tai-app-featured-cover video {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s ease;
}
.tai-app-featured-card:hover .tai-app-featured-cover img,
.tai-app-featured-card:hover .tai-app-featured-cover video {
transform: scale(1.1);
}
.tai-app-featured-info {
flex: 1;
padding: 16px;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 0;
background: linear-gradient(90deg, var(--white) 0%, rgba(255,255,255,0.9) 100%);
}
.dark-mode .tai-app-featured-info {
background: linear-gradient(90deg, #1f2937 0%, rgba(31, 41, 55, 0.9) 100%);
}
.tai-app-featured-name {
font-size: 15px;
font-weight: 700;
color: var(--text);
margin-bottom: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tai-app-featured-title-row { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; }
.tai-apps-center .tai-app-card-title { font-size: 15px; line-height: 1.3; }
.tai-apps-center .tai-app-card-desc { font-size: 13px; line-height: 1.45; }
.tai-app-header { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.tai-app-detail-fav-btn {
width: 28px;
height: 28px;
border: 1px solid var(--border);
border-radius: 999px;
background: #fff;
color: #64748b;
font-size: 16px;
display:inline-flex;
align-items:center;
justify-content:center;
cursor:pointer;
flex:0 0 28px;
}
.dark-mode .tai-app-detail-fav-btn { background:#1e293b; border-color:#334155; color:#cbd5e1; }
.tai-app-detail-fav-btn.active { color:#ef4444; background:#fff1f2; border-color:rgba(239,68,68,0.3); } .tai-apps-all-hd {
grid-column: 1 / -1; font-size: 16px;
font-weight: 700;
color: var(--text);
margin: 20px 0 16px 4px;
display: flex;
align-items: center;
gap: 8px;
}
.tai-apps-all-hd::after {
content: "";
flex: 1;
height: 1px;
background: var(--border);
opacity: 0.5;
} @media (max-width: 768px) {
.tai-apps-featured-section {
margin: 0 -10px 20px -10px;
padding: 16px 12px 24px;
}
.tai-apps-featured-grid {
grid-template-columns: 1fr;
}
} .tai-nav { padding-bottom: 160px; }  .tai-nav-subsection { 
transition: background 0.2s; 
border: 1px solid transparent;
}
.cat-image, .cat-images, .cat-图片 { 
background: rgba(31, 79, 209, 0.035) !important; 
border-radius: 10px; 
margin: 8px 6px !important; 
border-color: rgba(31, 79, 209, 0.06) !important; 
}
.cat-video, .cat-videos, .cat-视频 { 
background: rgba(16, 185, 129, 0.035) !important; 
border-radius: 10px; 
margin: 8px 6px !important; 
border-color: rgba(16, 185, 129, 0.06) !important; 
}
.cat-music, .cat-audio, .cat-音频, .cat-音乐 { 
background: rgba(139, 92, 246, 0.035) !important; 
border-radius: 10px; 
margin: 8px 6px !important; 
border-color: rgba(139, 92, 246, 0.06) !important; 
}
.cat-text, .cat-writing, .cat-文案 { 
background: rgba(245, 158, 11, 0.035) !important; 
border-radius: 10px; 
margin: 8px 6px !important; 
border-color: rgba(245, 158, 11, 0.06) !important; 
} .dark-mode .cat-image { background: rgba(59, 130, 246, 0.08) !important; border-color: rgba(59, 130, 246, 0.12) !important; }
.dark-mode .cat-video { background: rgba(16, 185, 129, 0.08) !important; border-color: rgba(16, 185, 129, 0.12) !important; }
.dark-mode .cat-music, .dark-mode .cat-audio { background: rgba(139, 92, 246, 0.08) !important; border-color: rgba(139, 92, 246, 0.12) !important; }
.dark-mode .cat-text { background: rgba(251, 191, 36, 0.07) !important; border-color: rgba(251, 191, 36, 0.1) !important; } .tai-nav-subheader { 
display: flex; 
align-items: center; 
gap: 6px; 
padding-top: 10px !important; 
}
.tai-nav-subheader::before {
content: ""; width: 2px;
height: 10px;
background: currentColor;
opacity: 0.3;
border-radius: 1px;
} .tai-nav-subheader {
justify-content: flex-start !important;
padding-left: 16px !important;
gap: 8px !important;
}
.tai-nav-subheader::before {
display: none !important; } #tianyin-app-root { overflow-x: hidden !important; }
.tai-logo, .tai-topbar-title { cursor: pointer; } .tai-related-section {
margin-top: 30px;
padding-top: 24px;
border-top: 1px solid var(--border);
}
.tai-related-section h4 {
font-size: 15px;
color: var(--text);
margin-bottom: 16px;
font-weight: 700;
display: flex;
align-items: center;
gap: 8px;
}
.tai-related-section h4::before {
content: "";
width: 3px;
height: 14px;
background: var(--blue);
border-radius: 2px;
} .tai-related-grid {
display: grid;
grid-template-columns: 1fr;
gap: 15px;
}
@media (min-width: 640px) {
.tai-related-grid {
grid-template-columns: repeat(3, 1fr);
}
}
.tai-related-card {
display: flex;
align-items: center;
cursor: pointer;
background: var(--bg-card, rgba(255,255,255,0.03));
border: 1px solid var(--border);
border-radius: 12px;
padding: 12px;
transition: all 0.25s ease;
gap: 12px;
}
.tai-related-card:hover {
background: var(--white);
border-color: var(--blue);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dark-mode .tai-related-card:hover {
background: rgba(255,255,255,0.08);
}
.tai-related-card .cover-wrap {
width: 56px;
height: 56px;
border-radius: 8px;
overflow: hidden;
flex-shrink: 0;
background: #f3f4f6;
display: flex;
align-items: center;
justify-content: center;
}
.tai-related-card .cover-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
}
.tai-related-card .info {
flex: 1;
min-width: 0;
}
.tai-related-card .name {
font-size: 14px;
font-weight: 700;
color: var(--text);
margin-bottom: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tai-related-card .desc {
font-size: 11px;
color: var(--text2);
opacity: 0.7;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@media (max-width: 640px) {
.tai-related-grid { gap: 10px; }
.tai-related-card { padding: 8px; gap: 12px; }
.tai-related-card .cover-wrap { width: 48px; height: 48px; }
} #tianyin-app-root .tai-form-card-hd{
font-size: 15px !important;
}
#tianyin-app-root .tai-nav-section-label {
font-size: 16px !important;
}
#tianyin-app-root .tai-nav-section-header{
background: #fafafa;
}
#tianyin-app-root .tai-nav-item {
line-height: 1;
}
#tianyin-app-root .tai-rh-actions  {
border-top: 0 !important;
}
#tianyin-app-root.dark-mode .tai-nav-subsection .tai-nav-item{
color: #eee !important;
}
#tianyin-app-root .tai-chat-model-custom {
width: min(46vw, 220px) !important;
}
#tianyin-app-root.dark-mode .tai-hist-hd  {
background: rgba(148, 163, 184, 0.10);
border-color: rgba(148, 163, 184, 0.16);
}
#tianyin-app-root.dark-mode .tai-topbar-title{
color: #fff !important;
}
#tianyin-app-root div.tai-topbar,
#tianyin-app-root .tai-logo {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
position: relative;
z-index: 10;
}
#tianyin-app-root .tai-app-cover-card img,
#tianyin-app-root .tai-app-cover-card video {
max-height: 100% !important;
}
#tianyin-app-root .tai-field textarea {
height: 220px !important;
font-size: 15px !important;
}
#tianyin-app-root .tai-app-desc-inner {
font-size: 16px !important;
}
#tianyin-app-root div.tai-user-menu-item,
#tianyin-app-root div.tai-user-name{
font-size: 15px !important;
line-height: 1;
}
#tianyin-app-root div.tai-upload-preview{
width: 220px !important;
height: 220px !important;
padding: 0;
overflow: hidden;
}
#tianyin-app-root .tai-field-desc,
#tianyin-app-root .tai-rh-container .tai-field label{
line-height: 2 !important;
}
#tianyin-app-root .tai-field:has([data-node-id="187"]),
#tianyin-app-root .tai-show-when:has([data-node-id="187"]) {
display: none !important;
}
#tianyin-app-root [data-node-id="187"] {
display: none !important;
}
#tianyin-app-root #tai-sec-apps > .tai-nav-section-body,
#tianyin-app-root #tai-sec-draw > .tai-nav-section-body {
max-height: none !important;
}
#tianyin-app-root .tai-nav {
padding-bottom: 65px !important;
}
#tianyin-app-root .tai-apps-featured-title,
#tianyin-app-root .tai-apps-featured-subtitle{
display: none;
}
#tianyin-app-root .tai-apps-featured-section {
margin: 0 -10px 0 -10px !important;
padding: 0 20px 14px !important;
}
#tianyin-app-root .tai-apps-all-hd {
display: none !important;
}
@media (max-width: 768px) {
#tianyin-app-root .tai-apps-tabs {
gap: 2px !important;
}
#tianyin-app-root .tai-apps-tabs a {
padding: 5px 6px !important;
font-size: 13px !important;
}
}
#tianyin-app-root .tai-app-desc-inner {
line-height: 1.3;
} #tianyin-app-root .tai-nav-section.collapsed .tai-nav-section-body {
max-height: 0 !important;
}
.tai-panorama-trigger { cursor: zoom-in; }
.tai-pano-modal {
position: fixed;
inset: 0;
z-index: 200500;
}
.tai-pano-backdrop {
position: absolute;
inset: 0;
background: rgba(0,0,0,.72);
}
.tai-pano-panel {
position: relative;
width: min(1100px, 94vw);
margin: 3vh auto 0;
background: #0f172a;
border: 1px solid rgba(255,255,255,.12);
border-radius: 12px;
overflow: hidden;
}
.tai-pano-hd {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
color: #fff;
background: rgba(15,23,42,.92);
}
.tai-pano-title {
font-size: 14px;
font-weight: 600;
}
.tai-pano-close {
border: 0;
background: rgba(255,255,255,.14);
color: #fff;
width: 28px;
height: 28px;
border-radius: 6px;
cursor: pointer;
}
.tai-pano-stage {
position: relative;
height: min(72vh, 620px);
overflow: hidden;
cursor: grab;
user-select: none;
-webkit-user-select: none;
touch-action: none;
background: #020617;
}
.tai-pano-stage canvas {
display: block;
width: 100% !important;
height: 100% !important;
}
.tai-pano-stage:active { cursor: grabbing; }
.tai-pano-tip {
color: #cbd5e1;
font-size: 12px;
padding: 8px 12px 12px;
background: rgba(15,23,42,.92);
}
.tai-inline-pano-wrap {
border: 1px solid var(--border);
border-radius: 10px;
overflow: hidden;
background: #020617;
}
.tai-inline-pano-stage {
height: min(62vh, 520px);
cursor: grab;
touch-action: none;
}
.tai-inline-pano-stage:active { cursor: grabbing; }
.tai-inline-pano-stage canvas {
display: block;
width: 100% !important;
height: 100% !important;
}
.tai-doc-prompt-modal.is-fullscreen .tai-inline-pano-stage {
height: min(88vh, 980px);
} .dark-mode #tai-sec-chat .tai-nav-section-header,
.dark-mode #tai-sec-apps .tai-nav-section-header,
.dark-mode #tai-sec-super .tai-nav-section-header,
.dark-mode #tai-sec-docs .tai-nav-section-header,
.dark-mode #tai-sec-draw .tai-nav-section-header,
.dark-mode #tai-sec-draw-direct .tai-nav-section-header-direct {
background: #1f2937 !important;
border-color: #334155 !important;
}
.dark-mode #tai-sec-draw-direct .tai-nav-direct-label,
.dark-mode #tai-sec-chat .tai-nav-section-label,
.dark-mode #tai-sec-apps .tai-nav-section-label,
.dark-mode #tai-sec-super .tai-nav-section-label,
.dark-mode #tai-sec-docs .tai-nav-section-label,
.dark-mode #tai-sec-draw .tai-nav-section-label {
color: #e5e7eb !important;
}
.dark-mode .tai-prompt-card-title,
.dark-mode .tai-prompt-main-title,
.dark-mode .tai-prompt-work-title,
.dark-mode .tai-prompt-rec-title,
.dark-mode .tai-prompt-detail-title,
.dark-mode .tai-prompt-detail-sec h4 {
color: #f8fafc !important;
}
.dark-mode .tai-prompt-card,
.dark-mode .tai-prompt-card-main {
background: #1f2937 !important;
border-color: #334155 !important;
}
.dark-mode .tai-prompt-card-meta,
.dark-mode .tai-prompt-detail-meta,
.dark-mode .tai-prompt-detail-tags span,
.dark-mode .tai-prompt-detail-images figcaption {
color: #cbd5e1 !important;
}
.dark-mode .tai-docs-main,
.dark-mode .tai-docs-side,
.dark-mode .tai-doc-prompt-panel,
.dark-mode .tai-prompt-detail {
background: #111827 !important;
border-color: #334155 !important;
}
.dark-mode .tai-prompt-text-wrap {
background: #0f172a !important;
border-color: #334155 !important;
}
.dark-mode .tai-prompt-text,
.dark-mode .tai-docs-content,
.dark-mode .tai-docs-empty {
color: #e5e7eb !important;
}
.dark-mode .tai-docs-more-btn {
background: #334155 !important;
color: #e5e7eb !important;
border-color: #475569 !important;
}
.dark-mode .tai-docs-more-btn:hover { background: #475569 !important; } body.tai-dark-mode .tai-doc-prompt-panel,
body.tai-dark-mode .tai-prompt-detail {
background: #111827 !important;
border-color: #334155 !important;
color: #e5e7eb !important;
}
body.tai-dark-mode .tai-prompt-detail-title,
body.tai-dark-mode .tai-prompt-detail-sec h4,
body.tai-dark-mode .tai-prompt-main-title,
body.tai-dark-mode .tai-prompt-work-title,
body.tai-dark-mode .tai-prompt-rec-title {
color: #f8fafc !important;
}
body.tai-dark-mode .tai-prompt-detail-meta,
body.tai-dark-mode .tai-prompt-detail-tags span,
body.tai-dark-mode .tai-prompt-detail-images figcaption {
color: #cbd5e1 !important;
}
body.tai-dark-mode .tai-prompt-text-wrap {
background: #0f172a !important;
border-color: #334155 !important;
}
body.tai-dark-mode .tai-prompt-text {
color: #e5e7eb !important;
}
body.tai-dark-mode .tai-doc-prompt-close,
body.tai-dark-mode .tai-doc-prompt-full {
background: #1f2937 !important;
color: #e5e7eb !important;
border-color: #334155 !important;
}  body .tai-doc-prompt-panel .tai-prompt-text-wrap,
body .tai-doc-prompt-panel .tai-prompt-detail .tai-prompt-text-wrap {
background: #111827 !important;
border: 1px solid #334155 !important;
box-shadow: none !important;
}
body .tai-doc-prompt-panel .tai-prompt-text-wrap .tai-prompt-text,
body .tai-doc-prompt-panel .tai-prompt-detail .tai-prompt-text {
background: #0f172a !important;
color: #e5e7eb !important;
border: 1px solid #334155 !important;
} #tianyin-app-root .tai-series-panel button,
#tianyin-app-root .tai-series-panel .tai-submit-btn,
#tianyin-app-root .tai-series-panel .btn-use,
#tianyin-app-root .tai-series-panel .btn-del,
#tianyin-app-root .tai-series-panel .btn-dl,
#tianyin-app-root .tai-series-panel [id^="tai-series-"] {
background: #e5e7eb !important;
color: #111827 !important;
border: 1px solid #cbd5e1 !important;
}
#tianyin-app-root .tai-series-panel button:hover,
#tianyin-app-root .tai-series-panel .tai-submit-btn:hover,
#tianyin-app-root .tai-series-panel .btn-use:hover,
#tianyin-app-root .tai-series-panel .btn-del:hover,
#tianyin-app-root .tai-series-panel .btn-dl:hover,
#tianyin-app-root .tai-series-panel [id^="tai-series-"]:hover {
background: #dbe3ec !important;
}
#tianyin-app-root.dark-mode .tai-series-panel button,
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl,
#tianyin-app-root.dark-mode .tai-series-panel [id^="tai-series-"] {
background: #334155 !important;
color: #e5e7eb !important;
border: 1px solid #475569 !important;
}
#tianyin-app-root.dark-mode .tai-series-panel button:hover,
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl:hover,
#tianyin-app-root.dark-mode .tai-series-panel [id^="tai-series-"]:hover {
background: #475569 !important;
} #tianyin-app-root .tai-series-panel button,
#tianyin-app-root .tai-series-panel a.btn-dl,
#tianyin-app-root .tai-series-panel .tai-submit-btn,
#tianyin-app-root .tai-series-panel .btn-use,
#tianyin-app-root .tai-series-panel .btn-del,
#tianyin-app-root .tai-series-panel .btn-dl,
#tianyin-app-root .tai-series-panel [id^="tai-series-"] {
background: #e5e7eb !important;
color: #111827 !important;
border: 1px solid #cbd5e1 !important;
border-radius: 8px !important;
}
#tianyin-app-root .tai-series-panel button:hover,
#tianyin-app-root .tai-series-panel a.btn-dl:hover,
#tianyin-app-root .tai-series-panel .tai-submit-btn:hover,
#tianyin-app-root .tai-series-panel .btn-use:hover,
#tianyin-app-root .tai-series-panel .btn-del:hover,
#tianyin-app-root .tai-series-panel .btn-dl:hover,
#tianyin-app-root .tai-series-panel [id^="tai-series-"]:hover {
background: #dbe3ec !important;
color: #0f172a !important;
}
#tianyin-app-root.dark-mode .tai-series-panel button,
#tianyin-app-root.dark-mode .tai-series-panel a.btn-dl,
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl,
#tianyin-app-root.dark-mode .tai-series-panel [id^="tai-series-"] {
background: #334155 !important;
color: #e5e7eb !important;
border: 1px solid #475569 !important;
}
#tianyin-app-root.dark-mode .tai-series-panel button:hover,
#tianyin-app-root.dark-mode .tai-series-panel a.btn-dl:hover,
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl:hover,
#tianyin-app-root.dark-mode .tai-series-panel [id^="tai-series-"]:hover {
background: #475569 !important;
color: #f8fafc !important;
} .dark-mode .tai-prompt-work-card,
.dark-mode .tai-prompt-rec,
.dark-mode .tai-prompt-scroll-item img,
.dark-mode .tai-prompt-work-card img,
.dark-mode .tai-prompt-work-slide img {
background: #0f172a !important;
border-color: #334155 !important;
}
.dark-mode .tai-prompt-work-empty,
.dark-mode .tai-prompt-rec-empty {
background: #0f172a !important;
border-color: #334155 !important;
color: #94a3b8 !important;
}
.dark-mode .tai-prompt-fav-btn {
background: #1f2937 !important;
border-color: #334155 !important;
color: #f87171 !important;
}
body.tai-dark-mode .tai-prompt-work-card,
body.tai-dark-mode .tai-prompt-rec,
body.tai-dark-mode .tai-prompt-scroll-item img,
body.tai-dark-mode .tai-prompt-work-card img,
body.tai-dark-mode .tai-prompt-work-slide img {
background: #0f172a !important;
border-color: #334155 !important;
}
body.tai-dark-mode .tai-prompt-work-empty,
body.tai-dark-mode .tai-prompt-rec-empty {
background: #0f172a !important;
border-color: #334155 !important;
color: #94a3b8 !important;
}
body.tai-dark-mode .tai-prompt-fav-btn {
background: #1f2937 !important;
border-color: #334155 !important;
color: #f87171 !important;
} .dark-mode .tai-docs-search {
background: #0f172a !important;
border-color: #334155 !important;
color: #e5e7eb !important;
}
.dark-mode .tai-docs-search::placeholder {
color: #94a3b8 !important;
} #tianyin-app-root.dark-mode .tai-series-panel button,
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl {
background: #334155 !important;
color: #e5e7eb !important;
border-color: #475569 !important;
}
#tianyin-app-root.dark-mode .tai-series-panel button:hover,
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl:hover {
background: #475569 !important;
} body.tai-dark-mode .tai-prompt-text-wrap,
body.tai-dark-mode .tai-prompt-desc {
background: #0f172a !important;
border: 1px solid #334155 !important;
box-shadow: none !important;
}
body.tai-dark-mode .tai-prompt-text,
body.tai-dark-mode .tai-prompt-desc,
body.tai-dark-mode .tai-prompt-desc p,
body.tai-dark-mode .tai-prompt-desc li,
body.tai-dark-mode .tai-prompt-desc h2,
body.tai-dark-mode .tai-prompt-desc h3,
body.tai-dark-mode .tai-prompt-desc h4 {
color: #e5e7eb !important;
} body:not(.tai-dark-mode) .tai-prompt-text-wrap,
body:not(.tai-dark-mode) .tai-prompt-desc {
background: linear-gradient(130deg, #e9d5ff 0%, #bfdbfe 45%, #fde68a 100%) !important;
border: none !important;
box-shadow: 0 10px 24px rgba(59, 130, 246, 0.12) !important;
}
body:not(.tai-dark-mode) .tai-prompt-text,
body:not(.tai-dark-mode) .tai-prompt-desc,
body:not(.tai-dark-mode) .tai-prompt-desc p,
body:not(.tai-dark-mode) .tai-prompt-desc li,
body:not(.tai-dark-mode) .tai-prompt-desc h2,
body:not(.tai-dark-mode) .tai-prompt-desc h3,
body:not(.tai-dark-mode) .tai-prompt-desc h4 {
color: #0f172a !important;
}
body:not(.tai-dark-mode) .tai-prompt-text {
border: 1px solid rgba(255,255,255,0.78) !important;
background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%) !important;
} body[data-tai-theme="light"] .tai-prompt-text-wrap,
body[data-tai-theme="light"] .tai-prompt-desc {
background: linear-gradient(130deg, #e9d5ff 0%, #bfdbfe 45%, #fde68a 100%) !important;
border: none !important;
box-shadow: 0 10px 24px rgba(59, 130, 246, 0.12) !important;
}
body[data-tai-theme="light"] .tai-prompt-text,
body[data-tai-theme="light"] .tai-prompt-desc,
body[data-tai-theme="light"] .tai-prompt-desc p,
body[data-tai-theme="light"] .tai-prompt-desc li,
body[data-tai-theme="light"] .tai-prompt-desc h2,
body[data-tai-theme="light"] .tai-prompt-desc h3,
body[data-tai-theme="light"] .tai-prompt-desc h4 {
color: #0f172a !important;
}
body[data-tai-theme="light"] .tai-prompt-text {
border: 1px solid rgba(255,255,255,0.78) !important;
background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%) !important;
}
#tianyin-app-root.dark-mode .tai-series-panel button,
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl,
#tianyin-app-root.dark-mode .tai-series-panel [id^="tai-series-"] {
background: #334155 !important;
color: #e5e7eb !important;
border: 1px solid #475569 !important;
}
#tianyin-app-root.dark-mode .tai-series-panel button:hover,
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del:hover,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl:hover,
#tianyin-app-root.dark-mode .tai-series-panel [id^="tai-series-"]:hover {
background: #475569 !important;
}
#tianyin-app-root.dark-mode .tai-series-panel .tai-series-result-hd,
#tianyin-app-root.dark-mode .tai-series-panel .tai-series-shot-hd {
background: #1f2937 !important;
color: #f8fafc !important;
border-color: #334155 !important;
}
#tianyin-app-root.dark-mode .tai-series-panel .tai-submit-btn,
#tianyin-app-root.dark-mode .tai-series-panel .btn-use,
#tianyin-app-root.dark-mode .tai-series-panel .btn-del,
#tianyin-app-root.dark-mode .tai-series-panel .btn-dl {
background: #334155 !important;
color: #e5e7eb !important;
border-color: #475569 !important;
}
#tianyin-app-root.dark-mode .tai-series-panel textarea,
#tianyin-app-root.dark-mode .tai-series-panel select,
#tianyin-app-root.dark-mode .tai-series-panel pre {
background: #0f172a !important;
color: #e5e7eb !important;
border-color: #334155 !important;
} #tianyin-app-root:not(.dark-mode) .tai-prompt-text-wrap,
body:not(.tai-dark-mode) .tai-doc-prompt-panel .tai-prompt-text-wrap,
body[data-tai-theme="light"] .tai-doc-prompt-panel .tai-prompt-text-wrap {
background: linear-gradient(130deg, #e9d5ff 0%, #bfdbfe 45%, #fde68a 100%) !important;
border: none !important;
box-shadow: 0 10px 24px rgba(59,130,246,0.12) !important;
}
#tianyin-app-root:not(.dark-mode) .tai-prompt-text,
body:not(.tai-dark-mode) .tai-doc-prompt-panel .tai-prompt-text,
body[data-tai-theme="light"] .tai-doc-prompt-panel .tai-prompt-text {
background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%) !important;
color: #0f172a !important;
border: 1px solid rgba(255,255,255,0.78) !important;
} @media (max-width: 768px) { #tianyin-app-root .tai-app-card-title-row {
flex-wrap: nowrap !important;
align-items: center;
}
#tianyin-app-root .tai-app-card-title {
min-width: 0;
-webkit-line-clamp: 1;
}
#tianyin-app-root .tai-app-fav-btn-inline {
flex: 0 0 26px !important;
margin-top: 0 !important;
align-self: center !important;
} #tianyin-app-root .tai-rh-submit,
#tianyin-app-root .tai-submit-btn.tai-rh-submit {
min-width: 0 !important;
width: auto !important;
max-width: 50vw !important;
padding-left: 12px !important;
padding-right: 12px !important;
font-size: 16px !important;
} #tianyin-app-root .tai-form-card[data-count="2"] .tai-form-grid {
grid-template-columns: 1fr !important;
gap: 12px !important;
}
#tianyin-app-root .tai-form-card[data-count="2"] .tai-form-grid::before {
display: none !important;
}
#tianyin-app-root .tai-form-card[data-count="2"] .tai-form-grid .tai-field {
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
#tianyin-app-root,
#tianyin-app-root .tai-rh-container,
#tianyin-app-root .tai-rh-main {
max-width: 100%;
overflow-x: hidden;
}
#tianyin-app-root .tai-apps-filter-bar input {
min-width: 0 !important;
max-width: 100%;
}
#tianyin-app-root .tai-docs-wrap.prompt-mode .tai-docs-topbar {
flex-wrap: wrap !important;
}
#tianyin-app-root .tai-docs-wrap.prompt-mode .tai-docs-search {
flex: 1 1 100% !important;
max-width: 100% !important;
min-width: 0 !important;
}
#tianyin-app-root .tai-series-panel .tai-series-shot-hd > span:nth-child(3) {
min-width: 0 !important;
max-width: 100% !important;
white-space: normal !important;
overflow: hidden;
text-overflow: ellipsis;
}
#tianyin-app-root .tai-series-panel .tai-series-shot-card > div:nth-child(2) {
flex-wrap: wrap !important;
}
#tianyin-app-root .tai-series-panel .tai-series-shot-card > div:nth-child(2) .btn-use {
min-width: 0;
width: 100%;
} #tianyin-app-root div.tai-upload-preview {
width: 100% !important;
height: auto !important;
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: flex-start;
overflow: visible;
}
#tianyin-app-root .tai-upload-preview-inner {
width: min(220px, 100%);
max-width: 100%;
flex: 0 1 auto;
}
#tianyin-app-root .tai-upload-preview .tai-media-square,
#tianyin-app-root .tai-upload-preview .tai-audio-square {
width: min(220px, 100%);
height: auto;
aspect-ratio: 1 / 1;
}
} #tai-video-fetcher-page .tai-rh-right-col:empty,
#tai-motion-remix-page .tai-rh-right-col:empty{display:none}
#tai-video-fetcher-page .tai-rh-right-col:empty + *,
#tai-motion-remix-page .tai-rh-right-col:empty + *{display:none}
.tai-referral-page-inner{display:flex;flex-direction:column;gap:16px}
.tai-ref-card,.tai-ref-table-card{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:16px}
.tai-ref-link-row,.tai-ref-withdraw-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tai-ref-link-row input,.tai-ref-withdraw-row input{height:42px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:0 12px;min-width:220px;flex:1}
.tai-ref-card p{margin:8px 0 0;color:var(--text2);font-size:12px;line-height:1.6}
.tai-ref-instruction-text{color:var(--text);font-size:13px;line-height:1.75;white-space:normal}
.tai-ref-table{width:100%;border-collapse:collapse;font-size:12px}
.tai-ref-table th,.tai-ref-table td{padding:9px 10px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
.tai-ref-table th{color:var(--text2);background:var(--bg)}