/* PromptBx V1.2.0: focused futuristic homepage search experience */
:root {
  --bg:#0B1012;
  --panel:#121A1C;
  --panel2:#182224;
  --line:#273638;
  --line2:#3A4B4C;
  --text:#DCE5E3;
  --muted:#A8B3B1;
  --dim:#75817F;
  --accent:#35C6C3;
  --accent2:#70DCD5;
  --success:#83d6a2;
  --radius:18px
}

/* =========================================================
   RECENTLY ADDED + FIVE-IMAGE HOMEPAGE SHOWCASE
   ========================================================= */

.recently-added-section {
  margin-bottom:68px;
}

.recently-added-card {
  isolation:isolate;
}

.hero-preview-frame img {
  transition:opacity .36s ease,transform .48s ease;
}

.hero-preview-frame.is-changing img {
  opacity:.12;
  transform:scale(1.018);
}

.hero-preview-dots {
  position:absolute;
  right:14px;
  bottom:16px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(8,14,14,.72);
  backdrop-filter:blur(12px);
}

.hero-preview-dots:empty {
  display:none;
}

.hero-preview-dots button {
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.34);
  cursor:pointer;
  transition:width .22s ease,background .22s ease,transform .22s ease;
}

.hero-preview-dots button:hover,
.hero-preview-dots button:focus-visible {
  background:#c0fbff;
  transform:scale(1.18);
  outline:none;
}

.hero-preview-dots button.is-active {
  width:20px;
  background:#91f8ff;
  box-shadow:0 0 12px rgba(116,246,255,.65);
}

@media (max-width:720px) {
  .recently-added-section {
    margin-bottom:46px;
  }

  .hero-preview-dots {
    right:10px;
    bottom:11px;
    gap:6px;
    padding:6px 8px;
  }

  .hero-preview-dots button {
    width:6px;
    height:6px;
  }

  .hero-preview-dots button.is-active {
    width:17px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-preview-frame img,
  .hero-preview-dots button {
    transition:none;
  }
}

* {
  margin:0;
  padding:0;
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scrollbar-gutter:stable
}

body {
  min-height:100vh;
  background:var(--bg);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  overflow-x:hidden
}

body {
    user-select: none;
}

.prompt-full-text {
    user-select: text;
}

button,input,textarea,select {
  font:inherit
}

.bg-light {
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  overflow:hidden;
  background:radial-gradient(circle at 50% -10%,rgba(126,246,255,.12),transparent 34%)
}

.bg-light:before,.bg-light:after {
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  opacity:.45
}

.bg-light:before {
  width:520px;
  height:520px;
  background:#39959c;
  left:-260px;
  top:25%;
  animation:floatA 16s ease-in-out infinite
}

.bg-light:after {
  width:430px;
  height:430px;
  background:#3b7478;
  right:-250px;
  top:55%;
  animation:floatB 18s ease-in-out infinite
}

@keyframes floatA {
  50% {
    transform:translate(180px,100px)
  }

}

@keyframes floatB {
  50% {
    transform:translate(-150px,-100px)
  }

}

.header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  background:rgba(8,11,11,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.06);
  padding:13px 32px;
  display:grid;
  grid-template-columns:190px 1fr auto;
  align-items:center;
  gap:18px;
  transition:.35s
}

.header.hidden {
  transform:translateY(-100%);
  opacity:0
}

.logo {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:19px;
  font-weight:800;
  color:#F5F7F6
}

.logo-button {
  background:none;
  border:0;
  cursor:pointer;
  text-align:left
}

.logo-mark {
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:linear-gradient(145deg,#e9feff,#91f8ff);
  color:#0a1112;
  font-weight:900;
  box-shadow:0 0 28px rgba(142,247,255,.18)
}

.search-wrap {
  display:flex;
  justify-content:center
}

.search-box {
  width:100%;
  max-width:590px;
  display:flex;
  align-items:center;
  background:#111819;
  border:1px solid #293738;
  border-radius:12px;
  overflow:hidden;
  transition:.2s
}

.search-box:focus-within {
  border-color:#64b1b7;
  box-shadow:0 0 0 3px rgba(142,247,255,.1)
}

.search-leading {
  width:18px;
  height:18px;
  stroke:#6e8081;
  margin-left:14px;
  flex:0 0 auto
}

.search-input {
  flex:1;
  min-width:0;
  background:transparent;
  border:0;
  outline:0;
  padding:11px 12px;
  color:#f5fafa
}

.search-input::placeholder {
  color:#627576
}

.search-shortcut {
  font-size:10px;
  color:#667879;
  border:1px solid #2e3b3c;
  padding:3px 6px;
  border-radius:5px;
  white-space:nowrap
}

.search-btn {
  border:0;
  border-left:1px solid #273435;
  background:transparent;
  color:#9baeaf;
  padding:11px 14px;
  cursor:pointer
}

.search-btn:hover {
  color:#F5F7F6;
  background:#192122
}

.suggest-btn,.howto-btn,.primary-btn,.secondary-btn,.submit-btn {
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  transition:.2s;
  text-decoration: none;
}


.header-actions {
  justify-self:end;
  display:flex;
  align-items:center;
  gap:9px;
  white-space:nowrap
}

.howto-btn {
  background:#141c1d;
  color:#cbd7d8;
  border:1px solid #2b3839;
  padding:9px 14px
}

.howto-btn:hover {
  transform:translateY(-1px);
  border-color:#56787a;
  color:#F5F7F6;
  background:#192324
}

.suggest-btn {
  justify-self:end;
  background:#f4fbfb;
  color:#0b1111;
  border:1px solid #F5F7F6;
  padding:9px 15px
}

.suggest-btn:hover,.primary-btn:hover,.submit-btn:hover {
  transform:translateY(-1px);
  filter:brightness(.94)
}

.header-line {
  display:none
}

.content {
  position:relative;
  z-index:1;
  max-width:1220px;
  margin:0 auto;
  padding:110px 32px 0
}

.hero {
  text-align:center;
  padding:82px 20px 72px;
  animation:heroIn .75s cubic-bezier(.22,1,.36,1) both
}

@keyframes heroIn {
  from {
    opacity:0;
    transform:translateY(24px)
  }

}

.eyebrow,.section-kicker {
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:800;
  color:#8fcdd1
}

.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid #2b3f40;
  background:rgba(20,30,31,.7);
  padding:7px 11px;
  border-radius:999px;
  margin-bottom:22px
}

.eyebrow-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#9df8ff;
  box-shadow:0 0 12px #8ef7ff
}

.hero-quote {
  font-size:clamp(42px,6vw,72px);
  line-height:1.02;
  letter-spacing:-.045em;
  max-width:850px;
  margin:0 auto 22px
}

.hero-quote span {
  background:linear-gradient(90deg,#cbfcff,#89f7ff);
  -webkit-background-clip:text;
  color:transparent
}

.hero-subtitle {
  max-width:690px;
  margin:0 auto;
  color:#8da1a2;
  font-size:17px;
  line-height:1.7
}

.hero-actions {
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:30px
}

.primary-btn {
  background:#f3fafa;
  color:#0b1111;
  border:1px solid #F5F7F6;
  padding:12px 19px
}

.secondary-btn {
  background:#141c1d;
  color:#cbd7d8;
  border:1px solid #2b3839;
  padding:12px 18px
}

.secondary-btn:hover {
  border-color:#4a6062;
  color:#F5F7F6;
  background:#192324
}

.hero-proof {
  margin:42px auto 0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:26px;
  color:#6f8283
}

.hero-proof div {
  display:flex;
  flex-direction:column;
  gap:3px
}

.hero-proof strong {
  font-size:16px;
  color:#dfe9ea
}

.hero-proof span {
  font-size:11px
}

.hero-proof i {
  width:1px;
  height:26px;
  background:#283435
}

.reveal {
  opacity:0;
  transform:translateY(22px);
  transition:.65s cubic-bezier(.22,1,.36,1)
}

.reveal.visible {
  opacity:1;
  transform:none
}

.section-heading-row,.search-results-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin:0 0 20px
}

.section-title {
  font-size:25px;
  margin-top:5px;
  letter-spacing:-.02em
}

.section-title.compact {
  margin-bottom:0
}

.section-note {
  font-size:12px;
  color:#647778
}

.quick-start,.preserve-banner,#suggestedSection,#categoriesSection {
  margin-bottom:68px
}

.quick-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px
}

.quick-card {
  background:linear-gradient(145deg,#131a1b,#0f1515);
  border:1px solid #243132;
  border-radius:15px;
  padding:18px;
  text-align:left;
  cursor:pointer;
  color:#F5F7F6;
  transition:.22s;
  min-height:120px
}

.quick-card,
.suggested-card,
.cat-card {
  color:inherit;
  text-decoration:none
}

.quick-card:hover {
  transform:translateY(-3px);
  border-color:#47686a;
  background:#162021
}

.quick-icon {
  font-size:23px;
  margin-bottom:17px
}

.quick-card strong {
  display:block;
  font-size:14px;
  margin-bottom:5px
}

.quick-card span {
  font-size:11px;
  color:#738687;
  line-height:1.4
}

.suggested-wrap {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px
}

.suggested-card {
  min-height:230px;
  background:#111818;
  border:1px solid #243132;
  border-radius:17px;
  padding:20px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:visible;
  transition:.22s
}

.suggested-card:before {
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  border-radius:50%;
  background:rgba(142,247,255,.08);
  right:-70px;
  top:-70px;
  filter:blur(12px)
}

.suggested-card:hover {
  transform:translateY(-3px);
  border-color:#425b5d
}

.suggested-category {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#89cbd0;
  margin-bottom:14px
}

.suggested-card h3 {
  font-size:18px;
  margin-bottom:9px
}

.card-desc {
  font-size:13px;
  line-height:1.55;
  color:#859899;
  flex:1
}

.tags-row,.prompt-card-tags,.prompt-detail-tags,.cat-info-tags {
  display:flex;
  flex-wrap:wrap;
  gap:6px
}

.tag {
  font-size:10px;
  color:#9cb0b1;
  background:#182021;
  border:1px solid #293637;
  padding:4px 8px;
  border-radius:999px
}

.suggested-open-text {
  font-size:12px;
  color:#9bd3d7;
  margin-top:18px
}


.how-it-works {
  margin-bottom:68px
}

.how-it-works-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px
}

.how-step {
  min-height:145px;
  display:flex;
  gap:13px;
  align-items:flex-start;
  padding:18px;
  background:linear-gradient(145deg,#131a1b,#0f1515);
  border:1px solid #243132;
  border-radius:15px;
  transition:.22s
}

.how-step:hover {
  transform:translateY(-2px);
  border-color:#425b5d
}

.how-step-number {
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:linear-gradient(145deg,#66dfe8,#43bdc6);
  color:#F5F7F6;
  font-size:12px;
  font-weight:800;
  box-shadow:0 8px 24px rgba(83,211,220,.16)
}

.how-step h3 {
  font-size:14px;
  margin:3px 0 7px
}

.how-step p {
  color:#7f9293;
  font-size:12px;
  line-height:1.55
}

.how-tip {
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 15px;
  border:1px solid #294042;
  border-radius:12px;
  background:rgba(20,32,33,.78);
  color:#8fa3a4;
  font-size:12px
}

.how-tip span {
  color:#9df8ff
}

.how-tip strong {
  color:#dfe9ea
}

.preserve-banner {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:22px;
  align-items:center;
  background:linear-gradient(110deg,rgba(32,54,56,.9),rgba(16,23,24,.95));
  border:1px solid #304c4e;
  border-radius:20px;
  padding:27px
}

.preserve-icon {
  width:52px;
  height:52px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#172a2b;
  border:1px solid #355a5d;
  color:#b6faff;
  font-size:28px
}

.preserve-banner h2 {
  font-size:21px;
  margin:4px 0 7px
}

.preserve-banner p {
  color:#899c9d;
  font-size:13px;
  line-height:1.55;
  max-width:760px
}

.preserve-btn {
  white-space:nowrap
}

.categories-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px
}

.cat-card {
  background:#111818;
  border:1px solid #243132;
  border-radius:15px;
  padding:20px;
  cursor:pointer;
  position:relative;
  transition:.22s;
  min-height:150px
}

.cat-card:hover {
  transform:translateY(-3px);
  border-color:#425b5d
}

.cat-card .icon {
  font-size:25px;
  margin-bottom:20px
}

.cat-card h4 {
  font-size:14px;
  margin-bottom:6px
}

.cat-card p {
  font-size:11px;
  color:#738687;
  line-height:1.45
}

.cat-count {
  position:absolute;
  right:13px;
  top:13px;
  font-size:10px;
  color:#7d9496;
  background:#171f20;
  border:1px solid #293637;
  padding:4px 7px;
  border-radius:999px
}

.show-more-line {
  display:none
}

.search-results {
  min-height:55vh;
  padding-top:30px
}

.small-btn {
  padding:9px 13px;
  font-size:12px
}

.results-label {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#697c7d;
  margin-bottom:13px
}

.prompt-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px
}

.prompt-card {
  background:#111818;
  border:1px solid #243132;
  border-radius:15px;
  padding:18px;
  position:relative;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:.2s;
  min-height:170px
}

.prompt-card:hover {
  transform:translateY(-2px);
  border-color:#41595b
}

.prompt-card-title {
  font-size:15px;
  font-weight:700;
  padding-right:38px
}

.prompt-card-desc {
  font-size:12px;
  color:#7d9091;
  line-height:1.5
}

.prompt-card-copy {
  position:absolute;
  right:14px;
  top:14px;
  width:30px;
  height:30px;
  border:1px solid #2a3839;
  background:#171f20;
  color:#839697;
  border-radius:8px;
  cursor:pointer
}

.prompt-card-copy:hover {
  color:#F5F7F6;
  border-color:#4b6365
}

.prompt-card-view {
  margin-top:auto;
  padding-top:8px;
  font-size:11px;
  color:#698385;
  text-decoration:none
}

.prompt-card mark {
  background:rgba(142,247,255,.18);
  color:#F5F7F6;
  border-radius:3px
}

.empty-state {
  grid-column:1/-1;
  padding:70px 20px;
  text-align:center;
  border:1px dashed #2b3839;
  border-radius:16px;
  color:#748687
}

.empty-state-icon {
  font-size:35px;
  margin-bottom:12px
}

.empty-state h3 {
  color:#F5F7F6;
  margin-bottom:8px
}

.smart-search-loading {
  grid-column:1/-1;
  min-height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  padding:44px 28px;
  border:1px solid rgba(110,245,255,.34);
  border-radius:18px;
  background:
    radial-gradient(circle at 48% 42%,rgba(69,243,255,.16),transparent 44%),
    linear-gradient(135deg,rgba(21,39,40,.96),rgba(15,22,23,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 24px 70px rgba(13,66,70,.18);
  color:#F5F7F6;
  overflow:hidden;
  position:relative
}

.smart-search-loading::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.045) 48%,transparent 64%);
  transform:translateX(-100%);
  animation:smart-search-sweep 1.8s ease-in-out infinite
}

.smart-search-loading>div:last-child {
  display:flex;
  flex-direction:column;
  gap:7px;
  position:relative;
  z-index:1
}

.smart-search-loading strong {
  font-size:17px;
  letter-spacing:-.01em
}

.smart-search-loading>div:last-child>span {
  max-width:460px;
  color:#899fa1;
  font-size:12px;
  line-height:1.55
}

.smart-search-orb {
  width:54px;
  height:54px;
  flex:0 0 54px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:1px solid rgba(137,247,255,.42);
  border-radius:17px;
  background:linear-gradient(145deg,rgba(72,243,255,.28),rgba(35,98,102,.2));
  box-shadow:0 0 32px rgba(64,242,255,.2);
  position:relative;
  z-index:1
}

