.thread_page{position:fixed;top:0;left:0;right:0;bottom:0;height:100vh;height:100dvh;overflow:hidden;background:url(../../img/beijing_tu.png) top/100% auto no-repeat,#f8f8f8;display:flex;flex-direction:column}.thread_loading{display:flex;align-items:center;justify-content:center;gap:6px;height:100vh}.thread_loading .loading_dot{width:8px;height:8px;border-radius:50%;background:#1677ff;animation:thread_dot_pulse 1.4s ease-in-out infinite}.thread_loading .loading_dot:first-child{animation-delay:0s}.thread_loading .loading_dot:nth-child(2){animation-delay:.2s}.thread_loading .loading_dot:nth-child(3){animation-delay:.4s}@keyframes thread_dot_pulse{0%,80%,to{transform:scale(.6);opacity:.5}40%{transform:scale(1);opacity:1}}.thread_header{text-align:center;padding:20px 16px 12px}.thread_header .thread_title{font-size:1.125rem;font-weight:600;color:#0a0a0a;margin:0 0 6px}.thread_header .thread_time{font-size:.75rem;color:#999}.thread_messages{flex:1;overflow-y:auto;padding:0 16px 16px;display:flex;flex-direction:column;-webkit-overflow-scrolling:touch}.thread_messages::-webkit-scrollbar{width:4px}.thread_messages::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.message_item{display:flex;flex-direction:column;margin-bottom:16px}.message_item.user{align-items:flex-end}.message_item.user .bubble{width:auto;background:#0066fe;color:#fff;border-radius:16px 16px 4px 16px}.message_item.assistant{align-items:flex-start}.message_item.assistant .bubble{background:#fff;color:#333;border-radius:16px 16px 16px 4px}.bubble{padding:12px 16px;font-size:1rem;line-height:1.5;box-shadow:0 1px 3px rgba(0,0,0,.08);word-break:break-word}.bubble_file_only{width:100%;max-width:100%;background:transparent!important;box-shadow:none!important;padding:0!important}.content{white-space:pre-wrap}.attachments_wrap{width:100%}.attachments_scroll{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}.attachments_scroll::-webkit-scrollbar{height:4px}.attachments_scroll::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15);border-radius:2px}.attachment_item{flex-shrink:0;cursor:pointer}.attachment_image{display:block;width:100px;height:100px;-o-object-fit:cover;object-fit:cover;border-radius:8px;border:1px solid #eee}.attachment_file{display:flex;align-items:center;gap:8px;width:216px;height:82px;padding:12px;background:linear-gradient(180deg,#e4f1f7,#fff);border-radius:16px;border:1px solid #fff}.attachment_file_icon{flex-shrink:0;width:40px;height:40px}.attachment_file_info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px}.attachment_file_name{font-size:.8125rem;color:#333;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment_file_size{font-size:.6875rem;color:#999}.reasoning_wrapper{margin-bottom:10px;background:#fafafa;padding:10px;border-radius:8px}.reasoning_status{display:flex;align-items:center;font-size:14px;margin-bottom:8px}.reasoning_status_done{color:#999}.reasoning_content{font-size:14px;color:#999;line-height:24px;white-space:pre-wrap;margin-top:4px}.reasoning_collapsed{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;max-height:106px;padding-bottom:0}.reasoning_more{color:#999;font-size:14px;padding:4px 0;margin-top:4px;cursor:pointer;text-align:center}.reasoning_more img{width:10px;height:6px;margin-left:4px;transition:transform .3s ease;transform:rotate(0deg)}.reasoning_more.expanded img{transform:rotate(180deg)}.thread_footer{flex-shrink:0;padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px))}.continue_btn{width:100%;height:48px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1677ff,#4080ff);color:#fff;font-size:16px;font-weight:500;border-radius:24px;cursor:pointer}.continue_btn:active{opacity:.85}