/*
 * Punishments section. Everything here sits on top of /css/main.css and reuses
 * its tokens (--primary, --card-bg, --border, ...) so the section is visually
 * part of the main site rather than a bolted-on subsite.
 */

:root {
  --tone-ban: #ff5f5f;
  --tone-mute: #ffb347;
  --tone-warning: #79a9ff;
  --tone-kick: #c39bff;
  --panel-line: var(--line);
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- section nav */

/*
 * A tab strip, deliberately not boxed pills: the site header already ends in a
 * .sub-nav of bordered pills, and matching it made three near-identical bars
 * stack with "Bans" appearing in two of them.
 */
.bans-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 2px solid var(--line);
  /* The fixed site header ends right above this; body padding alone leaves the
     unboxed strip sitting flush against it. */
  padding: 6px 2px 0;
}

.bans-nav-link {
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 14px;
  transition: color 140ms ease, border-color 140ms ease;
}

.bans-nav-link:hover {
  color: var(--text);
  border-bottom-color: #000;
}

.bans-nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---------------------------------------------------------------- tone helpers */

.tone-ban { --tone: var(--tone-ban); }
.tone-mute { --tone: var(--tone-mute); }
.tone-warning { --tone: var(--tone-warning); }
.tone-kick { --tone: var(--tone-kick); }

.tone-ban-text { color: var(--tone-ban); }
.tone-mute-text { color: var(--tone-mute); }
.tone-warning-text { color: var(--tone-warning); }
.tone-kick-text { color: var(--tone-kick); }

.pun-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 2px solid var(--line);
  background: var(--panel-2);
  color: #d6ddd8;
  white-space: nowrap;
}

.pun-badge.tone-active {
  background: #2c1b1b;
  color: #ffacac;
  border-color: #6a3232;
}

.pun-badge.tone-removed {
  background: #1d3f22;
  color: var(--green);
  border-color: #000;
}

.player-head {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  image-rendering: pixelated;
  border: 1px solid #000;
  background: var(--inset);
}

/* ---------------------------------------------------------------- counters */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-tile {
  display: grid;
  gap: 4px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--tone, var(--primary));
  transition: background 140ms ease, transform 140ms ease;
}

a.stat-tile:hover {
  background: var(--card-hover);
  transform: translateY(-1px);
}

.stat-tile-icon {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 1.2rem;
  color: var(--tone, var(--primary));
  opacity: 0.35;
}

.stat-tile-value {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  line-height: 1.1;
  color: var(--text);
}

.stat-tile-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tone, var(--primary));
}

.stat-tile-note {
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- search */

.search-panel {
  padding: 14px;
}

.search-panel h2 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.search-help {
  color: var(--text-gray);
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.search-help code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--primary-light);
}

.search-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid var(--border);
  background: var(--inset);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 140ms ease;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input:focus {
  border-color: var(--primary-dark);
}

