/*
Theme Name: PromptTick
Theme URI: https://prompttick.com
Author: PromptTick
Author URI: https://prompttick.com
Description: A vibrant, colorful AI prompt gallery theme. Showcase AI image prompts with beautiful cards, copy buttons, filter system, and a stunning gradient hero. Built for PromptTick.com.
Version: 1.4.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: prompttick
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
============================================================ */
:root {
  --pt-purple:       #7c3aed;
  --pt-purple-light: #a78bfa;
  --pt-pink:         #ec4899;
  --pt-orange:       #f97316;
  --pt-bg:           #0b0813;
  --pt-card-bg:      #150d26;
  --pt-prompt-bg:    #1b1030;
  --pt-prompt-border:rgba(255,255,255,0.14);
  --pt-text:         #f3eeff;
  --pt-muted:        #c4b8e0;
  --pt-border:       rgba(255,255,255,0.12);
  --pt-gradient:     linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
  --pt-radius-card:  16px;
  --pt-radius-btn:   10px;
  --pt-shadow-card:  0 2px 14px rgba(0,0,0,0.4);
  --pt-shadow-hover: 0 8px 32px rgba(124,58,237,0.35);
  --pt-link:         #c4b5fd;
  --pt-body:         #e3daf5;   /* long-form article text */
  /* shared easing (use these instead of plain 'ease') */
  --pt-ease-out:     cubic-bezier(.23, 1, .32, 1);
  --pt-ease-in-out:  cubic-bezier(.77, 0, .175, 1);
  --pt-ease-drawer:  cubic-bezier(.32, .72, 0, 1);
  color-scheme:      dark;
  --font-heading:    'Syne', sans-serif;
  --font-body:       'DM Sans', sans-serif;
}

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

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

