/* Website Prompts (/website-prompts/ and each prompt's page), layout "Library" (owner, 2026-11-19:
   "make it like MotionSites, like how MotionSites has a library"). MotionSites' structure, density
   and behaviour, measured on the live site: a short centred intro, one bar, a full-width grid of equal
   cards with 12px gaps (2/3/4/5 across), and a prompt's view with the big picture and a rail in the
   first three columns while the rest of the library flowed beside and under it; since 2026-11-22 the
   view shows that prompt alone (option B) and Live preview opens in the site's own frame. Dressed in the
   site's look: Inter and Geist Mono, hairlines, 16-20px frames, the shared pills and chips, purple
   only for links and selection. Tokens come from site-header.css, so light and dark both work. */
:root:has(body.website-prompts-page){scrollbar-gutter:stable}
/* While a view is open the page behind it holds still. */
html.wp-scroll-lock{overflow:hidden}
.wp{--wp-gutter:16px;--wp-gap:12px;display:block;padding:0 var(--wp-gutter) 96px;color:var(--ui-text)}
@media(min-width:640px){.wp{--wp-gutter:24px}}
.wp *,.wp *::before,.wp *::after,.wp-layer *,.wp-layer *::before,.wp-layer *::after,.wp-frame *,.wp-frame *::before,.wp-frame *::after{box-sizing:border-box}
:is(.wp,.wp-layer,.wp-frame) :is(h1,h2,h3,h4,p,ul,ol,dl,dd,figure,pre){margin:0;padding:0}
:is(.wp,.wp-layer,.wp-frame) :is(ul,ol){list-style:none}
:is(.wp,.wp-layer,.wp-frame) a{color:inherit}
.wp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:is(.wp,.wp-layer,.wp-frame) [hidden]{display:none!important}
:is(.wp,.wp-layer,.wp-frame) :is(a,button,summary,pre):focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}
:is(.wp,.wp-layer,.wp-frame) svg{flex:none}