.smart-search-orb span {
  width:5px;
  height:5px;
  border-radius:999px;
  background:#a8f9ff;
  animation:smart-search-dot 1s ease-in-out infinite
}

.smart-search-orb span:nth-child(2) {
  animation-delay:.14s
}

.smart-search-orb span:nth-child(3) {
  animation-delay:.28s
}

@keyframes smart-search-dot {
  0%,60%,100% {transform:translateY(0);opacity:.5}
  30% {transform:translateY(-6px);opacity:1}
}

@keyframes smart-search-sweep {
  0% {transform:translateX(-100%)}
  55%,100% {transform:translateX(100%)}
}

@media (max-width:600px) {
  .smart-search-loading {
    min-height:185px;
    flex-direction:column;
    gap:14px;
    padding:32px 20px;
    text-align:center
  }

  .smart-search-loading>div:last-child {
    align-items:center
  }
}

@media (prefers-reduced-motion:reduce) {
  .smart-search-loading::after,
  .smart-search-orb span {
    animation:none
  }
}

.category-overlay {
  position:fixed;
  inset:0;
  background:#090d0d;
  z-index:400;
  display:flex;
  flex-direction:column;
  opacity:0;
  pointer-events:none;
  transition:.28s
}

.category-overlay.active {
  opacity:1;
  pointer-events:auto
}

.category-overlay-header {
  display:grid;
  grid-template-columns:48px 1fr 430px;
  align-items:center;
  gap:15px;
  padding:16px 28px;
  border-bottom:1px solid #1f2a2b;
  background:rgba(9,13,13,.94);
  backdrop-filter:blur(16px)
}

.overlay-back,.prompt-close,.modal-close {
  border:1px solid #293637;
  background:#141b1c;
  color:#92a5a6;
  border-radius:9px;
  cursor:pointer
}

.overlay-back {
  width:38px;
  height:38px;
  font-size:20px
}

.category-overlay-title {
  font-size:18px;
  font-weight:800
}

.compact-search {
  max-width:none
}

.category-overlay-body {
  overflow-y:auto;
  padding:28px
}

.cat-info {
  max-width:1160px;
  margin:0 auto 22px;
  background:linear-gradient(120deg,#142021,#101616);
  border:1px solid #294042;
  border-radius:17px;
  padding:24px;
  display:flex;
  gap:18px
}

.cat-info-icon {
  font-size:36px
}

.cat-info-text h2 {
  font-size:20px;
  margin-bottom:6px
}

.cat-info-text p {
  font-size:13px;
  color:#859899;
  line-height:1.55;
  margin-bottom:12px
}

.prompt-highlight {
  border-color:#8ef7ff!important;
  box-shadow:0 0 0 2px rgba(142,247,255,.12),0 0 30px rgba(142,247,255,.12)
}

.prompt-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(9px);
  z-index:500;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  pointer-events:none;
  transition:.25s
}

.prompt-overlay.active {
  opacity:1;
  pointer-events:auto
}

.prompt-overlay-content {
  width:min(1040px,100%);
  max-height:90vh;
  overflow-y:auto;
  background:#101616;
  border:1px solid #2b3839;
  border-radius:20px;
  padding:25px;
  position:relative;
  transform:translateY(12px) scale(.985);
  transition:.25s
}

.prompt-overlay.active .prompt-overlay-content {
  transform:none
}

.prompt-close {
  position:absolute;
  right:16px;
  top:16px;
  width:34px;
  height:34px;
  font-size:23px;
  z-index:2
}

.prompt-detail-layout {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:25px
}

.result-preview {
  min-height:480px;
  background:linear-gradient(145deg,#172122,#0c1212);
  border:1px solid #293839;
  border-radius:15px;
  position:relative;
  overflow:hidden
}

.preview-badge {
  position:absolute;
  left:12px;
  top:12px;
  background:rgba(8,11,11,.75);
  border:1px solid #303f40;
  border-radius:999px;
  padding:5px 9px;
  font-size:10px;
  color:#aebfc0
}

.preview-placeholder {
  height:100%;
  min-height:480px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#5e7172;
  text-align:center
}

.preview-placeholder span {
  font-size:38px;
  margin-bottom:12px
}

.preview-placeholder strong {
  color:#94a7a8;
  font-size:14px
}

.preview-placeholder small {
  margin-top:5px
}

.prompt-detail-copy-area {
  padding:12px 5px 5px
}

.prompt-detail-title {
  font-size:29px;
  letter-spacing:-.025em;
  margin:13px 0 9px;
  padding-right:35px
}

.prompt-detail-desc {
  color:#899c9d;
  line-height:1.6;
  font-size:14px
}

.preserve-note {
  display:flex;
  gap:10px;
  align-items:center;
  background:#142425;
  border:1px solid #2d4e50;
  border-radius:11px;
  padding:12px;
  margin:18px 0
}

.preserve-note span {
  color:#a9f5fa;
  font-size:21px
}

.preserve-note strong {
  font-size:12px;
  display:block
}

.preserve-note small {
  font-size:10px;
  color:#7f9698
}

.prompt-full-box {
  background:#0b1010;
  border:1px solid #253132;
  border-radius:13px;
  overflow:hidden
}

.prompt-full-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:11px 13px;
  border-bottom:1px solid #202a2b;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#647778
}

.prompt-full-copy {
  border:1px solid #303f40;
  background:#182021;
  color:#c5d3d4;
  border-radius:8px;
  padding:7px 10px;
  cursor:pointer;
  text-transform:none;
  letter-spacing:0
}

.prompt-full-text {
  padding:15px;
  white-space:pre-wrap;
  word-break:break-word;
  font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;
  color:#c6d4d5
}

.modal-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(8px);
  z-index:300;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:.25s
}

.modal-overlay.active {
  opacity:1;
  pointer-events:auto
}

.modal {
  width:min(520px,100%);
  max-height:90vh;
  overflow-y:auto;
  background:#111818;
  border:1px solid #2b3839;
  border-radius:18px;
  padding:25px
}

.modal-header {
  display:flex;
  justify-content:space-between;
  align-items:start;
  margin-bottom:8px
}

.modal-header h2 {
  font-size:22px;
  margin-top:4px
}

.modal-close {
  width:34px;
  height:34px;
  font-size:22px
}

.modal-intro {
  font-size:12px;
  color:#7f9293;
  line-height:1.5;
  margin-bottom:20px
}

.form-group {
  margin-bottom:14px
}

.form-group label {
  display:block;
  font-size:11px;
  font-weight:700;
  color:#a9b9ba;
  margin-bottom:6px
}

.optional {
  font-weight:500;
  color:#5f7172
}

.form-group input,.form-group textarea,.form-group select {
  width:100%;
  background:#0c1111;
  border:1px solid #293738;
  border-radius:10px;
  padding:11px 12px;
  color:#f2f7f7;
  outline:0
}

.form-group textarea {
  min-height:90px;
  resize:vertical
}

.form-group input:focus,.form-group textarea:focus,.form-group select:focus {
  border-color:#59999e
}

.form-group small,.form-footnote {
  display:block;
  font-size:10px;
  color:#5e7071;
  margin-top:5px
}

.submit-btn {
  width:100%;
  background:#f2f8f8;
  color:#0b1111;
  border:0;
  padding:12px
}

.form-footnote {
  text-align:center;
  margin-top:9px
}

.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  z-index:9999;
  transform:translate(-50%,20px);
  opacity:0;
  pointer-events:none;
  background:#171f20;
  border:1px solid #344546;
  color:#e7eff0;
  padding:10px 15px;
  border-radius:10px;
  font-size:12px;
  display:flex;
  gap:8px;
  align-items:center;
  transition:.25s
}

.toast.show {
  opacity:1;
  transform:translate(-50%,0)
}

.toast-check {
  color:var(--success)
}

.back-to-top {
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:90;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #303f40;
  background:#151d1e;
  color:#aababb;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:.25s
}

.back-to-top.visible {
  opacity:1;
  transform:none;
  pointer-events:auto
}

.footer {
  margin-top:90px;
  padding:38px 0 45px;
  border-top:1px solid #202a2b;
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  align-items:center
}

.footer-brand {
  display:flex;
  align-items:center;
  gap:12px
}

.footer-logo {
  font-weight:800
}

.footer-tagline,.footer-text {
  font-size:11px;
  color:#647677
}

.footer-links {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  min-width:0;
  max-width:100%;
  font-size:11px
}

.footer-links a {
  color:#859a9b;
  text-decoration:none;
  max-width:100%;
  overflow-wrap:anywhere
}

.footer-links a:hover {
  color:#F5F7F6
}

.footer-links span {
  color:#344243
}

.footer-text {
  grid-column:1/-1
}

.category-hidden {
  display:none
}

.suggested-empty {
  grid-column:1/-1;
  padding:50px;
  text-align:center;
  border:1px dashed #2a3839;
  border-radius:16px;
  color:#728687
}

.suggested-empty-icon {
  font-size:30px
}

.suggested-empty h3 {
  color:#F5F7F6;
  margin:8px
}

.suggested-empty p {
  font-size:12px
}

.suggested-card:focus-visible,.cat-card:focus-visible,.prompt-card:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid #7fe2e9;
  outline-offset:3px
}

@media(max-width:1000px) {
  .header {
    grid-template-columns:160px 1fr auto
  }

  .search-shortcut {
    display:none
  }

  .quick-grid,.categories-grid {
    grid-template-columns:repeat(3,1fr)
  }

  .how-it-works-grid {
    grid-template-columns:repeat(2,1fr)
  }

  .suggested-wrap {
    grid-template-columns:repeat(2,1fr)
  }

  .prompt-grid {
    grid-template-columns:repeat(2,1fr)
  }

  .category-overlay-header {
    grid-template-columns:48px 1fr 330px
  }

  .prompt-detail-layout {
    grid-template-columns:1fr
  }

  .result-preview,.preview-placeholder {
    min-height:300px
  }

  .preserve-banner {
    grid-template-columns:auto 1fr
  }

  .preserve-btn {
    grid-column:2
  }

}

@media(max-width:720px) {
  .header {
    grid-template-columns:auto 1fr auto;
    padding:10px 14px;
    gap:9px
  }

  .logo span:last-child {
    display:none
  }

  .logo-mark {
    width:32px;
    height:32px
  }

  .header-actions {
    gap:6px
  }

  .suggest-btn,.howto-btn {
    font-size:0;
    width:36px;
    height:36px;
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center
  }

  .howto-btn:after {
    content:"?";
    font-size:16px;
    font-weight:800
  }

  .suggest-btn {
    padding:0
  }

  .suggest-btn:after {
    content:"+";
    font-size:18px
  }

  .how-it-works-grid {
    grid-template-columns:1fr
  }

  .how-it-works-heading {
    align-items:flex-start
  }

  .how-it-works-heading .section-note {
    display:none
  }

  .search-btn {
    display:none
  }

  .search-leading {
    margin-left:10px
  }

  .search-input {
    font-size:12px;
    padding:10px 8px
  }

  .content {
    padding:90px 15px 0
  }

  .hero {
    padding:58px 5px 55px
  }

  .hero-quote {
    font-size:40px
  }

  .hero-subtitle {
    font-size:14px
  }

  .hero-proof {
    gap:13px
  }

  .hero-proof strong {
    font-size:13px
  }

  .hero-proof span {
    font-size:9px
  }

  .section-heading-row {
    align-items:start
  }

  .section-note {
    display:none
  }

  .quick-grid,.categories-grid {
    grid-template-columns:repeat(2,1fr)
  }

  .suggested-wrap {
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:8px
  }

  .suggested-card {
    flex:0 0 82%;
    scroll-snap-align:start
  }

  .preserve-banner {
    grid-template-columns:1fr;
    padding:20px
  }

  .preserve-icon {
    width:44px;
    height:44px
  }

  .preserve-btn {
    grid-column:auto;
    width:100%
  }

  .prompt-grid {
    grid-template-columns:1fr
  }

  .category-overlay-header {
    grid-template-columns:42px 1fr;
    padding:12px 14px
  }

  .category-overlay-search {
    grid-column:1/-1
  }

  .category-overlay-body {
    padding:16px
  }

  .cat-info {
    padding:18px
  }

  .prompt-overlay {
    padding:10px
  }

  .prompt-overlay-content {
    padding:17px
  }

  .prompt-detail-title {
    font-size:24px
  }

  .footer {
    grid-template-columns:1fr
  }

  .footer-links {
    justify-content:flex-start
  }

  .hero-actions {
    flex-direction:column;
    max-width:260px;
    margin-left:auto;
    margin-right:auto
  }

  .primary-btn,.secondary-btn {
    width:100%
  }

}

@media(max-width:420px) {
  .quick-grid,.categories-grid {
    grid-template-columns:1fr
  }

  .hero-quote {
    font-size:35px
  }

  .hero-proof i {
    display:none
  }

  .hero-proof {
    flex-wrap:wrap
  }

  .cat-card {
    min-height:125px
  }

  .quick-card {
    min-height:105px
  }

  .prompt-detail-layout {
    gap:14px
  }

}

/* ===== AMBIENT BACKGROUND MOTION ===== */
.bg-light {
  background:     radial-gradient(circle at 50% -10%, rgba(126,246,255,0.12), transparent 34%),     linear-gradient(180deg, rgba(10,21,22,0.16), transparent 40%);
}

.bg-light::before {
  width: 560px;
  height: 560px;
  left: -220px;
  top: 12%;
  background: rgba(57,159,166,0.78);
  filter: blur(105px);
  opacity: 0.48;
  animation: violetDriftA 18s ease-in-out infinite alternate;
}

.bg-light::after {
  width: 500px;
  height: 500px;
  right: -210px;
  top: 48%;
  background: rgba(75,182,190,0.62);
  filter: blur(110px);
  opacity: 0.4;
  animation: violetDriftB 22s ease-in-out infinite alternate;
}

.ambient-orb-c {
  position: absolute;
  width: 360px;
  height: 360px;
  left: 43%;
  top: 72%;
  border-radius: 50%;
  background: rgba(83,197,205,0.25);
  filter: blur(105px);
  animation: violetDriftC 26s ease-in-out infinite alternate;
}

@keyframes violetDriftA {
  0% {
    transform: translate3d(0, 0, 0) scale(0.95);
  }

  45% {
    transform: translate3d(48vw, 22vh, 0) scale(1.12);
  }

  100% {
    transform: translate3d(18vw, 62vh, 0) scale(0.9);
  }

}

@keyframes violetDriftB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-55vw, -25vh, 0) scale(1.15);
  }

  100% {
    transform: translate3d(-18vw, 24vh, 0) scale(0.92);
  }

}

@keyframes violetDriftC {
  0% {
    transform: translate3d(-18vw, 0, 0) scale(0.9);
  }

  50% {
    transform: translate3d(22vw, -55vh, 0) scale(1.2);
  }

  100% {
    transform: translate3d(-5vw, -18vh, 0) scale(1);
  }

}

/* ===== SEARCH CONTROL FIXES ===== */
.search-box {
  overflow: clip;
  isolation: isolate;
}

.search-input, .search-btn {
  box-shadow: none;
}

.search-btn {
  position: relative;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-left: 1px solid #273435;
  outline: 0;
  line-height: 1;
}

.search-btn::before, .search-btn::after {
  content: none !important;
}

.compact-search .search-input {
  min-height: 42px;
}

/* ===== CATEGORY OVERLAY TOOLS ===== */
.category-overlay-header {
  grid-template-columns: 48px minmax(150px, 1fr) minmax(430px, 620px);
}

.category-overlay-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.category-overlay-search {
  min-width: 0;
}

.category-surprise-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #3a4f50;
  border-radius: 11px;
  background: linear-gradient(145deg, #172122, #11191a);
  color: #dcebec;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-surprise-btn:hover {
  transform: translateY(-1px);
  border-color: #6fb3b8;
  background: #1a2728;
}

