.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  flex-wrap: nowrap;
  white-space: nowrap;
  position: sticky;
  bottom: 0;
  background: var(--bg, white);
  padding: 0.5em;
  border-top: 1px solid var(--gray-3, #e0e4e5);
  z-index: 5;
}

.pagination button {
  font-size: 1.25em;
  padding: 0.3em 0.7em;
}

.pagination input {
  display: inline-block;
  margin: 0;
}

input[placeholder]::placeholder {
  color: var(--gray-10);
  opacity: 1;
  font-style: italic;
}

.pagination > span {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

.help-hint {
  position: fixed;
  top: 0.5em;
  right: 0.75em;
  z-index: 10;
  opacity: 0.7;
}

kbd {
  display: inline-block;
  min-width: 1.5em;
  padding: 0.15em 0.5em;
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  text-align: center;
  background: var(--gray-1, #f2f4f6);
  border: 1px solid var(--gray-4, #d1d6d8);
  border-bottom-width: 2px;
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--gray-3, #e0e4e5);
  color: var(--gray-11, #252521);
}

section.box:focus {
  outline: none;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.3);
}

.sidebar-layout {
  display: flex;
}

.sidebar-layout > header {
  width: 320px;
  min-width: 200px;
  max-width: 600px;
  resize: horizontal;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.sidebar-layout > header > .sidebar-top {
  flex-shrink: 0;
}

.sidebar-layout > header > nav {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.sidebar-layout > header > .sidebar-footer {
  flex-shrink: 0;
}

.sidebar-layout > div {
  flex: 1;
  min-width: 0;
}

.channel-item {
  font-size: 0.80em;
  margin: 0;
  padding: 0.1em 0;
  line-height: 1.2;
}

.channel-item.dimmed {
  opacity: 0.5;
}

.channel-pagination {
  font-size: 0.80em;
  text-align: center;
}

.channel-pagination a {
  cursor: pointer;
  margin: 0 0.2em;
}

.channel-item.selected {
  font-weight: bold;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.5),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.channel-item .mark-read {
  visibility: hidden;
  margin-left: 0.5em;
  cursor: pointer;
}

.channel-item:hover .mark-read {
  visibility: visible;
}

.import-opml {
  cursor: pointer;
}

.channel-item .unsubscribe {
  visibility: hidden;
  margin-left: 0.4em;
  cursor: pointer;
  color: var(--bad, #c0392b);
}

.channel-item:hover .unsubscribe {
  visibility: visible;
}
