@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/anton.woff2) format('woff2'); }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/libre-franklin.woff2) format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #000; font-family: 'Libre Franklin', Arial, sans-serif; }
a { color: #000; } a:hover { color: #444; }
.ph { background-color: #1c1c1c; background-image: repeating-linear-gradient(135deg, #232323 0 2px, #1c1c1c 2px 14px); }
.phl { background-color: #d9d9d9; background-image: repeating-linear-gradient(135deg, #cfcfcf 0 2px, #d9d9d9 2px 14px); }

/* account strip */
.strip { background: #000; color: #ccc; font-size: 13px; font-weight: 600; letter-spacing: .5px; border-bottom: 1px solid #333; }
.strip > div { max-width: 1240px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 18px; }
.strip a, .strip button { color: #fff; }
.strip .demo { margin-right: auto; color: #999; }
form.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

.flash { background: #fff; color: #000; border-bottom: 4px solid #000; font-weight: 800; font-size: 17px; }
.flash > div { max-width: 1240px; margin: 0 auto; padding: 18px 24px; }
.flash.err { background: #000; color: #fff; border-bottom-color: #fff; }

/* app pages */
.wrap { max-width: 1240px; margin: 0 auto; padding: 72px 24px; }
.wrap.narrow { max-width: 720px; }
.dark { background: #000; color: #fff; }
.dark a { color: #fff; }
.rule { border-top: 8px solid #000; }
.kicker { margin: 0 0 16px; font-size: 14px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.dark .kicker { color: #ccc; }
.display { margin: 0; font-family: Anton, Impact, sans-serif; font-weight: 400; line-height: .98; text-transform: uppercase; overflow-wrap: anywhere; }
h1.display { font-size: clamp(48px, 7vw, 104px); }
h2.display { font-size: clamp(36px, 4.5vw, 60px); }
h3.display { font-size: 30px; }
.lead { margin: 28px 0 0; max-width: 820px; font-size: 21px; line-height: 1.55; }
.dark .lead { color: #e6e6e6; }
.prose p { margin: 0 0 18px; max-width: 820px; font-size: 19px; line-height: 1.6; }
.muted { color: #555; font-size: 15px; line-height: 1.5; }
.dark .muted { color: #bbb; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.mt { margin-top: 40px; } .mt-s { margin-top: 20px; }

.btn { display: inline-block; background: #000; color: #fff; border: 2px solid #000; padding: 14px 24px; font-family: Anton, Impact, sans-serif; font-size: 22px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1.1; }
.btn:hover { color: #fff; background: #333; }
.btn.outline { background: transparent; color: #000; }
.btn.outline:hover { background: #000; color: #fff; }
.dark .btn { background: #fff; color: #000; border-color: #fff; }
.dark .btn:hover { background: #ddd; color: #000; }
.dark .btn.outline { background: transparent; color: #fff; }
.btn.small { font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; padding: 10px 16px; }

label { display: block; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
input[type=text], input[type=email], input[type=password], textarea { width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; font-size: 18px; border: 2px solid #000; background: #fff; color: #000; border-radius: 0; }
textarea { min-height: 140px; line-height: 1.5; resize: vertical; }
.dark input, .dark textarea { border-color: #fff; background: #000; color: #fff; }
input:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #777; outline-offset: 2px; }
.field { margin: 0; }
.hint { margin: 8px 0 0; font-size: 14px; color: #555; line-height: 1.5; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card { border: 2px solid #000; background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card p { margin: 0; font-size: 17px; line-height: 1.55; }
.card .grow { flex-grow: 1; }
.dark .card { background: #000; border-color: #fff; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 16px; line-height: 1.45; margin: 0; }
.meta dt { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding-top: 3px; }
.meta dd { margin: 0; overflow-wrap: anywhere; }
.panel { border: 2px solid #000; padding: 32px 28px; }
.panel + .panel { margin-top: 28px; }
.list { list-style: none; margin: 0; padding: 0; border-top: 2px solid #000; }
.list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 14px 0; border-bottom: 1px solid #000; font-size: 17px; overflow-wrap: anywhere; }
.tag { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; background: #000; color: #fff; padding: 3px 8px; }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid #000; }
th { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; border-bottom-width: 2px; }

/* site-admin editor */
#sc-editbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: #000; color: #fff; border-top: 2px solid #fff; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 600 14px/1.3 'Libre Franklin', Arial, sans-serif; }
#sc-editbar button { background: #fff; color: #000; border: 2px solid #fff; padding: 8px 14px; font: 800 13px/1 'Libre Franklin', Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
#sc-editbar button.ghost { background: transparent; color: #fff; }
#sc-editbar button:disabled { opacity: .45; cursor: default; }
#sc-editbar .msg { margin-right: auto; }
body.sc-admin { padding-bottom: 60px; }
body.sc-editing [contenteditable] { outline: 1px dashed #888; outline-offset: 3px; cursor: text; }
body.sc-editing [contenteditable]:hover { outline: 2px dashed #2a7de1; }
body.sc-editing [contenteditable]:focus { outline: 2px solid #2a7de1; }

/* art, music, poems */
.card a { text-decoration: none; } .card a:hover { text-decoration: underline; }
.card.art { padding: 0 0 24px; } .card.art > :not(a) { margin-left: 24px; margin-right: 24px; }
.card.art img { display: block; width: 100%; height: 320px; object-fit: cover; border-bottom: 2px solid #000; }
.artfull { display: block; max-width: 100%; max-height: 80vh; border: 2px solid #000; }
.poem { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: Georgia, 'Times New Roman', serif; font-size: 19px; line-height: 1.6; }
.poem.plain { font-family: inherit; }
audio { display: block; width: 100%; }
input[type=file] { width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; border: 2px solid #000; background: #fff; }
.tag.quiet { background: #fff; color: #000; border: 1px solid #000; }
.notice { margin: 0 0 20px; padding: 14px 18px; border: 2px solid #000; font-weight: 800; }
.flags { margin: 14px 0 0; padding: 14px 18px 14px 36px; border: 2px solid #000; border-left-width: 10px; font-weight: 800; font-size: 16px; line-height: 1.5; }
.preview { border-top: 1px solid #000; padding-top: 18px; }
.preview .artfull { max-height: 420px; }
#sc-preview { display: block; max-width: 100%; max-height: 320px; margin-top: 12px; border: 2px solid #000; }
#sc-linkbtn { position: absolute; z-index: 1001; background: #2a7de1; color: #fff; border: 0; padding: 7px 12px; font: 800 12px/1 'Libre Franklin', Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
