:root { color-scheme: dark; --page-bg: #1b1b1b; --text: #dededb; --muted: #a09f98; --border: #3b3b38; --control-bg: #262626; --control-border: #54544f; --hover-bg: #30302d; --focus: #ffb47d; --tag: #b4c8d1; --retry: #ff9c5c; --skeleton-base: #30302e; --skeleton-highlight: #3d3d39; font-family: Verdana, Geneva, sans-serif; color: var(--text); background: var(--page-bg); font-size: 13px; }
      * { box-sizing: border-box; }
      body { margin: 0; min-width: 320px; }
      button, input { font: inherit; }
      a { color: inherit; }
      .page { max-width: 1040px; margin: 0 auto; padding: 8px; }
      .toolbar__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
      .site-header { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 5px 8px; background: #ff6600; }
      .site-header__mark { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #fff; color: #fff; font-size: 22px; font-weight: 700; line-height: 1; text-decoration: none; }
      .site-header__brand { color: #222; font-size: 16px; font-weight: 700; text-decoration: none; }
      .site-header__nav { display: flex; align-items: center; gap: 12px; }
      .site-header__link { color: #222; text-decoration: none; }
      .site-header__link:hover, .site-header__link:focus-visible { text-decoration: underline; }
      .site-header__about { margin-left: auto; }
      .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 8px 12px; border-bottom: 1px solid var(--border); }
      .toolbar__heading { margin: 0; font-size: 17px; font-weight: 400; }
      .toolbar__actions { display: flex; align-items: center; gap: 10px; }
      .toolbar__search { width: 190px; height: 30px; padding: 0 9px; border: 1px solid var(--control-border); border-radius: 2px; color: var(--text); background: var(--control-bg); }
      .toolbar__search:focus-visible, .toolbar__refresh:focus-visible, .feed-nav__button:focus-visible, .feed-row__comments:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
      .toolbar__refresh { height: 30px; padding: 0 10px; border: 1px solid var(--control-border); border-radius: 2px; color: var(--text); background: transparent; cursor: pointer; }
      .toolbar__refresh:hover { background: var(--hover-bg); }
      .feed-nav { display: flex; gap: 0; padding: 11px 8px 9px; border-bottom: 1px solid var(--border); }
      .feed-nav__button { padding: 0 10px; border: 0; border-right: 1px solid var(--control-border); color: var(--muted); background: none; cursor: pointer; }
      .feed-nav__button:first-child { padding-left: 0; }
      .feed-nav__button:last-child { border-right: 0; }
      .feed-nav__button[aria-pressed="true"] { color: var(--text); font-weight: 700; }
      .feed { margin: 0; padding: 7px 0 10px; list-style: none; }
      .feed-row { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 3px; padding: 8px 6px 7px 0; }
      .feed-row__rank { padding-top: 1px; color: var(--muted); text-align: right; }
      .feed-row__content { min-width: 0; }
      .feed-row__title-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; }
      .feed-row__title { color: var(--text); font-size: 14px; line-height: 1.45; text-decoration: none; }
      .feed-row__title:hover, .feed-row__title:focus-visible { text-decoration: underline; }
      .feed-row__domain { color: var(--muted); font-size: 11px; }
      .feed-row__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
      .feed-row__tag { color: var(--tag); }
      .feed-row__comments { color: var(--muted); text-decoration: none; }
      .feed-row__comments:hover { text-decoration: underline; }
      .feed-status { min-height: 22px; padding: 4px 8px 0 43px; color: var(--muted); font-size: 11px; }
      .feed-message { margin: 22px 8px 34px 43px; color: var(--muted); line-height: 1.6; }
      .feed-message__title { margin: 0 0 5px; color: var(--text); font-size: 14px; }
      .feed-message__retry { margin-left: 5px; padding: 0; border: 0; color: var(--retry); background: none; text-decoration: underline; cursor: pointer; }
      .feed-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px 8px 12px; }
      .feed-pagination[hidden] { display: none; }
      .feed-pagination__button { min-width: 32px; height: 30px; padding: 0 8px; border: 1px solid var(--control-border); border-radius: 2px; color: var(--muted); background: transparent; cursor: pointer; }
      .feed-pagination__button:hover:not(:disabled) { background: var(--hover-bg); color: var(--text); }
      .feed-pagination__button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
      .feed-pagination__button:disabled { cursor: default; opacity: .55; }
      .feed-pagination__button--current { border-color: var(--focus); color: var(--text); background: var(--hover-bg); font-weight: 700; }
      .feed-skeleton { padding: 9px 0; list-style: none; }
      .feed-skeleton__row { display: grid; grid-template-columns: 35px 1fr; gap: 8px; padding: 8px 6px 11px 0; }
      .feed-skeleton__rank, .feed-skeleton__title, .feed-skeleton__meta { border-radius: 2px; background: linear-gradient(100deg, var(--skeleton-base) 25%, var(--skeleton-highlight) 38%, var(--skeleton-base) 62%); background-size: 300% 100%; animation: feed-shimmer 1.4s ease infinite; }
      .feed-skeleton__rank { width: 22px; height: 13px; justify-self: end; }
      .feed-skeleton__title { width: min(68%, 500px); height: 15px; }
      .feed-skeleton__meta { width: min(40%, 280px); height: 11px; margin-top: 7px; }
      @keyframes feed-shimmer { to { background-position: -150% 0; } }
      .site-footer { padding: 15px 8px 8px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }
      .site-footer a { color: var(--text); }
      @media (max-width: 560px) {
        .page { padding: 5px; }
        .site-header { gap: 8px; padding-inline: 6px; }
        .site-header__nav { gap: 8px; }
        .toolbar { align-items: flex-start; flex-direction: column; gap: 9px; padding: 14px 5px 10px; }
        .toolbar__actions { width: 100%; }
        .toolbar__search { flex: 1; min-width: 0; }
        .feed-nav { padding-inline: 5px; }
        .feed-nav__button { padding-inline: 8px; }
        .feed-row { grid-template-columns: 27px minmax(0, 1fr); padding-right: 2px; }
        .feed-row__title { font-size: 13px; }
        .feed-status { padding-left: 33px; }
        .feed-message { margin-left: 33px; }
        .feed-skeleton__row { grid-template-columns: 27px 1fr; }
      }
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
      }
