.sra-widget {
  box-sizing: border-box; width: 100%; margin: 26px 0 24px; padding: 18px;
  color: #222; background: #f7f7f7; border: 1px solid #e5e5e5; border-radius: 12px; clear: both;
}
.sra-widget * { box-sizing: border-box; }
.sra-heading { margin: 0; text-align: center; font-size: 1.18rem; line-height: 1.5; font-weight: 800; color: #171717; }
.sra-subheading { margin: 4px 0 14px; text-align: center; color: #666; font-size: .86rem; }
.sra-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.sra-button {
  display: flex; min-width: 0; min-height: 66px; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 8px; border: 1px solid #d8d8d8; border-radius: 10px; background: #fff; color: #222;
  font: inherit; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.sra-button:hover { border-color: #a78b4c; background: #fffdf8; }
.sra-button:focus-visible { outline: 3px solid rgba(167,139,76,.35); outline-offset: 2px; }
.sra-button.is-selected { border: 2px solid #a78b4c; background: #f5efdf; color: #171717; }
.sra-button:disabled { cursor: wait; opacity: .75; }
.sra-button-main { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; }
.sra-emoji { font-size: 1.35rem; line-height: 1.1; }
.sra-label { font-size: .88rem; font-weight: 700; overflow-wrap: anywhere; }
.sra-count { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #f0f0f0; color: #555; font-size: .72rem; line-height: 1.35; font-weight: 700; font-variant-numeric: tabular-nums; }
.sra-button.is-selected .sra-count { background: #e8ddbf; color: #493b1c; }
.sra-count[hidden], .sra-total-inline[hidden] { display: none !important; }
.sra-message { min-height: 1.15em; margin: 7px 0 0; text-align: center; color: #52663d; font-size: .8rem; font-weight: 700; }
.sra-total-inline { margin-top: 5px; text-align: right; color: #777; font-size: .72rem; }
.sra-total-inline strong { color: #333; }
.sra-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #dedede; }
.sra-nav-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 15px; border-radius: 7px; text-decoration: none !important; font-size: .84rem; font-weight: 700; line-height: 1.4; }
.sra-home-button { background: #171717; color: #fff !important; border: 1px solid #171717; }
.sra-home-button:hover { background: #333; color: #fff !important; }
.sra-latest-button { background: #fff; color: #222 !important; border: 1px solid #cfcfcf; }
.sra-latest-button:hover { border-color: #a78b4c; color: #222 !important; }
.sra-noscript { margin: 12px 0 0; color: #777; font-size: .8rem; }
@media (max-width: 600px) {
  .sra-widget { padding: 12px 9px; margin: 18px 0; }
  .sra-heading { font-size: 1rem; }
  .sra-subheading { margin-bottom: 10px; font-size: .78rem; }
  .sra-buttons { gap: 7px; }
  .sra-button { min-height: 58px; padding: 7px 4px; gap: 4px; }
  .sra-button-main { gap: 4px; flex-direction: column; }
  .sra-emoji { font-size: 1.2rem; }
  .sra-label { font-size: .76rem; line-height: 1.25; }
  .sra-count { font-size: .68rem; padding: 1px 7px; }
  .sra-message { margin-top: 5px; font-size: .74rem; }
  .sra-total-inline { font-size: .68rem; }
  .sra-navigation { margin-top: 9px; padding-top: 9px; gap: 6px; }
  .sra-nav-button { width: 100%; min-height: 38px; padding: 8px 10px; font-size: .8rem; }
}
