body {
  background: #f5f6fa;
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  margin: 0;
  padding: 0;
}
@media (max-width: 600px) {
    .class-radio-group span{
        display: none;
    }
    .class-radio-group label {
        width:  40%;
    }
}
.container {
  max-width: 600px;
  margin: 5px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 6px 24px 24px 14px;
  text-align: center;
}
#roll-area {
  position: relative;
  height: 3.8em;
  overflow: hidden;
  display: block;
  margin-bottom: 8px;
}
.roll-list {
  display: block;
  transition: transform 0.18s cubic-bezier(.4,2,.6,1);
  will-change: transform;
}
.current-name {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2d8cf0;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.8em;
  transition: color 0.2s;
}

/* 跳动动画 */
.roll-anim {
  animation: rollJump 0.18s cubic-bezier(.4,2,.6,1) 1;
  color: #e67e22;
  transform: scale(1.18);
}
@keyframes rollJump {
  0% { transform: scale(1); color: #2d8cf0; }
  50% { transform: scale(1.22); color: #e67e22; }
  100% { transform: scale(1); color: #2d8cf0; }
}

.jump-anim {
  animation: jumpAnim 0.18s cubic-bezier(.4,2,.6,1) 1;
  color: #e67e22;
  transform: scale(1.18);
}
@keyframes jumpAnim {
  0% { transform: scale(1); color: #2d8cf0; }
  50% { transform: scale(1.22); color: #e67e22; }
  100% { transform: scale(1); color: #2d8cf0; }
}

button {
  background: #2d8cf0;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 28px;
  font-size: 1rem;
  cursor: pointer;
  margin: 12px 0;
  transition: background 0.2s;
}
button:hover {
  background: #1a73e8;
}
h2{
  color: #555;
}
ul#today-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px 0;
}
ul#today-list li {
  background: #f0f4fa;
  margin: 6px 0;
  padding: 8px 0;
  border-radius: 4px;
  color: #666;
  font-size: 1.1rem;
}

#class-select, label[for="class-select"] {
  font-size: 1rem;
  vertical-align: middle;
}
#class-select {
  padding: 6px 18px;
  border-radius: 6px;
  border: 1px solid #bfcbd9;
  background: #f8fafc;
  margin-left: 6px;
  outline: none;
  transition: border 0.2s;
}
#class-select:focus {
  border: 1.5px solid #2d8cf0;
}
label[for="class-select"] {
  color: #333;
  margin-right: 4px;
}

.big-round-btn {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #2d8cf0 60%, #1a73e8 100%);
  box-shadow: 0 4px 18px rgba(45,140,240,0.10);
  margin: 18px 0 0 0;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.big-round-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #1a73e8 60%, #2d8cf0 100%);
  transform: scale(1.07);
}
.big-round-btn:active {
  transform: scale(0.97);
}

.class-radio-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
}
.class-radio-group label {
  display: flex;
  /* align-items: center; */
  margin-right: 18px;
  font-size: 1.08rem;
  cursor: pointer;
  user-select: none;
  line-height: 1.7;
  font-weight: 500;
}
.class-radio-group input[type="radio"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #bfcbd9;
  border-radius: 50%;
  margin-right: 7px;
  background: #fff;
  position: relative;
  transition: border 0.2s;
  vertical-align: middle;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(45,140,240,0.04);
  display: inline-block;
}
.class-radio-group input[type="radio"]:checked {
  border: 6px solid #2d8cf0;
}
.class-radio-group input[type="radio"]:focus {
  border-color: #2d8cf0;
}
@media (max-width: 600px) {
  .container {
    max-width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }
  .class-radio-group {
    flex-wrap: wrap;
    gap: 6px 8px;
  }
} 