#rss {
  display: grid;
  padding: 0 1rem 1rem 1rem;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  grid-auto-rows: max-content;
  row-gap: 16px;
  scrollbar-gutter: stable;
}
#rss a {
  text-decoration: none;
}
#rss a:is(.dark *) {
  color: #d09074;
}
#rss a:is(.dark *):hover {
  color: #ffcab3;
}
#rss a:is(.light *) {
  color: #764646;
}
#rss a:is(.light *):hover {
  color: #bb381a;
}
#rss input,
#rss textarea {
  width: 100%;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
}
#rss input:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea),
#rss textarea:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea) {
  padding: 0 0.5rem;
}
#rss input:is(.dark *),
#rss textarea:is(.dark *) {
  color: #cccccc;
}
#rss input:is(.light *),
#rss textarea:is(.light *) {
  color: #333333;
}
#rss input:is(.classic *),
#rss textarea:is(.classic *) {
  border-width: 0.0625rem;
  border-style: solid;
}
#rss input:is(.classic *)[type="text"],
#rss textarea:is(.classic *)[type="text"],
#rss input:is(.classic *)[type="date"],
#rss textarea:is(.classic *)[type="date"],
#rss input:is(.classic *)[type="time"],
#rss textarea:is(.classic *)[type="time"],
#rss input:is(.classic *)[type="search"],
#rss textarea:is(.classic *)[type="search"],
#rss input:is(.classic *)[type="password"],
#rss textarea:is(.classic *)[type="password"] {
  height: 2.25rem;
}
#rss input:is(.classic *):is(.dark *),
#rss textarea:is(.classic *):is(.dark *) {
  border-bottom-color: #413e3e;
  border-right-color: #413e3e;
  border-top-color: #0c0c0c;
  border-left-color: #0c0c0c;
  background-color: #1e1d1d;
}
#rss input:is(.modern *),
#rss textarea:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#rss input:is(.modern *)[type="text"],
#rss textarea:is(.modern *)[type="text"],
#rss input:is(.modern *)[type="date"],
#rss textarea:is(.modern *)[type="date"],
#rss input:is(.modern *)[type="time"],
#rss textarea:is(.modern *)[type="time"],
#rss input:is(.modern *)[type="search"],
#rss textarea:is(.modern *)[type="search"],
#rss input:is(.modern *)[type="password"],
#rss textarea:is(.modern *)[type="password"] {
  height: 2.25rem;
}
#rss input:is(.modern *):is(.dark *),
#rss textarea:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#rss input:is(.modern *):is(.light *),
#rss textarea:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#rss input[type=file],
#rss textarea[type=file] {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  position: absolute;
  z-index: 7;
  cursor: pointer;
}
#rss input[type=file]::-webkit-file-upload-button,
#rss textarea[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}
#rss input[type=radio],
#rss textarea[type=radio] {
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#rss input[type=radio]:is(.modern *):is(.dark *):checked,
#rss textarea[type=radio]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #802600;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#rss input[type=radio]:is(.modern *):is(.light *):checked,
#rss textarea[type=radio]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff9466;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#rss input[type=radio]:is(.classic *):is(.dark *):checked,
#rss textarea[type=radio]:is(.classic *):is(.dark *):checked {
  background-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  border-top-color: #330f00;
  border-left-color: #330f00;
  border-bottom-color: #802600;
  border-right-color: #802600;
  border-width: 1.4px;
}
#rss input[type=checkbox],
#rss textarea[type=checkbox] {
  appearance: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
