/* Bright Bento home, intentionally loaded after home-page.css. */
body.youzi-home {
  color-scheme: light;
  margin: 0;
  color: #202532;
  background:
    radial-gradient(70% 55% at 82% 8%, rgba(139, 92, 246, .07), transparent 66%),
    radial-gradient(62% 48% at 22% 62%, rgba(37, 99, 235, .06), transparent 70%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7fb 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

body.youzi-home .home-shell { min-height: 100vh; overflow: clip; background: transparent; color: #202532; }
body.youzi-home .home-ambient-motion { position: fixed; inset: 0; z-index: -2; background: inherit; pointer-events: none; }
body.youzi-home .home-soft-aurora-canvas,
body.youzi-home .home-ambient-motion::before,
body.youzi-home .home-ambient-motion::after { display: none !important; }

body.youzi-home .home-header {
  position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  width: min(100%, 1920px); height: 72px; margin: 0 auto; padding: 0 clamp(24px, 3.35vw, 64px);
  border: 0; background: transparent; box-shadow: none;
}
body.youzi-home .home-brand { gap: 12px; color: #171b24; font-size: 20px; font-weight: 720; text-decoration: none; }
body.youzi-home .home-brand img { width: 38px; height: 38px; border-radius: 50%; background: #111318; filter: none; }
body.youzi-home .home-online-dot { color: #596273; font-size: 14px; }
body.youzi-home .home-online-dot::before { background: #24c98a; box-shadow: 0 0 0 4px rgba(36, 201, 138, .08); }

body.youzi-home .home-creation-zone { min-height: 0; padding: 42px clamp(24px, 3.35vw, 64px) 30px; background: transparent; }
body.youzi-home .home-creation-inner { align-items: stretch; width: min(100%, 1792px); max-width: none; margin: 0 auto; transform: none; }
body.youzi-home .home-hero { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: none; margin: 0 0 22px; padding: 0; text-align: left; }
body.youzi-home .home-hero h1 {
  max-width: none; margin: 0; color: #202532; font-family: inherit; font-size: clamp(54px, 5vw, 96px);
  font-weight: 680; line-height: 1.05; letter-spacing: -.045em; white-space: nowrap; text-shadow: none;
}
body.youzi-home .home-title-accent,
body.youzi-home .home-title-accent.home-gradient-title {
  display: inline; margin: 0 .035em; color: #1f63e9; background: none !important;
  -webkit-text-fill-color: #1f63e9; animation: none !important;
}
body.youzi-home .home-lead { margin: 18px 0 0; color: #687080; font-size: clamp(15px, 1vw, 17px); line-height: 1.65; }

body.youzi-home .home-bento-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; height: 382px;
  perspective: 1400px;
}
body.youzi-home .home-new-canvas {
  grid-column: span 5; position: relative; display: block; width: auto; height: 100%; margin: 0; padding: 40px;
  overflow: hidden; border: 1px solid rgba(24, 91, 224, .22); border-radius: 22px;
  background: linear-gradient(135deg, #1769f5 0%, #1e5eea 100%); color: #fff; text-align: left;
  box-shadow: 0 18px 50px rgba(26, 94, 226, .19), inset 0 1px 0 rgba(255,255,255,.24);
  transform-style: preserve-3d; transform-origin: center; will-change: transform; isolation: isolate;
  transition: box-shadow .24s ease, border-color .24s ease;
}
body.youzi-home .home-new-canvas::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at var(--tilt-light-x, 70%) var(--tilt-light-y, 25%), rgba(255,255,255,.2), transparent 38%);
}
body.youzi-home .home-new-canvas:hover { border-color: rgba(255,255,255,.42); box-shadow: 0 24px 58px rgba(26,94,226,.26), inset 0 1px 0 rgba(255,255,255,.38); }
body.youzi-home .home-new-copy { position: relative; z-index: 3; display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
body.youzi-home .home-new-copy strong { color: #fff; font-size: clamp(27px, 2vw, 36px); font-weight: 720; letter-spacing: -.035em; }
body.youzi-home .home-new-copy small { color: rgba(255,255,255,.86); font-size: 15px; }
body.youzi-home .home-new-icon {
  position: absolute; left: 40px; bottom: 40px; z-index: 4; display: grid; place-items: center;
  width: 76px; height: 76px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgba(0,38,125,.18);
}
body.youzi-home .home-new-plus { color: #1760df; font-size: 50px; font-weight: 350; line-height: 1; transform: translateY(-2px); }
body.youzi-home .home-new-brush-arrow { position: absolute; right: 5%; bottom: -4%; z-index: 2; width: 75%; height: 78%; object-fit: contain; pointer-events: none; }
body.youzi-home .home-new-arrow { display: none; }

body.youzi-home .home-tools-section { grid-column: span 7; min-width: 0; height: 100%; margin: 0; padding: 0; }
body.youzi-home .home-tools-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px; width: 100%; height: 100%; overflow: visible;
}
body.youzi-home .home-tool-card { position: relative; width: auto; min-width: 0; height: auto; min-height: 0; margin: 0; padding: 0; overflow: visible; border: 0; border-radius: 21px; background: transparent; box-shadow: none; color: #202532; text-align: left; cursor: default; transform-style: preserve-3d; transform-origin: center; will-change: transform; }
body.youzi-home .home-tool-card:nth-child(1) { grid-column: span 5; }
body.youzi-home .home-tool-card:nth-child(2) { grid-column: span 7; }
body.youzi-home .home-tool-card:nth-child(3),
body.youzi-home .home-tool-card:nth-child(4) { grid-column: span 6; }
body.youzi-home .home-tool-card.is-ready { cursor: pointer; }
body.youzi-home .home-tool-halo { display: none; }
body.youzi-home .home-tool-glass-layer {
  position: absolute; inset: 0; display: block; overflow: hidden; border: 1px solid rgba(61, 70, 91, .09); border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,.93), rgba(246,247,252,.86));
  box-shadow: 0 12px 34px rgba(57, 68, 99, .08), inset 0 1px 0 rgba(255,255,255,.86);
  transition: border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}
body.youzi-home .home-tool-card:nth-child(2) .home-tool-glass-layer { background: linear-gradient(145deg, #f9f8ff, #eceaff); }
body.youzi-home .home-tool-card:nth-child(3) .home-tool-glass-layer { background: linear-gradient(135deg, #ff6259, #f17871); border-color: rgba(218,75,67,.15); color: #fff; }
body.youzi-home .home-tool-card:nth-child(4) .home-tool-glass-layer { background: linear-gradient(145deg, #fbfbfc, #eceef2); }
body.youzi-home .home-tool-card:hover .home-tool-glass-layer { border-color: rgba(31,99,233,.22); box-shadow: 0 18px 38px rgba(52,67,107,.12), inset 0 1px 0 rgba(255,255,255,.95); filter: saturate(1.03); }
body.youzi-home .home-tool-card:nth-child(3):hover .home-tool-glass-layer { border-color: rgba(191,52,45,.2); }
body.youzi-home .home-tool-spotlight { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background: radial-gradient(150px circle at var(--tool-pointer-x,50%) var(--tool-pointer-y,50%), rgba(80,109,233,.1), transparent 72%); transition: opacity .2s ease; }
body.youzi-home .home-tool-card:hover .home-tool-spotlight { opacity: 1; }
body.youzi-home .home-tool-glass-content { position: absolute; inset: 0; z-index: 2; display: block; padding: 28px; overflow: hidden; border-radius: inherit; }
body.youzi-home .home-tool-copy { position: relative; z-index: 4; display: block; }
body.youzi-home .home-tool-copy strong { color: #202532; font-size: clamp(20px, 1.35vw, 27px); font-weight: 720; letter-spacing: -.035em; }
body.youzi-home .home-tool-state { position: absolute; left: 28px; top: 69px; z-index: 4; color: #70788a; font-size: 14px; font-weight: 650; }
body.youzi-home .home-tool-card.is-ready .home-tool-state { color: #1f63e9; }
body.youzi-home .home-tool-icon {
  position: absolute; left: 28px; bottom: 24px; z-index: 4; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 15px; background: rgba(255,255,255,.78); color: #1f63e9; font-size: 26px; box-shadow: 0 8px 20px rgba(60,70,110,.08);
}
body.youzi-home .home-tool-card:nth-child(3) .home-tool-copy strong,
body.youzi-home .home-tool-card:nth-child(3) .home-tool-state { color: #fff; }
body.youzi-home .home-tool-card:nth-child(3) .home-tool-state { opacity: .78; }
body.youzi-home .home-tool-card:nth-child(3) .home-tool-icon { color: #f45d55; }
body.youzi-home .home-tool-art { position: absolute; right: -2%; bottom: -5%; z-index: 2; width: 62%; height: 92%; object-fit: contain; pointer-events: none; transform-origin: center; transition: transform .28s cubic-bezier(.22,1,.36,1); }
body.youzi-home .home-tool-card:nth-child(2) .home-tool-art { right: 1%; width: 66%; }
body.youzi-home .home-tool-card:nth-child(3) .home-tool-art { right: 0; width: 67%; }
body.youzi-home .home-tool-card:nth-child(4) .home-tool-art { right: 1%; width: 64%; }
body.youzi-home .home-tool-card:hover .home-tool-art { transform: scale(1.45); }

body.youzi-home .home-gallery-section { position: relative; padding: 12px clamp(24px,3.35vw,64px) 70px; background: transparent; border: 0; }
body.youzi-home .home-gallery-container { width: min(100%,1792px); max-width: none; margin: 0 auto; }
body.youzi-home .home-gallery-head { align-items: flex-end; margin-bottom: 10px; }
body.youzi-home .home-gallery-head h2 { color: #202532; font-size: clamp(28px,2.2vw,40px); font-weight: 720; letter-spacing: -.035em; }
body.youzi-home .home-tab-summary { color: #687080; font-size: 14px; }
body.youzi-home .home-tabs { padding: 4px; border: 1px solid rgba(49,58,78,.11); border-radius: 14px; background: rgba(255,255,255,.72); box-shadow: 0 8px 24px rgba(54,64,94,.06); }
body.youzi-home .home-tab { color: #6b7382; }
body.youzi-home .home-tab.is-active { color: #202532; }
body.youzi-home .home-gooey-pill { background: #fff; box-shadow: 0 3px 12px rgba(48,58,88,.11); }
body.youzi-home .home-masonry { columns: 8 180px; column-gap: 14px; }
body.youzi-home .home-work-card { margin-bottom: 14px; border: 1px solid rgba(44,52,68,.1); border-radius: 18px; background: #fff; color: #fff; box-shadow: 0 8px 24px rgba(44,54,84,.07); }
body.youzi-home .home-work-card:hover { border-color: rgba(31,99,233,.22); box-shadow: 0 16px 34px rgba(44,54,84,.13); }
body.youzi-home .home-work-overlay { background: linear-gradient(180deg, transparent 38%, rgba(8,12,20,.82) 100%); }
body.youzi-home .home-gallery-empty { border-color: rgba(40,50,70,.12); background: rgba(255,255,255,.64); color: #596273; }
body.youzi-home .home-history-manage,
body.youzi-home .home-history-delete,
body.youzi-home .home-history-cancel { border-color: rgba(42,52,72,.12); background: #fff; color: #313744; }
body.youzi-home .home-tool-toast { background: #202532; color: #fff; }

@media (max-width: 1100px) {
  body.youzi-home .home-creation-zone { padding-top: 34px; }
  body.youzi-home .home-bento-grid { height: 340px; }
  body.youzi-home .home-new-canvas { padding: 30px; }
  body.youzi-home .home-new-icon { left: 30px; bottom: 30px; width: 64px; height: 64px; }
  body.youzi-home .home-new-plus { font-size: 42px; }
  body.youzi-home .home-tool-glass-content { padding: 22px; }
  body.youzi-home .home-tool-state { left: 22px; top: 58px; }
  body.youzi-home .home-tool-icon { left: 22px; bottom: 20px; width: 46px; height: 46px; }
  body.youzi-home .home-masonry { columns: 5 180px; }
}

@media (max-width: 820px) {
  body.youzi-home .home-header { height: 64px; }
  body.youzi-home .home-creation-zone { padding-top: 28px; }
  body.youzi-home .home-hero h1 { white-space: normal; font-size: clamp(44px,10vw,62px); }
  body.youzi-home .home-bento-grid { grid-template-columns: 1fr; height: auto; }
  body.youzi-home .home-new-canvas, body.youzi-home .home-tools-section { grid-column: 1; }
  body.youzi-home .home-new-canvas { height: 300px; }
  body.youzi-home .home-tools-section { height: 340px; }
  body.youzi-home .home-gallery-section { padding-top: 28px; }
  body.youzi-home .home-masonry { columns: 3 170px; }
}

@media (max-width: 560px) {
  body.youzi-home .home-header, body.youzi-home .home-creation-zone, body.youzi-home .home-gallery-section { padding-left: 16px; padding-right: 16px; }
  body.youzi-home .home-online-dot { font-size: 12px; }
  body.youzi-home .home-hero h1 { font-size: 42px; }
  body.youzi-home .home-new-canvas { height: 260px; padding: 26px; }
  body.youzi-home .home-new-icon { left: 26px; bottom: 26px; }
  body.youzi-home .home-tools-section { height: auto; }
  body.youzi-home .home-tools-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  body.youzi-home .home-tool-card:nth-child(n) { grid-column: 1; height: 160px; }
  body.youzi-home .home-gallery-head { align-items: flex-start; gap: 14px; }
  body.youzi-home .home-masonry { columns: 2 140px; column-gap: 10px; }
  body.youzi-home .home-work-card { margin-bottom: 10px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  body.youzi-home .home-new-canvas,
  body.youzi-home .home-tool-card,
  body.youzi-home .home-tool-art { transform: none !important; transition-duration: .01ms !important; }
  body.youzi-home .home-tool-spotlight { display: none; }
}