/* Tools: the site's own pills, with a fixed box so a row of <a> and <button> matches exactly. */
:is(.wp,.wp-layer,.wp-frame) .ui-btn{box-sizing:border-box;height:40px;margin:0;line-height:1;font-size:15px}
:is(.wp,.wp-layer,.wp-frame) a.ui-btn{color:var(--ui-btn2-fg)}
:is(.wp,.wp-layer,.wp-frame) .ui-btn svg{width:16px;height:16px}
/* Copy keeps room for "Copied" from the start: both labels sit in one grid cell. */
.wp-swap{display:grid}
.wp-swap>span{grid-area:1/1;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.wp-swap>.wp-done{visibility:hidden}
[data-copied] .wp-swap>.wp-idle{visibility:hidden}
[data-copied] .wp-swap>.wp-done{visibility:visible}

/* ---------- The intro ---------- */
.wp-intro{padding:var(--sp-page-gap,48px) 0 36px;text-align:center}
.wp .wp-title{font:500 56px/1.04 var(--ui-font);letter-spacing:-.04em;text-wrap:balance}
.wp .wp-sub{max-width:560px;margin:14px auto 0;color:var(--ui-dim);font-size:17px;line-height:1.5;letter-spacing:-.015em;text-wrap:balance}
.wp .wp-count{margin-top:16px;color:var(--ui-dim);font:500 13px/20px var(--ui-mono)}
.wp-count b{color:var(--ui-text);font-weight:600}

/* ---------- The bar: sort, type chips, availability, search ---------- */
/* The shared filter bar (ui.css .ui-fbar) with the sort and the picker beside the chips. Like
   MotionSites' bar it stays in place instead of sticking under the header. */
.wp .wp-bar{position:static;display:flex;flex-wrap:nowrap;align-items:center;gap:12px;margin:0 0 20px;padding:0;background:none;border:0}
.wp .wp-bar>.wp-seg{order:0}
.wp .wp-bar>.ui-fbar-chips{order:1;flex:1 1 0;min-width:0;position:relative;top:auto;padding:0;background:none;border:0}
.wp .wp-bar>.wp-pick{order:2}
.wp .wp-bar>.wp-search{order:3;flex:0 0 260px}
.wp .wp-bar>.wp-filters{display:none}
@media(scripting:none){.wp-bar{display:none!important}}
/* The sort: one pill track with two segments, the chosen one in the selection colours. */
.wp-seg{display:inline-flex;flex:none;gap:2px;height:38px;padding:3px;border:.8px solid var(--ui-line);border-radius:999px;background:var(--ui-card)}
.wp-seg button{box-sizing:border-box;height:100%;margin:0;padding:0 14px;border:.8px solid transparent;border-radius:999px;background:none;color:var(--ui-dim);font:500 14px/1 var(--ui-font);letter-spacing:-.01em;white-space:nowrap;cursor:pointer;transition:var(--ui-tr)}
.wp-seg button:hover{color:var(--ui-text)}
.wp-seg button[aria-pressed=true]{border-color:var(--ui-accent);background:var(--ui-tint2);color:var(--ui-link);font-weight:600}
/* The picker and the phone's Filters button: a pill (or a round button) with a small menu. */
.wp-pick{position:relative;flex:none}
.wp-pick-btn,.wp-filters-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;margin:0;padding:0 12px 0 16px;border:.8px solid var(--ui-line);border-radius:999px;background:var(--ui-card);color:var(--ui-text);font:500 14px/1 var(--ui-font);letter-spacing:-.01em;white-space:nowrap;cursor:pointer;transition:var(--ui-tr)}
.wp-filters-btn{width:38px;padding:0}
.wp-pick-btn:hover,.wp-filters-btn:hover,[aria-expanded=true]:is(.wp-pick-btn,.wp-filters-btn){border-color:var(--ui-line-strong)}
.wp-pick-btn[data-on]{border-color:var(--ui-accent);background:var(--ui-tint2);color:var(--ui-link);font-weight:600}
.wp-pick-btn svg{transition:transform var(--ui-t-enter) var(--ui-ease)}
.wp-pick-btn[aria-expanded=true] svg{transform:rotate(180deg)}
.wp-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:40;display:grid;min-width:max(100%,200px);padding:4px;border:.8px solid var(--ui-line);border-radius:14px;background:var(--ui-card);box-shadow:var(--ui-pop-shadow);transform-origin:top left;animation:wp-pop var(--ui-t-enter) var(--ui-ease)}
.wp-menu-right{left:auto;right:0;transform-origin:top right}
@keyframes wp-pop{from{opacity:0;transform:translateY(-4px) scale(var(--ui-pop))}}
.wp-menu [role=group],.wp-menu>[role=menu]{display:grid}
.wp-menu :is([role=menuitem],[role=menuitemradio]){box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;height:36px;margin:0;padding:0 12px;border:0;border-radius:9px;background:none;color:var(--ui-dim);font:500 14px/1 var(--ui-font);letter-spacing:-.01em;white-space:nowrap;text-align:left;text-decoration:none;cursor:pointer}
.wp-menu :is([role=menuitem],[role=menuitemradio]):is(:hover,:focus){outline:0;background:var(--ui-well);color:var(--ui-text)}
.wp-menu :is([role=menuitem],[role=menuitemradio]):focus-visible{box-shadow:inset 0 0 0 1px var(--ui-line-strong)}
.wp-menu [role=menuitemradio]{justify-content:space-between}
.wp-menu [role=menuitemradio] svg{visibility:hidden;color:var(--ui-accent)}
.wp-menu [role=menuitemradio][aria-checked=true]{color:var(--ui-text)}
.wp-menu [role=menuitemradio][aria-checked=true] svg{visibility:visible}
.wp-menu [role=menuitem] .wp-meta{margin-left:auto;padding-left:12px}
.wp-menu-head{padding:8px 12px 4px;color:var(--ui-faint);font:500 11.5px/16px var(--ui-mono)}
.wp-menu [role=menuitemradio] .wp-menu-n{margin-left:auto;color:var(--ui-faint);font:500 12px/1 var(--ui-mono)}
.wp-menu-head~.wp-menu-head{margin-top:4px;border-top:.8px solid var(--ui-line);padding-top:10px}
@media(max-width:900px){
  .wp .wp-bar{flex-wrap:wrap}
  .wp .wp-bar>.wp-search{order:-1;flex:1 1 100%;width:100%;margin:0}
}
@media(max-width:640px){
  .wp .wp-bar{gap:8px}
  .wp .wp-bar>:is(.wp-seg,.wp-pick:not(.wp-filters)){display:none}
  .wp .wp-bar>.wp-filters{display:block;order:2}
  .wp-card .wp-play{top:6px;right:6px;width:30px;height:30px!important}
}
@media(pointer:coarse){.wp-seg,.wp-pick-btn{height:42px}.wp-filters-btn{width:42px;height:42px}}
/* Phones (owner, 2026-11-30, option A of three previews, after MotionSites' phone library): the
   Industry chips sit in one round track (the sort's look: a hairline pill on the card colour) that
   scrolls sideways with no scrollbar or arrows; the chosen chip is a filled, slightly lighter pill.
   The round Filters button beside it has the track's height and holds the search, Sort and Tone. */
