.comment h3 { height: 28px; line-height: 28px }
.com_form { width: 100%; position: relative }
.input { width: 99%; height: 60px; border: 1px solid #ccc }
.com_form p { height: 28px; line-height: 28px; position: relative; margin-top: 10px; }
span.emotion { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
span.emotion.kehua-qqface-btn {
  width: 36px; height: 36px; padding: 0;
  background: var(--color-bg, #f5f5f5);
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 8px; font-size: 18px; line-height: 1;
  transition: background .2s, border-color .2s;
}
span.emotion.kehua-qqface-btn:hover {
  background: rgba(91, 155, 255, 0.1);
  border-color: var(--color-border, #ddd);
}
.qqFace {
  margin: 0;
  background: var(--color-white, #fff);
  padding: 10px;
  border: var(--border, 1px solid #dfe6f6);
  border-radius: 10px;
  height: 200px;
  overflow: auto;
  min-width: 340px;
  width: auto;
  max-width: min(90vw, 420px);
  box-sizing: border-box;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
  color: var(--color-text, inherit);
}
@media (max-width: 768px) {
  .qqFace.qqFace-mobile {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(90vw, 360px) !important;
    max-width: min(90vw, 360px) !important;
    min-width: 280px !important;
  }
}
.qqFace table { width: 100%; table-layout: auto; }
.qqFace table td { padding: 4px; }
.qqFace table td img { cursor: pointer; border: 1px solid transparent; border-radius: 4px; }
.qqFace table td img:hover { border: 1px solid var(--color-primary, #0066cc); }

:is(html.kehua-dark, body.kehua-dark) span.emotion.kehua-qqface-btn:hover {
  background: rgba(91, 155, 255, 0.14);
  border-color: rgba(91, 155, 255, 0.35);
}

:is(html.kehua-dark, body.kehua-dark) .qqFace {
  box-shadow: var(--shadow-md, 0 4px 14px rgba(0, 0, 0, 0.45));
}

:is(html.kehua-dark, body.kehua-dark) .qqFace::-webkit-scrollbar {
  width: 8px;
}

:is(html.kehua-dark, body.kehua-dark) .qqFace::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

:is(html.kehua-dark, body.kehua-dark) .qqFace::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

:is(html.kehua-dark, body.kehua-dark) .qqFace::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}
.sub_btn { position: absolute; right: 0px; top: 0; display: inline-block; zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */  *display: inline;
vertical-align: baseline; margin: 0 2px; outline: none; cursor: pointer; text-align: center; font: 14px/100% Arial, Helvetica, sans-serif; padding: .5em 2em .55em; text-shadow: 0 1px 1px rgba(0,0,0,.6); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.2); color: #e8f0de; border: solid 1px #538312; background: #64991e; background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e)); background: -moz-linear-gradient(top, #7db72f, #4e7d0e);  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e');
}
