/*
Theme Name: LadyPrompts
Theme URI: https://ladyprompts.com
Author: LadyPrompts
Author URI: https://ladyprompts.com
Description: An elegant editorial AI prompt gallery theme. Browse curated prompt collections for saree looks, editorial portraits, and festive shots, copy any look in one tap, and recreate it with your own photo. Editorial sage and cream design with forest green and terracotta accents, made for LadyPrompts.com.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ladyprompts
Tags: custom-menu, featured-images, custom-colors, full-width-template, blog
*/

/* ============================================================
   GOOGLE FONTS
============================================================ */
/* Fonts are now loaded from functions.php (non-blocking). The old @import was removed
   because a slow Google Fonts request could stop this whole stylesheet from applying on phones. */

/* ============================================================
   CSS VARIABLES — Editorial Sage & Cream Palette
============================================================ */
:root {
  --cream:           #f6f3ea;
  --paper:           #fffdf8;
  --sage-soft:       #eef1e4;
  --sage-line:       #d9e0cc;
  --ink:             #1f2a22;
  --mut:             #5d6a5e;
  --forest:          #2f5d46;
  --forest-d:        #234634;
  --sage:            #5b8a68;
  --sage-l:          #a9c3a4;
  --clay:            #c4704f;
  --hd:              'Fraunces', Georgia, serif;
  --bd:              'DM Sans', system-ui, -apple-system, sans-serif;
  --line:            rgba(31, 42, 34, 0.12);
  --shadow:          0 1px 2px rgba(31, 42, 34, 0.06), 0 12px 32px rgba(31, 42, 34, 0.08);

  /* Semantic Theme Mappings */
  --lp-purple:       var(--forest);
  --lp-purple-light: var(--sage-l);
  --lp-pink:         var(--sage);
  --lp-orange:       var(--clay);
  --lp-bg:           var(--cream);
  --lp-card-bg:      var(--paper);
  --lp-prompt-bg:    var(--cream);
  --lp-prompt-border:var(--sage-line);
  --lp-text:         var(--ink);
  --lp-muted:        var(--mut);
  --lp-border:       var(--line);
  --lp-gradient:     linear-gradient(135deg, var(--forest-d) 0%, var(--forest) 60%, #4a7a5c 100%);
  --lp-radius-card:  24px;
  --lp-radius-btn:   999px;
  --lp-shadow-card:  var(--shadow);
  --lp-shadow-hover: 0 8px 30px rgba(47, 93, 70, 0.22);
  --lp-link:         var(--forest);
  --lp-body:         var(--ink);

  /* shared easing (use these instead of plain 'ease') */
  --lp-ease-out:     cubic-bezier(.23, 1, .32, 1);
  --lp-ease-in-out:  cubic-bezier(.77, 0, .175, 1);
  --lp-ease-drawer:  cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
  --font-heading:    var(--hd);
  --font-body:       var(--bd);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--lp-bg);
  color: var(--lp-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lp-link); text-decoration: none; }
@media (hover: hover) and (pointer: fine){a:hover{ text-decoration: underline; }}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.pt-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.pt-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pt-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pt-breadcrumb-item::after {
  content: '›';
  color: rgba( 74, 69, 104, 0.5 );
}

.pt-breadcrumb-item:last-child::after {
  content: '';
}

.pt-breadcrumb-link {
  color: var(--lp-purple);
  text-decoration: none;
  font-weight: 500;
}


.pt-breadcrumb-link:focus{
  text-decoration: underline;
}
@media (hover: hover) and (pointer: fine){.pt-breadcrumb-link:hover{
  text-decoration: underline;
}}

.pt-breadcrumb-current {
  color: var(--lp-muted);
  font-weight: 700;
}

@media (max-width: 760px) {
  .pt-breadcrumb {
    font-size: 0.82rem;
  }

  .pt-breadcrumb-list {
    gap: 0.4rem;
  }
}

/* ============================================================
   SITE HEADER
============================================================ */
.site-header {
  background: var(--lp-gradient);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(113,182,150,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.site-title-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.site-title-text span { opacity: 0.7; }

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.main-navigation a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.main-navigation .current-menu-item > a{
  background: rgba(255,255,255,0.2);
  color: #fff;
}
@media (hover: hover) and (pointer: fine){.main-navigation a:hover{
  background: rgba(255,255,255,0.2);
  color: #fff;
}}

.header-submit-btn {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 9px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine){.header-submit-btn:hover{ background: rgba(255,255,255,0.32); text-decoration: none; color: #fff; }}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ============================================================
   HERO SECTION
============================================================ */
.pt-hero {
  background: var(--lp-gradient);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 45%);
  pointer-events: none;
}

.pt-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--lp-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 1rem;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  position: relative;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: rgba(255,255,255,0.22);
  padding: 0 10px;
  border-radius: 8px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  margin-bottom: 2rem;
  position: relative;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 3px;
}

/* ============================================================
   BLOG POSTS
============================================================ */
.post-content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.single-post-hero {
  background: linear-gradient(180deg, rgba(113,182,150,1) 0%, rgba(47,93,70,0.95) 55%, rgba(196,112,79,0.9) 100%);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.single-post-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.single-post-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.42), rgba(0,0,0,0.32));
  border-radius: 28px;
  pointer-events: none;
  z-index: 0;
}

.single-post-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.single-post-hero .hero-copy { position: relative; z-index: 1; }

.single-post-hero h1 { text-shadow: 0 6px 18px rgba(0,0,0,0.55); }

.single-post-hero p {
  max-width: 720px;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
}

.single-post-hero .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-prompt-section {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.blog-prompt-section .section-header {
  margin-bottom: 1.5rem;
}

.blog-prompt-section .prompt-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.prompt-inspiration-section .inspiration-intro {
  max-width: 760px;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
}

.single-post-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.prompt-shortcode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.post-featured-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-header {
  margin-bottom: 2rem;
}

.post-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 14px;
  color: var(--lp-muted);
  flex-wrap: wrap;
}

.post-date,
.post-author {
  display: flex;
  align-items: center;
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--lp-text);
}

.post-body h2,
.post-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body a {
  color: var(--lp-purple);
  text-decoration: underline;
}

@media (hover: hover) and (pointer: fine){.post-body a:hover{
  text-decoration: none;
}}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
}

/* ============================================================
   HOMEPAGE
============================================================ */
.homepage-main {
  padding: 0;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-content .elementor-widget:not(:last-child),
.page-content > *:not(:last-child) {
  margin-bottom: 2rem;
}

.homepage-builder-content {
  padding-top: 0;
}

.homepage-builder-content .page-content {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  box-shadow: var(--lp-shadow-card);
  padding: 2rem;
}

.homepage-hero {
  background: linear-gradient(180deg, rgba(113,182,150,1) 0%, rgba(47,93,70,0.95) 55%, rgba(196,112,79,0.9) 100%);
  color: #fff;
  padding: 5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.homepage-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 30%);
  pointer-events: none;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.homepage-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin: 1rem auto 1rem;
  max-width: 760px;
}

.homepage-hero h1 span {
  background: rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 0 0.35em;
}

.homepage-intro,
.homepage-hero p {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.homepage-search {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 auto 2rem;
  max-width: 760px;
}

.homepage-search input[type="search"] {
  width: 100%;
  max-width: 520px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 14px 18px;
  background: rgba(36,52,45,0.12);
  color: #fff;
  outline: none;
  font-size: 16px;
}

.homepage-search input[type="search"]::placeholder {
  color: rgba(255,255,255,0.75);
}

.homepage-search button {
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--lp-text);
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
}

.homepage-stats {
  justify-content: center;
  gap: 2rem;
}

.homepage-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.75rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
}

.homepage-tags span {
  font-weight: 600;
  margin-right: 0.5rem;
}

.homepage-tags a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(36,52,45,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s;
}

@media (hover: hover) and (pointer: fine){.homepage-tags a:hover{
  background: rgba(255,255,255,0.22);
}}

.homepage-features,
.latest-prompts-section,
.recent-posts-section,
.trending-prompts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  position: relative;
}

.latest-prompts-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(113,182,150,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.latest-prompts-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(47,93,70,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.latest-prompts-section .prompt-grid {
  position: relative;
  z-index: 1;
}


.homepage-features .section-header,
.latest-prompts-section .section-header,
.recent-posts-section .section-header,
.trending-prompts-section .section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.homepage-features .section-header p,
.latest-prompts-section .section-header p,
.recent-posts-section .section-header p,
.trending-prompts-section .section-header p {
  max-width: 560px;
  margin: 0;
  color: var(--lp-muted);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.homepage-features {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 28px;
  box-shadow: var(--lp-shadow-card);
  position: relative;
}

.homepage-features::before {
  content: none;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--lp-shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(113,182,150,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine){.feature-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(113,182,150,0.2);
}}

@media (hover: hover) and (pointer: fine){.feature-card:hover::before{
  opacity: 1;
}}

.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blog-post-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--lp-shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine){.blog-post-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--lp-shadow-hover);
}}

.blog-post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-post-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.blog-post-meta {
  color: var(--lp-purple);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.blog-post-card h3 {
  margin-bottom: 0.6rem;
}

.blog-post-card h3 a {
  color: var(--lp-text);
}

.blog-post-card p {
  color: var(--lp-muted);
  margin-bottom: 1rem;
}

.blog-post-link {
  color: var(--lp-purple);
  font-weight: 700;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(113,182,150,0.15), rgba(47,93,70,0.15));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  margin-bottom: 0.8rem;
}

.latest-prompts-section .section-header {
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

@media (hover: hover) and (pointer: fine){.button:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(113,182,150,0.25);
}}

.button-primary {
  background: var(--lp-purple);
  color: #fff;
}

@media (hover: hover) and (pointer: fine){.button-primary:hover{
  background: var(--lp-purple-light);
}}

.button-secondary {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
}

@media (hover: hover) and (pointer: fine){.button-secondary:hover{
  background: rgba(255,255,255,0.28);
}}

.button-tertiary {
  background: transparent;
  color: var(--lp-purple);
  border: 2px solid var(--lp-purple-light);
}

@media (hover: hover) and (pointer: fine){.button-tertiary:hover{
  background: var(--lp-purple);
  color: #fff;
}}

.homepage-cta {
  background: linear-gradient(135deg, rgba(113,182,150,0.1) 0%, rgba(47,93,70,0.08) 50%, rgba(196,112,79,0.06) 100%);
  border: 1px solid rgba(113,182,150,0.2);
  border-radius: 28px;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
}

.homepage-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196,112,79,0.15), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.homepage-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(113,182,150,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .homepage-hero {
    padding: 4rem 1.5rem 2.5rem;
  }

  .homepage-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .homepage-features .section-header,
  .latest-prompts-section .section-header,
  .recent-posts-section .section-header,
  .trending-prompts-section .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions,
  .homepage-search {
    flex-direction: column;
  }

  .homepage-search input[type="search"] {
    max-width: 100%;
  }

  .homepage-tags {
    justify-content: center;
  }
}

/* ============================================================
   FILTER BAR
============================================================ */
.pt-filter-section {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  margin-top: -20px;
}

.filter-inner {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 24px rgba(113,182,150,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--lp-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.filter-chip {
  background: var(--lp-prompt-bg);
  color: var(--lp-muted);
  border: 1px solid var(--lp-prompt-border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
}

.filter-chip.active{
  background: var(--lp-purple);
  color: #fff;
  border-color: var(--lp-purple);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine){.filter-chip:hover{
  background: var(--lp-purple);
  color: #fff;
  border-color: var(--lp-purple);
  text-decoration: none;
}}

.filter-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.filter-search-field {
  flex: 1;
  min-width: 260px;
  border: 1px solid var(--lp-prompt-border);
  background: var(--lp-prompt-bg);
  color: var(--lp-text);
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
}

.filter-search-field:focus {
  border-color: var(--lp-purple);
}

.filter-search-button {
  border: none;
  border-radius: 999px;
  background: var(--lp-purple);
  color: #fff;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

@media (hover: hover) and (pointer: fine){.filter-search-button:hover{
  background: var(--lp-purple-light);
}}

.featured-section {
  max-width: 1200px;
  margin: 1.5rem auto 2rem;
  padding: 0 1.5rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.featured-section .section-header {
  margin-bottom: 1.4rem;
}

.featured-section .prompt-count {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--lp-muted);
}

/* ============================================================
   MAIN CONTENT AREA
============================================================ */
.pt-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pt-style-article {
  background: #fff;
  padding: 2.5rem 1.5rem;
  margin: 0 auto 3rem;
  border: 1px solid var(--lp-prompt-border);
  border-radius: var(--lp-radius-card);
  max-width: 820px;
}

.pt-style-article-inner {
  color: var(--lp-text);
  line-height: 1.75;
}

.pt-style-article-inner h2,
.pt-style-article-inner h3 {
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.pt-style-article-inner p {
  margin-bottom: 1.3rem;
}

.pt-style-article-inner ul,
.pt-style-article-inner ol {
  margin: 1rem 0 1.3rem 1.5rem;
  padding-left: 1.2rem;
}

.pt-style-article-inner strong,
.pt-style-article-inner b {
  font-weight: 700;
}

.pt-style-article-inner a {
  color: var(--lp-purple);
  text-decoration: underline;
}

@media (hover: hover) and (pointer: fine){.pt-style-article-inner a:hover{
  color: var(--lp-pink);
}}

.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--lp-text);
}

.section-title span {
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prompt-count {
  font-size: 13px;
  color: var(--lp-muted);
  background: var(--lp-prompt-bg);
  border: 1px solid var(--lp-prompt-border);
  border-radius: 100px;
  padding: 5px 14px;
}

/* ============================================================
   PROMPT GRID
============================================================ */
.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.prompt-loading-state {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  position: relative;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.skeleton-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--lp-radius-card);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  min-height: 380px;
}

.skeleton-card .skeleton-pulse {
  display: block;
  background: linear-gradient(90deg, rgba(245,245,255,0.9), rgba(235,235,255,0.6), rgba(245,245,255,0.9));
  border-radius: 999px;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.skeleton-card .skeleton-image {
  width: 100%;
  height: 260px;
  border-radius: 0;
}

.skeleton-card .skeleton-line {
  height: 16px;
  margin-bottom: 14px;
  width: 100%;
}

.skeleton-card .skeleton-title {
  width: 55%;
  height: 20px;
  margin-bottom: 18px;
}

.skeleton-card .skeleton-button {
  width: 120px;
  height: 42px;
  margin-right: 12px;
}

.skeleton-card .skeleton-tag {
  width: 90px;
  height: 28px;
}

.end-of-results {
  display: grid;
  place-items: center;
  gap: 0.8rem;
  padding: 2rem 1rem 1rem;
  color: var(--lp-text);
  text-align: center;
}

.end-of-results h3 {
  margin: 0;
  font-size: 1.25rem;
}

.prompt-loading-state {
  min-height: 40px;
}

.infinite-sentinel {
  width: 100%;
  min-height: 1px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skeleton-card,
.prompt-card {
  min-height: 380px;
}

@keyframes skeletonPulse {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-2px); opacity: 0.76; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   PROMPT CARD
============================================================ */
.prompt-card {
  background: var(--lp-card-bg);
  border-radius: var(--lp-radius-card);
  overflow: hidden;
  box-shadow: var(--lp-shadow-card);
  border: 1px solid var(--lp-border);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.6s ease;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) and (pointer: fine){.prompt-card:hover{
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 10px 40px rgba(113,182,150,0.12), 0 2px 18px rgba(113,182,150,0.06);
}}

@media (hover: hover) and (pointer: fine){.prompt-card:hover::after{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--lp-radius-card);
  box-shadow: 0 0 40px rgba(113,182,150,0.06) inset;
}}

/* Card Image */
.card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0eeff;
  position: relative;
  flex-shrink: 0;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine){.prompt-card:hover .card-image-wrap img{
  transform: scale(1.04);
}}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.card-image-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(26,26,46,0.5), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
@media (hover: hover) and (pointer: fine){.prompt-card:hover .card-image-overlay{ opacity: 1; }}

/* Card Body */
.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-prompt-box {
  background: var(--lp-prompt-bg);
  border: 1px solid var(--lp-prompt-border);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 12.5px;
  color: var(--lp-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.copy-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--lp-radius-btn);
  border: none;
  background: var(--lp-gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
@media (hover: hover) and (pointer: fine){.copy-btn:hover{ opacity: 0.88; transform: scale(0.99); }}
.copy-btn svg { flex-shrink: 0; }

/* Button click micro-interaction */
.button {
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.button:active {
  transform: scale(0.975);
  opacity: 0.96;
}

/* Section & card entrance */
.animate-fade { opacity: 0; transform: translateY(14px); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* subtle floating particles in homepage hero (animated radial-gradients) */
.homepage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(255,255,255,0.06) 0%, transparent 28%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.04) 0%, transparent 25%);
  background-repeat: no-repeat;
  background-size: 300px 300px, 220px 220px, 180px 180px;
  pointer-events: none;
  opacity: 0.95;
  animation: particlesMove 18s linear infinite;
}

@keyframes particlesMove {
  0% { background-position: 5% 15%, 80% 10%, 60% 80%; }
  50% { background-position: 12% 20%, 70% 6%, 66% 78%; }
  100% { background-position: 5% 15%, 80% 10%, 60% 80%; }
}

/* small pulsing glow for attention */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0px rgba(113,182,150,0.06); }
  50% { box-shadow: 0 0 18px rgba(113,182,150,0.06); }
  100% { box-shadow: 0 0 0px rgba(113,182,150,0.06); }
}

.prompt-card.glow {
  animation: pulseGlow 3.8s ease-in-out infinite;
}

.tool-tag {
  padding: 9px 12px;
  border-radius: var(--lp-radius-btn);
  border: 1px solid var(--lp-prompt-border);
  background: var(--lp-prompt-bg);
  font-size: 11px;
  color: var(--lp-purple);
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-body);
}

/* ============================================================
   SINGLE PROMPT PAGE
============================================================ */
.single-prompt-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.prompt-hero-image {
  width: 100%;
  border-radius: var(--lp-radius-card);
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
}
.prompt-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.prompt-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  align-items: center;
}

