"use client";

import dynamic from "next/dynamic";

const HomeClient = dynamic(() => import("./HomeClient"), {
  ssr: false,
  /** 仅纯色底，避免分包加载前白屏；真正 VIP/非 VIP 界面由 HomeClient 首帧同步读 localStorage 渲染 */
  loading: () => (
    <div className="min-h-screen bg-[var(--background)]" aria-hidden />
  ),
});

export function HomeClientLoader() {
  return <HomeClient />;
}
