.yws-ai-home-v2-shell{width:100%;max-width:none;box-sizing:border-box;margin:var(--yws-before-gap,16px) 0 var(--yws-after-gap,24px);padding:var(--yws-inner-y,16px) var(--yws-inner-x,16px);clear:both;overflow:visible;display:block;position:relative}
.yws-ai-home-v2{width:100%;max-width:none;margin:0;display:grid;grid-template-columns:1.38fr 1fr 2.78fr;gap:var(--yws-gap);box-sizing:border-box;font-family:inherit;color:var(--yws-text)}
.yws-ai-home-v2 a{color:inherit;text-decoration:none}
.yws-ai-home-v2-main,.yws-ai-home-v2-agent,.yws-ai-home-v2-tool{box-sizing:border-box;overflow:hidden;border-radius:var(--yws-radius);position:relative;transition:transform .18s ease,box-shadow .18s ease}
.yws-ai-home-v2-main:hover,.yws-ai-home-v2-agent:hover,.yws-ai-home-v2-tool:hover{transform:translateY(-1px);box-shadow:0 5px 18px rgba(0,0,0,.07)}
.yws-ai-home-v2-main,.yws-ai-home-v2-agent{height:var(--yws-height)}
.yws-ai-home-v2-main{background:var(--yws-main-bg);padding:25px 20px 0;display:flex;flex-direction:column}
.yws-ai-home-v2-agent{background:var(--yws-agent-bg);padding:27px 20px 16px;display:flex;flex-direction:column}
.yws-ai-home-v2-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;position:relative;z-index:2}
.yws-ai-home-v2-heading{min-width:0}
.yws-ai-home-v2 h2{margin:0;font-size:var(--yws-title-size,24px);font-weight:700;line-height:1.15;color:var(--yws-text);letter-spacing:0}
.yws-ai-home-v2 p{margin:8px 0 0;color:var(--yws-desc);font-size:var(--yws-desc-size,14px);line-height:1.2}
.yws-ai-home-v2-pill{flex:none;background:var(--yws-button-bg);color:var(--yws-button-color);font-size:var(--yws-button-size,13px);font-weight:700;padding:12px 20px;border-radius:999px;white-space:nowrap;line-height:1}
.yws-ai-home-v2-main-media{margin-top:18px;flex:1;min-height:0;border-radius:12px 12px 0 0;overflow:hidden;background:#dedbd4}
.yws-ai-home-v2-main-media{display:flex;align-items:center;justify-content:center}
.yws-ai-home-v2-main-media img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}
.yws-ai-home-v2-round-arrow{width:42px;height:42px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:23px;flex:none;color:#111}
.yws-ai-home-v2-chat{margin-top:25px;color:#60708a;font-size:12px;line-height:1.5}
.yws-ai-home-v2-question{background:rgba(255,255,255,.82);border-radius:8px;padding:6px 10px;margin:0 auto 7px;max-width:205px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.yws-ai-home-v2-answer{background:rgba(255,255,255,.78);border-radius:9px;padding:10px 9px;display:flex;gap:8px;align-items:flex-start}
.yws-ai-home-v2-mini{width:20px;height:20px;border-radius:5px;background:#111;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:none;font-size:9px;font-weight:700}
.yws-ai-home-v2-source{padding:8px 9px 0;color:#93a0b5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.yws-ai-home-v2-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:var(--yws-gap);min-width:0}
.yws-ai-home-v2-tool{background:var(--yws-small-bg);display:flex;align-items:center;gap:12px;padding:15px 17px;min-width:0}
.yws-ai-home-v2-icon{width:40px;height:40px;border-radius:12px;background:#e9e9e9;display:flex;align-items:center;justify-content:center;flex:none;color:#222;overflow:hidden}
.yws-ai-home-v2-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.yws-ai-home-v2-icon img{width:100%;height:100%;display:block;object-fit:cover}
.yws-ai-home-v2-tool-copy{min-width:0;display:flex;flex-direction:column;gap:6px}
.yws-ai-home-v2-tool strong{font-size:15px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yws-ai-home-v2-tool small{font-size:11px;line-height:1.2;color:var(--yws-desc);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1199px){
  .yws-ai-home-v2-shell{padding-left:max(12px,var(--yws-inner-x,16px));padding-right:max(12px,var(--yws-inner-x,16px))}
  .yws-ai-home-v2{grid-template-columns:1.38fr 1fr 2.5fr}
  .yws-ai-home-v2-tool{padding:13px 12px;gap:9px}
}
@media (max-width:900px){
  .yws-ai-home-v2{grid-template-columns:1fr 1fr}
  .yws-ai-home-v2-main,.yws-ai-home-v2-agent{height:auto;min-height:var(--yws-height)}
  .yws-ai-home-v2-tools{grid-column:1/-1;min-height:0;grid-template-rows:repeat(2,minmax(90px,1fr))}
}
@media (max-width:640px){
  .yws-ai-home-v2-shell{padding:var(--yws-inner-y,16px) max(var(--yws-mobile-padding),var(--yws-inner-x,16px)) }
  .yws-ai-home-v2{grid-template-columns:1fr;gap:var(--yws-mobile-gap)}
  .yws-ai-home-v2-main,.yws-ai-home-v2-agent{height:auto;min-height:210px}
  .yws-ai-home-v2-main{padding:21px 16px 0}
  .yws-ai-home-v2-agent{padding:22px 16px 16px}
  .yws-ai-home-v2 h2{font-size:var(--yws-title-size,21px)}
  .yws-ai-home-v2 p{font-size:var(--yws-desc-size,12px);margin-top:7px}
  .yws-ai-home-v2-pill{font-size:var(--yws-button-size,12px);padding:10px 14px}
  .yws-ai-home-v2-round-arrow{width:38px;height:38px;font-size:20px}
  .yws-ai-home-v2-tools{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:var(--yws-mobile-gap)}
  .yws-ai-home-v2-tool{min-height:82px;padding:12px 11px;gap:9px}
  .yws-ai-home-v2-icon{width:35px;height:35px;border-radius:10px}
  .yws-ai-home-v2-icon svg{width:19px;height:19px}
  .yws-ai-home-v2-tool strong{font-size:14px}
  .yws-ai-home-v2-tool small{font-size:10px}
}
@media (max-width:360px){
  .yws-ai-home-v2-tool{padding-left:9px;padding-right:9px}
  .yws-ai-home-v2-icon{width:32px;height:32px}
  .yws-ai-home-v2-tool strong{font-size:13px}
}

/* V1.0.6：模块本身与页面同宽。禁止使用 100vw + 负边距，避免纵向滚动条导致横向溢出。 */
html,body{max-width:100%;}
.yws-ai-home-v2-shell,.yws-ai-home-v2{min-width:0;}
.yws-ai-home-v2-ready{width:100%;max-width:none;}
@media (max-width:640px){
  .yws-ai-home-v2-shell{margin-top:var(--yws-before-gap,16px);margin-bottom:var(--yws-after-gap,24px);}
}
.yws-ai-home-v2-main-media video{width:100%;height:100%;display:block;object-fit:contain;object-position:center;background:#111}
.yws-ai-home-v2-round-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
