/* ==========================================================================
   Zhino — prompt library (builds on blog.css)
   ========================================================================== */

.zh-prompts-hero::before {
	background: radial-gradient(720px 280px at 85% 0%, color-mix(in srgb, var(--zh-brand) 16%, transparent), transparent 70%),
		radial-gradient(520px 240px at 5% 40%, color-mix(in srgb, var(--zh-coin) 12%, transparent), transparent 70%);
}
.zh-prompts-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 26px; }
.zh-prompts-filters .zh-blog-chips { margin-top: 0; flex: 1 1 auto; min-width: 0; }
.zh-prompts-access { display: inline-flex; flex: none; gap: 2px; padding: 4px; border: 1px solid var(--zh-line); border-radius: 999px; background: var(--zh-surface); }
.zh-prompts-access a { padding: 6px 14px; border-radius: 999px; color: var(--zh-ink-2); text-decoration: none; font-weight: 800; font-size: var(--zh-fs-sm); }
.zh-prompts-access a:hover { color: var(--zh-ink); }
.zh-prompts-access a.is-active { background: var(--zh-brand); color: var(--zh-on-brand); }

/* Badges */
.zh-prompt-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: var(--zh-fs-xs); font-weight: 800; line-height: 1.8; white-space: nowrap; }
.zh-prompt-badge.is-free { color: var(--zh-ok); background: color-mix(in srgb, var(--zh-ok) 12%, transparent); }
.zh-prompt-badge.is-paid { color: var(--zh-coin-ink); background: color-mix(in srgb, var(--zh-coin) 20%, transparent); }
.zh-prompt-badge.is-members { color: var(--zh-brand-ink); background: var(--zh-brand-soft); }