.category-surprise-btn .shuffle-icon {
  display: inline-flex;
  color: #aefaff;
  font-size: 18px;
  line-height: 1;
  transform-origin: center;
}

.category-surprise-btn.shuffling .shuffle-icon {
  animation: shuffleSpin 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes shuffleSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(190deg) scale(1.22);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }

}

/* ===== POLISHED SCROLLBARS ===== */
.modal, .category-overlay-body, .prompt-overlay-content, .suggested-wrap {
  scrollbar-width: thin;
  scrollbar-color: #4d7f83 #151b1b;
}

.modal::-webkit-scrollbar, .category-overlay-body::-webkit-scrollbar, .prompt-overlay-content::-webkit-scrollbar, .suggested-wrap::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.modal::-webkit-scrollbar-track, .category-overlay-body::-webkit-scrollbar-track, .prompt-overlay-content::-webkit-scrollbar-track, .suggested-wrap::-webkit-scrollbar-track {
  background: #151b1b;
  border-radius: 999px;
}

.modal::-webkit-scrollbar-thumb, .category-overlay-body::-webkit-scrollbar-thumb, .prompt-overlay-content::-webkit-scrollbar-thumb, .suggested-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #558b8f, #375a5d);
  border: 2px solid #151b1b;
  border-radius: 999px;
}

.modal::-webkit-scrollbar-thumb:hover, .category-overlay-body::-webkit-scrollbar-thumb:hover, .prompt-overlay-content::-webkit-scrollbar-thumb:hover, .suggested-wrap::-webkit-scrollbar-thumb:hover {
  background: #62a0a4;
}

.modal {
  scrollbar-gutter: stable;
}

/* ===== SMALL UX POLISH ===== */
.cat-card, .quick-card, .suggested-card, .prompt-card {
  will-change: transform;
}

.prompt-card-copy, .overlay-back, .prompt-close, .modal-close, .back-to-top {
  -webkit-tap-highlight-color: transparent;
}

.prompt-card:hover .prompt-card-view {
  color: #b5ebef;
}

::selection {
  background: rgba(112,199,205,0.35);
  color: #ffffff;
}

@media (max-width: 1000px) {
  .category-overlay-header {
    grid-template-columns: 48px 1fr;
  }

  .category-overlay-tools {
    grid-column: 1 / -1;
  }

}

@media (max-width: 720px) {
  .category-overlay-tools {
    grid-template-columns: 1fr;
  }

  .category-surprise-btn {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .bg-light::before,   .bg-light::after,   .ambient-orb-c {
    animation: none !important;
  }

  .reveal,   .header,   .prompt-overlay-content,   .category-surprise-btn,   .cat-card,   .quick-card,   .suggested-card,   .prompt-card {
    transition-duration: 0.01ms !important;
  }

}


/* =========================================================
   AI PLATFORM RECOMMENDATIONS
   ========================================================= */

.ai-platforms {
  margin-top: 72px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}

.section-kicker,
.prompt-ai-kicker {
  display: block;
  margin-bottom: 8px;
  color: #8bf3fa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-heading-row .section-title {
  margin-bottom: 0;
}

.section-note {
  max-width: 430px;
  color: #737373;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.ai-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-platform-card {
  position: relative;
  min-height: 245px;
  padding: 22px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.025), transparent 48%),
    #141414;
  border: 1px solid #292929;
  border-radius: 18px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ai-platform-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -90px;
  right: -70px;
  border-radius: 50%;
  background: rgba(58,225,237,0.16);
  filter: blur(30px);
  pointer-events: none;
}

.ai-platform-card:hover {
  transform: translateY(-5px);
  border-color: #3b6669;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.ai-platform-card.recommended {
  border-color: rgba(92,236,246,0.55);
  box-shadow: inset 0 0 35px rgba(58,225,237,0.055);
}

.ai-platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}

.ai-platform-icon {
  font-size: 22px;
}

.ai-platform-badge {
  padding: 5px 9px;
  color: #a2e3e8;
  font-size: 10px;
  font-weight: 700;
  background: rgba(58,225,237,0.09);
  border: 1px solid rgba(92,236,246,0.22);
  border-radius: 999px;
}

.ai-platform-card h3 {
  margin-bottom: 7px;
  color: #f5f5f5;
  font-size: 17px;
}

.ai-platform-card strong {
  display: block;
  margin-bottom: 11px;
  color: #8bf3fa;
  font-size: 13px;
}

.ai-platform-card p {
  color: #777;
  font-size: 12px;
  line-height: 1.65;
}

.ai-platform-link {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: #d4d4d4;
  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   PROMPT DETAIL - AI LAUNCHER
   ========================================================= */

.prompt-ai-launcher {
  margin-top: 20px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(58,225,237,0.07), transparent 55%),
    #111111;
  border: 1px solid #292929;
  border-radius: 16px;
}

.prompt-ai-launcher-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.prompt-ai-launcher-head h3 {
  color: #f5f5f5;
  font-size: 15px;
  font-weight: 650;
}

.prompt-ai-hint {
  color: #686868;
  font-size: 10px;
  white-space: nowrap;
}

.prompt-ai-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.prompt-ai-btn {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #d4d4d4;
  background: #171717;
  border: 1px solid #303030;
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.prompt-ai-btn:hover {
  transform: translateY(-2px);
  background: #1b1b1b;
  border-color: #3b6669;
}

.prompt-ai-btn.recommended {
  background: rgba(58,225,237,0.08);
  border-color: rgba(92,236,246,0.4);
}

.prompt-ai-btn-icon {
  font-size: 17px;
}

.prompt-ai-btn small,
.prompt-ai-btn strong {
  display: block;
}

.prompt-ai-btn small {
  margin-bottom: 2px;
  color: #737373;
  font-size: 9px;
}

.prompt-ai-btn strong {
  overflow: hidden;
  color: #eeeeee;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-ai-arrow {
  color: #777;
  font-size: 12px;
}

.prompt-ai-note {
  margin-top: 10px;
  color: #5f5f5f;
  font-size: 10px;
  line-height: 1.5;
}


/* =========================================================
   AI PLATFORM RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .ai-platform-grid {
    grid-template-columns: 1fr;
  }

  .ai-platform-card {
    min-height: 210px;
  }

  .prompt-ai-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .section-heading-row,
  .prompt-ai-launcher-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-note {
    text-align: left;
  }

  .prompt-ai-hint {
    white-space: normal;
  }
}


/* =========================================================
   PROMPT TEXT EXPAND / COLLAPSE
   ========================================================= */

.prompt-full-text {
  position: relative;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.prompt-full-text.collapsed {
  max-height: 260px;
}

.prompt-full-text.expanded {
  max-height: 5000px;
}

.prompt-full-text.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(11,16,16,0),
    #0b1010 88%
  );
}

.prompt-expand-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 13px;
  color: #819596;
  background: #0b1010;
  border: 0;
  border-top: 1px solid #202a2b;
  cursor: pointer;
  font: inherit;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.prompt-expand-toggle:hover {
  color: #a2e3e8;
  background: #0e1414;
}

.prompt-expand-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(
    90deg,
    transparent,
    #2a3738
  );
}

.prompt-expand-line:last-child {
  background: linear-gradient(
    90deg,
    #2a3738,
    transparent
  );
}

.prompt-expand-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.prompt-expand-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.prompt-expand-toggle[aria-expanded="true"] .prompt-expand-arrow {
  transform: rotate(180deg) translateY(1px);
}