.prompt-badge-large {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.prompt-date {
  font-size: 13px;
  color: var(--lp-muted);
}

.single-prompt-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--lp-text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.full-prompt-box {
  background: var(--lp-prompt-bg);
  border: 1.5px solid var(--lp-prompt-border);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 15px;
  color: var(--lp-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  position: relative;
}

.full-prompt-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lp-purple);
  margin-bottom: 8px;
}

.copy-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--lp-radius-btn);
  border: none;
  background: var(--lp-gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
  margin-bottom: 2rem;
}
@media (hover: hover) and (pointer: fine){.copy-full-btn:hover{ opacity: 0.88; }}

.prompt-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 2rem;
}

.detail-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.detail-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--lp-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.detail-card-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-text);
}

/* Related prompts */
.related-section { margin-top: 3rem; }
.related-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar-widget {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--lp-border);
  padding: 20px;
  margin-bottom: 20px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lp-prompt-border);
}

/* ============================================================
   PAGINATION
============================================================ */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--lp-prompt-border);
  background: #fff;
  color: var(--lp-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.page-numbers.current{
  background: var(--lp-purple);
  color: #fff;
  border-color: var(--lp-purple);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine){.page-numbers:hover{
  background: var(--lp-purple);
  color: #fff;
  border-color: var(--lp-purple);
  text-decoration: none;
}}
.page-numbers.dots { border: none; background: none; cursor: default; }

/* ============================================================
   EMPTY STATE
============================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--lp-muted);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 20px;
  color: var(--lp-text);
  margin-bottom: 0.5rem;
}

/* ============================================================
   SUBMIT PROMPT FORM
============================================================ */
.submit-page-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.submit-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.submit-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.submit-hero p {
  color: var(--lp-muted);
  font-size: 16px;
}

.pt-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-card);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--lp-prompt-border);
  border-radius: 10px;
  background: var(--lp-prompt-bg);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--lp-text);
  transition: border-color 0.15s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--lp-purple);
  background: #fff;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--lp-radius-btn);
  border: none;
  background: var(--lp-gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
@media (hover: hover) and (pointer: fine){.form-submit-btn:hover{ opacity: 0.88; }}

/* ============================================================
   FOOTER (Editorial Sage & Cream)
============================================================ */
.site-footer {
  background: var(--cream);
  color: var(--mut);
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.footer-brand .site-title-text {
  font-family: var(--hd);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.footer-brand .site-title-text span {
  font-style: italic;
  font-weight: 500;
  color: var(--forest);
}
.footer-brand p {
  font-size: 14.5px;
  margin-top: 0.7rem;
  line-height: 1.65;
  color: var(--mut);
  max-width: 44ch;
}

.footer-col h4 {
  font-family: var(--hd);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: var(--mut);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}
@media (hover: hover) and (pointer: fine){.footer-col ul a:hover{ color: var(--forest); text-decoration: underline; }}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 13.5px;
  color: var(--mut);
}
.footer-copy a { color: var(--forest); font-weight: 600; }

.footer-copy a {
  color: var(--lp-purple-light);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(36,52,45,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
@media (hover: hover) and (pointer: fine){.social-link:hover{ background: var(--lp-purple); color: #fff; }}

/* ============================================================
   TOAST NOTIFICATION
============================================================ */
.pt-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a2e;
  color: #fff;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.pt-toast.show { transform: translateX(-50%) translateY(0); }
.pt-toast-check { color: #10b981; font-size: 16px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .menu-toggle { display: block; }
  .main-navigation.open { 
    display: block;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #1b3529;
    padding: 1rem;
  }
  .main-navigation.open ul { flex-direction: column; }

  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .filter-inner { gap: 8px; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .filter-search-form { flex-direction: column; align-items: stretch; }
  .header-submit-btn { display: none; }
  .hero-stats { gap: 1.2rem; }
  .prompt-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 480px) {
  .prompt-grid { grid-template-columns: 1fr; }
  .pt-hero { padding: 2rem 1rem 2.5rem; }
}

/* ==========================
   BLOG PAGE
========================== */

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:32px;
    margin-top:40px;
}

.blog-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    overflow:hidden;
    transition:.25s;
}

@media (hover: hover) and (pointer: fine){.blog-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,0,0,.08);
}}

.blog-card a{
    color:inherit;
    text-decoration:none;
}

.blog-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block;
}

.blog-card h2{
    font-size:24px;
    line-height:1.35;
    padding:20px 22px 10px;
    margin:0;
}

.blog-card p{
    padding:0 22px 22px;
    color:#666;
    line-height:1.7;
    margin:0;
}

/* The Comparison Slider Container */
.pt-comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
    cursor: col-resize;
}

.pt-slider-after {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.pt-slider-before {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    clip-path: inset(0 50% 0 0); /* This is the "sliding" magic */
}

/* The Handle (The vertical line) */
.pt-slider-handle {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 3px;
    background: white;
    cursor: col-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.pt-slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; height: 30px;
    background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: #2f5d46;
}


.pt-image-gallery{
    position:relative;
    aspect-ratio:1/1;
    overflow:hidden;
}

.pt-image-gallery a{
    display:block;
}

.pt-gallery-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:none;
}

.pt-gallery-image.active{
    display:block;
}

.pt-gallery-dots{
    position:absolute;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:20;
}

.pt-gallery-dots .dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#fff;
    opacity:.5;
    cursor:pointer;
}

.pt-gallery-dots .dot.active{
    background:#2f5d46;
    opacity:1;
}




