.regulations{min-width:0;max-width:100%;overflow-wrap:anywhere}.regulation-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.regulation-card{margin-block:20px}.regulation-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.regulations .btn,.regulation-dialog .btn{white-space:normal;max-width:100%;text-align:center;min-height:44px}.regulation-form{display:grid;gap:16px;margin-block:20px;min-width:0}.regulation-form label{display:grid;gap:6px;min-width:0}.regulation-form input{min-width:0;max-width:100%;width:100%;box-sizing:border-box}.regulation-control{margin-block:20px}.regulation-error:empty{display:none}.regulation-error{background:#fff0f0;color:#831c24;border:2px solid #9c2732;border-radius:8px;padding:12px;font-weight:700}.regulation-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);overflow:auto;padding:24px;border:1px solid #82958b;border-radius:14px;background:#fff;color:#163c31;overflow-wrap:anywhere}.regulation-dialog::backdrop{background:#0009}.regulation-dialog p{margin:0 0 20px;line-height:1.6}.regulation-dialog .regulation-actions>*{flex:1 1 160px}.regulation-state{font-weight:700}.regulation-view{margin-block:20px}

.tournament-heading:has(> .tournament-regulation) {
  flex-wrap: wrap;
}
.tournament-regulation {
  flex: 0 1 auto;
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--line);
}
.tournament-regulation h2 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 .45rem;
}
.tournament-regulation .regulation-actions {
  gap: .5rem;
}
@media (max-width: 760px) {
  .tournament-regulation {
    order: 1;
    flex-basis: 100%;
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}