.wp-search-slot:empty{display:none}
@media(max-width:640px){
  .wp .wp-bar>.ui-fbar-chips{height:44px;padding:3px;overflow:hidden;border:.8px solid var(--ui-line);border-radius:999px;background:var(--ui-card)}
  .wp .wp-bar .ui-fbar-arrow{display:none!important}
  .wp .wp-bar .ui-fbar-scroll{gap:2px;height:100%;padding:0;border-radius:999px}
  .wp .wp-bar .ui-fbar-chip{height:100%;gap:6px;padding:0 14px;border-color:transparent;background:none;font-size:15px}
  .wp .wp-bar .ui-fbar-chip:hover{border-color:transparent;background:none}
  .wp .wp-bar .ui-fbar-chip:focus-visible{outline-offset:-2px}
  .wp .wp-bar .ui-fbar-chip[aria-pressed=true]{border-color:var(--ui-line-strong);background:var(--ui-well2);color:var(--ui-text);font-weight:600}
  .wp .wp-bar .ui-fbar-chip .ui-fbar-n{min-width:0;height:auto;padding:0;background:none;color:var(--ui-faint)}
  .wp .wp-bar .ui-fbar-chip[aria-pressed=true] .ui-fbar-n{background:none;color:var(--ui-dim)}
  .wp .wp-filters-btn{width:44px;height:44px}
  .wp .wp-filters-btn svg{width:18px;height:18px}
  .wp .wp-filters-btn[data-on]{border-color:var(--ui-accent);background:var(--ui-tint2);color:var(--ui-link)}
  .wp .wp-filters-pop{width:min(320px,calc(100vw - 32px))}
  .wp .wp-search-slot{padding:4px 4px 6px}
  /* 16px text, so phones don't zoom in when the field takes the focus. */
  .wp .wp-search-slot>.wp-search{flex:none;width:100%;height:44px;margin:0}
  .wp .wp-search-slot>.wp-search input{font-size:16px}
}

/* ---------- The grid of cards ---------- */
.wp-grid{--wp-cols:2;display:grid;grid-template-columns:repeat(var(--wp-cols),minmax(0,1fr));gap:var(--wp-gap)}
@media(min-width:1024px){.wp-grid{--wp-cols:3}}
@media(min-width:1280px){.wp-grid{--wp-cols:4}}
@media(min-width:1536px){.wp-grid{--wp-cols:5}}