/* Cards */
.zh-prompt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.zh-prompt-card { --a: var(--zh-brand); --b: #22d3ee; position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--zh-line); border-radius: var(--zh-r-lg); background: var(--zh-surface); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.zh-prompt-card[style*="seed:1"] { --b: #f472b6; } .zh-prompt-card[style*="seed:2"] { --b: #f2b33d; } .zh-prompt-card[style*="seed:3"] { --b: #34d399; } .zh-prompt-card[style*="seed:4"] { --a: #0ea5e9; }
.zh-prompt-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--zh-brand) 40%, var(--zh-line)); box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--zh-brand) 60%, transparent); }
.zh-prompt-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--zh-mist); }
.zh-prompt-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.zh-prompt-card:hover .zh-prompt-card-media img { transform: scale(1.05); }
.zh-prompt-card-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,8,30,.35), transparent 38%, transparent 70%, rgba(10,8,30,.25)); }
.zh-prompt-card-art { position: absolute; inset: 0; display: block; background: radial-gradient(110% 90% at 85% 0%, color-mix(in srgb, var(--a) 42%, transparent), transparent 60%), radial-gradient(90% 90% at 0% 100%, color-mix(in srgb, var(--b) 32%, transparent), transparent 60%), linear-gradient(160deg, color-mix(in srgb, var(--a) 14%, var(--zh-surface)), var(--zh-surface)); }
.zh-prompt-card-art i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.8), color-mix(in srgb, var(--a) 70%, var(--b)) 45%, transparent 72%); opacity: .8; }
.zh-prompt-card-art i:first-child { width: 30%; aspect-ratio: 1; top: 14%; inset-inline-start: 10%; }
.zh-prompt-card-art i:nth-child(2) { width: 12%; aspect-ratio: 1; bottom: 18%; inset-inline-end: 18%; opacity: .55; }
.zh-prompt-card-art b { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 45%, var(--b))); box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--a) 80%, transparent); transform: rotate(-8deg); }
.zh-prompt-card-media .zh-prompt-badge, .zh-prompt-card-type, .zh-prompt-card-samples { position: absolute; z-index: 1; top: 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.zh-prompt-card-media .zh-prompt-badge { inset-inline-end: 12px; background: color-mix(in srgb, var(--zh-surface) 88%, transparent); }
.zh-prompt-card-media .zh-prompt-badge.is-paid { color: var(--zh-coin-ink); }
.zh-prompt-card-media .zh-prompt-badge.is-free { color: var(--zh-ok); }
.zh-prompt-card-type { inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(15,12,40,.62); color: #fff; font-size: var(--zh-fs-xs); font-weight: 800; line-height: 1.8; }
.zh-prompt-card-samples { top: auto; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: rgba(15,12,40,.62); color: #fff; font-size: 11.5px; font-weight: 800; }
.zh-prompt-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; padding: 16px 18px 14px; }
.zh-prompt-card .zh-chip { position: relative; z-index: 1; }
.zh-prompt-card-title { margin: 0; font-size: 1.08rem; font-weight: 900; line-height: 1.7; }
.zh-prompt-card-title a { color: var(--zh-ink); text-decoration: none; }
.zh-prompt-card-title a::after { content: ""; position: absolute; inset: 0; }
.zh-prompt-card-title a:hover { color: var(--zh-brand-ink); }
.zh-prompt-card-text { margin: 0; color: var(--zh-ink-2); font-size: var(--zh-fs-sm); line-height: 1.95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zh-prompt-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; align-self: stretch; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--zh-line); color: var(--zh-ink-3); font-size: var(--zh-fs-xs); font-weight: 700; }
.zh-prompt-card-foot span { display: inline-flex; align-items: center; gap: 5px; }
.zh-prompt-card-go { margin-inline-start: auto; color: var(--zh-brand-ink); transition: transform .2s; }
.zh-prompt-card:hover .zh-prompt-card-go { transform: translateX(-4px); }
.zh-post-list .zh-prompt-card { height: 100%; }

/* Toolbar: content type, access, sort */
.zh-prompts-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 14px; }
.zh-prompts-types { display: flex; flex-wrap: wrap; gap: 6px; }
.zh-prompts-types a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 12px; border: 1px solid transparent; color: var(--zh-ink-2); text-decoration: none; font-weight: 800; font-size: var(--zh-fs-sm); }
.zh-prompts-types a:hover { background: var(--zh-mist); color: var(--zh-ink); }
.zh-prompts-types a.is-active { background: var(--zh-surface); border-color: var(--zh-line); color: var(--zh-brand-ink); box-shadow: 0 6px 18px -12px color-mix(in srgb, var(--zh-brand) 60%, transparent); }
.zh-prompts-toolbar-end { display: flex; flex-wrap: wrap; gap: 10px; margin-inline-start: auto; }

