
@media (prefers-color-scheme: light) {
    :root {
        --background: #ffffff;
        --color: #0e0e0e;
        --accent-contrast-color: #ffffff;
        --border-color: rgba(0, 0, 0, 0.1);
        --menu-color: #0e0e0e;
        --accent: color(display-p3 0.13 0.422 1 / 1);
        --syntax-func-color: color-mix(in srgb, var(--accent) 70%, #000 30%);
        --syntax-var-color: color-mix(in srgb, var(--accent) 90%, #000);
        --syntax-value-color: color-mix(in srgb, var(--accent), #000);
        --syntax-punctuation-color: #0e0e0e;
        --syntax-comment-color: rgba(0, 0, 0, 0.3);
        --syntax-code-border-color: rgba(0, 0, 0, 0.1);
        --syntax-code-copy-button-color: #444444;
        --syntax-code-copy-button-box-shadow-color: rgba(255, 255, 255, 0.2);
        --font-size: 1rem;
        --line-height: 1.54rem;
        --radius: 0;
        word-break: normal;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #111111;
        --color: #ffffff;
        --accent-contrast-color: #000000;
        --border-color: rgba(255, 255, 255, 0.1);
        --menu-color: #ffffff;
        --accent: color(display-p3 0.258 0.622 1 / 1);
        --syntax-func-color: color-mix(in srgb, var(--accent) 70%, #999 30%);
        --syntax-var-color: color-mix(in srgb, var(--accent) 90%, transparent);
        --syntax-value-color: color-mix(in srgb, var(--accent), #ffffff);
        --syntax-punctuation-color: #ffffff;
        --syntax-comment-color: rgba(255, 255, 255, 0.3);
        --syntax-code-border-color: rgba(255, 255, 255, 0.1);
        --syntax-code-copy-button-color: #bbbbbb;
        --syntax-code-copy-button-box-shadow-color: rgba(0, 0, 0, 0.2);
        --font-size: 1rem;
        --line-height: 1.54rem;
        --radius: 0;
        word-break: normal;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: var(--accent);
    color: var(--background);
    padding: 5px 10px;
    font-size: 2em;
    font-weight: bold;
    unicode-bidi: isolate;
    font-size: calc(var(--font-size)* 1.1);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.logo h1 {
    padding: 0;
    margin: 0;
    text-decoration: none;
}

h2 {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: calc(var(--font-size)* .2);
}

a.button.inline::before {
    content: none;
}

a.button.inline::after {
    content: none;
}

a.read-more.button.inline {
    display: block;
}


figure.floatRight {
    float: right;
    max-width: 40%;
    margin-left: 2em;
    margin-top: 0;
}

figure.floatRight img {
    margin: 0;
}

@media (max-width: 684px) {
    figure.floatRight {
        float: none;
        max-width: fit-content;
        margin-left: 0em;
    }
}

a.appStoreButton {
    color: transparent;
    display: block;
}

a.appStoreButton img {
    padding: 0;
    margin: auto;
    border: none;
    height: 60pt;
}

.psylo-callout {
    --psylo-accent: color(display-p3 0.541 0.341 0.965 / 1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin: 2.25rem 0;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--psylo-accent);
    background: color-mix(in srgb, var(--psylo-accent) 10%, transparent);
}

@media (prefers-color-scheme: dark) {
    .psylo-callout {
        --psylo-accent: color(display-p3 0.667 0.51 0.98 / 1);
    }
}

a.psylo-callout-icon {
    flex: 0 0 auto;
    display: block;
    line-height: 0;
}

a.psylo-callout-icon::before,
a.psylo-callout-icon::after {
    content: none;
}

a.psylo-callout-icon img {
    width: 72px;
    height: 72px;
    border: none;
    margin: 0;
    padding: 0;
    border-radius: 16px;
    display: block;
}

.psylo-callout-body {
    flex: 1 1 240px;
}

.psylo-callout-headline {
    margin: 0 0 .35rem 0;
    font-weight: bold;
    font-size: calc(var(--font-size) * 1.05);
}

.psylo-callout-text {
    margin: 0;
    line-height: var(--line-height);
}

.psylo-callout-secondary {
    margin: .5rem 0 0 0;
    font-size: calc(var(--font-size) * 0.9);
    line-height: var(--line-height);
}

.psylo-callout-secondary a {
    color: var(--psylo-accent);
    font-weight: bold;
}

a.psylo-callout-cta {
    flex: 0 0 auto;
    display: inline-block;
    padding: .6rem 1.1rem;
    background: var(--psylo-accent);
    color: var(--background);
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

a.psylo-callout-cta:hover {
    filter: brightness(1.1);
}

a.psylo-callout-cta::before,
a.psylo-callout-cta::after {
    content: none;
}

.post-content .table-wrapper {
    overflow-x: auto;
    max-width: 100%;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
}

.post-content .table-wrapper table {
    margin: 0;
}

@media (max-width: 684px) {
    .psylo-callout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    a.psylo-callout-cta {
        text-align: center;
        align-self: stretch;
    }
}