.feed-page { background: var(--papel); }
.feed-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px max(24px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid var(--linea); background: #e4dcef55; }
.feed-header img { display: block; width: 160px; height: 40px; object-fit: contain; }
.feed-back, .feed-detail a { color: var(--senal); font-size: 12px; text-decoration: none; }
.feed-back:hover, .feed-detail a:hover { text-decoration: underline; text-underline-offset: 3px; }
.feed-main { max-width: 1208px; margin: 0 auto; padding: 52px 24px 80px; }
.feed-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.feed-eyebrow, .feed-update-label { margin: 0 0 12px; color: var(--senal); font: 400 11px/1.4 var(--mono); letter-spacing: .05em; }
.feed-intro h1 { white-space: normal; font-size: clamp(30px, 4vw, 52px); }
.feed-intro h1 span { color: var(--senal); }
.feed-description { max-width: 660px; margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.feed-controls { flex: 0 0 215px; display: grid; gap: 7px; padding: 16px; border: 1px solid var(--linea); border-radius: 4px; background: #fffdfa; }
.feed-controls .feed-update-label { margin: 0; color: var(--muted); font-size: 10px; }
.feed-controls time { font: 400 19px/1.3 var(--mono); }
.feed-refresh { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; margin-top: 4px; border: 0; border-radius: 3px; background: var(--via); color: var(--senal); font: 400 12px/1.4 var(--mono); cursor: pointer; }
.feed-refresh:hover { background: #d9cde9; }
.feed-refresh:disabled { opacity: .65; cursor: wait; }
.feed-refresh span { font-size: 19px; line-height: 1; }
.feed-notice { margin: 0 0 14px; padding: 12px 15px; background: var(--via); border-radius: 3px; font-size: 13px; }
.feed-list { border: 1px solid var(--linea); border-radius: 4px; background: #fffdfa; }
.feed-list-head, .feed-summary { display: grid; grid-template-columns: minmax(175px, 2fr) minmax(120px, 1.35fr) minmax(85px, .75fr) minmax(135px, 1.15fr) minmax(100px, .8fr) 16px; align-items: center; column-gap: 16px; }
.feed-list-head { padding: 14px 20px; border-bottom: 1px solid var(--linea); background: #f4f1f5; color: var(--muted); font: 400 10px/1.4 var(--mono); letter-spacing: .035em; }
.feed-row + .feed-row { border-top: 1px solid var(--linea); }
.feed-summary { min-height: 74px; padding: 12px 20px; cursor: pointer; list-style: none; }
.feed-summary::-webkit-details-marker { display: none; }
.feed-summary:hover { background: #f7f5f8; }
.feed-summary:focus-visible { outline: 2px solid var(--senal); outline-offset: -3px; }
.feed-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.feed-logo { width: 36px; height: 36px; flex: none; object-fit: contain; }
.feed-names { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.feed-names strong { font-size: 14px; font-weight: 500; }
.feed-names small { color: var(--muted); font: 400 11px/1.3 var(--mono); }
.feed-cell { min-width: 0; font-size: 13px; }
.feed-positions { font: 400 19px/1.3 var(--mono); }
.feed-latest, .feed-duration { font: 400 12px/1.4 var(--mono); }
.feed-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.feed-status i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #b27729; }
.feed-status--ok i { background: #357c68; }
.feed-status--empty i { background: #6b4e8e; }
.feed-status--stale i { background: #c78324; }
.feed-status--error i, .feed-status--invalid_response i, .feed-status--authentication_error i { background: #bb4b4b; }
.feed-chevron { color: var(--senal); font-size: 20px; transform-origin: center; transition: transform .2s ease; }
.feed-row[open] .feed-chevron { transform: rotate(180deg); }
.feed-detail { padding: 6px 20px 22px 68px; border-top: 1px solid #eeebf0; }
.feed-detail p { margin: 10px 0 18px; font-size: 13px; line-height: 1.5; }
.feed-detail-facts { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-bottom: 18px; }
.feed-detail-facts > span { display: grid; gap: 5px; }
.feed-detail-facts small { color: var(--muted); font: 400 10px/1.4 var(--mono); text-transform: uppercase; }
.feed-detail-facts strong { font: 400 12px/1.4 var(--mono); }
.feed-detail h2 { margin: 22px 0 11px; font: 500 13px/1.4 Sora, sans-serif; }
.feed-areas { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 19px; }
.feed-areas > span { display: inline-flex; gap: 11px; align-items: center; padding: 6px 9px; border: 1px solid var(--linea); border-radius: 3px; font-size: 11px; }
.feed-areas strong { font: 400 12px/1.2 var(--mono); }
.feed-footnote { max-width: 850px; margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.feed-mobile-label { display: none; }
@media (max-width: 760px) {
  .feed-header { padding: 10px 16px; }
  .feed-header img { width: 140px; height: 35px; }
  .feed-main { padding: 30px 16px 72px; }
  .feed-intro { display: block; margin-bottom: 23px; }
  .feed-intro h1 { font-size: clamp(27px, 7vw, 38px); }
  .feed-description { font-size: 13px; }
  .feed-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 20px; padding: 11px; }
  .feed-controls .feed-update-label { flex: 0 0 100%; }
  .feed-controls time { font-size: 15px; }
  .feed-refresh { min-height: 34px; margin: 0; padding: 0 10px; font-size: 10px; }
  .feed-list { border: 0; background: transparent; }
  .feed-list-head { display: none; }
  .feed-row { margin-bottom: 9px; border: 1px solid var(--linea) !important; border-radius: 4px; background: #fffdfa; }
  .feed-summary { grid-template-columns: 1fr 1fr; gap: 13px 8px; padding: 14px; }
  .feed-identity { grid-column: 1; }
  .feed-status-cell { grid-column: 2; justify-self: end; }
  .feed-positions, .feed-latest, .feed-duration { display: grid; gap: 4px; }
  .feed-mobile-label { display: block; color: var(--muted); font: 400 9px/1.3 var(--mono); text-transform: uppercase; }
  .feed-status-cell .feed-mobile-label { display: none; }
  .feed-chevron { grid-column: 2; grid-row: 3; justify-self: end; }
  .feed-detail { padding: 8px 14px 18px; }
}
@media (max-width: 390px) {
  .feed-back { font-size: 10px; }
  .feed-header img { width: 118px; }
  .feed-status { font-size: 10px; }
  .feed-names strong { font-size: 12px; }
  .feed-logo { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .feed-chevron { transition: none; } }