#rss input[type=checkbox]:is(.modern *),
#rss textarea[type=checkbox]:is(.modern *) {
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 2px;
}
#rss input[type=checkbox]:is(.modern *):is(.dark *),
#rss textarea[type=checkbox]:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#rss input[type=checkbox]:is(.modern *):is(.dark *):checked,
#rss textarea[type=checkbox]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
}
#rss input[type=checkbox]:is(.modern *):is(.light *),
#rss textarea[type=checkbox]:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#rss input[type=checkbox]:is(.modern *):is(.light *):checked,
#rss textarea[type=checkbox]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
}
#rss input[type=checkbox]:is(.classic *):checked,
#rss textarea[type=checkbox]:is(.classic *):checked {
  background-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
  border-bottom: 2px solid #bd3900;
  border-right: 2px solid #bd3900;
  border-top: 2px solid #762300;
  border-left: 2px solid #762300;
}
#rss textarea {
  resize: vertical;
}
#rss .button {
  display: grid;
  position: relative;
  overflow: hidden;
  min-width: max-content;
  cursor: pointer;
  padding: 0.25rem 1rem;
  padding: 0 1rem;
  min-height: 36px;
}
@media (width < 24rem) {
  #rss .button {
    padding: 0.25rem 0.25rem;
  }
}
#rss .button.upload {
  padding: 0;
}
#rss .button > span {
  user-select: none;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  align-content: center;
  height: 100%;
  width: 100%;
  position: relative;
}
#rss .button > span:is(.upload > *) {
  padding: 0.25rem 1rem;
}
#rss .button:is(.classic *):is(.dark *) {
  color: #d5bfae;
  background: url(../img/button-top-left.png) top left no-repeat, url(../img/button-top-right.png) top right no-repeat, url(../img/button-bottom-left.png) bottom left no-repeat, url(../img/button-bottom-right.png) bottom right no-repeat, url(../img/button-top.png) top repeat-x, url(../img/button-bottom.png) bottom repeat-x, url(../img/button-left.png) left repeat-y, url(../img/button-right.png) right repeat-y, url(../img/button-center.png) center / cover no-repeat;
}
#rss .button:is(.classic *):is(.dark *):active:is(.classic.dark *) {
  color: #e4845a;
  background: url(../img/pressed-top-left.png) top left no-repeat, url(../img/pressed-top-right.png) top right no-repeat, url(../img/pressed-bottom-left.png) bottom left no-repeat, url(../img/pressed-bottom-right.png) bottom right no-repeat, url(../img/pressed-top.png) top repeat-x, url(../img/pressed-bottom.png) bottom repeat-x, url(../img/pressed-left.png) left repeat-y, url(../img/pressed-right.png) right repeat-y, url(../img/pressed-center.png) center / cover no-repeat;
}
#rss .button:is(.classic *):is(.dark *):active:is(.classic.dark *) > span {
  transform: translate(0, 1px);
}
#rss .button:is(.modern *) {
  border-style: solid;
  border-width: 2px;
  border-radius: 0.25rem;
}
#rss .button:is(.modern *):is(.dark *) {
  border-color: #383433;
  color: #d5bfae;
}
#rss .button:is(.modern *):is(.dark *):hover {
  color: #e9c3a6;
}
#rss .button:is(.modern *):is(.light *) {
  border-color: #c9bfbc;
  color: #604c44;
}
#rss .button:is(.modern *):is(.light *):hover {
  color: #93614e;
}
#rss .button.icon {
  padding: 0;
  aspect-ratio: 1/1;
  height: 100%;
}
#rss .button.icon span {
  background-repeat: no-repeat;
  background-position: center;
}
#rss .button.trash.icon span {
  background-size: 30px;
}
#rss .button.trash.icon span:is(.dark *) {
  background-image: var(--icon-trash-dark);
}
#rss .button.trash.icon span:is(.light *) {
  background-image: var(--icon-trash-light);
}
#rss .button.close.icon span {
  background-size: 40%;
}
#rss .button.close.icon span:is(.dark *) {
  background-image: var(--icon-cross-dark);
}
#rss .button.close.icon span:is(.light *) {
  background-image: var(--icon-cross-light);
}
#rss .button.minimize.icon .dash {
  width: 14px;
  height: 1px;
  border-radius: 1px;
  background-color: #d09074;
  margin-top: 10px;
}
#rss .button.minimize.icon .dash:is(.dark *) {
  background-color: #d09074;
}
#rss .button.minimize.icon .dash:is(.light *) {
  background-color: #9b8b84;
}
#rss .button.settings.icon span {
  background-image: var(--icon-settings);
}
#rss .button.settings.icon span svg {
  width: var(--height);
}
#rss .button.settings.icon span svg .b {
  stroke: #9b8b84;
  stroke-miterlimit: 10;
}
#rss .button.save.icon span {
  background-size: 16px;
}
#rss .button.save.icon span:is(.dark *) {
  background-image: var(--icon-save-dark);
}
#rss .button.save.icon span:is(.light *) {
  background-image: var(--icon-save-light);
}
#rss .title {
  user-select: none;
  align-self: center;
  font-weight: 600;
}
#rss .title:is(.dark *) {
  color: #d5bfae;
}
#rss .title:is(.light *) {
  color: #604c44;
}
@media (min-width: 1024px) {
  #rss .url {
    grid-auto-flow: column;
    justify-content: start;
    column-gap: 1rem;
  }
}
#rss .panel {
  display: grid;
  row-gap: 1rem;
  align-content: start;
  border-width: 2px;
  border-style: solid;
  padding: 1rem;
  row-gap: 0.6875rem;
}
#rss .panel:is(.dark *) {
  color: #a08c81;
  background-color: #2e2b2b;
  border-color: #3c3939;
  background-image: url(../img/noise-dark.png);
}
#rss .panel:is(.light *) {
  color: #c76a4c;
  background-color: #f7efee;
  border-color: #d6d2d1;
  background-image: url(../img/noise-dark.png);
}
#rss .panel:is(.modern *) {
  border-radius: 0.3rem;
}
#rss .panel:is(.classic *) {
  border-color: #393737;
}
#rss .panel button {
  width: fit-content;
}
#rss .panel p input {
  max-width: 50px;
  text-align: center;
}
#rss .autoinput {
  position: relative;
}
#rss .autoinput input {
  width: 100%;
  font-family: var(--sans-serif);
  font-size: var(--sans-serif-size);
}
#rss .autoinput input:is([type=text], [type=search], [type=password], [type=date], [type=time], textarea) {
  padding: 0 0.5rem;
}
#rss .autoinput input:is(.dark *) {
  color: #cccccc;
}
#rss .autoinput input:is(.light *) {
  color: #333333;
}
#rss .autoinput input:is(.classic *) {
  border-width: 0.0625rem;
  border-style: solid;
}
#rss .autoinput input:is(.classic *)[type="text"],
#rss .autoinput input:is(.classic *)[type="date"],
#rss .autoinput input:is(.classic *)[type="time"],
#rss .autoinput input:is(.classic *)[type="search"],
#rss .autoinput input:is(.classic *)[type="password"] {
  height: 2.25rem;
}
#rss .autoinput input:is(.classic *):is(.dark *) {
  border-bottom-color: #413e3e;
  border-right-color: #413e3e;
  border-top-color: #0c0c0c;
  border-left-color: #0c0c0c;
  background-color: #1e1d1d;
}
#rss .autoinput input:is(.modern *) {
  border-radius: 0.25rem;
  border-width: 2px;
  border-style: solid;
}
#rss .autoinput input:is(.modern *)[type="text"],
#rss .autoinput input:is(.modern *)[type="date"],
#rss .autoinput input:is(.modern *)[type="time"],
#rss .autoinput input:is(.modern *)[type="search"],
#rss .autoinput input:is(.modern *)[type="password"] {
  height: 2.25rem;
}
#rss .autoinput input:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#rss .autoinput input:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#rss .autoinput input[type=file] {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  position: absolute;
  z-index: 7;
  cursor: pointer;
}
#rss .autoinput input[type=file]::-webkit-file-upload-button {
  cursor: pointer;
}
#rss .autoinput input[type=radio] {
  appearance: none;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#rss .autoinput input[type=radio]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #802600;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#rss .autoinput input[type=radio]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff9466;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
}
#rss .autoinput input[type=radio]:is(.classic *):is(.dark *):checked {
  background-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  border-top-color: #330f00;
  border-left-color: #330f00;
  border-bottom-color: #802600;
  border-right-color: #802600;
  border-width: 1.4px;
}
#rss .autoinput input[type=checkbox] {
  appearance: none;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}
