:root {
    --pico-font-family-sans-serif: "Hind Madurai", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    --pico-font-family: "Outfit", sans-serif;
}

blockquote:not(dialog blockquote) {
    font-family: "Lora", serif;
    font-weight: 600;
    font-style: italic;
}

q, em {
    font-family: "Lora", serif;
    font-style: italic;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

main {
    height: 100%;
    max-width: 860px !important;
    margin: 0 auto;
    padding: 0 !important;
}

body > header {
    position: fixed;
    right: 0;
    margin: 0 18px;
    padding: 0 5px;
    background-color: #eee;
    /* border: 2px solid #ccc; */
    border-radius: 6px;
    top: 50%;
    transform: translate(0, -50%);
    box-shadow: 0 0 5px #c3c3c3;
    padding-block: 0 !important;
}

body > header nav ul li {
    border-bottom: none !important;
}

body > header nav ul li a {
    display: block;
    text-shadow: 0 0 2px #999;
}

body > header nav ul li a::first-letter {
    margin: auto 6px;
}

body > header nav ul li.active a {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 10 10'><rect x='0' y='0' width='10' height='10' rx='1' ry='1' fill='%2300B478'/></svg>");
    background-repeat: no-repeat;
    background-position: center center;
    /* background-position: right 8px center; */
}

body > header nav ul li a:hover {
    text-decoration: none;
}

body > header nav ul li:not(.active) a:hover {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 10 10'><rect x='0' y='0' width='10' height='10' rx='1' ry='1' fill='%23CBFCE1'/></svg>");
    background-repeat: no-repeat;
    background-position: center center;
}

h1 {
    --pico-font-size: 2.5rem;
    text-align: center;
    padding: 0 0 2rem;
}

.large {
    font-size: 130%;
}

a.anchor {
    display: block;
    width: 1px;
    height: 62px;
}

a[role=button] {
    display: block;
    margin-bottom: 20px;
}

main > section {
    z-index: 1;
    position: relative;
    display: block;
    width: 100%;
    /* min-height: 100%; */
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

q {
    font-style: italic;
}

#results-message span.url {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#results-message span.url.good {
    background-color: rgba(44, 108, 12, 0.2);
}

#results-message span.url.bad {
    background-color: rgba(175, 41, 29, 0.2);
}

#results-summary summary {
    font-size: 1.2rem;
    line-height: 1.175;
    font-weight: 500;
}

#results-summary progress {
    --pico-progress-color: #AF291D !important;
    margin-bottom: 0 !important;
}

#results-dialog article > header * {
    color: #fff !important;
}

#results-dialog article > header.red {
    background-color: #AF291D !important;
}

#results-dialog article > header.green {
    background-color: #2C6C0C !important;
}

#results-dialog table tbody tr td, #results-dialog table tbody tr th {
    vertical-align: middle !important;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#results-dialog [data-tooltip]:not(a,button,input) {
    border-bottom: var(--pico-border-width) solid var(--pico-table-border-color) !important;
    cursor: default !important;
}

.error, .error p {
    color: var(--pico-form-element-invalid-border-color) !important;
}

.no-display {
    display: none;
}

.emoji {
    line-height: 120%;
}

.emoji::before {
    font-size: 120%;
    margin-right: .25em;
    content: attr(name);
}

ul.no-bullet {
    padding-inline-start: 15px;
}

ul.no-bullet li {
    display: block;
    list-style-type: none;
    margin: 12px 0 18px;
}

.turnstile-container {
    margin-bottom: 15px;
}

/* #results-message span.url.good::before {
    content: '🍀';
    padding-right: 3px;
}

#results-message span.url.bad::before {
    content: '🚩';
    padding-right: 3px;
} */

/* button {
    --pico-border-radius: 2.5rem;
    --pico-form-element-spacing-horizontal: 1.5rem;
    width: auto !important;
} */