/* The video frame. The poster is the first paint; the file loads only when it is on screen. */
.wp-media{position:relative;overflow:hidden;margin:0;border:.8px solid var(--ui-line);border-radius:16px;background:var(--ui-well);aspect-ratio:16/10;isolation:isolate}
.wp-media :is(video,img){position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.wp-play{position:absolute!important;z-index:3;left:10px;bottom:10px;width:34px;height:34px!important;padding:0!important}
.wp-play svg{width:14px!important;height:14px!important}
.wp-card .wp-play{left:auto;bottom:auto;top:10px;right:10px}
.wp-play .wp-ico-pause,.wp-play[data-playing] .wp-ico-play{display:none}
.wp-play .wp-ico-play,.wp-play[data-playing] .wp-ico-pause{display:inline-flex}
/* Anyone who has asked for less motion keeps the Pause tool in view, because the video plays for
   them too (owner, 2026-11-10). With a pointer it shows on hover, where MotionSites shows its likes. */
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .wp-media[data-wp-state=on] .wp-play{opacity:0}
  .wp-media:hover .wp-play,.wp-media .wp-play:focus-visible,.wp-card:hover .wp-play{opacity:1}
}
.wp-media-note{position:absolute;z-index:3;left:10px;top:10px;padding:4px 10px;border:.8px solid var(--ui-line);border-radius:999px;background:var(--ui-card);color:var(--ui-text);font:500 12.5px/16px var(--ui-font)}

/* Line art for entries still being built: drawn in code, dim strokes, one purple accent. */
.wp-media-art{color:var(--ui-dim)}
.wp-art{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:.8;stroke-opacity:.42}
.wp-art .wp-art-accent{stroke:var(--ui-accent);stroke-width:1.5;stroke-opacity:1}
.wp-art .wp-art-dot{fill:currentColor;fill-opacity:.5;stroke:none}

/* A card: no frame of its own. The picture, then one row: name, kind, and one small tool. The
   name's link covers the whole card. Hover lifts it 2px (MotionSites lifts 4px; the site's cards
   lift 2px on the 250 ms clock). */
.wp-card{position:relative;min-width:0;transition:var(--ui-tr-card)}
/* No stacking context of its own, so the Pause tool (z 3) sits above the card's link (z 1). */
.wp-card>.wp-media{isolation:auto;transition:box-shadow var(--ui-t-enter) var(--ui-ease),border-color var(--ui-t-exit) var(--ui-ease)}
@media(hover:hover){
  .wp-card:hover{transform:translateY(-2px)}
  .wp-card:hover>.wp-media{border-color:var(--ui-line-strong);box-shadow:var(--ui-card-hover)}
}
.wp-card-row{display:flex;align-items:center;gap:8px;min-width:0;height:44px;padding:4px 2px 6px}
.wp .wp-card-name,.wp-layer .wp-card-name{flex:0 1 auto;min-width:0;overflow:hidden;font:600 17px/22px var(--ui-font);letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis}
.wp-card-link{display:block;overflow:hidden;margin:0;padding:0;border:0;border-radius:4px;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;text-decoration:none;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}
:is(a,button).wp-card-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:16px}
:is(a,button).wp-card-link:focus-visible{outline:0}
.wp-card:has(.wp-card-link:focus-visible)>.wp-media{outline:2px solid var(--ui-accent);outline-offset:2px}
/* The teaser: one line of scene direction under the name, in full (rows share the tallest card). */
:is(.wp,.wp-layer,.wp-frame) .wp-card-teaser{padding:0 2px 6px;color:var(--ui-dim);font-size:13.5px;line-height:1.45;letter-spacing:-.005em}
.wp-card-kind{flex:0 100 auto;min-width:0;overflow:hidden;color:var(--ui-dim);font:500 12px/16px var(--ui-mono);white-space:nowrap;text-overflow:ellipsis}
.wp-icon{position:relative;z-index:3;display:grid;place-items:center;flex:none;width:32px;height:32px;margin:0 -4px 0 auto;padding:0;border:0;border-radius:50%;background:none;color:var(--ui-dim);cursor:pointer;transition:var(--ui-tr)}
.wp-icon:hover{background:var(--ui-well);color:var(--ui-text)}
.wp-icon svg{width:18px;height:18px}
.wp-icon .wp-ico-done,.wp-icon[data-copied] .wp-ico-idle{display:none}
.wp-icon[data-copied] .wp-ico-done{display:inline-flex;color:var(--ui-green)}
.wp-icon>span{display:inline-flex}
.wp-soon-tag{display:inline-flex;align-items:center;flex:none;height:22px;margin-left:auto;padding:0 8px;border:.8px solid var(--ui-line);border-radius:999px;color:var(--ui-faint);font:500 11.5px/1 var(--ui-mono)}
.wp-card[aria-busy=true]{opacity:.55;cursor:progress;transition:opacity var(--ui-t-exit) var(--ui-ease)}
.wp-empty{padding:56px 0;text-align:center}
.wp-empty p{margin-bottom:14px;color:var(--ui-dim);font-size:15px}