#rss .autoinput input[type=checkbox]:is(.modern *) {
  border-radius: 0.25rem;
  border-style: solid;
  border-width: 2px;
}
#rss .autoinput input[type=checkbox]:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border-color: #383433;
}
#rss .autoinput input[type=checkbox]:is(.modern *):is(.dark *):checked {
  background-color: #ff4e00;
  border-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
}
#rss .autoinput input[type=checkbox]:is(.modern *):is(.light *) {
  background-color: #fffbfb;
  border-color: #c9bfbc;
}
#rss .autoinput input[type=checkbox]:is(.modern *):is(.light *):checked {
  background-color: #ff4e00;
  border-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
}
#rss .autoinput input[type=checkbox]:is(.classic *):checked {
  background-color: #ff4e00;
  box-shadow: 0 0 3rem 1rem #ff4d0021;
  background-image: var(--check-icon);
  border-bottom: 2px solid #bd3900;
  border-right: 2px solid #bd3900;
  border-top: 2px solid #762300;
  border-left: 2px solid #762300;
}
#rss .autoinput .options {
  display: none;
  margin-top: 0.125rem;
  overflow-y: auto;
  max-height: 16rem;
  position: absolute;
  width: 100%;
}
#rss .autoinput .options:is(.autoinput.open *) {
  display: grid;
  z-index: 3;
}
#rss .autoinput .options:is(.classic *) {
  background-color: #1e1d1d;
  border: 2px solid #5b5756;
}
#rss .autoinput .options:is(.modern *) {
  border-radius: 0.25rem;
}
#rss .autoinput .options:is(.modern *):is(.dark *) {
  background-color: #1e1d1d;
  border: 2px solid #383433;
}
#rss .autoinput .options:is(.modern *):is(.light *) {
  background-color: #e9e0dd;
  border: 2px solid #fffbfb;
}
#rss .autoinput .options .option {
  display: block;
  padding: 0.375rem 0.4375rem;
  cursor: pointer;
}
#rss .autoinput .options .option:hover:is(.dark *) {
  background-color: #101010;
}
#rss .autoinput .options .option:hover:is(.light *) {
  background-color: #fffbfb;
}
#rss form {
  display: grid;
  gap: 1rem;
}
@media (min-width: 1024px) {
  #rss form {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "links mode" "links freq";
  }
}
@media (min-width: 1024px) {
  #rss form .links {
    grid-area: links;
  }
}
#rss form .links .controls {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  #rss form .links .controls {
    grid-template-columns: 1fr auto;
  }
}
@media (min-width: 1024px) {
  #rss form .mode {
    grid-area: mode;
  }
}
#rss form .mode label {
  display: grid;
  grid-auto-flow: column;
  column-gap: 0.5rem;
  max-width: max-content;
}
#rss form .mode label span {
  cursor: pointer;
}
#rss form .mode label span:is(.dark *) {
  color: #d09074;
}
#rss form .mode label span:is(.light *) {
  color: #764646;
}
@media (min-width: 1024px) {
  #rss form .freq {
    grid-area: freq;
  }
}
