跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。

关于这个模板

电影评分社区是一个完整、数据丰富的 Web 应用,用于发现虚构电影并记录个人观影日记。它集成了编辑精选首页信息流、详细的电影页面、短评、长文影评、社区排名片单、想看列表和可视化品味画像。所有片名、影评人、评分和海报素材均为虚构,因此体验起来就像一个真实运转的社区,而不依赖真实的电影目录或授权海报图片。

视觉方向将独立电影杂志与精心编排的目录相结合。温暖的象牙色底、墨色文字、低饱和珊瑚色、赭石色星星、衬线标题和紧凑的等宽元数据,营造出独特的阅读环境。六张无字插画海报让精选电影拥有统一的身份感;一套确定性的 SVG 海报系统则延展了整个目录,避免重复的图库素材。首屏直接呈现丰富的精选电影界面,而不是只做营销的 hero 区。

交互是核心。访客可以给电影打分、在「想看」和「已看」之间切换、给有用的影评投票、筛选完整排名列表、写短评或长文,并看到自己的品味指标随之变化。评分、列表、投票和草稿都持久化在本地,在浏览器存储受限时回退到内存。所有图表均为手工构建的 SVG,所有状态都保留在设备上。

这个模板适合创作者、社区运营者和开发者,用来快速搭建影评产品、文化目录、读书会或推荐服务。六个变量可以更改品牌、邀请语、受众、精选电影、个人资料和排名列表名称,同时保持布局不变。备用案例会变成独立电影圈,使用同一套原创目录。响应式导航、键盘控制、减少动态效果、本地字体和静态构建,使其无需后端即可轻松改造。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。

# Movie Rating Community

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
Build [BRAND], an original static movie-rating community for [AUDIENCE]. The default invitation is [TAGLINE], the featured film is [FEATURED_FILM], the signed-in sample member is [PROFILE_NAME], and the editorial ranked list is [RANKED_LIST_NAME]. Provide a discovery home, movie detail routes, a combined short-take and long-essay review feed, a filterable 100-film ranked canon, want-to-watch and watched libraries, and a personal taste dashboard. All films and people are fictional; the interface must feel like a useful product, not a landing page with disconnected mockups.

- Audience: Write concise, welcoming US English for [AUDIENCE]. Assume visitors understand film titles and star ratings but do not need a tutorial, account, or backend. Favor specific observations about mood, craft, pacing, and rewatching over generic praise or marketing language.
- Goal: Let a visitor discover a film, inspect its aggregate five-star distribution, read both kinds of reviews, rate it, place it on a list, vote a review helpful, and immediately see the personal library and taste profile update. Keep every route interactive at 1440×900 and 390×844 with zero console errors and no external service.
- Tone: Literate, warm, opinionated, and unhurried: an independent film journal translated into a precise community app. Use exact film details and memorable review copy, not hype, awards language, engagement bait, streaming claims, or calls to sign up.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Vanilla CSS + hand-built SVG
- Libraries: React 18 and React DOM (MIT), Vite 5 (MIT), TypeScript 5.6 (Apache-2.0), lucide-react (ISC), @fontsource/instrument-serif (OFL-1.1), @fontsource/dm-sans (OFL-1.1), @fontsource/ibm-plex-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Create package.json with scripts dev = vite, build = tsc --noEmit && vite build, and preview = vite preview. Use React 18.3, Vite 5.4, TypeScript 5.6, lucide-react 0.468.0, and the three listed Fontsource packages; install and bundle every dependency locally.
  - Configure vite.config.ts with base './', build.outDir 'dist', build.sourcemap false, build.target 'es2020', and minification enabled. Use one index.html entry and hash-based navigation; do not copy src/ into dist/.
  - Organize src/content.ts for every variable, visible string, film record, review, seed list, and chart label; src/data/catalog.ts for deterministic derived metadata; src/state/community.tsx for shared state; src/components/ for the shell, film cards, rating input, charts, review cards, filters, and dialogs; src/pages/ for the six route views; src/App.tsx for routing; and src/styles.css for tokens and responsive rules.
  - Use a small hash router supporting '#/', '#/film', '#/film/<slug>', '#/reviews', '#/rankings', '#/library', and '#/profile'. All hrefs use './index.html#/…' form. Opening '#/film' without a slug displays the film selected by FEATURED_FILM, falling back to the first catalog record if it does not match. Unknown film slugs also show that first film with a plain notice rather than an empty page.
  - Derive BRAND_SLUG locally from BRAND with lowercase ASCII, spaces to hyphens, and unsafe characters removed; use it only for internal keys or ids, never as an external package or URL. Set lang en, the plain document title to the current view plus [BRAND], and create an original local frame-mark favicon.svg.
  - Keep one canonical catalog of exactly 100 film objects and one review collection. Derived counts, charts, library views, search results, profile metrics, and related films must read from shared state rather than duplicated hard-coded numbers. Use stable seeds only; never call Math.random during rendering.
  - Wrap localStorage access in try/catch because a sandboxed demo can reject storage. Use versioned key '[BRAND_SLUG]-community-v1' for personal ratings, list state, helpful votes, written reviews, and drafts. If storage fails, retain the same state in memory for the session without throwing or showing a technical error. Seed the sample profile only when no saved state exists.
  - Self-host Instrument Serif 400, DM Sans 400/500/600/700, and IBM Plex Mono 400/500 through Fontsource Latin subsets. Use no chart, router, animation, form, or state-management dependency. Build charts as labeled SVG/HTML composites with textual values available outside the graphics.
  - Write ASSETS.md at the project root listing all six generated images with their source URLs, target paths, and required generated-image credit, plus Lucide ISC and each Fontsource package with author, package URL, and OFL-1.1 license. Download the six images into public/posters/ during the build task and use relative paths; never hotlink them at runtime.
  - Use a single React community provider for ratings, watched and want-to-watch states, helpful votes, local reviews, filters, search, and mobile navigation. Mutually exclude watched and want-to-watch; setting a star rating also marks the film watched. Offer explicit buttons for removing a rating or moving a film between lists. Keep personal changes when navigating and after reload when storage is available.

## Variables
- [BRAND] — Community name (default: "Fableframe"). An invented one- or two-word name for the wordmark, document title, profile welcome, and storage-key prefix; never a real film or community brand.
- [TAGLINE] — Home invitation (default: "Rate the films. Find your people. Know your taste."). A concise original invitation of at most 64 characters; use it as the home H1 and adapt supporting copy naturally when it changes.
- [AUDIENCE] — Community audience (default: "curious film lovers"). A short lowercase audience phrase used in the home eyebrow and supporting copy.
- [FEATURED_FILM] — Featured film title (default: "The Cartographer's Dream"). One of the six art-directed catalog titles: The Cartographer's Dream, The Night Orchard, Static Between Stars, A Room for August, Salt on the Projectionist's Hands, or The Clockwork Heron.
- [PROFILE_NAME] — Sample member name (default: "Mara Ellison"). An invented member name used for the profile greeting, initials, local reviews, and library labels; never a real person.
- [RANKED_LIST_NAME] — Ranked canon name (default: "The Hundred"). A short original name for the 100-film ranked list, used in navigation and the rankings heading.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/movie-rating-community in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

## Design
### Colors
- Canvas `#F3F0E8` — Main page background and generous editorial margins.
- Paper `#FFFDF7` — Review cards, filters, dialogs, and raised content surfaces.
- Ink `#17262E` — Primary text, dark navigation band, and primary button fill.
- Secondary Ink `#667178` — Metadata, helper text, and inactive navigation; never use below readable contrast.
- Hairline `#D7D2C5` — Dividers, table rules, input borders, and chart tracks.
- Coral `#C85F49` — Editorial accents, active underlines, selected chips, and key links; pair with Paper for large text only where contrast passes.
- Ochre `#D49A3A` — Star ratings, rank markers, and small data highlights with Ink text on filled controls.
- Sage `#83927D` — Watched states, taste bars, and quiet secondary data.
- Night Blue `#203943` — Featured-film panel and dark footer surfaces.
- Mist `#E8E5DC` — Hover fills, selected neutral filters, and subtle chart backgrounds.
- Focus Teal `#236B70` — Visible keyboard focus outline and accessible interactive emphasis.

### Typography
- Wordmark, home H1, page titles, film titles, and large editorial quotations: Instrument Serif (OFL), weights 400
- Body copy, review text, buttons, navigation, filters, form fields, and profile summaries: DM Sans (OFL), weights 400/500/600/700
- Rank numbers, years, runtimes, rating values, vote counts, chart ticks, and filter counts: IBM Plex Mono (OFL), weights 400/500

### Layout & motion
- Spacing: Use a 4px base unit. The shared content width is min(1440px, calc(100vw - 96px)) on desktop with 48px side gutters, 24px card gaps, 32px between major groups, and 72px between home sections. Header height is 72px. Page title blocks use 36px top and 28px bottom padding. Film cards use 12px internal padding; review cards 24px; filter rows 16px. At 390×844 use 20px gutters, 48px section spacing, 16px card padding, 12px gaps, and a 60px header. H1 uses clamp(44px, 5vw, 72px) at 0.98 line height on desktop and 42px at 1.0 on mobile; page titles are 48px desktop and 38px mobile. All touch targets are at least 44×44px and no layout causes horizontal page overflow.
- Radius: Use 2px for rank badges and tiny labels, 6px for buttons and inputs, 10px for film and review cards, 16px for the featured-film composition and large dashboard panels, and fully round shapes only for avatar initials, status dots, and compact icon buttons. Favor hairlines and flat color over floating glass or heavy shadows.
- Motion: Render the featured film, posters, core metrics, and first reviews immediately; no splash screen, autoplay carousel, loading skeleton, or blocking intro animation.
- Motion: Route changes use a 160ms opacity fade with at most 6px upward movement and scroll to the top unless preserving a deliberate back-navigation position. Reduced-motion mode removes translation and makes transitions immediate.
- Motion: Film-card hover lifts the whole card by 3px and scales only its artwork to 1.025 over 180ms; title color changes to Coral. Touch devices retain visible labels and actions without depending on hover.
- Motion: Rating bars animate from their current width to the new width over 240ms after a personal rating changes. Helpful votes and list buttons give immediate text/state feedback plus a 160ms highlight, without layout shift.
- Motion: Filter result changes crossfade over 140ms and announce the result count through a polite live region. Dialogs and the mobile menu use 160ms opacity with 8px vertical movement, focus trapping, Escape close, and focus return.
- Motion: Use IntersectionObserver only for subtle 12px section reveals below the first screen. Under prefers-reduced-motion, reveal all content immediately, stop chart animation, remove hover movement, and preserve every state change.
- Imagery: Use six original wordless cinematic gouache-and-screen-print poster illustrations as the high-craft visual system for the featured catalog: The Cartographer's Dream, The Night Orchard, Static Between Stars, A Room for August, Salt on the Projectionist's Hands, and The Clockwork Heron. They share warm ivory, inky navy, muted coral, ochre, dusty sage, matte grain, and soft diffuse theatrical light. Display film titles and ratings as HTML outside the artwork; never ask the image generator for lettering. For the other 94 films, create deterministic original SVG posters from each film's slug using the same palette and distinct geometric scene recipes keyed by genre—horizons for drama, orbital arcs for science fiction, windows for mystery, intersecting paths for romance, offset circles for comedy, topographic lines for adventure, organic shapes for animation, frames for documentary, shadows for horror, and converging lines for thriller. These are authored posters, not gray placeholders. No real people, recognizable actors, existing film imagery, logos, text embedded in images, or recognizable landmarks. Lucide supplies familiar interface icons only.

## Pages & Sections
### Discover — [BRAND] (`#/`)
1. **Shared application shell and exact content model** — The header contains an original four-corner film-frame SVG, [BRAND], and links Discover, Reviews, [RANKED_LIST_NAME], My Library, and Taste Profile. A desktop search field has placeholder 'Search the 100-film catalog…' and opens a keyboard-accessible results list with title, year, genre, and average rating; '/' focuses it when no field is active and Escape closes it. The active route uses a Coral underline and aria-current. The mobile header retains brand, search, and a labeled Menu button that opens a drawer with every route. Footer copy is 'A slower place for film conversations.' with links Discover, Reviews, [RANKED_LIST_NAME], My Library, Taste Profile, and the optional [CREDIT] link. Keep every visible string in src/content.ts. Default home eyebrow is 'A film diary for [AUDIENCE]'; H1 is '[TAGLINE]'; body is 'Keep a living shelf of what you have seen, trade notes with people who notice the details, and let your own ratings—not a trending feed—shape what comes next.' Primary CTA is 'Explore the community' and secondary CTA is 'Open my film diary'. Rewrite variable-dependent copy for alternate values without retaining Fableframe, Mara Ellison, or The Hundred.
   Layout: Use a sticky 72px Ink header with full-width inner container and 48px desktop gutters. Desktop order is brand, five compact navigation links, 260px search field, then the sample member monogram derived from PROFILE_NAME. Mobile uses a 60px header with brand, search icon button, and Menu; the drawer is 320px maximum width and full-height on the right. Footer is Night Blue with 40px vertical padding and a simple two-row mobile layout. Do not add sign-in, pricing, promotional banners, or a second marketing header.
   Motion: Search results appear with a 120ms fade and support arrow keys, Enter, and Escape. Mobile drawer transitions follow Design motion, lock background scroll while open, and return focus to Menu on close.
