/* Премия за репост ролика: карточка в «Уведомлениях» и блоки профиля (этап C3, 16.11.2026).
   1:1 с прототипом proto.html #panel (классы pn-reel/pn-timer/pn-state/pn-hist/pn-tag), токены панели — style.css :root.
   Основная кнопка — --primary-dark #bf360c (контраст белого 5.6:1), все кнопки ≥44 px, шрифт поля 16 px (iOS не зумит). */
.srp-ic { width: 18px; height: 18px; flex-shrink: 0; }
.srp-reel { border: 2px solid var(--primary-dark, #bf360c); background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(191,54,12,.14); scroll-margin-top: 16px; }
.srp-reel.srp-done { border-color: #2e7d32; box-shadow: 0 4px 16px rgba(46,125,50,.12); }
.srp-reel.srp-late, .srp-reel.srp-rejected, .srp-reel.srp-review { border-color: #e4e4e7; box-shadow: none; }
.srp-top { display: flex; gap: 12px; align-items: flex-start; }
.srp-th { width: 54px; height: 72px; border-radius: 8px; background: #0F0F12; color: #F5C518; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; }
.srp-th .srp-ic { width: 20px; height: 20px; }
.srp-reel .srp-h { margin: 0 0 4px; font-size: 18px; line-height: 1.25; color: var(--text, #212121); }
.srp-lead { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text, #212121); }
.srp-plus { display: inline-block; background: #e8f5e9; color: #1b5e20; font-weight: 800; border-radius: 6px; padding: 0 6px; white-space: nowrap; }
.srp-timer { margin: 14px 0 12px; }
.srp-timer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.srp-timer-l { font-size: 14px; color: #616161; }
.srp-timer-v { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--primary-dark, #bf360c); letter-spacing: -0.01em; }
.srp-bar { height: 8px; border-radius: 999px; background: #ffe0b2; overflow: hidden; margin-top: 6px; }
.srp-bar i { display: block; height: 100%; background: var(--primary-dark, #bf360c); border-radius: 999px; transition: width 1s linear; }
.srp-timer.srp-out .srp-timer-v { color: #7a2e00; }
.srp-steps { margin: 0 0 14px; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--text, #212121); }
.srp-steps b { color: var(--primary-dark, #bf360c); }
.srp-btns { display: grid; gap: 8px; }
.srp-btn { display: flex; width: 100%; box-sizing: border-box; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 20px; border: none; border-radius: 8px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  text-decoration: none; text-align: center; -webkit-tap-highlight-color: transparent; transition: transform .1s ease, box-shadow .15s ease; }
.srp-btn:active { transform: scale(.98); }
.srp-btn:focus-visible { outline: 3px solid rgba(191,54,12,.45); outline-offset: 2px; }
.srp-btn-primary { background: var(--primary-dark, #bf360c); color: #fff; box-shadow: 0 3px 12px rgba(230,81,0,.3); }
.srp-btn-outline { background: #fff; border: 2px solid var(--primary-dark, #bf360c); color: var(--primary-dark, #bf360c); }
.srp-btn-ghost { background: transparent; color: var(--primary-dark, #bf360c); min-height: 44px; font-size: 15px; font-weight: 600; }
.srp-btn[disabled], .srp-btn[aria-busy="true"] { opacity: .55; cursor: default; box-shadow: none; }
.srp-note { font-size: 13px; color: #616161; line-height: 1.45; margin: 10px 0 0; }
.srp-state { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 14px; font-size: 15px; line-height: 1.45; margin: 14px 0 12px; }
.srp-timer + .srp-state { margin-top: 0; }
.srp-state .srp-ic { width: 24px; height: 24px; margin-top: 1px; }
.srp-state b { display: block; font-size: 17px; }
.srp-st-wait { background: #fff3e0; color: #7a2e00; border: 1px solid #ffe0b2; }
.srp-st-done { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.srp-st-review { background: #f4f4f5; color: #3a3a42; border: 1px solid #e4e4e7; }
.srp-st-late { background: #fff3e0; color: #7a2e00; border: 1px solid #ffe0b2; }
.srp-st-bad { background: #ffebee; color: #8e1b1b; border: 1px solid #ffcdd2; }
.srp-reel > .srp-state:last-of-type { margin-bottom: 12px; }
.srp-spin { animation: srpspin 1s linear infinite; }
@keyframes srpspin { to { transform: rotate(360deg); } }
.srp-err { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: #ffebee; color: #8e1b1b; font-size: 14px; line-height: 1.4; }
.srp-err[hidden], .srp-msg[hidden] { display: none; }

/* профиль */
.srp-card { scroll-margin-top: 16px; }
.srp-title { font-weight: 600; font-size: 15px; margin-bottom: 10px; color: var(--primary-dark, #bf360c); }
.srp-alert { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: 8px; font-size: 14px; line-height: 1.45;
  margin-bottom: 12px; background: #fff3e0; color: #7a2e00; border: 1px solid #ffe0b2; }
.srp-alert .srp-ic { width: 16px; height: 16px; margin-top: 2px; }
.srp-lbl { display: block; font-size: 14px; color: #616161; margin: 0 0 6px; }
.srp-inp { display: flex; align-items: center; border: 1.5px solid var(--border, #ffccbc); border-radius: 8px; background: #fff; min-height: 48px; margin-bottom: 8px; }
.srp-inp span { padding: 0 4px 0 12px; font-size: 16px; color: #616161; }
.srp-inp input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 12px 12px 12px 0; background: transparent; color: var(--text, #212121); }
.srp-inp:focus-within { border-color: var(--primary-dark, #bf360c); box-shadow: 0 0 0 3px rgba(230,81,0,.12); }
.srp-inp.srp-invalid { border-color: #c62828; }
.srp-msg { margin: 0 0 8px; font-size: 14px; line-height: 1.4; padding: 8px 12px; border-radius: 8px; }
.srp-msg.ok { background: #e8f5e9; color: #1b5e20; }
.srp-msg.bad { background: #ffebee; color: #8e1b1b; }
.srp-help { font-size: 13px; color: #616161; margin: 8px 0 0; line-height: 1.45; }
.srp-sum { margin: 0 0 8px; font-size: 15px; color: var(--text, #212121); }
.srp-sum-sub { color: #616161; font-size: 14px; }
.srp-hist { list-style: none; margin: 0; padding: 0; }
.srp-hist li { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid #fbe9e7; font-size: 14px; }
.srp-hist li:last-child { border-bottom: 0; }
.srp-hist small { display: block; color: #616161; font-size: 13px; }
.srp-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.srp-tag .srp-ic { width: 14px; height: 14px; }
.srp-tag.ok { background: #e8f5e9; color: #1b5e20; } .srp-tag.late { background: #fff3e0; color: #7a2e00; }
.srp-tag.no { background: #f4f4f5; color: #3a3a42; } .srp-tag.rv { background: #e0f2f1; color: #00594f; }
.srp-more { border-top: 1px solid #fbe9e7; }
.srp-more > summary { list-style: none; margin-top: 4px; }
.srp-more > summary::-webkit-details-marker { display: none; }
.srp-more[open] > summary { display: none; }
@media (prefers-reduced-motion: reduce) { .srp-spin { animation: none; } .srp-bar i, .srp-btn { transition: none; } }
