/* =====================================================================
   Homepage: "Download videos from any social app"
   (core/resources/views/partials/home-downloads.blade.php)
   Big paste box with a spinning neon edge, app chips and a bento grid
   with one cell per downloader tool and a glowing orb in the middle.
   ===================================================================== */

/* App colours: --ar is an "r,g,b" triplet for glows, --ag the accent stripe */
.dlx-all       { --ar: 34,211,238;  --ag: linear-gradient(90deg, #22d3ee, #3b82f6 50%, #8b5cf6); }
.dlx-tiktok    { --ar: 37,244,238;  --ag: linear-gradient(90deg, #25f4ee, #fe2c55); }
.dlx-facebook  { --ar: 24,119,242;  --ag: linear-gradient(90deg, #1877f2, #5aa2ff); }
.dlx-instagram { --ar: 214,41,118;  --ag: linear-gradient(90deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); }
.dlx-x         { --ar: 203,213,225; --ag: linear-gradient(90deg, #f8fafc, #64748b); }
.dlx-pinterest { --ar: 230,0,35;    --ag: linear-gradient(90deg, #e60023, #ff5a6e); }
.dlx-reddit    { --ar: 255,69,0;    --ag: linear-gradient(90deg, #ff4500, #ff8a50); }

.dlx { position: relative; }
.dlx .wrap { position: relative; z-index: 1; }
.dlx-head { margin-bottom: 34px; }

/* Soft drifting colour blobs behind the paste box */
.dlx-fx { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.dlx-blob { position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(80px); opacity: .22; animation: dlx-drift 16s ease-in-out infinite alternate; }
.dlx-blob.b1 { background: #25f4ee; left: 8%; top: 14%; }
.dlx-blob.b2 { background: #fe2c55; right: 10%; top: 8%; animation-delay: -4s; opacity: .16; }
.dlx-blob.b3 { background: #3b82f6; left: 30%; bottom: 6%; animation-delay: -8s; }
.dlx-blob.b4 { background: #ff4500; right: 22%; bottom: 18%; animation-delay: -12s; opacity: .12; }
@keyframes dlx-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.15); } }

/* ---------- Paste box ---------- */
.dlx-form { position: relative; max-width: 860px; margin: 0 auto; padding: 2px; border-radius: 24px; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 70px -18px rgba(59,130,246,.85), 0 0 120px -40px rgba(254,44,85,.6), 0 30px 60px -30px rgba(0,0,0,.9); }
.dlx-form::before { content: ""; position: absolute; left: 50%; top: 50%; width: max(220%, 1400px); aspect-ratio: 1; z-index: -1;
  background: conic-gradient(from 0deg, #25f4ee, #3b82f6, #8b5cf6, #fe2c55, #ff4500, #feda75, #25f4ee);
  transform: translate(-50%, -50%); animation: dlx-spin 7s linear infinite; }
@keyframes dlx-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.dlx-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 9px 9px 9px 20px; border-radius: 22px;
  background: linear-gradient(180deg, #0c1636, #070c22); }
.dlx-box:focus-within { background: linear-gradient(180deg, #0e1a40, #081027); }
.dlx-ico { display: grid; place-items: center; color: #67e8f9; filter: drop-shadow(0 0 8px rgba(34,211,238,.7)); }
.neon .dlx-box input.dlx-input { width: 100%; min-width: 0; height: 56px; padding: 0 6px; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none;
  color: #fff; font: 500 1.08rem/1.2 var(--font); }
.neon .dlx-box input.dlx-input:hover, .neon .dlx-box input.dlx-input:focus { border: 0; box-shadow: none; background: transparent; }
.neon .dlx-box input.dlx-input::placeholder { color: #7f8db3; opacity: 1; }
.dlx-paste { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(120,150,255,.28); color: #cfe0ff; font: 600 .88rem/1 var(--font); transition: background .15s, border-color .15s, color .15s; }
.dlx-paste:hover { background: rgba(99,140,255,.14); border-color: rgba(120,160,255,.55); color: #fff; }
.dlx-paste[hidden] { display: none; }
.dlx-go { height: 56px; padding: 0 28px; border-radius: 16px; font-size: 1.05rem; }
.dlx-go svg { flex: none; }

/* ---------- App chips ---------- */
.dlx-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 20px auto 0; max-width: 860px; }
.dlx-works { color: #8f9cc2; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.dlx-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px; border-radius: 999px; font: 600 .86rem/1.2 var(--font);
  color: #dbe4ff !important; text-decoration: none !important; background: rgba(var(--ar), .07); border: 1px solid rgba(var(--ar), .32);
  transition: background .2s, border-color .2s, box-shadow .2s, color .2s; }
.dlx-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ag); box-shadow: 0 0 10px rgba(var(--ar), .9); }
a.dlx-chip:hover, .dlx-chip.on { color: #fff !important; background: rgba(var(--ar), .16); border-color: rgba(var(--ar), .8); box-shadow: 0 0 22px -4px rgba(var(--ar), .8); }

/* ---------- Bento grid ----------
   Desktop (is-full): 4 columns x 6 rows.
     col 1: TikTok (tall), Instagram stat, Facebook button
     col 2-3: hero (universal downloader) with the orb, then Reddit + trust card, notched round the orb
     col 4: MP3 toggle, X stat, Pinterest (tall)
   is-loose: some tool is switched off, cells simply flow. */
.dlx-bento { --gap: 16px; --rad: 28px; --orb: 150px; --orb-box: calc(var(--orb) * 1.36); --notch: calc(var(--orb) * .71);
  --or: 255,138,61; --vi: 139,92,246;
  position: relative; display: grid; gap: var(--gap); margin-top: 56px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dlx-bento.is-full { grid-template-rows: repeat(6, minmax(92px, auto));
  grid-template-areas: "tt hero hero tog" "tt hero hero x" "tt hero hero x" "ig rd tr pin" "ig rd tr pin" "fb rd tr pin"; }
.is-full .dlx-c-hero { grid-area: hero; } .is-full .dlx-c-tt { grid-area: tt; } .is-full .dlx-c-ig { grid-area: ig; }
.is-full .dlx-c-fb { grid-area: fb; } .is-full .dlx-c-rd { grid-area: rd; } .is-full .dlx-c-tr { grid-area: tr; }
.is-full .dlx-c-tog { grid-area: tog; } .is-full .dlx-c-x { grid-area: x; } .is-full .dlx-c-pin { grid-area: pin; }
.dlx-bento.is-loose { grid-auto-flow: dense; grid-auto-rows: minmax(170px, auto); }
.is-loose .dlx-c-hero { grid-column: span 2; grid-row: span 2; }
.is-loose .dlx-feat { justify-content: flex-start; padding-top: 118px; }
.is-loose .dlx-circ { top: 10px; width: 152px; height: 96px; }

/* Shared card look: deep navy, hairline inner edge, soft gloss on top, deep shadow */
.dlx-cell { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 24px; border-radius: var(--rad); overflow: hidden;
  text-decoration: none !important; color: var(--text) !important;
  background: radial-gradient(130% 90% at 0% 0%, rgba(99,102,241,.13), transparent 55%), linear-gradient(180deg, #0f1738 0%, #0a1029 55%, #070b1e 100%);
  box-shadow: inset 0 0 0 1px rgba(140,160,230,.13), inset 0 1px 0 rgba(255,255,255,.08), 0 28px 50px -30px rgba(0,0,0,.95);
  transition: box-shadow .25s, transform .25s; }
.dlx-cell::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.055), transparent 38%), radial-gradient(70% 60% at 100% 100%, rgba(var(--ar, 139,92,246), .10), transparent 70%); }
.dlx-cell:hover { transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(var(--ar, 139,92,246), .5), inset 0 1px 0 rgba(255,255,255,.1), 0 0 46px -14px rgba(var(--ar, 139,92,246), .75), 0 30px 56px -30px rgba(0,0,0,.95); }
.dlx-cell:focus-visible { outline: 2px solid rgba(var(--ar, 139,92,246), .95); outline-offset: 3px; }
.dlx-cell h3 { margin: 0; }
.dlx-title { color: var(--ink); font: 700 1.12rem/1.25 var(--font-display); letter-spacing: -.01em; }
.dlx-desc { color: var(--muted); font-size: .89rem; line-height: 1.5; }

/* ----- Hero: universal downloader ----- */
.dlx-c-hero { z-index: 2; overflow: visible; align-items: center; text-align: center; padding: 24px 30px 24px; background: none;
  box-shadow: 0 30px 70px -30px rgba(76,29,149,.9), 0 0 0 1px rgba(196,181,253,.25); }
.dlx-c-hero::before { display: none; }
.dlx-c-hero:hover { transform: none; box-shadow: 0 30px 70px -30px rgba(76,29,149,.95), 0 0 0 1px rgba(216,200,255,.5), 0 0 60px -16px rgba(167,139,250,.8); }
.dlx-hero-bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
  background:
    radial-gradient(60% 75% at 50% 112%, rgba(216,180,254,.95), rgba(167,139,250,.45) 35%, transparent 70%),
    radial-gradient(55% 80% at 0% 0%, rgba(124,58,237,.9), transparent 62%),
    radial-gradient(50% 70% at 100% 0%, rgba(79,70,229,.9), transparent 60%),
    linear-gradient(160deg, #5b21b6 0%, #4338ca 48%, #2e1065 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.12); }
.dlx-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 40%); }
.dlx-noise { position: absolute; inset: 0; opacity: .2; mix-blend-mode: overlay; }
.dlx-hero-h { margin: 14px 0 0 !important; color: #fff; font: 800 clamp(2.5rem, 4.3vw, 3.65rem)/.98 var(--font-display); letter-spacing: -.035em;
  text-shadow: 0 6px 34px rgba(30,8,80,.55); }
.dlx-hero-go { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 0 rgba(255,255,255,.35); transition: background .2s, transform .2s; }
.dlx-c-hero:hover .dlx-hero-go { background: rgba(255,255,255,.26); transform: rotate(-35deg); }

/* The orb: dark sphere with a swirling neon wheel, a ring of tiny text and platform marks */
.dlx-orb-wrap { position: absolute; left: 50%; bottom: calc(var(--orb-box) / -2 - var(--gap) / 2); width: var(--orb-box); height: var(--orb-box); transform: translateX(-50%); z-index: 3; }
.dlx-orb-wrap::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.55), rgba(34,211,238,.18) 55%, transparent 72%); filter: blur(18px); }
.dlx-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: dlx-rot 48s linear infinite; }
.dlx-ring text { fill: rgba(226,232,255,.72); font: 600 7px/1 ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: .5px; }
.dlx-orb { position: absolute; inset: calc((var(--orb-box) - var(--orb)) / 2); border-radius: 50%; overflow: hidden; background: #060719;
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 0 34px 2px rgba(139,92,246,.75), 0 0 90px rgba(34,211,238,.35), 0 18px 40px -10px rgba(0,0,0,.8); }
.dlx-orb span { position: absolute; border-radius: 50%; }
.dlx-orb .sw1 { inset: -25%; background: conic-gradient(from 0deg, #22d3ee, #3b82f6, #8b5cf6, #ec4899, #ff8a3d, #fde047, #22d3ee); filter: blur(14px); animation: dlx-rot 7s linear infinite; }
.dlx-orb .sw2 { inset: -12%; background: conic-gradient(from 120deg, transparent 0 14%, rgba(255,255,255,.75) 19%, transparent 27% 52%, rgba(34,211,238,.85) 58%, transparent 66% 82%, rgba(236,72,153,.8) 88%, transparent 95%);
  filter: blur(7px); mix-blend-mode: screen; animation: dlx-rot 4.2s linear infinite reverse; }
.dlx-orb .core { inset: 0; background: radial-gradient(circle at 50% 54%, rgba(4,5,20,.96) 0 30%, rgba(4,5,20,.7) 46%, rgba(4,5,20,.15) 64%, transparent 72%); }
.dlx-orb .hl { inset: 0; background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.75), rgba(255,255,255,0) 20%), radial-gradient(circle at 50% 50%, transparent 64%, rgba(255,255,255,.22) 70%, transparent 72%);
  box-shadow: inset 0 -14px 28px rgba(0,0,0,.45), inset 0 8px 18px rgba(255,255,255,.12); }
.dlx-plat { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font: 800 .82rem/1 var(--font-display);
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--orb) * -.86)) rotate(calc(var(--a) * -1));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 6px 16px -4px rgba(0,0,0,.6), 0 0 18px -2px var(--pc);
  animation: dlx-bob 3.6s ease-in-out infinite alternate; }
.dlx-plat.pt-tt { --pc: #25f4ee; background: #0b0b14; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), -2px -1px 0 0 rgba(37,244,238,.85), 2px 1px 0 0 rgba(254,44,85,.85); }
.dlx-plat.pt-fb { --pc: #1877f2; background: linear-gradient(180deg, #4b95ff, #1667e6); font-size: 1rem; animation-delay: -.6s; }
.dlx-plat.pt-ig { --pc: #d62976; background: radial-gradient(circle at 30% 110%, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%); animation-delay: -1.2s; }
.dlx-plat.pt-x { --pc: #cbd5e1; background: #0b0b10; animation-delay: -1.8s; }
.dlx-plat.pt-pin { --pc: #e60023; background: linear-gradient(180deg, #ff2a4a, #c4001d); animation-delay: -2.4s; }
.dlx-plat.pt-rd { --pc: #ff4500; background: linear-gradient(180deg, #ff6a2b, #e03d00); font-size: .95rem; animation-delay: -3s; }
@keyframes dlx-rot { to { transform: rotate(360deg); } }
@keyframes dlx-bob { to { translate: 0 -4px; } }

/* ----- Left tall: TikTok ----- */
.dlx-c-tt { justify-content: space-between; gap: 22px; }
.dlx-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: #07070f;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 8px 20px -8px rgba(254,44,85,.6); }
.dlx-mark svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.dlx-big { color: #fff; font: 800 clamp(1.75rem, 2.35vw, 2.3rem)/1.04 var(--font-display); letter-spacing: -.035em; }
.dlx-big em { font-style: normal; background: linear-gradient(90deg, #7df9f4, #c4b5fd 55%, #ff7a95); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dlx-foot2 { display: flex; flex-direction: column; gap: 4px; }
.dlx-foot2 b { color: var(--ink); font: 700 .92rem/1.35 var(--font); }
.dlx-foot2 small { color: var(--muted); font-size: .82rem; line-height: 1.45; }

/* ----- Stats ----- */
.dlx-stat { display: block; font: 800 clamp(2.9rem, 4.2vw, 3.7rem)/.95 var(--font-display); letter-spacing: -.045em; -webkit-background-clip: text; background-clip: text; color: transparent; }
.dlx-warm { background-image: linear-gradient(180deg, #ffe0b0 0%, #ffa24d 45%, #ff5a1f 100%); filter: drop-shadow(0 0 22px rgba(255,120,40,.35)); }
.dlx-cool { background-image: linear-gradient(180deg, #ffffff 0%, #c7d2fe 45%, #8b5cf6 100%); filter: drop-shadow(0 0 22px rgba(139,92,246,.4)); }
.dlx-c-ig { justify-content: center; gap: 8px; }
.dlx-cap { color: var(--text); font-size: .9rem; line-height: 1.4; }
.dlx-avs { display: flex; align-items: center; margin-top: 10px; }
.dlx-avs .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font: 800 .72rem/1 var(--font-display); font-style: normal;
  box-shadow: 0 0 0 3px #0b1130, 0 6px 14px -6px rgba(0,0,0,.8); }
.dlx-avs .av + .av { margin-left: -11px; }
.dlx-avs .av1 { background: radial-gradient(circle at 30% 110%, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%); }
.dlx-avs .av2 { background: linear-gradient(140deg, #ff7a59, #d62976); }
.dlx-avs .av3 { background: linear-gradient(140deg, #8b5cf6, #4f5bd5); }
.dlx-avs-t { margin-left: 12px; color: var(--muted); font-size: .8rem; line-height: 1.3; }

.dlx-c-x { --ar: var(--vi); align-items: center; justify-content: center; text-align: center; gap: 16px; }
.dlx-c-x::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 42%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.22), transparent 68%); }
.dlx-bracket { position: relative; padding: 7px 16px; color: #cdd5f3; font: 600 .74rem/1.35 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; text-wrap: balance; max-width: 100%; }
.dlx-bracket::before, .dlx-bracket::after { content: ""; position: absolute; top: 0; bottom: 0; width: 9px; border: 1px solid rgba(167,139,250,.6); }
.dlx-bracket::before { left: 0; border-right: 0; border-radius: 4px 0 0 4px; }
.dlx-bracket::after { right: 0; border-left: 0; border-radius: 0 4px 4px 0; }

/* ----- Facebook button cell ----- */
.dlx-c-fb { justify-content: center; padding: 16px 14px; }
.dlx-pill { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 56px; padding: 6px 16px 6px 7px; border-radius: 999px; color: #fff; text-align: left;
  font: 700 .88rem/1.2 var(--font); background: linear-gradient(180deg, #4a97ff, #1766ea 60%, #1252c4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.14), 0 12px 30px -8px rgba(24,119,242,.85), 0 0 50px -10px rgba(24,119,242,.75);
  transition: box-shadow .25s, filter .25s; }
.dlx-pill-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #1766ea; background: linear-gradient(180deg, #fff, #dbe8ff); box-shadow: 0 4px 12px -4px rgba(0,0,0,.5); }
.dlx-c-fb:hover .dlx-pill { filter: brightness(1.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1px rgba(255,255,255,.2), 0 14px 34px -8px rgba(24,119,242,.95), 0 0 70px -6px rgba(24,119,242,.9); }

/* ----- Feature cards under the hero ----- */
.dlx-feat { justify-content: flex-end; z-index: 1; }
.dlx-feat:hover { transform: none; }
.dlx-feat-body { display: flex; flex-direction: column; gap: 8px; }
.dlx-ib { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; color: #fff; }
.dlx-ib-or { background: radial-gradient(circle at 35% 28%, #ffc58f, #ff8a3d 45%, #e8550c); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 26px -4px rgba(255,138,61,.8); }
.dlx-ib-vi { background: radial-gradient(circle at 35% 28%, #d8c8ff, #8b5cf6 48%, #5b21b6); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 26px -4px rgba(139,92,246,.85); }
.dlx-c-rd { --ar: var(--or); }
.dlx-c-tr { --ar: var(--vi); }
.dlx-circ { position: absolute; top: 18px; left: 0; width: 190px; height: 120px; z-index: -1; overflow: visible; pointer-events: none; }
.dlx-c-rd .dlx-circ { color: rgb(var(--or)); }
.dlx-c-tr .dlx-circ { color: #a78bfa; left: auto; right: 0; transform: scaleX(-1); }
.dlx-circ .ln path { fill: none; stroke: rgba(140,160,230,.2); stroke-width: 1; }
.dlx-circ .pl path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 18 260; stroke-dashoffset: 278;
  filter: drop-shadow(0 0 4px currentColor); animation: dlx-pulse 4.5s linear infinite; }
.dlx-circ .pl path + path { animation-delay: -2.2s; }
.dlx-circ .dt circle { fill: currentColor; filter: drop-shadow(0 0 4px currentColor); }
.dlx-circ .ds path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .85; filter: drop-shadow(0 0 3px currentColor); }
@keyframes dlx-pulse { to { stroke-dashoffset: 0; } }
/* Concave notch on the inner top corner, where the orb nests */
.is-full .dlx-feat { overflow: hidden; }
.is-full .dlx-c-rd { --nx: calc(100% + var(--gap) / 2); }
.is-full .dlx-c-tr { --nx: calc(var(--gap) / -2); }
.is-full .dlx-feat { -webkit-mask: radial-gradient(circle at var(--nx) calc(var(--gap) / -2), #0000 calc(var(--notch) - .6px), #000 calc(var(--notch) + .4px));
  mask: radial-gradient(circle at var(--nx) calc(var(--gap) / -2), #0000 calc(var(--notch) - .6px), #000 calc(var(--notch) + .4px)); }
.is-full .dlx-feat::after { content: ""; position: absolute; z-index: -1; left: var(--nx); top: calc(var(--gap) / -2); width: calc(var(--notch) * 2 + 2px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(var(--ar), .45); box-shadow: 0 0 22px -2px rgba(var(--ar), .45), inset 0 0 18px -6px rgba(var(--ar), .6); pointer-events: none; }

/* ----- Right: MP3 toggle ----- */
.dlx-c-tog { --ar: var(--or); flex-direction: row; align-items: center; gap: 12px; padding: 16px; }
.dlx-switch { position: relative; flex: none; width: 86px; height: 50px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,138,61,.16), rgba(255,138,61,.5));
  box-shadow: inset 0 0 0 1px rgba(255,170,110,.45), inset 0 4px 10px rgba(0,0,0,.45), 0 0 26px -8px rgba(255,138,61,.8); }
.dlx-switch-on { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #ffd7b5; font: 800 .7rem/1 var(--font); letter-spacing: .1em; }
.dlx-knob { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 34% 28%, #ffd3a8, #ff8a3d 46%, #ea5a10); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 4px 12px rgba(0,0,0,.45), 0 0 26px rgba(255,138,61,.85);
  transition: transform .3s; }
.dlx-c-tog:hover .dlx-knob { transform: scale(1.06); }
.dlx-tog-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dlx-tog-t b { color: var(--ink); font: 700 1rem/1.25 var(--font-display); }
.dlx-tog-t small { color: var(--muted); font-size: .78rem; line-height: 1.35; }

/* ----- Right tall: Pinterest with floating chips ----- */
.dlx-c-pin { justify-content: space-between; gap: 18px; }
.dlx-pin-top { display: flex; flex-direction: column; gap: 8px; }
.dlx-float { position: relative; display: block; height: 168px; margin: 0 -6px -4px; }
.dlx-float .fc { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font: 700 .8rem/1 var(--font); font-style: normal; letter-spacing: .04em;
  rotate: var(--r); animation: dlx-bob 3.2s ease-in-out infinite alternate; white-space: nowrap; }
.dlx-float .o { color: #e8ecff; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1.5px rgba(200,210,255,.38); }
.dlx-float .f { color: #fff; background: linear-gradient(180deg, #ff3355, #d00022); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px -8px rgba(230,0,35,.9); }
.dlx-float .w { color: #12122a; background: linear-gradient(180deg, #fff, #dfe4ff); box-shadow: 0 8px 18px -8px rgba(0,0,0,.8); }
.dlx-float .d::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dc, #22d3ee); box-shadow: 0 0 8px var(--dc, #22d3ee); }
.dlx-float .c1 { --r: -12deg; left: 2%; top: 6%; }
.dlx-float .c2 { --r: 8deg; left: 36%; top: 0; animation-delay: -.8s; }
.dlx-float .c3 { --r: -5deg; left: 64%; top: 18%; --dc: #a78bfa; animation-delay: -1.6s; }
.dlx-float .c4 { --r: 11deg; left: 10%; top: 44%; background: linear-gradient(180deg, #a78bfa, #6d28d9); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px -8px rgba(139,92,246,.9); animation-delay: -2.4s; }
.dlx-float .c5 { --r: -15deg; left: 40%; top: 42%; --dc: #ff8a3d; animation-delay: -1.2s; }
.dlx-float .c6 { --r: 7deg; left: 4%; top: 76%; animation-delay: -2s; }
.dlx-rb { position: absolute; bottom: 4px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.dlx-rb.rb1 { right: 58px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(200,210,255,.3); }
.dlx-rb.rb2 { right: 6px; background: linear-gradient(180deg, #ff3355, #d00022); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 24px -4px rgba(230,0,35,.8); transition: transform .2s; }
.dlx-c-pin:hover .rb2 { transform: rotate(-35deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .dlx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlx-bento.is-full { grid-template-rows: none; grid-auto-rows: auto;
    grid-template-areas: "hero hero" "rd tr" "tt tog" "tt x" "ig pin" "fb pin"; }
  .is-full .dlx-c-hero { min-height: 360px; }
  .is-full .dlx-feat { min-height: 300px; }
  .is-full .dlx-c-tt { min-height: 300px; }
  .is-full .dlx-c-x { min-height: 190px; }
  .dlx-c-ig { min-height: 210px; }
  .is-loose .dlx-c-hero { grid-row: auto; }
}
@media (max-width: 640px) {
  .dlx-bento { --orb: 118px; --gap: 12px; --rad: 24px; grid-template-columns: minmax(0, 1fr); margin-top: 38px; }
  .dlx-bento.is-full { grid-template-areas: "hero" "tt" "tog" "ig" "x" "fb" "pin" "rd" "tr"; }
  .is-loose .dlx-c-hero { grid-column: auto; }
  .dlx-cell { padding: 22px 20px; }
  .is-full .dlx-c-tt, .is-full .dlx-feat, .is-full .dlx-c-x, .dlx-c-ig { min-height: 0; }
  .dlx-c-tt { gap: 26px; }
  .dlx-feat { justify-content: flex-start; padding-top: 118px; }
  .dlx-circ { top: 10px; width: 152px; height: 96px; }
  /* no notch on phones: the orb sits inside the hero */
  .is-full .dlx-feat { -webkit-mask: none; mask: none; }
  .is-full .dlx-feat::after { display: none; }
}
/* Orb inside the hero: on phones, and whenever the bento is loose */
@media (max-width: 640px) {
  .dlx-c-hero { min-height: 0 !important; padding-bottom: calc(var(--orb-box) + var(--orb) * .6 + 12px); }
  .dlx-c-hero .dlx-orb-wrap { bottom: 16px; }
  .dlx-c-hero { padding-top: 20px; }
  .dlx-hero-go { top: 16px; right: 16px; width: 38px; height: 38px; }
  .dlx-hero-h { align-self: stretch; }
}
.is-loose .dlx-c-hero { padding-bottom: calc(var(--orb-box) + var(--orb) * .6 + 12px); }
.is-loose .dlx-c-hero .dlx-orb-wrap { bottom: 16px; }
.is-loose .dlx-c-hero .dlx-hero-bg { background:
    radial-gradient(45% 60% at 50% 100%, rgba(216,180,254,.8), rgba(167,139,250,.35) 40%, transparent 72%),
    radial-gradient(55% 80% at 0% 0%, rgba(124,58,237,.9), transparent 62%),
    radial-gradient(50% 70% at 100% 0%, rgba(79,70,229,.9), transparent 60%),
    linear-gradient(160deg, #5b21b6 0%, #4338ca 48%, #2e1065 100%); }

/* Top part on small screens */
@media (max-width: 640px) {
  .dlx-head { margin-bottom: 26px; }
  .dlx-box { grid-template-columns: auto minmax(0, 1fr) auto; padding: 8px 8px 8px 14px; gap: 6px; }
  .neon .dlx-box input.dlx-input { height: 50px; font-size: 1rem; }
  .dlx-go { grid-column: 1 / -1; width: 100%; height: 52px; }
  .dlx-paste { padding: 0 11px; }
  .dlx-blob { width: 220px; height: 220px; filter: blur(60px); }
}
@media (max-width: 380px) { .dlx-paste span, .dlx-paste { font-size: .8rem; } .dlx-works { width: 100%; text-align: center; margin: 0 0 2px; } .dlx-big { font-size: 1.65rem; } }

@media (prefers-reduced-motion: reduce) {
  .dlx-form::before, .dlx-blob, .dlx-ring, .dlx-orb .sw1, .dlx-orb .sw2, .dlx-plat, .dlx-float .fc, .dlx-circ .pl path { animation: none; }
  .dlx-circ .pl path { stroke-dashoffset: 120; }
  .dlx-cell, .dlx-chip, .dlx-paste, .dlx-pill, .dlx-knob, .dlx-hero-go, .dlx-rb { transition: none; }
  .dlx-cell:hover, .dlx-c-hero:hover .dlx-hero-go, .dlx-c-tog:hover .dlx-knob, .dlx-c-pin:hover .rb2 { transform: none; }
}