2. **Catalog and review data** — Create exactly 100 original film titles in ten genre groups of ten, then interleave the groups by taking one title from each group per rank so the canon mixes genres. Drama: The Cartographer's Dream; A Room for August; The Night Orchard; The Last Tram to Bellwether; Porcelain Winter; The House on Aster Lane; A Choir of Empty Rooms; Small Hours at Meridian; Letters from a Paper Boat; Where the Violet Road Ends. Science fiction: Static Between Stars; The Clockwork Heron; Glass Horizon; Orbital Radio Hotel; The Tenth Lunar Winter; Machines of the Mild Sun; A Field of Artificial Stars; Instruction Manual for Tomorrow; The Cloud Archivist; Children of the Low Orbit. Mystery: The Bell at Blackwater; A Study in Salt; The Missing Hour Museum; No One Saw the Rain; The Eleventh Alibi; A Key for Every Stranger; The Quiet Witness Club; Footprints in the Blue Hour; The Unfinished Confession; A House of Locked Windows. Romance: Love at the Summer Terminal; The Geometry of Goodbye; Two Tickets to Elsewhere; The Letterbox Garden; A Waltz for Insomniacs; Meet Me at the Meridian; Paper Moon Over June; The Last Ferry to You; An Almost Perfect Detour; Recipe for Second Chances. Comedy: The Accidental Auction; My Neighbor the Astronaut; A Serious Case of Pigeons; The Understudy's Day Off; How to Lose a Lighthouse; The Wrong Suitcase Society; Dinner with Twelve Strangers; The Amateur Ghost Bureau; A Very Polite Heist; The Mayor of Nowhere. Adventure: Salt on the Projectionist's Hands; The River Beyond Maps; The Atlas of Hidden Islands; North of the Sleeping Sun; The Valley of Paper Cranes; The Last Desert Radio; A Compass for the Lost; The Storm Carriers; Beneath the Emerald Canopy; The Mountain That Moved. Animation: The Umbrella Collector; Moss and the Midnight Train; The Little Comet Bakery; A Whale in the Attic; The Paper Fox Parade; The Garden of Borrowed Colors; The Moon's Repair Shop; The Clockwork Seed; A Pocketful of Thunder; The Starlight Tailor. Documentary: The Last Neon Repairman; Voices of the Night Market; The Museum of Lost Sounds; Bread at First Light; The Secret Life of Crosswalks; Makers of the Morning; The River Remembers Us; One Hundred Small Gardens; The Night Shift Orchestra; The Hands That Mend. Horror: The House That Listens; A Knock at Blue Hour; The Hollow Photograph; The Guests Below; When the Streetlights Sleep; The Thirteenth Window; A Lullaby for the Walls; The Uninvited Garden; The Shape Behind the Rain; The Attic at Mill House. Thriller: The Silent Exchange; A Passenger in Room Nine; The Last Train West; The Courier's Second Shadow; Thirty Minutes to Midnight; The Glass Alibi; A Trap for the Honest Man; The Stranger's Notebook; No Exit from Eden; The Vanishing Platform. Slugify titles deterministically and never substitute real films.
   Layout: This is a data section, not visible page chrome. Store rank from 1 to 100 after interleaving. For rank i starting at 0, assign year = 1968 + ((i × 7) mod 57), runtime = 84 + ((i × 13) mod 73) minutes, and ratingCount = 860 + ((i × 7919) mod 48000). Choose one of ten explicit five-to-one-star percentage patterns from [[68,21,7,3,1],[61,27,8,3,1],[74,17,6,2,1],[57,29,9,4,1],[65,22,8,4,1],[54,30,10,4,2],[70,19,7,3,1],[59,26,10,4,1],[63,24,8,4,1],[52,29,12,5,2]] using i mod 10. Convert percentages to integer counts with the largest-remainder method so counts total ratingCount exactly, then compute average from those counts to two decimals. Rank remains editorial rank; rating sort uses computed average. Give every film a unique one-sentence logline in content.ts and a primary plus one secondary genre. Do not use current dates or external data.
   Motion: Data derivation is synchronous and deterministic. No artificial loading delay, randomization, or changing counts on reload.
3. **Art-directed films and sample community** — The six art-directed films keep these exact defaults. The Cartographer's Dream — 2023, 128m, Drama/Mystery, director Elian Voss: 'An insomniac mapmaker discovers a country that appears only in other people's dreams.' A Room for August — 2019, 97m, Drama, director Sora Bell: 'A retired stage painter spends one summer restoring an apartment for a tenant she has never met.' The Night Orchard — 2021, 106m, Drama/Romance, director Mina Quell: 'Two estranged sisters return to sell an orchard and find their mother's unfinished harvest ledger.' Static Between Stars — 2024, 114m, Science fiction, director Rowan Ives: 'A late-night radio operator on a relay station receives broadcasts from a future that may never happen.' Salt on the Projectionist's Hands — 2018, 121m, Adventure/Drama, director Tavi Ren: 'A traveling projectionist follows a coastal road to return a lost reel to a village missing from every map.' The Clockwork Heron — 2022, 104m, Science fiction/Animation, director Imani Wren: 'A shy repair apprentice follows a mechanical bird through a marsh where forgotten machines migrate each winter.' Override derived years and runtimes with these values. Seed each of these six with at least three distinct short takes and two substantial essays, all by invented reviewers with helpful counts, star values, and 80–180-word essay bodies. For The Cartographer's Dream include short take 'The final map is still living in my head.' by Nico P., five stars, 184 helpful; 'Quiet, strange, and unexpectedly funny.' by June R., four stars, 96 helpful; and 'Worth watching for the paper-city sequence alone.' by Ellis K., five stars, 73 helpful. Include essays 'The map is not the destination' by Amara Vale, five stars, 328 helpful, and 'A puzzle box with a pulse' by Theo Marr, four stars, 192 helpful. Never copy real criticism or use real reviewer identities.
   Layout: Data-only section. Seed [PROFILE_NAME] with 47 watched films, 18 want-to-watch films, 12 authored reviews, a personal average near 3.9, and favorite genres Drama, Science fiction, Mystery, and Documentary. Store exact seed film slugs so library and profile numbers reconcile. Derive initials from the variable name. Sample community avatars use two-letter monograms with assigned flat colors, not remote portraits. No visible 'sample data' or 'demo user' disclaimer is needed because the entire world is intentionally fictional.
   Motion: Personal changes update all dependent values in one React render. Seeded counts never reset during navigation.
4. **Featured-film discovery hero** — Left side contains the eyebrow, H1, body, and two CTAs from the shared content model, plus a compact search prompt 'Not sure where to begin? Search by title, genre, or mood.' Right side is a rich featured-film composition for [FEATURED_FILM]: its poster, genre/year/runtime, title, logline, computed community average and rating count, a five-star preview, and the CTA 'View film'. Add one layered short-take card quoting a seeded review with reviewer and helpful count, and a small 'Tonight's queue' strip with the first three want-to-watch titles from the sample profile. Primary CTA links to '#/reviews'; secondary links to '#/library'; View film links to the selected film's detail route. Do not add Play trailer, streaming-provider buttons, or a generic marketing illustration.
   Layout: At 1440×900 the hero is a 620px-max-height two-column grid, 5fr text to 7fr visual, with 48px gap and 32px vertical padding. Text is vertically centered with a 12px eyebrow, large serif H1, 18px body, and two 48px buttons. The Night Blue visual panel fills its column with 24px padding: a 250×375px poster at left and film details at right, the short-take card overlapping the poster's lower-right by 32px without covering its title, and the queue strip along the bottom. On mobile, stack a compact text block then the visual panel; use a 112×168px poster beside title and metadata, place review and queue below without overlap, and keep the View film button visible within roughly the first 844px. Never crop the poster into an unrecognizable strip.
   Motion: The complete composition is visible on first paint. Only the review card has a subtle 160ms entrance from 8px below; reduced-motion users see it immediately. Switching routes does not animate the poster off screen.
5. **Tonight's selection** — Heading 'Tonight's selection' with dek 'Six original films, six reasons to stay up a little later.' and text link 'Browse the full canon' to '#/rankings'. Render the six art-directed films as reusable film cards: poster, title, year and primary genre, average with Ochre star, and a bookmark button labeled 'Want to watch' or 'Saved to want to watch'. Clicking artwork or title opens its film route. Bookmark state syncs everywhere and must not trigger navigation.
   Layout: Use six equal columns at 1440px with 16px gaps and 3:4 posters; below 1180px use three columns; below 640px use a two-column grid with 12px gaps. Titles wrap to at most two lines but actions stay in normal flow, never absolute over text. Include 44px bookmark targets with visible accessible names. Section spacing follows Design and the first row is partially visible at the desktop fold if height allows.
   Motion: Film hover follows Design. Bookmark updates show 'Added to want to watch' or 'Removed from want to watch' in a polite status region and do not display a blocking toast.
6. **Community notebook and personal bridge** — Left column heading 'From the community notebook' presents one featured long essay for the current featured film with title, full reviewer name, star rating, 2–3 sentence excerpt, helpful count, and 'Read the full essay'. Beneath it place three compact short takes from three different films. Right column is 'Your film diary, so far' for [PROFILE_NAME], with three reconciled metrics Watched, Want to watch, and Reviews; a four-row genre affinity preview; and link 'See your taste profile'. A final quiet quote strip reads 'Good films end. Good conversations do not.' with CTA 'Write a review' linking to '#/reviews?compose=1' or the equivalent hash query parsed by the app.
   Layout: Use a 7fr/5fr grid with 24px gap. Essay card is Paper with 24px padding and a Coral left rule; short takes are separated by hairlines rather than nested cards. Personal panel is Mist with 16px radius and 24px padding, three metric columns, and four labeled Sage progress bars. At mobile stack essay, short takes, then personal panel; keep review text at 16px with 1.65 line height and no horizontal carousels.
   Motion: Helpful buttons update once per member per review and remain pressed after reload when storage works. Section reveal follows Design; no auto-rotating reviews.

### Film detail — [BRAND] (`#/film`)
1. **Film overview and rating distribution** — For '#/film/<slug>', show the selected film or the FEATURED_FILM fallback. Include breadcrumb 'Discover / [film title]', poster, title, director, year, runtime, primary and secondary genre, logline, community average, formatted rating count, and personal action buttons 'Want to watch', 'Watched', and a five-star input labeled 'Your rating'. Add a heading 'How the community rated it' and five horizontal bars in order 5, 4, 3, 2, 1 stars with exact counts and percentages. A small line reads 'Your rating is included in this distribution' only after the visitor rates it. Removing a personal rating restores the prior aggregate exactly. Related actions include 'Write a short take' and 'Write an essay', both focusing the appropriate editor below.
   Layout: Use a 320px/minmax(0,1fr)/360px desktop grid with 32px gaps: poster left, film metadata center, distribution panel right. The poster is full-width 3:4 with 10px radius. Center title is 56px Instrument Serif and metadata uses IBM Plex Mono 12px. Personal star buttons are 40px desktop and 44px mobile with visible hover/focus preview and text value '4 out of 5'. Distribution panel is Paper with 20px padding; each row has a 48px label, flexible 12px track, and 72px count. Below 1100px use poster plus content in two columns and distribution full-width below; at 390px use a 120px poster beside title and essential metadata, with actions and distribution below. Never overlay rating controls on the artwork.
   Motion: Stars preview on hover and keyboard focus, commit on click or Enter/Space, and support left/right arrows. Bars animate from previous values for 240ms. List actions update their pressed state immediately and reduced-motion users get instant changes.
2. **Short takes and long essays** — Heading 'The conversation' introduces tabs 'Short takes' and 'Long essays', with counts derived from the current review list. Short takes are concise 280-character-maximum reactions with monogram, reviewer, star rating, text, helpful button, and a collapsed report icon that does nothing beyond showing 'Thanks for the feedback' locally. Long essays show title, reviewer, rating, full 80–180-word body, helpful button, and 'Collapse essay' after expansion. Sort options are 'Most helpful' and 'Latest added'; Latest added puts locally authored entries first without inventing calendar dates. Each helpful vote toggles only once for the local member and updates the displayed count.
   Layout: Place tabs and sort in one bordered control row. Short takes use a two-column desktop grid and one-column mobile grid. Essays use one readable column with maximum 760px width and 18px/1.7 body text. Keep the review collection in shared state so the same entries appear on home, film, and reviews routes. Tab panels have accessible roles and keyboard navigation; no content is hidden behind hover.
   Motion: Switching tabs crossfades the list over 140ms and preserves each tab's sort. Helpful uses ThumbsUp plus text 'Helpful · 184', changing to 'Helpful given · 185' without shifting adjacent controls.
