@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --bg: #f4f2f7;
  --ink: #232028;
  --muted: #7b7780;
  --line: #e2dee7;
  --accent: #7c3aed;
  --accent-deep: #6d28d9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6c499f;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
button:hover {
  filter: brightness(0.96);
}
.app {
  max-width: 1800px;
  margin: auto;
}
.sidebar {
  width: 244px;
  position: fixed;
  top: 0;
  bottom: 0;
  padding: 37px 23px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  border-radius: 11px;
  width: 36px;
  height: 39px;
  font-size: 32px;
  margin-right: 9px;
  transform: rotate(-6deg);
}
.brand-dot {
  font-size: 11px;
  align-self: flex-start;
  margin-top: 5px;
  margin-left: 3px;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #96919c;
  margin: 51px 10px 16px;
}
.nav-item {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 13px 12px;
  border-radius: 8px;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #76717e;
}
.nav-item > span {
  font-size: 21px;
  width: 20px;
}
.nav-item.active {
  background: #e4ddef;
  color: #362b45;
}
.nav-item i {
  margin-left: auto;
  font-style: normal;
}
.nav-item b {
  margin-left: auto;
  background: #e8e5ec;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
}
.side-bottom {
  margin-top: auto;
}
.mini-card {
  border: 1px solid #dcd5e5;
  border-radius: 12px;
  background: linear-gradient(125deg, #eae5f2, #f1eff5);
  padding: 18px;
}
.mini-spark {
  display: block;
  font-size: 34px;
  color: #765c9c;
  margin-bottom: 12px;
}
.mini-card strong {
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.mini-card p {
  color: #837e8b;
  font-size: 11px;
  line-height: 1.8;
}
.mini-card button {
  border: 1px solid #d4cddf;
  border-radius: 6px;
  background: #f6f3fa;
  padding: 10px;
  width: 100%;
  text-align: left;
  font-size: 11px;
  font-weight: 650;
}
.mini-card button span {
  float: right;
}
.side-footer {
  font-size: 10px;
  color: #938e9a;
  margin: 23px 8px 0;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #8164ab;
  border-radius: 50%;
  margin-right: 5px;
}
.main-shell {
  margin-left: 244px;
}
header {
  height: 92px;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 11px;
  color: #95909b;
}
.breadcrumb span {
  margin: 0 13px;
  color: #c2bdc9;
}
.breadcrumb strong {
  color: #60596b;
  font-weight: 500;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 23px;
}
.privacy {
  font-size: 11px;
  color: #7a7384;
}
.avatar {
  border: 1px solid #d9d2e2;
  background: #e6dff0;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
main {
  max-width: 1190px;
  margin: auto;
  padding: 39px 48px 0;
}
.heading-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: #756c81;
}
.eyebrow > span {
  width: 5px;
  height: 5px;
  background: #72569b;
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
}
.edition {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #95909c;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 302px;
  gap: 20px;
}
.hero-copy {
  padding-bottom: 12px;
  max-width: 490px;
}
h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(38px, 4.2vw, 59px);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -2.8px;
  margin: 20px 0 23px;
  position: relative;
}
h1 > span {
  color: #7c6a97;
}
h1 svg {
  position: absolute;
  width: 305px;
  left: 0;
  bottom: -13px;
  fill: none;
  stroke: #996fd5;
  stroke-width: 3;
  stroke-linecap: round;
}
.hero-copy > p {
  color: #837e8a;
  font-size: 13px;
  line-height: 1.85;
  max-width: 365px;
}
.hero-tags {
  display: flex;
  gap: 19px;
  margin-top: 23px;
  font-size: 10px;
  color: #665d74;
}
.hero-tags span:first-letter {
  color: #6e509a;
}
.hero-art {
  position: relative;
  width: 320px;
  height: 260px;
  flex-shrink: 0;
}
.orbit {
  position: absolute;
  width: 255px;
  height: 235px;
  border: 1px dashed #d5cede;
  border-radius: 50%;
  top: 12px;
  left: 25px;
  transform: rotate(-25deg);
}
.photo {
  position: absolute;
  background: #fff;
  padding: 7px;
  border: 1px solid #e5e2e9;
  box-shadow: 0 12px 24px #31274014;
  border-radius: 12px;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}
.back-photo {
  width: 143px;
  height: 183px;
  top: 33px;
  left: 16px;
  transform: rotate(-13deg);
  padding-bottom: 29px;
}
.back-photo > span {
  font-size: 9px;
  display: block;
  margin-top: 6px;
}
.front-photo {
  width: 153px;
  height: 197px;
  top: 18px;
  left: 137px;
  transform: rotate(10deg);
}
.front-photo > span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.front-photo small {
  font-size: 8px;
  background: #ffffff38;
  padding: 3px 6px;
  border-radius: 4px;
}
.art-spark {
  position: absolute;
  right: 0;
  top: -6px;
  font-size: 39px;
  color: #816aa3;
  transform: rotate(12deg);
}
.saved-sticker {
  position: absolute;
  left: 65px;
  bottom: 18px;
  padding: 12px 16px;
  background: var(--accent);
  border: 1px solid #8e5cd7;
  border-radius: 7px;
  transform: rotate(-5deg);
  box-shadow: 0 5px 9px #3c236012;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.saved-sticker span {
  font-size: 11px;
  font-weight: 600;
}
.download-card {
  padding: 25px 27px 20px;
  border: 1px solid #dcd7e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px #251c3303;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}
.step-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
  display: flex;
  gap: 9px;
  align-items: center;
}
.step-label > span {
  font-size: 8px;
  color: #867c94;
  background: #ede9f3;
  border-radius: 4px;
  padding: 4px;
  letter-spacing: 0;
}
.supported {
  font-size: 10px;
  color: #888193;
}
.supported span {
  margin-left: 7px;
}
form {
  display: flex;
  gap: 11px;
}
.input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #dfdae5;
  border-radius: 8px;
  background: #f9f8fb;
  flex: 1;
  min-width: 0;
  padding: 5px 7px 5px 15px;
}
.input-wrap:focus-within {
  outline: 2px solid #a788d4;
}
.link-symbol {
  font-size: 24px;
  color: #a49dae;
}
input {
  border: 0;
  outline: 0;
  background: none;
  min-width: 0;
  flex: 1;
  padding: 13px 11px;
  color: #453e50;
  font: 12px "DM Sans", sans-serif;
}
input::placeholder {
  color: #a29caa;
}
#paste {
  border: 1px solid #dfd9e7;
  border-radius: 5px;
  background: #fff;
  font-size: 11px;
  padding: 7px 10px;
  color: #696077;
}
#paste span {
  margin-left: 4px;
}
.primary {
  background: var(--accent);
  border: 1px solid #9c6de0;
  border-radius: 7px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
}
.primary span {
  font-size: 21px;
}
.primary:disabled {
  opacity: 0.6;
  cursor: wait;
}
.input-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
  font-size: 9px;
  color: #9c96a5;
}
.input-bottom button {
  font-size: 10px;
  color: #6e5f84;
  padding: 0;
}
.input-bottom button span {
  margin-left: 7px;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 29px 0 35px;
  border-bottom: 1px solid var(--line);
}
.feature-row > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.feature-icon {
  background: #eae5f1;
  border: 1px solid #e0dae9;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 21px;
  color: #73608f;
}
.feature-row strong {
  font-size: 10px;
  font-weight: 600;
}
.feature-row p {
  font-size: 9px;
  color: #968fa1;
  margin: 5px 0 0;
}
.how-section {
  padding: 31px 0 29px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h2 {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}
.section-title > span {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #9f98a9;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 23px;
}
.steps > div > span {
  display: flex;
  justify-content: space-between;
  font-family: Manrope, sans-serif;
  font-size: 23px;
  color: #a398b3;
  font-weight: 500;
}
.steps i {
  font-size: 23px;
  color: #c1bacc;
  font-style: normal;
}
.steps h3 {
  font-size: 11px;
  margin: 10px 0 7px;
  font-weight: 650;
}
.steps p {
  font-size: 10px;
  line-height: 1.8;
  color: #938c9d;
  margin: 0;
  max-width: 210px;
}
.respect {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border-radius: 7px;
  background: #ede9f2;
  color: #8c839a;
}
.respect > span:first-child {
  font-size: 20px;
}
.respect p {
  font-size: 9px;
  margin: 0;
  line-height: 1.6;
}
.respect > span:last-child {
  margin-left: auto;
  white-space: nowrap;
  font-size: 7px;
  letter-spacing: 1px;
}
footer {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #9e97a7;
}
footer button {
  font-size: 9px;
  padding: 0;
  color: #897f97;
}
.mobile-nav {
  display: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#error {
  font-size: 12px;
  color: #a04132;
  margin-bottom: 0;
}
#processing {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 24px 0 4px;
  margin-top: 22px;
}
#processing small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 11px;
}
.spinner {
  width: 27px;
  height: 27px;
  border: 3px solid #e3dbef;
  border-top-color: #7855aa;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#results {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}
.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 11px;
}
.demo-badge {
  background: #ede9f3;
  color: #766889;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
}
.result-item {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 12px;
}
.result-image {
  width: 78px;
  height: 92px;
  object-fit: cover;
  border-radius: 7px;
}
.result-copy {
  flex: 1;
}
.result-copy strong {
  font-size: 13px;
}
.result-copy p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.download-option {
  display: inline-block;
  background: #e6def1;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin: 3px 6px 3px 0;
}
.muted {
  color: var(--muted);
}
#history-view,
#guide-view {
  min-height: 700px;
  padding-top: 30px;
}
#history-view h1,
#guide-view h1 {
  font-size: 45px;
}
.history-item {
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.history-item a {
  color: #64488d;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.history-item small {
  white-space: nowrap;
  color: var(--muted);
}
.empty-state {
  padding: 70px 25px;
  text-align: center;
  border: 1px dashed #d2c9df;
  border-radius: 12px;
  color: var(--muted);
  margin: 30px 0;
}
.text-button {
  margin-top: 20px;
  color: #79698f;
  text-decoration: underline;
}
.guide-content {
  max-width: 640px;
}
.guide-content h2 {
  margin-top: 30px;
}
.guide-content p {
  line-height: 1.9;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #292233;
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: 0 5px 30px #0002;
  max-width: 90%;
  width: max-content;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  max-width: 440px;
  width: 90%;
  color: var(--ink);
  background: var(--bg);
}
dialog::backdrop {
  background: #1a152265;
  backdrop-filter: blur(5px);
}
dialog p {
  line-height: 1.9;
  color: var(--muted);
  font-size: 13px;
}
#close-dialog {
  float: right;
  font-size: 25px;
  margin: -18px -10px 0 10px;
}
@media (min-width: 1450px) {
  main {
    padding-top: 50px;
  }
  .hero {
    min-height: 345px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 210px;
    padding: 30px 16px;
  }
  .main-shell {
    margin-left: 210px;
  }
  header {
    padding: 0 30px;
  }
  main {
    padding: 30px 30px 0;
  }
  .hero-art {
    width: 260px;
    transform: scale(0.85);
    transform-origin: right center;
    margin-left: -25px;
  }
  .edition {
    display: none;
  }
  .hero-tags {
    gap: 12px;
  }
  h1 {
    font-size: 46px;
  }
  .respect > span:last-child {
    display: none;
  }
  .feature-row {
    gap: 10px;
  }
  .feature-row > div {
    gap: 8px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 182px;
    padding: 28px 12px;
  }
  .main-shell {
    margin-left: 182px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-icon {
    width: 30px;
    height: 34px;
  }
  .nav-item {
    font-size: 10px;
    gap: 6px;
    padding: 11px 8px;
  }
  .mini-card {
    padding: 13px;
  }
  .hero-art {
    width: 200px;
    transform: scale(0.7);
    margin-left: -65px;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 280px;
  }
  h1 {
    font-size: 40px;
  }
  .hero-tags {
    font-size: 8px;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row > div {
    gap: 12px;
  }
  .feature-row strong {
    font-size: 11px;
  }
  .feature-row p {
    font-size: 10px;
  }
  .section-title > span {
    display: none;
  }
  .steps {
    gap: 18px;
  }
  .download-card {
    padding: 20px;
  }
  .primary {
    padding: 0 14px;
    gap: 10px;
  }
  .privacy {
    display: none;
  }
}
@media (max-width: 640px) {
  .sidebar {
    display: none;
  }
  .main-shell {
    margin-left: 0;
  }
  header {
    height: 72px;
    padding: 0 22px;
  }
  .breadcrumb {
    font-size: 0;
  }
  .breadcrumb:before {
    content: "↧ reeldrop";
    font-size: 23px;
    color: #2a2333;
    font-weight: 800;
    letter-spacing: -1px;
  }
  .breadcrumb > * {
    display: none;
  }
  .avatar {
    width: 31px;
    height: 31px;
  }
  main {
    padding: 28px 20px 0;
  }
  .eyebrow {
    font-size: 7.6px;
    letter-spacing: 1.25px;
  }
  .hero {
    display: block;
    position: relative;
    min-height: 0;
  }
  .hero-copy {
    padding: 0;
  }
  h1 {
    font-size: 46px;
    letter-spacing: -2.6px;
    line-height: 1.13;
    margin: 25px 0 25px;
  }
  h1 svg {
    width: 270px;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 320px;
    line-height: 1.9;
  }
  .hero-tags {
    font-size: 9px;
    gap: 17px;
    margin: 20px 0 0;
  }
  .hero-art {
    width: 300px;
    height: 235px;
    transform: scale(0.85);
    transform-origin: center center;
    margin: 0 auto -11px;
  }
  .hero-art .back-photo {
    left: 23px;
  }
  .hero-art .front-photo {
    left: 137px;
  }
  .download-card {
    padding: 21px 17px 17px;
    border-radius: 13px;
  }
  .card-top {
    margin-bottom: 17px;
  }
  .step-label {
    font-size: 9px;
  }
  .supported {
    font-size: 9px;
  }
  form {
    flex-direction: column;
    gap: 11px;
  }
  .input-wrap {
    padding-left: 11px;
  }
  input {
    font-size: 11px;
    padding: 14px 8px;
  }
  #paste {
    padding: 7px 8px;
  }
  .primary {
    width: 100%;
    height: 49px;
    justify-content: space-between;
    padding: 0 18px;
    font-size: 12px;
  }
  .input-bottom {
    font-size: 8px;
    gap: 10px;
    line-height: 1.6;
    align-items: flex-start;
  }
  .input-bottom button {
    font-size: 9px;
    white-space: nowrap;
  }
  .feature-row {
    padding: 25px 2px;
    gap: 20px;
  }
  .feature-icon {
    width: 35px;
    height: 35px;
  }
  .feature-row strong {
    font-size: 11px;
  }
  .feature-row p {
    font-size: 10px;
  }
  .how-section {
    padding-top: 26px;
  }
  .section-title h2 {
    font-size: 19px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 25px;
  }
  .steps > div {
    position: relative;
    padding-left: 48px;
  }
  .steps > div > span {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 23px;
  }
  .steps i {
    display: none;
  }
  .steps h3 {
    font-size: 12px;
    margin-top: 0;
  }
  .steps p {
    max-width: none;
    font-size: 11px;
  }
  .respect {
    padding: 14px 12px;
    align-items: flex-start;
  }
  .respect p {
    font-size: 9px;
  }
  footer {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 24px;
    padding-bottom: 105px;
    font-size: 8px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: #faf8fded;
    backdrop-filter: blur(16px);
    border-top: 1px solid #ded7e8;
    z-index: 10;
    justify-content: space-around;
  }
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 65px;
    padding: 5px 8px;
    border-radius: 9px;
    font-size: 23px;
    color: #8f869b;
  }
  .mobile-nav button span {
    font-size: 9px;
  }
  .mobile-nav button.active {
    background: #e8dff4;
    color: #483563;
  }
  #toast {
    bottom: 92px;
  }
  .history-item {
    flex-direction: column;
  }
  #history-view,
  #guide-view {
    min-height: 70vh;
  }
  .result-item {
    align-items: flex-start;
  }
  .result-image {
    width: 64px;
    height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Purple brand accents with readable foregrounds on saturated surfaces. */
.primary,
.brand-icon,
.saved-sticker {
  color: #fff;
  border-color: #7c3aed;
}
.primary:hover {
  background: #6d28d9;
}
.brand-icon {
  background: #7c3aed;
}
h1 > span {
  color: #8b5bc7;
}
h1 svg {
  stroke: #c4a2f0;
}
.art-spark {
  color: #a57cd6;
}
.input-wrap:focus-within {
  outline-color: #b28be8;
}
.nav-item.active {
  background: #ede5fa;
  color: #6d28d9;
}
.mobile-nav button.active {
  background: #ede5fa;
  color: #6d28d9;
}

.about-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 12px;
  color: #6d28d9;
  background: #ede5fa;
  font-size: 11px;
  font-weight: 600;
}

