/* The homepage's Every screen (#anywhere): a laptop, a tablet and a phone
 * holding the same Sepia page (the app's own Sepia values, as /home-page.css
 * has them), the words travelling between them as light. Then the pain: a
 * desktop-first AI writer squeezed onto a phone beside KudoNovel's page.
 * /home-anywhere.js plays it and scales the stage (.dx-inner is drawn at a
 * fixed size, --dx-s scales it). Transform and opacity only while it plays.
 */
.dx, .dx-stage {
  --dx-ink: #3a2f22;
  --dx-ink-2: #4a3d2d;
  --dx-paper: #f6eddc;
  --dx-paper-2: #f0e4cd;
  --dx-rose: #f06a9b;
  --dx-violet: #a78bfa;
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .dx, .dx-stage {
    --dx-ink__r: 58;
    --dx-ink__g: 47;
    --dx-ink__b: 34;
    --dx-ink__a: 1;
    --dx-ink-2__r: 74;
    --dx-ink-2__g: 61;
    --dx-ink-2__b: 45;
    --dx-ink-2__a: 1;
    --dx-paper__r: 246;
    --dx-paper__g: 237;
    --dx-paper__b: 220;
    --dx-paper__a: 1;
    --dx-paper-2__r: 240;
    --dx-paper-2__g: 228;
    --dx-paper-2__b: 205;
    --dx-paper-2__a: 1;
    --dx-rose__r: 240;
    --dx-rose__g: 106;
    --dx-rose__b: 155;
    --dx-rose__a: 1;
    --dx-violet__r: 167;
    --dx-violet__g: 139;
    --dx-violet__b: 250;
    --dx-violet__a: 1;
  }
}
.dx {
  position: relative;
  padding: 110px 0 100px;
  isolation: isolate;
  overflow: hidden;
}
.dx-ground {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 420px at 50% 46%, rgba(240, 106, 155, 0.16), transparent 70%),
    radial-gradient(520px 380px at 18% 30%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(520px 380px at 84% 62%, rgba(255, 210, 122, 0.08), transparent 70%);
}
/* A faint grid on the floor the devices stand on. */
.dx-ground::after {
  content: ""; position: absolute; left: 50%; top: 52%; width: 1400px; height: 520px;
  transform: translateX(-50%) perspective(700px) rotateX(64deg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}

.dx-head { text-align: center; max-width: 820px; }
.dx-kicker { justify-content: center; }
.dx-kicker i { background: #ffd27a !important; box-shadow: 0 0 12px #ffd27a !important; }
.dx-head h2 { font-family: var(--font-display); font-weight: 500; font-size: calc(clamp(32px, 5vw, 60px) / var(--tz, 1)); line-height: 1.06; letter-spacing: -0.02em; margin: 14px auto 18px; text-wrap: balance; }
.dx-head h2 em { display: block; font-style: italic; background: linear-gradient(100deg, #ffd27a, #f5a66a 25%, #f06a9b 60%, #c084fc); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hx-shine 9s ease-in-out infinite; padding-right: 0.08em; }
.dx-head > p { color: var(--fg-2); font-size: calc(17px / var(--tz, 1)); line-height: 1.6; margin: 0 auto; max-width: 680px; text-wrap: pretty; }

/* ---- the stage: drawn at 1060 x 600 (a phone's 640 x 720), scaled ---- */
.dx-stage { position: relative; margin: 48px auto 0; width: min(1120px, 100%); padding: 0 16px; }
.dx-stage { --dx-w: 1060; --dx-h: 600; --dx-s: 1; height: calc(var(--dx-h) * var(--dx-s) * 1px); }
.dx-inner {
  position: absolute; left: 50%; top: 0;
  width: calc(var(--dx-w) * 1px); height: calc(var(--dx-h) * 1px);
  margin-left: calc(var(--dx-w) * -0.5px);
  transform: scale(var(--dx-s)); transform-origin: 50% 0;
}
@media (max-width: 1100px) { .dx-stage { --dx-s: 0.85; } }
@media (max-width: 900px) { .dx-stage { --dx-s: 0.7; } }
@media (max-width: 720px) { .dx-stage { --dx-w: 640; --dx-h: 760; --dx-s: 0.75; } }
@media (max-width: 520px) { .dx-stage { --dx-s: 0.54; } }
@media (max-width: 380px) { .dx-stage { --dx-s: 0.5; } }

.dx-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 5; }
.dx-links .dx-arc { fill: none; stroke: url(#dx-arc-grad); stroke-width: 1.6; stroke-linecap: round; opacity: 0; }
.dx-links .dx-orb { fill: #fff; filter: url(#dx-glow); }

/* ---- the devices ---- */
.dx-dev { position: absolute; transition: transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.dx-dev.is-bob { animation: dx-bob 2.6s ease-in-out infinite; }
@keyframes dx-bob { 50% { translate: 0 -8px; } }
.dx-bezel {
  position: relative; height: 100%;
  background: linear-gradient(160deg, #2c2833, #141218 60%, #1d1a22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 50px 90px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}
.dx-screen {
  position: absolute; overflow: hidden;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(180deg, var(--dx-paper), var(--dx-paper-2));
}
/* A sheen across the glass. */
.dx-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.0) 40%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0) 56%);
  transform: translateX(-60%);
}
.live .dx-screen::after { animation: dx-sheen 7s ease-in-out infinite; }
@keyframes dx-sheen { 0%, 60% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }

.dx-cam { position: absolute; left: 50%; top: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #0b0a0e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dx-tag {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  font: 800 calc(11px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3); white-space: nowrap;
}

/* Laptop */
.dx-laptop { left: 236px; top: 0; width: 588px; height: 372px; z-index: 1; }
.dx-laptop .dx-bezel { border-radius: 18px 18px 6px 6px; }
.dx-laptop .dx-screen { inset: 16px 14px 18px; border-radius: 4px; }
.dx-base { position: absolute; left: -58px; right: -58px; top: 100%; height: 20px; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #4a4552, #26232b 55%, #18161c); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.9); }
.dx-base i { position: absolute; left: 50%; top: 0; width: 110px; height: 6px; margin-left: -55px; border-radius: 0 0 8px 8px; background: #1b1920; }
.dx-laptop .dx-tag { bottom: -58px; }

/* Tablet */
.dx-tablet { left: 22px; top: 150px; width: 308px; height: 412px; z-index: 2; transform: rotate(-5deg); }
.dx-tablet .dx-bezel { border-radius: 26px; }
.dx-tablet .dx-screen { inset: 14px; border-radius: 14px; }

/* Phone */
.dx-phone { left: 820px; top: 118px; width: 212px; height: 440px; z-index: 3; transform: rotate(5deg); }
.dx-phone .dx-bezel { border-radius: 36px; }
.dx-phone .dx-screen { inset: 9px; border-radius: 28px; }
.dx-notch { position: absolute; left: 50%; top: 15px; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #0b0a0e; z-index: 6; }

@media (max-width: 720px) {
  .dx-laptop { left: 60px; top: 0; width: 520px; height: 330px; }
  .dx-laptop .dx-tag { display: none; }
  .dx-tablet { left: 8px; top: 290px; width: 270px; height: 370px; }
  .dx-phone { left: 400px; top: 262px; width: 220px; height: 444px; }
}

/* ---- the page inside every screen (the app's Sepia) ---- */
.dx-page { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 22px 22px 0 34px; color: var(--dx-ink); }
.dx-top { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid rgba(80, 60, 30, 0.14); }
.dx-chap { font-family: var(--font-display); font-weight: 500; font-size: calc(16px / var(--tz, 1)); color: var(--dx-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dx-saved {
  flex: none; display: inline-flex; align-items: center; gap: 3px;
  font: 700 calc(9.5px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); letter-spacing: 0.04em; color: #1f6e37;
  padding: 3px 7px 3px 5px; border-radius: 999px; background: rgba(31, 110, 55, 0.08); border: 1px solid rgba(31, 110, 55, 0.22);
  opacity: 0.55; transition: opacity 0.3s;
}
.dx-saved svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dx-saved.is-ping { opacity: 1; animation: dx-ping 0.7s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes dx-ping { 40% { transform: scale(1.18); box-shadow: 0 0 0 4px rgba(31, 110, 55, 0.12); } }
.dx-scroll { position: relative; flex: 1; min-height: 0; overflow: hidden; margin-left: -30px; padding-left: 30px; -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent); }
.dx-paras { transition: transform 0.7s cubic-bezier(.3, .7, .2, 1); }
.dx-p { position: relative; margin: 0 0 10px; font-family: var(--font-display); font-size: calc(13px / var(--tz, 1)); line-height: 1.66; color: var(--dx-ink); text-wrap: pretty; }
.dx-live { min-height: 1.66em; }
.dx-live.is-draft { color: #554634; }
.dx-live-wrap { position: relative; }
.dx-live-wrap::before { content: ""; position: absolute; left: -9px; top: 3px; bottom: 13px; width: 1.5px; border-radius: 2px; background: transparent; transition: background 0.3s; }
.dx-live-wrap.is-active::before { background: rgba(60, 50, 40, 0.3); }
.dx-live-wrap.is-running::before { background: var(--dx-rose); box-shadow: 0 0 8px rgba(240, 106, 155, 0.6); animation: pm-breathe 1.8s ease-in-out infinite; }
.dx-live .dx-w { animation: dx-w 0.45s ease-out both; }
@keyframes dx-w { from { opacity: 0; filter: blur(4px); } }
.dx-live .dx-new .dx-w { background: rgba(240, 106, 155, 0.2); transition: background 1.6s; }
.dx-live .dx-new.settled .dx-w { background: transparent; }
.dx-caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -0.17em; background: #c23a6c; animation: pm-blink 0.9s steps(1) infinite; }

.dx-laptop .dx-page { padding: 20px 28px 0 44px; }
.dx-laptop .dx-chap { font-size: calc(18px / var(--tz, 1)); }
.dx-laptop .dx-p { font-size: calc(13.5px / var(--tz, 1)); }
.dx-tablet .dx-p { font-size: calc(12.5px / var(--tz, 1)); }
.dx-phone .dx-page { padding: 40px 14px 0 26px; }
.dx-phone .dx-chap { font-size: calc(14px / var(--tz, 1)); }
.dx-phone .dx-p { font-size: calc(11.5px / var(--tz, 1)); line-height: 1.6; }
.dx-phone .dx-scroll { margin-left: -22px; padding-left: 22px; }

/* The margin's Expand on the tablet (the app's play triangle, pink). */
.dx-btn {
  position: absolute; left: -32px; top: -2px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0;
  height: 24px; min-width: 24px; padding: 0 5px; border-radius: 999px;
  color: #a8285a; border: 1px solid rgba(194, 58, 108, 0.38);
  background: linear-gradient(180deg, #fdf8ee 0%, #f3e7d2 100%);
  box-shadow: inset 0 1px 0 #fffaf0, 0 8px 18px -12px rgba(80, 55, 20, 0.35);
  font: 700 calc(10.5px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); white-space: nowrap;
  opacity: 0; transform: translateX(-4px); transition: opacity 0.25s, transform 0.25s, box-shadow 0.2s;
}
.dx-btn svg { width: 12px; height: 12px; fill: currentColor; stroke: none; flex: none; }
.dx-btn b { max-width: 0; overflow: hidden; opacity: 0; font-weight: 700; transition: max-width 0.25s, opacity 0.2s, margin 0.25s; }
.dx-btn.is-on { opacity: 1; transform: none; }
.dx-btn.is-named b { max-width: 80px; opacity: 1; margin: 0 3px 0 4px; }
.dx-btn.is-press { transform: scale(0.9); box-shadow: 0 0 0 5px rgba(240, 106, 155, 0.22); }
.dx-progress {
  display: flex; align-items: center; gap: 7px; margin: 0 0 8px;
  height: 22px; padding: 0 10px; border-radius: 999px;
  font: 700 calc(10px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); color: var(--dx-ink);
  background: linear-gradient(180deg, #fdf8ee 0%, #f3e7d2 100%); border: 1px solid rgba(80, 60, 30, 0.16);
}
.dx-progress i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(60, 50, 40, 0.18); border-top-color: var(--dx-rose); animation: pm-spin 0.8s linear infinite; }

/* A tap: a finger's ring. */
.dx-tap { position: absolute; z-index: 8; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(240, 106, 155, 0.25); border: 2px solid rgba(194, 58, 108, 0.7); pointer-events: none; }

/* The phone's keyboard. */
.dx-kb {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 8px 4px 18px; display: grid; gap: 6px;
  background: linear-gradient(180deg, #d9d2c6, #cfc7ba);
  border-top: 1px solid rgba(80, 60, 30, 0.15);
  transform: translateY(105%); transition: transform 0.45s cubic-bezier(.2, .8, .2, 1);
}
.dx-kb.is-up { transform: none; }
.dx-kb-row { display: flex; justify-content: center; gap: 3px; }
.dx-kb-row i { flex: 1; max-width: 17px; height: 26px; border-radius: 4px; background: #fdfaf4; box-shadow: 0 1px 0 rgba(80, 60, 30, 0.35); transition: background 0.08s, transform 0.08s; }
.dx-kb-row i.w { max-width: 26px; background: #b9b1a4; }
.dx-kb-row i.sp { flex: 5; max-width: none; }
.dx-kb-row i.is-hit { background: #f8c8da; transform: translateY(-2px) scale(1.1); }

/* The line under the stage: the same page, every screen. */
.dx-synced {
  position: absolute; left: 530px; top: 452px; transform: translate(-50%, 10px) scale(0.92);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  font: 700 calc(12px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); letter-spacing: 0.08em; text-transform: uppercase;
  color: #ffe4ef; background: rgba(240, 106, 155, 0.12); border: 1px solid rgba(240, 106, 155, 0.4);
  box-shadow: 0 0 40px -10px rgba(240, 106, 155, 0.6);
  opacity: 0; transition: opacity 0.5s, transform 0.5s cubic-bezier(.2, .9, .3, 1.3);
  white-space: nowrap; z-index: 6;
}
.dx-synced.is-on, .dx-stage.is-static .dx-synced { opacity: 1; transform: translate(-50%, 0) scale(1.15); }
.dx-synced-dots { display: inline-flex; gap: 4px; }
.dx-synced-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--dx-rose); box-shadow: 0 0 8px var(--dx-rose); }
.dx-synced-dots i:nth-child(2) { background: #f5a66a; box-shadow: 0 0 8px #f5a66a; }
.dx-synced-dots i:nth-child(3) { background: #c084fc; box-shadow: 0 0 8px #c084fc; }
@media (max-width: 720px) { .dx-synced { left: 320px; top: auto; bottom: 0; font-size: calc(14px / var(--tz, 1)); } }

/* ---- the four points ---- */
.dx-foot { margin-top: 64px; max-width: 1080px; }
.dx-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dx-points li {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px 18px 20px; border-radius: 18px;
  border: 1px solid var(--border); background: radial-gradient(90% 70% at 0% 0%, rgba(240, 106, 155, 0.08), transparent 70%), rgba(255, 255, 255, 0.02);
  color: var(--fg); font-size: calc(15px / var(--tz, 1)); line-height: 1.5;
}
.dx-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #ffd9e7; background: rgba(240, 106, 155, 0.14); border: 1px solid rgba(240, 106, 155, 0.32); }
.dx-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .dx-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .dx-points { grid-template-columns: 1fr; } .dx-points li { flex-direction: row; align-items: flex-start; padding: 14px; } .dx-ico { flex: none; } }

/* ---- the pain: a desktop-first AI writer on a phone vs KudoNovel ---- */
.dx-pain { margin-top: 90px; max-width: 980px; }
.dx-pain h3 { text-align: center; font-family: var(--font-display); font-weight: 500; font-size: calc(clamp(26px, 3.6vw, 40px) / var(--tz, 1)); line-height: 1.12; letter-spacing: -0.015em; margin: 0 auto 36px; text-wrap: balance; }
.dx-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.dx-vs-mid { display: grid; place-items: center; }
.dx-vs-mid span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: italic 500 calc(17px / var(--tz, 1))/1 var(--font-display); color: var(--fg-2); border: 1px solid var(--border-strong); background: var(--bg, #0f0e12); }
.dx-vs-col { margin: 0; display: flex; gap: 22px; align-items: center; padding: 22px; border-radius: 22px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.dx-us { border-color: rgba(240, 106, 155, 0.45); background: radial-gradient(90% 80% at 50% 0%, rgba(240, 106, 155, 0.13), transparent 70%), rgba(255, 255, 255, 0.02); box-shadow: 0 30px 70px -44px rgba(240, 106, 155, 0.7); }
.dx-vs-col figcaption { min-width: 0; }
.dx-vs-col figcaption b { display: block; font: 800 calc(11.5px / var(--tz, 1))/1.35 var(--font-ui, Manrope, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.dx-us figcaption b { color: #ffd9e7; }
.dx-vs-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dx-vs-col li { position: relative; padding-left: 26px; font-size: calc(14.5px / var(--tz, 1)); line-height: 1.45; color: var(--fg-2); }
.dx-vs-col li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 10px; }
.dx-them li::before { border: 1px solid rgba(255, 255, 255, 0.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 2.5l5 5M7.5 2.5l-5 5' stroke='%23a59fae' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.dx-us li { color: var(--fg); }
.dx-us li::before { background-color: #d94d82; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.dx-mini { flex: none; width: 150px; height: 290px; padding: 7px; border-radius: 26px; background: linear-gradient(160deg, #2c2833, #141218 60%, #1d1a22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.dx-mini-screen { position: relative; height: 100%; overflow: hidden; border-radius: 20px; }

/* Theirs: a desktop page shrunk to fit, a banner sending you to a computer. */
.dx-mini-them { filter: saturate(0.6); }
.dx-mini-them .dx-mini-screen { background: #e9e9ee; }
.dx-ban { position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 5px; padding: 18px 8px 7px; font: 700 calc(8px / var(--tz, 1))/1.3 var(--font-ui, Manrope, sans-serif); color: #5b4209; background: #fbe7a8; border-bottom: 1px solid #e6c766; }
.dx-ban svg { flex: none; width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dx-desk { position: absolute; left: 0; top: 52px; width: 300px; height: 360px; display: flex; gap: 3px; padding: 3px; transform-origin: 0 0; transform: scale(0.62); }
.dx.live .dx-desk { animation: dx-desk 6s ease-in-out infinite; }
@keyframes dx-desk { 0%, 30% { transform: scale(0.62); } 45%, 70% { transform: scale(0.95) translate(-40px, -6px); } 85%, 100% { transform: scale(0.62); } }
.dx-desk i { display: block; border-radius: 2px; background: #c9c9d2; }
.dx-desk-side { width: 56px; display: grid; gap: 4px; align-content: start; padding: 4px; background: #d7d7de; border-radius: 3px; }
.dx-desk-side i { height: 6px; }
.dx-desk-main { flex: 1; display: grid; gap: 3px; align-content: start; padding: 4px; background: #fff; border-radius: 3px; }
.dx-desk-main i { height: 3px; background: #b9b9c4; }
.dx-desk-main i:nth-child(3n) { width: 82%; }
.dx-desk-bar { display: flex; gap: 3px; margin-bottom: 4px; }
.dx-desk-bar i { width: 14px; height: 7px; background: #a9a9b6; }
.dx-desk-panel { width: 70px; display: grid; gap: 4px; align-content: start; padding: 4px; background: #d7d7de; border-radius: 3px; }
.dx-desk-panel i { height: 16px; }
.dx-pinch { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 100px; margin-left: -50px; text-align: center; }
.dx-pinch i { position: absolute; top: -26px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: rgba(60, 60, 70, 0.35); border: 1.5px solid rgba(40, 40, 50, 0.6); }
.dx-pinch i:first-child { margin-left: -20px; }
.dx-pinch i:nth-child(2) { margin-left: 6px; }
.dx.live .dx-pinch i:first-child { animation: dx-pinch-a 6s ease-in-out infinite; }
.dx.live .dx-pinch i:nth-child(2) { animation: dx-pinch-b 6s ease-in-out infinite; }
@keyframes dx-pinch-a { 0%, 28% { transform: translate(8px, 6px); } 44%, 100% { transform: none; } }
@keyframes dx-pinch-b { 0%, 28% { transform: translate(-8px, -6px); } 44%, 100% { transform: none; } }
.dx-pinch span { display: inline-block; padding: 3px 7px; border-radius: 999px; font: 700 calc(8px / var(--tz, 1))/1 var(--font-ui, Manrope, sans-serif); color: #fff; background: rgba(30, 30, 40, 0.72); }

/* Ours: the page, a thumb's width, the margin's tools. */
.dx-mini-us .dx-mini-screen { padding: 22px 10px 0 30px; background: radial-gradient(90% 60% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 60%), linear-gradient(180deg, #f6eddc, #f0e4cd); color: #3a2f22; }
.dx-mini-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 5px; margin-bottom: 7px; border-bottom: 1px solid rgba(80, 60, 30, 0.14); }
.dx-mini-top span { font-family: var(--font-display); font-size: calc(10.5px / var(--tz, 1)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-mini-top i { font-style: normal; font-family: var(--font-display); font-size: calc(8px / var(--tz, 1)); padding: 1px 5px; border-radius: 999px; border: 1px solid rgba(80, 60, 30, 0.2); color: #4a3d2d; }
.dx-mini-p { margin: 0 0 7px; font-family: var(--font-display); font-size: calc(9px / var(--tz, 1)); line-height: 1.55; color: #3a2f22; }
.dx-mini-row { position: relative; }
.dx-mini-rail { position: absolute; left: -24px; top: 0; display: grid; gap: 4px; }
.dx-mb { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #fdf8ee, #f3e7d2); border: 1px solid rgba(80, 60, 30, 0.2); }
.dx-mb svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dx-mb.is-expand { color: #a8285a; border-color: rgba(194, 58, 108, 0.45); }
.dx-mb.is-expand svg { fill: currentColor; stroke: none; }
.dx-mb.is-steer { color: #9a4a0b; border-color: rgba(194, 110, 40, 0.45); }
.dx-mb.is-pilot { color: #6d28d9; border-color: rgba(109, 40, 217, 0.4); }
.dx.live .dx-mb.is-expand { animation: dx-mb 3s ease-in-out infinite; }
@keyframes dx-mb { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(240, 106, 155, 0); } 80% { box-shadow: 0 0 0 4px rgba(240, 106, 155, 0.3); } }
.dx-mini-new { padding-left: 4px; border-left: 1.5px solid #f06a9b; }

.dx-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 40px; }

@media (max-width: 860px) {
  .dx-vs { grid-template-columns: 1fr; gap: 14px; }
  .dx-vs-mid span { width: 38px; height: 38px; }
}
@media (max-width: 460px) {
  .dx { padding: 80px 0 70px; }
  .dx-vs-col { padding: 16px; gap: 16px; }
  .dx-mini { width: 118px; height: 236px; border-radius: 22px; padding: 6px; }
  .dx-mini-screen { border-radius: 17px; }
  .dx-vs-col li { font-size: calc(13.5px / var(--tz, 1)); }
}
@media (prefers-reduced-motion: reduce) {
  .dx *, .dx *::before, .dx *::after { animation: none !important; transition: none !important; }
}