/* Lists that change in place fade in and rise (DESIGN.md, Motion); only after the page has loaded. */
html.sp-ready .wp-fade{animation:wp-in var(--ui-t-enter) var(--ui-ease)}
@keyframes wp-in{from{opacity:0;transform:translateY(var(--ui-rise))}}

/* ---------- A prompt's view (its own page, and the same view opened in place) ---------- */
.wp-entry{padding-top:16px}
/* The layer: opaque, under the site header (which stays usable, as on MotionSites), scrolls by
   itself while the page behind is held still. */
.wp-layer{position:fixed;inset:var(--sp-header-height,56px) 0 0 0;z-index:80;overflow-y:auto;overscroll-behavior:contain;background:var(--ui-bg);color:var(--ui-text);--wp-gutter:16px;--wp-gap:12px}
@media(min-width:640px){.wp-layer{--wp-gutter:24px}}
.wp-layer-in{padding:16px var(--wp-gutter) 64px}
.wp-layer.is-in{animation:wp-fade var(--ui-t-enter) var(--ui-ease)}
.wp-layer.is-out{opacity:0;transition:opacity var(--ui-t-exit) var(--ui-ease)}
@keyframes wp-fade{from{opacity:0}}
/* The view shows one prompt alone, centred (owner, 2026-11-22, option B: "only show that, clean"):
   the panel, About this prompt (closed) and All prompts. */
.wp-view{max-width:1180px;margin:0 auto}
.wp-view-foot{display:flex;justify-content:center;margin-top:28px}
/* The round Back over the picture's top-left corner stays in view while the view scrolls. */
.wp-back-dock{position:sticky;top:calc(var(--sp-header-height,56px) + 12px);z-index:6;height:0}
.wp-layer .wp-back-dock{top:12px}
:is(.wp,.wp-layer,.wp-frame) .wp-round{width:40px;padding:0;border-radius:50%}
.wp-back-dock .wp-back{position:absolute;top:12px;left:12px}
.wp-head{container-type:inline-size}
.wp-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border:.8px solid var(--ui-line);border-radius:20px;background:var(--ui-card)}
.wp-panel-media{min-width:0}
.wp-panel-media>.wp-media{border:0;border-radius:0;border-bottom:.8px solid var(--ui-line)}
@container (min-width:680px){
  .wp-panel{grid-template-columns:minmax(0,1fr) 296px;align-items:start}
  .wp-panel-media>.wp-media{border-bottom:0;border-right:.8px solid var(--ui-line)}
}
.wp-rail{display:flex;flex-direction:column;min-width:0;padding:22px 22px 20px}
:is(.wp,.wp-layer,.wp-frame) .wp-rail-title{font:600 24px/1.15 var(--ui-font);letter-spacing:-.025em;outline:none}
:is(.wp,.wp-layer,.wp-frame) .wp-rail-kind{margin-top:6px;color:var(--ui-dim);font:500 12.5px/18px var(--ui-mono)}
:is(.wp,.wp-layer,.wp-frame) .wp-rail-sum{margin-top:14px;color:var(--ui-dim);font-size:14.5px;line-height:1.5}
/* What happens on the site: the scene, beat by beat, first inside About this prompt. */
:is(.wp,.wp-layer,.wp-frame) .wp-scene p{max-width:72ch;font-size:15.5px;line-height:1.6;letter-spacing:-.005em}
/* Copy prompt: one glossy pill split in two, Copy on the left and the downloads menu on the right. */
.wp-split{position:relative;display:flex;flex:none;height:40px;margin-top:18px;border:.8px solid var(--ui-btn-line);border-radius:999px;background:var(--ui-btn-bg);box-shadow:var(--ui-btn-shadow);color:var(--ui-btn-fg)}
.wp-split>button,.wp-split-main{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:100%;margin:0;padding:0 16px;border:0;background:none;color:inherit;font:600 15px/1 var(--ui-font);letter-spacing:-.01em;cursor:pointer;transition:var(--ui-tr)}
.wp-split-main{flex:1 1 auto;min-width:0;border-radius:999px 0 0 999px}
.wp-split-more{flex:none;width:44px;padding:0!important;border-left:.8px solid var(--ui-btn-line)!important;border-radius:0 999px 999px 0}
.wp-split>button:hover{background:rgba(255,255,255,.18)}
.wp-split>button:not(:disabled):active{scale:var(--ui-press);transition-duration:var(--ui-t-press)}
.wp-split svg{width:16px;height:16px}
.wp-split-more svg{transition:transform var(--ui-t-enter) var(--ui-ease)}
.wp-split-more[aria-expanded=true] svg{transform:rotate(180deg)}
.wp-split .wp-menu{left:auto;right:0;min-width:100%;transform-origin:top right}
.wp-split-off{border-color:var(--ui-line);background:var(--ui-well);box-shadow:none;color:var(--ui-faint)}
.wp-split-off .wp-split-main{cursor:default;border-radius:999px}
.wp-status{min-height:20px;margin-top:6px;color:var(--ui-dim);font:400 13px/20px var(--ui-font)}
/* Live preview: a full pill under Copy prompt, the same height and radius (it opens the frame). */
.wp-live{width:100%}
/* "Free to copy and download": the same quiet line as the credit under it. */
:is(.wp,.wp-layer,.wp-frame) :is(.wp-credit,.wp-free){margin-top:12px;color:var(--ui-dim);font:400 13.5px/20px var(--ui-font);letter-spacing:-.01em}
:is(.wp,.wp-layer,.wp-frame) .wp-credit a{position:relative;z-index:2;color:var(--ui-link);text-decoration:none}
:is(.wp,.wp-layer,.wp-frame) .wp-credit a:hover{text-decoration:underline;text-underline-offset:3px}

