:root { color-scheme: light; font-family: Georgia, "Times New Roman", serif; color: #191919; background: #f2ebdd; }
* { box-sizing: border-box; }
body { margin: 0; }
.gazette { display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 300px; padding: 14px 18px 8px; background: #f2ebdd url("./assets/images/papiergazette.png") center / cover; }
header, footer { flex-shrink: 0; }
.brand { display: flex; align-items: center; justify-content: center; gap: 12px; }
h1 { margin: 0; font-size: clamp(24px, 7vw, 39px); font-weight: normal; letter-spacing: -.8px; }
.sprite { display: inline-block; flex-shrink: 0; background-repeat: no-repeat; vertical-align: middle; }
.tagline { text-align: center; font: 9px Arial, sans-serif; letter-spacing: .5px; margin: 5px 0 12px; }
.controls { display: flex; align-items: end; gap: 8px; border-block: 2px solid #191919; padding: 8px 0; font: 12px Arial, sans-serif; }
label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.feed-label { flex: 1; }
button, select { font: 12px Arial, sans-serif; color: inherit; background: #f6f0e4; border: 1px solid #a69b83; border-radius: 2px; padding: 7px; min-height: 32px; }
select { max-width: 100%; }
button, a { cursor: pointer; }
button:hover { background: #e7ddc9; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid #9d2924; outline-offset: 2px; }
.directory { display: flex; align-items: center; gap: 8px; font: 11px Arial, sans-serif; }
.directory p { margin: 4px 0; }
.directory button { margin-top: 5px; padding: 3px 6px; min-height: 26px; }
#content { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 12px 4px 8px 0; overflow-wrap: anywhere; }
article { border-bottom: 1px solid #a69b83; padding: 0 0 14px; margin: 0 0 14px; }
article:last-child { border-bottom: 0; }
h2 { font-size: 24px; line-height: 1.15; font-weight: normal; margin: 8px 0; }
.headline { border: 0; padding: 0; background: none; font: inherit; text-align: left; min-height: 0; }
.headline:hover { background: none; color: #9d2924; }
.badges { display: flex; gap: 8px; align-items: center; }
.meta, .notice, .reader-info, .original { font: 12px/1.5 Arial, sans-serif; color: #66615a; }
.meta { margin: 8px 0; }
.excerpt, .paragraph { font-size: 16px; line-height: 1.55; margin: 8px 0; white-space: pre-wrap; }
.notice { border-left: 3px solid #a69b83; padding-left: 8px; }
.error { color: #9d2924; }
.reader-info { border-block: 1px solid #a69b83; padding: 8px 0; }
a { color: #9d2924; text-underline-offset: 3px; }
.back { margin-bottom: 8px; }
footer { border-top: 2px solid #191919; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; padding-top: 7px; font: 10px Arial, sans-serif; color: #66615a; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 360px) {
  .gazette { padding: 10px 10px 7px; }
  .controls { flex-wrap: wrap; gap: 5px; }
  .feed-label { flex-basis: calc(100% - 75px); }
  #refresh { width: 100%; }
  h2 { font-size: 22px; }
}
