:root {
  --rf-ink: #171823;
  --rf-muted: #686b7a;
  --rf-line: #e8e7ef;
  --rf-violet: #6849f6;
  --rf-blue: #3478f6;
  --rf-coral: #ff7181;
  --rf-mint: #29c98c;
  --rf-wash: #f7f5ff;
  --rf-radius: 22px;
  --rf-shadow: 0 18px 48px rgba(32, 28, 72, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.refresh {
  background: #fff;
  color: var(--rf-ink);
  text-rendering: optimizeLegibility;
}
body.refresh .wrap { width: min(1180px, calc(100% - 40px)); }
body.refresh header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(31, 28, 55, .07);
  backdrop-filter: blur(18px);
}
body.refresh .nav { min-height: 68px; }
body.refresh .brand { letter-spacing: -.035em; }
body.refresh .navlink { font-weight: 650; }

/* Creator canvas hero */
body.refresh-home .hero-wrap {
  overflow: visible;
  padding: 64px 0 34px;
  background:
    radial-gradient(circle at 17% 25%, rgba(204, 185, 255, .52), transparent 35%),
    radial-gradient(circle at 88% 30%, rgba(255, 201, 190, .58), transparent 31%),
    linear-gradient(118deg, #fbf9ff 0%, #f5f0ff 48%, #fff7f3 100%);
}
body.refresh-home .hero {
  display: grid !important;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 58px;
  min-height: 470px;
  max-width: none !important;
  padding: 0 !important;
}
body.refresh-home .hero-copy { max-width: 590px; }
body.refresh-home .hero h1 {
  max-width: 590px;
  margin: 0 0 22px;
  font-size: clamp(46px, 5.1vw, 72px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.065em !important;
}
body.refresh-home .hero h1 em {
  color: var(--rf-violet) !important;
  background: none !important;
  box-shadow: none;
  font-style: normal;
  padding: 0 !important;
}
body.refresh-home .hero .lead {
  max-width: 560px;
  color: #464958;
  font-size: 18px;
  line-height: 1.75;
}
body.refresh-home .badges { gap: 10px; }
body.refresh-home .badges span {
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(99, 73, 224, .11);
  box-shadow: 0 8px 24px rgba(50, 39, 98, .06);
}
.refresh-hero-visual {
  position: relative;
  min-height: 430px;
  isolation: isolate;
}
.refresh-hero-visual::before,
.refresh-hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 36px;
  transform: rotate(-4deg);
  inset: 58px 28px 30px 56px;
  background: #d7ccff;
  z-index: -2;
}
.refresh-hero-visual::after {
  inset: 88px -4px 0 90px;
  transform: rotate(5deg);
  background: #ffb4bd;
  z-index: -3;
}
.refresh-canvas {
  position: absolute;
  inset: 28px 34px 30px 10px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 32px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 30px 70px rgba(75, 52, 144, .2);
  backdrop-filter: blur(12px);
}
.refresh-canvas > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.refresh-canvas .crop-grid {
  position: absolute;
  inset: 75px 75px 74px 82px;
  border: 2px solid #fff;
  background:
    linear-gradient(90deg, transparent 33%, rgba(255,255,255,.76) 33% 33.5%, transparent 33.5% 66%, rgba(255,255,255,.76) 66% 66.5%, transparent 66.5%),
    linear-gradient(transparent 33%, rgba(255,255,255,.76) 33% 33.5%, transparent 33.5% 66%, rgba(255,255,255,.76) 66% 66.5%, transparent 66.5%);
}
.refresh-output {
  position: absolute;
  right: -12px;
  width: 150px;
  padding: 10px;
  border: 1px solid rgba(35, 31, 61, .09);
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 16px 34px rgba(43, 34, 88, .16);
}
.refresh-output.one { top: 52px; }
.refresh-output.two { bottom: 44px; right: -22px; }
.refresh-output img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 11px; }
.refresh-output span { display: block; margin: 6px 2px 0; color: #4d5060; font-size: 11px; font-weight: 750; }

.refresh-search-shell {
  position: relative;
  z-index: 8;
  width: min(1120px, calc(100% - 40px));
  margin: -4px auto 46px;
  padding: 22px;
  border: 1px solid rgba(49, 41, 83, .08);
  border-radius: 26px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--rf-shadow);
}
.refresh-search {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 74px;
  padding: 0 12px 0 24px;
  border: 1px solid #ddd9eb;
  border-radius: 20px;
  background: #fff;
}
.refresh-search svg { width: 27px; color: #1e2230; }
.refresh-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rf-ink);
  font: inherit;
  font-size: 18px;
}
.refresh-search button {
  width: 54px;
  height: 50px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--rf-violet), var(--rf-blue));
  color: #fff;
  font-size: 27px;
  cursor: pointer;
}
.refresh-search-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 15px; }
.refresh-search-chips button {
  padding: 8px 14px;
  border: 1px solid #e6e3ee;
  border-radius: 999px;
  background: #fff;
  color: #454958;
  cursor: pointer;
  font-weight: 650;
}

