/* 首页专属视觉样式，不影响控制台、发布页或共享输入组件的其他使用位置。 */
.ai-home {
  position: relative;
  min-height: 100vh;
  padding: 36px 0 80px;
  color: #20243c;
  background: #f8f9fd;
  overflow: hidden;
  isolation: isolate;
}
.ai-home .ai-home-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 640px 400px at 32% 120px, rgba(213, 209, 255, .4), transparent 75%),
    radial-gradient(ellipse 570px 400px at 76% 290px, rgba(203, 226, 255, .32), transparent 75%),
    linear-gradient(180deg, #fff 0, rgba(255, 255, 255, .25) 590px, transparent 850px);
}
.ai-home .ai-home-container { position: relative; width: 100%; max-width: 1180px !important; padding: 12px 28px; }
.ai-home .ai-hero { text-align: center; padding: 12px 0 26px; }
.ai-home .ai-hero-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border: 1px solid #fff;
  border-radius: 15px;
  color: #7163d9;
  background: linear-gradient(145deg, #f0edff, #fff);
  box-shadow: 0 5px 18px rgba(96, 83, 173, .09);
}
.ai-home .ai-hero-mark .v-icon { color: inherit; font-size: 25px; }
.ai-home .ai-hero-title { margin: 10px 0 18px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1.3; letter-spacing: -.045em; }
.ai-home .ai-hero-title span {
  display: inline-block;
  margin-inline-start: .16em;
  color: #6758d8;
  background: linear-gradient(110deg, #5164d8 10%, #8060d8 65%, #a16cd5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-home .ai-hero-desc { margin: 0 auto 30px; color: #71778c; font-size: 17px; line-height: 1.8; letter-spacing: .035em; }
.ai-home .ai-platform-switch { display: inline-flex; align-items: center; justify-content: center; gap: 5px; max-width: 100%; padding: 5px; border: 1px solid #e8e9f2; border-radius: 16px; background: rgba(255, 255, 255, .88); box-shadow: 0 4px 16px rgba(37, 43, 89, .035); }
.ai-home .ai-platform-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #636b80; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .18s, color .18s, box-shadow .18s; }
.ai-home .ai-platform-button .v-icon { color: inherit !important; }
.ai-home .ai-platform-button:hover:not(:disabled) { color: #6255c7; background: #f4f2ff; }
.ai-home .ai-platform-button.is-active { color: #fff !important; background: linear-gradient(115deg, #6464dd, #7e63da) !important; box-shadow: 0 3px 9px rgba(102, 91, 205, .2); }
.ai-home .ai-platform-button:disabled { cursor: not-allowed; opacity: .7; }
.ai-home .ai-platform-button:focus-visible, .ai-home .home-build-actions .v-btn:focus-visible { outline: 3px solid #8b7ee8; outline-offset: 3px; }
.ai-home .ai-create { max-width: 880px; margin: 0 auto; }
.ai-home .ai-create-card { padding: 3px; border: 1px solid #dddff0; border-radius: 24px; background: #fff; box-shadow: 0 16px 48px -16px rgba(63, 62, 126, .19), 0 2px 7px rgba(48, 52, 92, .025); transition: border-color .2s, box-shadow .2s; }
.ai-home .ai-create-card:focus-within { border-color: #b2a7ef; box-shadow: 0 0 0 4px rgba(126, 99, 218, .065), 0 20px 50px -18px rgba(63, 62, 126, .22); }
.ai-home .ai-create-card.is-busy { border-color: #b2a7ef; }
.ai-home .home-build-input { padding: 20px 20px 14px; }
.ai-home .home-build-textarea .v-input__slot { padding: 0 4px !important; }
.ai-home .home-build-textarea textarea { min-height: 112px; padding-top: 2px; color: #30364e; font-size: 16px; line-height: 1.85 !important; }
.ai-home .home-build-textarea textarea::placeholder { color: #9398aa; opacity: 1; }
.ai-home .home-build-actions { gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0f1f6; }
.ai-home .home-build-left { gap: 4px; }
.ai-home .home-build-right { gap: 10px; }
.ai-home .home-build-right > .v-btn:last-child { width: 42px; height: 42px; border-radius: 13px; }
.ai-home .home-build-right > .v-btn:last-child:not(.v-btn--disabled) { color: #fff !important; background: linear-gradient(135deg, #6964dc, #8261d7); box-shadow: 0 4px 10px rgba(110, 90, 199, .2); }
.ai-home .home-build-right > .v-btn:last-child.v-btn--disabled { background: #f0eff7; }
.ai-home .home-build-right > .v-btn:last-child .v-icon { font-size: 23px !important; }
.ai-home .home-attachment { border-color: #e7e4f6; background: #faf9ff; border-radius: 10px; }
.ai-home .ai-create-state { display: flex; align-items: center; justify-content: center; min-height: 214px; padding: 30px; }
.ai-home .ai-create-state strong, .ai-home .ai-create-state small { display: block; }
.ai-home .ai-create-state strong { font-size: 17px; font-weight: 600; }
.ai-home .ai-create-state small { margin-top: 8px; color: #7a8095; line-height: 1.7; }
.ai-home .ai-error { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding: 10px 14px; border: 1px solid #f6d8dc; border-radius: 14px; color: #b83447; background: #fff6f7; font-size: 13px; }
.ai-home .ai-error > span { flex: 1; min-width: 140px; overflow-wrap: anywhere; }
.ai-home .ai-error small { display: block; margin-top: 3px; }
.ai-home .ai-home-lower { margin-top: 44px; padding: 30px; border: 1px solid #e9ebf3; border-radius: 24px; background: #fff; box-shadow: 0 10px 32px -18px rgba(53, 61, 109, .1); }
.ai-home .ras-header { margin-bottom: 20px; }
.ai-home .ras-title { font-size: 19px; letter-spacing: -.02em; }
.ai-home .ras-subtitle { line-height: 1.7; }
.ai-home .xm-home-wrap { border: 0; border-radius: 16px; }
@media (max-width: 600px) {
  .ai-home { padding: 20px 0 44px; }
  .ai-home .ai-home-container { padding: 8px 16px; }
  .ai-home .ai-hero { padding: 8px 0 22px; }
  .ai-home .ai-hero-mark { width: 38px; height: 38px; border-radius: 13px; margin-bottom: 6px; }
  .ai-home .ai-hero-title { margin: 10px 0 14px; font-size: clamp(28px, 7vw, 38px); line-height: 1.4; }
  .ai-home .ai-hero-desc { margin-bottom: 22px; font-size: 14px; letter-spacing: 0; }
  .ai-home .ai-platform-switch { gap: 4px; border-radius: 14px; }
  .ai-home .ai-platform-button { min-height: 42px; padding: 0 17px; font-size: 13px; }
  .ai-home .ai-create-card { border-radius: 20px; }
  .ai-home .home-build-input { padding: 16px 11px 10px; }
  .ai-home .home-build-textarea textarea { min-height: 115px; font-size: 16px; }
  .ai-home .home-build-actions { gap: 10px; margin-top: 10px; }
  .ai-home .home-build-right { gap: 7px; margin-inline-start: auto; }
  .ai-home .ai-create-state { min-height: 220px; padding: 24px 16px; }
  .ai-home .ai-home-lower { margin-top: 26px; padding: 20px 16px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-home .ai-platform-button, .ai-home .ai-create-card { transition: none; }
}
@media (forced-colors: active) {
  .ai-home .ai-hero-title span { background: none; -webkit-text-fill-color: CanvasText; }
  .ai-home .ai-platform-button.is-active { outline: 2px solid Highlight; }
}
