/* samtyckesruta för besöksstatistik (stat.js) */
.stat-ruta { position: fixed; z-index: 60; left: 24px; bottom: 24px; max-width: 400px; padding: 18px 20px; color: #f1ece0;
  font: 15px/1.5 system-ui, sans-serif; background: #010b06; border: 1px solid rgba(214,177,90,.55); border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.stat-ruta[hidden] { display: none; }
.stat-ruta p { margin: 0 0 14px; }
.stat-ruta b { color: #fff; font-weight: 600; }
.stat-ruta a { color: #e3c277; text-decoration: underline; }
.stat-knappar { display: flex; gap: 10px; }
.stat-knappar button, .stat-andra { flex: 1; font: 600 15px/1 inherit; font-family: inherit; color: #f1ece0; background: transparent; border: 1px solid rgba(214,177,90,.7);
  padding: 12px; cursor: pointer; border-radius: 4px; min-height: 44px; }
.stat-knappar button:hover, .stat-andra:hover { background: rgba(214,177,90,.15); }
.stat-knappar button:focus-visible, .stat-andra:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.stat-andra { flex: none; margin-top: 4px; color: inherit; }
@media (max-width: 759px) { .stat-ruta { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* Bred skärm: smalt fält längs nederkanten så att forumets flikrad och rubriker aldrig döljs (helhet-teknik 13/11) */
@media (min-width: 760px) {
  .stat-ruta { left: 0; right: 0; bottom: 0; max-width: none; border-width: 1px 0 0; border-radius: 0; padding: 12px 24px; display: flex; align-items: center; gap: 24px; justify-content: center; }
  .stat-ruta p { margin: 0; max-width: 820px; }
  .stat-knappar { flex: none; }
  .stat-knappar button { flex: none; padding: 10px 18px; min-height: 44px; }
}
