/* /creator (4 Nov 2026): app-like recruiting page. Neutral light canvas, white rounded cards, one red accent,
   dark pill CTAs. Loaded after site.css and scoped to body.cr so the home page is untouched. */

body.cr {
  --cr-bg: #efeeeb;
  --cr-card: #ffffff;
  --cr-ink: #121212;
  --cr-muted: #6a6964;
  --cr-line: rgba(18, 18, 18, 0.08);
  --cr-red: #b52a2a;
  --cr-red-soft: #fbeceb;
  --cr-radius: 24px;
  background: var(--cr-bg);
  color: var(--cr-ink);
}

.cr main { max-width: 1120px; margin: 0 auto; padding: 0 16px 96px; }
.cr h1, .cr h2, .cr h3 { font-family: var(--font); letter-spacing: -0.02em; }
.cr h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; line-height: 1.1; margin: 0 0 22px; }
.cr h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }

/* ---- hero ---- */
.cr-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 40px 0 56px; }
.cr-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--cr-card); font-size: 14px; font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.cr-dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.15); }
.cr-hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 18px; }
.cr-money { color: var(--cr-red); white-space: nowrap; }
.cr-lede { font-size: 18px; line-height: 1.55; color: var(--cr-muted); max-width: 52ch; margin: 0 0 26px; }
.cr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border: 0; border-radius: 999px; background: var(--cr-ink); color: #fff; font: 600 16px var(--font); text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.cr-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-btn:hover { background: #2a2a2a; }
.cr-btn:active { transform: scale(0.98); }
.cr-btn-full { width: 100%; }
.cr-link { color: var(--cr-ink); font-weight: 500; text-underline-offset: 4px; }
.cr-trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 0; }
.cr-trust li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); border: 1px solid var(--cr-line); font-size: 13.5px; color: var(--cr-muted); }

