.sh-area {
  max-width: 720px;
}

.sh-roundhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 10px;
  padding: 8px 12px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.sh-roundlabel {
  font-size: 14px;
  color: var(--text);
}
.sh-roundlabel b {
  color: var(--accent);
  font-size: 16px;
}
.sh-opp-progress {
  font-size: 12px;
  color: var(--muted);
}

.sh-dots {
  display: flex;
  gap: 4px;
}
.sh-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--line);
}
.sh-dot-cur {
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.sh-dot-ok {
  background: #2f7a3d;
  border-color: #2f7a3d;
}
.sh-dot-bad {
  background: #a83a3a;
  border-color: #a83a3a;
}

.sh-cards {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 10px;
  align-items: stretch;
  margin: 8px 0;
}

.sh-card {
  background: var(--panel2);
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms, transform 150ms;
}
.sh-card-a {
  border-color: rgba(102, 192, 244, 0.4);
}
.sh-card-b {
  border-color: rgba(255, 255, 255, 0.15);
  border-style: dashed;
}

.sh-cover {
  background: #000;
  aspect-ratio: 92 / 43; /* Steam header aspect ratio */
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sh-name {
  padding: 8px 10px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  min-height: 36px;
  text-align: center;
  line-height: 1.2;
}

.sh-peak {
  padding: 6px 10px 12px;
  text-align: center;
}
.sh-peak-num {
  display: block;
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.sh-peak-num.sh-q {
  color: var(--muted);
  font-style: italic;
}
.sh-peak-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  margin-top: 2px;
}

.sh-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
}
.sh-vs span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel2);
}

.sh-btnrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.sh-bigbtn {
  padding: 16px 12px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: transform 80ms, background 120ms, border-color 120ms, box-shadow 120ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sh-bigbtn:hover {
  border-color: var(--accent);
  background: #1c2734;
  box-shadow: 0 0 12px rgba(102, 192, 244, 0.25);
}
.sh-bigbtn:active {
  transform: translateY(1px);
}
.sh-up .sh-arrow {
  color: #5fd97a;
}
.sh-down .sh-arrow {
  color: #ff7a7a;
}

.sh-hint {
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.sh-wait {
  margin: 14px auto 0;
  padding: 14px;
  background: var(--panel2);
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.sh-flash {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  animation: shFlashIn 220ms ease-out;
}
.sh-flash.sh-ok {
  background: rgba(47, 122, 61, 0.18);
  border: 1px solid #2f7a3d;
  color: #c9f0d0;
}
.sh-flash.sh-bad {
  background: rgba(168, 58, 58, 0.18);
  border: 1px solid #a83a3a;
  color: #f4c9c9;
}
.sh-flash-title {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 15px;
}
.sh-flash-line b {
  color: var(--accent);
}
@keyframes shFlashIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sh-actions {
  margin-top: 14px;
  text-align: center;
}

.sh-recap {
  margin: 12px 0;
  max-height: 240px;
  overflow-y: auto;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
}
.sh-recap-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.sh-recap-row:last-child { border-bottom: none; }
.sh-recap-num { color: var(--muted); font-weight: 700; }
.sh-recap-pair { color: var(--text); }
.sh-recap-tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--panel);
  color: var(--muted);
}
.sh-recap-tag.ok { color: #5fd97a; }
.sh-recap-tag.bad { color: #ff7a7a; }

@media (max-width: 520px) {
  .sh-cards {
    grid-template-columns: 1fr;
  }
  .sh-vs {
    transform: rotate(90deg);
    height: 28px;
  }
  .sh-btnrow {
    grid-template-columns: 1fr 1fr;
  }
}