@media (max-width: 650px) {
  .prompt-full-text.collapsed {
    max-height: 225px;
  }

  .prompt-expand-toggle {
    padding-left: 11px;
    padding-right: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prompt-full-text,
  .prompt-expand-arrow {
    transition: none;
  }
}


/* =========================================================
   PROMPT DETAIL - INDEPENDENT RIGHT-SIDE EXPANSION
   ========================================================= */

/*
  The before/after result preview on the left keeps a fixed visual
  height. Expanding a long prompt only increases the right column.
*/

.prompt-detail-grid {
  align-items: start;
}

.prompt-result {
  align-self: start;
  height: 100%;
  max-height: 560px;
}

.result-stage {
  height: 100%;
  min-height: 0;
  max-height: 560px;
  overflow: hidden;
}

.result-placeholder {
  height: 100%;
  min-height: 0;
}

.prompt-copy-side {
  min-width: 0;
  align-self: start;
}

/*
  When the prompt expands, do not stretch the grid's left item.
  The right side is free to become taller on its own.
*/
.prompt-full-text.expanded {
  max-height: 5000px;
}

/* Mobile returns to the normal stacked layout. */
@media (max-width: 900px) {
  .prompt-result,
  .result-stage {
    height: auto;
    max-height: none;
  }

  .result-stage {
    min-height: 310px;
  }
}


/* =========================================================
   V4.4 - LOCKED RESULT PREVIEW / INDEPENDENT PROMPT COLUMN
   ========================================================= */

@media (min-width: 901px) {
  .prompt-detail-grid {
    align-items: start !important;
  }

  .prompt-detail-grid > * {
    align-self: start !important;
  }

  .prompt-result {
    height: 560px !important;
    min-height: 560px !important;
    max-height: 560px !important;
    overflow: hidden;
  }

  .prompt-result .result-stage {
    height: calc(100% - 0px) !important;
    min-height: 0 !important;
    max-height: 560px !important;
    overflow: hidden;
  }

  .prompt-result .result-placeholder {
    height: 100% !important;
    min-height: 0 !important;
  }

  .prompt-copy-side {
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
  }
}


/* =========================================================
   V4.5 - FIXED LEFT PREVIEW / INDEPENDENT RIGHT EXPANSION
   ========================================================= */

@media (min-width: 1001px) {
  .prompt-detail-layout {
    align-items: start !important;
  }

  .result-preview {
    align-self: start !important;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    overflow: hidden !important;
  }

  .result-preview .preview-placeholder {
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    overflow: hidden !important;
  }

  .prompt-detail-copy-area {
    align-self: start !important;
    min-height: 0 !important;
    height: auto !important;
  }
}


/* =========================================================
   V4.6 - NO MODAL SCROLL UNTIL "SHOW MORE"
   ========================================================= */

@media (min-width: 1001px) {
  .prompt-overlay-content.prompt-collapsed {
    overflow-y: hidden !important;
  }

  .prompt-overlay-content.prompt-expanded {
    overflow-y: auto !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-detail-layout {
    align-items: start !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-full-text {
    max-height: 190px !important;
  }

  .prompt-overlay-content.prompt-collapsed .result-preview,
  .prompt-overlay-content.prompt-collapsed .preview-placeholder {
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-ai-launcher {
    margin-top: 14px;
  }
}


/* =========================================================
   V4.7 - KEEP "READY TO TRY IT?" FULLY VISIBLE
   ========================================================= */

@media (min-width: 1001px) {
  .prompt-overlay-content.prompt-collapsed {
    overflow-y: hidden !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-full-text {
    max-height: 145px !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-ai-launcher {
    margin-top: 10px !important;
    padding: 13px !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-ai-launcher-head {
    margin-bottom: 9px !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-ai-buttons {
    gap: 7px !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-ai-btn {
    padding: 9px 10px !important;
  }

  .prompt-overlay-content.prompt-collapsed .prompt-ai-note {
    margin-top: 7px !important;
  }

  .prompt-overlay-content.prompt-collapsed .result-preview,
  .prompt-overlay-content.prompt-collapsed .preview-placeholder {
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
  }
}


/* =========================================================
   V4.8 - REAL PROMPT RESULT IMAGES
   ========================================================= */

.result-preview {
  position: relative;
}

.prompt-result-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #0d1415;
}

.prompt-result-image[hidden] {
  display: none !important;
}

.result-preview.has-result .preview-placeholder {
  display: none;
}

.result-preview.has-result .preview-badge {
  z-index: 2;
}

/* =========================================================
   PROMPT PLACEHOLDER GUIDANCE
   ========================================================= */

.prompt-input-note {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 14px;
  margin-top:12px;
  border:1px solid rgba(142,247,255,.32);
  border-radius:12px;
  background:linear-gradient(110deg,rgba(142,247,255,.10),rgba(17,24,24,.82));
}

.prompt-input-note[hidden] {
  display:none !important;
}

.prompt-input-note-copy {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}

.prompt-input-note-icon {
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:grid;
  place-items:center;
  border:1px solid rgba(142,247,255,.32);
  border-radius:8px;
  color:#cbfcff;
  background:rgba(142,247,255,.10);
}

.prompt-input-note strong {
  display:block;
  margin-bottom:3px;
  font-size:12px;
  color:#e7fdff;
}

.prompt-input-note small {
  display:block;
  color:#8fa8aa;
  font-size:11px;
  line-height:1.45;
}

.prompt-input-jump {
  flex:0 0 auto;
  border:1px solid #3a6164;
  border-radius:8px;
  padding:8px 10px;
  background:#172a2b;
  color:#bdfbff;
  font-size:11px;
  font-weight:750;
  cursor:pointer;
  transition:.18s ease;
}

.prompt-input-jump:hover {
  color:#F5F7F6;
  border-color:#68b0b5;
  background:#1d3638;
}

.prompt-placeholder {
  display:inline;
  padding:1px 4px;
  border:1px solid rgba(142,247,255,.48);
  border-radius:5px;
  background:rgba(142,247,255,.20);
  color:#dcfdff;
  font-weight:800;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}

@keyframes promptPlaceholderPulse {
  0%,100% { box-shadow:0 0 0 0 rgba(142,247,255,0); }
  35% { box-shadow:0 0 0 5px rgba(142,247,255,.18),0 0 22px rgba(142,247,255,.25); }
}

.prompt-placeholder-pulse {
  animation:promptPlaceholderPulse 1.15s ease;
}

@media (max-width: 620px) {
  .prompt-input-note {
    align-items:flex-start;
    flex-direction:column;
  }

  .prompt-input-jump {
    width:100%;
  }
}

/* =========================================================
   PERSONALIZATION NOTE — UNDER RESULT IMAGE
   ========================================================= */

.prompt-detail-layout > .prompt-input-note {
  grid-column:1;
  grid-row:2;
  width:100%;
  margin-top:0;
  align-self:start;
}

/* Preserve the existing right-side panel size/layout. */
.prompt-detail-copy-area {
  grid-column:2;
  grid-row:1 / span 2;
  min-width:0;
}

/* =========================================================
   DEVELOPER TEST RATINGS
   ========================================================= */

.prompt-rating {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:max-content;
  white-space:nowrap;
  border-radius:999px;
  padding:5px 8px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.01em;
  line-height:1;
}

.prompt-rating.is-untested {
  color:#859899;
  background:#171f20;
  border:1px solid #2a3839;
}

.prompt-rating.is-tested {
  color:#dcfdff;
  background:rgba(142,247,255,.11);
  border:1px solid rgba(142,247,255,.34);
}

.prompt-rating.needs-fix {
  color:#ffb2b8;
  border-color:rgba(255,91,105,.48);
  background:rgba(104,24,34,.28);
}

.prompt-rating-star {
  color:#b9faff;
  font-size:10px;
}

.suggested-card-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.suggested-card-top .suggested-category {
  margin-bottom:0;
}

.prompt-card-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
  padding-top:8px;
}

.prompt-card-footer .prompt-card-view {
  margin-top:0;
  padding-top:0;
  text-align:right;
}

.prompt-detail-meta {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  width:100%;
}

.prompt-detail-meta .prompt-detail-tags {
  flex:1 1 auto;
  min-width:0;
}

.prompt-rating-detail {
  flex:0 0 auto;
  margin-left:auto;
  padding:6px 10px;
  font-size:11px;
}

@media (max-width: 620px) {
  .prompt-detail-meta {
    gap:10px;
  }

  .prompt-rating-detail {
    padding:5px 8px;
    font-size:10px;
  }

  .prompt-card-footer {
    align-items:flex-end;
  }
}


/* Keep the detail rating clear of the modal close button. */
.prompt-rating-detail {
  margin-right: 34px;
}


/* Give the Ctrl K shortcut more breathing room before the Search divider. */
.search-shortcut {
  margin-right: 8px;
}

/* =========================================================
   DEVELOPER RATING TOOLTIP
   ========================================================= */

.prompt-rating[data-rating-tooltip] {
  position:relative;
  cursor:help;
}

.prompt-rating[data-rating-tooltip]::after {
  content:attr(data-rating-tooltip);
  position:absolute;
  z-index:10000;
  left:50%;
  top:calc(100% + 9px);
  width:230px;
  padding:9px 11px;
  border:1px solid #304344;
  border-radius:9px;
  background:#111b1c;
  color:#b8cbcc;
  box-shadow:0 10px 30px rgba(0,0,0,.38);
  font-size:10px;
  font-weight:500;
  line-height:1.45;
  letter-spacing:0;
  white-space:normal;
  text-align:left;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,-4px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}

.prompt-rating[data-rating-tooltip]::before {
  content:"";
  position:absolute;
  z-index:10001;
  left:50%;
  top:calc(100% + 4px);
  width:8px;
  height:8px;
  border-left:1px solid #304344;
  border-top:1px solid #304344;
  background:#111b1c;
  opacity:0;
  visibility:hidden;
  transform:translateX(-50%) rotate(45deg);
  transition:opacity .16s ease,visibility .16s ease;
}

.prompt-rating[data-rating-tooltip]:hover::after,
.prompt-rating[data-rating-tooltip]:focus-visible::after,
.prompt-rating[data-rating-tooltip]:hover::before,
.prompt-rating[data-rating-tooltip]:focus-visible::before {
  opacity:1;
  visibility:visible;
}

.prompt-rating[data-rating-tooltip]:hover::after,
.prompt-rating[data-rating-tooltip]:focus-visible::after {
  transform:translate(-50%,0);
}

/* The opened-prompt rating sits near the right edge, so keep its tooltip inside the modal. */
.prompt-rating-detail[data-rating-tooltip]::after {
  left:auto;
  right:0;
  transform:translateY(-4px);
}

.prompt-rating-detail[data-rating-tooltip]:hover::after,
.prompt-rating-detail[data-rating-tooltip]:focus-visible::after {
  transform:translateY(0);
}

.prompt-rating-detail[data-rating-tooltip]::before {
  left:auto;
  right:18px;
  transform:rotate(45deg);
}

@media (max-width:620px) {
  .prompt-rating[data-rating-tooltip]::after {
    width:200px;
  }
}

/* =========================================================
   V5.6 - GENTLE RESULT STRETCH
   Equal padding + mild controlled stretch so smaller images
   occupy more of the preview without looking heavily distorted.
   ========================================================= */

.result-preview.has-result {
  height: 380px !important;
  min-height: 380px !important;
  max-height: 380px !important;

  /* Equal on ALL four sides */
  padding: 10px !important;
  box-sizing: border-box !important;

  background: #000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.result-preview.has-result .prompt-result-image {
  /*
   * Mild stretch only:
   * width gets a little more help than height.
   * This fills empty side space without the extreme distortion
   * of the earlier object-fit: fill version.
   */
  width: 100% !important;
  height: 96% !important;

  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 96% !important;

  object-fit: fill !important;
  object-position: center !important;

  display: block !important;
  background: #000 !important;
  border-radius: 9px;
}

.result-preview.has-result .preview-badge {
  z-index: 3;
}

@media (min-width: 1001px) {
  .prompt-overlay-content .result-preview.has-result,
  .prompt-overlay-content.prompt-collapsed .result-preview.has-result,
  .prompt-overlay-content.prompt-expanded .result-preview.has-result {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    padding: 10px !important;
  }
}

@media (max-width: 1000px) {
  .result-preview.has-result {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
    padding: 9px !important;
  }

  .result-preview.has-result .prompt-result-image {
    width: 100% !important;
    height: 96% !important;
    max-width: 100% !important;
    max-height: 96% !important;
  }
}

@media (max-width: 620px) {
  .result-preview.has-result {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    padding: 8px !important;
  }

  .result-preview.has-result .prompt-result-image {
    width: 100% !important;
    height: 97% !important;
    max-width: 100% !important;
    max-height: 97% !important;
  }
}

/* ===== SUBTLE VIOLET MOUSE GLOW ===== */
.mouse-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(103,245,255,.18) 0%, rgba(103,245,255,.09) 34%, rgba(103,245,255,.035) 56%, transparent 74%);
  filter: blur(24px);
  transition: opacity .22s ease;
  will-change: transform, opacity;
}

@media (pointer: coarse) {
  .mouse-glow { display: none; }
}

/* ===== RATING TOOLTIP STACKING FIX ===== */
.suggested-card:hover,
.suggested-card:focus-within,
.prompt-card:hover,
.prompt-card:focus-within {
  position: relative;
  z-index: 100;
}

.prompt-rating[data-rating-tooltip] {
  position: relative;
  z-index: 101;
}

.prompt-rating[data-rating-tooltip]::after {
  z-index: 10000;
}

.prompt-rating[data-rating-tooltip]::before {
  z-index: 10001;
}


/* =========================================================
   SMALL PHONE LAYOUT FIX
   Keeps header actions on-screen and AI section text contained.
   ========================================================= */

@media (max-width: 520px) {
  .header {
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    padding: 9px 8px !important;
    gap: 6px !important;
  }

  .logo,
  .search-wrap,
  .search-box {
    min-width: 0 !important;
  }

  .logo-mark {
    width: 30px !important;
    height: 30px !important;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 4px !important;
    min-width: 0;
  }

  .suggest-btn,
  .howto-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex: 0 0 32px;
  }

  .search-input {
    min-width: 0 !important;
    width: 100% !important;
    padding-left: 6px !important;
    padding-right: 5px !important;
  }

  .search-leading {
    width: 15px !important;
    height: 15px !important;
    margin-left: 8px !important;
  }

  .ai-platforms .section-heading-row {
    width: 100%;
    min-width: 0;
    align-items: flex-start !important;
  }

  .ai-platforms .section-heading-row > div,
  .ai-platforms .section-title,
  .ai-platforms .section-note {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .ai-platforms .section-title {
    font-size: 22px !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .ai-platforms .section-note {
    display: block !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }

  .ai-platform-card {
    min-width: 0;
    overflow: hidden;
  }
}

@media (max-width: 360px) {
  .header {
    padding-left: 6px !important;
    padding-right: 6px !important;
    gap: 4px !important;
  }

  .suggest-btn,
  .howto-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    flex-basis: 30px;
  }

  .search-leading {
    display: none;
  }

  .ai-platforms .section-title {
    font-size: 20px !important;
  }
}


/* =========================================================
   AI CARDS — SMALL SCREEN CONTENT FIX
   Prevents the description/link from overlapping or being cut.
   ========================================================= */
@media (max-width: 650px) {
  .ai-platform-card {
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    padding: 22px !important;
    overflow: hidden;
  }

  .ai-platform-top {
    margin-bottom: 24px;
  }

  .ai-platform-card p {
    margin-bottom: 16px;
  }

  .ai-platform-link {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    display: inline-block;
    margin-top: auto;
    padding-top: 2px;
  }
}


/* =========================================================
   PROMPT RESULT — MOBILE ORDER FIX
   Put the result image above the prompt/result text on phones.
   ========================================================= */
@media (max-width: 720px) {
  .prompt-modal-content,
  .prompt-result-content,
  .prompt-detail-content,
  .result-content {
    display: flex !important;
    flex-direction: column !important;
  }

  .prompt-modal-image,
  .prompt-result-image,
  .prompt-detail-image,
  .result-image,
  .preview-image-wrap,
  .result-preview {
    order: -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .prompt-modal-image img,
  .prompt-result-image img,
  .prompt-detail-image img,
  .result-image img,
  .preview-image-wrap img,
  .result-preview img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
  }
}


/* =========================================================
   PROMPT MODAL — TRUE PHONE STACK
   Order on phones:
   1) result image
   2) category/tags/rating ("type thingy")
   3) title + description + preservation + prompt
   ========================================================= */
@media (max-width: 720px) {
  .prompt-overlay {
    padding: 10px !important;
    align-items: flex-start !important;
  }

  .prompt-overlay-content {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
  }

  /* This is the real parent shown in the screenshot. */
  .prompt-detail-layout,
  .prompt-detail-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    width: 100% !important;
  }

  /* Entire preview/result block first. */
  .prompt-result,
  .result-stage,
  .result-preview {
    order: -20 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
  }

  .result-stage {
    min-height: 0 !important;
    height: auto !important;
  }

  .result-preview.has-result {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 8px !important;
    aspect-ratio: auto !important;
  }

  .result-preview.has-result .prompt-result-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  /* Text/details become full width below the image. */
  .prompt-copy-side {
    order: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Category + tags + rating/type row goes at the TOP of text. */
  .prompt-detail-meta {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .prompt-detail-meta .prompt-detail-tags {
    display: flex !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
  }

  .prompt-rating-detail {
    margin-left: 0 !important;
  }

  .prompt-close {
    position: sticky !important;
    float: right;
    margin-left: auto;
    top: 0 !important;
    right: 0 !important;
    z-index: 20 !important;
  }
}

/* ===== SEARCH FOCUS LINES FIX =====
   Keep the search control clean while typing:
   no blue focus ring/vertical focus outlines inside the bar.
*/
.search-box:focus-within {
  border-color: #293738 !important;
  box-shadow: none !important;
  outline: none !important;
}

.search-box .search-input,
.search-box .search-input:focus,
.search-box .search-input:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.search-box .search-shortcut,
.search-box .search-shortcut:focus,
.search-box .search-shortcut:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

.search-box .search-btn,
.search-box .search-btn:focus,
.search-box .search-btn:focus-visible {
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* Preserve only the normal separator before Search. */
.search-box .search-btn {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 1px solid #273435 !important;
}



/* ===== FEATURED EDITS REFRESH ===== */
.featured-refresh {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .78;
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

.featured-refresh span {
  font-size: 16px;
  line-height: 1;
  transition: transform .25s ease;
}

.featured-refresh:hover {
  color: var(--text);
  opacity: 1;
}

.featured-refresh:hover span {
  transform: rotate(90deg);
}

.featured-refresh:active {
  transform: translateY(1px);
}

.featured-refresh:focus,
.featured-refresh:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 520px) {
  .featured-refresh {
    font-size: 12px;
  }
}

/* ===== FEATURED REFRESH CLICK/HOVER FIX =====
   Prevent decorative card glow from stealing pointer events
   and keep the section header controls above featured cards.
*/
.suggested-card::before {
  pointer-events: none !important;
}

#suggestedSection .section-heading-row {
  position: relative;
  z-index: 200;
}

.featured-refresh {
  position: relative;
  z-index: 201;
  pointer-events: auto;
}

/* ===== HIGH-RATED PROMPTS =====
   Ratings of 8.5/10+ get a small fire mark.
*/
.prompt-rating.is-hot {
  gap: 4px;
}

.prompt-rating-fire {
  display: inline-block;
  margin-left: 2px;
  font-size: 12px;
  line-height: 1;
  transform: translateY(-1px);
  filter: saturate(.9);
}

.prompt-rating-detail .prompt-rating-fire {
  font-size: 13px;
}

/* ===== PROMPTBX VECTOR ICONS ===== */
.promptbx-svg-icon {
  display:block;
  width:1em;
  height:1em;
  flex:0 0 auto;
  overflow:visible;
}

.cat-card .icon.promptbx-icon-wrap {
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border:1px solid rgba(132,247,255,.25);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(72,196,205,.2),rgba(21,33,34,.94));
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 12px 30px rgba(17,67,71,.18);
  color:#adfaff;
  font-size:0;
}

.cat-card .icon .promptbx-svg-icon {
  width:24px;
  height:24px;
  filter:drop-shadow(0 4px 9px rgba(87,225,235,.3));
}

.prompt-rating-fire,
.prompt-rating-wrench {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:14px;
  height:14px;
  margin-left:2px;
  font-size:14px;
  line-height:1;
}

.prompt-rating-fire {
  color:#43f2ff;
  filter:drop-shadow(0 0 5px rgba(41,241,255,.42));
  transform:translateY(-1px);
}

.prompt-rating-wrench {
  color:#ff8f9a;
}

/* ===== SUGGESTION TAG CHIPS ===== */
.suggest-tag-chips {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 8px;
}

.suggest-tag-chips[hidden] {
  display:none;
}

.suggest-tag-chip {
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  padding:6px 8px 6px 10px;
  border:1px solid #304546;
  border-radius:8px;
  background:#182324;
  color:#cbdedf;
  font-size:11px;
  line-height:1;
}

.suggest-tag-chip > span {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.suggest-tag-remove {
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
  border:0;
  border-radius:5px;
  background:#243435;
  color:#8fa5a7;
  cursor:pointer;
  font-size:15px;
  line-height:1;
  transition:.18s;
}

.suggest-tag-remove:hover {
  background:#304344;
  color:#F5F7F6;
}

.suggest-tag-entry {
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
  align-items:stretch;
}

.form-group .suggest-tag-entry input {
  min-width:0;
}

.suggest-tag-add {
  border:1px solid #304546;
  border-radius:10px;
  background:#182324;
  color:#b8ced0;
  padding:0 13px;
  cursor:pointer;
  font-size:11px;
  font-weight:700;
  transition:.18s;
}

.suggest-tag-add:hover {
  border-color:#56787a;
  background:#202d2e;
  color:#F5F7F6;
}

/* ===== HERO TUTORIAL DISCOVERY ===== */
.hero-tutorial-link {
  width:max-content;
  max-width:100%;
  margin:14px auto 0;
  padding:7px 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid transparent;
  border-radius:999px;
  color:#74898b;
  font-size:11px;
  text-decoration:none;
  transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease;
}

.hero-tutorial-link > span {
  color:#687d7e;
}

.hero-tutorial-link strong {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#a9e9ee;
  font-weight:760;
}

.hero-tutorial-play {
  width:19px;
  height:19px;
  display:inline-grid;
  place-items:center;
  border:1px solid rgba(169,233,238,.3);
  border-radius:50%;
  background:rgba(105,210,217,.1);
  font-size:7px;
  line-height:1;
  transition:transform .18s ease,box-shadow .18s ease;
}

.hero-tutorial-link:hover,
.hero-tutorial-link:focus-visible {
  border-color:rgba(155,225,230,.16);
  background:rgba(104,198,205,.07);
  color:#dce9ea;
  outline:none;
  transform:translateY(-1px);
}

.hero-tutorial-link:hover strong,
.hero-tutorial-link:focus-visible strong {
  color:#d3fcff;
}

.hero-tutorial-link:hover .hero-tutorial-play,
.hero-tutorial-link:focus-visible .hero-tutorial-play {
  transform:scale(1.08);
  box-shadow:0 0 18px rgba(111,223,231,.22);
}

@media (max-width:520px) {
  .hero-tutorial-link {
    margin-top:12px;
    padding-inline:7px;
    gap:6px;
    flex-wrap:wrap;
  }
}

/* ===== QUICK START SHOW MORE ===== */
.quick-show-more-wrap {
  display:flex;
  justify-content:center;
  margin-top:18px;
}

.quick-show-more-wrap[hidden] {
  display:none;
}

.quick-show-more-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:132px;
  padding:10px 16px;
  font-size:12px;
}

.quick-show-more-arrow {
  display:inline-block;
  font-size:15px;
  line-height:1;
  transition:transform .2s ease;
}

.quick-card.quick-card-extra {
  display:none;
}


.quick-library-cta-wrap {
  display:flex;
  justify-content:center;
  margin-top:10px;
}

.quick-library-cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 18px;
  font-size:12px;
}

.quick-library-cta span {
  font-size:14px;
  transition:transform .18s ease;
}

.quick-library-cta:hover span {
  transform:translateX(3px);
}


.footer-version {
  display:inline-block;
  margin-left:7px;
  color:#698082;
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
  vertical-align:middle;
}

/* ===== BACKEND-CONNECTED SUGGESTION FORM ===== */
.submit-btn:disabled {
  cursor:not-allowed;
  opacity:.68;
  transform:none;
  filter:none;
}

.submit-btn.is-loading {
  position:relative;
  pointer-events:none;
}

.submit-btn.is-loading::after {
  content:"";
  width:13px;
  height:13px;
  display:inline-block;
  margin-left:9px;
  vertical-align:-2px;
  border:2px solid rgba(10,17,17,.28);
  border-top-color:#0b1111;
  border-radius:50%;
  animation:suggestSubmitSpin .7s linear infinite;
}

@keyframes suggestSubmitSpin {
  to { transform:rotate(360deg); }
}

.form-footnote.is-success {
  color:var(--success);
}

.form-footnote.is-error {
  color:#ef9a9a;
}

.form-footnote.is-info {
  color:#aeecf0;
}

/* ===== LAUNCH HARDENING / ACCESSIBILITY ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline:2px solid var(--accent2);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior:auto;
  }
}


/* ============================================================
   MOBILE FOOTER RESPONSIVENESS
   Prevents long policy links from widening/cutting the viewport.
   ============================================================ */
.footer,
.footer-brand,
.footer-links,
.footer-text {
  min-width:0;
  max-width:100%;
}

@media (max-width:700px) {
  .footer {
    width:100%;
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    padding-left:0;
    padding-right:0;
  }

  .footer-brand {
    width:100%;
  }

  .footer-links {
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
    row-gap:9px;
    column-gap:8px;
  }

  .footer-links a {
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .footer-text {
    width:100%;
    overflow-wrap:anywhere;
  }
}

@media (max-width:520px) {
  .footer-links {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px 12px;
    align-items:start;
  }

  .footer-links span {
    display:none;
  }

  .footer-links a {
    display:block;
    width:100%;
    padding:4px 0;
    line-height:1.35;
  }
}

@media (max-width:340px) {
  .footer-links {
    grid-template-columns:minmax(0,1fr);
  }
}

/* =========================================================
   RATING TOOLTIP — OPEN TO THE RIGHT
   Anchor the tooltip's LEFT edge to the badge so the box
   extends toward the right instead of toward the left.
   ========================================================= */
.prompt-rating[data-rating-tooltip]::after,
.prompt-rating-detail[data-rating-tooltip]::after {
  left: 0 !important;
  right: auto !important;
  width: 230px;
  max-width: calc(100vw - 24px);
  transform: translateY(-4px) !important;
}

.prompt-rating[data-rating-tooltip]:hover::after,
.prompt-rating[data-rating-tooltip]:focus-visible::after,
.prompt-rating-detail[data-rating-tooltip]:hover::after,
.prompt-rating-detail[data-rating-tooltip]:focus-visible::after {
  transform: translateY(0) !important;
}

.prompt-rating[data-rating-tooltip]::before,
.prompt-rating-detail[data-rating-tooltip]::before {
  left: 18px !important;
  right: auto !important;
  transform: rotate(45deg) !important;
}

@media (max-width: 620px) {
  .prompt-rating[data-rating-tooltip]::after,
  .prompt-rating-detail[data-rating-tooltip]::after {
    width: min(200px, calc(100vw - 24px));
  }
}


/* ===== V1.0.1 CONTACT / SUPPORT SWITCHER ===== */
.contact-modal{
  width:min(680px,100%)
}

.contact-type-bar{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0 0 20px;
  padding:3px;
  overflow:hidden;
  background:#0b1111;
  border:1px solid #293738;
  border-radius:12px
}

.contact-type-tab{
  min-width:0;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:9px 8px;
  color:#7f9293;
  background:transparent;
  border:0;
  border-right:1px solid #233031;
  cursor:pointer;
  transition:background .18s,border-color .18s,color .18s,box-shadow .18s
}

.contact-type-tab:last-child{
  border-right:0
}

.contact-type-tab span{
  flex:0 0 auto;
  color:#687b7c;
  font-size:13px
}

.contact-type-tab strong{
  min-width:0;
  font-size:10px;
  line-height:1.25;
  text-align:center
}

.contact-type-tab:hover{
  color:#d9e3e4;
  background:#12191a
}

.contact-type-tab.active{
  color:#f4f9f9;
  background:#1a2425;
  box-shadow:inset 0 0 0 1px #344647
}

.contact-type-tab.active span{
  color:#f4f9f9
}

.contact-type-tab:focus-visible{
  position:relative;
  z-index:2;
  outline:2px solid #7ec5ca;
  outline-offset:-2px
}

.contact-panel{
  display:none
}

.contact-panel.active{
  display:block
}

.contact-panel[hidden]{
  display:none!important
}

.contact-name-email{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}

.contact-name-email .form-group{
  margin-bottom:14px
}

@media(max-width:700px){
  .contact-modal{
    padding:20px
  }

  .contact-type-bar{
    grid-template-columns:1fr 1fr
  }

  .contact-type-tab{
    min-height:54px;
    border-right:1px solid #233031;
    border-bottom:1px solid #233031
  }

  .contact-type-tab:nth-child(2n){
    border-right:0
  }

  .contact-type-tab:nth-last-child(-n+2){
    border-bottom:0
  }

  .contact-name-email{
    grid-template-columns:1fr;
    gap:0
  }
}

/* ===== V1.0.1 PROMPT-RELATED SUBTYPE SWITCHER ===== */
.prompt-related-switch{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:0 0 18px;
  padding:4px;
  background:#0b1111;
  border:1px solid #293738;
  border-radius:11px
}
.prompt-related-tab{
  min-height:44px;
  padding:9px 12px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:#8da0a1;
  font:inherit;
  font-size:12px;
  font-weight:700;
  cursor:pointer
}
.prompt-related-tab:hover{background:#12191a;color:#d9e3e4}
.prompt-related-tab.active{background:#1a2425;color:#f4f9f9;border-color:#344647}
.prompt-related-tab:focus-visible{outline:2px solid #7ec5ca;outline-offset:2px}
#promptBugPanel[hidden],#promptSuggestionPanel[hidden]{display:none!important}
@media(max-width:520px){.prompt-related-switch{grid-template-columns:1fr}.prompt-related-tab{min-height:42px}}


/* =========================================================
   V1.0.1 RESPONSIVE OVERFLOW FIX
   - Tablet header / Contact Us no longer exceeds viewport
   - Prompt detail modal cannot create horizontal page scroll
   ========================================================= */

/* Grid/flex children must be allowed to shrink inside the viewport. */
.header,
.search-wrap,
.search-box,
.header-actions,
.prompt-overlay,
.prompt-overlay-content,
.prompt-detail-layout,
.prompt-detail-grid,
.prompt-detail-layout > *,
.prompt-detail-grid > *,
.prompt-copy-side,
.prompt-detail-copy-area,
.prompt-detail-meta,
.prompt-full-box,
.prompt-ai-launcher,
.prompt-ai-launcher-head,
.prompt-ai-buttons {
  min-width: 0;
  max-width: 100%;
}

/* Keep prompt-modal scrolling vertical only; content itself wraps/shrinks. */
.prompt-overlay-content {
  overflow-x: hidden;
}

.prompt-full-text,
.prompt-detail-desc,
.prompt-detail-title,
.prompt-ai-note,
.prompt-ai-hint,
.prompt-detail-tags,
.prompt-detail-tags .tag {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prompt-detail-layout,
.prompt-detail-grid {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

/* Tablet header: keep the search flexible and compact the two actions
   before the phone breakpoint is reached. */
@media (max-width: 1000px) and (min-width: 721px) {
  .header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-left: 18px;
    padding-right: 18px;
    gap: 12px;
  }

  .logo span:last-child {
    display: none;
  }

  .search-wrap,
  .search-box {
    min-width: 0;
    width: 100%;
  }

  .header-actions {
    min-width: 0;
    gap: 6px;
  }

  .suggest-btn,
  .howto-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    font-size: 0;
  }

  .howto-btn::after {
    content: "?";
    font-size: 16px;
    font-weight: 800;
  }

  .suggest-btn::after {
    content: "+";
    font-size: 18px;
    font-weight: 800;
  }
}

/* =========================================================
   V1.2.0 — FUTURISTIC SEARCH-FIRST HOMEPAGE
   Final scoped overrides preserve the existing cards, overlays,
   search ranking, filters, menu, consent UI, and server placeholders.
   ========================================================= */

.sr-only {
  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;
}

.home-header {
  grid-template-columns:minmax(0,1fr) auto;
  min-height:76px;
  padding:14px clamp(18px,3vw,48px);
  background:
    linear-gradient(112deg,rgba(255,255,255,.065),rgba(255,255,255,.012) 34%,rgba(178,250,255,.035) 58%,rgba(255,255,255,.01) 82%),
    rgba(7,12,12,.5);
  border-bottom-color:rgba(255,255,255,.12);
  box-shadow:
    0 18px 55px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.11),
    inset 0 -1px 0 rgba(255,255,255,.025);
  backdrop-filter:blur(34px) saturate(160%) contrast(106%);
  -webkit-backdrop-filter:blur(34px) saturate(160%) contrast(106%);
}

.home-header .logo {
  justify-self:start;
}

.home-header .header-actions {
  justify-self:end;
}

.header-browse-btn {
  justify-self:center;
  min-height:40px;
  padding:0 17px;
  border:1px solid rgba(145,248,255,.2);
  border-radius:999px;
  background:rgba(18,27,28,.72);
  color:#c5d7d8;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease;
}

.header-browse-btn:hover,
.header-browse-btn:focus-visible {
  transform:translateY(-1px);
  border-color:rgba(151,248,255,.55);
  background:rgba(75,205,214,.16);
  color:#F5F7F6;
  outline:none;
}

.content {
  padding-top:76px;
}

.hero-command {
  position:relative;
  isolation:isolate;
  min-height:calc(100svh - 76px);
  padding:clamp(72px,9vh,116px) 20px 70px;
  overflow:hidden;
}

.hero-atmosphere {
  position:absolute;
  inset:0 50% auto;
  z-index:-1;
  width:min(1120px,100vw);
  height:700px;
  transform:translateX(-50%);
  pointer-events:none;
  overflow:visible;
  -webkit-mask-image:linear-gradient(to bottom,#000 68%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 68%,transparent 100%);
}

.hero-atmosphere::before {
  content:"";
  position:absolute;
  inset:4% 12% auto;
  height:520px;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 44%,rgba(78,234,245,.2),transparent 42%),
    radial-gradient(circle at 30% 54%,rgba(71,243,255,.1),transparent 32%);
  filter:blur(18px);
}

.hero-atmosphere::after {
  content:"";
  position:absolute;
  inset:0;
  opacity:.18;
  background-image:
    linear-gradient(rgba(147,248,255,.16) 1px,transparent 1px),
    linear-gradient(90deg,rgba(147,248,255,.16) 1px,transparent 1px);
  background-size:64px 64px;
  transform:perspective(600px) rotateX(63deg) scale(1.45) translateY(220px);
  transform-origin:center bottom;
}

.hero-orbit {
  position:absolute;
  left:50%;
  top:46%;
  border:1px solid rgba(143,248,255,.16);
  border-radius:50%;
  transform:translate(-50%,-50%);
}

.hero-orbit-one {
  width:640px;
  height:640px;
  animation:heroOrbit 28s linear infinite;
}

.hero-orbit-two {
  width:820px;
  height:820px;
  border-style:dashed;
  opacity:.55;
  animation:heroOrbitReverse 38s linear infinite;
}

.hero-scan-line {
  position:absolute;
  left:15%;
  right:15%;
  top:31%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(162,249,255,.48),transparent);
  box-shadow:0 0 18px rgba(99,245,255,.42);
  animation:heroScan 5.8s ease-in-out infinite;
}

.hero-vines {
  --vine-x:0px;
  --vine-y:0px;
  position:absolute;
  inset:0;
  transform:translate3d(var(--vine-x),var(--vine-y),0);
  transition:transform .45s cubic-bezier(.2,.8,.2,1);
}

.hero-vine {
  position:absolute;
  top:10px;
  width:380px;
  height:560px;
  overflow:visible;
  filter:drop-shadow(0 0 16px rgba(93,228,238,.22));
  opacity:.78;
  animation:vineFloat 7s ease-in-out infinite;
}

.hero-vine-left {
  left:6px;
}

.hero-vine-right {
  right:6px;
  transform:scaleX(-1);
  animation-delay:-3.5s;
}

.vine-stem {
  stroke:#63c1c8;
  stroke-width:1.35;
  stroke-linecap:round;
  opacity:.62;
}

.vine-stem-main {
  stroke:#8cf7ff;
  stroke-width:1.8;
  stroke-dasharray:7 8;
  animation:vineSignal 10s linear infinite;
}

.vine-leaf {
  fill:rgba(82,184,191,.13);
  stroke:#7ae2e9;
  stroke-width:1.15;
  transform-box:fill-box;
  transform-origin:center;
  animation:leafBreathe 4.8s ease-in-out infinite;
}

.vine-leaf:nth-of-type(even) {
  animation-delay:-2.4s;
}

.vine-node {
  fill:#a8f9ff;
  stroke:rgba(220,253,255,.6);
  stroke-width:1;
  filter:drop-shadow(0 0 8px #6fe8f1);
  animation:vineNode 2.8s ease-in-out infinite;
}

.vine-spark {
  position:absolute;
  width:5px;
  height:5px;
  border:1px solid rgba(194,251,255,.8);
  transform:rotate(45deg);
  box-shadow:0 0 12px rgba(126,246,255,.65);
  animation:vineSpark 4.2s ease-in-out infinite;
}

.vine-spark-one { left:19%; top:18%; }
.vine-spark-two { right:17%; top:31%; animation-delay:-1.7s; }
.vine-spark-three { left:13%; top:53%; animation-delay:-3s; }

@keyframes vineFloat {
  0%,100% { translate:0 0; }
  50% { translate:0 -9px; }
}

@keyframes vineSignal {
  to { stroke-dashoffset:-150; }
}

@keyframes leafBreathe {
  0%,100% { opacity:.48; transform:scale(.97); }
  50% { opacity:.9; transform:scale(1.035); }
}

@keyframes vineNode {
  50% { opacity:.45; r:3.5px; }
}

@keyframes vineSpark {
  0%,100% { opacity:.18; scale:.75; }
  50% { opacity:.9; scale:1.18; }
}

@keyframes heroOrbit {
  to { transform:translate(-50%,-50%) rotate(360deg); }
}

@keyframes heroOrbitReverse {
  to { transform:translate(-50%,-50%) rotate(-360deg); }
}

@keyframes heroScan {
  0%,100% { opacity:.2; transform:translateY(-70px); }
  50% { opacity:.85; transform:translateY(190px); }
}

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

.hero-copy::before {
  content:"";
  position:absolute;
  left:50%;
  top:-34px;
  width:74px;
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,#86eaf1,transparent);
  box-shadow:0 0 17px rgba(123,246,255,.48);
}

.hero-command .eyebrow {
  margin-bottom:20px;
  border-color:rgba(143,248,255,.24);
  background:rgba(14,22,23,.62);
  box-shadow:inset 0 1px rgba(255,255,255,.03),0 12px 45px rgba(22,90,95,.16);
  backdrop-filter:blur(12px);
}

.hero-command .eyebrow-dot {
  background:#9df3c4;
  box-shadow:0 0 14px rgba(117,238,176,.78);
}

.hero-command .hero-quote {
  max-width:920px;
  margin-bottom:20px;
  font-size:clamp(48px,7vw,88px);
  line-height:.97;
  letter-spacing:-.055em;
  text-wrap:balance;
}

.hero-command .hero-quote span {
  background:linear-gradient(100deg,#effeff 0%,#a9f9ff 42%,#67e4ed 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 10px 34px rgba(74,215,225,.25));
}

.hero-command .hero-subtitle {
  max-width:680px;
  color:#9aaeaf;
  font-size:clamp(15px,1.45vw,18px);
  line-height:1.65;
  text-wrap:balance;
}

.hero-search-shell {
  position:relative;
  z-index:3;
  width:min(820px,100%);
  margin:38px auto 0;
}

.hero-search-glow {
  position:absolute;
  inset:-18px 8%;
  z-index:-1;
  border-radius:40px;
  background:linear-gradient(90deg,rgba(61,186,195,.2),rgba(92,244,255,.3),rgba(75,214,224,.18));
  filter:blur(28px);
  opacity:.7;
  transition:opacity .25s ease,transform .25s ease;
}

.hero-search-shell:focus-within .hero-search-glow {
  opacity:1;
  transform:scale(1.04);
}

.hero-search-box {
  max-width:none;
  min-height:72px;
  padding:7px;
  border:1px solid rgba(147,248,255,.32);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(21,31,32,.96),rgba(12,19,20,.94));
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 22px 70px rgba(0,0,0,.38);
  backdrop-filter:blur(20px);
  overflow:visible;
}

.hero-search-box:focus-within {
  border-color:rgba(157,248,255,.72);
  box-shadow:0 0 0 4px rgba(93,228,238,.11),inset 0 1px rgba(255,255,255,.08),0 24px 80px rgba(20,79,83,.38);
}

.hero-search-box .search-leading {
  width:23px;
  height:23px;
  margin-left:14px;
  stroke:#9ceaf0;
}

.hero-search-box .search-input {
  min-height:56px;
  padding:0 15px;
  font-size:16px;
  font-weight:560;
  letter-spacing:-.01em;
  transition:opacity .14s ease;
}

.hero-search-box .search-input::placeholder {
  color:#778a8b;
}

.hero-search-box .search-input.is-placeholder-changing {
  opacity:.35;
}

.hero-search-box .search-shortcut {
  margin-right:10px;
  border-color:rgba(151,221,226,.2);
  background:rgba(255,255,255,.025);
  color:#778b8c;
}

.hero-search-btn {
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 20px;
  border:1px solid rgba(204,252,255,.34);
  border-radius:15px;
  background:linear-gradient(135deg,#68e5ee,#43bec7);
  color:#F5F7F6;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  box-shadow:0 10px 28px rgba(51,179,188,.3),inset 0 1px rgba(255,255,255,.2);
  transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
}

.hero-search-btn svg {
  width:16px;
  height:16px;
}

.hero-search-btn:hover,
.hero-search-btn:focus-visible {
  transform:translateY(-1px);
  filter:brightness(1.1);
  box-shadow:0 14px 34px rgba(51,179,188,.4),inset 0 1px rgba(255,255,255,.22);
  outline:none;
}

.hero-search-btn:active {
  transform:translateY(0) scale(.985);
  filter:brightness(1.03);
  box-shadow:0 7px 18px rgba(51,179,188,.28),inset 0 1px rgba(255,255,255,.16);
  transition-duration:.08s;
}

.hero-search-hint {
  margin:11px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#677a7b;
  font-size:11px;
}

.hero-search-pulse {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#83d6a2;
  box-shadow:0 0 12px rgba(131,214,162,.68);
  animation:searchPulse 2.2s ease-in-out infinite;
}

@keyframes searchPulse {
  50% { opacity:.42; transform:scale(.78); }
}

.hero-intents {
  position:relative;
  z-index:2;
  max-width:900px;
  margin:21px auto 0;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}

.hero-intents button {
  min-height:36px;
  padding:0 13px;
  border:1px solid rgba(144,181,184,.18);
  border-radius:999px;
  background:rgba(15,22,23,.62);
  color:#93a7a8;
  font-size:12px;
  font-weight:650;
  cursor:pointer;
  backdrop-filter:blur(10px);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}

.hero-intents button:hover,
.hero-intents button:focus-visible {
  transform:translateY(-2px);
  border-color:rgba(147,248,255,.5);
  background:rgba(65,184,192,.14);
  color:#e9f7f8;
  outline:none;
}

.hero-command .hero-actions {
  position:relative;
  z-index:2;
  margin-top:24px;
}

.hero-command .hero-actions .primary-btn,
.hero-command .hero-actions .secondary-btn {
  min-height:44px;
  border-radius:12px;
}

.hero-command .hero-actions .primary-btn {
  background:#eff7f8;
}

.hero-command .hero-actions .secondary-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}

.hero-command #homeTutorialLink {
  position:relative;
  z-index:2;
}

.hero-command .hero-proof {
  position:relative;
  z-index:2;
  margin-top:34px;
}

.hero-preview {
  position:relative;
  z-index:2;
  width:min(1000px,100%);
  margin:64px auto 0;
  padding:16px;
  display:grid;
  grid-template-columns:minmax(240px,.82fr) minmax(360px,1.18fr);
  align-items:center;
  gap:26px;
  border:1px solid rgba(145,217,222,.15);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(18,26,27,.82),rgba(10,17,17,.76));
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 25px 80px rgba(0,0,0,.25);
  text-align:left;
  overflow:hidden;
}

.hero-preview::before {
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  left:-130px;
  top:-130px;
  border-radius:50%;
  background:rgba(68,201,210,.16);
  filter:blur(50px);
  pointer-events:none;
}

.hero-preview-copy {
  padding:20px 8px 20px 22px;
}

.hero-preview-copy strong {
  display:block;
  margin-top:10px;
  color:#f1f7f7;
  font-size:clamp(22px,2.7vw,34px);
  line-height:1.08;
  letter-spacing:-.035em;
}

.hero-preview-copy p {
  margin-top:14px;
  color:#899c9d;
  font-size:13px;
  line-height:1.65;
}

.hero-preview-frame {
  position:relative;
  min-height:240px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:17px;
  background:#0d1415;
  overflow:hidden;
}

.hero-preview-frame img {
  width:100%;
  height:100%;
  min-height:240px;
  display:block;
  object-fit:cover;
}

.hero-preview-badge {
  position:absolute;
  left:14px;
  bottom:14px;
  padding:8px 11px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(8,14,14,.76);
  color:#eafbfc;
  font-size:11px;
  font-weight:800;
  backdrop-filter:blur(12px);
}

/* Search-results mode keeps the same input visible for refining a query. */
.hero-command.is-search-mode {
  min-height:0;
  padding:38px 20px 28px;
  animation:none;
}

.hero-command.is-search-mode .hero-copy,
.hero-command.is-search-mode .hero-intents,
.hero-command.is-search-mode .hero-actions,
.hero-command.is-search-mode #homeTutorialLink,
.hero-command.is-search-mode .hero-proof,
.hero-command.is-search-mode .hero-preview,
.hero-command.is-search-mode .hero-search-hint,
.hero-command.is-search-mode .hero-atmosphere {
  display:none;
}

.hero-command.is-search-mode .hero-search-shell {
  width:min(760px,100%);
  margin:0 auto;
}

.hero-command.is-search-mode .hero-search-box {
  min-height:60px;
  border-radius:18px;
}

.hero-command.is-search-mode .hero-search-box .search-input {
  min-height:46px;
}

.hero-command.is-search-mode .hero-search-btn {
  min-height:46px;
}

@media (max-width:900px) {
  .hero-command {
    padding-top:66px;
  }

  .hero-preview {
    grid-template-columns:1fr;
    gap:4px;
  }

  .hero-preview-copy {
    padding:18px 14px 12px;
    text-align:center;
  }

  .hero-preview-copy p {
    max-width:620px;
    margin-left:auto;
    margin-right:auto;
  }
}

@media (max-width:720px) {
  .home-header {
    min-height:68px;
    grid-template-columns:minmax(0,1fr) auto;
    padding:11px 15px;
  }

  .home-header .logo span:last-child {
    display:inline;
  }

  .header-browse-btn {
    display:none;
  }

  .content {
    padding-top:68px;
  }

  .hero-command {
    min-height:calc(100svh - 68px);
    padding:50px 0 54px;
  }

  .hero-vine {
    top:30px;
    width:230px;
    height:300px;
    opacity:.38;
  }

  .hero-vine-left { left:-4px; }
  .hero-vine-right { right:-4px; }

  .vine-spark-two,
  .vine-spark-three {
    display:none;
  }

  .hero-command .hero-quote {
    font-size:clamp(42px,14vw,60px);
    line-height:.98;
  }

  .hero-command .hero-subtitle {
    padding:0 8px;
    font-size:14px;
  }

  .hero-search-shell {
    margin-top:30px;
  }

  .hero-search-box {
    min-height:62px;
    padding:5px;
    border-radius:18px;
  }

  .hero-search-box .search-leading {
    width:20px;
    height:20px;
    margin-left:10px;
  }

  .hero-search-box .search-input {
    min-height:50px;
    padding:0 10px;
    font-size:14px;
  }

  .hero-search-box .search-shortcut {
    display:none;
  }

  .hero-search-btn {
    width:50px;
    min-width:50px;
    min-height:50px;
    padding:0;
    border-radius:13px;
  }

  .hero-search-btn span {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
  }

  .hero-search-btn svg {
    width:19px;
    height:19px;
  }

  .hero-intents {
    width:calc(100% + 30px);
    margin-left:-15px;
    padding:0 15px 6px;
    display:flex;
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    scroll-padding-inline:15px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 15px,#000 calc(100% - 28px),transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 15px,#000 calc(100% - 28px),transparent 100%);
  }

  .hero-intents::-webkit-scrollbar {
    display:none;
  }

  .hero-intents button {
    flex:0 0 auto;
    max-width:82vw;
    min-height:34px;
    padding:0 12px;
    scroll-snap-align:start;
    white-space:nowrap;
  }

  .hero-command .hero-actions {
    max-width:none;
    margin-top:20px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .hero-command .hero-actions .primary-btn,
  .hero-command .hero-actions .secondary-btn {
    width:100%;
    min-width:0;
    padding:11px 10px;
    font-size:12px;
  }

  .hero-command .hero-proof {
    margin-top:28px;
  }

  .hero-preview {
    margin-top:46px;
    padding:10px;
    border-radius:20px;
  }

  .hero-preview-frame,
  .hero-preview-frame img {
    min-height:0;
  }

  .hero-preview-frame {
    aspect-ratio:16 / 9;
  }

  .hero-preview-frame img {
    width:100%;
    height:100%;
    object-fit:fill;
    object-position:center;
  }

  .hero-command.is-search-mode {
    min-height:0;
    padding:24px 0 18px;
  }
}

@media (max-width:430px) {
  .hero-command .hero-quote {
    font-size:40px;
  }

  .hero-search-hint {
    font-size:10px;
  }

  .hero-command .hero-proof {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    width:100%;
  }

  .hero-command .hero-proof i {
    display:none;
  }

  .hero-command .hero-proof strong {
    font-size:12px;
  }

  .hero-command .hero-proof span {
    font-size:8px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-orbit,
  .hero-scan-line,
  .hero-search-pulse,
  .hero-vine,
  .vine-stem-main,
  .vine-leaf,
  .vine-node,
  .vine-spark {
    animation:none !important;
  }

  .hero-vines {
    transform:none !important;
    transition:none !important;
  }

  .hero-search-glow,
  .hero-search-btn,
  .hero-intents button,
  .header-browse-btn,
  .hero-search-box .search-input {
    transition:none !important;
  }
}


/* =========================================================
   V1.0.4 — HOMEPAGE LIBRARY LOADING / RECOVERY STATE
   Keep the hero visible while database-backed content loads.
   ========================================================= */
.hero-proof strong.hero-stat-status {
  max-width:92px;
  color:#9db4b6;
  font-size:13px;
  letter-spacing:-.01em;
}

body[data-library-state="loading"] #quickStartSection,
body[data-library-state="loading"] #suggestedSection,
body[data-library-state="loading"] #categoriesSection,
body[data-library-state="loading"] #searchResults,
body[data-library-state="loading"] #homepageClosingSection,
body[data-library-state="error"] #quickStartSection,
body[data-library-state="error"] #suggestedSection,
body[data-library-state="error"] #categoriesSection,
body[data-library-state="error"] #searchResults,
body[data-library-state="error"] #homepageClosingSection {
  display:none!important;
}

.library-status {
  width:min(100%,920px);
  min-height:340px;
  margin:38px auto 72px;
  display:grid;
  place-items:center;
}

body[data-library-state="ready"] .library-status {
  display:none;
}

.library-status-card {
  position:relative;
  width:min(100%,570px);
  overflow:hidden;
  padding:38px 34px;
  border:1px solid rgba(174,250,255,.16);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(22,32,33,.76),rgba(12,19,19,.68));
  box-shadow:0 24px 80px rgba(0,0,0,.22);
  text-align:center;
  backdrop-filter:blur(14px);
}

.library-status-card::after {
  position:absolute;
  width:190px;
  height:190px;
  right:-105px;
  bottom:-125px;
  border:1px solid rgba(174,250,255,.1);
  border-radius:50%;
  box-shadow:0 0 0 28px rgba(174,250,255,.018),0 0 0 58px rgba(174,250,255,.01);
  content:"";
  pointer-events:none;
}

.library-status-icon {
  width:54px;
  height:54px;
  margin:0 auto 20px;
  display:grid;
  place-items:center;
  border:1px solid rgba(174,250,255,.18);
  border-radius:16px;
  background:rgba(139,240,247,.08);
  color:#c8fbff;
}

.library-status-icon span {
  width:22px;
  height:22px;
  border:2px solid rgba(193,251,255,.2);
  border-top-color:#c5fbff;
  border-radius:50%;
  animation:libraryStatusSpin .8s linear infinite;
}

.library-status[data-state="error"] .library-status-icon {
  border-color:rgba(255,129,139,.22);
  background:rgba(151,50,61,.11);
  color:#ff9ba4;
  font-size:22px;
  font-weight:900;
}

.library-status[data-state="error"] .library-status-icon span {
  display:none;
}

.library-status[data-state="error"] .library-status-icon::before {
  content:"!";
}

.library-status h2 {
  margin:8px 0 10px;
  color:#f4fbfb;
  font-size:clamp(25px,4vw,34px);
  line-height:1.12;
  letter-spacing:-.035em;
}

.library-status p {
  max-width:430px;
  margin:0 auto;
  color:#92a8aa;
  font-size:16px;
  line-height:1.65;
}

.library-retry-btn {
  position:relative;
  z-index:1;
  min-width:150px;
  margin:22px auto 0;
  gap:9px;
  font-size:14px;
}

.library-retry-btn[hidden] {
  display:none;
}

.library-retry-btn > span:last-child {
  display:inline-block;
  transition:transform .2s ease;
}

.library-retry-btn:hover > span:last-child {
  transform:rotate(45deg);
}

.footer-links .footer-cookie-settings {
  color:#92a8aa;
  font-size:inherit;
  line-height:1.35;
  text-align:left;
}

.footer-links .footer-cookie-settings:hover,
.footer-links .footer-cookie-settings:focus-visible {
  color:#F5F7F6;
}

@media (max-width:520px) {
  .footer-links .footer-cookie-settings {
    display:block;
    width:100%;
    padding:4px 0;
    justify-self:stretch;
  }
}

@keyframes libraryStatusSpin {
  to { transform:rotate(360deg); }
}

@media (max-width:600px) {
  .hero-proof strong.hero-stat-status {
    max-width:72px;
    font-size:10px;
  }

  .library-status {
    min-height:290px;
    margin:24px auto 48px;
  }

  .library-status-card {
    padding:30px 20px;
    border-radius:18px;
  }

  .library-status h2 {
    font-size:27px;
  }

  .library-status p {
    font-size:15px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .library-status-icon span {
    animation:none;
  }
}

/* At the stacked prompt breakpoint, never retain the desktop two-column
   sizing from later overrides. */
@media (max-width: 900px) {
  .prompt-detail-layout,
  .prompt-detail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ============================================================
   V1.0.1 FOOTER SOCIAL LINKS
   Instagram + TikTok icon buttons.
   ============================================================ */
.footer-socials {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:0;
  max-width:100%;
}

.footer-social-btn {
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #2b3a3b;
  border-radius:10px;
  background:#121a1b;
  color:#92a8aa;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}

.footer-social-btn:hover {
  transform:translateY(-2px);
  border-color:#56787a;
  background:#192324;
  color:#F5F7F6;
}

.footer-social-btn:active {
  transform:translateY(0);
}

.footer-social-btn svg {
  width:18px;
  height:18px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.footer-social-btn .footer-social-fill {
  fill:currentColor;
  stroke:none;
}

/* Desktop / larger tablet */
@media (min-width:701px) {
  .footer {
    grid-template-columns:minmax(0,1fr) auto minmax(0,auto);
  }

  .footer-socials {
    justify-self:center;
  }

  .footer-links {
    justify-self:end;
  }

  .footer-text {
    grid-column:1 / -1;
  }
}

/* Tablets: reserve a social column and move the long link list below it. */
@media (min-width:701px) and (max-width:1180px) {
  .footer {
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:24px;
    row-gap:20px;
  }

  .footer-brand {
    grid-column:1;
    grid-row:1;
    min-width:0;
  }

  .footer-brand > div {
    min-width:0;
  }

  .footer-brand .logo-mark {
    flex-shrink:0;
  }

  .footer-tagline {
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .footer-socials {
    grid-column:2;
    grid-row:1;
    justify-self:end;
    justify-content:flex-end;
  }

  .footer-links {
    grid-column:1 / -1;
    grid-row:2;
    justify-self:start;
    justify-content:flex-start;
    width:100%;
    row-gap:12px;
  }

  .footer-text {
    grid-column:1 / -1;
    grid-row:3;
    overflow-wrap:anywhere;
  }
}

/* Phones and narrow tablets: keep the social row safely inside the viewport. */
@media (max-width:700px) {
  .footer-socials {
    width:100%;
    justify-content:flex-start;
  }
}

@media (max-width:520px) {
  .footer-social-btn {
    width:38px;
    height:38px;
    flex-basis:38px;
  }

  .footer-social-btn svg {
    width:19px;
    height:19px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .footer-social-btn {
    transition:none;
  }
}


/* =========================================================
   V1.0.2 — CLEANER HOMEPAGE
   Compact hierarchy, suggestion CTA and AI compatibility strip.
   ========================================================= */

.quick-start,
#suggestedSection,
#categoriesSection {
  margin-bottom: 56px;
}

#suggestedSection .section-heading-row {
  margin-bottom: 17px;
}

.suggested-wrap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.suggested-card {
  min-height: 205px;
  padding: 18px;
  border-radius: 15px;
}

.suggested-card h3 {
  font-size: 16px;
}

.homepage-closing-stack {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.suggestion-cta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid #304c4e;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(137,247,255,.13), transparent 34%),
    linear-gradient(110deg, rgba(26,44,45,.96), rgba(15,22,23,.96));
}

.suggestion-cta::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -90px;
  bottom: -115px;
  border-radius: 50%;
  background: rgba(92,236,246,.13);
  filter: blur(28px);
  pointer-events: none;
}

.suggestion-cta-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #3a6265;
  border-radius: 14px;
  background: #172a2b;
  color: #bdfbff;
  font-size: 24px;
  font-weight: 400;
}

.suggestion-cta-copy {
  min-width: 0;
}

.suggestion-cta-copy h2 {
  margin: 3px 0 6px;
  color: #f2f8f8;
  font-size: 20px;
  letter-spacing: -.018em;
}

.suggestion-cta-copy p {
  max-width: 690px;
  color: #859a9b;
  font-size: 12.5px;
  line-height: 1.55;
}

.suggestion-cta-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ai-compatibility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 17px;
  border: 1px solid #253334;
  border-radius: 15px;
  background: rgba(15,22,22,.72);
}

.ai-compatibility-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-compatibility-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid #30484a;
  border-radius: 10px;
  color: #9fdbdf;
  background: #152122;
}

.ai-compatibility-copy strong,
.ai-compatibility-copy span {
  display: block;
}

.ai-compatibility-copy strong {
  margin-bottom: 2px;
  color: #dfe9ea;
  font-size: 13px;
}

.ai-compatibility-copy span {
  color: #6f8283;
  font-size: 10.5px;
}

.ai-compact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.ai-compact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 8px 11px;
  color: #a6b7b8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 750;
  border: 1px solid #2b3839;
  border-radius: 10px;
  background: #141c1d;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.ai-compact-link:hover,
.ai-compact-link:focus-visible {
  color: #F5F7F6;
  border-color: #4b6e70;
  background: #192324;
  transform: translateY(-1px);
  outline: none;
}

.ai-compact-link.recommended {
  color: #cbfcff;
  border-color: rgba(137,247,255,.4);
  background: rgba(137,247,255,.07);
}

.homepage-closing-stack + .footer {
  margin-top: 58px;
}

@media (max-width: 1000px) {
  .suggested-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .quick-start,
  #suggestedSection,
  #categoriesSection {
    margin-bottom: 46px;
  }

  .suggested-wrap {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .suggested-card {
    flex: 0 0 82%;
    min-height: 205px;
    scroll-snap-align: start;
  }

  .suggestion-cta {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    padding: 20px;
  }

  .suggestion-cta-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .ai-compatibility {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-compact-links {
    width: 100%;
    justify-content: flex-start;
  }

  .homepage-closing-stack + .footer {
    margin-top: 46px;
  }
}

@media (max-width: 420px) {
  .suggestion-cta {
    grid-template-columns: 1fr;
  }

  .suggestion-cta-icon {
    width: 42px;
    height: 42px;
  }

  .ai-compact-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-compact-link {
    min-width: 0;
    justify-content: center;
    padding-left: 7px;
    padding-right: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-compact-link {
    transition: none;
  }
}


/* =========================================================
   V1.0.2 REFINEMENT — FEATURED, MOBILE CAROUSEL & FOOTER
   ========================================================= */

.suggested-wrap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-closing-section {
  margin-top: 8px;
}

.homepage-closing-section + .footer {
  margin-top: 64px;
}

/* Premium footer panel */
.footer {
  position: relative;
  isolation: isolate;
  margin-top: 64px;
  padding: 34px 30px 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% -30%, rgba(126,246,255,.13), transparent 38%),
    radial-gradient(circle at 90% 130%, rgba(58,225,237,.09), transparent 34%),
    #060a0a;
  border: 1px solid #202c2d;
  border-radius: 22px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150,248,255,.55), transparent);
}

.footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  right: -130px;
  top: -150px;
  border-radius: 50%;
  background: rgba(111,245,255,.07);
  filter: blur(28px);
  pointer-events: none;
}

.footer-logo {
  color: #f0f7f7;
  font-size: 15px;
  letter-spacing: -.01em;
}

.footer-tagline,
.footer-text {
  color: #74898a;
}

.footer-links a {
  color: #92a8aa;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #F5F7F6;
}

.footer-social-btn {
  border-color: #29393a;
  background: #0d1414;
  color: #9bb1b3;
}

.footer-social-btn:hover {
  border-color: #597e81;
  background: #152122;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .3);
}

/* Mobile categories become a swipeable row with a visible next-card peek. */
@media (max-width: 720px) {
  .categories-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    margin-right: -15px;
    padding: 2px 18px 12px 1px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1px;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .categories-grid::-webkit-scrollbar {
    display: none;
  }

  .categories-grid .cat-card {
    flex: 0 0 clamp(220px, 72vw, 280px);
    min-height: 138px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .homepage-closing-section + .footer,
  .footer {
    margin-top: 50px;
  }

  .footer {
    padding: 27px 21px 25px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .categories-grid {
    display: flex !important;
    grid-template-columns: none !important;
  }

  .categories-grid .cat-card {
    flex-basis: min(76vw, 270px);
  }
}


/* =========================================================
   V1.0.2 FINAL HOMEPAGE POLISH
   Full-width footer, mobile category hint/counts, selectable search.
   ========================================================= */

/* The page disables selection globally, but search fields must behave like inputs. */
.search-input,
.search-box .search-input,
.search-box .search-input:focus,
.search-box .search-input:focus-visible {
  -webkit-user-select: text !important;
  user-select: text !important;
  cursor: text !important;
}

.search-input::selection {
  color: #F5F7F6;
  background: rgba(126,246,255,.38);
}

.category-scroll-hint {
  display: none;
}

/* Full-bleed footer: visually reaches both screen edges and the page bottom. */
.footer,
.homepage-closing-section + .footer {
  width: 100vw;
  max-width: none !important;
  margin-top: 64px;
  margin-right: calc(50% - 50vw);
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  padding:
    38px
    max(32px, calc((100vw - 1220px) / 2 + 32px))
    34px;
  background:
    radial-gradient(circle at 18% -55%, rgba(126,246,255,.13), transparent 34%),
    radial-gradient(circle at 88% 145%, rgba(58,225,237,.08), transparent 32%),
    #050909;
  border: 0;
  border-top: 1px solid #203031;
  border-radius: 0;
  box-shadow:
    0 -22px 60px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .025);
}

.footer::before {
  left: 0;
  width: 100%;
  background:
    linear-gradient(
      90deg,
      transparent 8%,
      rgba(143,233,239,.34) 35%,
      rgba(143,233,239,.14) 65%,
      transparent 92%
    );
}

@media (max-width: 720px) {
  /* Keep the live “112 prompts · 11 categories” summary visible on mobile. */
  #categoriesSection .section-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 8px;
  }

  #categoriesSection .section-note#librarySummary {
    display: block !important;
    max-width: 132px;
    color: #859a9b;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.35;
    text-align: right;
    white-space: normal;
  }

  .category-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0 1px 9px 0;
    color: #85bfc3;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .025em;
  }

  .category-scroll-arrow {
    display: inline-block;
    color: #b9faff;
    font-size: 14px;
    line-height: 1;
    animation: categorySwipeHint 1.45s ease-in-out infinite;
  }

  .footer,
  .homepage-closing-section + .footer {
    margin-top: 50px;
    margin-right: -15px;
    margin-left: -15px;
    padding: 30px 15px 27px;
    border-radius: 0;
  }
}

@keyframes categorySwipeHint {
  0%, 100% {
    opacity: .55;
    transform: translateX(-3px);
  }

  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

@media (max-width: 420px) {
  #categoriesSection .section-heading-row {
    grid-template-columns: minmax(0, 1fr) minmax(88px, auto);
  }

  #categoriesSection .section-note#librarySummary {
    max-width: 108px;
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-scroll-arrow {
    animation: none;
  }
}


/* =========================================================
   V1.0.2 FINAL REQUEST SET
   How-to order/timing, category scrollbar, mobile CTA.
   ========================================================= */

/* Keep the primary Explore the Library CTA available on every device size. */
.quick-library-cta-wrap {
  display: flex !important;
  justify-content: center;
  margin-top: 10px;
}

@media (max-width: 720px) {
  .quick-library-cta-wrap {
    justify-content: center;
    margin-top: 11px;
  }

  .quick-library-cta {
    width: 100%;
    max-width: 300px;
  }

  /* Match the small purple scrollbar beneath Featured Edits. */
  .categories-grid {
    padding-bottom: 10px;
    scrollbar-width: thin !important;
    scrollbar-color: #4d7f83 #151b1b !important;
  }

  .categories-grid::-webkit-scrollbar {
    display: block !important;
    width: 8px;
    height: 8px;
  }

  .categories-grid::-webkit-scrollbar-track {
    background: #151b1b;
    border-radius: 999px;
  }

  .categories-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #558b8f, #375a5d);
    border: 2px solid #151b1b;
    border-radius: 999px;
  }

  .categories-grid::-webkit-scrollbar-thumb:hover {
    background: #62a0a4;
  }
}