/* Result: portrait preview beside post information. */
.ready-label {
  font-size: 10px;
  color: #75509c;
  background: #f2eafa;
  padding: 6px 9px;
  border-radius: 20px;
}
.post-result {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 27px;
  margin-top: 20px;
  align-items: start;
}
.post-preview {
  position: relative;
  /*aspect-ratio:9/16;*/
  background: #201a28;
  border-radius: 12px;
  overflow: hidden;
  max-height: 560px;
  width: 100%;
}
.post-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.play-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  background: linear-gradient(transparent, #170e2433);
}
.play-circle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #ffffff70;
  background: #ffffff26;
  backdrop-filter: blur(8px);
  border-radius: 50%;
  font-size: 23px;
  padding-left: 4px;
}
.play-caption {
  font-size: 11px;
  text-shadow: 0 2px 8px #000;
}
.post-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.result-creator {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 3px 0 22px;
}
.creator-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: #eee5f8;
  color: #7c3aed;
  font-size: 12px;
  font-weight: 700;
}
.creator-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 5px;
  overflow-wrap: anywhere;
}
.creator-identity strong {
  font-size: 14px;
  line-height: 1.5;
}
.creator-identity > span {
  font-size: 11px;
  color: #8a7b98;
}
.verified-badge {
  display: inline-grid;
  vertical-align: middle;
  place-items: center;
  margin-left: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #7c3aed;
  color: white;
  font-size: 10px;
}
.post-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 17px 0;
  border-top: 1px solid #eee7f5;
  border-bottom: 1px solid #eee7f5;
  gap: 8px;
}
.post-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-stat strong {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 750;
  color: #493259;
}
.post-stat > span {
  font-size: 10px;
  color: #96899f;
}
.post-metadata {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 15px;
  margin: 21px 0;
}
.post-metadata dt {
  font-size: 10px;
  color: #96899f;
  margin-bottom: 7px;
}
.post-metadata dd {
  font-size: 12px;
  font-weight: 550;
  margin: 0;
  color: #574861;
}
.detail-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #998ba6;
  font-weight: 600;
}
.post-caption {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.9;
  color: #776782;
  margin: 10px 0 15px;
}
.post-caption.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.caption-toggle {
  font-size: 11px;
  color: #7c3aed;
  padding: 0;
  margin-bottom: 15px;
}
.post-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}
.post-actions > a,
.post-actions > span {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid #dfd0ef;
}
.video-download {
  background: #7c3aed;
  color: #fff;
}
.thumbnail-download {
  background: #faf7fd;
  color: #7848a6;
}
.post-actions > a:hover {
  filter: brightness(0.95);
}
.post-actions [aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.download-note {
  font-size: 9px;
  color: #a194ac;
  line-height: 1.7;
  margin: 10px 0 0;
}
#error {
  line-height: 1.8;
  background: #fff5f3;
  padding: 12px;
  border-radius: 7px;
}
#results {
  scroll-margin-top: 20px;
}
@media (max-width: 1000px) and (min-width: 641px) {
  .post-result {
    gap: 18px;
  }
  .post-stat strong {
    font-size: 18px;
  }
  .creator-identity strong {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .post-result {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }
  .post-preview {
    max-width: 310px;
    margin: auto;
    max-height: none;
  }
  .creator-identity strong {
    font-size: 14px;
  }
  .post-stats {
    padding: 17px 0;
  }
  .post-stat strong {
    font-size: 24px;
  }
  .post-metadata {
    margin: 22px 0;
  }
  .post-caption {
    font-size: 13px;
  }
  .post-actions > a,
  .post-actions > span {
    padding: 15px;
    font-size: 13px;
  }
  .download-note {
    font-size: 10px;
  }
  .result-head {
    gap: 8px;
  }
  .ready-label {
    white-space: nowrap;
  }
}
/* Keep the decorative orbit inside the art frame at narrow desktop widths. */
.hero-art .orbit {
  transform: none;
  width: calc(100% - 50px);
  max-width: 255px;
}
#paste {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 72px;
  min-height: 33px;
}
#paste svg {
  width: 15px;
  height: 15px;
}
#paste span {
  margin: 0;
}
.history-item {
  align-items: center;
  padding: 20px;
  gap: 20px;
}
.history-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.history-details a {
  font-size: 12px;
  line-height: 1.8;
}
.history-details small {
  font-size: 10px;
}
.copy-history {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: #f2ebfa;
  color: #7847aa;
  border: 1px solid #e6d9f3;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 11px;
}
.copy-history svg {
  width: 15px;
  height: 15px;
}
.manual-copy {
  border: 1px solid #d6c4e9;
  border-radius: 5px;
  width: 100%;
  background: white;
}
.post-stats {
  border: 0;
  padding: 0;
  gap: 9px;
  margin: 0 0 4px;
}
.post-stat {
  background: linear-gradient(140deg, #faf7fe, #f5effa);
  border: 1px solid #eee4f6;
  border-radius: 10px;
  padding: 13px 10px;
  gap: 7px;
}
.post-stat .stat-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eee3fa;
  color: #9a6cc2;
  margin-bottom: 3px;
}
.stat-icon svg {
  width: 16px;
  height: 16px;
}
.post-stat strong {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.post-stat .stat-label {
  font-size: 10px;
  color: #9c89a8;
}
.steps-refined {
  gap: 13px;
  margin-top: 21px;
}
.steps-refined article {
  border: 1px solid #e6dfee;
  border-radius: 11px;
  padding: 18px 16px;
  background: linear-gradient(150deg, #fdfcfe, #f1edf7);
}
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 21px;
}
.step-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #e6d8f3;
  background: #f3ebfb;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #9669bd;
  font-size: 19px;
}
.step-count {
  color: #a99ab6;
  font-size: 8px;
  letter-spacing: 1.2px;
}
.steps-refined h3 {
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 8px;
  letter-spacing: -0.1px;
}
.steps-refined p {
  font-size: 10px;
  line-height: 1.9;
  max-width: none;
  min-height: 57px;
}
.step-foot {
  display: block;
  margin-top: 20px;
  font-size: 7px;
  letter-spacing: 1.2px;
  color: #ad9bbd;
  border-top: 1px solid #e8e0ef;
  padding-top: 13px;
}
.guide-intro {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.9;
  color: #92829e;
  margin: 0 0 33px;
}
.guide-flow {
  display: grid;
  gap: 16px;
  max-width: 760px;
}
.guide-flow article {
  display: flex;
  gap: 25px;
  padding: 27px;
  background: #fff;
  border: 1px solid #e8dfef;
  border-radius: 13px;
}
.guide-number {
  flex-shrink: 0;
  background: #f4edfc;
  color: #b098c8;
  border-radius: 12px;
  width: 51px;
  height: 56px;
  display: grid;
  place-items: center;
  font: 600 24px Manrope, sans-serif;
}
.guide-flow h2 {
  font-size: 19px;
  margin: 10px 0;
}
.guide-flow p {
  font-size: 12px;
  line-height: 1.9;
  color: #8f809b;
  margin: 0 0 12px;
}
.guide-tip {
  font-size: 10px;
  color: #a58db6;
}
.guide-install {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 22px 0;
  background: #ece3f5;
  border: 1px solid #e3d5ef;
  border-radius: 12px;
  padding: 22px;
}
.guide-install > span {
  font-size: 32px;
  color: #a17ebc;
}
.guide-install h2 {
  font-size: 16px;
}
.guide-install p {
  font-size: 11px;
  line-height: 1.9;
  color: #9983aa;
  margin-bottom: 0;
}
.guide-cta {
  background: #7c3aed;
  color: white;
  font-size: 12px;
  padding: 14px 21px;
  border-radius: 8px;
  margin: 0 0 20px;
}
@media (max-width: 640px) {
  .history-item {
    align-items: stretch;
    gap: 14px;
    padding: 17px;
  }
  .copy-history {
    align-self: flex-start;
  }
  .post-stat {
    padding: 14px 11px;
  }
  .post-stat strong {
    font-size: 22px;
  }
  .steps-refined {
    gap: 12px;
  }
  .steps-refined article {
    padding: 20px;
  }
  .step-top {
    margin-bottom: 16px;
  }
  .steps-refined h3 {
    font-size: 14px;
  }
  .steps-refined p {
    font-size: 11px;
    min-height: 0;
  }
  .step-foot {
    font-size: 8px;
    margin-top: 16px;
  }
  .guide-flow article {
    padding: 20px 17px;
    gap: 14px;
  }
  .guide-number {
    width: 36px;
    height: 42px;
    font-size: 19px;
    border-radius: 8px;
  }
  .guide-flow h2 {
    font-size: 17px;
    line-height: 1.6;
  }
  .guide-flow p {
    font-size: 12px;
  }
  .guide-install {
    padding: 18px;
    gap: 13px;
  }
  .guide-install h2 {
    font-size: 14px;
  }
  .guide-tip {
    line-height: 1.8;
    display: block;
  }
}
@media (max-width: 850px) and (min-width: 641px) {
  .steps-refined {
    grid-template-columns: 1fr;
  }
  .steps-refined p {
    min-height: 0;
  }
  .post-stat {
    padding: 10px 7px;
  }
  .post-stat strong {
    font-size: 16px;
  }
}
.post-stat {
  flex-direction: row;
  align-items: center; /*justify-content:center;*/
  gap: 9px;
  padding: 13px 9px;
}
.post-stat .stat-icon {
  margin: 0;
  flex-shrink: 0;
  width: 27px;
  height: 27px;
}
.post-stat strong {
  font-size: 18px;
  white-space: nowrap;
}
.post-actions {
  flex-direction: row;
  gap: 9px;
}
.post-actions > button {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 13px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
  border: 1px solid #dfd0ef;
  line-height: 1.5;
}
.post-actions > button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.post-actions > button:hover:not(:disabled) {
  filter: brightness(0.95);
}
@media (max-width: 640px) {
  .post-actions {
    flex-direction: column;
  }
  .post-actions > button {
    padding: 15px;
    font-size: 13px;
  }
  .post-stat {
    gap: 7px;
    padding: 13px 8px;
  }
  .post-stat strong {
    font-size: 15px;
  }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .post-stat {
    gap: 5px;
    padding: 10px 5px;
  }
  .post-stat strong {
    font-size: 15px;
  }
  .post-stat .stat-icon {
    width: 23px;
    height: 23px;
  }
}
.post-metadata {
  grid-template-columns: 1fr;
}
.avatar-initials {
  font-size: 12px;
  font-weight: 700;
  color: #7c3aed;
}
.creator-avatar.avatar-loading {
  background: linear-gradient(135deg, #f2eafa, #e6d8f4);
}
.creator-avatar img {
  z-index: 1;
  background: #f2eafa;
}
.post-stat.duration-unavailable strong {
  font-size: 10px;
  letter-spacing: 0;
}
.theme-control select {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 8px;
  padding: 8px;
  font: 11px "DM Sans", sans-serif;
  cursor: pointer;
  max-width: 110px;
}
.theme-control select:focus-visible {
  outline: 2px solid var(--accent);
}
.ad-slot {
  border: 1px dashed #d9cde4;
  border-radius: 10px;
  background: #f0ebf6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  contain: layout;
  overflow: hidden;
}
.ad-slot > span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #9e8dab;
}
.ad-slot > div {
  font-size: 10px;
  color: #aa9bb5;
}
.ad-banner {
  min-height: 105px;
  margin: 26px 0;
}
.ad-sidebar {
  min-height: 100px;
  margin-bottom: 18px;
}
.sidebar .mini-card {
  padding: 15px;
}
.sidebar .mini-spark {
  margin-bottom: 5px;
  font-size: 27px;
}
.seo-content {
  padding: 29px 0;
}
.seo-content h2 {
  margin: 12px 0;
  font-size: 23px;
  line-height: 1.5;
}
.seo-content > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 700px;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 17px;
}
.faq-list summary {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  cursor: pointer;
}
.faq-list p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 0;
}
@media (max-height: 850px) and (min-width: 641px) {
  .ad-sidebar {
    min-height: 60px;
    margin-bottom: 10px;
  }
  .sidebar .mini-card p {
    font-size: 10px;
  }
  .sidebar .mini-card {
    padding: 11px;
  }
}
@media (max-width: 640px) {
  .header-right {
    gap: 10px;
  }
  .theme-control select {
    font-size: 10px;
    padding: 7px;
    max-width: 95px;
  }
  .faq-list {
    grid-template-columns: 1fr;
  }
  .seo-content h2 {
    font-size: 21px;
  }
  .ad-banner {
    min-height: 100px;
    margin: 23px 0;
  }
  .seo-content {
    padding: 24px 0;
  }
  .faq-list details {
    padding: 16px;
  }
}