/* Cover and sample gallery on the prompt page */
.zh-prompt-cover { max-width: 860px; margin: 0 auto 28px; }
.zh-prompt-cover img { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: calc(var(--zh-r-lg) + 6px); box-shadow: 0 40px 80px -50px rgba(10, 8, 30, .6); }
.zh-prompt-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.zh-prompt-gallery-grid.is-single { grid-template-columns: 1fr; }
.zh-prompt-gallery-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--zh-r-md); background: var(--zh-mist); cursor: zoom-in; }
.zh-prompt-gallery-grid.is-single a { aspect-ratio: 16 / 10; }
.zh-prompt-gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.zh-prompt-gallery-grid a:hover img { transform: scale(1.05); }
.zh-lightbox { width: min(96vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--zh-r-lg); background: #0b0a1c; overflow: visible; }
.zh-lightbox::backdrop { background: rgba(5,4,15,.82); backdrop-filter: blur(4px); }
.zh-lightbox img { display: block; max-width: 100%; max-height: 88vh; margin: auto; border-radius: var(--zh-r-lg); }
.zh-lightbox button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.zh-lightbox button:hover { background: rgba(255,255,255,.26); }
.zh-lightbox [data-close] { top: 10px; inset-inline-end: 10px; }
.zh-lightbox [data-prev] { top: 50%; right: 10px; transform: translateY(-50%); }
.zh-lightbox [data-next] { top: 50%; left: 10px; transform: translateY(-50%); }

/* Single prompt */
.zh-prompt-single .zh-single-head .zh-container { max-width: 860px; }
.zh-prompt-meta { margin-top: 18px; }
.zh-prompt-layout { padding-bottom: 40px; }
.zh-prompt-main { max-width: 860px; margin-inline: auto; display: grid; gap: 28px; }

.zh-prompt-box { position: relative; padding: clamp(18px, 3vw, 26px); border: 1px solid color-mix(in srgb, var(--zh-brand) 28%, var(--zh-line)); border-radius: calc(var(--zh-r-lg) + 4px); background: linear-gradient(170deg, color-mix(in srgb, var(--zh-brand) 6%, var(--zh-surface)), var(--zh-surface)); box-shadow: 0 30px 70px -48px color-mix(in srgb, var(--zh-brand) 70%, transparent); }
.zh-prompt-box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.zh-prompt-box-head h2 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 1.15rem; font-weight: 900; }
.zh-prompt-box-head .zi { color: var(--zh-brand); }
.zh-prompt-copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--zh-line); border-radius: 999px; background: var(--zh-surface); color: var(--zh-ink-2); font-weight: 700; font-size: var(--zh-fs-xs); cursor: pointer; }
.zh-prompt-copy:hover { border-color: var(--zh-brand); color: var(--zh-brand-ink); }

.zh-prompt-vars { margin-bottom: 14px; padding: 14px; border-radius: var(--zh-r-md); background: var(--zh-mist); }
.zh-prompt-vars > p { margin: 0 0 10px; color: var(--zh-ink-2); font-size: var(--zh-fs-sm); font-weight: 700; }
.zh-prompt-vars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.zh-prompt-vars label { display: grid; gap: 4px; font-size: var(--zh-fs-xs); font-weight: 800; color: var(--zh-ink-2); }
.zh-prompt-vars input, .zh-prompt-vars select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--zh-line); border-radius: 12px; background: var(--zh-surface); font-size: var(--zh-fs-sm); }
.zh-prompt-vars input:focus, .zh-prompt-vars select:focus { outline: 0; border-color: var(--zh-brand); box-shadow: 0 0 0 3px var(--zh-brand-soft); }

