.dx-page {
    --dx-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 32px 0;
    box-sizing: border-box;
    isolation: isolate;
    background: #101011;
    color: #e7e4df;
    text-align: center;
    color-scheme: dark;
    font-family: var(--dx-mono);
    -webkit-font-smoothing: antialiased;
}
.dx-page::before, .dx-page::after { content: ''; position: fixed; inset: 0; pointer-events: none; }
.dx-page::before { z-index: -2; background: var(--dx-background) center / cover no-repeat; }
.dx-page::after { z-index: -1; background: rgba(4, 3, 7, .68); }
.dx-page * { box-sizing: border-box; }
.dx-page a { color: inherit; text-decoration: none; box-shadow: none; }
.dx-page :focus-visible { outline: 1px solid #dedbd2; outline-offset: 4px; }
.dx-page summary::-webkit-details-marker { display: none; }
.dx-page .dx-content { width: min(480px, calc(100% - 48px)); flex: 0 0 auto; margin: auto; padding: 0; }
.dx-page .dx-section, .dx-page .dx-song, .dx-page .dx-thought { margin: 0; padding: 0; border: 0; background: transparent; }
.dx-page .dx-section > summary {
    display: block;
    list-style: none;
    cursor: pointer;
    font: 400 14px/1.6 var(--dx-mono);
    letter-spacing: .15em;
    padding: 15px 0;
    color: #d5cdd3;
    text-transform: uppercase;
}
.dx-page .dx-section > summary:hover, .dx-page .dx-section[open] > summary { color: #fff; }
.dx-page .dx-section[open] > summary { margin-bottom: 18px; }
.dx-page .dx-section-body { padding: 0 0 28px; }
.dx-page .dx-song > summary, .dx-page .dx-thought > summary {
    font: 400 13px/1.8 var(--dx-mono);
    letter-spacing: .015em;
    padding: 9px 0;
    list-style: none;
    cursor: pointer;
    color: #cec5cd;
}
.dx-page .dx-song > summary { text-shadow: 0 1px 12px #0008; }
.dx-page .dx-song > summary:hover, .dx-page .dx-song[open] > summary { color: #fff; }
.dx-page .dx-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 0 0 16px; font: 11px/1.8 system-ui, sans-serif; color: #b9b9b9; }
.dx-page .dx-links a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.dx-page .dx-profiles { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 3px; margin: 32px 0 0; opacity: .7; }
.dx-page .dx-profile { width: 36px; height: 40px; display: flex; align-items: center; justify-content: center; opacity: .68; transition: opacity .15s; }
.dx-page .dx-profile:hover { opacity: 1; }
.dx-page .dx-profile svg { width: 14px; height: 14px; fill: currentColor; }
.dx-page .dx-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 0; }
.dx-page .dx-photo { min-width: 0; width: 100%; text-align: center; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; display: block; }
.dx-page .dx-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .85; }
.dx-page .dx-photo:hover img, .dx-page .dx-photo:focus-visible img { opacity: 1; }
.dx-page .dx-photo-caption { display: block; margin-top: 8px; font: 10px/1.7 var(--dx-mono); color: #ac9fa9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-page .dx-photo-caption:empty { display: none; }
.dx-page .dx-writing { text-align: left; padding: 18px 14px 30px; font: 13px/2 var(--dx-mono); color: #c5bcc3; overflow-wrap: anywhere; }
.dx-page .dx-writing p { margin: 0 0 1.2em; }
.dx-page .dx-writing time { display: block; font-size: 10px; color: #92868f; margin-bottom: 18px; }
.dx-page .dx-writing img, .dx-page .dx-writing video, .dx-page .dx-writing iframe { max-width: 100%; height: auto; }
.dx-page .dx-writing a { text-decoration: underline; }
.dx-page .dx-writing pre { white-space: pre-wrap; }
.dx-page .dx-writing blockquote { margin: 0; border-left: 1px solid #756571; padding-left: 16px; }
.dx-page .dx-empty { font: 11px/1.8 var(--dx-mono); color: #a79aa3; margin: 10px 0 24px; }
.dx-page .dx-lightbox { background: #0c090ddd; color: #e7e0e5; border: 0; padding: 48px 20px 20px; width: min(520px, calc(100% - 40px)); max-height: 80dvh; overflow: auto; }
.dx-page .dx-lightbox::backdrop { background: #000c; backdrop-filter: blur(10px); }
.dx-page .dx-lightbox img { display: block; max-width: 100%; max-height: 54dvh; object-fit: contain; margin: auto; }
.dx-page .dx-lightbox p { font: 11px/1.8 var(--dx-mono); text-align: center; margin: 16px 0 0; }
.dx-page .dx-close { position: absolute; right: 12px; top: 8px; display: grid; place-items: center; width: 36px; height: 36px; min-width: 0; min-height: 0; margin: 0; padding: 0; color: #ccc; cursor: pointer; }
.dx-page .dx-close svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.dx-page .dx-close:hover, .dx-page .dx-close:focus-visible { color: #fff; }
/* Keep theme button styles and touch highlights off these image controls. */
.dx-page button.dx-photo,
.dx-page button.dx-close,
.dx-page button.dx-photo:is(:hover, :focus, :focus-visible, :active),
.dx-page button.dx-close:is(:hover, :focus, :focus-visible, :active) {
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}
.dx-page .dx-poke-wrap { margin-top: 23px; text-align: center; }
.dx-page .dx-poke { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 5px 8px; border: 0; background: none; color: #9f919d; cursor: pointer; font: 10px/1.8 var(--dx-mono); letter-spacing: .01em; transition: color .2s; }
.dx-page .dx-poke:hover { color: #e4c8dc; }
.dx-page .dx-poke-mark { font-size: 17px; color: #b49dab; }
.dx-page .dx-poke[data-sent] .dx-poke-mark { color: #e4b4d5; animation: dx-poke-pulse .6s ease-out; }
.dx-page .dx-poke:disabled { cursor: default; }
.dx-page .dx-poke[data-sent] { color: #bfacba; }
.dx-page .dx-poke-status { font: 10px/1.8 var(--dx-mono); color: #ae9ba8; margin: 5px 0 0; }
.dx-page .dx-poke-status:empty { display: none; }
.dx-page .dx-poke[data-sent] + .dx-poke-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes dx-poke-pulse { 50% { transform: scale(1.45); } }
@media (prefers-reduced-motion: reduce) { .dx-page .dx-poke[data-sent] .dx-poke-mark { animation: none; } }
@media (max-width: 600px) {
    .dx-page .dx-gallery { grid-template-columns: repeat(2, 1fr); }
    .dx-page .dx-section > summary { font-size: 13px; }
    .dx-page .dx-song > summary { font-size: 12px; }
}
