/* Clone Your Cock: a scanner. Hologram hero, HUD readouts, a viewfinder for each angle, a reconstruction screen and
   the finished model on a lit stage. */
.cx-body { overflow-x: hidden; --cx: #3ee8ff; --cx-2: rgba(62, 232, 255, .16); --cx-3: rgba(62, 232, 255, .45); --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.cx { max-width: 760px; margin: 0 auto; padding: 0 16px 80px; }
.cx-view[hidden], .cx [hidden] { display: none !important; }

/* ---------------------------------------------------------------- controls */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer; text-decoration: none; position: relative; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background .15s; }
.cx-btn:hover { border-color: var(--cx-3); }
.cx-btn:active { transform: scale(.97); }
.cx-btn[disabled] { opacity: .45; pointer-events: none; }
.cx-btn input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.cx-p { background: var(--yellow); border-color: var(--yellow); color: #fff; box-shadow: 0 8px 26px rgba(212, 28, 44, .35); }
.cx-p:hover { border-color: var(--yellow); filter: brightness(1.08); }
.cx-ghost { background: transparent; }
.cx-danger { color: #ff6b6b; }
.cx-link { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13.5px; padding: 6px 4px; cursor: pointer; }
.cx-link:hover { color: var(--ink); }
.cx-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.cx-row > .cx-btn { flex: 1 1 0; min-width: 0; }
.cx-sub-row { justify-content: space-between; margin-top: 8px; }
.cx-err { color: #ff6b6b; font-size: 13.5px; margin: 12px 0 0; text-align: center; }
.cx-err:empty { display: none; }
.cx-err a { color: #fff; font-weight: 700; }
.cx-kicker { margin: 0 0 6px; font-family: var(--mono); color: var(--cx); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.cx-tag { display: inline-block; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--cx-3); color: var(--cx); font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* the big button: a light runs across it */
.cx-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 10px 0 28px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #ff2e4a, #c3122a); color: #fff; font: inherit; font-size: 17px; font-weight: 800; letter-spacing: .01em; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 14px 40px rgba(212, 28, 44, .45); -webkit-tap-highlight-color: transparent; }
.cx-cta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); animation: cx-sheen 3.2s ease-in-out infinite; }
.cx-cta:active { transform: scale(.98); }
.cx-cta[disabled] { opacity: .6; pointer-events: none; }
.cx-cta-wide { display: flex; width: 100%; justify-content: space-between; margin-top: 18px; }
@keyframes cx-sheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.cx-price { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 11px; background: rgba(0, 0, 0, .28); font-style: normal; font-family: var(--mono); font-size: 15px; font-weight: 700; }
.cx-price:empty { display: none; }
.cx-price img { width: 18px; height: 18px; }
.cx-bal { margin: 10px 0 0; text-align: center; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.cx-bal:empty { display: none; }
.cx-bal img { width: 13px; height: 13px; vertical-align: -2px; }

/* ---------------------------------------------------------------- HUD */
.cx-hud { position: absolute; inset: 10px; pointer-events: none; }
.cx-c { position: absolute; width: 18px; height: 18px; border-color: var(--cx-3); border-style: solid; border-width: 0; }
.cx-c.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.cx-c.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.cx-c.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.cx-c.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.cx-read { position: absolute; font-family: var(--mono); font-size: 10px; line-height: 1.6; letter-spacing: .08em; color: rgba(62, 232, 255, .7); text-transform: uppercase; white-space: nowrap; }
.cx-read b { color: rgba(255, 255, 255, .5); font-weight: 500; margin-right: 4px; }
.cx-read.tl { top: 12px; left: 14px; } .cx-read.tr { top: 12px; right: 14px; text-align: right; }
.cx-read.bl { bottom: 12px; left: 14px; } .cx-read.br { bottom: 12px; right: 14px; }
.cx-live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cx); margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 8px var(--cx); animation: cx-blink 1.4s ease-in-out infinite; }
@keyframes cx-blink { 50% { opacity: .25; } }

/* ---------------------------------------------------------------- home */
.cx-hero { position: relative; margin: 0 -16px; display: flex; flex-direction: column; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(62, 232, 255, .13), transparent 70%), radial-gradient(ellipse 80% 50% at 50% 110%, rgba(212, 28, 44, .22), transparent 70%), #050608; }
.cx-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); pointer-events: none; z-index: 1; }
.cx-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; background: linear-gradient(transparent, #050608 78%); pointer-events: none; }
.cx-holo { position: absolute; inset: 0; }
.cx-holo canvas { display: block; }
.cx-hero .cx-holo { position: relative; inset: auto; width: 100%; height: clamp(300px, 52vh, 560px); margin-top: 34px; z-index: 2; }
.cx-hero .cx-hud { z-index: 2; }
.cx-hero-copy { position: relative; z-index: 3; text-align: center; padding: 6px 16px 50px; }
.cx-hero h1 { margin: 0; font-size: clamp(40px, 11vw, 74px); line-height: .95; letter-spacing: -.005em; text-shadow: 0 0 40px rgba(62, 232, 255, .25); }
.cx-sub { margin: 12px 0 24px; color: var(--ink-2); font-size: 16px; }
.cx-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 0; padding: 0; }
.cx-steps li { padding: 14px 12px; border-radius: 14px; background: linear-gradient(180deg, rgba(62, 232, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid rgba(62, 232, 255, .14); }
.cx-steps b { display: block; font-family: var(--mono); font-size: 11px; color: var(--cx); letter-spacing: .1em; }
.cx-steps strong { display: block; margin-top: 6px; font-size: 15px; }
.cx-steps span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.cx-soonband { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(100deg, rgba(212, 28, 44, .16), rgba(62, 232, 255, .06)); border: 1px solid rgba(255, 255, 255, .08); }
.cx-soonband strong { font-size: 15px; }
.cx-soonband > span:last-child { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.cx-h { margin: 28px 0 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
@media (max-width: 440px) { .cx-grid { grid-template-columns: repeat(2, 1fr); } .cx-steps span { font-size: 11px; } }
.cx-card { position: relative; display: block; padding: 0; border: 1px solid rgba(62, 232, 255, .12); border-radius: 14px; overflow: hidden; background: #08090b; color: var(--ink); cursor: pointer; font: inherit; text-align: left; transition: border-color .15s, transform .15s; }
.cx-card:hover { border-color: var(--cx-3); transform: translateY(-2px); }
.cx-card-pic { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(62, 232, 255, .1), transparent 65%), #08090b; }
.cx-card-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-card-state { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cx); }
.cx-card-by { display: block; padding: 8px 10px 9px; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-top: 1px solid rgba(255, 255, 255, .05); }
.cx-more { text-align: center; margin-top: 14px; }

/* ---------------------------------------------------------------- panels */
.cx-panel { position: relative; margin-top: 16px; padding: 22px 18px 18px; border-radius: 20px; background: linear-gradient(180deg, rgba(62, 232, 255, .05), rgba(255, 255, 255, .01) 40%), #0b0c0f; border: 1px solid rgba(62, 232, 255, .14); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.cx-panel h2 { margin: 0 0 6px; font-size: 26px; }
.cx-how { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.cx-checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; padding: 0; }
.cx-checks li { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .06); }
.cx-checks i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--cx); letter-spacing: .1em; }
.cx-checks strong { display: block; margin-top: 4px; font-size: 14.5px; }
.cx-checks span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.cx-consent { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); font-size: 14px; cursor: pointer; }
.cx-consent input { position: absolute; opacity: 0; pointer-events: none; }
.cx-box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid var(--cx-3); display: grid; place-items: center; transition: background .15s; }
.cx-consent input:checked + .cx-box { background: var(--cx); border-color: var(--cx); }
.cx-consent input:checked + .cx-box::after { content: ""; width: 10px; height: 5px; border: solid #001318; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.cx-consent input:focus-visible + .cx-box { outline: 2px solid var(--cx); outline-offset: 2px; }

/* ---------------------------------------------------------------- capture */
.cx-shot-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.cx-orbit { flex: none; width: 92px; height: 92px; }
.cx-orbit svg { width: 100%; height: 100%; overflow: visible; }
.cx-orbit .on { animation: cx-blink 1.2s ease-in-out infinite; }
.cx-finder { position: relative; min-height: 300px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(62, 232, 255, .16);
  background: radial-gradient(circle at 50% 50%, rgba(62, 232, 255, .08), transparent 60%), linear-gradient(rgba(62, 232, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(62, 232, 255, .05) 1px, transparent 1px) 0 0 / 28px 28px, #050608; }
.cx-finder .cx-hud { inset: 12px; z-index: 2; }
.cx-cross { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cx-cross::before, .cx-cross::after { content: ""; position: absolute; background: rgba(62, 232, 255, .35); }
.cx-cross::before { width: 34px; height: 1px; } .cx-cross::after { width: 1px; height: 34px; }
.cx-aim { position: relative; z-index: 1; text-align: center; }
.cx-aim svg { width: 200px; height: 200px; }
.cx-shot-img { position: relative; width: 100%; }
.cx-shot-img img { display: block; width: 100%; max-height: 62vh; object-fit: contain; }
.cx-shot-img::after { content: ""; position: absolute; left: 0; right: 0; height: 22%; top: -22%; background: linear-gradient(transparent, rgba(62, 232, 255, .22), transparent); border-bottom: 1px solid rgba(62, 232, 255, .7); animation: cx-scan 2.4s linear infinite; pointer-events: none; }
@keyframes cx-scan { to { top: 100%; } }
.cx-tip { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); border: 1px solid var(--cx-3); color: var(--cx); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.cx-locked { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #7dffb1; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.cx-review { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.cx-thumb { position: relative; padding: 0; border: 1px solid rgba(62, 232, 255, .16); border-radius: 14px; overflow: hidden; background: #050608; color: var(--ink-2); font: inherit; cursor: pointer; }
.cx-thumb img, .cx-thumb-none { display: grid; place-items: center; width: 100%; aspect-ratio: 1; object-fit: cover; }
.cx-thumb-none { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.cx-thumb > span:last-child { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .7); font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cx); }
.cx-thumb .cx-ok { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--cx); display: grid; place-items: center; }
.cx-thumb .cx-ok::after { content: ""; width: 8px; height: 4px; border: solid #001318; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }

/* ---------------------------------------------------------------- reconstruction */
.cx-build { position: relative; margin: 0 -16px; min-height: calc(100vh - 120px); overflow: hidden; background: radial-gradient(ellipse 60% 45% at 50% 38%, rgba(62, 232, 255, .14), transparent 70%), #050608; display: flex; align-items: flex-end; }
.cx-build::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); pointer-events: none; z-index: 1; }
.cx-holo-build { top: 3%; bottom: 40%; }
.cx-build .cx-hud { z-index: 2; }
.cx-build-read { position: relative; z-index: 3; width: 100%; padding: 0 22px 28px; background: linear-gradient(transparent, #050608 30%); padding-top: 40px; }
.cx-pct { display: flex; align-items: baseline; gap: 4px; font-family: var(--mono); color: #fff; }
.cx-pct b { font-size: 54px; font-weight: 700; line-height: 1; text-shadow: 0 0 30px rgba(62, 232, 255, .5); }
.cx-pct span { font-size: 20px; color: var(--cx); }
.cx-bar { position: relative; height: 4px; margin: 12px 0 14px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.cx-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--cx), #fff); box-shadow: 0 0 14px var(--cx); transition: width .8s ease; }
.cx-log { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12px; line-height: 1.9; }
.cx-log li { color: rgba(255, 255, 255, .28); display: flex; justify-content: space-between; gap: 10px; }
.cx-log li::after { content: "···"; }
.cx-log li.run { color: #fff; }
.cx-log li.run::after { content: "RUN"; color: var(--cx); animation: cx-blink 1s infinite; }
.cx-log li.ok { color: rgba(255, 255, 255, .62); }
.cx-log li.ok::after { content: "OK"; color: #7dffb1; }
.cx-timer { margin: 10px 0 0; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.cx-fail { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(5, 6, 8, .85); backdrop-filter: blur(6px); }
.cx-build.is-failed .cx-build-read { display: none; }

/* ---------------------------------------------------------------- the model */
.cx-stage { position: relative; margin: 16px -16px 0; aspect-ratio: 1; max-height: 74vh; width: calc(100% + 32px); overflow: hidden;
  background: radial-gradient(ellipse 55% 45% at 50% 45%, rgba(62, 232, 255, .12), transparent 70%), linear-gradient(rgba(62, 232, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(62, 232, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px, #050608; }
@media (min-width: 760px) { .cx-stage { margin: 16px 0 0; width: 100%; border-radius: 22px; border: 1px solid rgba(62, 232, 255, .16); } }
.cx-stage-in { position: absolute; inset: 0; display: grid; place-items: center; }
.cx-stage model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.cx-spin { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(62, 232, 255, .15); border-top-color: var(--cx); animation: cx-spin .9s linear infinite; }
@keyframes cx-spin { to { transform: rotate(360deg); } }
.cx-by { text-align: center; margin: 12px 0 0; font-size: 14px; }
.cx-by:empty { display: none; }
.cx-by a { color: var(--ink); text-decoration: none; font-weight: 700; }
.cx-switch { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; cursor: pointer; }
.cx-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cx-knob { position: relative; width: 46px; height: 26px; flex: none; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); transition: background .15s; }
.cx-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cx-switch input:checked + .cx-knob { background: var(--cx); border-color: var(--cx); box-shadow: 0 0 16px rgba(62, 232, 255, .5); }
.cx-switch input:checked + .cx-knob::after { transform: translateX(20px); background: #001318; }
.cx-dildo { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 16px; border-radius: 18px; background: linear-gradient(100deg, rgba(212, 28, 44, .18), rgba(62, 232, 255, .06)); border: 1px solid rgba(255, 255, 255, .08); }
.cx-dildo strong { display: block; margin-top: 6px; font-size: 16px; }
.cx-dildo span:not(.cx-tag) { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cx-dildo .cx-btn { flex: none; height: 40px; }
.cx-holo-pose { position: absolute; inset: 0; z-index: 1; }
.cx-example { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .65); border: 1px solid var(--cx-3); color: var(--cx); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cx-finder { min-height: 340px; }