/* =========================================================
   V1.0.3 — MOBILE LIBRARY SUMMARY & IMAGE LOGO
   ========================================================= */

/* logo.webp lives beside index.css in the public folder. */
.logo-mark {
  flex: 0 0 auto;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background-color: transparent;
  background-image: url("logo.webp?v=2");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 720px) {
  /* Put the live count below the title, then show the cards underneath it. */
  #categoriesSection .section-heading-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 4px;
    margin-bottom: 10px;
  }

  #categoriesSection .section-note#librarySummary {
    grid-column: 1;
    max-width: none;
    margin-top: 1px;
    font-size: 10px;
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  #categoriesSection .section-heading-row {
    grid-template-columns: minmax(0, 1fr);
  }

  #categoriesSection .section-note#librarySummary {
    max-width: none;
    font-size: 9.5px;
  }
}

/* =========================================================
   V1.0.3 — IPAD / TABLET HEADER WIDTH FIX
   Keeps the fixed header inside the viewport on tablet widths
   without changing the desktop or phone layouts.
   ========================================================= */

@media (max-width: 1180px) and (min-width: 721px) {
  .header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-left: 18px;
    padding-right: 18px;
    gap: 12px;
    width: 100%;
    max-width: 100vw;
  }

  .logo,
  .search-wrap,
  .search-box,
  .header-actions {
    min-width: 0;
    max-width: 100%;
  }

  .logo {
    flex: 0 0 auto;
  }

  .search-wrap {
    width: 100%;
    overflow: hidden;
  }

  .search-box {
    width: 100%;
  }

  .search-shortcut {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .howto-btn,
  .suggest-btn {
    padding-left: 11px;
    padding-right: 11px;
    white-space: nowrap;
  }
}