/* ============================================================
   DESIGN C: DARK SITE + POSTER ARCHIVE  (v1.1.0)
   Part 1: the whole site is dark now. These lines fix the places
   that had a hard-coded white background.
============================================================ */
body { background: var(--lp-bg); color: var(--lp-text); }
input, select, textarea { color: var(--lp-text); }
::placeholder { color: #8ea399; opacity: 1; }

.homepage-features,
.feature-card,
.blog-post-card,
.filter-inner,
.skeleton-card,
.detail-card,
.sidebar-widget,
.page-numbers,
.pt-form-card,
.blog-card,
.pt-style-article { background: var(--lp-card-bg); border-color: var(--lp-prompt-border); }
.blog-card { border: 1px solid var(--lp-prompt-border); }
.blog-card p { color: var(--lp-muted); }
.card-image-wrap { background: var(--lp-prompt-bg); }
.form-select:focus { background: var(--lp-prompt-bg); }
.page-numbers { color: var(--lp-text); }
.page-numbers.current { background: var(--lp-gradient); color: #fff; border-color: transparent; }
.pt-style-article { background: transparent; border: 0; max-width: 820px; padding: 2.5rem 1.25rem 3rem; }
.pt-style-article-inner, .pt-style-article-inner p, .pt-style-article-inner li { color: #d7e8e0; }
.pt-style-article-inner h2, .pt-style-article-inner h3,
.pt-style-article-inner strong, .pt-style-article-inner b { color: #fff; }
.pt-style-article-inner a { color: #2f5d46; text-decoration: underline; }
.pt-style-article-inner table { border-collapse: collapse; width: 100%; }
.pt-style-article-inner th, .pt-style-article-inner td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.22); text-align: left; }
.pt-style-article-inner blockquote { margin: 22px 0; padding: 14px 18px; border-left: 4px solid #4a7a5c; background: rgba(113,182,150,.14); border-radius: 0 14px 14px 0; }
.pt-toast { background: #fff; color: #1d2b24; opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility .3s; }
.pt-toast.show { opacity: 1; visibility: visible; }

/* breadcrumbs on the dark site */
.pt-breadcrumb-item::after { color: rgba(195,213,205,.6); }
.pt-breadcrumb-link { color: var(--lp-link); }
@media (hover: hover) and (pointer: fine){.pa-pg a:hover,.pa-sheet a:hover{ text-decoration: none; }}

/* ============================================================
   Part 2: the archive (prompts, AI tool pages, style pages)
============================================================ */
.pa-w, .pa-pg, .pa-sheet, .pa-bk {
  --pa-g: linear-gradient(120deg,#2f5d46,#4a7a5c 62%,#c4704f);
  --pa-mu: #6f877c;
  --pa-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.pa-w { max-width: 1240px; margin: 0 auto; padding: 6px 8px; }
.pa-pg { position: relative; border-radius: 30px; overflow: clip; isolation: isolate; background: #ffffff; color: #1f2a22; }
.pa-pg::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: 50%; margin-left: -350px; top: -380px; background: radial-gradient(closest-side,rgba(47,93,70,.25),rgba(47,93,70,.18) 60%,transparent); }
.pa-pg::after { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--pa-grain); opacity: .05; pointer-events: none; }
.pa-pg a { color: inherit; text-decoration: none; }
.pa-pg h1, .pa-pg h2, .pa-pg h3 { font-family: var(--font-heading); line-height: 1.08; margin: 0; color: #1f2a22; }
.pa-pg :is(a, button, input):focus-visible,
.pa-sheet :is(a, button):focus-visible { outline: 3px solid #2f5d46; outline-offset: 2px; }
.pa-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pa-gt, .pa-h1 .gt, .pa-h1 .highlight { background: var(--pa-g); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0; }

/* ---------- poster art (gradient shows while an image loads or when there is none) ---------- */
.pt-art { position: relative; overflow: hidden;
  background: radial-gradient(circle at 70% 30%,var(--c1) 0 8%,transparent 8.6%),radial-gradient(50% 40% at 70% 30%,color-mix(in srgb,var(--c1) 55%,transparent),transparent 72%),linear-gradient(180deg,var(--c2),var(--c3) 62%,var(--c4)); }
.pt-art::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -12%; height: 38%; border-radius: 50% 50% 0 0/100% 100% 0 0; background: var(--c4); }
.pt-art::after { content: ""; position: absolute; inset: 0; background: var(--pa-grain); opacity: .16; }
.pt-art img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.a0 { --c1:#fde68a; --c2:#4a8d6e; --c3:#4a7a5c; --c4:#1e3b2d; } .a1 { --c1:#fff7ed; --c2:#ea580c; --c3:#234634; --c4:#244737; }
.a2 { --c1:#edf6f2; --c2:#396b54; --c3:#a9c3a4; --c4:#1b1647; } .a3 { --c1:#cffafe; --c2:#2a2a8c; --c3:#6366f1; --c4:#0e1330; }
.a4 { --c1:#edf6f2; --c2:#3d775c; --c3:#fb7185; --c4:#1d372b; } .a5 { --c1:#fef3c7; --c2:#7c2d12; --c3:#f59e0b; --c4:#1e392c; }

/* ---------- hero ---------- */
.pa-hd { position: relative; isolation: isolate; overflow: hidden; padding: 6px 20px 46px; text-align: center; }
.pa-hd .pt-breadcrumb { margin: 0; display: flex; justify-content: center; }
.pa-hd .pt-breadcrumb-list { justify-content: center; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--pa-mu); }
.pa-hd .pt-breadcrumb-item::after { color: var(--pa-mu); }
.pa-hd .pt-breadcrumb-item:last-child::after { content: ""; }
.pa-hd .pt-breadcrumb-item a, .pa-hd .pt-breadcrumb-item span { display: inline-block; padding: 12px 0; color: var(--pa-mu); }
.pa-hd .pt-breadcrumb-item a { text-decoration: underline; text-underline-offset: 3px; }
.pa-eb { display: inline-flex; gap: 8px; align-items: center; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); font-size: 13px; color: #eaf4ef; }
.pa-h1 { font-size: clamp(32px,8.4vw,68px) !important; letter-spacing: -.045em; font-weight: 800; max-width: 14ch; margin: 16px auto 12px !important; text-shadow: 0 4px 30px rgba(10,15,13,.9); }
.pa-h1 a { color: inherit; }
.pa-ds { max-width: 50ch; margin: 0 auto 18px; color: #ccdcd5; }
.pa-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pa-stat { padding: 10px 20px; border-radius: 16px; background: rgba(10,15,13,.62); border: 1px solid rgba(36,52,45,.10); }
.pa-stat b { display: block; font: 800 21px/1.1 var(--font-heading); color: #fff; }
.pa-stat span { font-size: 12.5px; color: var(--pa-mu); }

/* poster wall behind the hero */
.pa-mq { position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: 12px; -webkit-mask-image: linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent); mask-image: linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent); }
.pa-mq::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse 85% 75% at 50% 48%,rgba(255,248,246,.9),rgba(255,248,246,.5)),linear-gradient(180deg,rgba(255,248,246,.55),transparent 22%,transparent 66%,#fff8f6); }
.pa-mq-r { overflow: hidden; }
.pa-mq-t { display: flex; width: max-content; animation: paMq 90s linear infinite; will-change: transform; }
.pa-mq-t.r1 { animation-duration: 110s; animation-direction: reverse; } .pa-mq-t.r2 { animation-duration: 75s; } .pa-mq-t.r3 { animation-duration: 100s; animation-direction: reverse; }
.pa-mq .pt-art { flex: none; display: block; width: 92px; height: 124px; margin-right: 12px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.pa-mq .pt-art.w { width: 150px; }
.pa-mq .pt-art::after { display: none; }
.pa-mq-r:nth-child(4) { display: none; }
@keyframes paMq { to { transform: translateX(-50%); } }

/* ---------- sentence filter ---------- */
.pa-sp { margin: 22px 12px 4px; padding: 20px 14px 14px; border-radius: 26px; border: 1px solid transparent; background: linear-gradient(#ffffff,#ffffff) padding-box,linear-gradient(140deg,rgba(36,52,45,.12),rgba(47,93,70,.20) 45%,rgba(47,93,70,.5)) border-box; box-shadow: 0 24px 60px rgba(47,93,70,.20); }
.pa-lb { display: block; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #a9c3a4; margin-bottom: 2px; }
.pa-sent { margin: 0; font: 700 clamp(20px,5.6vw,34px)/1.95 var(--font-heading); letter-spacing: -.02em; text-align: center; color: #e9f3ee; }
.pa-tok { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; margin: 2px; border-radius: 999px; border: 1.5px solid transparent; background: linear-gradient(#f5faf8,#f5faf8) padding-box,var(--pa-g) border-box; color: #fff; font: inherit; cursor: pointer; vertical-align: middle; }
.pa-dock .pa-tok { font-family: var(--font-body); font-weight: 500; }
.pa-tok::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .8; }
.pa-tok.on { background: var(--pa-g); box-shadow: 0 8px 22px rgba(47,93,70,.35); }
.pa-blank { display: inline-block; vertical-align: middle; margin: 2px; }
.pa-blank input { width: clamp(130px,40vw,270px); min-height: 44px; padding: 0 6px; border: 0; border-bottom: 2px solid #4a7a5c; background: transparent; font: inherit; color: #fff; text-align: center; border-radius: 0; box-shadow: none; }
.pa-blank input:focus-visible { outline: 0; box-shadow: 0 8px 14px -8px #4a7a5c; }
.pa-rst { display: block; width: max-content; margin: 2px auto 0; min-height: 44px; line-height: 44px; padding: 0 18px; color: #d7e8e0 !important; text-decoration: underline !important; text-underline-offset: 3px; font-size: 14px; }

/* ---------- style orbs ---------- */
.pa-orbs { display: flex; gap: 12px; overflow-x: auto; padding: 20px 20px 4px; scrollbar-width: none; }
.pa-orbs::-webkit-scrollbar { display: none; }
.pa-orb { flex: none; width: 78px; display: grid; justify-items: center; align-content: start; gap: 7px; min-height: 44px; color: #d7e8e0 !important; font-size: 12.5px; line-height: 1.2; text-align: center; }
.pa-orb i { width: 66px; height: 66px; border-radius: 50%; border: 3px solid transparent; background: linear-gradient(135deg,var(--c1),var(--c3) 55%,var(--c2)) padding-box,rgba(255,255,255,.22) border-box; }
.pa-orb.all i { background: #f5faf8 padding-box,var(--pa-g) border-box; }
.pa-orb[aria-current="true"] { color: #fff !important; font-weight: 700; }
.pa-orb[aria-current="true"] i { background: linear-gradient(135deg,var(--c1),var(--c3) 55%,var(--c2)) padding-box,var(--pa-g) border-box; box-shadow: 0 0 0 4px rgba(47,93,70,.28); }
.pa-orb.all[aria-current="true"] i { background: #f5faf8 padding-box,var(--pa-g) border-box; }

/* ---------- section titles ---------- */
.pa-sc { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 26px 20px 14px; }
.pa-sc h2 { font-size: 22px; font-weight: 700; }
.pa-sc span { display: block; font-size: 14px; color: var(--pa-mu); margin-top: 2px; }
.pa-main { padding: 0; margin: 0; max-width: none; }

/* ---------- poster grid ---------- */
.pa-pg .prompt-grid { list-style: none; margin: 0; padding: 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; grid-auto-flow: dense; }
.prompt-card.pt-poster { position: relative; display: block; min-height: 0; aspect-ratio: 3/4; border-radius: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.pa-gl .prompt-card.pt-poster:nth-child(5n+1) { grid-column: span 2; aspect-ratio: 16/11; }
@media (hover: hover) and (pointer: fine){.prompt-card.pt-poster:hover{ transform: translateY(-4px); box-shadow: 0 2px 4px rgba(31,42,34,.06), 0 22px 44px rgba(31,42,34,.14); border-color: var(--sage-l); }}
.pt-poster .pt-art { position: absolute; inset: 0; background: var(--sage-soft); }
.pt-poster .pt-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pt-poster > .pt-art::before { z-index: 0; }
.prompt-card.pt-poster::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(160deg,rgba(255,255,255,.18),transparent 34%); pointer-events: none; }
.prompt-card.pt-poster::after{ content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); pointer-events: none; }
@media (hover: hover) and (pointer: fine){.prompt-card.pt-poster:hover::after{ content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); pointer-events: none; }}
.pt-tl { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(31,42,34,.72); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; color: #fff; pointer-events: none; backdrop-filter: blur(6px); }
.copy-btn.pt-cp { position: absolute; z-index: 5; right: 10px; top: 10px; flex: none; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--sage-line); background: var(--paper); color: var(--forest); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; box-shadow: 0 4px 12px rgba(31,42,34,.1); }
@media (hover: hover) and (pointer: fine){.copy-btn.pt-cp:hover{ opacity: 1; transform: scale(1.05); background: var(--forest); color: #fff; border-color: var(--forest); }}
.copy-btn.pt-cp.ok { background: var(--forest-d); border-color: var(--forest-d); color: #fff; }
.pt-cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 46px 14px 14px; background: linear-gradient(0deg,rgba(20,32,26,.88),rgba(20,32,26,.5) 55%,transparent); pointer-events: none; }
.pt-cap h3 { font: 600 16px/1.3 var(--hd); color: #fff; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.pa-gl .pt-poster:nth-child(5n+1) .pt-cap h3 { font: 600 clamp(18px,5vw,26px)/1.15 var(--hd); }
.pt-cap h3 a { color: #fff; pointer-events: auto; text-decoration: none; }
.pt-link { position: absolute; inset: 0; z-index: 2; }
.pt-mt { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 12.5px; color: #dfe7d6; }
.pt-mt i { font-style: normal; color: var(--clay); font-weight: 600; }

/* keep the copy button above the title link layer */
.copy-btn.pt-cp, .pt-tl { isolation: isolate; }

/* ---------- featured strip ---------- */
.pa-feat .prompt-grid { grid-auto-flow: row; }

/* ---------- infinite scroll states ---------- */
.pa-pg .prompt-loading-state { max-width: none; padding: 12px 14px 26px; }
.pa-pg .skeleton-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.pa-pg .skeleton-grid:empty { display: none; }
.prompt-card.pt-poster.skeleton-card { min-height: 0; background: #ffffff; }
.pt-poster .skeleton-pulse { position: absolute; inset: 0; border-radius: 0; background: linear-gradient(110deg,#ffffff 30%,#274135 50%,#ffffff 70%); background-size: 200% 100%; animation: paShimmer 1.3s linear infinite; }
@keyframes paShimmer { to { background-position: -200% 0; } }
.pa-pg .end-of-results { text-align: center; color: var(--pa-mu); padding: 28px 20px; }
.pa-pg .end-of-results h3 { font-size: 20px; margin-bottom: 4px; }
.pa-pg .end-of-results p { margin: 0; }
.pa-pg .visually-hidden { display: none; }
.pa-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 20px; }
.pa-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; }
.pa-pagination .page-numbers.current { background: var(--pa-g); border-color: transparent; }
.pa-emp { text-align: center; color: var(--pa-mu); padding: 28px 20px; }
.pa-emp b { display: block; font: 800 22px var(--font-heading); color: #fff; margin-bottom: 6px; }
.pa-more { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 34px; border-radius: 999px; background: var(--pa-g); color: #fff !important; font-weight: 700; box-shadow: 0 12px 28px rgba(47,93,70,.32); }
.pa-pagination[hidden] { display: none; }
.pa-loadmore-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 0 8px; }
.pa-loadmore-status { margin: 0; font-size: 14px; color: var(--pa-mu); }
.pa-loadmore { cursor: pointer; min-width: 220px; transition: transform .15s ease, opacity .15s ease; }
@media (hover: hover) and (pointer: fine){.pa-loadmore:hover{ transform: translateY(-1px); }}
.pa-loadmore:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pa-loadmore.is-loading { opacity: .65; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pa-loadmore { transition: none; } }

/* ---------- thumb-zone dock ---------- */
.pa-dock { position: sticky; bottom: 12px; margin: 12px; padding: 6px; display: flex; gap: 6px; align-items: center; border-radius: 999px; background: rgba(20,31,26,.95); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 16px 38px rgba(0,0,0,.55); z-index: 30; }
.pa-seg { display: flex; flex: 1; min-width: 0; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); }
.pa-seg a { flex: 1; display: grid; place-items: center; min-height: 44px; padding: 0 6px; border-radius: 999px; color: #ccdcd5 !important; font-weight: 700; font-size: 13.5px; text-align: center; white-space: nowrap; }
.pa-seg a[aria-current="true"] { background: #fff; color: #3e745b !important; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.pa-dock .pa-tok { margin: 0; padding: 0 12px; font-size: 14px; white-space: nowrap; }
.pa-up { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; cursor: pointer; font-size: 18px; }

/* ---------- picker (bottom sheet on phones, modal on desktop) ---------- */
.pa-bk { position: fixed; inset: 0; z-index: 9990; background: rgba(5,10,8,.62); }
.pa-sheet { position: fixed; z-index: 9991; left: 0; right: 0; bottom: 0; max-height: 82vh; max-height: 82dvh; overflow: auto; padding: 12px 18px calc(18px + env(safe-area-inset-bottom,0px)); border-radius: 28px 28px 0 0; background: #ffffff; color: #fff; border-top: 1px solid rgba(255,255,255,.22); animation: paUp .28s ease; }
@keyframes paUp { from { transform: translateY(40px); opacity: 0; } }
.pa-gr { width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); margin: 0 auto 14px; }
.pa-sheet h2 { font-family: var(--font-heading); font-size: 22px; margin: 0 0 12px; color: #fff; }
.pa-sheet[hidden], .pa-bk[hidden], .pa-sg[hidden] { display: none; }
.pa-sg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.pa-chip { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #e9f3ee !important; font-size: 14.5px; text-align: left; }
.pa-chip em { margin-left: auto; font-style: normal; font-size: 12px; opacity: .7; }
.pa-chip[aria-current="true"] { background: var(--pa-g); border-color: transparent; color: #fff !important; }
.pa-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg,var(--c1),var(--c3) 55%,var(--c2)); box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.pa-dot.all { background: var(--pa-g); }
.pa-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: var(--pa-g); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
html.pa-lock { overflow: hidden; }

/* toast sits above the dock */
body:has(.pa-dock) .pt-toast { bottom: 92px; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .pa-mq .pt-art { width: 130px; height: 172px; margin-right: 16px; }
  .pa-mq .pt-art.w { width: 210px; }
  .pa-mq-r:nth-child(4) { display: block; }
  .pa-mq { gap: 16px; }
  .pa-hd { padding: 14px 20px 60px; }
  .pa-sp { margin: 26px auto 0; max-width: 900px; }
  .pa-sc { padding: 34px 28px 16px; }
  .pa-pg .prompt-grid { grid-template-columns: repeat(4,1fr); gap: 16px; padding: 0 28px; }
  .pa-gl .prompt-card.pt-poster:nth-child(5n+1) { aspect-ratio: auto; }
  .pa-pg .skeleton-grid { grid-template-columns: repeat(4,1fr); gap: 16px; padding: 0 14px; }
  .pa-sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 560px; transform: translate(-50%,-50%); border-radius: 28px; animation: none; }
  .pa-orbs { justify-content: center; }
  .pa-dock { max-width: 560px; margin: 12px auto; }
}
@media (hover: hover) {
  .pt-poster:hover .pt-art img { transform: scale(1.06); }
  .prompt-card.pt-poster:hover { box-shadow: 0 0 0 1px rgba(47,93,70,.7),0 24px 50px rgba(47,93,70,.20); }
}
@media (prefers-reduced-motion: reduce) {
  .pa-pg *, .pa-pg *::before, .pa-pg *::after, .pa-sheet { animation: none !important; transition: none !important; }
}


/* ---------- orbs with real images ---------- */
.pa-orb i { position: relative; overflow: hidden; }
.pa-orb i img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 50%; display: block; }

/* fix: orb row was cut off on both sides on desktop */
@media (min-width: 900px) {
  .pa-orbs { justify-content: flex-start; }
  .pa-orbs::before, .pa-orbs::after { content: ""; margin: auto; }
}

/* cards: show only the photo + copy button (+ tool tag) */
.pt-poster .pt-cap {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: none;
}

/* ===== orbs: clean, consistent look ===== */
.pa-orbs {
  gap: 10px;
  padding: 26px 28px 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.pa-orb {
  width: 92px;
  gap: 11px;
  align-content: start;
}
.pa-orb i {
  width: 72px;
  height: 72px;
  transition: transform .25s ease, box-shadow .25s ease;
}
/* soft depth on the photo */
.pa-orb i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(36,52,45,.12), inset 0 -16px 20px rgba(10,15,13,.35);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine){.pa-orb:hover i{ transform: translateY(-3px); }}

/* labels: same size, centered, max 2 lines, never ragged */
.pa-orb span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  width: 100%;
  min-height: 2.6em;
  font: 600 13px/1.3 var(--font-body);
  letter-spacing: .01em;
  text-align: center;
  text-wrap: balance;
  color: #ccdcd5;
}

.pa-orb[aria-current="true"] span{ color: #fff; font-weight: 600; }
@media (hover: hover) and (pointer: fine){.pa-orb:hover span{ color: #fff; font-weight: 600; }}

/* the "All" orb: fix the broken background + add a grid icon */
.pa-orb.all i,
.pa-orb.all[aria-current="true"] i {
  background: linear-gradient(#f5faf8, #f5faf8) padding-box, var(--pa-g) border-box;
  display: grid;
  place-items: center;
}
.pa-orb.all i::before {
  content: "";
  width: 28px;
  height: 28px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='3' width='8' height='8' rx='2.5'/><rect x='13' y='3' width='8' height='8' rx='2.5'/><rect x='3' y='13' width='8' height='8' rx='2.5'/><rect x='13' y='13' width='8' height='8' rx='2.5'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='3' width='8' height='8' rx='2.5'/><rect x='13' y='3' width='8' height='8' rx='2.5'/><rect x='3' y='13' width='8' height='8' rx='2.5'/><rect x='13' y='13' width='8' height='8' rx='2.5'/></svg>") center / contain no-repeat;
}

@media (max-width: 899px) {
  .pa-orb { width: 84px; }
  .pa-orb i { width: 68px; height: 68px; }
  .pa-orb span { font-size: 12.5px; }
}

/* ===== HOME HERO: mobile layout ===== */
@media (max-width: 820px) {
  .pt-main.homepage-main { padding: 0; }
  .homepage-main .hw {
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 20px);
    min-height: 0;
    margin: 10px auto 18px;
    padding: 0;
    border-radius: 26px;
  }
  .homepage-main .hw-wall {
    order: -1;
    position: relative;
    inset: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: 250px;
    padding: 14px 14px 0;
    gap: 10px;
    overflow: hidden;
    transform: none;
    opacity: 1;
    -webkit-mask: linear-gradient(180deg, #000 55%, transparent);
    mask: linear-gradient(180deg, #000 55%, transparent);
  }
  .homepage-main .hw-col:nth-child(2) { margin-top: -34px; }
  .homepage-main .hw-img { margin-bottom: 10px; border-radius: 16px; }
  .homepage-main .hw-txt { max-width: none; margin-top: -22px; padding: 0 20px 32px; }
  .homepage-main .hw h1 { margin-top: 16px !important; font-size: clamp(34px, 10.5vw, 46px); }
  .homepage-main .hw-intro { margin-top: 14px; font-size: 15.5px; }
  .homepage-main .hw-search { margin-top: 22px; }
  .homepage-main .hw-stats div { padding: 0 18px; }
}

/* ===== LadyPrompts header: Editorial Sage & Cream ===== */
.pt-header{position:relative;z-index:100;padding:16px 16px 0;font-family:var(--bd)}
.pt-header *{box-sizing:border-box}
.pt-header a{text-decoration:none}

.pt-bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1180px;height:68px;margin:0 auto;padding:0 14px 0 16px;border-radius:999px;background:rgba(246,243,234,.94);border:1px solid var(--sage-line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 4px 24px rgba(31,42,34,.08)}

/* logo */
.pt-logo{display:inline-flex;align-items:center;gap:11px;flex:none}
.pt-logo--custom img{display:block;max-height:40px;width:auto}
.pt-mark{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:var(--forest);box-shadow:0 4px 14px rgba(47,93,70,.25)}
.pt-word{font:700 24px var(--hd);letter-spacing:-.01em;color:var(--ink)}
.pt-word i{font-style:italic;color:var(--sage);font-weight:500}

/* nav (desktop) */
.pt-nav{display:flex}
.pt-menu{display:flex;gap:4px;margin:0;padding:0;list-style:none}
.pt-menu li{margin:0;padding:0}
.pt-menu a{display:inline-flex;align-items:center;height:44px;padding:0 18px;border-radius:999px;font-weight:600;font-size:14px;color:var(--mut);transition:background .2s,color .2s}
@media (hover: hover) and (pointer: fine){.pt-menu a:hover{color:var(--forest);background:var(--sage-soft)}}
.pt-menu .current-menu-item>a,
.pt-menu .current-menu-ancestor>a,
.pt-menu .current_page_item>a{color:#fff !important;background:var(--forest) !important}

/* actions */
.pt-actions{display:flex;align-items:center;gap:10px;flex:none}
.pt-icon-btn,.pt-burger{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--sage-line);background:var(--paper);color:var(--forest);cursor:pointer;box-shadow:0 2px 6px rgba(31,42,34,.05);transition:background .2s,border-color .2s}
@media (hover: hover) and (pointer: fine){.pt-icon-btn:hover,.pt-burger:hover{background:var(--sage-soft);border-color:var(--forest)}}
.pt-burger{display:none;background:var(--sage-soft)}
.pt-burger .pt-x{display:none}
.pt-header.is-open .pt-burger .pt-x{display:block}
.pt-header.is-open .pt-burger .pt-b{display:none}

.pt-header :focus-visible,.pt-search :focus-visible{outline:3px solid var(--forest);outline-offset:2px}

/* ===== search overlay ===== */
.pt-search{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding:14vh 16px 0;background:rgba(31,42,34,.65);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-family:var(--bd)}
.pt-search[hidden]{display:none}
.pt-search-box{display:flex;align-items:center;gap:12px;width:100%;max-width:680px}
.pt-search-form{flex:1;display:flex;align-items:center;gap:12px;height:64px;padding:0 10px 0 20px;border-radius:999px;background:var(--paper);border:1px solid var(--sage-line);color:var(--mut);box-shadow:0 20px 50px rgba(31,42,34,.25)}
.pt-search-form:focus-within{border-color:var(--forest);box-shadow:0 0 0 4px rgba(47,93,70,.18),0 20px 50px rgba(31,42,34,.25)}
.pt-search-form svg{flex:none;color:var(--forest)}
.pt-search-form input[type="search"]{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;box-shadow:none;color:var(--ink);font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.pt-search-form input[type="search"]::placeholder{color:var(--mut)}
.pt-search-go{height:46px;padding:0 24px;border:0;border-radius:999px;background:var(--forest);color:#fff;font:700 14px var(--bd);cursor:pointer;transition:background .2s}
.pt-search-go:hover{background:var(--forest-d)}
.pt-search-close{display:grid;place-items:center;flex:none;width:52px;height:52px;padding:0;border-radius:50%;border:1px solid var(--sage-line);background:var(--paper);color:var(--forest);cursor:pointer}
html.pt-lock{overflow:hidden}

/* ===== mobile / tablet ===== */
@media (max-width:980px){
  .pt-burger{display:grid}
  .pt-nav{display:none;position:absolute;left:0;right:0;top:calc(100% + 12px);padding:14px;border-radius:26px;background:rgba(246,243,234,.98);border:1px solid var(--sage-line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 24px 60px rgba(31,42,34,.22)}
  .pt-header.is-open .pt-nav{display:block}
  .pt-menu{flex-direction:column;gap:4px}
  .pt-menu a{display:flex;align-items:center;justify-content:space-between;width:100%;height:auto;min-height:50px;padding:0 18px;border-radius:14px;font:600 18px var(--hd);color:var(--ink)}
  .pt-menu .current-menu-item>a,
  .pt-menu .current-menu-ancestor>a,
  .pt-menu .current_page_item>a{background:var(--forest) !important;color:#fff !important}
}
@media (max-width:480px){
  .pt-search{padding-top:10vh}
  .pt-search-form{height:58px;padding-left:16px}
  .pt-search-go{padding:0 16px}
}
@media (prefers-reduced-motion:reduce){.pt-header *{transition:none!important}}


/* LadyPrompts — Splash D: Aurora Wordmark */
#pt-splash-d {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0a0f0d;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    filter 700ms ease,
    visibility 700ms ease;
}

#pt-splash-d.pt-leaving {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  filter: blur(7px);
  pointer-events: none;
}

#pt-splash-d .pt-glow {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  will-change: transform;
}

#pt-splash-d .pt-glow-one {
  width: 60vmax;
  height: 50vmax;
  top: -20%;
  left: -10%;
  background: #2f5d46;
  opacity: .55;
  animation: pt-aurora-one 5s ease-in-out infinite alternate;
}

#pt-splash-d .pt-glow-two {
  width: 55vmax;
  height: 45vmax;
  right: -15%;
  bottom: -25%;
  background: #4a7a5c;
  opacity: .4;
  animation: pt-aurora-two 5s ease-in-out infinite alternate;
}

#pt-splash-d .pt-glow-three {
  width: 30vmax;
  height: 25vmax;
  top: 35%;
  left: 30%;
  background: #c4704f;
  opacity: .22;
  animation: pt-aurora-one 4s ease-in-out infinite alternate-reverse;
}

#pt-splash-d .pt-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 94vw;
  text-align: center;
}

#pt-splash-d .pt-wordmark {
  margin: 0;
  color: #c2dfd1;
  font-family: "Syne", "Arial", sans-serif;
  font-size: clamp(42px, 12vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  opacity: 0;
  background:
    linear-gradient(
      110deg,
      transparent 40%,
      #fff 50%,
      transparent 60%
    ) 130% 0 / 250% 100% no-repeat,
    linear-gradient(120deg, #e9f3ee, #c2dfd1 65%, #fdba74);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    pt-wordmark-in 1.1s .1s cubic-bezier(.2,.8,.2,1) forwards,
    pt-wordmark-shine 1s 1s ease-in-out forwards;
}

#pt-splash-d .pt-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #c8dbd2;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: 0;
  animation: pt-tagline-in .6s 1s forwards;
}

#pt-splash-d .pt-line {
  display: block;
  width: 0;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, transparent, #9bcbb5);
  animation: pt-line-in .7s 1s forwards;
}

#pt-splash-d .pt-line:last-child {
  background: linear-gradient(270deg, transparent, #9bcbb5);
}

@keyframes pt-wordmark-in {
  from {
    opacity: 0;
    letter-spacing: .2em;
    filter: blur(18px);
    transform: scale(.96);
  }
  to {
    opacity: 1;
    letter-spacing: -.03em;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes pt-wordmark-shine {
  to {
    background-position: -60% 0, 0 0;
  }
}

@keyframes pt-tagline-in {
  to { opacity: 1; }
}

@keyframes pt-line-in {
  to { width: 54px; }
}

@keyframes pt-aurora-one {
  to { transform: translate(8%, 10%) scale(1.15); }
}

@keyframes pt-aurora-two {
  to { transform: translate(-10%, -8%) scale(1.1); }
}

@media (max-width: 480px) {
  #pt-splash-d .pt-tagline {
    gap: 8px;
    font-size: 10px;
    letter-spacing: .14em;
  }

  #pt-splash-d .pt-line {
    max-width: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pt-splash-d *,
  #pt-splash-d *::before,
  #pt-splash-d *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ============================================================
   Part 3: Guide layout (style pages set to "Guide")
   Sections, text cards with the prompt visible, builder, FAQ.
   Uses the same dark palette, fonts and gradient as the archive.
============================================================ */
.pg { padding: 0 0 18px; }
.pg a { color: inherit; }

/* meta line */
.pg-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0; padding: 0 20px 4px; font-size: 13.5px; color: var(--pa-mu); }
.pg-meta b { color: #fff; font-weight: 600; }
.pg-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* boxes: quick picks, how we tested, builder */
.pg-box { margin: 18px 14px 0; padding: 18px 20px; border-radius: 24px; border: 1px solid transparent;
  background: linear-gradient(#ffffff,#ffffff) padding-box, linear-gradient(140deg,rgba(36,52,45,.12),rgba(47,93,70,.20) 45%,rgba(47,93,70,.5)) border-box; }
.pg-box h2 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.pg-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: #d7e8e0; }
.pg-quick li strong { color: #a9c3a4; font-weight: 700; }
.pg-quick li a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.pg-how { margin: 18px 14px 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); transition: border-radius .25s, background .25s; }
.pg-how[open] { border-radius: 30px; border-color: transparent; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45);
  background: linear-gradient(#ffffff,#ffffff) padding-box, linear-gradient(140deg,rgba(36,52,45,.12),rgba(47,93,70,.20) 45%,rgba(47,93,70,.6)) border-box; }
.pg-how > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 14px; cursor: pointer; border-radius: 999px; }
.pg-how > summary::-webkit-details-marker { display: none; }
.pg-how > summary:focus-visible { outline: 2px solid #a9c3a4; outline-offset: 3px; }
.pg-how[open] > summary { padding: 14px 16px 14px 20px; border-bottom: 1px solid rgba(255,255,255,.10); border-radius: 0; }
.pg-how-badge { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pa-g); display: flex; align-items: center; justify-content: center; color: #fff; }
.pg-how-t { flex: none; font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: #fff; line-height: 1.2; }
.pg-how-t.is-open { display: none; font-weight: 800; font-size: 22px; flex: 1; }
.pg-how[open] .pg-how-t.is-closed { display: none; }
.pg-how[open] .pg-how-t.is-open { display: block; }
.pg-how-sep { flex: none; width: 1px; height: 20px; background: rgba(255,255,255,.2); }
.pg-how-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; color: #d7e8e0; }
.pg-how-chips li { padding: 5px 12px; border-radius: 999px; background: rgba(113,182,150,.28); border: 1px solid rgba(175,214,196,.35); white-space: nowrap; }
.pg-how[open] .pg-how-chips, .pg-how[open] .pg-how-sep { display: none; }
.pg-how-cta { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 14px; color: #fff; transition: background .2s; }
.pg-how-cta .is-open { display: none; }
.pg-how[open] .pg-how-cta { background: rgba(255,255,255,.08); }
.pg-how[open] .pg-how-cta .is-closed { display: none; }
.pg-how[open] .pg-how-cta .is-open { display: inline; }
.pg-how-cta svg { transition: transform .3s; }
.pg-how[open] .pg-how-cta svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine){.pg-how > summary:hover .pg-how-cta{ background: rgba(36,52,45,.12); }}
.pg-how-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.10); }
.pg-how-c { padding: 22px 22px 24px; background: #f5faf8; }
.pg-how-c b.pg-how-l { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #2f5d46; margin-bottom: 10px; }
.pg-how-c:nth-child(3n+2) b.pg-how-l { color: #a9c3a4; }
.pg-how-c:nth-child(3n) b.pg-how-l { color: #fdba74; }
.pg-how-c p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #e3efe9; }
@media (max-width: 699px) {
  .pg-how > summary { flex-wrap: wrap; row-gap: 10px; }
  .pg-how:not([open]) { border-radius: 28px; }
  .pg-how:not([open]) > summary { border-radius: 28px; }
  .pg-how-chips { order: 5; flex: 1 0 100%; }
  .pg-how-sep { display: none; }
  .pg-how-t { flex: 1; min-width: 0; font-size: 16px; }
  .pg-how-cta .pg-how-cta-t { display: none; }
  .pg-how-cta { width: 44px; padding: 0; justify-content: center; }
  .pg-how-t.is-open { font-size: 19px; }
}
@media (min-width: 700px) {
  .pg-how-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (min-width: 900px) {
  .pg-how { margin: 22px 28px 0; }
}
/* jump to */
.pg-toc { padding: 22px 14px 0; text-align: center; }
.pg-toc > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.pg-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #e9f3ee !important; font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine){.pg-chip:hover{ background: rgba(47,93,70,.20); border-color: rgba(47,93,70,.6); color: #fff !important; }}

/* sections */
.pg-sec { scroll-margin-top: 20px; }
.pg-sec h2, .pg-faq h2, .pg-rel h2 { scroll-margin-top: 24px; }
.pg-all { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 13.5px; font-weight: 600; color: #e9f3ee !important; }
@media (hover: hover) and (pointer: fine){.pg-all:hover{ background: rgba(255,255,255,.1); }}
.pa-pg .pg-sec .pa-sc { padding-top: 34px; }

/* prompt cards */
.pg-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 0 14px; }
.pg-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #ffffff; box-shadow: 0 0 0 1px rgba(36,52,45,.12), 0 20px 40px rgba(0,0,0,.4); transition: box-shadow .3s; scroll-margin-top: 16px; }
.pg-card:target { box-shadow: 0 0 0 2px #4a7a5c, 0 20px 40px rgba(47,93,70,.20); }
.pg-thumb { display: block; position: relative; aspect-ratio: 4/5; }
.pg-thumb img { transition: transform .6s; }
.pg-num { position: absolute; z-index: 3; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(10,15,13,.62); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; color: #fff; }
.pg-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 16px 18px; }
.pg-body h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
@media (hover: hover) and (pointer: fine){.pg-body h3 a:hover{ color: #c2dfd1; }}
.pg-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pg-tags li { padding: 3px 11px; border-radius: 999px; background: rgba(113,182,150,.24); border: 1px solid rgba(175,214,196,.28); font-size: 11.5px; font-weight: 600; color: #dbece4; }
.pg-prompt { flex: 1; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--lp-prompt-bg); border: 1px solid var(--lp-prompt-border); color: #d7e8e0; font-size: 14px; line-height: 1.6; white-space: pre-line; user-select: all; }
.pg-swap { margin: 0; font-size: 12.5px; color: var(--pa-mu); }
.pg-swap b { color: #a9c3a4; font-weight: 700; }
.pg-row { display: flex; gap: 8px; align-items: stretch; margin-top: 2px; }
.copy-btn.pg-copy { flex: 1; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--pa-g); font-size: 14.5px; font-weight: 700; box-shadow: 0 10px 24px rgba(47,93,70,.28); }
@media (hover: hover) and (pointer: fine){.copy-btn.pg-copy:hover{ opacity: .92; transform: none; }}
.pg-open { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 13.5px; font-weight: 600; color: #e9f3ee !important; white-space: nowrap; }
@media (hover: hover) and (pointer: fine){.pg-open:hover{ background: rgba(255,255,255,.1); }}
.pg-pagination { padding-top: 26px; }

/* builder */
.pg-sub { margin: 0 0 14px; color: var(--pa-mu); font-size: 14px; }
.pg-fields { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pg-builder label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #ccdcd5; }
.pg-builder input, .pg-builder select, .pg-builder textarea { display: block; width: 100%; margin-top: 5px; min-height: 46px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: #0f1914; color: #fff; font: 500 15px/1.4 var(--font-body); box-shadow: none; }
.pg-builder input:focus, .pg-builder select:focus, .pg-builder textarea:focus { outline: 0; border-color: #4a7a5c; box-shadow: 0 0 0 3px rgba(47,93,70,.2); }
.pg-builder .pg-out-l { margin-top: 18px; }
.pg-builder textarea { resize: vertical; background: var(--lp-prompt-bg); line-height: 1.6; margin-bottom: 12px; }
.pg-builder .copy-btn.pg-copy { width: 100%; flex: none; }

/* tip box */
.pg-tip { margin: 26px 14px 0; padding: 22px 24px; border-radius: 24px; background: var(--pa-g); color: #fff; box-shadow: 0 16px 40px rgba(47,93,70,.25); }
.pg-tip h3 { font-size: 20px; margin-bottom: 6px; }
.pg-tip p { margin: 0; font-size: 15.5px; line-height: 1.65; }

/* article block (the "Article Content (SEO)" field) */
.pg-article { margin-top: 10px; }
.pt-style-article-inner pre, .pt-style-article-inner code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pt-style-article-inner pre { margin: 18px 0; padding: 14px 16px; border-radius: 14px; background: #0f1914; border: 1px solid rgba(36,52,45,.12); color: #ebf5f0; font-size: 13.5px; white-space: pre-wrap; }
.pt-style-article-inner th { background: rgba(113,182,150,.22); color: #fff; font-weight: 700; }
.pt-style-article-inner table { font-size: 14.5px; margin: 18px 0; }
.pt-style-article-inner .pg-vs { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0; }
.pt-style-article-inner .pg-vs > div { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border-left: 5px solid #4a7a5c; font-size: 14.5px; line-height: 1.6; }
.pt-style-article-inner .pg-vs > .pg-strong { border-left-color: #22c55e; }
@media (min-width: 700px) { .pt-style-article-inner .pg-vs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pt-style-article-inner table { display: block; overflow-x: auto; } }

/* FAQ */
.pg-faq-list { display: grid; gap: 10px; padding: 0 14px; max-width: 860px; margin: 0 auto; }
.pg-faq details { border-radius: 18px; border: 1px solid rgba(36,52,45,.12); background: rgba(255,255,255,.05); padding: 4px 18px; }
.pg-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; cursor: pointer; font-weight: 700; font-size: 16px; color: #fff; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid #2f5d46; border-bottom: 2px solid #2f5d46; transform: rotate(45deg); transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(-135deg); }
.pg-faq details p { margin: 0 0 16px; color: #d7e8e0; line-height: 1.7; }
.pg-faq .pa-sc { max-width: 860px; margin: 0 auto; }
.pg-faq { margin-top: 12px; }

/* related */
.pg-rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.pg-rel-grid a { display: block; padding: 16px; border-radius: 18px; border: 1px solid rgba(36,52,45,.12); background: rgba(255,255,255,.05); font-weight: 700; font-size: 15px; color: #fff !important; transition: background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine){.pg-rel-grid a:hover{ background: rgba(113,182,150,.3); border-color: rgba(47,93,70,.55); }}
.pg-rel-grid a span { display: block; margin-top: 3px; font-weight: 400; font-size: 12.5px; color: var(--pa-mu); }

@media (min-width: 640px) {
  .pg-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-fields { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .pg-meta { padding-bottom: 8px; }
  .pg-box { margin: 22px 28px 0; padding: 22px 26px; }
  .pg-quick ul { grid-template-columns: 1fr 1fr; gap: 10px 26px; }
  .pg-grid { padding: 0 28px; gap: 18px; }
  .pg-fields { grid-template-columns: repeat(3, 1fr); }
  .pg-tip { margin: 30px 28px 0; padding: 26px 30px; }
  .pg-faq-list { padding: 0 28px; }
  .pg-rel-grid { grid-template-columns: repeat(3, 1fr); padding: 0 28px; }
}
@media (min-width: 1100px) {
  .pg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (hover: hover) {
  .pg-card:hover .pg-thumb img { transform: scale(1.05); }
  .pg-card:hover { box-shadow: 0 0 0 1px rgba(47,93,70,.7), 0 24px 50px rgba(113,182,150,.3); }
}
@media (prefers-reduced-motion: reduce) {
  .pg-card, .pg-thumb img, .pg-chip, .pg-faq summary::after { transition: none !important; }
}


/* Guide cards: show only 3 lines of the prompt */
.pg-card .pg-prompt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    flex: none;
    white-space: normal;
    max-height: none;
    padding: 12px 14px;
}

/* ============================================================
   Guide jump nav  (Guide layout only: inc/guide-layout.php + assets/js/guide.js)
   Phone  (up to 819px): glass pill with reading-progress ring -> bottom sheet. Hidden on desktop.
   Desktop (820px and up): sticky glass bar with a "Jump to" label + sliding color pill.
============================================================ */
.pgn { margin: 0; }
.pgn-link { text-decoration: none; color: inherit; }
.pgn-ind, .pgn-prog, .pgn-btn, .pgn-bk, .pgn-num, .pgn-chk, .pgn-pct { display: none; }
html.pgn-lock { overflow: hidden; }

/* ---------- phone: glass pill + bottom sheet ---------- */
@media (max-width: 819px) {
  .pgn { position: fixed; inset: 0; z-index: 9990; pointer-events: none; margin: 0; }

  .pgn-bk { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: rgba(7,13,10,.62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .35s; }
  .pgn.is-open .pgn-bk { opacity: 1; pointer-events: auto; }

  .pgn-btn { display: flex; align-items: center; gap: 10px; position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 56px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(25,42,34,.78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 0 1px rgba(47,93,70,.18); color: #fff; font: 500 14px/1.15 var(--font-body, 'DM Sans', system-ui, sans-serif); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; }
  .pgn.is-on .pgn-btn { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .pgn.is-on.is-open .pgn-btn { opacity: 0; transform: scale(.9); pointer-events: none; }
  .pgn-btn:focus-visible { outline: 3px solid #a9c3a4; outline-offset: 3px; }
  .pgn-ring { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; }
  .pgn-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
  .pgn-rgt { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 3; }
  .pgn-rgc { fill: none; stroke: url(#pgn-g); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 106.81; stroke-dashoffset: 106.81; transition: stroke-dashoffset .25s ease-out; }
  .pgn-idx { position: relative; font: 700 13px/1 var(--font-heading, inherit); color: #fff; }
  .pgn-tx { display: flex; flex-direction: column; gap: 2px; }
  .pgn-tx small { font-size: 11px; color: #b9d5c8; }
  .pgn-cur { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
  .pgn-btn > svg { flex: none; color: #2f5d46; }

  .pgn-bar { position: absolute; left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(8px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 2px; max-height: 78vh; max-height: 78dvh; overflow-y: auto; overscroll-behavior: contain; padding: 10px 8px 8px; border-radius: 28px; border: 1px solid rgba(255,255,255,.2); background: rgba(22,35,29,.9); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 -20px 60px rgba(0,0,0,.5); transform: translateY(112%); visibility: hidden; pointer-events: none; transition: transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s .5s; }
  .pgn.is-open .pgn-bar { transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .pgn-bar::before { content: ""; flex: none; align-self: center; width: 38px; height: 4px; margin-bottom: 8px; border-radius: 4px; background: rgba(255,255,255,.28); }

  .pgn-cap { display: flex; justify-content: space-between; align-items: baseline; padding: 0 12px 8px; }
  .pgn-cap-i { display: none; }
  .pgn-cap-t { font: 700 17px/1.2 var(--font-heading, inherit); color: #fff; }
  .pgn-pct { display: block; font-size: 12px; color: #b9d5c8; }

  .pgn-link { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 12px 0 8px; border-radius: 18px; color: #d7e8e0; font-size: 15px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
  .pgn-num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 12px; background: rgba(255,255,255,.09); font-size: 13px; font-weight: 700; }
  .pgn-lbl { flex: 1; }
  .pgn-chk { display: block; flex: none; color: #a9c3a4; opacity: 0; }
  .pgn-link.on { background: rgba(113,182,150,.28); color: #fff; }
  .pgn-link.on .pgn-num { background: linear-gradient(135deg,#2f5d46,#4a7a5c); color: #fff; }
  .pgn-link.on .pgn-chk { opacity: 1; }
  .pgn-link:focus-visible { outline: 3px solid #a9c3a4; outline-offset: -2px; }
  .pgn-dot { display: none; }

  .pg-sec h2, .pg-faq h2, .pg-rel h2, #builder, #guide { scroll-margin-top: 24px; }
}

/* ---------- desktop: sticky glass bar ---------- */
@media (min-width: 820px) {
  .pgn { position: sticky; top: 12px; z-index: 40; display: flex; justify-content: center; margin: 22px 14px 0; pointer-events: none; }
  .pgn-bar { position: relative; display: flex; align-items: center; gap: 2px; max-width: 100%; padding: 6px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; pointer-events: auto; background: rgba(20,31,26,.82); border: 1px solid rgba(36,52,45,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
  .pgn-bar::-webkit-scrollbar { display: none; }

  /* the "Jump to" label: gradient compass chip + text + hairline divider, stays pinned on the left */
  .pgn-cap { position: sticky; left: 0; z-index: 3; flex: none; display: flex; align-items: center; gap: 10px; min-height: 40px; margin-right: 8px; padding: 0 20px 0 4px; border-radius: 999px; background: rgba(20,31,26,.96); }
  .pgn-cap::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 20px; margin-top: -10px; background: rgba(255,255,255,.18); }
  .pgn-cap-i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--pa-g, linear-gradient(135deg,#2f5d46,#4a7a5c 62%,#c4704f)); box-shadow: 0 6px 16px rgba(47,93,70,.38); }
  .pgn-cap-t { font: 700 13.5px/1 var(--font-heading, inherit); letter-spacing: .01em; color: #1f2a22; white-space: nowrap; }

  .pgn-ind { display: block; position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--pa-g, linear-gradient(135deg,#2f5d46,#4a7a5c)); box-shadow: 0 8px 22px rgba(47,93,70,.35); transition: transform .35s cubic-bezier(.4,0,.2,1), width .35s cubic-bezier(.4,0,.2,1); }
  .pgn-prog { display: block; position: absolute; z-index: 2; left: 14px; bottom: 0; height: 2px; width: 0; border-radius: 2px; background: rgba(255,255,255,.55); }
  .pgn-link { position: relative; z-index: 1; flex: none; display: flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; color: #cee0d8; transition: color .2s; }
  .pgn-dot { display: none; }
   .pgn-link.on{ color: #fff; }
@media (hover: hover) and (pointer: fine){.pgn-link:hover{ color: #fff; }}
  .pgn-link:focus-visible { outline: 3px solid #4a7a5c; outline-offset: 2px; }

  .pg-sec h2, .pg-faq h2, .pg-rel h2, #builder, #guide { scroll-margin-top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .pgn-ind, .pgn-bar, .pgn-btn, .pgn-bk, .pgn-rgc, .pgn-link { transition: none !important; }
}

/* ============================================================
   Guide cards: full image + Expert Insight (Aurora)
   ============================================================ */

/* image is always shown whole, never cropped */
.pg-card { min-width: 0; }
.pg-card .pg-thumb { aspect-ratio: auto; }
.pg-card .pg-thumb:not(:has(img)) { aspect-ratio: 2/3; }
.pg-card .pg-thumb img { position: relative; inset: auto; width: 100%; height: auto; object-fit: contain; display: block; }
.pg-card .pg-row { margin-top: auto; }

/* Aurora insight panel (desktop / tablet) */
.pg-ins { position: relative; overflow: hidden; padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.2);
  background: radial-gradient(80% 120% at 0 0, rgba(113,182,150,.55), transparent 60%),
              radial-gradient(70% 110% at 100% 100%, rgba(196,112,79,.4), transparent 60%), #13231c; }
.pg-ins-w { position: absolute; right: -16px; top: -16px; width: 100px; height: 100px; color: rgba(255,255,255,.1); pointer-events: none; }
.pg-ins-l { position: relative; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pg-ins-i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: linear-gradient(135deg, #2f5d46, #4a7a5c); color: #fff; }
.pg-ins p { position: relative; margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: #f9fcfb; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
/* Phone: 2-column grid, short insight */
@media (max-width: 639px) {
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px; }
  .pg-card { padding: 8px; gap: 8px; border-radius: 18px; }
  .pg-card .pg-thumb { border-radius: 12px; }
  .pg-card .pg-num { left: 8px; bottom: 8px; padding: 3px 9px; font-size: 11px; }
  .pg-card .pg-body { padding: 0; gap: 8px; }
  .pg-card .pg-body h3 { font-size: 13.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pg-card .pg-tags, .pg-card .pg-prompt, .pg-card .pg-swap, .pg-card .pg-open { display: none; }
  .pg-ins { padding: 9px 10px; border-radius: 13px; }
  .pg-ins-w { width: 70px; height: 70px; right: -12px; top: -12px; }
  .pg-ins-l { gap: 6px; font-size: 9.5px; }
  .pg-ins-i { width: 20px; height: 20px; border-radius: 7px; }
  .pg-ins p { margin-top: 5px; font-size: 11.5px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .copy-btn.pg-copy { min-height: 36px; padding: 0 10px; font-size: 12.5px; border-radius: 12px; }
}

/* Guide cards: no waiting for the tallest card (Pinterest-style columns) */
.pg-grid { display: block; column-count: 2; column-gap: 10px; }
.pg-grid > .pg-card { display: flex; width: 100%; margin: 0 0 10px; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }
@media (min-width: 640px) {
  .pg-grid { column-gap: 14px; }
  .pg-grid > .pg-card { margin-bottom: 14px; }
}
@media (min-width: 900px) {
  .pg-grid { column-gap: 18px; }
  .pg-grid > .pg-card { margin-bottom: 18px; }
}
@media (min-width: 1100px) {
  .pg-grid { column-count: 3; }
}

/* Title on the image (cut after 2 lines with ...) */
.pg-media { position: relative; }
.pg-media .pg-thumb { display: block; }
.pg-media .pg-num { top: 10px; bottom: auto; left: 10px; }
.pg-ttl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; margin: 0; padding: 40px 14px 12px; font-family: var(--font-heading, inherit); font-size: 17px; line-height: 1.25; font-weight: 700;
  background: linear-gradient(to top, rgba(10,15,13,.94), rgba(10,15,13,.6) 55%, rgba(10,15,13,0)); pointer-events: none; }
.pg-ttl a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; color: #fff !important; pointer-events: auto; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
@media (hover: hover) and (pointer: fine){.pg-ttl a:hover{ color: #c2dfd1 !important; }}

@media (max-width: 639px) {
  .pg-media { border-radius: 12px; overflow: hidden; }
  .pg-media .pg-num { top: 6px; left: 6px; }
  .pg-ttl { padding: 28px 8px 8px; font-size: 12.5px; line-height: 1.2; }
}

/* Tool name on the image (top-right corner) */
.pg-thumb .pg-tool { position: absolute; z-index: 3; top: 10px; right: 10px; padding: 4px 11px; border-radius: 999px; background: rgba(10,15,13,.62); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; color: #fff; }
@media (max-width: 639px) {
  .pg-thumb .pg-tool { top: 6px; right: 6px; padding: 2px 8px; font-size: 10.5px; }
}

/* ============================================================
   Guide: Introduction bar (open / close, light ring)
   ============================================================ */
.pg-intro { margin: 16px 14px 0; }
.pg-intro-sum { position: relative; display: block; overflow: hidden; padding: 1.5px; border-radius: 999px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.pg-intro-sum::-webkit-details-marker { display: none; }
.pg-intro-sum::marker { content: ""; }
.pg-intro-sum::before { content: ""; position: absolute; inset: -200% -20%; background: conic-gradient(from 0deg, transparent 0 55%, #a9c3a4, #4a7a5c, #c4704f, transparent); animation: pgi-spin 6s linear infinite; }
.pg-intro-sum:focus-visible { outline: 3px solid #2f5d46; outline-offset: 3px; }
.pg-intro-in { position: relative; display: flex; align-items: center; gap: 12px; box-sizing: border-box; height: 53px; padding: 0 10px 0 9px; border-radius: 999px; background: #ffffff; }
.pg-intro-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(120deg, #2f5d46, #4a7a5c 62%, #c4704f); }
.pg-intro-lb { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a9c3a4; }
.pg-intro-lb i { width: 7px; height: 7px; border-radius: 50%; background: #c4704f; box-shadow: 0 0 10px #c4704f; animation: pgi-pulse 1.6s ease-in-out infinite; }
.pg-intro h2.pg-intro-q { flex: 1; min-width: 0; margin: 0; padding: 0; font: 600 14.5px/1.3 var(--font-body, inherit); letter-spacing: 0; text-transform: none; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-intro-pm { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); font-size: 22px; line-height: 1; color: #fff; transition: transform .25s; }
.pg-intro-pm::before { content: "+"; }
.pg-intro[open] .pg-intro-pm { transform: rotate(45deg); background: linear-gradient(135deg, #2f5d46, #4a7a5c); border-color: transparent; }
.pg-intro-pn { margin-top: 8px; padding: 18px 22px; border-radius: 22px; background: #15221c; border: 1px solid rgba(36,52,45,.12); animation: pgi-up .5s ease both; }
.pg-intro-pn p { margin: 0 0 10px; font-size: 15px; line-height: 1.7; color: #d7e8e0; }
.pg-intro-pn p:last-of-type { margin-bottom: 0; }
.pg-intro-st { list-style: none; counter-reset: pgs; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pg-intro-st li { counter-increment: pgs; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); font-size: 13.5px; color: #1f2a22; }
.pg-intro-st li::before { content: counter(pgs); display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #2f5d46, #4a7a5c); font: 800 12px var(--font-heading, inherit); color: #fff; }
@keyframes pgi-spin { to { transform: rotate(360deg); } }
@keyframes pgi-pulse { 50% { transform: scale(1.5); opacity: .6; } }
@keyframes pgi-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .pg-intro { margin: 18px 28px 0; } }
@media (max-width: 639px) {
  .pg-intro-sum, .pg-intro-in { border-radius: 18px; }
  .pg-intro-in { height: 49px; }
  .pg-intro-lb { display: none; }
  .pg-intro-pn { padding: 14px 16px; border-radius: 18px; }
  .pg-intro-pn p { font-size: 14px; }
  .pg-intro-st { flex-direction: column; gap: 8px; }
  .pg-intro-st li { border-radius: 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-intro-sum::before, .pg-intro-lb i, .pg-intro-pn { animation: none; }
}

/* Introduction bar: use the theme fonts (Syne for headings, DM Sans for text) */
.pg-intro,
.pg-intro summary,
.pg-intro p,
.pg-intro li,
.pg-intro .pg-intro-lb { font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); }

.pg-intro h2.pg-intro-q { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.pg-intro-st li::before { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); }
.pg-intro-pm { font-family: var(--font-body, 'DM Sans', system-ui, sans-serif); }
/* Guide layout: "Show more" button under each shelf */
.pg-more-wrap { display: flex; justify-content: center; padding: 22px 14px 4px; }
.pg-more { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font-body); font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine){.pg-more:hover{ background: rgba(36,52,45,.10); border-color: rgba(47,93,70,.7); }}
.pg-more:disabled { opacity: .6; cursor: wait; }
.pg-more-n { color: #61776d; font-weight: 600; }

/* ============================================================
   Apple-style motion + materials  (assets/js/pt-motion.js)
   - sheets are driven by JS springs (drag, flick, interrupt), so no CSS animation or transition here
   - translucent glass with a bright top edge, like light catching a real material
   - reduced motion / transparency / contrast are respected
============================================================ */

/* Archive picker sheet */
.pa-sheet {
  animation: none;
  will-change: transform;
  overscroll-behavior: contain;
  background: rgba(20,31,26,.9);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border-top: 1px solid rgba(255,255,255,.3);
  box-shadow: 0 -24px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(36,52,45,.12);
}
.pa-bk { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pa-gr { background: rgba(255,255,255,.34); }

/* Phones: the sheet reaches 90px below the screen, so pulling it up (rubber band) never shows a gap */
@media (max-width: 899px) {
  .pa-sheet {
    margin-bottom: -90px;
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    max-height: calc(82vh + 90px);
  }
}

/* Jump-to sheet (guide pages, phones): JS drives it, so the CSS transitions step aside */
.pgn.pgn-motion .pgn-bar,
.pgn.pgn-motion .pgn-bk { transition: none; }
.pgn-bar { will-change: transform; }

/* Homepage collection arrows: glass instead of a solid disc */
.ptc .ptc-arrow-btn {
  background: rgba(20,31,26,.7);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 8px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(36,52,45,.12);
}
@media (hover: hover) and (pointer: fine){.ptc .ptc-arrow-btn:hover{ background: var(--ptc-accent); }}

/* Collection images are links to their style page: show that they are tappable */
.ptc-item { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* Press feedback uses the independent `scale` property, set by pt-motion.js */
.pt-poster, .ptc-item, .pa-orb, .copy-btn, .pa-chip, .pa-seg a, .pa-tok, .pa-up, .pa-more, .pg-more,
.pgn-btn, .pgn-link, .pt-icon-btn, .pt-burger, .sp-use, .sp-cp, .pbw-chip, .pbw-copy { -webkit-tap-highlight-color: transparent; }

/* Less transparency: solid surfaces, no blur */
@media (prefers-reduced-transparency: reduce) {
  .pt-bar, .pt-nav, .pa-dock, .pa-sheet, .pgn-bar, .pgn-btn, .pt-search, .pa-bk, .pgn-bk,
  .hw-search, .hw-pill, .sp-fl, .sp-gp, .ptc .ptc-arrow-btn {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .pt-bar, .pt-nav, .pa-sheet, .pgn-bar, .pgn-btn, .pa-dock, .ptc .ptc-arrow-btn { background: #ffffff !important; }
  .pa-bk, .pgn-bk, .pt-search { background: rgba(5,10,8,.94) !important; }
}

/* More contrast: clearer edges */
@media (prefers-contrast: more) {
  .pt-bar, .pa-dock, .pa-sheet, .pgn-bar, .pgn-btn, .pa-chip, .pa-seg, .pt-search-form, .ptc .ptc-arrow-btn {
    border-color: rgba(255,255,255,.7) !important;
  }
  .pa-sheet, .pgn-bar { background: #0c1410 !important; }
}


/* LadyPrompts: mobile header fix (v2) */
.pt-bar{min-width:0}
.pt-logo{flex:0 1 auto;min-width:0}
.pt-logo--custom{min-width:0}
.pt-logo--custom img,.pt-logo img{max-width:100%;height:auto}
.pt-word{white-space:nowrap}
.pt-actions{flex:none}

@media (max-width:480px){
  .pt-header{padding:10px 10px 0}
  .pt-bar{height:60px;gap:8px;padding:0 8px 0 10px}
  .pt-mark{width:34px;height:34px;border-radius:11px}
  .pt-word{font-size:20px}
  .pt-logo{gap:8px}
  .pt-logo--custom img{max-height:34px;max-width:46vw}
  .pt-actions{gap:6px}
  .pt-icon-btn,.pt-burger{width:42px;height:42px}
}
@media (max-width:360px){
  .pt-word{font-size:18px}
  .pt-mark{width:30px;height:30px}
  .pt-icon-btn,.pt-burger{width:40px;height:40px}
}

/* ============================================================
   1.4.0: phone fixes
============================================================ */
/* iOS zooms the page when a focused field is under 16px. Touch devices only. */
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
  select,
  textarea { font-size: max(16px, 1em) !important; }
}
/* iPhone landscape: keep content out from under the notch (viewport-fit=cover). */
body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }


/* ===== Style orbs: desktop scrolling (arrows + drag), added by main.js on mouse devices ===== */
.pa-orbs-wrap { position: relative; }
.pa-orbs-arrow {
  display: none; position: absolute; top: 62px; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center;
  border: 1px solid var(--lp-border); border-radius: 50%;
  background: #ffffff; color: #2f5d46; font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.5); transition: background .15s, color .15s;
}
.pa-orbs-arrow:hover { background: var(--lp-purple); color: #fff; }
.pa-orbs-arrow:focus-visible { outline: 3px solid #2f5d46; outline-offset: 2px; }
.pa-orbs-prev { left: 6px; }
.pa-orbs-next { right: 6px; }
@media (hover: hover) and (pointer: fine) {
  .pa-orbs-arrow { display: flex; }
  .pa-orbs-arrow[hidden] { display: none; }
  .pa-orbs { cursor: grab; }
  .pa-orbs.is-dragging { cursor: grabbing; user-select: none; }
  .pa-orbs.is-dragging a { pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .pa-orbs-arrow { transition: none; } }


/* ===== Smooth sideways rows: no snapping while the script glides, grab cursor (mouse devices) ===== */
@media (hover: hover) and (pointer: fine) {
  .ptc .ptc-strip { scroll-snap-type: none !important; cursor: grab; }
  .ptc .ptc-strip.is-dragging { cursor: grabbing; user-select: none; }
  .ptc .ptc-strip.is-dragging a { pointer-events: none; }
}

/* ===== Scroll animation: things ease in as they come into view (classes are added by main.js) ===== */
.pt-rv { opacity: 0; transform: translate3d(0, 16px, 0) scale(.92); }
.pt-rv--row { transform: translate3d(0, 28px, 0); }
.pt-rv.pt-in {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.22,1,.36,1) var(--d, 0ms), transform .7s cubic-bezier(.22,1,.36,1) var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .pt-rv { opacity: 1; transform: none; transition: none; }
}


/* ==========================================================================
   LADYPROMPTS: CATEGORY (GUIDE LAYOUT) & SINGLE PROMPT (EDITORIAL SAGE/CREAM)
   Extracted & Harmonized from LadyPrompts Design Preview
   ========================================================================== */

/* Shared Utility & Buttons */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}
.btn.pri {
  background: var(--forest);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(47,93,70,.28);
}
.btn.pri:hover {
  background: var(--forest-d);
  transform: translateY(-1px);
}
.btn.gh {
  background: var(--paper);
  border-color: var(--sage-line);
  color: var(--forest) !important;
}
.btn.gh:hover {
  border-color: var(--forest);
  transform: translateY(-1px);
}
.sec-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 56px 0 20px;
}
.sec-h h2 {
  font-family: var(--hd);
  font-size: clamp(26px,3.4vw,38px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.sec-h a {
  font-weight: 700;
  font-size: 14px;
  color: var(--forest);
}

/* Breadcrumbs */
.crumbs {
  font-size: 13.5px;
  color: var(--mut);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.crumbs a {
  color: var(--mut);
  text-decoration: none;
  transition: color .15s;
}
.crumbs a:hover {
  color: var(--forest);
}
.crumbs .sep {
  opacity: .4;
}
.crumbs .cur {
  color: var(--ink);
  font-weight: 500;
}

/* Category / Style Guide Hero */
.ghero {
  padding: 44px 34px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--forest-d), var(--forest) 60%, #4a7a5c);
  color: #f6f3ea;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.ghero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169,195,164,.45), transparent);
  pointer-events: none;
}
.ghero .eyebrow {
  color: #cfdcc8;
}
.ghero h1 {
  font-family: var(--hd);
  font-size: clamp(34px, 5vw, 60px);
  margin: 14px 0 12px;
  max-width: 18ch;
  color: #ffffff;
  position: relative;
  z-index: 1;
  line-height: 1.1;
  font-weight: 600;
}
.ghero p {
  max-width: 58ch;
  margin: 0;
  color: #dfe7d6;
  font-size: 17px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}
.gmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 13.5px;
  color: #cfdcc8;
  position: relative;
  z-index: 1;
}
.gmeta b {
  color: #ffffff;
}

/* Category Quick Picks & Testing Boxes */
.gbox {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.box {
  padding: 24px 26px;
  border-radius: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.box h2 {
  font-family: var(--hd);
  font-size: 21px;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 600;
}
.box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--mut);
}
.box li strong {
  color: var(--forest);
}
.box li a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--sage-l);
  text-underline-offset: 3px;
}
.box.sage {
  background: var(--sage-soft);
  border-color: var(--sage-line);
  box-shadow: none;
}

/* Jump Nav */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 72px);
  z-index: 15;
}
.jump a {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--sage-line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(31,42,34,.05);
  transition: all .2s;
  text-decoration: none;
}
.jump a:hover {
  background: var(--forest);
  color: #ffffff;
  border-color: var(--forest);
}

/* Guide Sections & Cards */
.gsec {
  margin-top: 48px;
}
.gsec-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.gsec-h h2 {
  font-family: var(--hd);
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--ink);
  margin: 0;
  font-weight: 600;
}
.gsec-h a {
  font-weight: 700;
  font-size: 14px;
  color: var(--forest);
  text-decoration: none;
}
.gsec > span {
  display: block;
  color: var(--mut);
  margin-bottom: 22px;
  max-width: 64ch;
  font-size: 15px;
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(31,42,34,.06), 0 22px 44px rgba(31,42,34,.14);
}
.card .ph,
.card-media {
  position: relative;
  aspect-ratio: 4/5;
  margin: 10px 10px 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sage-soft);
}
.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.num {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper);
  font: 700 12px var(--bd);
  color: var(--forest);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.tool {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(31,42,34,.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.cbody {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 20px;
  flex: 1;
}
.card h3 {
  font-family: var(--hd);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.card h3 a {
  color: inherit;
  text-decoration: none;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--sage-soft);
  border: 1px solid var(--sage-line);
  font-size: 12px;
  color: var(--forest);
  font-weight: 500;
}
.ptxt {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ptxt::before {
  content: "Prompt";
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}
.ins {
  position: relative;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef1e4, #f4efe0);
  border: 1px solid var(--sage-line);
}
.ins small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 4px;
}
.ins p {
  margin: 0;
  font-size: 14px;
  color: var(--mut);
  line-height: 1.5;
}
.swap {
  margin: 0;
  font-size: 13.5px;
  color: var(--mut);
  line-height: 1.5;
}
.swap b {
  color: var(--forest);
}
.crow {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.crow .btn {
  flex: 1;
  padding: 11px 12px;
  font-size: 14px;
}

/* Prompt Builder */
.builder {
  margin-top: 56px;
  padding: 38px;
  border-radius: 36px;
  background: var(--forest-d);
  color: #e9efdf;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
}
.builder h2 {
  font-family: var(--hd);
  color: #ffffff;
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 10px 0 10px;
  font-weight: 600;
}
.builder p {
  color: #cfdcc8;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.builder .eyebrow {
  color: #a9c3a4;
}
.bf {
  display: grid;
  gap: 14px;
}
.bf label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #cfdcc8;
  display: grid;
  gap: 6px;
}
.bf input,
.bf select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.09);
  color: #ffffff;
  font: inherit;
  outline: none;
}
.bf input:focus,
.bf select:focus {
  border-color: #a9c3a4;
  box-shadow: 0 0 0 3px rgba(169,195,164,.25);
}
.bf .out {
  padding: 18px;
  border-radius: 16px;
  background: rgba(0,0,0,.26);
  font-size: 14.5px;
  line-height: 1.7;
  color: #ffffff;
  user-select: all;
}
.bf .out b {
  color: #a9c3a4;
}
.bf option {
  color: #1f2a22;
  background: #ffffff;
}

/* ==========================================================================
   SINGLE PROMPT DETAIL PAGE
   ========================================================================== */
.lp-sp {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.stage {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 44px;
  align-items: center;
  padding: 34px;
  border-radius: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169,195,164,.5), transparent);
  pointer-events: none;
}
.ba {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(31,42,34,.22), 0 0 0 8px var(--cream), 0 0 0 9px var(--sage-line);
  background: var(--sage-soft);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s;
}
.ba .sp-before {
  opacity: 0;
  z-index: 2;
}
.ba.sb .sp-before {
  opacity: 1;
}
.ba .copies {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  color: var(--forest);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.tg {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(31,42,34,.25);
}
.tg button {
  border: 0;
  padding: 9px 20px;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  color: var(--mut);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.tg button[aria-pressed="true"] {
  background: var(--forest);
  color: #ffffff;
}
.sinfo {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.schips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--mut);
}
.sc {
  padding: 5px 13px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--sage-soft);
  border: 1px solid var(--sage-line);
  color: var(--forest);
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.sc.o {
  background: #f6e6dc;
  border-color: #e6c4b0;
  color: #9a4f32;
}
.sinfo h1 {
  font-family: var(--hd);
  font-size: clamp(30px, 4.2vw, 52px);
  margin: 16px 0 22px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.gp {
  padding: 22px 24px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.gp small {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--sage);
  font-size: 11.5px;
  text-transform: uppercase;
}
.gp small em {
  font-style: normal;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: none;
  color: var(--mut);
}
.gp p,
.gp-code {
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
  line-height: 1.8;
  font-size: 15.5px;
  color: var(--ink);
  scrollbar-width: thin;
  scrollbar-color: var(--sage-l) transparent;
  font-family: inherit;
  white-space: pre-wrap;
  word-break: break-word;
}
.srow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.srow .btn {
  padding: 15px 26px;
  font-size: 16px;
}
.hint {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--mut);
}

/* Below Stage: Insight & Specs */
.below {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
  margin: 24px 0 8px;
  align-items: start;
}
.insight {
  display: flex;
  gap: 16px;
  padding: 26px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--sage-soft), #f4efe0);
  border: 1px solid var(--sage-line);
}
.insight i {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--forest);
  color: #ffffff;
  font-style: normal;
  font-weight: 700;
}
.insight h2 {
  font-family: var(--hd);
  font-size: 21px;
  margin-bottom: 6px;
  color: var(--forest);
  font-weight: 600;
}
.insight p {
  margin: 0;
  color: var(--mut);
  font-size: 15.5px;
  line-height: 1.7;
}
.spec {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.spec div:last-child {
  border: 0;
}
.spec span {
  color: var(--mut);
}
.spec b,
.spec b a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.st {
  padding: 22px 20px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.st b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: #ffffff;
  font: 600 16px var(--hd);
  margin-bottom: 12px;
}
.st h3 {
  font-family: var(--hd);
  font-size: 17px;
  margin: 0 0 4px;
  font-weight: 600;
  color: var(--ink);
}
.st p {
  margin: 0;
  font-size: 14px;
  color: var(--mut);
  line-height: 1.5;
}
.tip {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--sage-soft);
  border: 1px solid var(--sage-line);
  font-size: 14.5px;
  color: var(--ink);
}

/* Related Prompts */
.rel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.rc {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  color: #ffffff;
  transition: transform .3s;
  background: var(--forest-d);
  display: block;
}
.rc:hover {
  transform: translateY(-5px);
}
.rc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(20,32,26,.85), transparent 55%);
}
.rc span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
}
.rc b {
  display: block;
  font: 600 16px/1.25 var(--hd);
  color: #ffffff;
}
.rc em {
  font-style: normal;
  font-size: 12px;
  opacity: .85;
  color: #cfdcc8;
}

/* Mobile Action Bar */
.sp-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 243, 234, .95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--sage-line);
  box-shadow: 0 -8px 24px rgba(31, 42, 34, .08);
}
.sp-bar .btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
}

/* Copy Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 30px);
  opacity: 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--forest-d);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  transition: transform .3s, opacity .3s;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.toast.on {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .stage, .builder {
    grid-template-columns: minmax(0, 1fr);
  }
  .stage {
    padding: 18px;
    gap: 24px;
    border-radius: 30px;
  }
  .gbox, .below {
    grid-template-columns: minmax(0, 1fr);
  }
  .pgrid {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .rel {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .rc {
    flex: 0 0 68%;
  }
  .ghero {
    padding: 30px 22px;
  }
  .builder {
    padding: 24px;
  }
  .sp-bar {
    display: flex;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ============================================================
   LIGHT-THEME FIXES (guide / style pages)
   The older guide rules were written for a dark purple design
   (white and lavender text). These overrides use the sage and
   cream palette so everything is readable on light backgrounds.
============================================================ */
.pa-mu, .pg-meta, .pg-sub, .pg-swap, .pa-sc span { color: var(--mut); }
.pg-meta b { color: var(--ink); }
.pg-meta a { color: var(--forest); }

/* boxes: quick picks / how we tested */
.pg-box ul { color: var(--mut); }
.pg-quick li strong, .pg-swap b { color: var(--forest); }
.pg-quick li a { color: var(--forest); }
.pg-how { border-color: var(--sage-line); background: var(--paper); }
.pg-how[open] { background: var(--paper); border: 1px solid var(--sage-line); box-shadow: var(--shadow); }
.pg-how[open] > summary { border-bottom-color: var(--sage-line); }
.pg-how-badge { background: var(--forest); }
.pg-how-t { color: var(--ink); }
.pg-how-sep { background: var(--sage-line); }
.pg-how-cta { border-color: var(--sage-line); color: var(--forest); }
.pg-how[open] .pg-how-cta { background: var(--sage-soft); }
.pg-how-grid { background: var(--sage-line); }
.pg-how-c { background: var(--paper); color: var(--mut); }
.pg-how-l { color: var(--ink); }

/* chips and links */
.pg-chip, .pg-all, .pg-open { border-color: var(--sage-line); background: var(--paper); color: var(--forest) !important; }
@media (hover: hover) and (pointer: fine){
  .pg-chip:hover, .pg-all:hover, .pg-open:hover { background: var(--sage-soft); border-color: var(--sage); color: var(--forest-d) !important; }
}

/* prompt cards */
.pg-card { background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.pg-card:target { box-shadow: 0 0 0 2px var(--forest), var(--shadow); }
.pg-body h3, .pg-body h3 a { color: var(--ink); }
@media (hover: hover) and (pointer: fine){ .pg-body h3 a:hover { color: var(--forest); } }
.pg-tags li { background: var(--sage-soft); border-color: var(--sage-line); color: var(--forest); }
.pg-prompt { color: var(--ink); }
.copy-btn.pg-copy { background: var(--forest); color: #fff; box-shadow: 0 8px 20px rgba(47,93,70,.25); }

/* #1 / #2 badge: generic .num rule set top AND bottom, which stretched the pill */
.pg-card .pg-num, .pg-media .pg-num, .pg-thumb .pg-num, .pg-num.num {
  top: 12px; bottom: auto; left: 12px; right: auto;
  height: auto; width: auto; min-width: 0;
  display: inline-block; line-height: 1.3;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255,253,248,.94); color: var(--forest);
  border: 1px solid var(--sage-line);
}

/* builder, FAQ, tip, related styles */
.pg-builder input, .pg-builder select, .pg-builder textarea { background: var(--paper); border-color: var(--sage-line); color: var(--ink); }
.pg-tip { background: var(--lp-gradient); box-shadow: 0 16px 40px rgba(47,93,70,.22); }
.pt-style-article-inner th { background: var(--sage-soft); color: var(--ink); }
.pt-style-article-inner .pg-vs > div { background: var(--sage-soft); border-left-color: var(--forest); }
.pg-faq details { background: var(--paper); border-color: var(--sage-line); }
.pg-faq summary { color: var(--ink); }
.pg-rel-grid a { background: var(--paper); border-color: var(--sage-line); color: var(--ink) !important; }
.pg-rel-grid a span { color: var(--mut); }
@media (hover: hover) and (pointer: fine){
  .pg-rel-grid a:hover { background: var(--sage-soft); border-color: var(--sage); }
}

/* intro accordion + load more */
.pg-intro h2.pg-intro-q, .pg-intro-pm { color: var(--ink); }
.pg-intro-pm { border-color: var(--sage-line); }
.pg-intro-st li { background: var(--sage-soft); border-color: var(--sage-line); color: var(--ink); }
.pg-more { border-color: var(--sage-line); background: var(--paper); color: var(--forest); }
@media (hover: hover) and (pointer: fine){ .pg-more:hover { background: var(--sage-soft); border-color: var(--sage); } }
.pg-more-n { color: var(--mut); }

/* fallback menu (used until a menu is assigned in Appearance > Menus) */
.pt-menu .menu-fallback-item a { text-decoration: none; }
.pg-how-c b.pg-how-l, .pg-how-c:nth-child(n) b.pg-how-l { color: var(--clay); }


/* ============================================================
   PREMIUM LAYOUT (style / guide pages)  - v3
   Page sits directly on the cream background (no white panel,
   no pink glow, nothing clipped). One full green hero holds the
   breadcrumb, title and stats. Cards use clean inset images.
============================================================ */
.pa-w { max-width: 1240px; margin: 0 auto; padding: 8px 20px 40px; }
.pa-pg { background: transparent; color: var(--ink); border-radius: 0; overflow: visible; isolation: auto; }
.pa-pg::before, .pa-pg::after { display: none; }
.pa-pg h1, .pa-pg h2, .pa-pg h3 { color: var(--ink); }
.pa-pg .ghero h1 { color: #fff; }

/* ---------- HERO: all green ---------- */
.pa-pg .ghero {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 8px 0 0; padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 64px) clamp(36px, 5vw, 60px);
  border-radius: 32px; color: #e8efe0;
  background:
    radial-gradient(60% 90% at 88% 8%, rgba(169,195,164,.38), transparent 62%),
    radial-gradient(45% 70% at 0% 100%, rgba(196,112,79,.16), transparent 60%),
    linear-gradient(135deg, #1b3a2a 0%, #234634 38%, #2f5d46 78%, #3c7155 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 28px 60px -28px rgba(27,58,42,.6);
}
.pa-pg .ghero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--pa-grain); opacity: .06; mix-blend-mode: soft-light;
}
.pa-pg .ghero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02);
  background: none;
}
.ghero-crumbs { margin: 0 0 clamp(28px, 4vw, 48px); }
.ghero-crumbs .pt-breadcrumb { margin: 0; font-size: 13px; }
.ghero-crumbs .pt-breadcrumb-list { gap: 8px; }
.ghero-crumbs .pt-breadcrumb-item { gap: 8px; }
.ghero-crumbs .pt-breadcrumb-item::after { color: rgba(255,255,255,.38); }
.ghero-crumbs .pt-breadcrumb-link { color: rgba(255,255,255,.78); font-weight: 500; }
@media (hover: hover) and (pointer: fine){ .ghero-crumbs .pt-breadcrumb-link:hover { color: #fff; } }
.ghero-crumbs .pt-breadcrumb-current, .ghero-crumbs .pt-breadcrumb-item span { color: #fff; font-weight: 600; }

.pa-pg .ghero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px;
  border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #dbe6d3; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ghero .eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 3px rgba(196,112,79,.25); }
.pa-pg .ghero h1 {
  font-family: var(--hd); font-weight: 500; letter-spacing: -.02em; line-height: 1.04;
  font-size: clamp(40px, 6.2vw, 76px); margin: 22px 0 16px; max-width: 16ch;
}
.pa-pg .ghero .ghero-desc { max-width: 56ch; margin: 0; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; color: #d3dfca; }
.pa-pg .ghero .gmeta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; font-size: 13.5px; color: #cfdcc8; }
.pa-pg .ghero .gmeta span {
  padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pa-pg .ghero .gmeta b { color: #fff; font-weight: 700; }

/* ---------- meta line + info boxes ---------- */
.pa-pg .pg-meta { justify-content: flex-start; gap: 6px 26px; padding: 22px 4px 0; font-size: 13px; color: var(--mut); }
.pa-pg .pg-meta b { color: var(--ink); }
.pa-pg .gbox { margin-top: 22px !important; gap: 20px !important; }
.pa-pg .gbox .box {
  position: relative; padding: 26px 30px 28px; border-radius: 24px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pa-pg .gbox .box.sage { background: linear-gradient(150deg, #f0f3e6, #e6ecd9); border-color: var(--sage-line); }
.pa-pg .gbox .box h2 { font-family: var(--hd); font-size: 22px; font-weight: 600; margin: 0 0 14px; color: var(--ink); }
.pa-pg .gbox .box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pa-pg .gbox .box li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: var(--mut); }
.pa-pg .gbox .box li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/9px no-repeat;
}
.pa-pg .gbox .box li strong { color: var(--ink); }
.pa-pg .gbox .box li a { color: var(--forest); }

/* jump nav */
.pa-pg .jump { margin-top: 26px !important; }
.pa-pg .jump a {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sage-line); background: var(--paper);
  color: var(--forest); font-size: 13.5px; font-weight: 600; transition: background .2s, border-color .2s, transform .2s;
}
@media (hover: hover) and (pointer: fine){ .pa-pg .jump a:hover { background: var(--forest); border-color: var(--forest); color: #fff; transform: translateY(-1px); } }

/* ---------- section headings: align with the container ---------- */
.pa-pg .pg-sec .pa-sc, .pa-pg .pg .pa-sc { padding: 56px 4px 22px; align-items: flex-end; }
.pa-pg .pg .pa-sc h2 { font-family: var(--hd); font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.015em; color: var(--ink); }
.pa-pg .pg .pa-sc span, .pa-pg .pg .pa-sc p { color: var(--mut); font-size: 14px; }

/* ---------- prompt cards ---------- */
.pa-pg .pg .pg-grid { padding: 0; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .pa-pg .pg .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pa-pg .pg .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pa-pg .pg-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; min-width: 0;
  border-radius: 28px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(31,42,34,.05), 0 14px 34px -12px rgba(31,42,34,.14);
  transition: transform .35s var(--lp-ease-out), box-shadow .35s var(--lp-ease-out);
}
@media (hover: hover) and (pointer: fine){
  .pa-pg .pg-card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(31,42,34,.06), 0 28px 54px -14px rgba(31,42,34,.24); }
}
/* image: fixed 4:5 frame, inset, fully contained (no overflow to the right) */
.pa-pg .pg-card .card-thumb {
  position: relative; display: block; width: auto; height: auto; max-width: 100%;
  aspect-ratio: 4 / 5; margin: 10px 10px 0; border-radius: 20px; overflow: hidden;
  background: var(--sage-soft);
}
.pa-pg .pg-card .card-thumb .pg-thumb-link { position: absolute; inset: 0; display: block; }
.pa-pg .pg-card .card-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center top; display: block;
  transition: transform .7s var(--lp-ease-out);
}
@media (hover: hover) and (pointer: fine){ .pa-pg .pg-card:hover .card-thumb img { transform: scale(1.04); } }
.pa-pg .pg-card .card-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(20,32,26,.18) 0%, transparent 28%, transparent 70%, rgba(20,32,26,.16) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.pa-pg .pg-card .pg-num, .pa-pg .pg-card .pg-tool {
  position: absolute; z-index: 3; bottom: auto; height: auto; width: auto; min-width: 0; margin: 0;
  display: inline-flex; align-items: center; line-height: 1; padding: 8px 13px; border-radius: 999px;
  font: 700 12px/1 var(--bd); letter-spacing: .02em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pa-pg .pg-card .pg-num { top: 14px; left: 14px; right: auto; background: rgba(255,253,248,.92); color: var(--forest); border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.pa-pg .pg-card .pg-tool { top: 14px; right: 14px; left: auto; background: rgba(20,32,26,.62); color: #fff; border: 1px solid rgba(255,255,255,.18); font-weight: 600; }

.pa-pg .pg-card .pg-body { gap: 14px; padding: 22px 24px 24px; }
.pa-pg .pg-card .pg-body h3 { font-family: var(--hd); font-size: clamp(20px, 1.7vw, 23px); font-weight: 600; line-height: 1.22; letter-spacing: -.01em; color: var(--ink); }
.pa-pg .pg-card .pg-body h3 a { color: inherit; }
.pa-pg .pg-card .pg-tags li { padding: 5px 12px; font-size: 12px; font-weight: 600; background: var(--sage-soft); border: 1px solid var(--sage-line); color: var(--forest); }
.pa-pg .pg-card .pg-prompt {
  padding: 16px 18px; border-radius: 18px; background: var(--cream); border: 1px solid var(--sage-line);
  font-size: 14px; line-height: 1.65; color: #34423a; user-select: all;
  -webkit-line-clamp: 3; line-clamp: 3;
}
.pa-pg .pg-card .pg-prompt::before { color: var(--sage); }
.pa-pg .pg-card .pg-ins { background: linear-gradient(135deg, #eef1e4, #f5f0e1); border: 1px solid var(--sage-line); }
.pa-pg .pg-card .pg-ins small { color: var(--clay); }
.pa-pg .pg-card .pg-ins p { color: var(--mut); font-size: 13.5px; }
.pa-pg .pg-card .pg-row { margin-top: auto; padding-top: 4px; display: flex; gap: 10px; align-items: stretch; }
.pa-pg .pg-card .pg-copy {
  flex: 1; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-d) 100%); color: #fff;
  font: 700 14.5px var(--bd); box-shadow: 0 10px 22px -8px rgba(35,70,52,.55);
  transition: transform .2s var(--lp-ease-out), box-shadow .2s var(--lp-ease-out), filter .2s;
}
@media (hover: hover) and (pointer: fine){ .pa-pg .pg-card .pg-copy:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 26px -8px rgba(35,70,52,.6); } }
.pa-pg .pg-card .pg-copy:active { transform: scale(.97); }
.pa-pg .pg-card .pg-open {
  flex: none; min-height: 48px; padding: 0 18px; border-radius: 999px; background: transparent;
  border: 1.5px solid var(--sage-line); color: var(--forest) !important; font: 700 13.5px var(--bd);
}
@media (hover: hover) and (pointer: fine){ .pa-pg .pg-card .pg-open:hover { background: var(--sage-soft); border-color: var(--sage); } }

/* ---------- intro accordion ---------- */
.pa-pg .pg-intro-sum::before { background: conic-gradient(from 0deg, transparent 0 55%, var(--sage-l), var(--forest), var(--clay), transparent); }
.pa-pg .pg-intro-in { background: var(--paper); }
.pa-pg .pg-intro-ic { background: var(--forest); }
.pa-pg .pg-intro-lb { color: var(--forest); }
.pa-pg .pg-intro-lb i { background: var(--clay); box-shadow: 0 0 10px var(--clay); }
.pa-pg .pg-intro[open] .pg-intro-pm { background: var(--forest); color: #fff; }
.pa-pg .pg-intro-pn { background: var(--paper); border-color: var(--sage-line); box-shadow: var(--shadow); }
.pa-pg .pg-intro-pn p { color: var(--mut); }
.pa-pg .pg-intro-st li::before { background: var(--forest); }
@media (min-width: 900px) { .pa-pg .pg-intro { margin: 22px 0 0; } }

/* ---------- boxes / FAQ / related: align to container ---------- */
.pa-pg .pg .pg-how, .pa-pg .pg .pg-box, .pa-pg .pg .pg-tip { margin-left: 0; margin-right: 0; }
.pa-pg .pg .pg-faq-list { padding: 0; }
.pa-pg .pg .pg-faq details { border-radius: 20px; box-shadow: 0 1px 2px rgba(31,42,34,.04); }
.pa-pg .pg .pg-rel-grid { padding: 0; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pa-pg .pg .pg-rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pa-pg .pg .pg-rel-grid a {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 92px; padding: 20px 22px;
  border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(31,42,34,.04);
  font-family: var(--hd); font-weight: 600; font-size: 18px; color: var(--ink) !important;
  transition: transform .3s var(--lp-ease-out), box-shadow .3s var(--lp-ease-out), border-color .2s;
}
.pa-pg .pg .pg-rel-grid a span { font-family: var(--bd); font-weight: 500; font-size: 13px; color: var(--sage); margin: 0; }
@media (hover: hover) and (pointer: fine){
  .pa-pg .pg .pg-rel-grid a:hover { transform: translateY(-3px); border-color: var(--sage-l); background: var(--paper); box-shadow: var(--shadow); }
}

@media (max-width: 639px) {
  .pa-w { padding: 4px 12px 32px; }
  .pa-pg .ghero { border-radius: 26px; }
  .pa-pg .gbox .box { padding: 22px 22px 24px; }
  .pa-pg .pg-card .pg-row { flex-direction: column; }
  .pa-pg .pg-card .pg-open { width: 100%; }
}

/* ---------- v3 corrections ---------- */
/* real CSS grid (the old rules used newspaper columns), one clean column on phones */
.pa-pg .pg .pg-grid { display: grid; column-count: auto; column-gap: 26px; row-gap: 26px; align-items: stretch; }
.pa-pg .pg .pg-grid > .pg-card { margin: 0; width: auto; break-inside: auto; padding: 0; gap: 0; }
/* the old phone layout hid the prompt, tags and the "Use in" button; show everything */
@media (max-width: 639px) {
  .pa-pg .pg .pg-grid { grid-template-columns: 1fr; gap: 20px; padding: 0; }
  .pa-pg .pg-card { padding: 0; border-radius: 26px; }
  .pa-pg .pg-card .card-thumb { border-radius: 18px; }
  .pa-pg .pg-card .pg-body { padding: 20px 20px 22px; gap: 14px; }
  .pa-pg .pg-card .pg-body h3 { font-size: 21px; line-height: 1.22; white-space: normal; overflow: visible; text-overflow: clip; }
  .pa-pg .pg-card .pg-tags { display: flex; }
  .pa-pg .pg-card .pg-prompt { display: -webkit-box; }
  .pa-pg .pg-card .pg-swap { display: block; }
  .pa-pg .pg-card .pg-open { display: inline-flex; }
  .pa-pg .pg-card .pg-copy { min-height: 48px; font-size: 14.5px; border-radius: 999px; padding: 0 18px; }
  .pa-pg .pg-card .pg-num { padding: 8px 13px; font-size: 12px; left: 14px; bottom: auto; }
}
/* prompt box: the "PROMPT" label counts as a line, so allow 4 */
.pa-pg .pg-card .pg-prompt { -webkit-line-clamp: 4; line-clamp: 4; }
/* single dot in the hero tag (old rule added a second one) */
.pa-pg .ghero .eyebrow::before { display: none; }
/* no sliver of the next line under the clamped prompt: use a transparent border as the bottom padding */
.pa-pg .pg-card .pg-prompt { padding-bottom: 0; border: 0; border-bottom: 16px solid transparent; box-shadow: 0 0 0 1px var(--sage-line); }


/* ============================================================
   v4: compact cards with title on the photo, hero photo collage,
   style orbs on guide pages (light-theme colours)
============================================================ */

/* ---------- cards: title on the image, shorter body ---------- */
.pa-pg .pg-card .card-thumb { margin: 8px 8px 0; border-radius: 22px; }
.pa-pg .pg-card .card-thumb::after {
  background: linear-gradient(180deg, rgba(14,28,20,.22) 0%, transparent 24%);
}
.pa-pg .pg-card .pg-ov {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 72px 18px 16px; pointer-events: none;
  background: linear-gradient(to top, rgba(12,26,18,.92) 0%, rgba(12,26,18,.62) 45%, rgba(12,26,18,0) 100%);
  font-family: var(--hd); font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -.005em;
}
.pa-pg .pg-card .pg-ov a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  color: #fff !important; pointer-events: auto; text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.pa-pg .pg-card .pg-body { padding: 14px 16px 16px; gap: 10px; }
.pa-pg .pg-card .pg-prompt { padding: 12px 14px 0; border-bottom-width: 12px; font-size: 13.5px; line-height: 1.6; -webkit-line-clamp: 3; line-clamp: 3; }
.pa-pg .pg-card .pg-prompt::before { display: none; }
.pa-pg .pg-card .pg-ins { padding: 10px 14px 11px; border-radius: 14px; }
.pa-pg .pg-card .pg-ins small { font-size: 10.5px; margin-bottom: 2px; }
.pa-pg .pg-card .pg-ins p { font-size: 13px; line-height: 1.5; -webkit-line-clamp: 2; line-clamp: 2; }
.pa-pg .pg-card .pg-row { padding-top: 2px; gap: 8px; }
.pa-pg .pg-card .pg-copy, .pa-pg .pg-card .pg-open { min-height: 44px; }
.pa-pg .pg .pg-grid { gap: 22px; }
@media (max-width: 639px) {
  .pa-pg .pg-card .pg-body { padding: 14px 16px 16px; gap: 10px; }
  .pa-pg .pg-card .pg-body h3 { font-size: inherit; }
  .pa-pg .pg-card .pg-ov { font-size: 20px; }
  .pa-pg .pg-card .pg-row { flex-direction: row; }
  .pa-pg .pg-card .pg-open { width: auto; }
  .pa-pg .pg-card .pg-copy { min-height: 44px; }
}

/* ---------- hero: latest photos collage ---------- */
.pa-pg .ghero { --tile: clamp(104px, 11.5vw, 156px); }
.ghero-collage {
  position: absolute; z-index: 1; right: clamp(24px, 4.5vw, 64px); top: 50%;
  transform: translateY(-50%);
  display: grid; grid-template-columns: repeat(3, var(--tile)); gap: 14px; align-items: start;
}
.ghero-tile {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 36px -14px rgba(5,20,12,.6);
  transition: transform .45s var(--lp-ease-out), box-shadow .45s var(--lp-ease-out);
}
.ghero-tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; display: block; }
.ghero-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
/* staggered, slightly tilted */
.ghero-tile:nth-child(3n+2) { transform: translateY(26px) rotate(1.6deg); }
.ghero-tile:nth-child(3n+1) { transform: translateY(-4px) rotate(-2deg); }
.ghero-tile:nth-child(3n)   { transform: translateY(10px) rotate(2.2deg); }
.ghero-tile:nth-child(n+4)  { margin-top: 4px; }
@media (hover: hover) and (pointer: fine){
  .ghero-tile:hover { transform: translateY(-8px) rotate(0) scale(1.04); z-index: 2; box-shadow: 0 26px 44px -14px rgba(5,20,12,.7); }
}
/* text never runs under the collage */
@media (min-width: 900px) { .pa-pg .ghero.has-collage h1, .pa-pg .ghero.has-collage .ghero-desc { max-width: 46%; } }
/* tablet/phone: swipeable strip under the stats */
@media (max-width: 899px) {
  .ghero-collage {
    position: static; transform: none; display: flex; gap: 10px; margin: 28px -4px 0; padding: 6px 4px 10px;
    overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .ghero-collage::-webkit-scrollbar { display: none; }
  .ghero-tile, .ghero-tile:nth-child(n) { flex: none; width: 104px; margin: 0; transform: none; scroll-snap-align: start; border-radius: 16px; }
}

/* ---------- style orbs (light theme) ---------- */
.pa-pg .pa-orbs { padding: 26px 4px 6px; gap: 6px; }
.pa-pg .pa-orb { color: var(--mut) !important; }
.pa-pg .pa-orb span { color: var(--mut); font-weight: 600; font-size: 12.5px; }
.pa-pg .pa-orb i {
  background: linear-gradient(135deg, var(--c1, #a9c3a4), var(--c3, #5b8a68) 55%, var(--c2, #2f5d46)) padding-box, var(--sage-line) border-box;
  border: 3px solid transparent;
}
.pa-pg .pa-orb i::after { box-shadow: inset 0 0 0 1px rgba(31,42,34,.1), inset 0 -14px 18px rgba(12,26,18,.22); }
.pa-pg .pa-orb[aria-current="true"] i {
  background: linear-gradient(135deg, var(--c1, #a9c3a4), var(--c3, #5b8a68) 55%, var(--c2, #2f5d46)) padding-box, linear-gradient(135deg, var(--forest), var(--clay)) border-box;
  box-shadow: 0 0 0 4px rgba(47,93,70,.16);
}
.pa-pg .pa-orb[aria-current="true"] span, .pa-pg .pa-orb:hover span { color: var(--forest); font-weight: 700; }
@media (hover: hover) and (pointer: fine){ .pa-pg .pa-orb:hover span { color: var(--forest); } }
.pa-pg .pa-orb.all i, .pa-pg .pa-orb.all[aria-current="true"] i {
  background: var(--forest) padding-box, linear-gradient(135deg, var(--forest), var(--sage-l)) border-box;
}
.pa-pg .pa-orb.all i::before { background: #fff; }
.pa-orbs-arrow { background: var(--paper); color: var(--forest); border-color: var(--sage-line); box-shadow: 0 8px 20px rgba(31,42,34,.16); }
.pa-orbs-arrow:hover { background: var(--forest); color: #fff; }
.pa-orbs-arrow:focus-visible { outline-color: var(--forest); }
.pa-pg .pa-orbs { margin-top: 6px; }
/* collage sizing: always fits inside the hero */
.pa-pg .ghero { --tile: clamp(92px, 9vw, 128px); }
.pa-pg .ghero.has-collage { min-height: 400px; }
.ghero-collage { gap: 12px; right: clamp(28px, 5vw, 72px); }
.ghero-tile { border-radius: 18px; }
@media (max-width: 899px) { .pa-pg .ghero.has-collage { min-height: 0; } }


/* ============================================================
   v5: byline (E-E-A-T), About this guide, image cards for
   "More prompt styles", copy feedback, toast
============================================================ */

/* ---------- byline card ---------- */
.pa-pg .pg-by {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  margin-top: 18px; padding: 16px 20px; border-radius: 22px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(31,42,34,.04);
}
.pg-by-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pg-av {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--forest), var(--forest-d)); color: #fff;
  font: 600 20px/1 var(--hd); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--sage-line);
}
.pg-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-av--lg { width: 64px; height: 64px; font-size: 28px; }
.pg-by-t p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--mut); }
.pg-by-t b { color: var(--ink); font-weight: 700; }
.pg-by-t a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine){ .pg-by-t a:hover b { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; } }
.pg-by-role { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--sage-line); color: var(--mut); }
.pg-by-r { display: flex; align-items: center; gap: 6px; margin-top: 3px !important; color: var(--forest) !important; }
.pg-by-r svg { flex: none; }
.pg-by-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-by-facts li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: var(--sage-soft); border: 1px solid var(--sage-line); font-size: 12.5px; font-weight: 600; color: var(--forest-d);
}
.pg-by-facts li.is-ok { background: var(--forest); border-color: var(--forest); color: #fff; }

/* ---------- orbs sit under the boxes ---------- */
.pa-pg .pg .pa-orbs { margin-top: 18px; padding: 20px 0 4px; }

/* ---------- More prompt styles: photo cards ---------- */
.pa-pg .pg .pg-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .pa-pg .pg .pg-rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.pa-pg .pg .pg-rel-grid a.pg-rc {
  position: relative; display: block; overflow: hidden; isolation: isolate; padding: 0; min-height: 0;
  aspect-ratio: 5 / 4; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--forest-d), var(--forest));
  box-shadow: 0 1px 2px rgba(31,42,34,.06), 0 14px 30px -14px rgba(31,42,34,.35);
  color: #fff !important; transition: transform .35s var(--lp-ease-out), box-shadow .35s var(--lp-ease-out);
}
.pg-rc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 22%; transition: transform .7s var(--lp-ease-out); }
.pg-rc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12,26,18,.9) 0%, rgba(12,26,18,.45) 42%, rgba(12,26,18,.05) 75%); }
.pg-rc-t { position: absolute; left: 18px; right: 64px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.pg-rc-t b { font: 600 clamp(17px, 1.6vw, 21px)/1.2 var(--hd); color: #fff; letter-spacing: -.005em; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.pg-rc-t small { font: 500 12.5px var(--bd); color: rgba(255,255,255,.78); }
.pg-rc-go {
  position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,253,248,.94); color: var(--forest); font-size: 17px; line-height: 1;
  transition: transform .3s var(--lp-ease-out), background .2s, color .2s;
}
@media (hover: hover) and (pointer: fine){
  .pa-pg .pg .pg-rel-grid a.pg-rc:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(31,42,34,.08), 0 26px 44px -16px rgba(31,42,34,.45); }
  .pg-rc:hover img { transform: scale(1.06); }
  .pg-rc:hover .pg-rc-go { background: var(--forest); color: #fff; transform: translateX(3px); }
}
.pg-rc.no-img::before { background: radial-gradient(60% 80% at 90% 0%, rgba(169,195,164,.35), transparent 60%); }

/* ---------- About this guide ---------- */
.pa-pg .pg .pg-about { margin-top: 8px; }
.pg-about-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .pg-about-grid { grid-template-columns: 1.15fr 1fr; } }
.pg-about-a, .pg-about-s {
  padding: 26px 28px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pg-about-a { display: flex; gap: 18px; align-items: flex-start; }
.pg-about-a p { margin: 0 0 6px; }
.pg-about-n { font: 600 21px/1.2 var(--hd); color: var(--ink); }
.pg-about-n a { color: inherit; text-decoration: none; }
.pg-about-r { font-size: 13.5px; font-weight: 600; color: var(--forest); }
.pg-about-b { font-size: 14.5px; line-height: 1.65; color: var(--mut); margin-top: 8px !important; }
.pg-about-rv, .pg-about-d { font-size: 13px; color: var(--mut); }
.pg-about-s { background: linear-gradient(150deg, #f0f3e6, #e6ecd9); border-color: var(--sage-line); }
.pg-about-s h3 { font: 600 19px var(--hd); margin: 0 0 12px; color: var(--ink); }
.pg-about-s ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.pg-about-s li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.55; color: var(--mut); }
.pg-about-s li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/9px no-repeat;
}
.pg-about-c { margin: 0; font-size: 14px; color: var(--mut); }
.pg-about-c a { color: var(--forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pg-src { margin-top: 18px; padding: 22px 28px; border-radius: 22px; border: 1px dashed var(--sage-l); background: transparent; }
.pg-src h3 { font: 600 17px var(--hd); margin: 0 0 10px; color: var(--ink); }
.pg-src ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--mut); }
.pg-src a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 639px) { .pg-about-a, .pg-about-s { padding: 22px; } .pg-about-a { flex-direction: column; } }

/* ---------- copy button feedback ---------- */
.pa-pg .pg-card .pg-copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pa-pg .pg-card .pg-copy.is-copied {
  background: linear-gradient(135deg, #2f8f5b, #3aa56d); color: #fff; transform: scale(1.02);
  box-shadow: 0 0 0 4px rgba(58,165,109,.22), 0 12px 24px -8px rgba(47,143,91,.6);
  animation: pg-pop .35s var(--lp-ease-out);
}
@keyframes pg-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.05); } 100% { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .pa-pg .pg-card .pg-copy.is-copied { animation: none; } }
.pt-toast {
  background: rgba(27,58,42,.96); color: #fff; border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 12px 20px; font: 600 14px var(--bd);
  box-shadow: 0 18px 40px -12px rgba(12,26,18,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pt-toast .pt-toast-check { color: #8fe0b0; }
/* related cards: beat the older ".pg-rel-grid a span" rules */
.pa-pg .pg .pg-rel-grid a.pg-rc .pg-rc-t { position: absolute; left: 18px; right: 64px; bottom: 16px; margin: 0; display: flex; flex-direction: column; gap: 2px; font-family: var(--bd); }
.pa-pg .pg .pg-rel-grid a.pg-rc .pg-rc-t b { display: block; font: 600 clamp(17px, 1.6vw, 21px)/1.2 var(--hd); color: #fff; }
.pa-pg .pg .pg-rel-grid a.pg-rc .pg-rc-t small { display: block; font: 500 12.5px var(--bd); color: rgba(255,255,255,.8); }
.pa-pg .pg .pg-rel-grid a.pg-rc .pg-rc-go { position: absolute; right: 14px; bottom: 14px; margin: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,253,248,.94); color: var(--forest); font: 400 18px/1 var(--bd); }
@media (hover: hover) and (pointer: fine){ .pa-pg .pg .pg-rel-grid a.pg-rc:hover .pg-rc-go { background: var(--forest); color: #fff; } }


/* ============================================================
   v6: no pink or purple anywhere, premium tip + article blocks,
   floating chips fixed, two prompts per row on phones
============================================================ */

/* chips under the boxes: normal flow, never floating over the cards */
.pa-pg .jump { position: static; top: auto; }

/* "Best first try" tip */
.pa-pg .pg .pg-tip {
  position: relative; overflow: hidden; isolation: isolate; margin: 22px 0 0; padding: 28px 32px 30px; border-radius: 28px;
  background: radial-gradient(60% 120% at 100% 0%, rgba(169,195,164,.28), transparent 60%), linear-gradient(135deg, #1b3a2a 0%, #2f5d46 100%);
  color: #e3ecdc; box-shadow: 0 24px 50px -24px rgba(27,58,42,.65);
}
.pa-pg .pg .pg-tip::after { content: "✦"; position: absolute; right: 26px; top: 18px; z-index: -1; font-size: 64px; line-height: 1; color: rgba(255,255,255,.08); }
.pa-pg .pg .pg-tip h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; font: 600 clamp(20px, 2.2vw, 24px)/1.2 var(--hd); color: #fff; }
.pa-pg .pg .pg-tip h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(196,112,79,.28); }
.pa-pg .pg .pg-tip p { margin: 0; max-width: 78ch; font-size: 15.5px; line-height: 1.75; color: #d3dfca; }

/* intro / tips & fixes article: one clean card, two columns on desktop */
.pa-pg .pg .pg-article { margin: 22px 0 0; }
.pa-pg .pg .pt-style-article-inner {
  max-width: none; margin: 0; padding: clamp(26px, 4vw, 46px) clamp(22px, 4.5vw, 56px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow);
}
.pa-pg .pg .pt-style-article-inner h2 { margin: 28px 0 10px; font: 500 clamp(22px, 2.4vw, 28px)/1.25 var(--hd); letter-spacing: -.01em; color: var(--ink); break-after: avoid; }
.pa-pg .pg .pt-style-article-inner h2:first-child { margin-top: 0; }
.pa-pg .pg .pt-style-article-inner h3 { margin: 22px 0 8px; font: 600 19px/1.3 var(--hd); color: var(--ink); break-after: avoid; }
.pa-pg .pg .pt-style-article-inner p { margin: 0 0 14px; font-size: 16px; line-height: 1.8; color: #3d4a41; }
.pa-pg .pg .pt-style-article-inner a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1000px) { .pa-pg .pg .pt-style-article-inner { column-count: 2; column-gap: 64px; column-rule: 1px solid var(--line); } .pa-pg .pg .pt-style-article-inner > * { break-inside: avoid-column; } }

/* floating "jump" navigator (phone pill + sheet, desktop bar): deep green, light text */
.pgn-cap-t { color: #fff; }

/* ---------- PHONES: two prompts per row, four on one screen ---------- */
@media (max-width: 639px) {
  .pa-pg .pg .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pa-pg .pg-card { border-radius: 20px; }
  .pa-pg .pg-card .card-thumb { margin: 6px 6px 0; border-radius: 15px; aspect-ratio: 3 / 4; }
  .pa-pg .pg-card .pg-ov { padding: 44px 10px 10px; font-size: 14px; line-height: 1.22; }
  .pa-pg .pg-card .pg-ov a { -webkit-line-clamp: 2; line-clamp: 2; }
  .pa-pg .pg-card .pg-tool { top: 8px; right: 8px; padding: 5px 9px; font-size: 10px; }
  .pa-pg .pg-card .pg-body { padding: 8px 6px 8px; gap: 0; }
  /* the full prompt is still copied by the button; the text itself is hidden to keep cards compact */
  .pa-pg .pg-card .pg-prompt, .pa-pg .pg-card .pg-ins, .pa-pg .pg-card .pg-swap, .pa-pg .pg-card .pg-tags { display: none; }
  .pa-pg .pg-card .pg-row { flex-direction: row; gap: 6px; padding: 0; }
  .pa-pg .pg-card .pg-copy { min-height: 42px; padding: 0 8px; font-size: 13.5px; border-radius: 14px; }
  .pa-pg .pg-card .pg-open { position: relative; flex: none; width: 42px; min-height: 42px; padding: 0; border-radius: 14px; font-size: 0; }
  .pa-pg .pg-card .pg-open::before { content: "↗"; font-size: 17px; line-height: 1; color: var(--forest); }
  .pa-pg .pg-card .pg-open { display: inline-flex; align-items: center; justify-content: center; }
  .pa-pg .pg .pa-sc { padding: 36px 2px 16px; }
  .pa-pg .pg-card .pg-copy.is-copied { transform: none; }
  .pa-pg .pg .pt-style-article-inner { border-radius: 24px; }
  .pa-pg .pg .pg-tip { padding: 22px 22px 24px; border-radius: 24px; }
}
@media (max-width: 639px) {
  .pg-by-role { display: block; margin: 0; padding: 0; border: 0; }
  .pg-by-r { align-items: flex-start; }
  .pa-pg .pg-by { padding: 14px 16px; gap: 12px; }
}
.pa-pg .pg .pt-style-article.pg-article { max-width: none; width: 100%; margin: 22px 0 0; padding: 0; background: none; border: 0; box-shadow: none; }


/* ============================================================
   v7: readable text on every light surface, "How we tested"
   rebuilt (no overflow), prompt + insight visible on phones,
   centred hero with the photos behind the title
============================================================ */

/* ---------- How we tested (light, wraps, never wider than the page) ---------- */
.pa-pg .pg .pg-how {
  margin: 18px 0 0; max-width: 100%; overflow: hidden; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--sage-line); box-shadow: var(--shadow); color: var(--ink);
}
.pa-pg .pg .pg-how[open] { border-radius: 28px; border-color: var(--sage-line); background: var(--paper); box-shadow: var(--shadow); }
.pg-how > summary { min-width: 0; color: var(--ink); }
.pg-how > summary > * { min-width: 0; }
.pg-how[open] > summary { border-bottom: 1px solid var(--sage-line); }
.pg-how-badge { background: var(--forest); color: #fff; }
.pg-how-t { color: var(--ink); font-family: var(--hd); font-weight: 600; }
.pg-how-t.is-open { font-weight: 600; }
.pg-how-sep { background: var(--sage-line); }
.pg-how-chips { color: var(--forest-d); min-width: 0; flex-wrap: wrap; }
.pg-how-chips li { background: var(--sage-soft); border: 1px solid var(--sage-line); color: var(--forest-d); white-space: normal; }
.pg-how-cta { border: 1px solid var(--sage-line); color: var(--forest); background: transparent; }
.pg-how[open] .pg-how-cta { background: var(--sage-soft); }
@media (hover: hover) and (pointer: fine){ .pg-how > summary:hover .pg-how-cta { background: var(--sage-soft); } }
.pg-how-grid { background: var(--sage-line); }
.pg-how-c { background: var(--paper); }
.pg-how-c b.pg-how-l, .pg-how-c:nth-child(n) b.pg-how-l { color: var(--clay); }
.pg-how-c p { color: #3d4a41; }
@media (max-width: 639px) {
  .pa-pg .pg .pg-how:not([open]) { border-radius: 26px; }
  .pg-how-chips li { font-size: 12.5px; padding: 4px 10px; }
  .pg-how-c { padding: 18px 18px 20px; }
}

/* ---------- other text that was still pale on light cards ---------- */
.pg-faq details p { color: #3d4a41; font-size: 15px; }
.pg-faq summary { color: var(--ink); }
.pg-faq summary::after { border-color: var(--forest); }
.pg-intro-pn p { color: #3d4a41; }
.pg-intro-st li { color: var(--ink); }
.pg-box ul, .pg-box li { color: var(--mut); }
.pg-builder label { color: var(--ink); }
.pa-pg .pg-ins p, .pa-pg .pg-card .pg-ins p { color: #4a5a4e; }
.pa-pg .pg-card .pg-prompt { color: #2f3c33; }
.pt-style-article-inner td { color: #3d4a41; }
.pg-more-t, .pg-more { color: var(--forest); }
.pg-chip, .pg-all { color: var(--forest) !important; }

/* ---------- phones: prompt and Expert insight stay visible, two cards per row ---------- */
@media (max-width: 639px) {
  .pa-pg .pg-card .pg-body { padding: 8px 8px 10px; gap: 8px; }
  .pa-pg .pg-card .pg-prompt {
    display: -webkit-box; padding: 10px 11px 0; border-bottom-width: 10px; border-radius: 13px;
    font-size: 12.5px; line-height: 1.55; -webkit-line-clamp: 5; line-clamp: 5;
  }
  .pa-pg .pg-card .pg-ins { display: block; padding: 8px 10px 9px; border-radius: 12px; }
  .pa-pg .pg-card .pg-ins small { font-size: 9.5px; letter-spacing: .08em; }
  .pa-pg .pg-card .pg-ins p { font-size: 11.5px; line-height: 1.45; -webkit-line-clamp: 4; line-clamp: 4; }
  .pa-pg .pg-card .pg-swap { display: none; }
  .pa-pg .pg-card .pg-row { padding-top: 2px; }
}

/* ---------- HERO: centred text, photos behind the title ---------- */
.pa-pg .ghero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: clamp(440px, 46vw, 540px); padding: 84px clamp(22px, 6vw, 80px) clamp(40px, 5vw, 60px); }
.pa-pg .ghero::after { display: none; }
.pa-pg .ghero > * { position: relative; z-index: 2; }
.pa-pg .ghero .ghero-crumbs { position: absolute; top: clamp(20px, 3vw, 30px); left: clamp(22px, 4vw, 44px); right: clamp(22px, 4vw, 44px); margin: 0; text-align: left; z-index: 3; }
.pa-pg .ghero h1 { max-width: 18ch; margin: 22px auto 16px; font-size: clamp(38px, 6.4vw, 78px); text-shadow: 0 2px 24px rgba(8,20,13,.45); }
.pa-pg .ghero.has-collage h1, .pa-pg .ghero.has-collage .ghero-desc { max-width: none; }
.pa-pg .ghero.has-collage h1 { max-width: 20ch; }
.pa-pg .ghero .ghero-desc { max-width: 62ch; margin: 0 auto; color: #e3ecdc; text-shadow: 0 1px 14px rgba(8,20,13,.5); }
.pa-pg .ghero .gmeta { justify-content: center; margin-top: 28px; }
.pa-pg .ghero .gmeta span { background: rgba(10,24,16,.45); border-color: rgba(255,255,255,.2); }

.pa-pg .ghero .ghero-collage {
  position: absolute; z-index: 0; inset: 0; top: 0; right: 0; transform: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; overflow: hidden; border-radius: inherit; pointer-events: none;
}
.pa-pg .ghero .ghero-tile, .pa-pg .ghero .ghero-tile:nth-child(n) {
  position: relative; flex: none; width: auto; height: 100%; aspect-ratio: auto; margin: 0; transform: none; border: 0; border-radius: 0; box-shadow: none; background: #17302a;
}
.pa-pg .ghero .ghero-tile img { filter: saturate(.92); }
.pa-pg .ghero .ghero-collage::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(75% 85% at 50% 52%, rgba(12,28,20,.86) 0%, rgba(12,28,20,.74) 55%, rgba(12,28,20,.55) 100%),
    linear-gradient(180deg, rgba(12,28,20,.3), rgba(12,28,20,.62));
}
@media (max-width: 899px) {
  .pa-pg .ghero { min-height: 0; padding: 78px 20px 36px; }
  .pa-pg .ghero .ghero-collage { position: absolute; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; margin: 0; }
  .pa-pg .ghero .ghero-tile:nth-child(n+4) { display: none; }
  .pa-pg .ghero h1 { font-size: clamp(34px, 10vw, 48px); }
}
/* hero photos: visible, green-tinted, text stays readable */
.pa-pg .ghero .ghero-tile, .pa-pg .ghero .ghero-tile:nth-child(n) { background: transparent; }
.pa-pg .ghero .ghero-tile img { opacity: .62; filter: saturate(.85) contrast(1.02); }
.pa-pg .ghero .ghero-collage::after {
  background:
    radial-gradient(62% 78% at 50% 54%, rgba(20,44,31,.78) 0%, rgba(20,44,31,.5) 58%, rgba(20,44,31,.12) 100%),
    linear-gradient(180deg, rgba(27,58,42,.35) 0%, rgba(27,58,42,0) 30%, rgba(27,58,42,.4) 100%);
}
@media (max-width: 899px) {
  .pa-pg .ghero .ghero-collage::after {
    background: radial-gradient(90% 80% at 50% 55%, rgba(20,44,31,.8) 0%, rgba(20,44,31,.52) 70%, rgba(20,44,31,.25) 100%);
  }
}
.pa-pg .ghero .ghero-collage::after {
  background:
    radial-gradient(62% 78% at 50% 54%, rgba(20,44,31,.74) 0%, rgba(20,44,31,.42) 58%, rgba(20,44,31,.08) 100%),
    linear-gradient(rgba(47,93,70,.42), rgba(47,93,70,.42));
}
@media (max-width: 899px) {
  .pa-pg .ghero .ghero-collage::after {
    background: radial-gradient(90% 80% at 50% 55%, rgba(20,44,31,.76) 0%, rgba(20,44,31,.46) 70%, rgba(20,44,31,.2) 100%), linear-gradient(rgba(47,93,70,.42), rgba(47,93,70,.42));
  }
}
