@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --hk-ink: #27253f;
  --hk-muted: #77758e;
  --hk-violet: #6757db;
  --hk-violet-deep: #5142bd;
  --hk-lilac: #f0effa;
  --hk-line: #e6e4f0;
  --hk-paper: #fffefa;
  --hk-coral: #c96850;
}

.hk-page [hidden],
.hk-catalog [hidden] { display: none !important; }

.s-wrap:has(.hk-page) .s-body,
.s-wrap:has(.hk-catalog) .s-body,
.s-wrap:has(.start-hub) .s-body {
  max-width: none;
}
.s-wrap:has(.hk-page) .s-body,
.s-wrap:has(.hk-catalog) .s-body { padding-top: 26px; }

.s-nav .s-nav-item {
  text-transform: none;
  letter-spacing: 0;
  font-family: 'DM Sans', sans-serif;
}
.s-nav .s-nav-item.active {
  background: rgba(103, 87, 219, .10);
  color: var(--hk-violet-deep);
}
.s-nav .s-nav-item:hover { color: var(--hk-violet-deep); }
.s-nav .s-nav-item svg { flex: 0 0 auto; }
@media (max-width: 1023px) {
  .s-wrap:not(.ld-page):has(> nav.s-nav) > .s-nav {
    position: fixed; bottom: 0; left: 0; right: 0; width: 100%;
    height: calc(var(--nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); border-radius: 0; transform: none;
  }
  .s-header { transition: transform .2s ease; }
  .s-header.hk-header-hidden { transform: translateY(-110%); }
  .s-nav .s-nav-item { min-width: 0; font-size: 8px; line-height: 1.1; letter-spacing: -.02em; }
  .s-nav .s-nav-item svg { width: 20px; height: 20px; }
  .s-nav .s-nav-item[href*="/studio/balance"] { gap: 2px; }
  .s-nav .s-nav-item[href*="/studio/balance"] .em-hook-nav-offer { max-width: 100%; }
}

.hk-catalog,
.hk-detail,
.start-hub {
  width: min(100%, 1220px);
  margin: 0 auto;
  color: var(--hk-ink);
  font-family: 'DM Sans', sans-serif;
}
.hk-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hk-violet-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin: 0 0 26px;
}
.hk-back svg { width: 17px; height: 17px; }
.hk-back:hover { color: var(--hk-coral); }
.hk-kicker {
  margin: 0 0 10px;
  color: var(--hk-violet);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .15em;
  font-weight: 800;
}
.hk-catalog-head,
.hk-detail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}
.hk-catalog-head h1,
.hk-detail-head h1,
.start-hero h1 {
  margin: 0;
  color: var(--hk-ink);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 800;
}
.hk-lead {
  max-width: 670px;
  margin: 12px 0 0;
  color: var(--hk-muted);
  font-size: 15px;
  line-height: 1.6;
}
.hk-catalog-note {
  min-width: 134px;
  padding: 13px 17px;
  border: 1px solid var(--hk-line);
  border-radius: 16px;
  background: rgba(255, 254, 250, .72);
  color: var(--hk-muted);
  font-size: 11px;
  text-align: center;
}
.hk-note-mark { display: block; color: var(--hk-ink); font: 800 23px/1 'Manrope', sans-serif; margin-bottom: 5px; }
.hk-catalog-tools { display: flex; gap: 10px; align-items: center; margin: 0 0 18px; }
.hk-catalog-search { display: flex; align-items: center; gap: 8px; min-width: 0; width: 260px; }
.hk-catalog-search svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--hk-muted); }
.hk-catalog-search, .hk-catalog-tools select {
  height: 40px; border: 1px solid var(--hk-line); border-radius: 11px;
  background: rgba(255,255,255,.8); color: var(--hk-ink); padding: 0 12px;
}
.hk-catalog-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; }
.hk-catalog-tools select { max-width: 100%; font: inherit; font-size: 13px; cursor: pointer; }
.hk-catalog-search:focus-within, .hk-catalog-tools select:focus-visible { outline: 2px solid var(--hk-violet); outline-offset: 2px; }
.hk-catalog-no-results { padding: 30px 0; color: var(--hk-muted); font-size: 14px; }
@media (max-width: 560px) {
  .hk-catalog-tools { gap: 8px; }
  .hk-catalog-search { flex: 1; width: auto; padding: 0 9px; }
  .hk-catalog-search input { font-size: 16px; }
  .hk-catalog-tools select { width: 156px; padding: 0 7px; }
}
.hk-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hk-catalog-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(97, 85, 164, .12);
  border-radius: 19px;
  background: var(--hk-paper);
  box-shadow: 0 9px 30px rgba(43, 36, 94, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer;
}
.hk-catalog-card:focus-visible { outline: 3px solid rgba(103,87,219,.55); outline-offset: 3px; }
.hk-card-navigation { position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
.hk-card-navigation:focus-visible { outline: 3px solid rgba(103,87,219,.65); outline-offset: 3px; }
.hk-catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 87, 219, .28);
  box-shadow: 0 15px 38px rgba(43, 36, 94, .11);
}
.hk-catalog-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  min-height: 0;
  overflow: hidden;
  background: #e9e7f2;
}
.hk-catalog-media video,
.hk-catalog-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hk-catalog-media video { background: #e9e7f2; }
.hk-preview-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: grid; width: 40px; height: 40px; place-items: center;
  border: 1px solid rgba(255,255,255,.75); border-radius: 50%;
  background: rgba(39,37,63,.76); color: #fff; cursor: pointer;
  backdrop-filter: blur(8px);
}
.hk-preview-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hk-media-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: radial-gradient(circle at 70% 15%, #d9d3ff, transparent 35%), linear-gradient(145deg, #e7e5f1, #c9c5e4);
}
.hk-media-fallback span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 20px;
  color: var(--hk-violet-deep);
  font: 800 16px 'Manrope', sans-serif;
  letter-spacing: -.06em;
  background: rgba(255,255,255,.45);
}
.hk-catalog-card-copy { padding: 16px 17px 15px; }
.hk-catalog-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hk-catalog-title-row h2 { min-width: 0; margin: 0; font: 800 17px/1.25 'Manrope', sans-serif; letter-spacing: -.03em; }
.hk-catalog-duration { flex: 0 0 auto; color: var(--hk-muted); font-size: 11px; }
.hk-catalog-card-copy > p { min-height: 40px; margin: 8px 0 13px; color: var(--hk-muted); font-size: 12px; line-height: 1.5; }
.hk-catalog-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--hk-line); }
.hk-catalog-price { color: var(--hk-ink); font-size: 13px; font-weight: 800; white-space: nowrap; }
.hk-catalog-price small { color: var(--hk-muted); font-size: 10px; font-weight: 600; }
.hk-card-open-hint { color: var(--hk-violet); font-size: 20px; line-height: 1; }
.hk-catalog-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 19px;
  padding: 11px 16px; border-radius: 11px; background: var(--hk-violet);
  color: #fff; font-size: 13px; font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 16px rgba(81,66,189,.18);
}
.hk-catalog-cta:hover { background: var(--hk-violet-deep); }
.hk-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--hk-violet-deep);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.hk-card-link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.hk-card-link:hover svg { transform: translateX(3px); }
.hk-empty {
  display: grid;
  justify-items: center;
  padding: 72px 24px;
  border: 1px dashed #d9d6e9;
  border-radius: 24px;
  text-align: center;
  background: rgba(255,255,255,.42);
}
.hk-empty-orbit { width: 46px; height: 46px; margin-bottom: 18px; border: 1px solid #d0cafa; border-radius: 50%; box-shadow: inset 0 0 0 9px #f4f2ff; }
.hk-empty h2 { margin: 0; font: 800 20px 'Manrope', sans-serif; }
.hk-empty p { margin: 8px 0 0; color: var(--hk-muted); font-size: 13px; }

.hk-detail-head { align-items: center; margin-bottom: 24px; }
.hk-step-label {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  color: var(--hk-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.hk-step-label b { color: var(--hk-violet); }
.hk-step-label span { margin-left: 7px; padding-left: 9px; border-left: 1px solid var(--hk-line); letter-spacing: 0; }
.hk-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .8fr);
  grid-template-areas: "form preview";
  align-items: start;
  gap: 22px;
}
.hk-form-card,
.hk-example-card {
  min-width: 0;
  border: 1px solid rgba(97, 85, 164, .14);
  border-radius: 20px;
  background: rgba(255, 254, 250, .88);
  box-shadow: 0 12px 35px rgba(43, 36, 94, .065);
}
.hk-form-card { grid-area: form; padding: clamp(18px, 2.5vw, 28px); }
.hk-preview-pane { grid-area: preview; min-width: 0; }
.hk-example-card { padding: 19px; }
.hk-form-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.hk-form-heading h2 { margin: 0; color: var(--hk-ink); font: 800 19px/1.2 'Manrope', sans-serif; letter-spacing: -.035em; }
.hk-form-heading p { margin: 4px 0 0; color: var(--hk-muted); font-size: 11px; }
.hk-upload-zone {
  position: relative;
  display: grid;
  min-height: 164px;
  place-items: center;
  overflow: hidden;
  border: 1.5px dashed #c9c5dd;
  border-radius: 15px;
  background: #f8f7fc;
  transition: background .16s ease, border-color .16s ease;
}
.hk-upload-zone.is-dragging,
.hk-upload-zone:hover { border-color: var(--hk-violet); background: #f3f1ff; }
.hk-upload-empty { display: grid; justify-items: center; text-align: center; pointer-events: none; padding: 18px; }
.hk-upload-icon { display: grid; width: 40px; height: 40px; margin-bottom: 10px; place-items: center; border-radius: 13px; background: #e9e6fb; color: var(--hk-violet); }
.hk-upload-icon svg { width: 24px; height: 24px; }
.hk-upload-empty strong { color: var(--hk-ink); font-size: 12px; font-weight: 800; }
.hk-upload-drag-copy { display: block; margin-top: 5px; color: var(--hk-muted); font-size: 10px; }
.hk-upload-empty > span:last-child { margin-top: 5px; color: var(--hk-muted); font-size: 10px; line-height: 1.5; }
.hk-source-input { display: none; }
#hk-source-input { display: none; }
.hk-pick-overlay { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.hk-upload-zone.has-file .hk-pick-overlay { display: none; }
.hk-upload-preview { position: absolute; inset: 0; display: grid; align-items: stretch; }
.hk-upload-preview[hidden] { display: none; }
.hk-upload-preview video,
.hk-upload-preview img { width: 100%; height: 100%; min-height: 0; max-height: 260px; object-fit: contain; background: #e6e4ee; }
.hk-upload-fileline { position: absolute; right: 8px; bottom: 8px; left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0; border: 0; background: transparent; }
.hk-remove-file { flex: 0 0 auto; border: 0; padding: 5px 7px; border-radius: 7px; background: rgba(255,255,255,.12); color: #fff; font: 700 10px 'DM Sans', sans-serif; cursor: pointer; }
.hk-video-upload-zone.has-file { display: block; min-height: 0; overflow: hidden; padding: 8px; }
.hk-video-upload-zone.has-file .hk-upload-preview { position: static; inset: auto; display: flex; width: 100%; flex-direction: column; align-items: center; gap: 8px; }
.hk-video-upload-zone.has-file .hk-upload-preview video { display: block; width: auto; height: auto; max-width: 100%; max-height: min(58vh, 520px); object-fit: contain; }
.hk-video-upload-zone.has-file .hk-upload-fileline { top: 14px; right: 14px; bottom: auto; left: auto; width: auto; }
.hk-upload-error { min-height: 17px; margin: 6px 0 0; color: #a94741; font-size: 11px; }
.hk-extra-photo { margin: 8px 0 17px; }
.hk-extra-photo summary { width: fit-content; margin-bottom: 8px; color: var(--hk-violet-deep); font-size: 11px; font-weight: 800; cursor: pointer; }
.hk-extra-photo:not([open]) > label,
.hk-extra-photo:not([open]) > input,
.hk-extra-photo:not([open]) > button { display: none; }
.hk-extra-photo > label { display: block; margin-bottom: 7px; color: var(--hk-ink); font-size: 11px; font-weight: 800; }
.hk-extra-photo > label span { margin-left: 5px; color: var(--hk-muted); font-size: 10px; font-weight: 500; }
#hk-extra-input { display: none; }
.hk-extra-pick,
.hk-extra-remove { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--hk-line); border-radius: 9px; padding: 8px 11px; background: #fff; color: var(--hk-violet-deep); font: 700 10px 'DM Sans', sans-serif; cursor: pointer; }
.hk-extra-pick span:first-child { font-size: 16px; line-height: .8; }
.hk-extra-remove { margin-left: 6px; color: var(--hk-muted); }
.hk-control-block { padding: 15px 0 12px; border-top: 1px solid var(--hk-line); }
.hk-headline-block input {
  display: block; width: 100%; box-sizing: border-box; padding: 12px 14px;
  border: 1px solid var(--hk-line); border-radius: 12px;
  background: #fff; color: inherit; font: inherit; font-size: 16px;
}
.hk-headline-block input:focus { outline: 2px solid #a897ed; outline-offset: 2px; }
.hk-headline-block .hk-form-footnote { text-align: left; margin-top: 9px; }
.hk-control-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.hk-duration-label-wrap { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.hk-duration-help {
  display: inline-grid; width: 16px; height: 16px; padding: 0; place-items: center;
  border: 1px solid #aaa6bd; border-radius: 50%; background: #fff;
  color: #77738b; font: inherit; font-size: 10px; font-weight: 700; line-height: 1; cursor: pointer;
}
.hk-duration-help:hover,
.hk-duration-help[aria-expanded="true"] { border-color: var(--hk-violet); color: var(--hk-violet); }
.hk-duration-help:focus-visible { outline: 2px solid var(--hk-violet); outline-offset: 2px; }
.hk-duration-help-popover {
  position: absolute; z-index: 8; top: calc(100% + 9px); left: 0;
  width: min(290px, calc(100vw - 64px)); padding: 11px 13px;
  border: 1px solid rgba(97,85,164,.18); border-radius: 10px;
  background: #fff; color: var(--hk-ink); box-shadow: 0 8px 24px rgba(28,25,55,.14);
  font-size: 12px; font-weight: 500; line-height: 1.5;
}
.hk-control-top label,
.hk-quality-block legend,
.hk-gender-block legend { color: var(--hk-ink); font-size: 11px; font-weight: 800; }
.hk-control-top output { color: var(--hk-violet-deep); font-size: 12px; font-weight: 800; }
#hk-duration { display: block; width: 100%; height: 30px; margin: 0; appearance: none; background: transparent; cursor: pointer; touch-action: pan-y; }
#hk-duration::-webkit-slider-runnable-track { height: 7px; border-radius: 8px; background: linear-gradient(to right, var(--hk-violet) 0%, var(--hk-violet) var(--hk-range, 11%), #dedbea var(--hk-range, 11%), #dedbea 100%); }
#hk-duration::-moz-range-track { height: 7px; border-radius: 8px; background: #dedbea; }
#hk-duration::-moz-range-progress { height: 7px; border-radius: 8px; background: var(--hk-violet); }
#hk-duration::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -7.5px; appearance: none; border: 3px solid #fff; border-radius: 50%; background: var(--hk-violet); box-shadow: 0 1px 4px rgba(59,48,138,.25); }
#hk-duration::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; background: var(--hk-violet); box-shadow: 0 1px 4px rgba(59,48,138,.25); }
.hk-range-labels { display: flex; justify-content: space-between; margin-top: 7px; color: #9a98aa; font-size: 9px; }
.hk-timeline { margin-top: 5px; padding: 11px 12px 8px; border: 1px solid #e4e0f1; border-radius: 13px; background: #f8f7fc; }
.hk-timeline-ruler { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 19px; margin-bottom: 9px; }
.hk-timeline-ruler:has(.hk-timeline-source-caption[hidden]) { justify-content: flex-end; min-height: 14px; }
.hk-timeline-source-caption,
.hk-timeline-range-caption { color: #77758e; font-size: 10px; line-height: 1.35; }
.hk-timeline-range-caption { color: var(--hk-violet-deep); font-weight: 800; text-align: right; }
.hk-timeline-track { position: relative; height: 52px; margin: 0 21px 9px; border-radius: 8px; background: #e5e2ed; }
.hk-timeline-segment { position: absolute; top: 0; bottom: 0; z-index: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0 5px; color: #55516e; font-size: 9px; font-weight: 800; line-height: 1.2; text-align: center; white-space: nowrap; }
.hk-timeline-segment[hidden] { display: none !important; }
.hk-timeline-generated-segment { left: 0; width: 38%; border: 1px solid rgba(103,87,219,.32); border-radius: 8px 0 0 8px; background: #eeeafd; color: var(--hk-violet-deep); }
.hk-timeline-original-segment { right: 0; left: 0; border-radius: 8px; background: #dedce7; }
.hk-timeline.is-split .hk-timeline-generated-segment { display: flex; }
.hk-timeline.is-split .hk-timeline-original-segment { left: 38%; border-radius: 0 8px 8px 0; }
.hk-timeline-original-segment .hk-timeline-frames { z-index: 0; opacity: .72; }
.hk-timeline-segment-label { position: relative; z-index: 1; padding: 3px 5px; border-radius: 4px; background: rgba(248,247,252,.82); }
.hk-timeline.is-split .hk-timeline-segment-label { box-sizing: border-box; width: 100%; min-width: 0; white-space: normal; }
.hk-timeline.is-split .hk-timeline-ticks { display: none; }
.hk-timeline.is-split .hk-timeline-track { height: 58px; margin-bottom: 3px; }
.hk-timeline.is-split .hk-timeline-selection { z-index: 2; }
.hk-timeline.is-split .hk-timeline-handle-end { z-index: 4; }
.hk-timeline-frames { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: hidden; border-radius: inherit; }
.hk-timeline-frame { display: block; width: 100%; height: 100%; border-right: 1px solid rgba(255,255,255,.45); object-fit: cover; }
.hk-timeline-frame:last-child { border: 0; }
.hk-timeline-selection { position: absolute; z-index: 2; top: 0; bottom: 0; border: 2px solid #6757db; border-radius: 5px; background: rgba(103,87,219,.22); pointer-events: none; }
.hk-timeline-handle { position: absolute; z-index: 3; top: 50%; width: 42px; height: 62px; padding: 0; transform: translate(-50%, -50%); border: 0; background: transparent; cursor: ew-resize; touch-action: none; }
.hk-timeline-handle::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 5px; transform: translateX(-50%); border: 2px solid #fff; border-radius: 5px; background: var(--hk-violet); box-shadow: 0 1px 4px rgba(39,37,63,.25); content: ""; }
.hk-timeline-handle::after { position: absolute; top: 50%; left: 50%; width: 17px; height: 17px; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: var(--hk-violet); box-shadow: 0 1px 4px rgba(39,37,63,.2); content: ""; }
.hk-timeline-handle:focus-visible { outline: 3px solid rgba(103,87,219,.42); outline-offset: 1px; border-radius: 9px; }
.hk-timeline-handle:disabled { cursor: not-allowed; }
.hk-timeline-handle:disabled::before,
.hk-timeline-handle:disabled::after { background: #aaa7b4; }
.hk-timeline-ticks { display: flex; justify-content: space-between; margin: 0 21px 6px; color: #858297; font-size: 10px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hk-timeline.has-source-audio-row { --hk-loaded-timeline-height: 100px; }
.hk-timeline.has-source-audio-row .hk-timeline-track { height: var(--hk-loaded-timeline-height); }
.hk-timeline.has-source-audio-row .hk-timeline-original-segment .hk-timeline-frames {
  bottom: 33px; border-radius: 8px 8px 0 0; opacity: .92;
}
.hk-timeline-audio { display: none; }
.hk-timeline.has-source-audio-row .hk-timeline-audio {
  position: absolute; inset: auto 0 0; height: 33px; display: grid; place-items: center;
  padding: 3px 5px; overflow: hidden; border-top: 1px solid rgba(173,145,237,.3);
  background: #251d35; color: #cec0e4;
}
.hk-timeline-audio canvas { display: block; width: 100%; height: 100%; }
.hk-timeline-audio [hidden] { display: none; }
.hk-timeline-audio-status { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hk-timeline.has-source-audio-row .hk-timeline-segment-label { align-self: flex-start; margin-top: 6px; }
.hk-timeline.is-source-bound .hk-timeline-original-segment::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(13,9,24,.6) var(--hk-cut-start),
    transparent var(--hk-cut-start) var(--hk-cut-end), rgba(13,9,24,.6) var(--hk-cut-end));
}
.hk-timeline.is-source-bound .hk-timeline-selection {
  border: 2px solid #ba9afa; border-radius: 8px; background: transparent;
}
.hk-timeline.is-source-bound .hk-timeline-handle { width: 28px; height: calc(100% + 8px); }
.hk-timeline.is-source-bound .hk-timeline-handle-start { transform: translate(calc(-100% + 2px), -50%); }
.hk-timeline.is-source-bound .hk-timeline-handle-end { transform: translate(-2px, -50%); }
.hk-timeline.is-source-bound .hk-timeline-handle-start::before,
.hk-timeline.is-source-bound .hk-timeline-handle-start::after { left: calc(100% - 2px); }
.hk-timeline.is-source-bound .hk-timeline-handle-end::before,
.hk-timeline.is-source-bound .hk-timeline-handle-end::after { left: 2px; }
.hk-timeline.is-source-bound .hk-timeline-handle::after { width: 6px; height: 24px; border: 0; border-radius: 4px; }
.hk-timeline-source-caption[hidden] { display: none; }
.hk-timeline-frame-status.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hk-timeline #hk-duration.hk-duration-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important; border: 0 !important;
}
.hk-timeline #hk-duration.hk-duration-sr-only:focus-visible {
  outline: 2px solid var(--hk-violet) !important; outline-offset: 2px !important;
}
.hk-timeline.is-generated .hk-timeline-track { background: #eceaf3; }
.hk-timeline.is-generated:not(.is-split) .hk-timeline-generated-segment { display: none; }
.hk-timeline.is-match-source .hk-timeline-range-caption { color: #77758e; }
.hk-source-duration-toggle { display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 13px; color: var(--hk-ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.hk-source-duration-toggle input { width: 15px; height: 15px; margin: 0; accent-color: var(--hk-violet); }
.hk-appearance-settings { margin-bottom: 20px; }
.hk-appearance-panel { margin-top: 12px; padding: 14px; border: 1px solid var(--hk-line, #e8e5f0); border-radius: 12px; background: #f8f7fc; }
.hk-appearance-panel[hidden] { display: none; }
.hk-appearance-panel label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 600; }
.hk-appearance-panel textarea { display: block; box-sizing: border-box; width: 100%; min-height: 100px; padding: 12px; border: 1px solid #dedbea; border-radius: 9px; background: #fff; color: var(--hk-ink); font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; }
.hk-appearance-panel textarea:focus { outline: 2px solid var(--hk-violet); outline-offset: 2px; }
.hk-cms-field select, .hk-cms-field > input:not([type="checkbox"]):not([type="radio"]) {
  box-sizing: border-box; width: 100%; padding: 11px 12px;
  border: 1px solid #dedbea; border-radius: 9px; background: #fff;
  color: var(--hk-ink); font: inherit; font-size: 16px;
}
.hk-control-block.is-source-duration #hk-duration { background: transparent; cursor: not-allowed; }
.hk-control-block.is-source-duration #hk-duration::-webkit-slider-runnable-track { background: #e4e2ed; }
.hk-control-block.is-source-duration #hk-duration::-moz-range-track { background: #e4e2ed; }
.hk-control-block.is-source-duration #hk-duration::-moz-range-progress { background: #e4e2ed; }
.hk-control-block.is-source-duration #hk-duration::-webkit-slider-thumb { background: #aaa7b4; box-shadow: none; }
.hk-control-block.is-source-duration #hk-duration::-moz-range-thumb { background: #aaa7b4; box-shadow: none; }
.hk-timeline-track .hk-timeline-notice {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 8px 13px;
  transform: translate(-50%, -50%);
  border: 1px solid #9772ca;
  border-radius: 10px;
  background: #292036;
  box-shadow: 0 4px 16px rgba(10, 7, 16, .45);
  color: #f8efff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  pointer-events: none;
}
.hk-timeline-notice[hidden] { display: none; }
.hk-quality-block,
.hk-gender-block { min-width: 0; margin: 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--hk-line); }
.hk-quality-block legend,
.hk-gender-block legend { padding: 0 0 9px; }
.hk-quality-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hk-quality-option { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border: 1px solid var(--hk-line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.hk-quality-option.is-selected { border-color: var(--hk-violet); background: #f6f4ff; box-shadow: inset 0 0 0 1px rgba(103,87,219,.08); }
.hk-quality-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hk-quality-option:focus-within { outline: 2px solid rgba(103,87,219,.45); outline-offset: 2px; }
.hk-quality-label { color: var(--hk-ink); font: 800 14px 'Manrope', sans-serif; }
.hk-quality-rate { color: var(--hk-muted); font-size: 10px; }
.hk-quality-rate .em-gem { width: 9px; height: 8px; margin-right: 2px; vertical-align: -1px; }
.hk-gender-block { margin-top: 14px; }
.hk-gender-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hk-gender-options label { cursor: pointer; }
.hk-gender-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hk-gender-options span { display: grid; min-height: 36px; place-items: center; border: 1px solid var(--hk-line); border-radius: 10px; background: #fff; color: var(--hk-ink); font-size: 12px; font-weight: 700; }
.hk-gender-options input:checked + span { border-color: var(--hk-violet); background: #f6f4ff; color: var(--hk-violet-deep); }
.hk-gender-options input:focus-visible + span { outline: 2px solid rgba(103,87,219,.45); outline-offset: 2px; }
.hk-price-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding: 12px 13px; border: 1px solid #e6e2f7; border-radius: 12px; background: #f7f5ff; }
.hk-price-strip > span:first-child { display: grid; gap: 2px; }
.hk-price-strip small { color: var(--hk-muted); font-size: 9px; }
.hk-price-strip strong { color: var(--hk-violet-deep); font: 800 19px/1.1 'Manrope', sans-serif; }
.hk-price-strip .hk-token-amount { display: inline-flex; align-items: center; gap: 6px; }
.hk-price-strip .hk-token-amount .em-gem { width: 14px; height: 13px; }
.hk-price-rate { display: block; margin-top: 3px; }
.hk-price-rate .em-gem { width: 8px; height: 7px; margin: 0 2px; vertical-align: 0; }
.hk-balance { color: var(--hk-muted); font-size: 10px; }
.hk-balance b { color: var(--hk-ink); }
.hk-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 10px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--hk-violet); color: white; font: 800 13px 'DM Sans', sans-serif; cursor: pointer; transition: background .16s ease, transform .16s ease, opacity .16s ease; }
.hk-submit:hover:not(:disabled) { transform: translateY(-1px); background: var(--hk-violet-deep); }
.hk-submit:disabled { opacity: .45; cursor: not-allowed; }
.hk-submit-cost { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.15); font-size: 11px; }
.hk-submit-cost .em-gem { width: 10px; height: 9px; }
.hk-form-message { min-height: 16px; margin: 8px 0 0; color: #a94741; font-size: 10px; text-align: center; }
.hk-draft-status { min-height: 15px; margin: 0; color: #5d568b; font-size: 10px; text-align: center; }
.hk-form-footnote { margin: 7px 0 0; color: #9996a8; font-size: 9px; line-height: 1.45; text-align: center; }
.hk-example-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hk-example-heading .hk-kicker { margin-bottom: 5px; font-size: 9px; }
.hk-example-heading h2 { margin: 0; font: 800 15px/1.25 'Manrope', sans-serif; letter-spacing: -.025em; }
.hk-preview-caption { color: var(--hk-muted); font-size: 9px; text-align: right; }
.hk-example-media { display: grid; min-height: 180px; max-height: min(60vh, 480px); place-items: center; overflow: hidden; border-radius: 13px; background: #e8e6ef; }
.hk-example-media video,
.hk-example-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(60vh, 480px); object-fit: contain; background: #e8e6ef; }
.hk-example-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 11px; color: var(--hk-muted); font-size: 9px; }
.hk-example-foot span:last-child { color: #aaa7b8; }
.hk-live-result { display: none; margin-top: 0; }
.hk-workspace.has-pending-generation .hk-example-card,
.hk-workspace.has-accepted-generation .hk-example-card { display: none; }
.hk-workspace.has-pending-generation .hk-live-result,
.hk-workspace.has-accepted-generation .hk-live-result { display: block; }
.hk-live-result .studio-result-pane { min-height: 0; margin: 0; border-radius: 18px; box-shadow: 0 10px 28px rgba(43,36,94,.07); }
.hk-live-result .studio-result-head { padding: 15px 18px 12px; }
.hk-live-result .studio-result-body { display: block; min-height: 0; padding: 13px 18px; }
.hk-live-result .studio-result-empty { display: none; }
.hk-live-result .studio-job-card { padding: 13px; }
.hk-live-result .studio-job-card video.studio-result-media { width: auto; height: auto; max-width: 100%; max-height: min(58vh, 480px); margin-inline: auto; object-fit: contain; }
.hk-live-result .studio-job-content video[autoplay] { width: auto; height: auto; max-width: 100%; max-height: min(58vh, 480px); object-fit: contain; }

.start-hub { max-width: 1120px; padding: 22px 0 40px; }
.start-hero { position: relative; padding: clamp(24px, 5vw, 62px); overflow: hidden; border: 1px solid rgba(95,82,174,.12); border-radius: 28px; background: radial-gradient(circle at 87% 15%, rgba(170,157,255,.28), transparent 35%), linear-gradient(120deg, #fbfaff, #f0eff9 75%); }
.start-hero::after { position: absolute; top: -95px; right: -50px; width: 260px; height: 260px; border: 1px solid rgba(103,87,219,.16); border-radius: 50%; content: ""; box-shadow: 0 0 0 35px rgba(103,87,219,.035), 0 0 0 70px rgba(103,87,219,.025); pointer-events: none; }
.start-hero h1 { max-width: 760px; font-size: clamp(34px, 5vw, 58px); }
.start-hero > p:last-child { max-width: 630px; margin: 15px 0 0; color: var(--hk-muted); font-size: 15px; line-height: 1.65; }
.start-section-head { display: flex; align-items: center; gap: 14px; margin: 31px 0 15px; color: var(--hk-muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.start-rule { height: 1px; flex: 1; background: var(--hk-line); }
.start-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.start-tool { position: relative; display: flex; min-height: 206px; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 21px; border: 1px solid rgba(97,85,164,.14); border-radius: 20px; color: var(--hk-ink); text-decoration: none; background: var(--hk-paper); box-shadow: 0 9px 28px rgba(43,36,94,.05); transition: transform .2s ease, box-shadow .2s ease; }
.start-tool:hover { transform: translateY(-3px); box-shadow: 0 15px 36px rgba(43,36,94,.10); }
.start-tool-hooks { grid-column: 1 / -1; min-height: 245px; background: linear-gradient(110deg, #f7f5ff 0%, #fbfaff 60%, #e5e1fa 100%); }
.start-tool-index { position: relative; z-index: 1; color: #8f8aa7; font: 800 9px 'DM Sans', sans-serif; letter-spacing: .13em; }
.start-tool-mark { position: relative; z-index: 1; display: grid; width: 43px; height: 43px; margin-top: 20px; place-items: center; border: 1px solid #e1def0; border-radius: 14px; background: rgba(255,255,255,.82); color: var(--hk-violet); }
.start-tool-mark svg { width: 26px; height: 26px; }
.start-tool-copy { position: relative; z-index: 1; display: grid; gap: 7px; max-width: 490px; margin-top: 14px; }
.start-tool-copy strong { font: 800 21px/1.15 'Manrope', sans-serif; letter-spacing: -.045em; }
.start-tool-copy > span { max-width: 430px; color: var(--hk-muted); font-size: 12px; line-height: 1.5; }
.start-tool-copy em { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--hk-violet-deep); font-size: 11px; font-style: normal; font-weight: 800; }
.start-tool-copy em b { font-size: 16px; font-weight: 500; }
.start-tool-art { position: absolute; right: 9%; bottom: -55px; width: 225px; height: 225px; transform: rotate(-18deg); }
.start-tool-art i { position: absolute; display: block; width: 128px; height: 190px; border: 1px solid rgba(103,87,219,.2); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(205,198,244,.54)); box-shadow: 0 10px 30px rgba(58,47,138,.1); }
.start-tool-art i:nth-child(1) { left: 9px; top: 20px; transform: rotate(-15deg); }
.start-tool-art i:nth-child(2) { left: 54px; top: 3px; transform: rotate(0); }
.start-tool-art i:nth-child(3) { left: 100px; top: 21px; transform: rotate(16deg); }
.start-card-stack { position: absolute; right: 28px; bottom: 10px; width: 88px; height: 95px; transform: rotate(9deg); }
.start-card-stack i { position: absolute; inset: 0; border: 1px solid rgba(103,87,219,.2); border-radius: 13px; background: #f5f3ff; }
.start-card-stack i:nth-child(1) { transform: translate(-15px, 11px) rotate(-14deg); }
.start-card-stack i:nth-child(2) { transform: translate(-7px, 5px) rotate(-7deg); }
.start-card-stack i:nth-child(3) { background: linear-gradient(145deg,#fff,#e4dfff); }
.start-note { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 4px 0; }
.start-note-line { width: 3px; height: 31px; flex: 0 0 auto; border-radius: 3px; background: var(--hk-coral); }
.start-note p { max-width: 720px; margin: 0; color: var(--hk-muted); font-size: 11px; line-height: 1.55; }
.start-login-overlay { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(32,29,55,.46); backdrop-filter: blur(7px); }
.start-login-overlay.open { display: flex; }
.start-login-modal { position: relative; width: min(100%, 400px); padding: 30px 25px 23px; border: 1px solid rgba(255,255,255,.7); border-radius: 23px; background: var(--hk-paper); box-shadow: 0 24px 75px rgba(26,22,57,.25); }
.start-login-modal h2 { margin: 0; font: 800 22px 'Manrope', sans-serif; letter-spacing: -.04em; }
.start-login-modal > p:not(.start-kicker) { margin: 9px 0 20px; color: var(--hk-muted); font-size: 13px; line-height: 1.55; }
.start-login-modal .s-btn { margin-top: 8px; }
.start-login-close { position: absolute; top: 13px; right: 14px; width: 31px; height: 31px; border: 0; border-radius: 10px; background: #f1eff9; color: var(--hk-muted); font-size: 20px; cursor: pointer; }

.hk-result {
  width: min(100%, 820px);
  margin: 0 auto;
  color: var(--hk-ink);
  font-family: 'DM Sans', sans-serif;
}
.hk-result .hk-back { margin-bottom: 20px; }
.hk-result-complete {
  overflow: hidden;
  border: 1px solid rgba(97,85,164,.14);
  border-radius: 22px;
  background: rgba(255,254,250,.9);
  box-shadow: 0 12px 35px rgba(43,36,94,.065);
}
.hk-result-complete { padding: clamp(14px, 3vw, 24px); }
.hk-result-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.hk-result-header h1 { margin: 0; color: var(--hk-ink); font: 800 clamp(23px, 4vw, 31px)/1.15 'Manrope',sans-serif; letter-spacing: -.045em; }
.hk-result-ready { display: inline-flex; align-items: center; gap: 8px; color: #3c8267; font-size: 11px; font-weight: 800; }
.hk-result-ready > span { width: 8px; height: 8px; border-radius: 50%; background: #4fa783; }
.hk-result-media { position: relative; display: grid; min-height: 180px; max-height: 70vh; place-items: center; overflow: hidden; border-radius: 15px; background: #e9e7f1; }
.hk-result-media video { display: block; width: 100%; max-height: 70vh; object-fit: contain; background: #e9e7f1; }
.hk-result-expiry { position: absolute; right: 10px; bottom: 10px; left: 10px; margin: 0; padding: 8px; border-radius: 9px; background: rgba(39,37,63,.75); color: white; font-size: 10px; text-align: center; }
.hk-result-expired { padding: 28px 16px; color: var(--hk-muted); text-align: center; }
.hk-result-expired h2 { margin: 0 0 6px; color: var(--hk-ink); font: 800 18px 'Manrope',sans-serif; }
.hk-result-expired p { margin: 0; font-size: 12px; line-height: 1.5; }
.hk-result-download { margin-top: 13px; }
.hk-result-download svg { width: 18px; height: 18px; }
.hk-result-secondary { margin-top: 8px; }

@media (min-width: 1024px) {
  .hk-page .hk-workspace { grid-template-columns: minmax(0, 1.1fr) minmax(250px, .72fr); gap: 25px; }
}
@media (max-width: 1023px) {
  .hk-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk-workspace { grid-template-columns: minmax(0, 1fr); grid-template-areas: "preview" "form"; }
  .hk-example-card { display: block; }
  .hk-example-media { width: 100%; min-height: 160px; max-height: min(58vh, 420px); }
  .hk-example-media video, .hk-example-media img { max-height: min(58vh, 420px); }
  .hk-example-foot { display: none; }
}
@media (max-width: 640px) {
  .s-wrap:has(.hk-result-page) .s-body { padding: 18px 14px calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); }
  .s-wrap:has(.hk-page) .s-body,
  .s-wrap:has(.hk-catalog) .s-body { padding: 18px 14px calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); }
  .hk-back { margin-bottom: 19px; }
  .hk-catalog-head, .hk-detail-head { align-items: flex-start; margin-bottom: 19px; }
  .hk-catalog-head h1, .hk-detail-head h1 { font-size: clamp(29px, 8vw, 39px); }
  .hk-catalog-note { display: none; }
  .hk-lead { margin-top: 9px; font-size: 13px; }
   .hk-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hk-catalog-card { display: grid; grid-template-columns: minmax(0,1fr); border-radius: 15px; }
   .hk-catalog-media { width: 100%; }
   .hk-catalog-card-copy { display: flex; min-width: 0; flex-direction: column; padding: 10px 10px 9px; }
   .hk-catalog-title-row { align-items: flex-start; flex-direction: column; gap: 4px; }
   .hk-catalog-title-row h2 { font-size: 14px; line-height: 1.25; }
   .hk-catalog-card-copy > p { min-height: 0; margin: 6px 0 9px; font-size: 11px; line-height: 1.4; }
   .hk-catalog-card-foot { margin-top: auto; align-items: flex-end; gap: 6px; padding-top: 7px; }
   .hk-catalog-price { font-size: 11px; }
   .hk-catalog-price small { font-size: 8px; }
  .hk-step-label { padding: 8px; font-size: 9px; }
  .hk-step-label span { display: none; }
  .hk-workspace { gap: 12px; }
  .hk-form-card { padding: 17px 15px; border-radius: 17px; }
  .hk-form-heading { margin-bottom: 14px; }
  .hk-form-heading h2 { font-size: 17px; }
  .hk-quality-options { gap: 7px; }
  .hk-quality-option { min-height: 34px; padding: 6px 9px; }
  .hk-quality-label { font-size: 14px; }
  .hk-quality-rate { font-size: 9px; }
  .hk-upload-zone { min-height: 148px; }
  .hk-timeline { padding: 10px 9px 7px; }
  .hk-timeline-track { height: 50px; margin-right: 18px; margin-left: 18px; }
  .hk-timeline.has-source-audio-row { --hk-loaded-timeline-height: 88px; }
  .hk-timeline-handle { width: 48px; height: 64px; }
  .hk-timeline-ticks { margin-right: 18px; margin-left: 18px; }
  .hk-video-upload-zone.has-file .hk-upload-preview video { max-height: min(55vh, 380px); }
  .hk-example-card { padding: 13px; border-radius: 16px; }
   .hk-example-media { width: min(100%, 350px); min-height: 150px; margin: 0 auto; max-height: min(58vh, 380px); }
   .hk-example-media video, .hk-example-media img { max-height: min(58vh, 380px); }
  .hk-example-heading h2 { font-size: 13px; }
  .hk-preview-caption { max-width: 92px; font-size: 8px; }
  .hk-upload-drag-copy { display: none; }
  .s-header { transition: transform .2s ease; }
  .s-header.hk-header-hidden { transform: translateY(-110%); }
  .start-hub { padding: 4px 0 28px; }
  .start-hero { padding: 26px 21px; border-radius: 21px; }
  .start-hero h1 { font-size: clamp(33px, 10vw, 44px); }
  .start-hero > p:last-child { font-size: 13px; }
  .start-hero::after { right: -120px; opacity: .7; }
  .start-tools { grid-template-columns: 1fr; gap: 11px; }
  .start-tool, .start-tool-hooks { min-height: 205px; grid-column: auto; padding: 18px; }
  .start-tool-hooks { min-height: 225px; }
  .start-tool-mark { margin-top: 14px; }
  .start-tool-copy strong { font-size: 19px; }
  .start-tool-copy > span { max-width: 72%; font-size: 11px; }
  .start-tool-art { right: -62px; bottom: -53px; transform: scale(.76) rotate(-18deg); transform-origin: center; }
  .start-card-stack { right: 12px; bottom: 12px; transform: scale(.8) rotate(9deg); transform-origin: bottom right; }
}
@media (prefers-reduced-motion: reduce) {
  .hk-catalog-card, .hk-card-link svg, .start-tool, .hk-submit { transition: none; }
}