/* ---- the phone ---- */
.cr-phone { margin: 0; justify-self: center; width: min(340px, 100%); }
.cr-screen { position: relative; padding: 22px 18px 84px; border-radius: 40px; background: #f7f7f5; border: 8px solid #fff; box-shadow: 0 30px 60px -20px rgba(20, 20, 20, 0.28), 0 0 0 1px var(--cr-line); }
.cr-phone figcaption { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--cr-muted); }
.cr-p-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cr-p-head > span:nth-child(2) { display: grid; line-height: 1.2; flex: 1; }
.cr-p-head strong { font-size: 15px; }
.cr-p-head small { font-size: 12px; color: var(--cr-muted); }
.cr-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f3c9a8; font-weight: 700; }
.cr-bell { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.cr-bell svg { width: 18px; height: 18px; fill: none; stroke: var(--cr-ink); stroke-width: 1.8; }
.cr-p-balance { padding: 18px; border-radius: 22px; background: var(--cr-ink); color: #fff; }
.cr-p-balance small { display: block; font-size: 12px; opacity: 0.7; }
.cr-p-balance b { display: block; margin: 2px 0 8px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.cr-p-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 11.5px; }
.cr-p-bar { height: 6px; margin: 14px 0 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.cr-p-bar i { display: block; width: 33%; height: 100%; border-radius: 3px; background: #ff8a7a; animation: cr-fill 1.6s 0.4s ease-out both; }
.cr-p-note { opacity: 0.7; }
.cr-p-label { margin: 18px 0 8px; font-size: 13px; font-weight: 600; }
.cr-p-job { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.cr-p-job > span:nth-child(2) { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.cr-p-job strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-p-job small { font-size: 11.5px; color: var(--cr-muted); }
.cr-p-job em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--cr-red-soft); color: var(--cr-red); white-space: nowrap; }
.cr-p-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; color: #fff; font-weight: 700; }
.cr-p-icon.a { background: linear-gradient(135deg, #6d5dfc, #b18cff); }
.cr-p-icon.b { background: linear-gradient(135deg, #1f9d8b, #7fd6c2); }
.cr-p-tabbar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-around; padding: 12px 8px; border-radius: 999px; background: var(--cr-ink); }
.cr-p-tabbar span { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); }
.cr-p-tabbar span.on { color: #fff; font-weight: 600; }
@keyframes cr-fill { from { width: 0; } }

/* ---- sections ---- */
.cr-sec { padding: 56px 0 8px; }
.cr-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cr-card { padding: 24px; border-radius: var(--cr-radius); background: var(--cr-card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.cr-card p { margin: 0; color: var(--cr-muted); font-size: 15px; line-height: 1.55; }
.cr-card .cr-amount { margin: 2px 0 10px; color: var(--cr-red); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.cr-card-flat { background: transparent; box-shadow: none; border: 1px solid var(--cr-line); }
.cr-num { display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 600; color: var(--cr-muted); font-variant-numeric: tabular-nums; }

.cr-cashout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; margin-top: 14px; padding: 28px; border-radius: var(--cr-radius); background: var(--cr-ink); color: #fff; }
.cr-cashout h3 { font-size: 24px; margin-bottom: 8px; }
.cr-cashout p { margin: 0; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }
.cr-flow { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cr-flow li { flex: 1; padding: 14px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); text-align: center; }
.cr-flow li:last-child { background: #fff; color: var(--cr-ink); }
.cr-flow b { display: block; font-size: 15px; white-space: nowrap; }
.cr-flow span { font-size: 12px; opacity: 0.7; }

.cr-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.cr-steps li { padding: 22px; border-radius: var(--cr-radius); background: var(--cr-card); }
.cr-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 50%; background: var(--cr-ink); color: #fff; font-weight: 700; font-size: 14px; }
.cr-steps p { margin: 0; color: var(--cr-muted); font-size: 14.5px; line-height: 1.55; }

.cr-fine { margin: 16px 0 0; font-size: 13.5px; color: var(--cr-muted); max-width: 80ch; }
.cr-fine a, .cr-apply a { color: inherit; text-underline-offset: 3px; }

.cr-faq { display: grid; gap: 10px; max-width: 820px; }
.cr-faq details { padding: 18px 22px; border-radius: 20px; background: var(--cr-card); }
.cr-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cr-faq summary::-webkit-details-marker { display: none; }
.cr-faq summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; color: var(--cr-muted); transition: transform 0.2s ease; }
.cr-faq details[open] summary::after { transform: rotate(45deg); }
.cr-faq p { margin: 10px 0 0; color: var(--cr-muted); line-height: 1.6; }

/* ---- apply ---- */
.cr-apply { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; align-items: start; }
.cr-apply-copy p { color: var(--cr-muted); font-size: 16px; line-height: 1.6; }
.cr-mini-balance { display: inline-grid; margin-top: 8px; padding: 16px 22px; border-radius: 20px; background: var(--cr-ink); color: #fff; }
.cr-mini-balance small { font-size: 12px; opacity: 0.7; }
.cr-mini-balance b { font-size: 28px; letter-spacing: -0.02em; }
.cr-form { display: grid; gap: 14px; padding: 26px; border-radius: 28px; background: var(--cr-card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.cr-form .field { margin: 0; }
.cr-form .field input, .cr-form .field textarea, .cr-form .field select { width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--cr-line); background: #f7f7f5; color: var(--cr-ink); font: 400 15px var(--font); }
.cr-form .field input:focus, .cr-form .field textarea:focus, .cr-form .field select:focus { outline: none; border-color: var(--cr-ink); background: #fff; box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.08); }
.cr-form .field.invalid input, .cr-form .field.invalid select, .cr-form .field.invalid textarea { border-color: var(--cr-red); }
.cr-form .field input + input { margin-top: 8px; }
.cr-form .field-check label { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; }
.cr-form .field-check input { width: auto; }
.cr-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cr-form .legal-hint { margin: 0; font-size: 12.5px; color: var(--cr-muted); line-height: 1.5; }

/* ---- sticky phone CTA ---- */
.cr-sticky { display: none; }
@media (max-width: 760px) {
  .cr-hero, .cr-apply, .cr-cashout { grid-template-columns: minmax(0, 1fr); }
  .cr-hero { gap: 36px; padding-top: 24px; }
  .cr-grid3, .cr-steps { grid-template-columns: minmax(0, 1fr); }
  .cr-flow li { padding: 10px 6px; } .cr-flow b { font-size: 13px; } .cr-flow span { font-size: 11px; }
  .cr-2 { grid-template-columns: minmax(0, 1fr); }
  .cr-form { padding: 20px; }
  .cr-sticky {
    position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px;
    border-radius: 999px; background: var(--cr-ink); color: #fff; text-decoration: none; font-weight: 600;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45); transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .cr-sticky b { color: #ffb4a8; }
  .cr-sticky svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .cr-sticky.is-off { transform: translateY(140%); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-p-bar i { animation: none; }
  .cr-btn, .cr-sticky { transition: none; }
}

/* ---- auto-screening overlay (creator.js) ---- */
body.cs-open { overflow: hidden; }
.cs-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(18, 18, 18, 0.45); backdrop-filter: blur(6px); animation: cs-in 0.25s ease both; }
.cs-card { width: min(440px, 100%); padding: 30px 26px 26px; border-radius: 28px; background: #fff; color: #121212; text-align: center; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4); font-family: var(--font); }
.cs-orb { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: conic-gradient(from 0deg, #121212, #b52a2a, #ff8a7a, #121212); animation: cs-spin 1.4s linear infinite; position: relative; }
.cs-orb::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.cs-orb.is-ok, .cs-orb.is-no, .cs-orb.is-wait { animation: cs-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.cs-orb.is-ok { background: #1a7f4b; }
.cs-orb.is-no { background: #b52a2a; }
.cs-orb.is-wait { background: #c58a16; }
.cs-orb.is-ok::after, .cs-orb.is-no::after, .cs-orb.is-wait::after { inset: 0; background: transparent; display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 700; }
.cs-orb.is-ok::after { content: '✓'; }
.cs-orb.is-no::after { content: '!'; }
.cs-orb.is-wait::after { content: '…'; }
.cs-title { margin: 0 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.cs-sub { margin: 0; color: #6a6964; font-size: 14px; }
.cs-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.cs-step { position: relative; padding: 11px 14px 11px 42px; border-radius: 14px; background: #f5f4f1; color: #9a9893; font-size: 14.5px; transition: color 0.3s ease, background 0.3s ease; }
.cs-step::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid #d4d2cc; box-sizing: border-box; }
.cs-step.is-now { color: #121212; background: #fff; box-shadow: 0 0 0 1px rgba(18, 18, 18, 0.1); }
.cs-step.is-now::before { border-color: #121212; border-right-color: transparent; animation: cs-spin 0.8s linear infinite; }
.cs-step.is-done { color: #121212; }
.cs-step.is-done::before { border: 0; background: #1a7f4b; }
.cs-step.is-done::after { content: '✓'; position: absolute; left: 17px; top: 50%; margin-top: -9px; color: #fff; font-size: 11px; font-weight: 700; }
.cs-out { display: grid; gap: 12px; margin-top: 16px; }
.cs-out:empty { display: none; }
.cs-text { margin: 0; color: #4a4945; font-size: 15px; line-height: 1.55; }
.cs-close { border: 0; background: none; padding: 8px; font: 600 15px var(--font); color: #121212; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@keyframes cs-spin { to { transform: rotate(360deg); } }
@keyframes cs-pop { from { transform: scale(0.6); opacity: 0; } }
@keyframes cs-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cs-orb, .cs-step.is-now::before { animation: none; } }

/* Koin (19 Nov 2026): creator saldo is counted in koin; a small gold coin marks every koin amount. */
.cr-money, .cr-amount, .cr-p-balance b, .cr-flow li:first-child b, .cr-flow li:last-child b, .cr-mini-balance b, .cr-sticky b { display: inline-flex; align-items: center; gap: .28em; }
.cr-money::before, .cr-card:first-child .cr-amount::before, .cr-p-balance b::before, .cr-mini-balance b::before, .cr-sticky b::before {
  content: ''; flex: none; width: 1em; height: 1em;
  background: url(/brand/koin.svg) center / contain no-repeat;
  filter: drop-shadow(0 .04em .06em rgba(0, 0, 0, .15));
}
.cr-trust .cr-coin-chip { background: #fff6dc; border-color: #f0d68a; color: #7a5507; }