3. **Local review editor** — Use a segmented control for 'Short take' and 'Long essay', plus a visible five-star personal rating input. Short-take fields are one textarea with label 'What stayed with you?', live 280-character count, and submit 'Publish short take'. Long-essay fields are 'Essay title' with 80-character maximum and 'Your essay' with 2,000-character maximum plus a 40-character minimum, and submit 'Publish essay'. Include 'Preview' and 'Edit' modes; preview uses the final review-card typography. Submission adds a local review under [PROFILE_NAME], saves it with the community state, closes no other content, and shows confirmation 'Your review is on this film page.' Empty or invalid fields receive specific inline messages, not alerts.
   Layout: The editor is a Paper panel with 24px padding below the review list, maximum 860px. Desktop rating and mode controls share a row; textareas are full width, 120px for short take and 240px for essay. Mobile stacks controls and keeps submit full width. Save the current draft on input and offer 'Discard draft' with a simple inline confirmation. Do not send data anywhere or claim the review was posted to a server.
   Motion: Preview crossfades in over 120ms. Successful submission inserts the review at the top under Latest added and moves focus to its heading; reduced-motion mode is immediate.
4. **More like this** — Heading 'More like this' and three film cards selected deterministically from the same primary genre, excluding the current film, ordered by editorial rank. Each card explains one short reason such as 'Similar quiet mystery' or 'Another hand-built world', using actual genre/tone tags from content.ts. Include 'See the full canon' to '#/rankings'.
   Layout: Three equal columns on desktop and a single three-column horizontal scroll-snap rail on mobile with 78% viewport-width cards, labeled previous/next buttons, and no page-level horizontal overflow. Cards reuse the same actions and poster system as home.
   Motion: Rail controls scroll one card at a time with native smooth behavior unless reduced motion is requested. Bookmark and rating state remain synchronized.

### Community reviews — [BRAND] (`#/reviews`)
1. **Review desk introduction and filters** — Eyebrow 'THE REVIEW DESK'; H1 'Notes worth arguing over.'; body 'Quick reactions for the walk home. Longer essays for the films that need more room.' Provide search placeholder 'Search reviews or film titles…', type chips All, Short takes, Long essays, genre select All genres plus all ten genres, and sort Most helpful / Latest added. Result copy is '{n} reviews across {m} films'. A primary button 'Write a review' opens the composer with a film selector defaulting to FEATURED_FILM. If the hash query requests compose=1, open it on entry.
   Layout: Title block max-width 760px followed by a sticky-on-desktop filter bar with 12px gaps and Mist background. Search takes minmax(240px,1fr); chips remain visible rather than hidden in a dropdown. On mobile the bar is not sticky, chips wrap to two rows, selects are full width, and all fields are at least 44px high.
   Motion: Filtering updates count and list immediately with the standard result fade. Clear filters appears only when a filter is active and resets without reloading.
2. **Unified review feed** — Render a mixed feed of short takes and essays from all six art-directed films plus locally authored reviews for any film. Every card shows film title and links to its detail route. Short takes show one compact paragraph; essays show title, substantial excerpt, star rating, and 'Read full essay' expansion. Include helpful voting and a film poster thumbnail. Empty results show 'No reviews match those filters yet.' with 'Clear filters', never a broken blank panel.
   Layout: Use an 8fr/4fr grid: feed left and 'Reviewing this week' rail right. Feed cards are Paper with 20px padding and 16px gaps. Right rail lists the six art-directed films with review counts and average ratings, plus a small note 'Both quick notes and patient essays belong here.' At mobile use one column and move the rail below the first six feed cards or behind a 'Browse reviewed films' disclosure.
   Motion: Helpful and expansion states behave exactly as on film pages. No infinite scroll; use a 'Show more reviews' button adding six at a time with focus retained on the button.
3. **Community composer** — Opening Write a review reveals a dialog using the same validation and fields as the film editor plus a required searchable 'Film' select covering all 100 titles. The dialog title is 'Add to the conversation'. Submit adds the review to shared state, closes the dialog, applies no artificial delay, and shows the new entry at the top under Latest added. Include note 'Your words stay in this browser in this static edition.' rather than simulating a network request.
   Layout: Desktop dialog is centered at 680px maximum width and 90svh maximum height with internal scrolling; mobile is a full-width bottom sheet with safe-area padding. Include accessible title, close button, focus trap, Escape close, and focus return. Draft persists while navigating, but the dialog never opens automatically without compose=1 or an explicit click.
   Motion: Use the standard dialog transition. Submission moves focus to the new review heading and announces one concise confirmation.

### [RANKED_LIST_NAME] — [BRAND] (`#/rankings`)
1. **Ranked canon introduction** — Eyebrow 'THE COMMUNITY CANON'; H1 '[RANKED_LIST_NAME]'; body 'One hundred fictional films, ordered by the editorial desk and opened up to your own filters. Rank is a point of view, not a permanent verdict.' Show reconciled metrics '100 films', '10 genres', and the mean community rating computed from the catalog. Include 'Reset filters' and 'Save a film to your library' guidance rather than a fake share button.
   Layout: Use a wide editorial title row with H1 left and a 420px-max-width explanation right. Metrics sit in a three-column ruled strip below, using IBM Plex Mono 24px values and DM Sans 12px labels. Mobile stacks title, copy, then metrics with no oversized empty hero.
   Motion: Content appears immediately; only the standard below-fold reveal applies.
2. **Meaningful canon filters** — Provide search 'Title or director…', genre select All genres plus ten genres, decade select All decades / 2020s / 2010s / 2000s / 1990s / 1980s / 1970s / 1960s, minimum rating select Any / 4.5+ / 4.0+ / 3.5+, and sort Editorial rank / Highest rated / Title A–Z. Display '{n} of 100 films' and Clear filters. Filters combine with AND logic across the entire catalog before slicing visible rows. Sorting never changes the printed original rank. No filters produce an empty state with active-filter summary and Reset filters.
   Layout: A Paper filter panel with 16px padding contains search on the first row and four selects plus result count on the second. Desktop controls align end; mobile uses a two-column select grid and full-width search. All controls have persistent visible labels, not placeholder-only labels.
   Motion: Result count and rows update synchronously with a 140ms crossfade. Announce count politely; do not animate every row independently or reset focus after each selection.
3. **Ranked table and progressive rows** — Each row shows zero-padded original rank, 64×96px poster, title, director, year, genre, runtime, computed average, rating count, personal star rating if present, and bookmark button. Title opens the film route. Initially show 20 rows and use 'Show 20 more' until all filtered results are visible. The default first row is #001 The Cartographer's Dream. A watched row has a small Sage 'Watched' label; want-to-watch has a Coral-outline 'Queued' label. Include column headers Rank, Film, Details, Community, and Your library.
   Layout: Desktop uses a ruled table with 72px rank, minmax(280px,1.6fr) film, minmax(180px,1fr) details, 160px community, and 128px actions. Rows are 120px high with 12px padding and Paper hover. Mobile transforms each row into a grid: rank and poster left, title/metadata right, rating and actions in a full-width bottom row; do not force a horizontally scrolling table. Keep bookmark at least 44px and show all information without hover.
   Motion: Show more appends without replacing existing rows. Bookmark state updates immediately with an accessible status message; reduced-motion mode disables row fades.

### My film diary — [BRAND] (`#/library`)
1. **Personal library header** — Eyebrow '[PROFILE_NAME]’S FILM DIARY'; H1 'Your shelves, your rules.'; body 'Keep the maybes separate from the memories. Ratings and reviews follow every film you mark watched.' Show three computed counts for Watched, Want to watch, and Reviews written. Include 'Browse the canon' to '#/rankings' and 'Reset sample diary' behind an inline confirmation explaining that it restores the original fictional profile and removes local edits.
   Layout: Header uses a two-column title/count composition inside a Night Blue panel with Paper text and 24px padding. Three count cells have hairline separators. Mobile stacks title and counts, keeps both actions at least 44px, and uses no destructive button until confirmation is requested.
   Motion: Counts update immediately after any list or review action. Reset uses a 160ms highlight on the restored list and returns focus to the Watched tab.
2. **Watched and want-to-watch shelves** — Tabs are 'Watched' and 'Want to watch', each with the exact current count. Watched cards show poster, title, year, personal stars or 'Not rated yet', community average, and buttons 'Rate', 'Write a review', and 'Move to want to watch'. Want-to-watch cards show poster, title, genre, runtime, community average, and buttons 'Mark watched' and 'Remove'. Provide search within the current shelf and sort Recently changed / Title A–Z / Community rating. Empty want-to-watch copy is 'Your maybe-later shelf is open. Save a film from the canon.' with 'Browse films'; empty watched copy is 'Your first watched film starts the diary.' with 'Find a film'.
   Layout: Tabs, search, and sort occupy one control row. Each shelf uses a two-column desktop grid of horizontal film cards with 112×168px posters and 16px padding; mobile uses one column with 96×144px posters. Rate focuses the star input in an inline expansion rather than opening a new page. Write a review navigates to that film and focuses its composer. All actions remain visible, with no swipe-only behavior.
   Motion: Moving a film switches its tab membership after the standard 160ms state highlight and announces the destination. The active tab remains stable unless the user explicitly opens the other tab.
3. **Recently changed shelf** — Heading 'Recently changed' lists the six most recently rated, reviewed, or list-changed films in local state with concise action labels 'Rated 4 stars', 'Added to want to watch', 'Marked watched', or 'Reviewed'. Seed entries use relative sequence numbers, not calendar dates. Provide a text link to each film.
   Layout: Use a single ruled list with 48px poster thumbnails, title, action label, and ArrowRight icon. On mobile keep action labels below titles and maintain 44px row targets. If no changes exist, show the original six seed changes in their stored order rather than a blank panel.
   Motion: New changes move to the top without animated reordering; use one subtle background highlight on the changed row.

### Taste profile — [BRAND] (`#/profile`)
1. **Member identity and summary** — Show a 72px flat Coral monogram derived from [PROFILE_NAME], eyebrow 'TASTE PROFILE', H1 '[PROFILE_NAME], your taste has a shape.', and body 'Not a verdict. Just a useful map of what you return to, what you rate generously, and where your next surprise might live.' Four computed cards show Films watched, Reviews written, Average personal rating, and Want to watch. Include CTA 'Update your diary' to '#/library'. No follower counts, public achievement claims, real-person photo, or account settings.
   Layout: Use a Night Blue panel with monogram and title left, four metric cells right in a 2×2 grid, 24px padding, and 16px radius. Mobile stacks identity and metrics, retains readable 14px labels, and never lets the long variable name overflow; wrap it rather than truncating.
   Motion: Metrics use the same shared state and update without count-up animations. Standard section reveal only.
2. **Genre affinity and rating habits** — Left panel heading 'Genres you return to' displays all ten genres as horizontal Sage bars based on the member's watched films, with exact watched counts and percentage of watched library; the seed emphasizes Drama, Science fiction, Mystery, and Documentary. Right panel heading 'How you rate' shows five bars for personal five-to-one-star ratings plus average and total rated films. Include a text insight generated deterministically, default 'You rate dramas most often, but science fiction earns your highest average.' Recompute the insight from actual state rather than leaving it hard-coded when variables or ratings change.
   Layout: Two equal Paper panels with 24px padding and 24px gap. Every chart row includes visible text labels and values outside SVG; bars have 12px height and Hairline tracks. Mobile stacks panels and keeps labels at least 14px. Do not use pie charts, tiny legends, tooltip-only values, or chart-library defaults.
   Motion: Bars animate from old to new widths over 240ms after a rating/list change; reduced-motion users see instant values. No automatic animation on every route revisit.
3. **Decades and next-step recommendations** — Left panel 'Your decades' shows a compact column chart from the 1960s through 2020s based on watched films, with counts below each column. Right panel 'A different corner of the canon' recommends three films from the member's least-watched genres, excluding watched films and ordered by community rating, each with poster, title, one-sentence logline, average, and Want to watch. Explanations use actual data such as 'You have only watched two documentaries, so start here.' Include link 'Explore the full canon'.
   Layout: Use a 5fr/7fr grid. Decade chart is 280px high with seven labeled columns and values visible without hover. Recommendations are three horizontal rows with 72×108px posters and 16px gaps. Mobile stacks both panels and uses 64×96px posters; chart columns remain at least 28px wide with horizontal internal scrolling only if necessary.
   Motion: Saving a recommendation updates its button and the Want to watch metric everywhere. Columns use the same restrained width/height transition as other charts and become immediate under reduced motion.
