.dyk-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.dyk-scrim { position: fixed; inset: 0; background: var(--ua-sheet-backdrop); pointer-events: none; }
.dyk-sheet {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100%, 440px);
  max-height: min(76dvh, 640px);
  overflow: hidden;
  padding: 6px 16px 10px;
  border: 1px solid var(--ua-sheet-border);
  border-radius: 24px;
  background: var(--ua-sheet-background);
  box-shadow: var(--ua-sheet-shadow);
  color: var(--text-hi);
  animation: dyk-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
html[data-glass="on"] .dyk-sheet {
  -webkit-backdrop-filter: var(--ua-sheet-filter);
  backdrop-filter: var(--ua-sheet-filter);
}
.dyk-top { flex: none; display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 46px; margin: 6px 0 10px; direction: ltr; }
.dyk-handle, .dyk-top, .dyk-orb, .dyk-sheet h2, .dyk-step { touch-action: none; }
.dyk-orb { flex: none; display: grid; place-items: center; width: 46px; height: 46px; margin: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--purple-pale); font-size: 25px; background: color-mix(in srgb, var(--purple-glow) 18%, var(--bg-deep)); }
.dyk-star-glyph { display: block; line-height: 1; transform: translate(.35px, -1px); }
.dyk-heading-copy { flex: 1; min-width: 0; text-align: start; }
html[dir="rtl"] .dyk-heading-copy { direction: rtl; text-align: right; }
.dyk-sheet h2 { margin: 0; font: 500 28px/1.1 var(--font-serif); outline: none; }
.dyk-step { margin: 5px 0 0; color: var(--text-mid); font-size: 12px; }
.dyk-content { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.dyk-content { animation: dyk-content-in 180ms ease-out both; }
.dyk-intro { margin: 0 0 9px; color: var(--text-mid); font-size: 13px; line-height: 1.45; }
.dyk-explain { margin: 0 0 8px; color: var(--text-low); font-size: 11px; line-height: 1.4; }
.dyk-facts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dyk-facts--grid > div { min-width: 0; padding: 8px 10px; }
.dyk-facts--grid strong { overflow-wrap: anywhere; line-height: 1.3; }
.dyk-facts { display: grid; gap: 8px; }
.dyk-facts > div { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-deep); }
html[data-glass="on"] .dyk-facts > div { background: color-mix(in srgb, var(--purple-glow) 11%, var(--glass-fill)); }
.dyk-facts span { color: var(--text-low); font-size: 11px; }
.dyk-facts strong { font-size: 13px; font-weight: 600; }
.dyk-story p { margin: 0 0 9px; color: var(--text-mid); font-size: 13px; line-height: 1.5; }
.dyk-actions { margin: 8px -16px 0; }
.dyk-actions .dyk-prev, .dyk-actions .dyk-next { min-height: 40px; border: 0; box-shadow: none; background: transparent; transform: none; white-space: nowrap; }
.dyk-actions .dyk-prev:active, .dyk-actions .dyk-next:active { transform: none; }
.dyk-actions .dyk-prev:disabled { opacity: .45; }
.dyk-progress { display: flex; align-items: center; gap: 5px; }
.dyk-progress i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, var(--white) 18%, transparent); }
.dyk-progress i.is-current { width: 16px; border-radius: 99px; background: var(--purple-bright); }
.dyk-sources { flex: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.dyk-source { color: var(--text-low); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
@keyframes dyk-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dyk-content-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 650px) { .dyk-backdrop { align-items: center; } }
@media (max-width: 390px) { .dyk-sheet { padding-inline: 14px; } .dyk-orb { width: 44px; height: 44px; } .dyk-actions { margin-inline: -14px; } }
@media (max-width: 390px) and (max-height: 700px) { .dyk-sheet { max-height: min(78dvh, 540px); } .dyk-sources { margin-top: 6px; } }
@media (prefers-reduced-motion: reduce) { .dyk-sheet, .dyk-content { animation: none; } }