.search-submit {
  flex: 0 0 auto;
  min-width: 140px;
  border-color: #000;
  background: linear-gradient(180deg, #d7f5bd 0%, #9be35a 100%);
  color: #122316;
  cursor: pointer;
}

.search-submit:disabled {
  opacity: 0.55;
  cursor: progress;
}

.search-results {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.search-results[hidden] {
  display: none;
}

.search-status {
  color: var(--text-gray);
  font-size: 0.84rem;
}

.search-status.error {
  color: #ffacac;
}

/* ---------------------------------------------------------------- recent panels */

.recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recent-panel {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.recent-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.recent-panel-head h2 {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recent-panel-more {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

.recent-panel-more:hover {
  color: var(--primary-light);
}

.recent-list {
  list-style: none;
  display: grid;
}

.recent-row,
.search-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--panel-line);
  transition: background 140ms ease;
}

.recent-list li:last-child .recent-row {
  border-bottom: none;
}

.recent-row:hover,
.search-row:hover {
  background: var(--card-hover);
}

.recent-row-main,
.search-row-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.recent-row-name,
.search-row-name {
  font-size: 0.86rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-row-reason,
.search-row-reason {
  font-size: 0.78rem;
  color: var(--text-gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-row-meta,
.search-row-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.recent-row-date,
.search-row-date {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.search-row {
  border: 2px solid var(--line);
  background: var(--inset);
  padding: 10px;
}

/* ---------------------------------------------------------------- punishment table */

.pun-table {
  --pun-columns: minmax(0, 1.5fr) 68px 118px minmax(0, 1.7fr) 128px 148px 108px 34px;
  padding: 0;
  overflow: hidden;
}

.pun-head {
  display: grid;
  grid-template-columns: var(--pun-columns);
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 2px solid var(--line);
  background: var(--inset);
}

.pun-head-cell {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

a.pun-head-cell:hover {
  color: var(--text);
}

.pun-head-cell.sorted {
  color: var(--tone, var(--primary));
}

.pun-row {
  display: grid;
  grid-template-columns: var(--pun-columns);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--panel-line);
  transition: background 140ms ease;
}

.pun-row:last-child {
  border-bottom: none;
}

.pun-row:hover {
  background: var(--card-hover);
}

.pun-cell {
  min-width: 0;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.pun-cell-player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pun-player-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pun-player-name {
  color: var(--text);
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pun-player-uuid {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #6d7f77;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pun-cell-id {
  color: var(--muted);
}

.pun-chip {
  display: inline-block;
  border: 2px solid var(--line);
  background: var(--panel-2);
  color: var(--text-gray);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 7px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pun-cell-reason {
  display: grid;
  gap: 2px;
}

.pun-reason {
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pun-subtext {
  font-size: 0.7rem;
  color: var(--muted);
}

.pun-cell-staff,
.pun-cell-date {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pun-cell-view {
  color: var(--muted);
  text-align: right;
}

.pun-row:hover .pun-cell-view {
  color: var(--primary);
}

/* ---------------------------------------------------------------- pagination */

.pun-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}

.page-btn {
  min-height: 40px;
  font-size: 0.72rem;
  padding: 0 16px;
}

.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.page-number {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  background: var(--panel-2);
  color: var(--text-gray);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0 8px;
}

.page-number:hover {
  color: var(--text);
  background: var(--card-hover);
  border-color: #000;
}

.page-number.active {
  color: #10220f;
  border-color: var(--primary-dark);
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
}

.page-gap {
  color: var(--muted);
  align-self: center;
  padding: 0 2px;
}

/* ---------------------------------------------------------------- detail */

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crumbs a:hover {
  color: var(--primary);
}

.crumbs-current {
  color: var(--text);
}

.detail-hero {
  padding: 16px;
  display: grid;
  gap: 14px;
  border-top: 3px solid var(--tone, var(--primary));
}

.detail-player {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.detail-body {
  width: 100px;
  height: auto;
  image-rendering: pixelated;
  border: 1px solid #000;
  background: var(--inset);
  padding: 6px;
}

.detail-player-text {
  display: grid;
  gap: 6px;
  justify-items: start;
  min-width: 0;
}

.detail-player-text h1 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.1;
}

.detail-name {
  color: var(--tone, var(--primary));
  font-size: 1.05rem;
  font-weight: 800;
}

.detail-uuid {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #6d7f77;
  word-break: break-all;
}

.detail-reason {
  color: var(--text-gray);
  font-size: 0.92rem;
  max-width: 60ch;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-actions .chunky-btn {
  min-height: 42px;
  font-size: 0.74rem;
}

.detail-progress {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.detail-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.detail-progress-note {
  font-size: 0.76rem;
  color: var(--muted);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fact-card {
  padding: 12px;
  display: grid;
  gap: 6px;
  align-content: start;
}

.fact-card-wide {
  grid-column: 1 / -1;
}

.fact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-value {
  color: var(--text);
  font-size: 0.95rem;
  word-break: break-word;
}

.flag-panel,
.related-panel,
.reason-panel,
.chart-panel {
  padding: 14px;
}

.flag-panel h2,
.related-panel h2,
.reason-panel h2,
.chart-panel h2,
.rank-panel h2,
.activity-card h2 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.related-list {
  list-style: none;
  display: grid;
}

.related-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px 100px;
  gap: 10px;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid var(--panel-line);
  font-size: 0.8rem;
  transition: background 140ms ease;
}

.related-list li:last-child .related-row {
  border-bottom: none;
}

.related-row:hover {
  background: var(--card-hover);
}

.related-reason {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-date {
  color: var(--muted);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- stats */

.chart-panel .panel-note {
  color: var(--text-gray);
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.trend-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 190px;
  padding: 0 2px;
  border-bottom: 2px solid var(--line);
}

.trend-bar {
  flex: 1 1 0;
  min-width: 4px;
  position: relative;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 1px solid #000;
  border-bottom: none;
  transition: filter 140ms ease;
}

.trend-bar:hover {
  filter: brightness(1.25);
}

.trend-bar.empty {
  background: var(--panel-2);
  border-color: var(--panel-line);
}

.trend-bar-value {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
}

.trend-bar:hover .trend-bar-value {
  opacity: 1;
}

.trend-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.activity-card {
  padding: 12px;
}

.activity-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.activity-figure {
  border: 1px solid var(--panel-line);
  background: var(--inset);
  padding: 10px;
  display: grid;
  gap: 2px;
}

.activity-value {
  font-size: 1.2rem;
  color: var(--text);
}

.activity-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rank-panel {
  padding: 12px;
}

.rank-list {
  list-style: none;
  display: grid;
}

.rank-row {
  display: grid;
  grid-template-columns: 28px 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--panel-line);
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-position {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.rank-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rank-name {
  font-size: 0.85rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-note {
  font-size: 0.72rem;
  color: var(--muted);
}

.reason-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.reason-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) 56px;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.reason-text {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reason-meter {
  height: 8px;
  border: 1px solid #000;
  background: var(--inset);
  overflow: hidden;
}

.reason-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
}

.reason-count {
  color: var(--text-gray);
  text-align: right;
}

/* ---------------------------------------------------------------- appeal */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.contact-card {
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  background: var(--panel-2);
  font-size: 1.1rem;
  color: var(--primary);
}

.contact-discord .contact-icon { color: #7784ff; border-color: #3d4380; }
.contact-email .contact-icon { color: #ffb347; border-color: #6b552a; }
.contact-forum .contact-icon { color: var(--green); }

.contact-card h2 {
  font-size: 0.98rem;
}

.contact-card p {
  color: var(--text-gray);
  font-size: 0.85rem;
}

.contact-btn {
  min-height: 42px;
  font-size: 0.74rem;
}

.contact-value {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--primary-light);
  border: 2px solid var(--line);
  background: var(--inset);
  padding: 8px 10px;
  word-break: break-all;
}

.step-list {
  display: grid;
  gap: 10px;
}

.step-card {
  border: 2px solid var(--line);
  background: var(--inset);
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), #9cc2ff);
  opacity: 0.5;
}

.step-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-card p {
  color: var(--text-gray);
  font-size: 0.88rem;
}

.step-points {
  color: var(--text-gray);
  font-size: 0.86rem;
  margin: 8px 0 0 18px;
  display: grid;
  gap: 6px;
}

.warning-panel {
  padding: 14px;
  border-left: 3px solid var(--tone-mute);
}

.warning-panel h2 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tone-mute);
}

.warning-panel p {
  color: var(--text-gray);
  font-size: 0.86rem;
}

.warning-panel a {
  color: var(--primary);
}

/* ---------------------------------------------------------------- empty + error */

.empty-panel {
  padding: 36px 18px;
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.empty-panel i {
  font-size: 2rem;
  color: var(--muted);
}

.empty-panel h1,
.empty-panel h2 {
  font-size: 1.15rem;
}

.empty-panel p {
  color: var(--text-gray);
  font-size: 0.9rem;
  max-width: 52ch;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}

.empty-actions .chunky-btn {
  min-height: 42px;
  font-size: 0.74rem;
}

.error-details {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-gray);
  background: var(--inset);
  border: 2px solid var(--line);
  padding: 10px;
  max-width: 100%;
  overflow-x: auto;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-grid,
  .rank-grid,
  .recent-grid {
    grid-template-columns: 1fr;
  }

  /* The eight-column table becomes a stack of labelled rows. */
  .pun-head {
    display: none;
  }

  .pun-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
  }

  .pun-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .pun-cell::before {
    content: attr(data-label);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    flex: 0 0 auto;
  }

  .pun-cell-player {
    justify-content: flex-start;
    border-bottom: 1px solid var(--panel-line);
    padding-bottom: 8px;
  }

  .pun-cell-player::before {
    display: none;
  }

  .pun-cell-reason {
    display: grid;
    gap: 3px;
    justify-items: start;
  }

  .pun-reason {
    -webkit-line-clamp: 3;
  }

  .pun-cell-view {
    display: none;
  }

  .related-row {
    grid-template-columns: 1fr;
    gap: 4px;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact-card-wide {
    grid-column: auto;
  }

  .detail-player {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .detail-player-text {
    justify-items: center;
  }

  .detail-actions .chunky-btn,
  .search-submit {
    width: 100%;
  }

  .activity-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reason-row {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .reason-meter {
    display: none;
  }

  .bans-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .bans-nav-link {
    flex: 0 0 auto;
  }

  .pun-pagination {
    justify-content: center;
  }
}