4. **Recent reviews** — Heading 'In your own words' shows up to three local reviews by [PROFILE_NAME], mixing short takes and essay excerpts, each linked to its film and including personal stars and helpful count. CTA 'Write another review' links to '#/reviews?compose=1'. If all seeded reviews are removed, show 'Your review notebook is ready.' with the same CTA.
   Layout: Three equal columns desktop and one column mobile, using Paper cards with 20px padding. Keep excerpts at four lines with a visible Read review link to the film; do not truncate without an expansion path.
   Motion: New local reviews appear first with a single 160ms highlight. No carousel or automatic rotation.

## Assets
- image: Download https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/cartographers-dream.webp to public/posters/cartographers-dream.webp. Alt: 'Abstract desert map with an impossible staircase in warm ivory, ink, and coral.' Use for The Cartographer's Dream in the featured hero, film detail, cards, rankings, and profile as applicable. Credit in ASSETS.md exactly: Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/night-orchard.webp to public/posters/night-orchard.webp. Alt: 'Moonlit orchard with coral lanterns and dark sage branches in a matte illustrated style.' Use for The Night Orchard across its cards and detail route. Credit in ASSETS.md exactly: Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/static-between-stars.webp to public/posters/static-between-stars.webp. Alt: 'A solitary radio tower and orbital arcs in an inky star field with ochre light.' Use for Static Between Stars across its cards and detail route. Credit in ASSETS.md exactly: Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/room-for-august.webp to public/posters/room-for-august.webp. Alt: 'Sunlit empty room with a ladder, linen curtains, and geometric late-summer shadows.' Use for A Room for August across its cards and detail route. Credit in ASSETS.md exactly: Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/salt-cinema.webp to public/posters/salt-cinema.webp. Alt: 'An empty seaside projection screen, winding coastal path, and coral dusk in textured gouache.' Use for Salt on the Projectionist's Hands across its cards and detail route. Credit in ASSETS.md exactly: Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: Download https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/clockwork-heron.webp to public/posters/clockwork-heron.webp. Alt: 'An original mechanical heron among misty reeds with muted coral gears and ochre light.' Use for The Clockwork Heron across its cards and detail route. Credit in ASSETS.md exactly: Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template.
- image: For the other 94 catalog entries, author deterministic inline SVG posters in code from film slug and genre using the declared palette and geometric scene recipes. Save reusable poster-generation code in src/components/GenerativePoster.tsx, not as remote images or placeholder blocks. Record original SVG authorship in ASSETS.md; no additional bitmap downloads.
- icon: Bundle lucide-react locally for Search, Menu, X, Star, Bookmark, Check, ThumbsUp, SlidersHorizontal, ChevronDown, ArrowRight, PenLine, UserRound, Film, Clock3, BarChart3, RotateCcw, and Trash2 at 16–20px with currentColor. Draw the original four-corner frame wordmark, favicon, monograms, and all charts locally. Record Lucide's ISC license in ASSETS.md; no brand, festival, studio, or streaming icons.
- font: Self-host Instrument Serif 400 through @fontsource/instrument-serif, DM Sans 400/500/600/700 through @fontsource/dm-sans, and IBM Plex Mono 400/500 through @fontsource/ibm-plex-mono. Import only required Latin woff2 files and record package paths, package source URLs, authors, and OFL-1.1 licenses in ASSETS.md. Never use a font CDN.

## Don'ts
- Do not use real film titles, posters, stills, trailers, characters, studios, distributors, festivals, streaming services, award marks, recognizable cast likenesses, or real people's portraits. All 100 films, directors, reviewers, members, loglines, reviews, and aggregate figures must remain invented.
- Do not copy an existing film community's name, logo, mascot, slogan, unique icons, brand palette, exact layout, interface copy, review text, ranking entries, rating totals, usernames, or profile imagery. The generic concepts of stars, lists, reviews, and taste charts are not permission to reproduce a branded product.
- Do not use external movie databases, third-party APIs, authentication, accounts, a backend, server code, API routes, databases, remote forms, analytics, tracking, ads, sharing services, or requests that claim to publish reviews online. All interactions are local and all content ships in the static bundle.
- Do not hotlink the six generated images or any other asset. Download the declared images to public/posters/ during the build, use relative paths, and include every third-party file and the exact generated-image credit in ASSETS.md. No Unsplash, Pexels, Pixabay, stock-license photos, placeholder-image services, Google Images, CC BY-NC, or CC BY-SA assets.
- Do not use commercial fonts, Google Fonts URLs, CDN scripts or styles, restricted UI-library source, additional chart/router/state/animation libraries, or externally hosted icons. Use only the declared packages, hand-built SVG charts, local CSS, and self-hosted Fontsource fonts.
- Do not let localStorage denial, sandboxed iframes, malformed saved data, or unknown film slugs produce console errors or blank pages. Validate saved state, use the in-memory fallback, preserve interactions, and show the selected/default film when a detail slug is absent or invalid.
- Do not duplicate rating, review, list, or profile numbers in unrelated components. Derive all counts and charts from canonical shared state; make watched and want-to-watch mutually exclusive, include a new rating in the aggregate once, and reverse it exactly when removed.
- Do not hard-code Fableframe, the default invitation, audience, featured film, profile name, or ranked-list name outside src/content.ts. When variables change, rewrite variable-dependent copy naturally and expose no unresolved [VARIABLE] placeholders or contradictory default text.
- Do not create bare-directory links, nonfunctional buttons, placeholder '#', server routes, or extra pages. Use only index.html and the declared hash routes with './index.html#/…' hrefs; '#/film' and unknown film slugs always resolve to a real default film.
- Do not add marketing pricing, sign-up walls, fake live counters, real review dates, streaming links, trailers, awards, push notifications, cookie banners, autoplay carousels, infinite scroll, or promotional pop-ups. The product is the community interface itself.
- Do not add SEO metadata beyond the plain current-view title and local favicon: no meta-description work, Open Graph tags, JSON-LD, sitemap code, keyword stuffing, or heading-hierarchy instructions.
- Production npm run build must emit minified static dist/ below 20 MB with Vite base './', no source maps, and no src/ copied into dist/. It must work at 1440×900 and 390×844 with zero console errors and no horizontal page overflow.
- Respect prefers-reduced-motion, visible keyboard focus, semantic buttons and tabs, accessible chart values, labeled fields, dialog focus trapping and restoration, 44px touch targets, and non-color state labels. Do not require hover, swipe, or animation to complete an action.
- Never mention VibeFather inside the rendered site except the optional [CREDIT] footer link, and never use VibeFather or any real brand as a variable default. All copy, labels, sample data, and alt text must be US English.

---
— Prompt by VibeFather · https://vibefather.ai/t/movie-rating-community · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 电影评分社区

完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。

## 简介
构建 [BRAND],一个面向 [AUDIENCE] 的原创静态电影评分社区。默认邀请语是 [TAGLINE],精选影片是 [FEATURED_FILM],已登录的示例成员是 [PROFILE_NAME],编辑排名榜单是 [RANKED_LIST_NAME]。提供发现首页、电影详情路由、短评与长评合并的评论信息流、可筛选的 100 部影片排名经典、想看与已看片库,以及个人品味仪表盘。所有影片和人物均为虚构;界面必须像一个有用的产品,而不是一个由互不关联的模型稿拼成的落地页。

- 受众:为 [AUDIENCE] 撰写简洁、友好的美式英语。假定访客理解片名和星级评分,但不需要教程、账户或后端。倾向于对氛围、工艺、节奏和重看价值给出具体观察,而非泛泛赞美或营销语言。
- 目标:让访客发现一部影片、查看其五星评分聚合分布、阅读两种评论、为其评分、将其加入某个榜单、将某条评论标记为有帮助,并立即看到个人片库和品味档案更新。在 1440×900 和 390×844 下保持每条路由可交互,零控制台错误,且不依赖外部服务。
- 语气:有文化底蕴、温暖、有主见、从容不迫:一本独立电影期刊转化为一个精确的社区应用。使用准确的影片细节和令人难忘的评论文案,而非炒作、奖项语言、互动诱饵、流媒体声明或注册号召。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:原生 CSS + 手工构建的 SVG
- 库:React 18 和 React DOM(MIT)、Vite 5(MIT)、TypeScript 5.6(Apache-2.0)、lucide-react(ISC)、@fontsource/instrument-serif(OFL-1.1)、@fontsource/dm-sans(OFL-1.1)、@fontsource/ibm-plex-mono(OFL-1.1)
- 构建:`npm run build` → `dist/` 中的静态文件。无后端、无服务器代码、无外部 API。
- 设置:
  - 创建 package.json,脚本 dev = vite、build = tsc --noEmit && vite build、preview = vite preview。使用 React 18.3、Vite 5.4、TypeScript 5.6、lucide-react 0.468.0 以及列出的三个 Fontsource 包;在本地安装并打包所有依赖。
  - 配置 vite.config.ts,base 为 './',build.outDir 为 'dist',build.sourcemap 为 false,build.target 为 'es2020',并启用压缩。使用一个 index.html 入口和基于哈希的导航;不要将 src/ 复制到 dist/。
  - 组织 src/content.ts 用于每个变量、可见字符串、影片记录、评论、种子列表和图表标签;src/data/catalog.ts 用于确定性的派生元数据;src/state/community.tsx 用于共享状态;src/components/ 用于外壳、影片卡片、评分输入、图表、评论卡片、筛选器和对话框;src/pages/ 用于六个路由视图;src/App.tsx 用于路由;src/styles.css 用于令牌和响应式规则。
  - 使用一个小型哈希路由器,支持 '#/'、'#/film'、'#/film/<slug>'、'#/reviews'、'#/rankings'、'#/library' 和 '#/profile'。所有 href 使用 './index.html#/…' 形式。打开不带 slug 的 '#/film' 时显示由 FEATURED_FILM 选中的影片,如果不匹配则回退到第一条目录记录。未知影片 slug 也显示该第一部影片并给出简单提示,而不是空页面。
  - 从 BRAND 本地派生 BRAND_SLUG,使用小写 ASCII、空格转连字符并移除不安全字符;仅将其用于内部键或 id,绝不作为外部包或 URL。设置 lang 为 en,纯文档标题为当前视图加上 [BRAND],并创建一个原创的本地帧标记 favicon.svg。
  - 保持一个恰好包含 100 个影片对象的规范目录和一个评论集合。派生计数、图表、库视图、搜索结果、个人资料指标和相关影片必须从共享状态读取,而不是重复的硬编码数字。仅使用稳定种子;渲染期间绝不调用 Math.random。
  - 将 localStorage 访问包裹在 try/catch 中,因为沙盒演示可能拒绝存储。使用版本化键 '[BRAND_SLUG]-community-v1' 用于个人评分、列表状态、有用投票、书面评论和草稿。如果存储失败,在会话期间将相同状态保留在内存中,不抛出异常或显示技术错误。仅当不存在已保存状态时才播种示例个人资料。
  - 通过 Fontsource 拉丁子集自托管 Instrument Serif 400、DM Sans 400/500/600/700 和 IBM Plex Mono 400/500。不使用任何图表、路由器、动画、表单或状态管理依赖。将图表构建为带标签的 SVG/HTML 复合体,并在图形外提供文本值。
  - 在项目根目录编写 ASSETS.md,列出所有六张生成的图像及其源 URL、目标路径和必需的生成图像署名,以及 Lucide ISC 和每个 Fontsource 包及其作者、包 URL 和 OFL-1.1 许可证。在构建任务期间将六张图像下载到 public/posters/ 并使用相对路径;运行时绝不热链接它们。
  - 使用单个 React 社区提供程序处理评分、已观看和想看状态、有用投票、本地评论、筛选器、搜索和移动导航。已观看和想看互斥;设置星级评分也会将影片标记为已观看。提供显式按钮用于移除评分或在列表之间移动影片。在导航时以及存储可用时重新加载后保留个人更改。

