.context-button { display: block; width: 100%; margin-top: auto; margin-bottom: 8px; background: var(--purple-mid); border: 1px solid #9471b0; border-radius: 8px; color: #fff; padding: 7px 8px; font: 800 11px/16px "Nunito", sans-serif; letter-spacing: 1px; cursor: pointer; transition: background .15s, transform .15s; }
.context-button:hover { background: #905dbd; transform: translateY(-1px); }
.context-button + .youtube-link { margin-top: 0; }
.context-dialog { margin: auto; width: min(1200px, calc(100% - 32px)); max-height: 90dvh; padding: 0; background: var(--bg-dark); color: white; border: 1px solid #9471b0; border-radius: 16px; box-shadow: 0 24px 100px #0008; }
.context-dialog::backdrop { background: #160d25cc; backdrop-filter: blur(4px); }
.context-header { position: sticky; top: 0; z-index: 1; background: var(--bg-dark); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.context-eyebrow { color: var(--accent); font-size: 10px; letter-spacing: 2px; font-weight: 800; margin-bottom: 4px; }
.context-header h2 { font: 400 28px "Bebas Neue", sans-serif; letter-spacing: 1px; }
.context-close, .context-footer button { border: 1px solid #9471b0; border-radius: 8px; background: transparent; color: white; font: 800 12px "Nunito", sans-serif; padding: 10px 14px; cursor: pointer; min-height: 44px; }
.context-close:hover, .context-footer button:hover { background: #51316f; }
.context-slide img { display: block; width: 100%; height: auto; background: #0f0f0f; }
.context-footer { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 16px 24px; border-top: 1px solid #62427c; }
.context-count { color: #cfbadd; font-size: 12px; font-weight: 800; }
@media (max-width: 600px) {
  .context-header { padding: 16px; }
  .context-header h2 { font-size: 24px; }
}

.context-note { padding: 24px; max-width: 850px; margin: 0 auto; font-size: 14px; line-height: 1.8; color: #eee2f6; }
.context-note blockquote { margin-top: 20px; padding-left: 20px; border-left: 3px solid var(--accent); }
.context-note blockquote p + p { margin-top: 16px; }
@media (max-width: 600px) {
  .context-note { padding: 20px 16px; }
  .context-note blockquote { padding-left: 14px; }
}

.context-slide img.context-portrait { width: auto; max-width: 100%; max-height: 65dvh; object-fit: contain; margin: 0 auto; }

.context-slide-split:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 0 24px 24px; }
.context-slide-split .context-note { padding: 0; font-size: 16px; }
@media (max-width: 700px) {
  .context-slide-split:not([hidden]) { grid-template-columns: 1fr; padding: 0 16px 20px; }
  .context-slide-split .context-note { font-size: 14px; }
}