/* About this prompt: one closed row under the panel; everything else about the prompt inside. */
.wp-info{margin-top:var(--wp-gap);overflow:hidden;border:.8px solid var(--ui-line);border-radius:16px;background:var(--ui-card)}
.wp-info>summary{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 18px;cursor:pointer;list-style:none}
.wp-info>summary::-webkit-details-marker{display:none}
:is(.wp,.wp-layer,.wp-frame) .wp-info>summary h2{font:600 16px/20px var(--ui-font);letter-spacing:-.015em}
.wp-info>summary .wp-meta{margin-left:auto}
.wp-info>summary svg,.wp-prompt summary svg{flex:none;transition:transform var(--ui-t-enter) var(--ui-ease)}
.wp-info[open]>summary{border-bottom:.8px solid var(--ui-line)}
.wp-info[open]>summary svg,.wp-prompt[open] summary svg{transform:rotate(180deg)}
.wp-info-body{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;padding:22px 20px 24px}
.wp-info-col{display:grid;gap:32px;align-content:start;min-width:0}
@container (min-width:760px){.wp-info-body{grid-template-columns:repeat(2,minmax(0,1fr))}.wp-part-wide{grid-column:1/-1}}
.wp-part{display:grid;gap:12px;min-width:0}
:is(.wp,.wp-layer,.wp-frame) .wp-part>h3{font:600 18px/1.25 var(--ui-font);letter-spacing:-.02em}
:is(.wp,.wp-layer,.wp-frame) .wp-about{font-size:15.5px;line-height:1.6}
:is(.wp,.wp-layer,.wp-frame) .wp-intro{color:var(--ui-text);font-size:14.5px;line-height:1.5}
:is(.wp,.wp-layer,.wp-frame) .wp-note{color:var(--ui-dim);font-size:14px;line-height:1.5}
.wp-tags{display:flex;flex-wrap:wrap;gap:6px}
.wp-tag{display:inline-flex;align-items:center;height:26px;padding:0 10px;border:.8px solid var(--ui-line);border-radius:999px;color:var(--ui-text);font:500 12px/1 var(--ui-mono);white-space:nowrap}
.wp-meta{color:var(--ui-dim);font:500 12px/18px var(--ui-mono);white-space:nowrap}
.wp-link,:is(.wp,.wp-layer,.wp-frame) a.wp-link{color:var(--ui-link);text-decoration:none}
.wp-link:hover{text-decoration:underline;text-underline-offset:3px}
.wp-files{overflow:hidden;border:.8px solid var(--ui-line);border-radius:14px}
.wp-files li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start;padding:14px 16px}
.wp-files li+li{border-top:.8px solid var(--ui-line)}
.wp-file-ico{display:grid;place-items:center;width:36px;height:36px;border:.8px solid var(--ui-line);border-radius:10px;background:var(--ui-well);color:var(--ui-text)}
.wp-file-ico svg{width:18px;height:18px}
.wp-file-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px}
:is(.wp,.wp-layer,.wp-frame) .wp-files h4{font:600 15px/22px var(--ui-font);letter-spacing:-.015em}
:is(.wp,.wp-layer,.wp-frame) .wp-files p{color:var(--ui-dim);font-size:14px;line-height:1.5}
.wp-files .wp-link{display:inline-block;margin-top:6px;font-size:14px}
/* More website prompts: every other prompt by the kind of site, its name beside it (SEO, 2026-11-22). */
.wp-more-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px 24px}
.wp-more-list li{display:grid;gap:2px;align-content:start;min-width:0;font-size:15px;line-height:1.4}
.wp-list{display:grid;gap:8px}
.wp-list li{position:relative;padding-left:18px;font-size:15px;line-height:1.5}
.wp-list li::before{content:"";position:absolute;left:2px;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--ui-accent)}
.wp-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:1px;overflow:hidden;border:.8px solid var(--ui-line);border-radius:14px;background:var(--ui-line);counter-reset:wp-step}
.wp-steps li{padding:14px 16px;background:var(--ui-card);counter-increment:wp-step}
.wp-steps li::before{content:counter(wp-step);display:block;margin-bottom:4px;color:var(--ui-link);font:500 13px/16px var(--ui-mono)}
:is(.wp,.wp-layer,.wp-frame) .wp-steps h4{font:600 15px/1.3 var(--ui-font);letter-spacing:-.015em}
:is(.wp,.wp-layer,.wp-frame) .wp-steps p{margin-top:4px;color:var(--ui-dim);font-size:14px;line-height:1.5}
.wp-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:.8px solid var(--ui-line);border-radius:14px;background:var(--ui-line)}
.wp-facts div{padding:12px 16px;background:var(--ui-card)}
.wp-facts dt{color:var(--ui-faint);font:500 12px/16px var(--ui-mono)}
.wp-facts dd{margin-top:2px;font-size:14.5px;line-height:1.4;overflow-wrap:anywhere}
.wp-prompt{overflow:hidden;border:.8px solid var(--ui-line);border-radius:14px;background:var(--ui-card)}
.wp-prompt summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 16px;font:500 15px/20px var(--ui-font);cursor:pointer;list-style:none}
.wp-prompt summary::-webkit-details-marker{display:none}
.wp-prompt summary .wp-meta{margin-left:auto}
.wp-prompt[open] summary{border-bottom:.8px solid var(--ui-line)}
.wp-prompt pre{max-height:560px;overflow:auto;padding:16px;background:var(--ui-well);color:var(--ui-text);font:400 12.5px/1.65 var(--ui-mono);white-space:pre-wrap;overflow-wrap:anywhere}
.wp-prompt pre:focus-visible{outline-offset:-2px}
.wp-prompt code{font:inherit}
/* ---------- The live preview frame (owner, 2026-11-22, option B, "like ThemeForest") ---------- */
/* The whole window: over the site header (z 90 to 95), under the shared tooltip (z 300). The bar is
   the site's own; the finished site fills the rest, at full width or a tablet's or phone's width. */
