@charset "UTF-8";
:root{
  --bg: #f3f6ff;
  --card: #ffffff;
  --text: #1f2a44;
  --muted: #6b7a99;
  --blue1: #6d7bff;
  --blue2: #57c8ff;
  --shadow: 0 8px 22px rgba(27, 39, 94, 0.10);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC","Hiragino Sans GB","Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(180deg, #eaf0ff 0%, var(--bg) 40%, #f7f9ff 100%);
  color: var(--text);
}

.page{
  max-width: 460px;
  margin: 0 auto;
  padding: 14px 14px 24px;
}

.topbar{
  background: linear-gradient(90deg, #8b94ff, #59ccff);
  border-radius: 999px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow: var(--shadow);
}

.topbar-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}

.topbar-icon{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:700;
  flex: 0 0 auto;
}

.topbar-text{ min-width:0; }
.topbar-title{
  color:#fff;
  font-weight:700;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.topbar-sub{
  color: rgba(255,255,255,.85);
  font-size: 12px;
  margin-top: 2px;
}

.topbar-btn{
  border:0;
  background:#fff;
  color:#2a3a73;
  font-weight:700;
  padding: 8px 12px;
  border-radius: 999px;
  cursor:pointer;
  flex: 0 0 auto;
}

.hero{
  margin: 14px 0 14px;
  display:flex;
  justify-content:center;
}

.start-btn{
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 14px;
  background: linear-gradient(90deg, var(--blue1), var(--blue2));
  color:#fff;
  font-weight:800;
  font-size: 16px;
  cursor:pointer;
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.start-btn .play{
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.25);
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 14px;
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  margin-top: 12px;
}

.card-title{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  font-size: 16px;
}
.card-title .bar{
  width: 4px;
  height: 18px;
  background: #7a4dff;
  border-radius: 999px;
}

.current{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

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

.pitem{
  border-radius: 16px;
  padding: 10px 10px;
  position: relative;
  overflow:hidden;
  cursor:pointer;
  border: 2px solid transparent;
  min-height: 70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 8px;
}
.pitem.active{
  border-color: rgba(64, 120, 255, .9);
  box-shadow: 0 10px 22px rgba(64, 120, 255, .18);
}

.pmeta{
  display:flex;
  flex-direction:column;
  gap: 6px;
  min-width: 0;
}
.pname{
  font-weight: 900;
  color:#fff;
  font-size: 15px;
}
.pda{
  font-size: 12px;
  color: rgba(255,255,255,.9);
}
.plogo{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight: 900;
  flex: 0 0 auto;
}

.form{
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.row{
  display:flex;
  flex-direction:column;
  gap: 6px;
}
label{
  font-size: 13px;
  color: var(--muted);
}
input, textarea{
  border: 1px solid #e4e9ff;
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
  background: #fbfcff;
}
textarea{ min-height: 72px; resize: vertical; }

.submit{
  border:0;
  border-radius: 14px;
  padding: 12px 12px;
  background: #2d5bff;
  color:#fff;
  font-weight: 900;
  cursor:pointer;
}

.hint{
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}
.hint.ok{ color:#0b7a2b; }
.hint.bad{ color:#b42318; }

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