html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

ol,
ul {
  list-style: none;
}

img {
  display: block;
  border: none;
}

* {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
:root {
  --main-bg: #fff;
  --btn-color: #fff;
  --btn-bg: #416CF6;
  --topic-color: #16181b;
  --tip-color: #416CF6;
  --tip-span-color: #ACB2BD;
  --list-item-color: #7A8189;
  --list-item-bg: #F1F4FB;
  --list-item-active-color: #416CF6;
  --list-item-has-vote-bg: linear-gradient(-70deg, transparent 15px, #D7DDED 0),
    linear-gradient(70deg, transparent 15px, transparent 0);
  --list-item-has-vote-active-bg: linear-gradient(-70deg, transparent 15px, #416CF6 0),
    linear-gradient(70deg, transparent 15px, transparent 0);
  --list-item-tab-l-color: #7A8189;
  --list-item-tab-l-active-color: #fff;
  --list-item-tab-r-color: #ACB2BD;
}

@media (prefers-color-scheme: dark) {
  :root {
    --main-bg: #242424;
    --btn-color: #d1d1d1;
    --btn-bg: #416CF6;
    --topic-color: #d1d1d1;
    --tip-color: #4C6CD0;
    --tip-span-color: #6d6d6d;
    --list-item-color: #a4a4a4;
    --list-item-bg: #2E2D2D;
    --list-item-active-color: #416CF6;
    --list-item-has-vote-bg: linear-gradient(-70deg, transparent 15px, #3A3939 0),
      linear-gradient(70deg, transparent 15px, transparent 0);
    --list-item-has-vote-active-bg: linear-gradient(-70deg, transparent 15px, #4C6CD0 0),
      linear-gradient(70deg, transparent 15px, transparent 0);
    --list-item-tab-l-color: #A4A4A4;
    --list-item-tab-l-active-color: #D1D1D1;
    --list-item-tab-r-color: #6D6D6D;
  }
}

html {
  font-size: 12px;
}

body {}

html,
body,
.container {
  background-color: var(--main-bg);
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 10px 0 20px;
}

.title {
  /* font-size: 28px; */
  text-align: center;
  font-size: 1.16rem;
  color: var(--btn-color);
  width: 98px;
  height: 30px;
  line-height: 30px;
  background-image: url("./images/tab_blue@2x.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.content {
  padding: 9px 15px 0 15px;
}

.topic {
  /* font-size: 36px; */
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--topic-color);
  line-height: 1.4;
}

.tips {
  font-size: 12px;
  margin-top: 12px;
}

.tips span {
  color: var(--tip-span-color);
  margin-left: 5px;
}

.tips span.tip-text {
  color: var(--tip-color);
}

span.vote-rule {
  color: var(--tip-color);
}


.tips .num {
  margin-left: 0;
  margin-right: 5px;
  padding-left: 17px;
  background: url("./images/participants@2x.png") no-repeat center left;
  background-size: 12px 12px;
}

.vote-list {
  margin-top: 15px;
}

.list-item {
  /* font-size: 28px; */
  font-size: 1.16rem;
  color: var(--list-item-color);
  text-align: center;
  height: 36px;
  line-height: 36px;
  margin-bottom: 10px;
  border-radius: 6px;
  background-color: var(--list-item-bg);
  position: relative;
}

.list-item:last-of-type {
  margin-bottom: 0;
}

.list-item.active {
  color: var(--list-item-active-color);
  font-weight: bold;
}

.l {
  padding: 0 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.has-vote .list-item {
  display: flex;
  justify-content: space-between;
}

.has-vote .list-item.active {
  background-color: #B3C5FC;
}

.has-vote .list-item .bg {
  height: 100%;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background: var(--list-item-has-vote-bg);
}

.has-vote .list-item.active .bg {
  background: var(--list-item-has-vote-active-bg);
}

.has-vote .list-item .tab {
  /* font-size: 28px; */
  font-size: 1.16rem;
  width: 100%;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
}

.has-vote .list-item .tab .l {
  color: var(--list-item-tab-l-color);
  padding-left: 10px;
  box-sizing: border-box;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.has-vote .list-item.active .tab .l {
  color: var(--list-item-tab-l-active-color);
  font-weight: bold;
  padding-left: 30px;
  background: url("./images/select@2x.png") no-repeat 7px center;
  background-size: 18px 18px;
}

.has-vote .list-item .tab .r {
  color: var(--list-item-tab-r-color);
  padding-right: 10px;
}

.has-vote .list-item.active .tab .r {
  color: var(--list-item-tab-l-active-color);
}

.btn {
  /* font-size: 36px; */
  font-size: 1.5rem;
  color: var(--btn-color);
  background-color: var(--btn-bg);
  margin: 16px auto 0;
  border-radius: 22px;
  border: none;
  width: 51.79%;
  height: 36px;
  line-height: 36px;
  display: block;
}

@media (prefers-color-scheme: dark) {
  .title {
    background-image: url("./images/tab_blue_black@2x.png");
  }

  .tips .num {
    background-image: url("./images/participants_black@2x.png");
  }

  .has-vote .list-item.active {
    background-color: var(--list-item-bg);
  }

  .has-vote .list-item.active .tab .l {
    background: url("./images/select_black@2x.png") no-repeat 7px center;
    background-size: 18px 18px;
  }
}