/* No scrollbar gutter while it is open, so the frame reaches the window's right edge. */
:root.wp-frame-open:has(body.website-prompts-page){overflow:hidden;scrollbar-gutter:auto}
.wp-frame{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;background:var(--ui-bg);color:var(--ui-text);font-family:var(--ui-font)}
.wp-frame-bar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;flex:none;height:56px;padding:0 12px;border-bottom:.8px solid var(--ui-line);background:var(--ui-card)}
.wp-frame-left{display:flex;align-items:center;gap:12px;min-width:0}
.wp-frame-title{display:flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap}
.wp-frame-name{overflow:hidden;font:600 16px/20px var(--ui-font);letter-spacing:-.02em;text-overflow:ellipsis}
.wp-frame-tag{flex:none;color:var(--ui-dim);font:500 12px/16px var(--ui-mono)}
.wp-frame .wp-seg{height:40px}
.wp-frame-sizes button{display:grid;place-items:center;width:44px;padding:0}
.wp-frame-sizes svg{width:16px;height:16px}
.wp-frame-tools{display:flex;justify-content:flex-end;gap:8px;min-width:0}
.wp-frame-stage{position:relative;flex:1 1 auto;min-height:0;display:flex;justify-content:center;background:var(--ui-well)}
.wp-frame-stage iframe{position:relative;z-index:1;display:block;width:100%;height:100%;border:0}
.wp-frame-stage:not([data-size=desktop]){padding:16px}
.wp-frame-stage:not([data-size=desktop]) iframe{border:.8px solid var(--ui-line);border-radius:14px}
.wp-frame-stage[data-size=tablet] iframe{width:min(820px,100%)}
.wp-frame-stage[data-size=phone] iframe{width:min(390px,100%)}
.wp-frame-wait{position:absolute;inset:0;display:grid;place-items:center;color:var(--ui-dim);font:500 13px/20px var(--ui-mono)}
.wp-frame-stage.is-loaded .wp-frame-wait{display:none}
@media(max-width:759px){
  .wp-frame-bar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 8px}
  .wp-frame-left{gap:8px}
  .wp-frame-sizes{display:none}
  .wp-frame-stage:not([data-size=desktop]){padding:0}
  .wp-frame-stage:not([data-size=desktop]) iframe{width:100%;border:0;border-radius:0}
}
@media(max-width:479px){.wp-frame-tag{display:none!important}}