a { color: var(--pt-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(--pt-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(--pt-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(--pt-gradient);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(124,58,237,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(--pt-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(--pt-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(124,58,237,1) 0%, rgba(236,72,153,0.95) 55%, rgba(249,115,22,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(--pt-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(--pt-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(--pt-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(--pt-border);
  border-radius: 24px;
  box-shadow: var(--pt-shadow-card);
  padding: 2rem;
}

.homepage-hero {
  background: linear-gradient(180deg, rgba(124,58,237,1) 0%, rgba(236,72,153,0.95) 55%, rgba(249,115,22,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(255,255,255,0.14);
  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(--pt-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(255,255,255,0.14);
  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(124,58,237,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(236,72,153,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(--pt-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(--pt-border);
  border-radius: 28px;
  box-shadow: var(--pt-shadow-card);
  position: relative;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--pt-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(124,58,237,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(124,58,237,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(--pt-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--pt-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(--pt-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(--pt-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(--pt-text);
}

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

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(236,72,153,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(124,58,237,0.25);
}}

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

@media (hover: hover) and (pointer: fine){.button-primary:hover{
  background: var(--pt-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(--pt-purple);
  border: 2px solid var(--pt-purple-light);
}

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

.homepage-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(236,72,153,0.08) 50%, rgba(249,115,22,0.06) 100%);
  border: 1px solid rgba(124,58,237,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(249,115,22,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(124,58,237,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(124,58,237,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--pt-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(--pt-prompt-bg);
  color: var(--pt-muted);
  border: 1px solid var(--pt-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(--pt-purple);
  color: #fff;
  border-color: var(--pt-purple);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine){.filter-chip:hover{
  background: var(--pt-purple);
  color: #fff;
  border-color: var(--pt-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(--pt-prompt-border);
  background: var(--pt-prompt-bg);
  color: var(--pt-text);
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
}

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

.filter-search-button {
  border: none;
  border-radius: 999px;
  background: var(--pt-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(--pt-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(--pt-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(--pt-prompt-border);
  border-radius: var(--pt-radius-card);
  max-width: 820px;
}

.pt-style-article-inner {
  color: var(--pt-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(--pt-purple);
  text-decoration: underline;
}

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

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

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

.prompt-count {
  font-size: 13px;
  color: var(--pt-muted);
  background: var(--pt-prompt-bg);
  border: 1px solid var(--pt-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(--pt-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(--pt-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(--pt-card-bg);
  border-radius: var(--pt-radius-card);
  overflow: hidden;
  box-shadow: var(--pt-shadow-card);
  border: 1px solid var(--pt-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(124,58,237,0.12), 0 2px 18px rgba(124,58,237,0.06);
}}

@media (hover: hover) and (pointer: fine){.prompt-card:hover::after{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--pt-radius-card);
  box-shadow: 0 0 40px rgba(124,58,237,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(--pt-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-prompt-box {
  background: var(--pt-prompt-bg);
  border: 1px solid var(--pt-prompt-border);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 12.5px;
  color: var(--pt-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(--pt-radius-btn);
  border: none;
  background: var(--pt-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(124,58,237,0.06); }
  50% { box-shadow: 0 0 18px rgba(124,58,237,0.06); }
  100% { box-shadow: 0 0 0px rgba(124,58,237,0.06); }
}

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

.tool-tag {
  padding: 9px 12px;
  border-radius: var(--pt-radius-btn);
  border: 1px solid var(--pt-prompt-border);
  background: var(--pt-prompt-bg);
  font-size: 11px;
  color: var(--pt-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(--pt-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(--pt-muted);
}

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

.full-prompt-box {
  background: var(--pt-prompt-bg);
  border: 1.5px solid var(--pt-prompt-border);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 15px;
  color: var(--pt-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(--pt-purple);
  margin-bottom: 8px;
}

.copy-full-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--pt-radius-btn);
  border: none;
  background: var(--pt-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(--pt-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(--pt-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.detail-card-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--pt-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(--pt-border);
  padding: 20px;
  margin-bottom: 20px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--pt-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pt-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(--pt-prompt-border);
  background: #fff;
  color: var(--pt-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(--pt-purple);
  color: #fff;
  border-color: var(--pt-purple);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine){.page-numbers:hover{
  background: var(--pt-purple);
  color: #fff;
  border-color: var(--pt-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(--pt-muted);
}

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

.empty-state h3 {
  font-size: 20px;
  color: var(--pt-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(--pt-muted);
  font-size: 16px;
}

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

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pt-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(--pt-prompt-border);
  border-radius: 10px;
  background: var(--pt-prompt-bg);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--pt-text);
  transition: border-color 0.15s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--pt-purple);
  background: #fff;
}

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

.form-submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--pt-radius-btn);
  border: none;
  background: var(--pt-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
============================================================ */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

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

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

.footer-brand .site-title-text { color: #fff; }
.footer-brand p {
  font-size: 14px;
  margin-top: 0.7rem;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

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

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}
@media (hover: hover) and (pointer: fine){.footer-col ul a:hover{ color: var(--pt-purple-light); }}

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

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-copy a {
  color: var(--pt-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(255,255,255,0.12);
  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(--pt-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: #1a0050;
    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: #7c3aed;
}


.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:#7c3aed;
    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(--pt-bg); color: var(--pt-text); }
input, select, textarea { color: var(--pt-text); }
::placeholder { color: #8f84ad; 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(--pt-card-bg); border-color: var(--pt-prompt-border); }
.blog-card { border: 1px solid var(--pt-prompt-border); }
.blog-card p { color: var(--pt-muted); }
.card-image-wrap { background: var(--pt-prompt-bg); }
.form-select:focus { background: var(--pt-prompt-bg); }
.page-numbers { color: var(--pt-text); }
.page-numbers.current { background: var(--pt-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: #d8cdf2; }
.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: #c4b5fd; 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 #ec4899; background: rgba(124,58,237,.14); border-radius: 0 14px 14px 0; }
.pt-toast { background: #fff; color: #1d1533; 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(196,184,224,.6); }
.pt-breadcrumb-link { color: var(--pt-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,#7c3aed,#ec4899 62%,#f97316);
  --pa-mu: #b3a8d0;
  --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: #0a0613; color: #fff; }
.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(124,58,237,.55),rgba(236,72,153,.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: #fff; }
.pa-pg :is(a, button, input):focus-visible,
.pa-sheet :is(a, button):focus-visible { outline: 3px solid #c4b5fd; 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:#5b21b6; --c3:#ec4899; --c4:#2e0a4f; } .a1 { --c1:#fff7ed; --c2:#ea580c; --c3:#be185d; --c4:#3b0764; }
.a2 { --c1:#fce7f3; --c2:#3b1a8a; --c3:#a78bfa; --c4:#1b1647; } .a3 { --c1:#cffafe; --c2:#2a2a8c; --c3:#6366f1; --c4:#0e1330; }
.a4 { --c1:#ffe4e6; --c2:#9d174d; --c3:#fb7185; --c4:#3f0a4a; } .a5 { --c1:#fef3c7; --c2:#7c2d12; --c3:#f59e0b; --c4:#34084f; }

/* ---------- 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: #eadfff; }
.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,6,19,.9); }
.pa-h1 a { color: inherit; }
.pa-ds { max-width: 50ch; margin: 0 auto 18px; color: #cdc2e6; }
.pa-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pa-stat { padding: 10px 20px; border-radius: 16px; background: rgba(10,6,19,.62); border: 1px solid rgba(255,255,255,.12); }
.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(10,6,19,.86),rgba(10,6,19,.5)),linear-gradient(180deg,rgba(10,6,19,.55),transparent 22%,transparent 66%,#0a0613); }
.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(#120a22,#120a22) padding-box,linear-gradient(140deg,rgba(255,255,255,.35),rgba(124,58,237,.35) 45%,rgba(236,72,153,.5)) border-box; box-shadow: 0 24px 60px rgba(124,58,237,.18); }
.pa-lb { display: block; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #f0abfc; 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: #e9e1fb; }
.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(#1b1030,#1b1030) 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(236,72,153,.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 #ec4899; 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 #ec4899; }
.pa-rst { display: block; width: max-content; margin: 2px auto 0; min-height: 44px; line-height: 44px; padding: 0 18px; color: #d8cdf2 !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: #d8cdf2 !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: #1b1030 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(236,72,153,.28); }
.pa-orb.all[aria-current="true"] i { background: #1b1030 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: #150d26; border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.14),0 20px 40px rgba(0,0,0,.45); transition: 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: none; }}
.pt-poster .pt-art { position: absolute; inset: 0; }
.pt-poster .pt-art img { 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,.22),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,.2); 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(10,6,19,.62); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; color: #fff; pointer-events: none; }
.copy-btn.pt-cp { position: absolute; z-index: 5; right: 10px; top: 10px; flex: none; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(10,6,19,.62); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine){.copy-btn.pt-cp:hover{ opacity: 1; transform: none; background: rgba(124,58,237,.8); }}
.copy-btn.pt-cp.ok { background: #16a34a; border-color: #16a34a; }
.pt-cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 46px 14px 14px; background: linear-gradient(0deg,rgba(10,5,22,.92),rgba(10,5,22,.55) 55%,transparent); pointer-events: none; }
.pt-cap h3 { font: 700 15px/1.3 var(--font-body); 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: 800 clamp(18px,5vw,26px)/1.15 var(--font-heading); }
.pt-cap h3 a { color: #fff; pointer-events: auto; }
.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: #d8cdf2; }
.pt-mt i { font-style: normal; color: #f9a8d4; }

/* 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: #150d26; }
.pt-poster .skeleton-pulse { position: absolute; inset: 0; border-radius: 0; background: linear-gradient(110deg,#150d26 30%,#2a1850 50%,#150d26 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(236,72,153,.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(21,13,38,.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: #cdc2e6 !important; font-weight: 700; font-size: 13.5px; text-align: center; white-space: nowrap; }
.pa-seg a[aria-current="true"] { background: #fff; color: #4c1d95 !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,3,12,.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: #150d26; 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: #e9e1fb !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(236,72,153,.7),0 24px 50px rgba(124,58,237,.35); }
}
@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(255,255,255,.14), inset 0 -16px 20px rgba(10,6,19,.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: #cdc2e6;
}

.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(#1b1030, #1b1030) 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; }
}

/* ===== PromptTick header: floating glass ===== */
.pt-header{position:relative;z-index:100;padding:16px 16px 0;font-family:'DM Sans',system-ui,sans-serif}
.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:1160px;height:68px;margin:0 auto;padding:0 12px 0 14px;border-radius:999px;background:rgba(21,13,38,.9);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(21,13,38,.35),inset 0 1px 0 rgba(255,255,255,.12)}

/* 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:40px;height:40px;flex:none;border-radius:13px;background:linear-gradient(135deg,#7c3aed,#ec4899 60%,#f97316);box-shadow:0 8px 20px rgba(236,72,153,.35)}
.pt-word{font:800 23px 'Syne',sans-serif;letter-spacing:-.03em;color:#fff}
.pt-word i{font-style:normal;background:linear-gradient(120deg,#c4b5fd,#f9a8d4);-webkit-background-clip:text;background-clip:text;color:transparent}

/* 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:500;font-size:14.5px;color:#cdc2e6;transition:background .2s,color .2s}
@media (hover: hover) and (pointer: fine){.pt-menu a:hover{color:#fff;background:rgba(255,255,255,.08)}}
.pt-menu .current-menu-item>a,
.pt-menu .current-menu-ancestor>a,
.pt-menu .current_page_item>a{color:#fff;background:rgba(255,255,255,.12)}

/* actions */
.pt-actions{display:flex;align-items:center;gap:10px;flex:none}
.pt-icon-btn,.pt-burger{display:grid;place-items:center;width:46px;height:46px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#fff;cursor:pointer;transition:background .2s}
@media (hover: hover) and (pointer: fine){.pt-icon-btn:hover,.pt-burger:hover{background:rgba(255,255,255,.14)}}
.pt-burger{display:none;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.08)}
.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 #c4b5fd;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(10,6,19,.8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-family:'DM Sans',system-ui,sans-serif}
.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:20px;background:#150d26;border:1px solid rgba(255,255,255,.2);color:#b3a8d0;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.pt-search-form:focus-within{border-color:#ec4899;box-shadow:0 0 0 4px rgba(236,72,153,.2),0 24px 60px rgba(0,0,0,.5)}
.pt-search-form svg{flex:none}
.pt-search-form input[type="search"]{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;box-shadow:none;color:#fff;font:inherit;font-size:17px;-webkit-appearance:none;appearance:none}
.pt-search-form input[type="search"]::placeholder{color:#9a8fb8}
.pt-search-go{height:46px;padding:0 22px;border:0;border-radius:14px;background:linear-gradient(120deg,#7c3aed,#ec4899 62%,#f97316);color:#fff;font:700 14.5px 'DM Sans',sans-serif;cursor:pointer}
.pt-search-close{display:grid;place-items:center;flex:none;width:52px;height:52px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;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:10px;border-radius:26px;background:rgba(21,13,38,.96);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 24px 60px rgba(21,13,38,.5)}
  .pt-header.is-open .pt-nav{display:block}
  .pt-menu{flex-direction:column;gap:2px}
  .pt-menu a{display:flex;align-items:center;justify-content:space-between;width:100%;height:auto;min-height:54px;padding:0 16px;border-radius:16px;font:700 20px 'Syne',sans-serif;letter-spacing:-.02em;color:#e9e1fb}
  .pt-menu .current-menu-item>a,
  .pt-menu .current-menu-ancestor>a,
  .pt-menu .current_page_item>a{background:rgba(255,255,255,.1)}
}
@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}}


/* Prompttick — Splash D: Aurora Wordmark */
#pt-splash-d {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0a0613;
  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: #7c3aed;
  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: #ec4899;
  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: #f97316;
  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: #f9a8d4;
  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, #e9ddff, #f9a8d4 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: #c9bde6;
  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, #f472b6);
  animation: pt-line-in .7s 1s forwards;
}

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

@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(#120a22,#120a22) padding-box, linear-gradient(140deg,rgba(255,255,255,.35),rgba(124,58,237,.35) 45%,rgba(236,72,153,.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: #d8cdf2; }
.pg-quick li strong { color: #f0abfc; 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(#120a22,#120a22) padding-box, linear-gradient(140deg,rgba(255,255,255,.32),rgba(124,58,237,.45) 45%,rgba(236,72,153,.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 #f0abfc; 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: #d8cdf2; }
.pg-how-chips li { padding: 5px 12px; border-radius: 999px; background: rgba(124,58,237,.28); border: 1px solid rgba(167,139,250,.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(255,255,255,.14); }}
.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: #120a22; }
.pg-how-c b.pg-how-l { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #c4b5fd; margin-bottom: 10px; }
.pg-how-c:nth-child(3n+2) b.pg-how-l { color: #f0abfc; }
.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: #e4dbf7; }
@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: #e9e1fb !important; font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine){.pg-chip:hover{ background: rgba(124,58,237,.35); border-color: rgba(236,72,153,.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: #e9e1fb !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: #150d26; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 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 #ec4899, 0 20px 40px rgba(124,58,237,.35); }
.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,6,19,.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: #f9a8d4; }}
.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(124,58,237,.24); border: 1px solid rgba(167,139,250,.28); font-size: 11.5px; font-weight: 600; color: #d8c8ff; }
.pg-prompt { flex: 1; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--pt-prompt-bg); border: 1px solid var(--pt-prompt-border); color: #d8cdf2; 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: #f0abfc; 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(236,72,153,.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: #e9e1fb !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: #cdc2e6; }
.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: #0f0820; 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: #ec4899; box-shadow: 0 0 0 3px rgba(236,72,153,.2); }
.pg-builder .pg-out-l { margin-top: 18px; }
.pg-builder textarea { resize: vertical; background: var(--pt-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(236,72,153,.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: #0f0820; border: 1px solid rgba(255,255,255,.14); color: #e9e1ff; font-size: 13.5px; white-space: pre-wrap; }
.pt-style-article-inner th { background: rgba(124,58,237,.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 #ec4899; 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(255,255,255,.14); 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 #c4b5fd; border-bottom: 2px solid #c4b5fd; transform: rotate(45deg); transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(-135deg); }
.pg-faq details p { margin: 0 0 16px; color: #d8cdf2; 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(255,255,255,.14); 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(124,58,237,.3); border-color: rgba(236,72,153,.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(236,72,153,.7), 0 24px 50px rgba(124,58,237,.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(8,4,16,.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(28,15,52,.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(236,72,153,.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 #f0abfc; 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: #b9a8e6; }
  .pgn-cur { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
  .pgn-btn > svg { flex: none; color: #c4b5fd; }

  .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(24,13,44,.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: #b9a8e6; }

  .pgn-link { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 12px 0 8px; border-radius: 18px; color: #d8cdf2; 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: #f0abfc; opacity: 0; }
  .pgn-link.on { background: rgba(124,58,237,.28); color: #fff; }
  .pgn-link.on .pgn-num { background: linear-gradient(135deg,#7c3aed,#ec4899); color: #fff; }
  .pgn-link.on .pgn-chk { opacity: 1; }
  .pgn-link:focus-visible { outline: 3px solid #f0abfc; 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(21,13,38,.82); border: 1px solid rgba(255,255,255,.14); -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(21,13,38,.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,#7c3aed,#ec4899 62%,#f97316)); box-shadow: 0 6px 16px rgba(236,72,153,.38); }
  .pgn-cap-t { font: 700 13.5px/1 var(--font-heading, inherit); letter-spacing: .01em; color: #f3eeff; 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,#7c3aed,#ec4899)); box-shadow: 0 8px 22px rgba(236,72,153,.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: #cfc4ea; 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 #ec4899; 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(124,58,237,.55), transparent 60%),
              radial-gradient(70% 110% at 100% 100%, rgba(249,115,22,.4), transparent 60%), #160a2c; }
.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, #7c3aed, #ec4899); color: #fff; }
.pg-ins p { position: relative; margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: #fbf6ff; 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,6,19,.94), rgba(10,6,19,.6) 55%, rgba(10,6,19,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: #f9a8d4 !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,6,19,.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%, #a78bfa, #ec4899, #f97316, transparent); animation: pgi-spin 6s linear infinite; }
.pg-intro-sum:focus-visible { outline: 3px solid #c4b5fd; 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: #150d26; }
.pg-intro-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(120deg, #7c3aed, #ec4899 62%, #f97316); }
.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: #f0abfc; }
.pg-intro-lb i { width: 7px; height: 7px; border-radius: 50%; background: #f97316; box-shadow: 0 0 10px #f97316; 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, #7c3aed, #ec4899); border-color: transparent; }
.pg-intro-pn { margin-top: 8px; padding: 18px 22px; border-radius: 22px; background: #160d2a; border: 1px solid rgba(255,255,255,.14); animation: pgi-up .5s ease both; }
.pg-intro-pn p { margin: 0 0 10px; font-size: 15px; line-height: 1.7; color: #d8cdf2; }
.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: #f3eeff; }
.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, #7c3aed, #ec4899); 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(255,255,255,.12); border-color: rgba(236,72,153,.7); }}
.pg-more:disabled { opacity: .6; cursor: wait; }
.pg-more-n { color: #c4b8e0; 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(21,13,38,.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(255,255,255,.14);
}
.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(21,13,38,.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(255,255,255,.14);
}
@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: #150d26 !important; }
  .pa-bk, .pgn-bk, .pt-search { background: rgba(5,3,12,.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: #0d0719 !important; }
}


/* PromptTick: 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(--pt-border); border-radius: 50%;
  background: #150d26; color: #c4b5fd; 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(--pt-purple); color: #fff; }
.pa-orbs-arrow:focus-visible { outline: 3px solid #c4b5fd; 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; }
}