/* Rich tool cards */
body.refresh .grid { gap: 18px; }
body.refresh .tool-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border: 1px solid var(--rf-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(32, 28, 72, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.refresh .tool-card:hover {
  transform: translateY(-4px);
  border-color: #d8d1fb;
  box-shadow: 0 18px 38px rgba(57, 43, 113, .11);
}
.refresh-card-media {
  order: 3;
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 15px;
  background: var(--rf-wash);
}
.refresh-card-media img { display: block; width: 100%; aspect-ratio: 12/7; object-fit: cover; }
body.refresh-home .grid .tool-card { display: grid; grid-template-columns: auto 1fr; align-content: start; }
body.refresh-home .grid .tool-card .refresh-card-media { grid-column: 1 / -1; }
body.refresh-home .hero-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 12px;
}
body.refresh-home .hero-bento .ht {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(32, 28, 72, .07);
}
body.refresh-home .hero-bento .ht.big { grid-column: auto; grid-row: auto; }
body.refresh-home .hero-bento .refresh-card-media { margin-top: auto; }

body.refresh .b-card { overflow: hidden; border-radius: 22px; }
.refresh-bento-media { width: 100%; margin-top: 16px; overflow: hidden; border-radius: 16px; }
.refresh-bento-media img { display: block; width: 100%; aspect-ratio: 16/8; object-fit: cover; }

/* Tool page visuals */
body.refresh-tool .tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
  padding-top: 52px;
}
.refresh-tool-cover {
  grid-column: 2;
  grid-row: 1 / span 4;
  overflow: hidden;
  border: 1px solid var(--rf-line);
  border-radius: 24px;
  background: var(--rf-wash);
  box-shadow: var(--rf-shadow);
}
.refresh-tool-cover img { display: block; width: 100%; aspect-ratio: 12/7; object-fit: cover; }
body.refresh-tool .app {
  border: 1px solid #e5e1ef;
  border-radius: 26px;
  box-shadow: var(--rf-shadow);
}
.refresh-tool-storyboard {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto;
}
.refresh-tool-storyboard h2 { margin-bottom: 8px; font-size: 30px; }
.refresh-tool-storyboard > p { color: var(--rf-muted); }
.refresh-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.refresh-story-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rf-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(32,28,72,.06);
}
.refresh-story-grid img { display: block; width: 100%; aspect-ratio: 8/5; object-fit: cover; }
.refresh-story-grid figcaption { padding: 16px 18px 18px; font-weight: 750; }
body.refresh-tool article.content { max-width: 880px; }
body.refresh-tool article.content h2 { margin-top: 2.2em; letter-spacing: -.025em; }
body.refresh-tool .related .tool-card { display: grid; }
.refresh-related-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 54px;
  margin-bottom: 54px;
}
.refresh-related-nav a {
  padding: 16px 18px;
  border: 1px solid var(--rf-line);
  border-radius: 15px;
  background: var(--rf-wash);
  color: var(--rf-ink);
  font-weight: 750;
  text-align: center;
}