/* Small round tools keep a 44px finger target on touch screens. */
@media(pointer:coarse){.wp-play::after,.wp-icon::after{content:"";position:absolute;inset:-6px}}
@media(max-width:759px){
  .wp{padding-bottom:64px}
  .wp-intro{padding:32px 0 24px}
  .wp .wp-title{font-size:36px;line-height:1.08}
  .wp .wp-sub{font-size:16px}
  .wp-panel{border-radius:16px}
  .wp-rail{padding:18px 18px 16px}
  .wp-facts{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:639px){
  .wp-media{border-radius:12px}
  :is(a,button).wp-card-link::after{border-radius:12px}
  .wp .wp-card-name,.wp-layer .wp-card-name{font-size:15px}
  .wp-card-row{gap:6px}
  .wp-info>summary .wp-meta{display:none}
  /* Phone cards (owner, 2026-11-30, option A): the picture with 18px corners, then the full name
     (17px, bold, wrapping, never cut) with the copy icon at its right. The kind and the teaser stay
     in the HTML for larger screens, search engines and the search, and are hidden here. */
  .wp-grid{gap:20px 14px}
  .wp-card>.wp-media,.wp-card :is(a,button).wp-card-link::after{border-radius:18px}
  .wp-card-row{align-items:flex-start;height:auto;padding:10px 2px 0}
  .wp .wp-card-name{flex:1 1 auto;overflow:visible;font:650 17px/22px var(--ui-font);white-space:normal;overflow-wrap:break-word}
  .wp .wp-card-link{overflow:visible;white-space:normal}
  .wp .wp-card :is(.wp-card-kind,.wp-card-teaser){display:none}
  .wp-card .wp-icon{margin-top:-5px}
  .wp-card .wp-soon-tag{margin-top:0}
}
