.sg {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sg-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sg-court {
  flex: none;
  width: 170px;
}
.sg .court-svg .team-B .pl-label {
  transform: translateY(5.6px);
}
.sg .court-svg .pl-label {
  font-size: 2.3px;
}
.sg-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sg-lbl {
  font: 800 13px var(--font-d);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink2);
}
.sg-call {
  font: 800 58px/1 var(--font-d);
  letter-spacing: -1px;
  color: var(--coral-d);
  white-space: nowrap;
}
.sg-call.long {
  font-size: 42px;
}
.sg-parts {
  font: 700 11px var(--font-b);
  color: var(--ink2);
  margin-bottom: 6px;
}
.sg-say {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}
.sg-key {
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  font-size: 13px;
  line-height: 1.35;
}
.sg-key summary {
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font: 800 14px var(--font-d);
  list-style: none;
}
.sg-key summary::-webkit-details-marker {
  display: none;
}
.sg-key summary::after {
  content: '+';
  margin-left: auto;
  font-size: 18px;
}
.sg-key[open] summary::after {
  content: '\2212';
}
.sg-key ul {
  margin: 0;
  padding: 0 12px 10px 28px;
  display: grid;
  gap: 6px;
}
.sg-star {
  color: var(--coral-d);
}
.sg-note {
  background: var(--sun);
  border: var(--bd);
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.3;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}
.sg-note b {
  font-family: var(--font-d);
  font-size: 16px;
  white-space: nowrap;
}
.sg-note[data-kind='side-out'] {
  background: var(--coral);
  color: #fff;
}
.sg-note[data-kind='point'] {
  background: var(--lime);
}
.sg-btns {
  display: grid;
  gap: 14px;
}
.sg-b {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 56px;
  border: var(--bd);
  border-radius: 16px;
  box-shadow: var(--sh);
  padding: 6px 12px;
  background: var(--green);
  color: #fff;
  touch-action: manipulation;
}
.sg-b b {
  font: 800 19px/1.1 var(--font-d);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}
.sg-b small {
  font: 700 12px var(--font-b);
  opacity: 0.95;
}
.sg-rcv {
  background: var(--paper);
  color: var(--ink);
}
.sg-rcv b {
  text-shadow: none;
}
.sg-b:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--ink);
}
.sg-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sg-s {
  min-height: 44px;
  min-width: 64px;
  border: var(--bd);
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--ink);
  font: 800 15px var(--font-d);
  padding: 0 12px;
}
.sg-s:active {
  transform: translateY(3px);
  box-shadow: none;
}
.sg-s[disabled] {
  opacity: 0.4;
  pointer-events: none;
}
.sg-refs {
  flex: 1;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.sg-ref {
  font: 800 12px var(--font-b);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 700px) {
  .sg {
    max-width: 560px;
    margin: 0 auto;
  }
  .sg-court {
    width: 220px;
  }
  .sg-btns {
    grid-template-columns: 1fr 1fr;
  }
}