/* Articles */
body.refresh-articles .ai-head { padding-top: 64px; }
.refresh-article-search { margin: 28px 0 36px; }
body.refresh-articles .art-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.refresh .art-card {
  overflow: hidden;
  border: 1px solid var(--rf-line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(32,28,72,.055);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.refresh .art-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(45,36,92,.11); }
.refresh-article-media { margin: -1px -1px 16px; overflow: hidden; }
.refresh-article-media img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
body.refresh-article .article-main { max-width: 1120px; }
body.refresh-article .article-main > h1 { max-width: 940px; letter-spacing: -.045em; }
.refresh-article-hero {
  margin: 28px 0 44px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--rf-shadow);
}
.refresh-article-hero img { display: block; width: 100%; aspect-ratio: 16/8; object-fit: cover; }
body.refresh-article .article-body { max-width: 780px; margin-left: auto; margin-right: auto; }
.refresh-inline-figure { margin: 42px -70px; }
.refresh-inline-figure img { display: block; width: 100%; border-radius: 22px; box-shadow: var(--rf-shadow); }
.refresh-inline-figure figcaption { margin-top: 10px; color: var(--rf-muted); font-size: 14px; text-align: center; }

body.refresh footer.site { margin-top: 60px; background: #15172a; color: #d7d8e4; }
body.refresh footer.site a { color: #e7e8f2; }
body.refresh footer.site .copy,
body.refresh footer.site .foot-family { border-color: rgba(255,255,255,.1); }

[data-theme="dark"] body.refresh { --rf-ink: #f2f3f8; --rf-muted: #aeb1c0; --rf-line: #303348; background: #10111b; }
[data-theme="dark"] body.refresh header.site { background: rgba(16,17,27,.88); }
[data-theme="dark"] body.refresh .tool-card,
[data-theme="dark"] body.refresh .art-card,
[data-theme="dark"] .refresh-search-shell,
[data-theme="dark"] .refresh-search { background: #181a27; }

@media (max-width: 980px) {
  body.refresh-home .hero { grid-template-columns: 1fr; gap: 18px; }
  body.refresh-home .hero-copy { max-width: 720px; }
  .refresh-hero-visual { min-height: 390px; }
  body.refresh-home .hero-bento { grid-template-columns: repeat(2, 1fr); }
  body.refresh-tool .tool-head { grid-template-columns: 1fr; }
  .refresh-tool-cover { grid-column: 1; grid-row: auto; max-width: 680px; }
  body.refresh-articles .art-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body.refresh .wrap { width: min(100% - 24px, 1180px); }
  body.refresh-home .hero-wrap { padding-top: 34px; }
  body.refresh-home .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  body.refresh-home .hero .lead { font-size: 16px; }
  .refresh-hero-visual { min-height: 320px; }
  .refresh-canvas { inset: 22px 24px 22px 0; }
  .refresh-canvas .crop-grid { inset: 60px 55px; }
  .refresh-output { width: 112px; right: -5px; }
  .refresh-output.two { right: -8px; }
  .refresh-search-shell { width: calc(100% - 24px); margin-top: 4px; padding: 12px; }
  .refresh-search { height: 62px; padding-left: 16px; }
  .refresh-search input { font-size: 15px; }
  body.refresh-home .hero-bento,
  .refresh-story-grid,
  body.refresh-articles .art-list,
  .refresh-related-nav { grid-template-columns: 1fr; }
  body.refresh-home .hero-bento .ht { min-height: 280px; }
  .refresh-inline-figure { margin: 32px 0; }
  body.refresh-tool .tool-head { padding-top: 32px; }
}

/* v3 — faithful implementation of the approved creator-canvas homepage */
body.refresh-home .wrap { width: min(1380px, calc(100% - 72px)); }
body.refresh-home header.site .nav { min-height: 78px; }
body.refresh-home .hero-wrap {
  overflow: hidden;
  padding: 48px 0 116px;
  background:
    radial-gradient(circle at 20% 30%, rgba(221, 205, 255, .7), transparent 38%),
    radial-gradient(circle at 85% 40%, rgba(255, 209, 198, .58), transparent 36%),
    linear-gradient(112deg, #faf7ff 0%, #f5efff 52%, #fff7f2 100%);
}
body.refresh-home .v3-hero {
  grid-template-columns: minmax(420px, .86fr) minmax(620px, 1.14fr);
  min-height: 520px;
  gap: 50px;
}
body.refresh-home .v3-hero .hero-copy { max-width: 560px; }
body.refresh-home .v3-hero h1 {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  font-size: clamp(58px, 5.2vw, 78px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.07em !important;
}
body.refresh-home .v3-hero h1 span { color: #1D1E24; }
body.refresh-home .v3-hero h1 em {
  display: inline-block;
  margin-top: 6px;
  background: linear-gradient(100deg, #4D42ED 0%, #7462FF 52%, #4A45EF 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
body.refresh-home .v3-hero .lead { margin: 0 0 26px; font-size: 20px; line-height: 1.75; color: #3E404A; }
body.refresh-home .v3-hero .badges { display: flex; flex-wrap: wrap; gap: 14px; }
body.refresh-home .v3-hero .badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 47px;
  padding: 0 16px;
  border: 1px solid rgba(86, 70, 180, .1);
  border-radius: 15px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 25px rgba(51, 38, 112, .05);
  font-weight: 680;
}
body.refresh-home .v3-hero .badges svg { width: 22px; height: 22px; color: #5A4BFF; }

.v3-editor { position: relative; min-height: 500px; isolation: isolate; }
.v3-editor-back { position: absolute; z-index: -2; border-radius: 26px; }
.v3-editor-back.one { inset: 42px 80px 65px 62px; transform: rotate(-5deg); background: #D6C9FF; }
.v3-editor-back.two { inset: 92px 20px 30px 120px; transform: rotate(6deg); background: linear-gradient(135deg,#FF9FB1,#FF6D79); }
.v3-spark { position: absolute; z-index: 5; color: #FF755E; font-size: 42px; font-style: normal; }
.v3-spark-one { right: 60px; top: 22px; }.v3-spark-two { right: 28px; top: 58px; font-size: 21px; }
.v3-toolbar {
  position: absolute; z-index: 8; left: 2px; top: 124px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 55px; padding: 17px 0; border: 1px solid #EEEAF4; border-radius: 18px;
  background: rgba(255,255,255,.96); box-shadow: 0 16px 34px rgba(37,29,78,.13);
}
.v3-toolbar span { display: grid; place-items: center; width: 30px; height: 30px; font-size: 23px; font-weight: 700; color: #171821; }
.v3-editor-stage {
  position: absolute; z-index: 3; inset: 70px 85px 72px 54px;
  overflow: hidden; border: 10px solid rgba(255,255,255,.94); border-radius: 30px;
  background: #fff; box-shadow: 0 30px 65px rgba(49,36,109,.19); transform: rotate(1.5deg);
}
.v3-photo-side,.v3-cutout-side { position: absolute; inset-block: 0; width: 50%; overflow: hidden; }
.v3-photo-side { left: 0; }.v3-cutout-side { right: 0; background-color: #fff; background-image: linear-gradient(45deg,#e8e8ed 25%,transparent 25%),linear-gradient(-45deg,#e8e8ed 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8e8ed 75%),linear-gradient(-45deg,transparent 75%,#e8e8ed 75%); background-size: 30px 30px; background-position: 0 0,0 15px,15px -15px,-15px 0; }
.v3-photo-side img { width: 200%; height: 100%; object-fit: cover; object-position: center; }
.v3-cutout-side img { position: absolute; width: 155%; max-width: none; height: 120%; object-fit: contain; left: -54%; top: -9%; }
.v3-selection { position: absolute; z-index: 4; left: 18%; top: 17%; width: 64%; height: 70%; border: 2px dashed #8E68FF; }
.v3-selection b { position: absolute; width: 16px; height: 16px; border: 4px solid #fff; border-radius: 50%; background: #8E68FF; box-shadow: 0 2px 8px rgba(69,44,150,.25); }
.v3-selection b:nth-child(1){left:-9px;top:-9px}.v3-selection b:nth-child(2){right:-9px;top:-9px}.v3-selection b:nth-child(3){left:-9px;bottom:-9px}.v3-selection b:nth-child(4){right:-9px;bottom:-9px}
.v3-output-card { position: absolute; z-index: 9; right: -8px; width: 165px; padding: 12px; border: 1px solid #E8E6ED; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 16px 34px rgba(36,28,77,.14); transform: rotate(3deg); }
.v3-output-card.png { top: 112px; }.v3-output-card.jpg { bottom: 54px; transform: rotate(5deg); }
.v3-output-card strong { display: block; margin-bottom: 7px; font-size: 12px; }
.v3-output-card img { display: block; width: 100%; height: 90px; object-fit: cover; border-radius: 11px; }
.v3-output-card.png img { object-fit: contain; background-color: #fff; background-image: linear-gradient(45deg,#ececf0 25%,transparent 25%),linear-gradient(-45deg,#ececf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ececf0 75%),linear-gradient(-45deg,transparent 75%,#ececf0 75%); background-size: 16px 16px; background-position: 0 0,0 8px,8px -8px,-8px 0; }
.v3-output-card span { position: absolute; left: 18px; bottom: 17px; padding: 3px 6px; border: 1px solid currentColor; border-radius: 6px; background: #fff; color: #00A968; font-size: 9px; font-weight: 800; }
.v3-output-card.jpg span { color: #355BFF; }
.v3-colorbar { position: absolute; z-index: 10; left: 235px; bottom: 29px; display: flex; gap: 10px; padding: 14px 18px; border: 1px solid #E8E6ED; border-radius: 16px; background: #fff; box-shadow: 0 13px 28px rgba(39,31,83,.12); transform: rotate(3deg); }
.v3-colorbar i { width: 32px; height: 32px; border-radius: 7px; }.v3-colorbar i:nth-child(1){background:#FF6377}.v3-colorbar i:nth-child(2){background:#7752E8}.v3-colorbar i:nth-child(3){background:#4CD1C8}.v3-colorbar i:nth-child(4){background:#FFD29B}.v3-colorbar i:nth-child(5){background:#FFB5C6}.v3-colorbar i:nth-child(6){background:linear-gradient(135deg,#FF8478,#725BFF)}

body.refresh-home .refresh-search-shell {
  width: min(1320px, calc(100% - 72px));
  margin: -78px auto 76px;
  padding: 24px 45px 25px;
  border-radius: 26px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 56px rgba(35,29,69,.11);
}
body.refresh-home .refresh-search { height: 72px; border-radius: 18px; }
body.refresh-home .refresh-search-chips { justify-content: flex-start; gap: 16px; }
body.refresh-home .refresh-search-chips button { padding: 10px 18px; border-radius: 12px; font-size: 15px; }

.v3-tool-finder { width: min(1320px, calc(100% - 72px)); margin: 0 auto 44px; }
.v3-tool-finder > h2 { margin: 0 0 26px; font-size: 36px; letter-spacing: -.04em; }
.v3-finder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; }
.v3-finder-grid > div > h3 { margin: 0 0 14px; font-size: 21px; }
.v3-finder-list { overflow: hidden; border: 1px solid #E4E4E9; border-radius: 20px; background: #fff; }
.v3-finder-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; min-height: 84px; padding: 13px 22px; color: #1B1C23; border-bottom: 1px solid #E8E7EB; }
.v3-finder-row:last-child { border-bottom: 0; }.v3-finder-row:hover { background: #FAF9FF; }
.v3-row-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: color-mix(in srgb, var(--row-color) 11%, white); color: var(--row-color); }
.v3-row-icon svg { width: 30px; height: 30px; }
.v3-row-copy { min-width: 0; }.v3-row-copy strong,.v3-row-copy small { display: block; }
.v3-row-copy strong { margin-bottom: 3px; font-size: 18px; }.v3-row-copy small { overflow: hidden; color: #777984; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.v3-arrow { font-size: 27px; }.v3-count { color: #245DFF; font-size: 15px; white-space: nowrap; }

.v3-trust-strip { width: min(1320px, calc(100% - 72px)); margin: 0 auto 72px; padding: 24px 30px; display: grid; grid-template-columns: 1.25fr .85fr; align-items: center; gap: 34px; border: 1px solid #D9CEFF; border-radius: 22px; background: linear-gradient(105deg,#F4F0FF,#FAF8FF); }
.v3-trust-main { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 22px; }.v3-shield { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: linear-gradient(145deg,#EEE8FF,#D7C9FF); color: #6A4BFA; font-size: 34px; }
.v3-shield svg { width: 58px; height: 58px; }
.v3-trust-main h2 { margin: 0 0 8px; font-size: 25px; color: #272052; }.v3-trust-main p { margin: 0; color: #666779; }.v3-trust-points { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 13px; color: #644AF0; font-size: 13px; }
.v3-tutorial { display: grid; grid-template-columns: 66px 1fr 38px; align-items: center; gap: 17px; min-height: 112px; padding: 20px; border: 1px solid #E4E1EC; border-radius: 18px; background: #FFFFFF; color: #202129; box-shadow: 0 12px 30px rgba(41,33,83,.08); }.v3-cap { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 17px; background: #E7DEFF; color: #7957F7; font-size: 29px; }.v3-tutorial strong,.v3-tutorial small { display: block; }.v3-tutorial strong { margin-bottom: 7px; font-size: 18px; }.v3-tutorial small { color: #777984; }.v3-tutorial b { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #E1DFE8; border-radius: 50%; font-size: 24px; }
.v3-cap svg { width: 49px; height: 49px; }

body.refresh .refresh-card-media img, body.refresh .refresh-tool-cover img, body.refresh .refresh-story-grid img, body.refresh .refresh-article-media img, body.refresh .refresh-article-hero img, body.refresh .refresh-inline-figure img { image-rendering: auto; }
body.refresh-tool .refresh-tool-cover { border-radius: 26px; background: #FBFAFE; }
body.refresh-tool .refresh-story-grid figure { border-radius: 22px; }

@media (max-width: 1050px) {
  body.refresh-home .v3-hero { grid-template-columns: 1fr; }
  .v3-editor { min-height: 480px; }
  .v3-finder-grid { gap: 24px; }
  .v3-trust-strip { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body.refresh-home .wrap { width: min(100% - 28px, 1380px); }
  body.refresh-home .hero-wrap { padding-top: 30px; padding-bottom: 82px; }
  body.refresh-home .v3-hero h1 { font-size: 48px !important; }
  .v3-editor { min-height: 350px; }
  .v3-editor-stage { inset: 46px 34px 54px 30px; border-width: 7px; }
  .v3-toolbar { display: none; }.v3-output-card { width: 112px; right: -2px; }.v3-output-card.png { top: 70px; }.v3-output-card.jpg { bottom: 34px; }.v3-output-card img { height: 58px; }.v3-colorbar { left: 70px; bottom: 18px; padding: 9px; gap: 6px; }.v3-colorbar i { width: 22px; height: 22px; }
  body.refresh-home .refresh-search-shell,.v3-tool-finder,.v3-trust-strip { width: calc(100% - 28px); }
  body.refresh-home .refresh-search-shell { margin-top: -50px; padding: 14px; }
  .v3-finder-grid { grid-template-columns: 1fr; }.v3-trust-main { grid-template-columns: 1fr; }.v3-trust-points { gap: 8px; }
}


/* v4 artwork: the media itself contains only the operation, never a nested title card. */
body.refresh .refresh-card-media { background: #f7f7f5; border: 1px solid #eceae6; }
body.refresh .refresh-card-media img { aspect-ratio: 12 / 7; object-position: center; }
body.refresh-tool .refresh-tool-cover img { aspect-ratio: 12 / 7; }
body.refresh .refresh-story-grid img { aspect-ratio: 16 / 9; background: #fafaf8; }
body.refresh-article .refresh-article-hero img,
body.refresh-article .refresh-inline-figure img { aspect-ratio: 16 / 9; object-fit: cover; background: #fafaf8; }
