/* Native glass ring. Cards and text stay sharp; blur belongs to fixed spatial veils. */
.ck-prompt-ring { padding: 48px 24px 42px; background-color: #1d1f26; color: #f4f2ed; font-family: Inter,sans-serif; isolation: isolate; scroll-margin-top: 105px; }
.ck-prompt-ring,.ck-prompt-ring * { box-sizing: border-box; }
.ck-prompt-ring .ck-prompt-ring__inner { width: 100%; max-width: 1320px; margin-inline: auto; }
.ck-prompt-ring h2 { margin: 0; max-width: none; color: #fff; font-family: Inter,sans-serif; font-size: var(--cw2-type-section,36px); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; text-align: center; }
.ck-prompt-ring .ck-prompt-ring__stage { position: relative; width: 100%; height: 344px; margin-bottom: -24.08px; margin-top: 56px; transform:scale(var(--scene-scale,.93)); transform-origin:50% 0; overflow: visible; background: none; border: 0; box-shadow: none; cursor: grab; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; --card-width: 760px; --card-height: 250px; --radius: 686px; --perspective: 1406px; --tilt: -5deg; --bank: 2deg; --scale-y: 1; --scale-z: 1; --camera-y: 50%; --angle: -120deg; --veil-margin: 80px; --fade-x: linear-gradient(to right,transparent 0,#000 calc(var(--veil-margin) + 24px),#000 calc(100% - var(--veil-margin) - 24px),transparent 100%); --fade-y: linear-gradient(to bottom,transparent 0,transparent var(--veil-margin),#000 calc(var(--veil-margin) + 32px),#000 calc(100% - var(--veil-margin) - 20px),transparent calc(100% - 12px)); }
.ck-prompt-ring .ck-prompt-ring__stage:focus-visible { outline: 1px solid #ffffff38; outline-offset: 8px; border-radius: 36px; }
.ck-prompt-ring.is-dragging .ck-prompt-ring__stage { cursor: grabbing; }
.ck-prompt-ring .ck-prompt-ring__ambient { display: none; }
.ck-prompt-ring .ck-prompt-ring__camera { position: absolute; z-index: 1; inset: 0; perspective: var(--perspective); perspective-origin: 50% var(--camera-y); pointer-events: none; }
.ck-prompt-ring .ck-prompt-ring__rotor { position: absolute; width: 0; height: 0; left: 50%; top: var(--camera-y); transform-style: preserve-3d; transform: translateZ(calc(-1 * var(--radius))) rotateZ(var(--bank)) rotateX(var(--tilt)) rotateY(var(--angle)); }
.ck-prompt-ring .ck-prompt-ring__card { position: absolute; width: var(--card-width); height: var(--card-height); left: calc(var(--card-width) / -2); top: calc(var(--card-height) / -2); display: flex; flex-direction: column; gap: 20px; padding: 40px 32px 26px 44px; border-radius: 46px; border: 0; background: transparent; --light-x: 30%; --light-y: 5%; backface-visibility: visible; transform-style: preserve-3d; transform: rotateY(calc(var(--card-index) * 60deg)) translateZ(var(--radius)); }
/* Each card owns the Figma agent/glow backing, glass and text as one 3D object. */
.ck-prompt-ring .ck-prompt-ring__glass-back,
.ck-prompt-ring .ck-prompt-ring__glass-edge,
.ck-prompt-ring .ck-prompt-ring__glass-face,
.ck-prompt-ring .ck-prompt-ring__glass-sheen { position: absolute; inset: 0; border-radius: inherit; border: 0; pointer-events: none; }
.ck-prompt-ring .ck-prompt-ring__glass-back { inset: 3px; transform: translateZ(-1px); overflow: hidden; background: rgba(0,0,0,.3); box-shadow: none; }
.ck-prompt-ring .ck-prompt-ring__glass-edge { transform: translateZ(-2.5px); background: transparent; box-shadow: inset 0 -4px 10px #dce5ee12; }
.ck-prompt-ring .ck-prompt-ring__glass-face { transform: translateZ(0); width: 100%; height: 100%; background: linear-gradient(130deg,#e6edf015,transparent 45%,#dce5ed06),rgba(7,10,15,.10); box-shadow: inset 0 4px 20px #e9f1f51a,inset 0 -5px 18px #00000024; }
.ck-prompt-ring .ck-prompt-ring__glass-sheen { transform: translateZ(1px); background: radial-gradient(ellipse 85% 140% at var(--light-x) -90%,#eef4f922,transparent 78%); }
/* A single flat front face keeps the glass, text and SVG tools in the same
   paint group instead of three independently rasterized 3D planes. */
.ck-prompt-ring .ck-prompt-ring__front-face { position:absolute; inset:0; display:flex; flex-direction:column; gap:inherit; padding:inherit; border-radius:inherit; overflow:hidden; transform:translateZ(0); transform-style:flat; }
.ck-prompt-ring .ck-prompt-ring__front-face .ck-prompt-ring__glass-face,
.ck-prompt-ring .ck-prompt-ring__front-face .ck-prompt-ring__glass-sheen { transform:none; }
.ck-prompt-ring .ck-prompt-ring__prompt,.ck-prompt-ring .ck-prompt-ring__tools { position:relative; z-index:1; backface-visibility:hidden; visibility:var(--content-visibility,inherit); }
.ck-prompt-ring .ck-prompt-ring__prompt { margin: 0; flex: 1 1 auto; min-height: 0; text-align: left; color: #e7e5e3; font-size: var(--prompt-size,24.774194px); font-weight: 400; line-height: calc(var(--prompt-base-size,24px) * 1.45); letter-spacing: -.015em; overflow-wrap: anywhere; white-space: pre-line; }
.ck-prompt-ring .ck-prompt-ring__tools { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 15px; color: rgba(242,239,231,.66); }
.ck-prompt-ring .ck-prompt-ring__mic { width: 20px; height: 25px; }
.ck-prompt-ring .ck-prompt-ring__wave { width: 28px; height: 25px; }
.ck-prompt-ring .ck-prompt-ring__send { display: flex; align-items: center; justify-content: center; width: 56px; height: 53px; border-radius: 21px; background: rgba(242,239,231,.08); color: rgba(242,239,231,.9); box-shadow: none; }
.ck-prompt-ring .ck-prompt-ring__send svg { width: 23px; height: 22px; }
.ck-prompt-ring .ck-prompt-ring__caret { display: none; width: 1px; max-width: 1px; height: .9em; margin-left: 3px; vertical-align: -.07em; overflow: hidden; background: none; border-left: 1px solid #e7e5e3a6; }
.ck-prompt-ring .is-typing .ck-prompt-ring__caret { display: inline-block; }
/* The veil extends past the layout box and dissolves into the same page grain.
   Its front opening is projected once per layout and never follows rotation. */
.ck-prompt-ring .ck-prompt-ring__veil { position: absolute; z-index: 3; inset: calc(-1 * var(--veil-margin)); pointer-events: none; background: transparent; -webkit-backdrop-filter: blur(1.25px); backdrop-filter: blur(1.25px); -webkit-mask-image: var(--focus-mask),var(--fade-x),var(--fade-y); mask-image: var(--focus-mask),var(--fade-x),var(--fade-y); -webkit-mask-composite: source-in; mask-composite: intersect; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.ck-prompt-ring .ck-prompt-ring__veil--rear { -webkit-mask-image: var(--focus-mask),var(--fade-x),var(--fade-y),linear-gradient(to bottom,#000 0,#000 calc(var(--rear-cut) - 60px),transparent calc(var(--rear-cut) + 60px)); mask-image: var(--focus-mask),var(--fade-x),var(--fade-y),linear-gradient(to bottom,#000 0,#000 calc(var(--rear-cut) - 60px),transparent calc(var(--rear-cut) + 60px)); }
.ck-prompt-ring .ck-prompt-ring__veil--left { clip-path: polygon(0 0,50% 0,50% 100%,0 100%); }
.ck-prompt-ring .ck-prompt-ring__veil--right { clip-path: polygon(50% 0,100% 0,100% 100%,50% 100%); }
.ck-prompt-ring .ck-prompt-ring__sr,.ck-prompt-ring .ck-prompt-ring__accessible-prompts { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ck-prompt-ring:not([data-scene-ready="true"]) .ck-prompt-ring__stage { visibility: hidden; }

.ck-prompt-ring .ck-prompt-ring__accessible-prompts li { margin-bottom: 20px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .ck-prompt-ring .ck-prompt-ring__veil { background: transparent; } }
@media(max-width:700px) {
  .ck-prompt-ring { padding: 40px 16px 38px; }
  .ck-prompt-ring h2 { max-width: 430px; margin-inline: auto; font-size: var(--cw2-type-section,28px); }
  .ck-prompt-ring .ck-prompt-ring__stage { margin-top: 38px; height: 350px; --veil-margin: 48px; }
  .ck-prompt-ring .ck-prompt-ring__card { padding: 28px 20px 18px 26px; gap: 18px; border-radius: 29px; }
  .ck-prompt-ring .ck-prompt-ring__tools { gap: 11px; }
  .ck-prompt-ring .ck-prompt-ring__send { width: 46px; height: 44px; border-radius: 17px; }
  .ck-prompt-ring .ck-prompt-ring__send svg { width: 20px; height: 19px; }
  .ck-prompt-ring .ck-prompt-ring__mic { width: 17px; height: 22px; }
  .ck-prompt-ring .ck-prompt-ring__wave { width: 24px; height: 22px; }
  .ck-prompt-ring .ck-prompt-ring__veil { -webkit-backdrop-filter: blur(.75px); backdrop-filter: blur(.75px); }
}
@media(prefers-reduced-motion:reduce) { .ck-prompt-ring .ck-prompt-ring__caret { display: none !important; } }
@media print {
  .ck-prompt-ring .ck-prompt-ring__stage { display: none !important; }
  .ck-prompt-ring .ck-prompt-ring__accessible-prompts { position: static; width: auto; height: auto; margin: 24px 0; padding-left: 24px; overflow: visible; clip: auto; clip-path: none; white-space: normal; }
}

/* Original Figma assets retain their intrinsic dimensions and are scaled uniformly
   through their wrappers. The backing clips all glow to its own rounded silhouette. */
.ck-prompt-ring .ck-prompt-ring__backing-glow { position:absolute; width:1500px; height:1120px; left:calc(var(--motif-x,38.7%) + 11.3%); top:calc(var(--motif-y,56.7%) + 18%); transform:translate(-50%,-50%) scale(var(--glow-scale,.53)); }
.ck-prompt-ring .ck-prompt-ring__backing-agent { position:absolute; width:327.273px; height:320.473px; left:var(--motif-x,38.7%); top:var(--motif-y,56.7%); transform:translate(-50%,-50%) rotate(159.74deg) scaleY(-1) scale(var(--agent-scale,.57)); filter:blur(var(--agent-softness,18px)); opacity:.75; }
.ck-prompt-ring .ck-prompt-ring__backing-glow img,.ck-prompt-ring .ck-prompt-ring__backing-agent img { display:block; max-width:none; }
.ck-prompt-ring .ck-prompt-ring__glass-back::after { content:""; position:absolute; inset:0; border-radius:inherit; background:rgba(0,0,0,.18); }
.ck-prompt-ring[data-material="refractive"] .ck-prompt-ring__glass-face { box-shadow:none; background:transparent; }
.ck-prompt-ring[data-material="refractive"] .ck-prompt-ring__glass-back { visibility:hidden; }
@media(max-width:360px) { .ck-prompt-ring .ck-prompt-ring__card { padding-left:21px; padding-right:15px; } }

/* Deliberate positions stay attached to the same cards across every visit.
   The glow follows the agent with the original offset; scale is unchanged. */
.ck-prompt-ring .ck-prompt-ring__card:nth-child(1) { --motif-x:27%; --motif-y:38%; }
.ck-prompt-ring .ck-prompt-ring__card:nth-child(2) { --motif-x:68%; --motif-y:64%; }
.ck-prompt-ring .ck-prompt-ring__card:nth-child(3) { --motif-x:42%; --motif-y:72%; }
.ck-prompt-ring .ck-prompt-ring__card:nth-child(4) { --motif-x:75%; --motif-y:32%; }
.ck-prompt-ring .ck-prompt-ring__card:nth-child(5) { --motif-x:24%; --motif-y:68%; }
.ck-prompt-ring .ck-prompt-ring__card:nth-child(6) { --motif-x:54%; --motif-y:39%; }

/* Rounded side surfaces connect the unchanged front at z=0 to an 8px rear plane. */
.ck-prompt-ring .ck-prompt-ring__volume { position:absolute;inset:0;pointer-events:none;transform-style:preserve-3d;border-radius:inherit; }
.ck-prompt-ring .ck-prompt-ring__rear-plane { position:absolute;inset:0;border-radius:inherit;transform:translateZ(calc(-1 * var(--glass-depth,8px)));background:rgba(9,13,19,.12);box-shadow:inset 0 0 1px #eaf1f52b; }
.ck-prompt-ring .ck-prompt-ring__sidewall { position:absolute;left:0;top:0;transform-origin:0 0;backface-visibility:hidden;background:linear-gradient(to bottom,#141b2680,#9daab238 48%,#e6f1f64d 93%,#f5f8fa24); }

/* Match the side shell to the shader face. Avoid overlapping high-contrast
   rim planes and bright polygon seams at shallow viewing angles. */
.ck-prompt-ring .ck-prompt-ring__glass-edge{box-shadow:none}
.ck-prompt-ring .ck-prompt-ring__rear-plane{box-shadow:inset 0 0 2px #eaf1f518}
.ck-prompt-ring .ck-prompt-ring__sidewall{background:linear-gradient(to bottom,#141b266b,#83909a24 50%,#cbd7df2e 93%,#e4edf029)}

/* Paint the edge falloff into each wall. Hundreds of independently filtered
   3D strips otherwise require extra offscreen raster surfaces during scroll.
   The rounded geometry and the front shader's bevel/reflections stay intact. */
.ck-prompt-ring .ck-prompt-ring__sidewall{
  background:linear-gradient(to bottom,#141b2600,#141b266b 18%,#83909a24 50%,#cbd7df22 82%,#e4edf000);
  filter:none;
}

/* Prepared from the same material equations; no runtime filtering on phones. */
@media (max-width:767px), (hover:none) and (pointer:coarse) {
 .ck-prompt-ring .ck-prompt-ring__stage{visibility:visible!important;--prompt-base-size:16px;--prompt-size:16.516129px;--card-width:54vw;--card-height:228px;--radius:calc((54vw + 12px)*.8660254);--perspective:100vw;--camera-y:145px;--tilt:-8deg;--bank:1.5deg;height:350px}
 .ck-prompt-ring .ck-prompt-ring__card{transform-style:flat}
 .ck-prompt-ring .ck-prompt-ring__front-face{transform:none;background:#12151b var(--mobile-glass) center/100% 100% no-repeat;background-origin:border-box;background-clip:border-box;box-shadow:none}
 .ck-prompt-ring .ck-prompt-ring__glass-back,.ck-prompt-ring .ck-prompt-ring__glass-edge,.ck-prompt-ring .ck-prompt-ring__glass-face,.ck-prompt-ring .ck-prompt-ring__glass-sheen,.ck-prompt-ring .ck-prompt-ring__volume,.ck-prompt-ring .ck-prompt-ring__veil{display:none!important}
 .ck-prompt-ring:not(.is-ready) .ck-prompt-ring__card:not(:nth-child(3)) :is(.ck-prompt-ring__prompt,.ck-prompt-ring__tools){visibility:hidden}
 .ck-prompt-ring .ck-prompt-ring__prompt,.ck-prompt-ring .ck-prompt-ring__tools{backface-visibility:visible}
}

/* Mobile copy is complete before initialization and never has a typing cursor. */
@media (max-width:767px), (hover:none) and (pointer:coarse) {
 .ck-prompt-ring .ck-prompt-ring__caret{display:none!important;animation:none!important}
}