## 变量
- [BRAND] — 社区名称(默认:“Fableframe”)。一个自创的一到两个词的名称,用于字标、文档标题、个人资料欢迎语和存储键前缀;绝不能是真实存在的电影或社区品牌。
- [TAGLINE] — 首页邀请语(默认:“Rate the films. Find your people. Know your taste.”)。一句简洁的原创邀请语,最多 64 个字符;将其用作首页 H1,当其变化时自然地调整辅助文案。
- [AUDIENCE] — 社区受众(默认:“curious film lovers”)。一个简短的小写受众短语,用于首页眉题和辅助文案。
- [FEATURED_FILM] — 精选影片标题(默认:“The Cartographer's Dream”)。六个艺术指导目录标题之一:The Cartographer's Dream、The Night Orchard、Static Between Stars、A Room for August、Salt on the Projectionist's Hands 或 The Clockwork Heron。
- [PROFILE_NAME] — 示例成员姓名(默认:“Mara Ellison”)。一个自创的成员姓名,用于个人资料问候语、姓名首字母、本地评论和片库标签;绝不能是真实人物。
- [RANKED_LIST_NAME] — 排名经典名称(默认:“The Hundred”)。一个简短的原创名称,用于 100 部影片排名列表,在导航和排名标题中使用。
- [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接指向 https://vibefather.ai/t/movie-rating-community(默认:是;删除此行即可移除)

页面与区块下的文案是为默认值编写的。如果你的值不同,请为它们重写每一个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块键控,以便之后无需改动组件即可替换内容。

## 设计
### 颜色
- 画布(Canvas)`#F3F0E8` — 主页面背景和宽裕的编辑留白。
- 纸张(Paper)`#FFFDF7` — 评论卡片、筛选器、对话框和抬升的内容表面。
- 墨色(Ink)`#17262E` — 主文本、深色导航带和主按钮填充。
- 次级墨色(Secondary Ink)`#667178` — 元数据、辅助文本和非活动导航;切勿在低于可读对比度时使用。
- 细线(Hairline)`#D7D2C5` — 分隔线、表格线、输入框边框和图表轨道。
- 珊瑚色(Coral)`#C85F49` — 编辑强调、活动下划线、选中标签和关键链接;仅在对比度通过时与 Paper 搭配用于大号文本。
- 赭色(Ochre)`#D49A3A` — 星级评分、排名标记和小型数据高亮,填充控件上使用 Ink 文本。
- 鼠尾草绿(Sage)`#83927D` — 已观看状态、品味条和安静次级数据。
- 夜蓝(Night Blue)`#203943` — 精选影片面板和深色页脚表面。
- 薄雾(Mist)`#E8E5DC` — 悬停填充、选中的中性筛选器和微妙的图表背景。
- 焦点青(Focus Teal)`#236B70` — 可见的键盘焦点轮廓和无障碍交互强调。

### 字体排印
- 字标、首页 H1、页面标题、影片标题和大型编辑引用:Instrument Serif (OFL),字重 400
- 正文、评论文本、按钮、导航、筛选器、表单字段和个人资料摘要:DM Sans (OFL),字重 400/500/600/700
- 排名数字、年份、时长、评分值、投票数、图表刻度和筛选计数:IBM Plex Mono (OFL),字重 400/500

### 布局与动效
- 间距:使用 4px 基准单位。共享内容宽度在桌面端为 min(1440px, calc(100vw - 96px)),侧边留白 48px,卡片间距 24px,主要组之间 32px,首页区块之间 72px。页头高度为 72px。页面标题块使用 36px 顶部和 28px 底部内边距。影片卡片使用 12px 内部内边距;评论卡片 24px;筛选行 16px。在 390×844 下使用 20px 留白、48px 区块间距、16px 卡片内边距、12px 间距和 60px 页头。H1 在桌面端使用 clamp(44px, 5vw, 72px),行高 0.98,移动端为 42px、行高 1.0;页面标题桌面端 48px、移动端 38px。所有触摸目标至少为 44×44px,且任何布局都不会导致页面水平溢出。
- 圆角:排名徽章和微小标签使用 2px,按钮和输入框使用 6px,影片和评论卡片使用 10px,精选影片组合和大型仪表盘面板使用 16px,仅头像首字母、状态点和紧凑图标按钮使用完全圆形。优先使用细线和纯色,而非浮动玻璃或重阴影。
- 动效:立即渲染精选影片、海报、核心指标和首批评论;无启动画面、自动播放轮播、加载骨架或阻塞式入场动画。
- 动效:路由切换使用 160ms 不透明度淡入,最多 6px 向上移动,并滚动到顶部,除非保留有意的后退导航位置。减少动效模式移除位移并使过渡立即完成。
- 动效:影片卡片悬停时整张卡片上浮 3px,仅其图像在 180ms 内缩放至 1.025;标题颜色变为 Coral。触摸设备保留可见标签和操作,不依赖悬停。
- 动效:个人评分变化后,评分条在 240ms 内从当前宽度动画到新宽度。有用投票和列表按钮提供即时文本/状态反馈,外加 160ms 高亮,不引起布局偏移。
- 动效:筛选结果变化在 140ms 内交叉淡入,并通过礼貌的实时区域宣布结果计数。对话框和移动菜单使用 160ms 不透明度和 8px 垂直移动,焦点陷阱、Escape 关闭和焦点返回。
- 动效:仅对首屏以下的微妙 12px 区块显现使用 IntersectionObserver。在 prefers-reduced-motion 下,立即显现所有内容,停止图表动画,移除悬停移动,并保留每个状态变化。
- 图像:使用六张原创无字电影感水粉与丝网印刷海报插画作为精选目录的高工艺视觉系统:The Cartographer's Dream、The Night Orchard、Static Between Stars、A Room for August、Salt on the Projectionist's Hands 和 The Clockwork Heron。它们共享暖象牙色、墨海军蓝、柔和珊瑚色、赭色、灰鼠尾草绿、哑光颗粒和柔和漫射剧场光。将影片标题和评分作为 HTML 显示在插画之外;切勿要求图像生成器添加文字。对于其他 94 部影片,使用相同调色板从每部影片的 slug 创建确定性原创 SVG 海报,并按类型键控不同的几何场景配方——剧情片用地平线,科幻片用轨道弧线,悬疑片用窗户,爱情片用交叉路径,喜剧片用偏移圆,冒险片用地形线,动画片用有机形状,纪录片用画框,恐怖片用阴影,惊悚片用汇聚线。这些是创作的海报,不是灰色占位符。没有真实人物、可识别的演员、现有电影图像、标志、嵌入图像中的文字或可识别的地标。Lucide 仅提供熟悉的界面图标。

## 页面与区块
### 发现 — [BRAND] (`#/`)
1. **共享应用外壳与精确内容模型** — 页头包含一个原创的四角胶片框 SVG、[BRAND],以及 Discover、Reviews、[RANKED_LIST_NAME]、My Library 和 Taste Profile 的链接。桌面端搜索框的占位符为 'Search the 100-film catalog…',打开一个可通过键盘访问的结果列表,显示片名、年份、类型和平均评分;当没有输入框处于活动状态时,'/' 聚焦该搜索框,Escape 关闭它。活动路由使用 Coral 下划线和 aria-current。移动端页头保留品牌、搜索,以及一个带标签的 Menu 按钮,点击后打开包含所有路由的抽屉。页脚文案为 'A slower place for film conversations.',链接包括 Discover、Reviews、[RANKED_LIST_NAME]、My Library、Taste Profile,以及可选的 [CREDIT] 链接。将所有可见字符串保留在 src/content.ts 中。默认首页眉题为 'A film diary for [AUDIENCE]';H1 为 '[TAGLINE]';正文为 'Keep a living shelf of what you have seen, trade notes with people who notice the details, and let your own ratings—not a trending feed—shape what comes next.' 主 CTA 为 'Explore the community',次 CTA 为 'Open my film diary'。为替代值重写依赖变量的文案,不要保留 Fableframe、Mara Ellison 或 The Hundred。
   布局:使用粘性的 72px Ink 页头,内部容器全宽,桌面端留 48px 边距。桌面端顺序为品牌、五个紧凑导航链接、260px 搜索框,然后是由 PROFILE_NAME 派生的示例成员字母组合。移动端使用 60px 页头,包含品牌、搜索图标按钮和 Menu;抽屉最大宽度 320px,位于右侧且全高。页脚为 Night Blue(夜蓝),垂直内边距 40px,移动端为简单的两行布局。不要添加登录、定价、促销横幅或第二个营销页头。
   动效:搜索结果以 120ms 淡入出现,支持方向键、Enter 和 Escape。移动端抽屉过渡遵循 Design motion,打开时锁定背景滚动,关闭时将焦点返回 Menu。
2. **目录与评论数据** — 创建恰好 100 个原创电影片名,分为十个类型组,每组十个,然后通过在每个排名中从每组取一个片名来交错各组,使经典片单混合类型。剧情:The Cartographer's Dream;A Room for August;The Night Orchard;The Last Tram to Bellwether;Porcelain Winter;The House on Aster Lane;A Choir of Empty Rooms;Small Hours at Meridian;Letters from a Paper Boat;Where the Violet Road Ends。科幻:Static Between Stars;The Clockwork Heron;Glass Horizon;Orbital Radio Hotel;The Tenth Lunar Winter;Machines of the Mild Sun;A Field of Artificial Stars;Instruction Manual for Tomorrow;The Cloud Archivist;Children of the Low Orbit。悬疑:The Bell at Blackwater;A Study in Salt;The Missing Hour Museum;No One Saw the Rain;The Eleventh Alibi;A Key for Every Stranger;The Quiet Witness Club;Footprints in the Blue Hour;The Unfinished Confession;A House of Locked Windows。爱情:Love at the Summer Terminal;The Geometry of Goodbye;Two Tickets to Elsewhere;The Letterbox Garden;A Waltz for Insomniacs;Meet Me at the Meridian;Paper Moon Over June;The Last Ferry to You;An Almost Perfect Detour;Recipe for Second Chances。喜剧:The Accidental Auction;My Neighbor the Astronaut;A Serious Case of Pigeons;The Understudy's Day Off;How to Lose a Lighthouse;The Wrong Suitcase Society;Dinner with Twelve Strangers;The Amateur Ghost Bureau;A Very Polite Heist;The Mayor of Nowhere。冒险:Salt on the Projectionist's Hands;The River Beyond Maps;The Atlas of Hidden Islands;North of the Sleeping Sun;The Valley of Paper Cranes;The Last Desert Radio;A Compass for the Lost;The Storm Carriers;Beneath the Emerald Canopy;The Mountain That Moved。动画:The Umbrella Collector;Moss and the Midnight Train;The Little Comet Bakery;A Whale in the Attic;The Paper Fox Parade;The Garden of Borrowed Colors;The Moon's Repair Shop;The Clockwork Seed;A Pocketful of Thunder;The Starlight Tailor。纪录片:The Last Neon Repairman;Voices of the Night Market;The Museum of Lost Sounds;Bread at First Light;The Secret Life of Crosswalks;Makers of the Morning;The River Remembers Us;One Hundred Small Gardens;The Night Shift Orchestra;The Hands That Mend。恐怖:The House That Listens;A Knock at Blue Hour;The Hollow Photograph;The Guests Below;When the Streetlights Sleep;The Thirteenth Window;A Lullaby for the Walls;The Uninvited Garden;The Shape Behind the Rain;The Attic at Mill House。惊悚:The Silent Exchange;A Passenger in Room Nine;The Last Train West;The Courier's Second Shadow;Thirty Minutes to Midnight;The Glass Alibi;A Trap for the Honest Man;The Stranger's Notebook;No Exit from Eden;The Vanishing Platform。确定性地将片名转为 slug,绝不替换为真实电影。
   布局:这是一个数据区块,不是可见的页面外壳。交错后存储排名 1 到 100。对于从 0 开始的排名 i,分配 year = 1968 + ((i × 7) mod 57),runtime = 84 + ((i × 13) mod 73) 分钟,ratingCount = 860 + ((i × 7919) mod 48000)。使用 i mod 10 从十个明确的五星到一星百分比模式中选择一个:[[68,21,7,3,1],[61,27,8,3,1],[74,17,6,2,1],[57,29,9,4,1],[65,22,8,4,1],[54,30,10,4,2],[70,19,7,3,1],[59,26,10,4,1],[63,24,8,4,1],[52,29,12,5,2]]。使用最大余数法将百分比转换为整数计数,使计数总和恰好等于 ratingCount,然后根据这些计数计算平均分,保留两位小数。排名保持编辑排名;评分排序使用计算出的平均分。在 content.ts 中为每部电影提供一句独特的 logline,以及一个主类型加一个次类型。不要使用当前日期或外部数据。
   动效:数据派生是同步且确定性的。没有人为加载延迟、随机化或重新加载时更改计数。
3. **艺术指导影片与示例社区** — 六部艺术指导影片保留以下精确默认值。The Cartographer's Dream — 2023,128m,Drama/Mystery,导演 Elian Voss:'An insomniac mapmaker discovers a country that appears only in other people's dreams.' A Room for August — 2019,97m,Drama,导演 Sora Bell:'A retired stage painter spends one summer restoring an apartment for a tenant she has never met.' The Night Orchard — 2021,106m,Drama/Romance,导演 Mina Quell:'Two estranged sisters return to sell an orchard and find their mother's unfinished harvest ledger.' Static Between Stars — 2024,114m,Science fiction,导演 Rowan Ives:'A late-night radio operator on a relay station receives broadcasts from a future that may never happen.' Salt on the Projectionist's Hands — 2018,121m,Adventure/Drama,导演 Tavi Ren:'A traveling projectionist follows a coastal road to return a lost reel to a village missing from every map.' The Clockwork Heron — 2022,104m,Science fiction/Animation,导演 Imani Wren:'A shy repair apprentice follows a mechanical bird through a marsh where forgotten machines migrate each winter.' 用这些值覆盖派生的年份和时长。为这六部影片各播种至少三条不同的短评和两篇实质性文章,全部由虚构评论者撰写,带有 helpful 计数、星级值和 80–180 词的文章正文。对于 The Cartographer's Dream,包含短评 'The final map is still living in my head.',作者 Nico P.,五星,184 helpful;'Quiet, strange, and unexpectedly funny.',作者 June R.,四星,96 helpful;以及 'Worth watching for the paper-city sequence alone.',作者 Ellis K.,五星,73 helpful。包含文章 'The map is not the destination',作者 Amara Vale,五星,328 helpful,以及 'A puzzle box with a pulse',作者 Theo Marr,四星,192 helpful。绝不要复制真实评论或使用真实评论者身份。
   布局:仅数据区块。为 [PROFILE_NAME] 播种 47 部已看影片、18 部想看影片、12 篇撰写的评论、接近 3.9 的个人平均分,以及最喜欢的类型 Drama、Science fiction、Mystery 和 Documentary。存储精确的种子影片 slug,以便片库和个人资料数字对账。从变量名派生首字母。示例社区头像使用带指定纯色的两字母字母组合,而非远程肖像。不需要可见的 'sample data' 或 'demo user' 免责声明,因为整个世界都是有意虚构的。
   动效:个人更改在一次 React 渲染中更新所有依赖值。种子计数在导航期间永不重置。
4. **精选影片发现主视觉区** — 左侧包含来自共享内容模型的眉题、H1、正文和两个 CTA,外加一个紧凑的搜索提示 'Not sure where to begin? Search by title, genre, or mood.'。右侧是 [FEATURED_FILM] 的丰富精选影片组合:其海报、类型/年份/时长、标题、一句话简介、计算出的社区平均分和评分数量、五星预览,以及 CTA 'View film'。添加一张层叠的短评卡片,引用一条种子评论,包含评论者和有用数,以及一条小型 'Tonight's queue' 条带,展示示例档案中前三个想看标题。主 CTA 链接到 '#/reviews';次级链接到 '#/library';View film 链接到所选影片的详情路由。不要添加 Play trailer、流媒体提供商按钮或通用营销插图。
   布局:在 1440×900 下,主视觉区是最大高度 620px 的两列网格,5fr 文本对 7fr 视觉,间距 48px,垂直内边距 32px。文本垂直居中,包含 12px 眉题、大号衬线 H1、18px 正文和两个 48px 按钮。Night Blue(夜蓝)视觉面板填满其列,内边距 24px:左侧为 250×375px 海报,右侧为影片详情,短评卡片与海报右下角重叠 32px 且不覆盖其标题,队列条带沿底部排列。在移动端,先堆叠紧凑文本块,再堆叠视觉面板;使用 112×168px 海报置于标题和元数据旁,将评论和队列放在下方且不重叠,并保持 View film 按钮在约前 844px 内可见。绝不要将海报裁剪成无法辨认的条带。
   动效:完整组合在首次绘制时可见。仅评论卡片有从下方 8px 处开始的 160ms 微妙入场;减少动效用户立即看到它。切换路由不会将海报动画移出屏幕。
5. **今晚精选** — 标题 'Tonight's selection',副标题 'Six original films, six reasons to stay up a little later.',文本链接 'Browse the full canon' 指向 '#/rankings'。将六部艺术指导影片渲染为可复用影片卡片:海报、标题、年份和主类型、带 Ochre(赭石色)星标的平均分,以及一个书签按钮,标签为 'Want to watch' 或 'Saved to want to watch'。点击 artwork 或标题打开其影片路由。书签状态在各处同步,且不得触发导航。
   布局:在 1440px 下使用六个等宽列,间距 16px,3:4 海报;低于 1180px 使用三列;低于 640px 使用两列网格,间距 12px。标题最多换行两行,但操作保持正常流,绝不绝对定位覆盖文本。包含 44px 书签目标,具有可见的可访问名称。区块间距遵循 Design,如果高度允许,第一行在桌面折叠处部分可见。
   动效:影片悬停遵循 Design。书签更新在礼貌状态区域显示 'Added to want to watch' 或 'Removed from want to watch',且不显示阻塞性 toast。
6. **社区笔记本和个人桥接** — 左列标题 'From the community notebook' 展示一篇当前精选影片的精选长文,包含标题、完整评论者姓名、星级评分、2–3 句摘录、有用数和 'Read the full essay'。其下放置来自三部不同影片的三条紧凑短评。右列是 [PROFILE_NAME] 的 'Your film diary, so far',包含三个协调指标 Watched、Want to watch 和 Reviews;一个四行类型偏好预览;以及链接 'See your taste profile'。最后一条安静引用条带写着 'Good films end. Good conversations do not.',CTA 'Write a review' 链接到 '#/reviews?compose=1' 或应用解析的等效 hash 查询。
   布局:使用 7fr/5fr 网格,间距 24px。文章卡片为 Paper,内边距 24px,带 Coral(珊瑚色)左侧规则;短评由细线分隔,而非嵌套卡片。个人面板为 Mist,16px 圆角,内边距 24px,三个指标列,以及四个带标签的 Sage 进度条。在移动端堆叠文章、短评,然后个人面板;保持评论文本 16px,行高 1.65,无水平轮播。
   动效:有用按钮每位成员每条评论更新一次,并在存储可用时重新加载后保持按下状态。区块显现遵循 Design;无自动轮播评论。

### 影片详情 — [BRAND](`#/film`)
1. **影片概览与评分分布** — 对于 '#/film/<slug>',显示所选影片或 FEATURED_FILM 回退项。包含面包屑 'Discover / [film title]'、海报、标题、导演、年份、片长、主类型和次类型、一句话简介、社区平均分、格式化后的评分数量,以及个人操作按钮 'Want to watch'、'Watched',和一个标注为 'Your rating' 的五星输入。添加标题 'How the community rated it',以及五条水平条,按 5、4、3、2、1 星的顺序排列,并显示精确计数和百分比。仅当访客评分后,才显示一行小字 'Your rating is included in this distribution'。移除个人评分会精确恢复先前的聚合结果。相关操作包括 'Write a short take' 和 'Write an essay',两者都会将焦点置于下方相应的编辑器。
   布局:桌面端使用 320px/minmax(0,1fr)/360px 网格,间距 32px:海报在左,影片元数据居中,分布面板在右。海报为全宽 3:4,圆角 10px。居中标题为 56px Instrument Serif,元数据使用 IBM Plex Mono 12px。个人星级按钮桌面端 40px、移动端 44px,具有可见的悬停/聚焦预览和文本值 '4 out of 5'。分布面板为 Paper 背景,内边距 20px;每行包含 48px 标签、灵活的 12px 轨道和 72px 计数。低于 1100px 时,海报与内容分两列,分布面板全宽置于下方;在 390px 时,使用 120px 海报置于标题和基本元数据旁,操作和分布面板在下方。切勿将评分控件叠加在海报上。
   动效:星级在悬停和键盘聚焦时预览,点击或 Enter/Space 提交,并支持左右方向键。条形图从先前值动画过渡 240ms。列表操作立即更新其按下状态,减少动效用户获得即时变化。
2. **短评与长文** — 标题 'The conversation' 引入标签页 'Short takes' 和 'Long essays',计数来自当前评论列表。短评为简洁的 280 字符以内反应,包含字母组合、评论者、星级评分、文本、有用按钮,以及一个折叠的报告图标,该图标仅在本地显示 'Thanks for the feedback',不做其他操作。长文显示标题、评论者、评分、完整的 80–180 词正文、有用按钮,以及展开后的 'Collapse essay'。排序选项为 'Most helpful' 和 'Latest added';Latest added 将本地创作的条目放在前面,不虚构日历日期。每个有用投票对本地成员仅切换一次,并更新显示的计数。
   布局:将标签页和排序放在一个带边框的控件行中。短评在桌面端使用两列网格,移动端使用单列网格。长文使用一个可读列,最大宽度 760px,正文 18px/1.7。将评论集合保留在共享状态中,以便相同的条目出现在首页、影片和评论路由上。标签面板具有可访问的角色和键盘导航;没有内容隐藏在悬停之后。
   动效:切换标签页时列表交叉淡入淡出 140ms,并保留每个标签页的排序。有用按钮使用 ThumbsUp 加文本 'Helpful · 184',变为 'Helpful given · 185' 时不移动相邻控件。
3. **本地评论编辑器** — 使用分段控件 'Short take' 和 'Long essay',以及一个可见的五星个人评分输入。短评字段为一个文本区域,标签为 'What stayed with you?',实时 280 字符计数,提交按钮 'Publish short take'。长文字段为 'Essay title'(最多 80 字符)和 'Your essay'(最多 2,000 字符,最少 40 字符),提交按钮 'Publish essay'。包含 'Preview' 和 'Edit' 模式;预览使用最终评论卡片的排版。提交后在 [PROFILE_NAME] 下添加一条本地评论,与社区状态一起保存,不关闭其他内容,并显示确认 'Your review is on this film page.'。空或无效字段收到具体的行内消息,而非警报。
   布局:编辑器为 Paper 面板,内边距 24px,位于评论列表下方,最大宽度 860px。桌面端评分和模式控件共享一行;文本区域全宽,短评 120px,长文 240px。移动端堆叠控件并保持提交按钮全宽。在输入时保存当前草稿,并提供 'Discard draft' 及简单的行内确认。不要将数据发送到任何地方,也不要声称评论已发布到服务器。
   动效:预览在 120ms 内交叉淡入。成功提交后,评论插入到 Latest added 下的顶部,并将焦点移到其标题;减少动效模式为即时。
4. **更多类似内容** — 标题 'More like this' 和三张影片卡片,从相同主类型中确定性选取,排除当前影片,按编辑排名排序。每张卡片解释一个简短理由,如 'Similar quiet mystery' 或 'Another hand-built world',使用 content.ts 中实际的类型/基调标签。包含 'See the full canon' 链接到 '#/rankings'。
   布局:桌面端三列等宽,移动端为单个三列水平滚动吸附轨道,卡片宽度为视口宽度的 78%,带有标注的上一页/下一页按钮,且无页面级水平溢出。卡片复用与首页相同的操作和海报系统。
   动效:轨道控件每次滚动一张卡片,使用原生平滑行为,除非请求减少动效。书签和评分状态保持同步。

### 社区评论 — [BRAND](`#/reviews`)
1. **评论台介绍与筛选器** — 眉题 'THE REVIEW DESK';H1 'Notes worth arguing over.';正文 'Quick reactions for the walk home. Longer essays for the films that need more room.' 提供搜索占位符 'Search reviews or film titles…',类型芯片 All、Short takes、Long essays,类型选择 All genres 加上全部十个类型,以及排序 Most helpful / Latest added。结果文案为 '{n} reviews across {m} films'。主按钮 'Write a review' 打开撰写器,影片选择器默认为 FEATURED_FILM。如果哈希查询请求 compose=1,则在进入时打开它。
   布局:标题块最大宽度 760px,后跟桌面端粘性筛选栏,间距 12px,Mist 背景。搜索占用 minmax(240px,1fr);芯片保持可见,而非隐藏在下拉菜单中。移动端筛选栏不粘性,芯片换行成两行,选择器全宽,所有字段至少 44px 高。
   动效:筛选立即更新计数和列表,使用标准结果淡入。仅当有筛选器激活时显示 Clear filters,重置时不重新加载。
2. **统一评论流** — 渲染来自全部六部艺术指导影片的短评和长文混合流,以及任何影片的本地创作评论。每张卡片显示影片标题并链接到其详情路由。短评显示一个紧凑段落;长文显示标题、实质性摘录、星级评分和 'Read full essay' 展开。包含有用投票和影片海报缩略图。空结果显示 'No reviews match those filters yet.' 及 'Clear filters',绝不显示损坏的空白面板。
   布局:使用 8fr/4fr 网格:评论流在左,'Reviewing this week' 侧栏在右。评论流卡片为 Paper 背景,内边距 20px,间距 16px。右侧栏列出六部艺术指导影片及其评论数量和平均评分,外加一个小注释 'Both quick notes and patient essays belong here.' 移动端使用单列,将侧栏移到前六张评论流卡片下方,或置于 'Browse reviewed films' 展开项之后。
   动效:有用和展开状态的行为与影片页面完全一致。无无限滚动;使用 'Show more reviews' 按钮每次添加六条,焦点保留在按钮上。
3. **社区撰写器** — 打开 Write a review 显示一个对话框,使用与影片编辑器相同的验证和字段,外加一个必需的、可搜索的 'Film' 选择器,覆盖全部 100 个标题。对话框标题为 'Add to the conversation'。提交将评论添加到共享状态,关闭对话框,不应用人为延迟,并在 Latest added 下显示新条目于顶部。包含注释 'Your words stay in this browser in this static edition.',而非模拟网络请求。
   布局:桌面端对话框居中,最大宽度 680px,最大高度 90svh,内部滚动;移动端为全宽底部表单,带安全区域内边距。包含可访问的标题、关闭按钮、焦点陷阱、Escape 关闭和焦点返回。草稿在导航时保持,但对话框绝不会在没有 compose=1 或明确点击的情况下自动打开。
   动效:使用标准对话框过渡。提交将焦点移到新评论标题,并宣布一条简洁的确认。

### [RANKED_LIST_NAME] — [BRAND] (`#/rankings`)
1. **排名典藏引言** — 眉题 'THE COMMUNITY CANON';H1 '[RANKED_LIST_NAME]';正文 'One hundred fictional films, ordered by the editorial desk and opened up to your own filters. Rank is a point of view, not a permanent verdict.' 展示核对后的指标 '100 films'、'10 genres',以及根据目录计算出的社区平均评分。包含 'Reset filters' 和 'Save a film to your library' 指引,而不是虚假的分享按钮。
   布局:使用宽幅编辑式标题行,H1 居左,右侧为最大宽度 420px 的说明。指标位于下方三列分隔条中,使用 IBM Plex Mono 24px 数值和 DM Sans 12px 标签。移动端依次堆叠标题、文案、指标,不使用过大的空白首屏。
   动效:内容立即出现;仅应用标准的首屏以下显现效果。
2. **有意义的典藏筛选器** — 提供搜索 'Title or director…'、类型选择 All genres 加十个类型、年代选择 All decades / 2020s / 2010s / 2000s / 1990s / 1980s / 1970s / 1960s、最低评分选择 Any / 4.5+ / 4.0+ / 3.5+,以及排序 Editorial rank / Highest rated / Title A–Z。显示 '{n} of 100 films' 和 Clear filters。筛选器在整个目录中按 AND 逻辑组合,然后再切分可见行。排序绝不改变印刷的原始排名。无筛选结果时产生空状态,包含活动筛选摘要和 Reset filters。
   布局:Paper 筛选面板内边距 16px,第一行包含搜索,第二行包含四个选择器和结果计数。桌面端控件末端对齐;移动端使用两列选择器网格和全宽搜索。所有控件都有持续可见的标签,而非仅占位符标签。
   动效:结果计数和行同步更新,使用 140ms 交叉淡入淡出。礼貌地播报计数;不要独立动画每一行,也不要在每次选择后重置焦点。
3. **排名表格与渐进行** — 每行显示零填充的原始排名、64×96px 海报、标题、导演、年份、类型、时长、计算出的平均分、评分数量、个人星级评分(如有)和书签按钮。标题打开影片路由。初始显示 20 行,使用 'Show 20 more' 直到所有筛选结果可见。默认第一行是 #001 The Cartographer's Dream。已观看行有一个小的 Sage 'Watched' 标签;想看有 Coral 轮廓的 'Queued' 标签。包含列标题 Rank、Film、Details、Community 和 Your library。
   布局:桌面端使用分隔表格,72px 排名、minmax(280px,1.6fr) 影片、minmax(180px,1fr) 详情、160px 社区和 128px 操作。行高 120px,内边距 12px,Paper 悬停。移动端将每行转换为网格:排名和海报居左,标题/元数据居右,评分和操作在全宽底行;不要强制水平滚动表格。书签至少保持 44px,无需悬停即可显示所有信息。
   动效:Show more 追加而不替换现有行。书签状态立即更新,并带有可访问的状态消息;减少动效模式禁用行淡入淡出。

### My film diary — [BRAND] (`#/library`)
1. **个人库标题** — 眉题 '[PROFILE_NAME]’S FILM DIARY';H1 'Your shelves, your rules.';正文 'Keep the maybes separate from the memories. Ratings and reviews follow every film you mark watched.' 显示 Watched、Want to watch 和 Reviews written 的三个计算计数。包含 'Browse the canon' 到 '#/rankings' 和 'Reset sample diary',后者位于内联确认之后,说明它会恢复原始虚构个人资料并移除本地编辑。
   布局:标题使用双列标题/计数组合,位于 Night Blue 面板内,Paper 文字,内边距 24px。三个计数单元格有细线分隔。移动端堆叠标题和计数,保持两个操作至少 44px,在请求确认前不使用破坏性按钮。
   动效:任何列表或评论操作后计数立即更新。重置在恢复的列表上使用 160ms 高亮,并将焦点返回到 Watched 标签页。
2. **已观看和想看货架** — 标签为 'Watched' 和 'Want to watch',每个都带有确切的当前计数。已观看卡片显示海报、标题、年份、个人星级或 'Not rated yet'、社区平均分,以及按钮 'Rate'、'Write a review' 和 'Move to want to watch'。想看卡片显示海报、标题、类型、时长、社区平均分,以及按钮 'Mark watched' 和 'Remove'。在当前货架内提供搜索和排序 Recently changed / Title A–Z / Community rating。想看空状态文案为 'Your maybe-later shelf is open. Save a film from the canon.' 带 'Browse films';已观看空状态文案为 'Your first watched film starts the diary.' 带 'Find a film'。
   布局:标签、搜索和排序占据一个控制行。每个货架在桌面端使用两列水平影片卡片网格,海报 112×168px,内边距 16px;移动端使用一列,海报 96×144px。Rate 在内联展开中聚焦星级输入,而不是打开新页面。Write a review 导航到该影片并聚焦其编辑器。所有操作保持可见,没有仅滑动行为。
   动效:移动影片在标准 160ms 状态高亮后切换其标签页归属,并播报目标位置。活动标签页保持稳定,除非用户明确打开另一个标签页。
3. **最近更改货架** — 标题 'Recently changed' 列出本地状态中最近评分、评论或列表更改的六部影片,带有简洁操作标签 'Rated 4 stars'、'Added to want to watch'、'Marked watched' 或 'Reviewed'。种子条目使用相对序列号,而非日历日期。为每部影片提供文本链接。
   布局:使用单个分隔列表,包含 48px 海报缩略图、标题、操作标签和 ArrowRight 图标。移动端将操作标签保持在标题下方,并维持 44px 行目标。如果不存在更改,按存储顺序显示原始六个种子更改,而不是空白面板。
   动效:新更改移动到顶部,不进行动画重排序;在更改的行上使用一个微妙的背景高亮。

### 品味档案 — [BRAND] (`#/profile`)
1. **成员身份与摘要** — 展示一个 72px 的扁平珊瑚色字母组合标志,源自 [PROFILE_NAME],眉题 'TASTE PROFILE',H1 '[PROFILE_NAME], your taste has a shape.',以及正文 'Not a verdict. Just a useful map of what you return to, what you rate generously, and where your next surprise might live.' 四张计算卡片分别显示已看电影、已写评论、个人平均评分和想看。包含 CTA 'Update your diary' 链接到 '#/library'。不显示粉丝数、公开成就声明、真人照片或账户设置。
   布局:使用夜蓝(Night Blue)面板,字母组合标志和标题在左侧,四个指标单元格在右侧以 2×2 网格排列,24px 内边距,16px 圆角。移动端将身份和指标堆叠,保留可读的 14px 标签,绝不让长变量名溢出;换行而不是截断。
   动效:指标使用相同的共享状态,更新时无计数动画。仅标准区块显现。
2. **类型偏好与评分习惯** — 左侧面板标题 'Genres you return to' 以水平鼠尾草绿(Sage)条形显示全部十个类型,基于成员看过的电影,附确切观看数和占已看库的百分比;种子数据强调剧情、科幻、悬疑和纪录片。右侧面板标题 'How you rate' 显示五条个人五星到一星评分的条形,加上平均分和已评分电影总数。包含确定性生成的文本洞察,默认 'You rate dramas most often, but science fiction earns your highest average.' 当变量或评分变化时,从实际状态重新计算洞察,而不是保持硬编码。
   布局:两个等宽的纸色(Paper)面板,24px 内边距和 24px 间距。每个图表行在 SVG 外包含可见文本标签和值;条形高度 12px,发丝线(Hairline)轨道。移动端堆叠面板,标签至少保持 14px。不要使用饼图、微小图例、仅提示框显示的值或图表库默认样式。
   动效:评分/列表变化后,条形在 240ms 内从旧宽度动画到新宽度;减少动效用户看到即时值。每次路由重访不自动动画。
3. **年代与下一步推荐** — 左侧面板 'Your decades' 显示从 1960 年代到 2020 年代的紧凑柱状图,基于看过的电影,每列下方有计数。右侧面板 'A different corner of the canon' 推荐三部来自成员最少观看类型的电影,排除已看电影并按社区评分排序,每部包含海报、标题、一句话简介、平均分和想看。解释使用实际数据,例如 'You have only watched two documentaries, so start here.' 包含链接 'Explore the full canon'。
   布局:使用 5fr/7fr 网格。年代图表高 280px,七个带标签的列,值无需悬停即可见。推荐为三个水平行,海报 72×108px,间距 16px。移动端堆叠两个面板并使用 64×96px 海报;图表列保持至少 28px 宽,仅在必要时使用内部水平滚动。
   动效:保存推荐会更新其按钮和所有位置的想看指标。列使用与其他图表相同的克制宽度/高度过渡,在减少动效下变为即时。
4. **最近评论** — 标题 'In your own words' 显示最多三条 [PROFILE_NAME] 的本地评论,混合短评和文章摘录,每条链接到其电影并包含个人星级和有用数。CTA 'Write another review' 链接到 '#/reviews?compose=1'。如果所有种子评论被移除,显示 'Your review notebook is ready.' 并附相同 CTA。
   布局:桌面端三列等宽,移动端一列,使用纸色(Paper)卡片,20px 内边距。摘录保持四行,附可见的 Read review 链接到电影;不要在没有展开路径的情况下截断。
   动效:新的本地评论首先出现,带单次 160ms 高亮。无轮播或自动旋转。

## 资产
- 图片:将 https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/cartographers-dream.webp 下载到 public/posters/cartographers-dream.webp。替代文本:'Abstract desert map with an impossible staircase in warm ivory, ink, and coral.' 用于 The Cartographer's Dream 的精选主视觉、影片详情、卡片、排行榜和个人资料(如适用)。在 ASSETS.md 中准确注明:Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template。
- 图片:将 https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/night-orchard.webp 下载到 public/posters/night-orchard.webp。替代文本:'Moonlit orchard with coral lanterns and dark sage branches in a matte illustrated style.' 用于 The Night Orchard 的卡片和详情路由。在 ASSETS.md 中准确注明:Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template。
- 图片:将 https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/static-between-stars.webp 下载到 public/posters/static-between-stars.webp。替代文本:'A solitary radio tower and orbital arcs in an inky star field with ochre light.' 用于 Static Between Stars 的卡片和详情路由。在 ASSETS.md 中准确注明:Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template。
- 图片:将 https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/room-for-august.webp 下载到 public/posters/room-for-august.webp。替代文本:'Sunlit empty room with a ladder, linen curtains, and geometric late-summer shadows.' 用于 A Room for August 的卡片和详情路由。在 ASSETS.md 中准确注明:Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template。
- 图片:将 https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/salt-cinema.webp 下载到 public/posters/salt-cinema.webp。替代文本:'An empty seaside projection screen, winding coastal path, and coral dusk in textured gouache.' 用于 Salt on the Projectionist's Hands 的卡片和详情路由。在 ASSETS.md 中准确注明:Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template。
- 图片:将 https://media.vibefather.ai/assets/8fb087e6-021d-4f04-a2f4-ba660f1ef5f3/clockwork-heron.webp 下载到 public/posters/clockwork-heron.webp。替代文本:'An original mechanical heron among misty reeds with muted coral gears and ochre light.' 用于 The Clockwork Heron 的卡片和详情路由。在 ASSETS.md 中准确注明:Generated by VibeFather with qwen-image-3.0-pro, redistributable with this template。
- 图片:对于其余 94 个目录条目,在代码中根据影片 slug 和类型,使用声明的调色板和几何场景配方,创作确定性的内联 SVG 海报。将可复用的海报生成代码保存在 src/components/GenerativePoster.tsx 中,而不是作为远程图片或占位块。在 ASSETS.md 中记录原创 SVG 作者身份;不额外下载位图。
- 图标:本地打包 lucide-react,用于 Search、Menu、X、Star、Bookmark、Check、ThumbsUp、SlidersHorizontal、ChevronDown、ArrowRight、PenLine、UserRound、Film、Clock3、BarChart3、RotateCcw 和 Trash2,尺寸 16–20px,使用 currentColor。在本地绘制原创四角边框字标、favicon、字母组合和所有图表。在 ASSETS.md 中记录 Lucide 的 ISC 许可证;不使用品牌、电影节、制片厂或流媒体图标。
- 字体:通过 @fontsource/instrument-serif 自托管 Instrument Serif 400,通过 @fontsource/dm-sans 自托管 DM Sans 400/500/600/700,通过 @fontsource/ibm-plex-mono 自托管 IBM Plex Mono 400/500。仅导入所需的 Latin woff2 文件,并在 ASSETS.md 中记录包路径、包源 URL、作者和 OFL-1.1 许可证。绝不使用字体 CDN。

## 不要做
- 不要使用真实的电影片名、海报、剧照、预告片、角色、制片厂、发行商、电影节、流媒体服务、奖项标识、可辨认的演员肖像或真人肖像。全部 100 部影片、导演、评论者、成员、剧情简介、评论和汇总数据都必须保持虚构。
- 不要复制现有电影社区的名称、标志、吉祥物、口号、独特图标、品牌配色、精确布局、界面文案、评论文本、榜单条目、评分总数、用户名或个人资料图像。星级、列表、评论和品味图表这些通用概念,并不构成复制某个品牌产品的许可。
- 不要使用外部电影数据库、第三方 API、身份验证、账户、后端、服务器代码、API 路由、数据库、远程表单、分析、跟踪、广告、分享服务,或任何声称可在线发布评论的请求。所有交互都在本地进行,所有内容都随静态包一起发布。
- 不要热链六张生成的图片或任何其他资源。在构建期间将声明的图片下载到 public/posters/,使用相对路径,并在 ASSETS.md 中包含每个第三方文件和准确的生成图片署名。不得使用 Unsplash、Pexels、Pixabay、图库授权照片、占位图服务、Google Images、CC BY-NC 或 CC BY-SA 资源。
- 不要使用商业字体、Google Fonts URL、CDN 脚本或样式、受限的 UI 库源码、额外的图表/路由/状态/动画库,或外部托管的图标。仅使用声明的包、手工构建的 SVG 图表、本地 CSS 和自托管的 Fontsource 字体。
- 不要让 localStorage 被拒绝、沙箱化 iframe、格式错误的已保存数据或未知影片 slug 产生控制台错误或空白页面。验证已保存状态,使用内存回退,保留交互,并在详情 slug 缺失或无效时显示所选/默认影片。
- 不要在无关组件中重复评分、评论、列表或个人资料数字。从规范的共享状态派生所有计数和图表;使已看和想看互斥,将新评分一次性纳入汇总,并在移除时精确地反向操作。
- 不要在 src/content.ts 之外硬编码 Fableframe、默认邀请、受众、精选影片、个人资料名称或排名列表名称。当变量变化时,自然地重写依赖变量的文案,并且不暴露任何未解析的 [VARIABLE] 占位符或矛盾的默认文本。
- 不要创建裸目录链接、无功能按钮、占位符 '#'、服务器路由或额外页面。仅使用 index.html 和声明的 hash 路由,href 为 './index.html#/…';'#/film' 和未知影片 slug 始终解析为真实的默认影片。
- 不要添加营销定价、注册墙、虚假实时计数器、真实评论日期、流媒体链接、预告片、奖项、推送通知、cookie 横幅、自动播放轮播、无限滚动或促销弹窗。产品本身就是社区界面。
- 不要添加超出纯当前视图标题和本地 favicon 的 SEO 元数据:不要做 meta-description 工作、Open Graph 标签、JSON-LD、站点地图代码、关键词堆砌或标题层级指令。
- 生产环境 npm run build 必须输出压缩后的静态 dist/,小于 20 MB,Vite base 为 './',无 source map,且不将 src/ 复制到 dist/。它必须在 1440×900 和 390×844 下正常工作,零控制台错误且无水平页面溢出。
- 尊重 prefers-reduced-motion、可见的键盘焦点、语义化按钮和标签页、可访问的图表值、带标签的字段、对话框焦点捕获和恢复、44px 触摸目标以及非颜色状态标签。不要要求悬停、滑动或动画才能完成操作。
- 除可选的 [CREDIT] 页脚链接外,绝不在渲染的站点内提及 VibeFather,也绝不使用 VibeFather 或任何真实品牌作为变量默认值。所有文案、标签、示例数据和 alt 文本必须为美式英语。

---
— Prompt by VibeFather · https://vibefather.ai/t/movie-rating-community · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "Movie Rating Community"
colors:
  canvas: "#F3F0E8"
  paper: "#FFFDF7"
  ink: "#17262E"
  secondary_ink: "#667178"
  hairline: "#D7D2C5"
  coral: "#C85F49"
  ochre: "#D49A3A"
  sage: "#83927D"
  night_blue: "#203943"
  mist: "#E8E5DC"
  focus_teal: "#236B70"
typography:
  wordmark_home_h1_page_titles_film_titles_and_large_editorial_quotations: { family: "Instrument Serif", weights: [400] }
  body_copy_review_text_buttons_navigation_filters_form_fields_and_profile_summaries: { family: "DM Sans", weights: [400, 500, 600, 700] }
  rank_numbers_years_runtimes_rating_values_vote_counts_chart_ticks_and_filter_counts: { family: "IBM Plex Mono", weights: [400, 500] }
spacing: "Use a 4px base unit. The shared content width is min(1440px, calc(100vw - 96px)) on desktop with 48px side gutters, 24px card gaps, 32px between major groups, and 72px between home sections. Header height is 72px. Page title blocks use 36px top and 28px bottom padding. Film cards use 12px internal padding; review cards 24px; filter rows 16px. At 390×844 use 20px gutters, 48px section spacing, 16px card padding, 12px gaps, and a 60px header. H1 uses clamp(44px, 5vw, 72px) at 0.98 line height on desktop and 42px at 1.0 on mobile; page titles are 48px desktop and 38px mobile. All touch targets are at least 44×44px and no layout causes horizontal page overflow."
radius: "Use 2px for rank badges and tiny labels, 6px for buttons and inputs, 10px for film and review cards, 16px for the featured-film composition and large dashboard panels, and fully round shapes only for avatar initials, status dots, and compact icon buttons. Favor hairlines and flat color over floating glass or heavy shadows."
---

# Movie Rating Community — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Canvas** `#F3F0E8` — Main page background and generous editorial margins.
- **Paper** `#FFFDF7` — Review cards, filters, dialogs, and raised content surfaces.
- **Ink** `#17262E` — Primary text, dark navigation band, and primary button fill.
- **Secondary Ink** `#667178` — Metadata, helper text, and inactive navigation; never use below readable contrast.
- **Hairline** `#D7D2C5` — Dividers, table rules, input borders, and chart tracks.
- **Coral** `#C85F49` — Editorial accents, active underlines, selected chips, and key links; pair with Paper for large text only where contrast passes.
- **Ochre** `#D49A3A` — Star ratings, rank markers, and small data highlights with Ink text on filled controls.
- **Sage** `#83927D` — Watched states, taste bars, and quiet secondary data.
- **Night Blue** `#203943` — Featured-film panel and dark footer surfaces.
- **Mist** `#E8E5DC` — Hover fills, selected neutral filters, and subtle chart backgrounds.
- **Focus Teal** `#236B70` — Visible keyboard focus outline and accessible interactive emphasis.

## Typography
- **Wordmark, home H1, page titles, film titles, and large editorial quotations** — Instrument Serif (OFL), weights 400. Self-host the font files.
- **Body copy, review text, buttons, navigation, filters, form fields, and profile summaries** — DM Sans (OFL), weights 400/500/600/700. Self-host the font files.
- **Rank numbers, years, runtimes, rating values, vote counts, chart ticks, and filter counts** — IBM Plex Mono (OFL), weights 400/500. Self-host the font files.

## Spacing & shape
- Spacing: Use a 4px base unit. The shared content width is min(1440px, calc(100vw - 96px)) on desktop with 48px side gutters, 24px card gaps, 32px between major groups, and 72px between home sections. Header height is 72px. Page title blocks use 36px top and 28px bottom padding. Film cards use 12px internal padding; review cards 24px; filter rows 16px. At 390×844 use 20px gutters, 48px section spacing, 16px card padding, 12px gaps, and a 60px header. H1 uses clamp(44px, 5vw, 72px) at 0.98 line height on desktop and 42px at 1.0 on mobile; page titles are 48px desktop and 38px mobile. All touch targets are at least 44×44px and no layout causes horizontal page overflow.
- Radius: Use 2px for rank badges and tiny labels, 6px for buttons and inputs, 10px for film and review cards, 16px for the featured-film composition and large dashboard panels, and fully round shapes only for avatar initials, status dots, and compact icon buttons. Favor hairlines and flat color over floating glass or heavy shadows.

## Motion
- Render the featured film, posters, core metrics, and first reviews immediately; no splash screen, autoplay carousel, loading skeleton, or blocking intro animation.
- Route changes use a 160ms opacity fade with at most 6px upward movement and scroll to the top unless preserving a deliberate back-navigation position. Reduced-motion mode removes translation and makes transitions immediate.
- Film-card hover lifts the whole card by 3px and scales only its artwork to 1.025 over 180ms; title color changes to Coral. Touch devices retain visible labels and actions without depending on hover.
- Rating bars animate from their current width to the new width over 240ms after a personal rating changes. Helpful votes and list buttons give immediate text/state feedback plus a 160ms highlight, without layout shift.
- Filter result changes crossfade over 140ms and announce the result count through a polite live region. Dialogs and the mobile menu use 160ms opacity with 8px vertical movement, focus trapping, Escape close, and focus return.
- Use IntersectionObserver only for subtle 12px section reveals below the first screen. Under prefers-reduced-motion, reveal all content immediately, stop chart animation, remove hover movement, and preserve every state change.

## Imagery
Use six original wordless cinematic gouache-and-screen-print poster illustrations as the high-craft visual system for the featured catalog: The Cartographer's Dream, The Night Orchard, Static Between Stars, A Room for August, Salt on the Projectionist's Hands, and The Clockwork Heron. They share warm ivory, inky navy, muted coral, ochre, dusty sage, matte grain, and soft diffuse theatrical light. Display film titles and ratings as HTML outside the artwork; never ask the image generator for lettering. For the other 94 films, create deterministic original SVG posters from each film's slug using the same palette and distinct geometric scene recipes keyed by genre—horizons for drama, orbital arcs for science fiction, windows for mystery, intersecting paths for romance, offset circles for comedy, topographic lines for adventure, organic shapes for animation, frames for documentary, shadows for horror, and converging lines for thriller. These are authored posters, not gray placeholders. No real people, recognizable actors, existing film imagery, logos, text embedded in images, or recognizable landmarks. Lucide supplies familiar interface icons only.

## Tone
Literate, warm, opinionated, and unhurried: an independent film journal translated into a precise community app. Use exact film details and memorable review copy, not hype, awards language, engagement bait, streaming claims, or calls to sign up.

---
— Prompt by VibeFather · https://vibefather.ai/t/movie-rating-community · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

改成你自己的

  • 社区读书会:将 BRAND 和 AUDIENCE 设为你的阅读圈子,把电影目录换成你的书单,并把排名片单重命名为你读书会的最佳书籍。
  • 独立唱片店:将 FEATURED_FILM 指向一张主打专辑,把电影详情改写为艺人和发行元数据,保留星级评分和品味画像用于店员推荐。
  • 电影研究课程:将 PROFILE_NAME 设为一个示例学生,用长文影评信息流展示课程作业,并把排名列表重命名为你的教学大纲片单。
  • 本地艺术影院:将 BRAND 设为影院名称,把「想看」片库用作即将上映列表,并将每部精选电影链接到你的排片表。

电影评分社区:常见问题

电影评分社区模板中,如何更改精选电影和排名列表名称?

电影评分社区模板提供六个变量,其中两个控制这项设置。将 FEATURED_FILM 设为六部艺术指导目录片名之一,例如 The Night Orchard,首页面板和电影路由就会以它打开。将 RANKED_LIST_NAME 设为一个简短的原创名称,比如 The Hundred,导航和排行榜标题会一起更新。再改写周边文案以保持一致。

怎么用 AI 做一个电影评分社区?

复制本页的提示词,或者运行 npx vibefather add movie-rating-community,把 [BRAND]、[TAGLINE]、[AUDIENCE]、[PROFILE_NAME] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。