.zh-prompt-text { margin: 0; padding: 18px 20px; max-height: 460px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; unicode-bidi: plaintext; text-align: start; border: 1px solid var(--zh-line); border-radius: var(--zh-r-md); background: var(--zh-surface); color: var(--zh-ink); font: 500 1rem/2.05 var(--zh-font); }
.zh-prompt-text mark { padding: 0 .25em; border-radius: 6px; background: color-mix(in srgb, var(--zh-coin) 30%, transparent); color: inherit; font-weight: 800; }
.zh-prompt-text mark.is-filled { background: color-mix(in srgb, var(--zh-ok) 18%, transparent); }
.zh-prompt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.zh-prompt-actions .zh-btn { flex: 1 1 200px; }
.zh-prompt-toast { position: absolute; inset-inline-end: 22px; top: 18px; padding: 5px 12px; border-radius: 10px; background: var(--zh-ink); color: var(--zh-paper); font-size: var(--zh-fs-xs); font-weight: 800; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.zh-prompt-toast.is-on { opacity: 1; transform: none; }

/* Locked */
.zh-prompt-locked { position: relative; min-height: 260px; display: grid; place-items: center; }
.zh-prompt-ghost { position: absolute; inset: 0; display: grid; align-content: start; gap: 14px; padding: 22px; border-radius: var(--zh-r-md); background: var(--zh-surface); filter: blur(3px); opacity: .8; }
.zh-prompt-ghost i { height: 12px; border-radius: 8px; background: color-mix(in srgb, var(--zh-ink) 12%, transparent); }
.zh-prompt-ghost i:nth-child(2) { width: 86%; } .zh-prompt-ghost i:nth-child(3) { width: 94%; } .zh-prompt-ghost i:nth-child(4) { width: 70%; } .zh-prompt-ghost i:nth-child(5) { width: 52%; }
.zh-prompt-lock-card { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; width: min(100%, 420px); margin: 18px; padding: 24px; text-align: center; border: 1px solid var(--zh-line); border-radius: var(--zh-r-lg); background: color-mix(in srgb, var(--zh-surface) 94%, transparent); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--zh-ink) 50%, transparent); backdrop-filter: blur(6px); }
.zh-prompt-lock-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--zh-brand), color-mix(in srgb, var(--zh-brand) 50%, #22d3ee)); }
.is-locked .zh-prompt-lock-icon { background: linear-gradient(135deg, var(--zh-coin), color-mix(in srgb, var(--zh-coin) 55%, #c2410c)); }
.zh-prompt-lock-card h3 { margin: 4px 0 0; font-size: 1.15rem; font-weight: 900; }
.zh-prompt-lock-card p { margin: 0 0 6px; color: var(--zh-ink-2); font-size: var(--zh-fs-sm); }
.zh-prompt-lock-card .zh-btn { width: 100%; }
.zh-prompt-balance { color: var(--zh-ink-3); font-size: var(--zh-fs-xs); }
.zh-prompt-error { margin: 4px 0 0; color: var(--zh-danger); font-weight: 700; font-size: var(--zh-fs-sm); }
.zh-prompt-error a { color: inherit; }

.zh-prompt-about h2, .zh-prompt-example h2, .zh-prompt-related h2, .zh-prompt-gallery h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: var(--zh-fs-xl); font-weight: 900; }
.zh-prompt-example-body { padding: 18px 20px; border-radius: var(--zh-r-lg); border: 1px solid var(--zh-line); background: var(--zh-mist); color: var(--zh-ink-2); line-height: 2; }
.zh-prompt-example-body p:last-child { margin-bottom: 0; }
.zh-prompt-related { padding-bottom: 88px; }
.zh-prompt-related-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }

@media (max-width: 640px) {
	.zh-prompts-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.zh-prompts-access { justify-self: start; }
	.zh-prompts-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); }
	.zh-prompts-types { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
	.zh-prompts-types a { flex: none; }
	.zh-prompts-toolbar-end { margin: 0; }
	.zh-prompt-cover { padding: 0; width: 100%; }
	.zh-prompt-cover img { border-radius: 0; max-height: 300px; }
	.zh-prompt-text { max-height: 360px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
	.zh-prompt-card:hover, .zh-prompt-card:hover .zh-prompt-card-go { transform: none; }
}

/* ==========================================================================
   Elementor prompt widgets (grid, slider, featured prompt, categories)
   ========================================================================== */
.zh-pw { --pw-gap: 22px; }
.zh-pw-plain-yes .zh-pw { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.zh-pw-plain-yes .zh-pw::before { display: none; }
.zh-pw-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.zh-pw-head .zh-ew-head { flex: 1 1 320px; margin-bottom: 0; }
.zh-pw .zh-ew-empty a { color: var(--zh-brand-ink); font-weight: 800; }
.zh-pw .zh-prompt-card[hidden] { display: none; }
.zh-prompt-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.zh-prompt-card-tags .zh-prompt-card-type { position: static; background: var(--zh-mist); color: var(--zh-ink-2); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Grid */
.zh-pw-grid { --pw-cols: 3; display: grid; grid-template-columns: repeat(var(--pw-cols), minmax(0, 1fr)); gap: var(--pw-gap); }
.zh-pw-tabs { display: flex; gap: 6px; margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; }
.zh-pw-tabs::-webkit-scrollbar { display: none; }
.zh-pw-tabs button { flex: none; padding: 7px 16px; border: 1px solid var(--zh-line); border-radius: 999px; background: var(--zh-surface); color: var(--zh-ink-2); font: inherit; font-size: var(--zh-fs-sm); font-weight: 800; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.zh-pw-tabs button:hover { color: var(--zh-ink); border-color: color-mix(in srgb, var(--zh-brand) 35%, var(--zh-line)); }
.zh-pw-tabs button.is-active { background: var(--zh-ink); border-color: var(--zh-ink); color: var(--zh-surface); }
.zh-pw-more { display: flex; justify-content: center; margin-top: clamp(22px, 3vw, 34px); }
.zh-pw-more .zh-btn svg, .zh-pw-spot-actions .zh-btn svg { flex: none; }

/* Slider */
.zh-pw-track { --pw-per: 3; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--pw-per) - 1) * var(--pw-gap)) / var(--pw-per)); gap: var(--pw-gap); margin: -8px -4px -16px; padding: 8px 4px 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none; }
.zh-pw-track::-webkit-scrollbar { display: none; }
.zh-pw-track > .zh-prompt-card { scroll-snap-align: start; }
.zh-pw-track:focus-visible { outline: 2px solid var(--zh-brand); outline-offset: 2px; border-radius: var(--zh-r-md); }
.zh-pw-nav { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.zh-pw-all { margin-inline-end: 6px; }
.zh-pw-arrow { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--zh-line); border-radius: 50%; background: var(--zh-surface); color: var(--zh-ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.zh-pw-arrow:hover:not(:disabled) { background: var(--zh-brand); border-color: var(--zh-brand); color: var(--zh-on-brand); }
.zh-pw-arrow:disabled { opacity: .35; cursor: default; }
.zh-pw.is-static .zh-pw-arrow { display: none; }

/* Featured prompt */
.zh-pw-spot { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 4vw, 52px); }
.zh-pw-spot.is-media-end .zh-pw-spot-media { order: 2; }
.zh-pw-spot-media { display: grid; gap: 10px; min-width: 0; }
.zh-pw-spot-cover { --a: var(--zh-brand); --b: #22d3ee; position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--zh-r-lg) + 4px); background: var(--zh-mist); box-shadow: 0 40px 80px -50px rgba(10, 8, 30, .6); }
.zh-pw-spot-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.zh-pw-spot-cover:hover img { transform: scale(1.04); }
.zh-pw-spot-cover .zh-prompt-card-type { top: 14px; inset-inline-start: 14px; }
.zh-pw-spot-samples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.zh-pw-spot-samples a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--zh-r-md); background: var(--zh-mist); }
.zh-pw-spot-samples img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zh-pw-spot-samples b { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 8, 30, .55); color: #fff; font-weight: 900; }
.zh-pw-spot-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.zh-pw-spot-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zh-pw-spot-tags .zh-ew-eyebrow { margin: 0; }
.zh-pw-spot-title { margin: 0; color: var(--zh-ink); font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.3rem); font-weight: 950; line-height: 1.4; letter-spacing: -.02em; text-wrap: balance; }
.zh-pw-spot-title a { color: inherit; text-decoration: none; }
.zh-pw-spot-title a:hover { color: var(--zh-brand-ink); }
.zh-pw-spot-text { margin: 0; color: var(--zh-ink-2); line-height: 1.95; }
.zh-pw-spot-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--zh-ink-3); font-size: var(--zh-fs-sm); font-weight: 700; }
.zh-pw-spot-meta li { display: inline-flex; align-items: center; gap: 6px; }
.zh-pw-spot-preview { align-self: stretch; max-height: 10.5em; overflow: hidden; padding: 14px 16px; border: 1px solid var(--zh-line); border-radius: var(--zh-r-md); background: color-mix(in srgb, var(--zh-mist) 65%, var(--zh-surface)); color: var(--zh-ink-2); font-size: var(--zh-fs-sm); line-height: 2.05; white-space: pre-wrap; overflow-wrap: anywhere; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
.zh-pw-spot-preview mark { padding: 1px 5px; border-radius: 6px; background: color-mix(in srgb, var(--zh-coin) 26%, transparent); color: var(--zh-ink); }
.zh-pw-spot-preview.is-locked { display: grid; gap: 9px; padding: 18px; white-space: normal; -webkit-mask-image: none; mask-image: none; }
.zh-pw-spot-preview.is-locked i { display: block; height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--zh-ink) 10%, transparent); }
.zh-pw-spot-preview.is-locked i:nth-child(2) { width: 82%; }
.zh-pw-spot-preview.is-locked i:nth-child(3) { width: 58%; }
.zh-pw-spot-preview.is-locked span { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--zh-ink-2); font-weight: 800; }
.zh-pw-spot-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* Categories */
.zh-pw-cats { --pw-cols: 3; display: grid; grid-template-columns: repeat(var(--pw-cols), minmax(0, 1fr)); gap: var(--pw-gap); }
.zh-pw-cat { --a: var(--zh-brand); --b: #22d3ee; position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; min-width: 0; min-height: 170px; padding: 18px; overflow: hidden; border: 1px solid var(--zh-line); border-radius: var(--zh-r-lg); color: var(--zh-ink); text-decoration: none; background: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--a) 26%, transparent), transparent 60%), radial-gradient(100% 100% at 0% 100%, color-mix(in srgb, var(--b) 20%, transparent), transparent 60%), var(--zh-surface); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.zh-pw-cat[style*="seed:1"] { --b: #f472b6; } .zh-pw-cat[style*="seed:2"] { --b: #f2b33d; } .zh-pw-cat[style*="seed:3"] { --b: #34d399; } .zh-pw-cat[style*="seed:4"] { --a: #0ea5e9; }
.zh-pw-cat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--zh-brand) 40%, var(--zh-line)); box-shadow: 0 24px 46px -30px color-mix(in srgb, var(--zh-brand) 60%, transparent); }
.zh-pw-cat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.zh-pw-cat:hover img { transform: scale(1.06); }
.zh-pw-cat.has-cover { border-color: transparent; color: #fff; }
.zh-pw-cat.has-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 30, 0) 15%, rgba(10, 8, 30, .82)); }
.zh-pw-cat-body { display: grid; gap: 2px; min-width: 0; }
.zh-pw-cat strong { font-size: 1.08rem; font-weight: 900; line-height: 1.6; }
.zh-pw-cat small { font-size: var(--zh-fs-xs); font-weight: 700; opacity: .82; }
.zh-pw-cat-go { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--zh-surface) 86%, transparent); color: var(--zh-brand-ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s ease; }
.zh-pw-cat:hover .zh-pw-cat-go { transform: translateX(-4px); }
.zh-pw-cat.is-all { border-color: transparent; color: var(--zh-on-brand); background: radial-gradient(90% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, var(--zh-brand), color-mix(in srgb, var(--zh-brand) 55%, #22d3ee)); }
.zh-pw-cat.is-all .zh-pw-cat-go { background: rgba(255, 255, 255, .2); color: #fff; }

@media (max-width: 1024px) {
	.zh-pw-grid { --pw-cols: 2; }
	.zh-pw-cats { --pw-cols: 2; }
	.zh-pw-track { --pw-per: 2; }
}
@media (max-width: 767px) {
	.zh-pw { --pw-gap: 14px; }
	.zh-pw-grid { --pw-cols: 1; }
	.zh-pw-track { --pw-per: 1.15; }
	.zh-pw-spot { grid-template-columns: minmax(0, 1fr); }
	.zh-pw-spot.is-media-end .zh-pw-spot-media { order: 0; }
	.zh-pw-cat { min-height: 130px; padding: 14px; }
	.zh-pw-cat-go { width: 32px; height: 32px; }
	.zh-pw-nav { margin-inline-start: 0; }
}
