:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; background: #101612; color: #eef6ed; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(52rem, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) 0; }
header { border-top: .25rem solid #bcf973; padding-top: 1.1rem; margin-bottom: 1.5rem; }
h1 { margin: 0; font-size: clamp(2rem, 5.5vw, 3.6rem); letter-spacing: -.05em; line-height: 1.1; }
p { margin: .5rem 0 0; color: #c6d1c5; }
label { display: block; font-weight: 650; margin: 1.1rem 0 .45rem; }
input, button { font: inherit; }
input { width: 100%; padding: .8rem .95rem; background: #1b271e; color: #eef6ed; border: 1px solid #647765; border-radius: .55rem; }
.message { min-height: 1.5rem; color: #bcf973; overflow-wrap: anywhere; }
.message[data-error="true"] { color: #ffb9a2; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: 1rem 0; }
.actions p { margin: 0; }
button { border: 1px solid transparent; border-radius: .5rem; padding: .6rem .85rem; cursor: pointer; }
#switch, #open-picker { background: #bcf973; color: #14200e; font-weight: 750; }
#switch:disabled, #open-picker:disabled { background: #354338; color: #d3dfd1; cursor: default; }
#open-picker { margin-top: .8rem; }
details { border: 1px solid #425246; border-radius: .55rem; background: #172219; margin-bottom: .55rem; }
summary { padding: .7rem .85rem; cursor: pointer; font-weight: 650; }
.feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .45rem; padding: 0 .7rem .7rem; }
.feed { text-align: left; background: #243127; color: #eef6ed; min-height: 2.75rem; overflow-wrap: anywhere; }
.feed:hover, .feed[aria-pressed="true"] { border-color: #bcf973; }
.feed[aria-pressed="true"] { background: #374c30; }
:focus-visible { outline: 2px solid #bcf973; outline-offset: 3px; }