/* Compact the action buttons only on narrower iPad/tablet widths. */
@media (max-width: 1024px) and (min-width: 721px) {
  .logo span:last-child {
    display: none;
  }

  .howto-btn,
  .suggest-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    font-size: 0;
  }

  .howto-btn::after {
    content: "?";
    font-size: 16px;
    font-weight: 800;
  }

  .suggest-btn::after {
    content: "+";
    font-size: 18px;
    font-weight: 800;
  }
}

/* =========================================================
   V1.0.3 — BACK TO TOP / VIEWPORT OVERFLOW FIX
   Keeps the floating button strictly inside the visible viewport
   on tablets and phones so it cannot visually sit beyond the page edge.
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.back-to-top {
  left: auto;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 42px;
  box-sizing: border-box;
  contain: layout paint;
}

@media (max-width: 1024px) {
  .back-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 720px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    max-width: 40px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}



/* =========================================================
   V1.0.3 — RESPONSIVE SITE MENU
   ========================================================= */
/* V1.0.3 menu scroll lock: freeze the page behind the drawer. */
html.site-menu-open {
  overflow:hidden !important;
  overscroll-behavior:none;
}
body.site-menu-open {
  position:fixed;
  left:0;
  right:0;
  width:100%;
  overflow:hidden !important;
  overscroll-behavior:none;
  touch-action:none;
}