.ad-slot > div {
  width: 42px;
  height: 3px;
  border-radius: 4px;
  background: #cdbddc;
}
/* Gradient palette system: each color mood has its own light and dark surfaces. */
html[data-palette] {
  --surface: #fff;
  --surface-soft: #eef5f8;
  --surface-raised: #f8fbfd;
  --muted: #647989;
  --line: #dce8ef;
  --ink: #1d3448;
  --bg: #f3f8fb;
  --accent: #19778c;
  --accent-deep: #236cb2;
  --brand-a: #087d96;
  --brand-b: #5668d9;
  --tint: #e3f2f5;
  --glow: rgba(79, 155, 205, 0.09);
  --glow2: rgba(112, 124, 223, 0.08);
  --shadow: rgba(26, 67, 95, 0.045);
  color: var(--ink);
}
html[data-palette="bloom"] {
  --bg: #fbf5f9;
  --ink: #3e2940;
  --muted: #897087;
  --line: #eddfeb;
  --surface-soft: #f6edf4;
  --surface-raised: #fdf9fc;
  --accent: #ad497c;
  --accent-deep: #8055b1;
  --brand-a: #b7477b;
  --brand-b: #8263d0;
  --tint: #f4e4ef;
  --glow: rgba(211, 119, 170, 0.09);
  --glow2: rgba(159, 128, 225, 0.08);
  --shadow: rgba(108, 55, 100, 0.04);
}
html[data-palette="ember"] {
  --bg: #fcf7f1;
  --ink: #483529;
  --muted: #8a7764;
  --line: #eee2d4;
  --surface-soft: #f6eee4;
  --surface-raised: #fdfaf5;
  --accent: #a75935;
  --accent-deep: #a07927;
  --brand-a: #b35a39;
  --brand-b: #b38b38;
  --tint: #f7e9d8;
  --glow: rgba(207, 152, 79, 0.09);
  --glow2: rgba(211, 114, 80, 0.07);
  --shadow: rgba(113, 76, 31, 0.04);
}
html[data-palette] body {
  background: radial-gradient(ellipse at 89% 8%, var(--glow), transparent 44%),
    radial-gradient(ellipse at 36% 42%, var(--glow2), transparent 48%),
    var(--bg);
  color: var(--ink);
}
html[data-palette] .sidebar {
  background: var(--bg);
  border-color: var(--line);
}
html[data-palette] header {
  border-color: var(--line);
}
html[data-palette] .download-card {
  background: linear-gradient(150deg, var(--surface), var(--surface-raised));
  border-color: var(--line);
  border-radius: 19px;
  box-shadow: 0 12px 40px var(--shadow);
  padding: 27px;
}
html[data-palette] .primary,
html[data-palette] .video-download,
html[data-palette] .guide-cta,
html[data-palette] .brand-icon {
  background: linear-gradient(115deg, var(--brand-a), var(--brand-b));
  color: white;
  border: 0;
  box-shadow: 0 4px 12px var(--shadow);
}
html[data-palette] .primary {
  border-radius: 10px;
}
html[data-palette] .saved-sticker {
  background: linear-gradient(115deg, var(--brand-a), var(--brand-b));
  color: #fff;
  border-color: transparent;
}
html[data-palette] h1 > span {
  background: linear-gradient(105deg, var(--accent), var(--accent-deep));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
html[data-palette] h1 svg {
  stroke: var(--accent);
  opacity: 0.35;
}
html[data-palette] .art-spark {
  color: var(--accent);
  opacity: 0.6;
}
html[data-palette] .orbit {
  border-color: var(--line);
}
html[data-palette] .input-wrap,
html[data-palette] .manual-copy {
  background: var(--surface-raised);
  border-color: var(--line);
  border-radius: 10px;
}
html[data-palette] input {
  color: var(--ink);
}
html[data-palette] input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
html[data-palette] #paste {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--line);
}
html[data-palette] .input-wrap:focus-within {
  outline-color: var(--accent);
}
html[data-palette] .nav-item.active,
html[data-palette] .mobile-nav button.active {
  background: var(--tint);
  color: var(--accent);
}
html[data-palette] .nav-item,
html[data-palette] .breadcrumb strong,
html[data-palette] .breadcrumb:before {
  color: var(--ink);
}
html[data-palette] .nav-item:not(.active) {
  color: var(--muted);
}
html[data-palette] .mini-card,
html[data-palette] .steps-refined article {
  background: linear-gradient(
    145deg,
    var(--surface-raised),
    var(--surface-soft)
  );
  border-color: var(--line);
  border-radius: 13px;
}
html[data-palette] .mini-card button,
html[data-palette] .about-button,
html[data-palette] .feature-icon,
html[data-palette] .step-icon,
html[data-palette] .guide-number,
html[data-palette] .ready-label,
html[data-palette] .copy-history {
  background: var(--tint);
  border-color: var(--line);
  color: var(--accent);
}
html[data-palette] .mini-spark,
html[data-palette] .hero-tags,
html[data-palette] .hero-tags span:first-letter,
html[data-palette] .eyebrow {
  color: var(--accent);
}
html[data-palette] .eyebrow > span,
html[data-palette] .status-dot {
  background: var(--accent);
}
html[data-palette] .hero-copy > p,
html[data-palette] .mini-card p,
html[data-palette] .steps-refined p,
html[data-palette] .guide-intro,
html[data-palette] .guide-flow p,
html[data-palette] .post-caption,
html[data-palette] .faq-list p,
html[data-palette] .privacy {
  color: var(--muted);
}
html[data-palette] .ad-slot {
  background: var(--surface-soft);
  border-color: var(--line);
  border-radius: 12px;
}
html[data-palette] .ad-slot > span,
html[data-palette] .step-foot,
html[data-palette] .step-count,
html[data-palette] .side-footer {
  color: var(--muted);
}
html[data-palette] .ad-slot > div {
  background: var(--line);
}
html[data-palette] .post-stat {
  background: linear-gradient(
    140deg,
    var(--surface-raised),
    var(--surface-soft)
  );
  border-color: var(--line);
  border-radius: 12px;
}
html[data-palette] .post-stat .stat-icon,
html[data-palette] .creator-avatar,
html[data-palette] .creator-avatar img,
html[data-palette] .thumbnail-download {
  background: var(--tint);
  color: var(--accent);
  border-color: var(--line);
}
html[data-palette] .post-stat strong,
html[data-palette] .post-metadata dd {
  color: var(--ink);
}
html[data-palette] .verified-badge {
  background: var(--brand-a);
}
html[data-palette] .avatar-initials,
html[data-palette] .caption-toggle,
html[data-palette] .history-item a,
html[data-palette] .text-button {
  color: var(--accent);
}
html[data-palette] .post-actions > button {
  border-color: var(--line);
}
html[data-palette] .history-item,
html[data-palette] .faq-list details,
html[data-palette] .guide-flow article {
  background: var(--surface);
  border-color: var(--line);
  border-radius: 13px;
}
html[data-palette] .guide-install,
html[data-palette] .respect {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--muted);
}
html[data-palette] .guide-install > span {
  color: var(--accent);
}
html[data-palette] .step-foot,
html[data-palette] footer,
html[data-palette] .feature-row,
html[data-palette] .post-stats {
  border-color: var(--line);
}
html[data-palette] .mobile-nav {
  background: var(--bg);
  border-color: var(--line);
}
html[data-palette] .theme-control select {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
html[data-palette] .photo {
  background: var(--surface);
  border-color: var(--line);
}
html[data-palette] .spinner {
  border-color: var(--line);
  border-top-color: var(--accent);
}
.palette-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0 0;
}
.palette-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.palette-options {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 30px;
  box-shadow: 0 3px 12px var(--shadow);
}
.palette-options button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 24px;
  font-size: 10px;
  color: var(--muted);
  border: 1px solid transparent;
}
.palette-options button[aria-pressed="true"] {
  background: var(--tint);
  border-color: var(--line);
  color: var(--ink);
}
.palette-swatch {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #0000000a;
}
.swatch-ocean {
  background: linear-gradient(135deg, #18a5ae, #7383e4);
}
.swatch-bloom {
  background: linear-gradient(135deg, #dc779d, #a38bdf);
}
.swatch-ember {
  background: linear-gradient(135deg, #d98b63, #cfac5d);
}
@media (max-width: 640px) {
  .palette-bar {
    margin: 20px 0 0;
    gap: 10px;
  }
  .palette-label {
    display: none;
  }
  .palette-options {
    width: 100%;
    justify-content: space-between;
    max-width: 310px;
  }
  .palette-options button {
    flex: 1;
    justify-content: center;
    padding: 8px 9px;
    font-size: 10px;
  }
  html[data-palette] .download-card {
    padding: 22px 17px;
    border-radius: 16px;
  }
  html[data-palette] .hero-copy > p {
    line-height: 1.9;
  }
  html[data-palette] .primary {
    height: 49px;
  }
}
/* Compact desktop/tablet windows keep the artwork and form inside their panel. */
@media (min-width: 641px) and (max-width: 950px) {
  .hero {
    display: block;
    min-height: 0;
  }
  .hero-copy {
    max-width: none;
    padding-top: 5px;
  }
  .hero-copy > p {
    max-width: 370px;
  }
  .hero-art {
    width: 300px;
    height: 250px;
    transform: none;
    transform-origin: center;
    margin: 0 auto 10px;
  }
  .hero-tags {
    font-size: 10px;
  }
  h1 {
    font-size: 43px;
  }
  form {
    flex-direction: column;
  }
  .primary {
    height: 48px;
    justify-content: space-between;
  }
  .palette-bar {
    gap: 8px;
  }
  .palette-label {
    display: none;
  }
  .post-result {
    grid-template-columns: 1fr;
  }
  .post-preview {
    max-width: 310px;
    margin: auto;
  }
}

:root {
  color-scheme: light;
}

.brand-second {
  color: var(--accent);
  font-weight: 800;
}
.brand {
  font-size: 25px;
  letter-spacing: -1.3px;
}
.brand-icon {
  flex-shrink: 0;
}
@media (min-width: 641px) and (max-width: 1150px) {
  .brand {
    font-size: 22px;
  }
  .brand-icon {
    width: 29px;
    height: 34px;
    margin-right: 7px;
    font-size: 27px;
  }
}
@media (min-width: 641px) and (max-width: 850px) {
  .brand {
    font-size: 20px;
  }
  .brand-icon {
    width: 26px;
    height: 31px;
    margin-right: 6px;
  }
}