.menu-trigger {
  width:40px;height:40px;flex:0 0 40px;padding:0;border:1px solid #303f40;border-radius:11px;
  background:linear-gradient(145deg,#172021,#111819);color:#F5F7F6;cursor:pointer;
  display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  transition:transform .2s,border-color .2s,background .2s,box-shadow .2s;
}
.menu-trigger span { width:17px;height:1.5px;border-radius:999px;background:currentColor;display:block;transition:.2s; }
.menu-trigger:hover { transform:translateY(-1px);border-color:#597c7f;background:#1a2526;box-shadow:0 8px 28px rgba(0,0,0,.2); }
.menu-trigger:focus-visible,.site-menu-close:focus-visible,.site-menu-group-toggle:focus-visible,.site-menu-item:focus-visible,.site-menu-follow a:focus-visible { outline:2px solid #9ff9ff;outline-offset:3px; }

.site-menu-overlay { position:fixed;inset:0;z-index:500;background:rgba(2,5,5,0);backdrop-filter:blur(0);pointer-events:none;transition:background .3s ease,backdrop-filter .3s ease; }
.site-menu-overlay.active { background:rgba(2,5,5,.68);backdrop-filter:blur(9px);pointer-events:auto; }
.site-menu { position:absolute;top:0;right:0;width:min(410px,calc(100vw - 24px));height:100dvh;max-width:100%;display:flex;flex-direction:column;background:linear-gradient(155deg,rgba(19,28,29,.985),rgba(8,14,14,.99));border-left:1px solid rgba(159,249,255,.16);box-shadow:-30px 0 90px rgba(0,0,0,.48);transform:translateX(104%);transition:transform .38s cubic-bezier(.22,1,.36,1);overflow:hidden; }
.site-menu::before { content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-130px;top:-110px;background:rgba(112,245,255,.13);filter:blur(70px);pointer-events:none; }
.site-menu-overlay.active .site-menu { transform:translateX(0); }
.site-menu-head { min-height:72px;padding:14px 20px;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(255,255,255,.07);position:relative;z-index:1; }
.site-menu-head h2 { font-size:18px;letter-spacing:-.02em; }
.site-menu-close { width:38px;height:38px;border:1px solid #303f40;border-radius:11px;background:#141c1d;color:#dce8e9;font-size:25px;line-height:1;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s; }
.site-menu-close:hover { background:#1d2829;border-color:#597c7f;color:#F5F7F6; }
.site-menu-scroll { flex:1;min-height:0;overflow-y:auto;padding:20px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#344647 transparent; }
.site-menu-brand { display:flex;align-items:center;gap:12px;padding:4px 4px 22px; }
.site-menu-brand .logo-mark { flex:0 0 34px;width:34px;height:34px; }
.site-menu-brand div { display:grid;gap:3px;min-width:0; }
.site-menu-brand strong { font-size:15px; }
.site-menu-brand small { color:#738889;font-size:10px;line-height:1.4; }
.site-menu-group { border:1px solid #253435;border-radius:16px;background:rgba(13,20,20,.72);overflow:hidden;margin-bottom:12px;transition:border-color .2s,background .2s; }
.site-menu-group.open { border-color:#334e50;background:rgba(16,24,25,.88); }
.site-menu-group-toggle { width:100%;min-height:52px;padding:0 16px;border:0;background:transparent;color:#e7eff0;display:flex;align-items:center;justify-content:space-between;gap:14px;font-weight:800;font-size:12px;letter-spacing:.01em;cursor:pointer;text-align:left; }
.site-menu-chevron { color:#89b5b8;font-size:19px;line-height:1;transition:transform .28s cubic-bezier(.22,1,.36,1); }
.site-menu-group.open .site-menu-chevron { transform:scaleY(-1); }
.site-menu-group-content {
  max-height:0;
  opacity:0;
  visibility:hidden;
  overflow:hidden;
  pointer-events:none;
  transform:translateY(-4px);
  transition:max-height .34s cubic-bezier(.22,1,.36,1),opacity .2s ease,transform .28s cubic-bezier(.22,1,.36,1),visibility 0s linear .34s;
}
.site-menu-group.open .site-menu-group-content {
  max-height:420px;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
  transition:max-height .34s cubic-bezier(.22,1,.36,1),opacity .24s ease .04s,transform .3s cubic-bezier(.22,1,.36,1),visibility 0s linear 0s;
}
.site-menu-item { width:calc(100% - 16px);margin:0 8px 8px;padding:12px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:inherit;text-decoration:none;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;cursor:pointer;transition:background .2s,border-color .2s,transform .2s; }
.site-menu-item:hover { background:#192425;border-color:#2e4142;transform:translateX(2px); }
.site-menu-item-icon { width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#172324;border:1px solid #2c3f40;color:#aefaff;font-size:13px; }
.site-menu-item > span:nth-child(2) { min-width:0;display:grid;gap:3px; }
.site-menu-item strong { color:#eef5f6;font-size:12px; }
.site-menu-item small { color:#708587;font-size:9px;line-height:1.4; }
.site-menu-arrow { color:#658183;font-size:15px;transition:transform .2s,color .2s; }
.site-menu-item:hover .site-menu-arrow { transform:translateX(2px);color:#c8fbff; }
.site-menu-follow { margin-top:18px;padding:18px 4px 4px;border-top:1px solid #233132; }
.site-menu-follow > span { display:block;margin-bottom:10px;color:#667b7d;text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:800; }
.site-menu-follow > div { display:grid;grid-template-columns:1fr 1fr;gap:8px; }
.site-menu-follow a { min-height:42px;padding:0 12px;border:1px solid #293839;border-radius:11px;background:#121a1b;color:#aebfc0;text-decoration:none;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;transition:.2s; }
.site-menu-follow a:hover { color:#F5F7F6;border-color:#4a6d70;background:#182324;transform:translateY(-1px); }
.site-menu-foot { min-height:52px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.07);color:#556a6b;font-size:9px;letter-spacing:.04em; }

/* The menu replaces the former Contact/+ header action at every width. */
@media (max-width:1180px) and (min-width:721px) {
  .menu-trigger { width:38px;height:38px;min-width:38px;flex-basis:38px; }
}
@media (max-width:720px) {
  .site-menu { width:min(92vw,390px); }
  .site-menu-head { min-height:64px;padding:12px 15px; }
  .site-menu-scroll { padding:16px 14px; }
  .site-menu-foot { padding:0 15px; }
  .site-menu-item { padding:11px 9px; }
  .site-menu-follow > div { grid-template-columns:1fr; }
}
@media (max-width:380px) {
  .site-menu { width:100vw; }
}
@media (prefers-reduced-motion:reduce) {
  .site-menu,.site-menu-overlay,.site-menu-chevron,.site-menu-item,.menu-trigger { transition:none!important; }
}


/* =========================================================
   V1.0.3 — GLOBAL MODAL / OVERLAY SCROLL LOCK
   Freezes the page behind Menu, How to Use, Contact/Suggest,
   category and prompt overlays while keeping overlay content scrollable.
   ========================================================= */
html.page-overlay-open {
  overflow:hidden !important;
  overscroll-behavior:none;
}

body.page-overlay-open {
  position:fixed;
  left:0;
  right:0;
  width:100%;
  overflow:hidden !important;
  overscroll-behavior:none;
}


/* =========================================================
   V1.0.3 — TABLET PROMPT DETAIL STACK
   Match the phone prompt layout on tablets so the result image
   sits above the prompt content instead of being squeezed/cut.
   ========================================================= */
@media (max-width: 1000px) and (min-width: 721px) {
  .prompt-overlay {
    padding: 14px !important;
    align-items: flex-start !important;
  }

  .prompt-overlay-content {
    width: min(920px, 100%) !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 28px) !important;
    margin: 0 auto !important;
    padding: 18px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .prompt-detail-layout,
  .prompt-detail-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .prompt-result,
  .result-stage,
  .result-preview {
    order: -20 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
  }

  .result-stage {
    min-height: 0 !important;
    height: auto !important;
  }

  .result-preview.has-result {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 9px !important;
    aspect-ratio: auto !important;
  }

  .result-preview.has-result .prompt-result-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
  }

  .prompt-detail-copy-area,
  .prompt-copy-side {
    order: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .prompt-detail-layout > .prompt-input-note {
    /* Match phone order: image first, personalization note second, prompt content after it. */
    order: 0 !important;
    width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .prompt-detail-meta {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
  }
}

/* Desktop and mobile prompt rails. Category cards remain a grid. */
.recently-added-wrap,
#suggestedWrap {
  display:flex;
  grid-template-columns:none;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 14px;
  scroll-snap-type:none;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(135,228,235,.52) rgba(255,255,255,.045);
  cursor:grab;
}

.recently-added-wrap.is-dragging,
#suggestedWrap.is-dragging {
  cursor:grabbing;
  scroll-snap-type:none;
  user-select:none;
}

.recently-added-wrap.is-dragging .suggested-card,
#suggestedWrap.is-dragging .suggested-card {
  pointer-events:none;
}

.recently-added-wrap::-webkit-scrollbar,
#suggestedWrap::-webkit-scrollbar {
  height:8px;
}

.recently-added-wrap::-webkit-scrollbar-track,
#suggestedWrap::-webkit-scrollbar-track {
  border-radius:999px;
  background:rgba(255,255,255,.045);
}

.recently-added-wrap::-webkit-scrollbar-thumb,
#suggestedWrap::-webkit-scrollbar-thumb {
  border-radius:999px;
  background:linear-gradient(90deg,rgba(79,202,211,.72),rgba(143,248,255,.72));
}

.recently-added-wrap .suggested-card,
#suggestedWrap .suggested-card {
  flex:0 0 calc((100% - 28px)/3);
  min-width:0;
  scroll-snap-align:none;
}

@media (max-width:1000px) {
  .recently-added-wrap .suggested-card,
  #suggestedWrap .suggested-card {
    flex-basis:calc((100% - 14px)/2);
  }
}

@media (max-width:720px) {
  .recently-added-wrap,
  #suggestedWrap {
    padding-bottom:10px;
  }

  .recently-added-wrap .suggested-card,
  #suggestedWrap .suggested-card {
    flex-basis:82%;
  }
}

/* Homepage tablet wordmark override.
   Older shared-header rules hide the brand text between 721px and 1024px. */
@media (max-width:1024px) and (min-width:721px) {
  .home-header .logo span:last-child {
    display:inline !important;
  }

  .home-header {
    grid-template-columns:minmax(150px,1fr) auto;
  }
}
/* =========================================================
   PromptBx homepage color study: near-black, white and turquoise blue.
   Turquoise is the single brand accent; text stays crisp white.
   ========================================================= */
:root {
  --brand-turquoise:#35C6C3;
  --brand-highlight:#70DCD5;
  --text:#DCE5E3;
  --muted:#A8B3B1;
}

/* Brand logo stays recognisable in the turquoise palette. */
.home-header .logo-mark,
.site-menu-brand .logo-mark,
.footer-brand .logo-mark { filter:hue-rotate(0deg) saturate(1.08); }

.hero-atmosphere::before {
  background:
    radial-gradient(circle at 50% 42%,rgba(62,220,231,.2),transparent 45%),
    radial-gradient(circle at 80% 60%,rgba(102,245,255,.065),transparent 33%);
}
.hero-command .hero-quote span {
  background:linear-gradient(100deg,#A8E8E3 0%,#55C8C3 48%,#319BA1 100%);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  filter:none;
}
.hero-search-glow {
  background:rgba(61,229,241,.25);
  opacity:.55;
}
.hero-search-box:focus-within {
  border-color:rgba(103,245,255,.75);
  box-shadow:0 0 0 4px rgba(75,243,255,.13),inset 0 1px rgba(255,255,255,.08),0 24px 80px rgba(0,0,0,.38);
}
.hero-search-box .search-leading { stroke:#8bf7ff; }
.hero-search-btn {
  background:#35cbd6;
  border-color:rgba(160,249,255,.45);
  box-shadow:0 10px 28px rgba(34,175,185,.29),inset 0 1px rgba(255,255,255,.2);
}
.hero-command .eyebrow-dot,
.hero-search-pulse { background:var(--brand-highlight);box-shadow:0 0 12px rgba(102,245,255,.5); }
.hero-intents button:hover,
.hero-intents button:focus-visible { border-color:rgba(102,245,255,.46);background:rgba(34,160,169,.12); }
.hero-preview { background:#12191a;border-color:rgba(87,235,246,.25); }
.hero-preview::before { background:rgba(54,219,231,.14); }
.hero-preview-badge { color:#a7f9ff;border-color:rgba(102,245,255,.35); }

/* Turquoise is used consistently for cues, highlights and actions. */
.recently-added-section .section-kicker { color:#66f5ff; }
#suggestedSection .section-kicker { color:#8bf7ff; }
#categoriesSection .section-kicker { color:#66f5ff; }
.recently-added-wrap .suggested-card:hover { border-color:rgba(102,245,255,.42); }
#suggestedWrap .suggested-card:hover { border-color:rgba(98,245,255,.48); }
.categories-grid .cat-card:nth-child(3n + 2) .icon.promptbx-icon-wrap {
  color:#66f5ff;
  border-color:rgba(102,245,255,.32);
  background:rgba(31,151,160,.13);
}
.categories-grid .cat-card:nth-child(3n + 2):hover { border-color:rgba(102,245,255,.45); }

/* The vine bulbs keep their soft pulse; selected bulbs glow turquoise. */
.vine-node:nth-of-type(2) {
  fill:#66f5ff;
  stroke:rgba(178,250,255,.75);
  filter:drop-shadow(0 0 9px rgba(102,245,255,.72));
}
/* Keep the hero's final punctuation safely inside the clipped hero frame. */
.hero-command .hero-quote span {
  padding-inline-end: .1em;
}

@media (max-width: 720px) {
  .hero-command {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 430px) {
  .hero-command .hero-quote {
    max-width: 100%;
    font-size: clamp(32px, 9.7vw, 40px);
    padding-inline: .08em;
  }
}

/* Keep each accordion chevron anchored, then flip it vertically in place. */
.site-menu-chevron {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  margin-left: auto;
  font-size: 0;
  line-height: 0;
  transform: scaleY(1);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}

.site-menu-chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -65%) rotate(45deg);
}

.site-menu-group.open .site-menu-chevron {
  transform: scaleY(-1);
}

/* Room above scrolling cards keeps their hover lift visible. */
.recently-added-wrap,
#suggestedWrap {
  padding-top: 14px;
  margin-top: -10px;
  scroll-behavior: auto;
}

/* The glow stays inside each card instead of forming a clipped halo above it. */
.suggested-card {
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s cubic-bezier(.2,.75,.25,1), border-color .28s ease, background-color .28s ease;
}

.suggested-card::before {
  width: auto;
  height: 96px;
  inset: 0 0 auto;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(94,213,222,.075), transparent);
  filter: none;
  opacity: .72;
  pointer-events: none;
}

.suggested-card:hover,
.suggested-card:focus-within {
  transform: translateY(-2px);
}

/* Card ratings sit at the right edge; open their hint back into the card. */
.suggested-card .prompt-rating-card[data-rating-tooltip]::after {
  left: auto !important;
  right: 0 !important;
  width: min(230px, calc(100vw - 44px));
  transform: translateY(-4px) !important;
}

.suggested-card .prompt-rating-card[data-rating-tooltip]:hover::after,
.suggested-card .prompt-rating-card[data-rating-tooltip]:focus-visible::after {
  transform: translateY(0) !important;
}

.suggested-card .prompt-rating-card[data-rating-tooltip]::before {
  left: auto !important;
  right: 18px !important;
  transform: rotate(45deg) !important;
}

@media (max-width: 720px) {
  .suggested-card .prompt-rating-card[data-rating-tooltip]::after {
    width: min(180px, calc(100vw - 90px));
  }
}

/* Show the whole before/after result without stretching it on narrow screens. */
.hero-preview-frame img {
  object-fit: contain;
}