/* Five task rule sheets: Jin Cai reference layout, Jinguan's live amounts. */
html:root body #app#app#app .task-rule-overlay.task-reference-overlay {
  display:flex!important;align-items:flex-end!important;justify-content:center!important;
  padding:0!important;background:rgba(0,0,0,.65)!important;
}
html:root body #app#app#app .task-reference-panel {
  position:relative;box-sizing:border-box;width:min(100%,428px);max-width:100%;
  height:min(160vw,684.8px,calc(var(--jj-stable-viewport-height,100dvh) - 20px));
  margin:0;padding:0;border:0;border-radius:0;background:#0b0417;color:#fff;
  overflow:hidden;box-shadow:0 -8px 30px #0004;transform:none;
}
html:root body #app#app#app .task-reference-scroll {
  box-sizing:border-box;height:100%;overflow:auto;overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:max(28px,env(safe-area-inset-bottom,0px));
  scrollbar-width:none;
}
html:root body #app#app#app .task-reference-scroll::-webkit-scrollbar {display:none;width:0;height:0}
html:root body #app#app#app .task-reference-close {
  position:absolute;z-index:2;top:10px;right:10px;width:36px;height:36px;min-height:0;
  padding:0;border:1px solid #ffffff80;border-radius:50%;background:#120c23cf;color:#fff;
  font:28px/32px Arial,sans-serif;text-align:center;box-shadow:0 2px 8px #0005;
}
html:root body #app#app#app .task-reference-hero {
  position:relative;box-sizing:border-box;width:100%;aspect-ratio:750/338;overflow:hidden;
}
html:root body #app#app#app .task-reference-art {
  display:block;width:100%;height:100%;object-fit:cover;object-position:center;border:0;border-radius:0;
}
html:root body #app#app#app .task-reference-brand {
  position:absolute;top:6%;left:5%;width:23%;height:auto;max-height:23%;object-fit:contain;object-position:left top;
}
html:root body #app#app#app .task-reference-copy {
  position:relative;margin:-18px 2.667% 0;padding:24px 3.2% 26px;
  border:1px solid #ffffff75;border-bottom:0;border-radius:18px 18px 0 0;
  background:linear-gradient(160deg,#201e2670,#100b1c 25%,#0b0417 65%);
  font:14px/1.75 Arial,"PingFang SC","Microsoft YaHei",sans-serif;overflow-wrap:break-word;
}
html:root body #app#app#app .task-reference-copy :is(h2,h3,p,ol,li){color:#fff;background:none;letter-spacing:normal;text-align:left}
html:root body #app#app#app .task-reference-copy h2 {font-size:18px;line-height:1.5;margin:0 0 7px;font-weight:700}
html:root body #app#app#app .task-reference-copy h3 {font-size:18px;line-height:1.5;margin:26px 0 8px;font-weight:700}
html:root body #app#app#app .task-reference-copy p {font-size:15px;line-height:1.75;margin:0}
html:root body #app#app#app .task-reference-table {
  width:100%;table-layout:fixed;border:0;border-spacing:0;border-collapse:separate;text-align:center;
  margin:8px 0 0;font-size:14px;line-height:1.45;
}
html:root body #app#app#app .task-reference-table :is(th,td) {border:0;padding:5px 3px;text-align:center;vertical-align:middle;background:none;overflow-wrap:normal}
html:root body #app#app#app .task-reference-table th {color:#a5a3af;font-size:13px;font-weight:700;padding-bottom:10px}
html:root body #app#app#app .task-reference-table td {color:#e6bc57;font-weight:600}
html:root body #app#app#app .task-reference-table tbody tr:nth-child(odd) td {background:#211d30}
html:root body #app#app#app .task-reference-table td:first-child {border-radius:5px 0 0 5px}
html:root body #app#app#app .task-reference-table td:last-child {border-radius:0 5px 5px 0}
html:root body #app#app#app .task-reference-vip-table {font-size:12px}
html:root body #app#app#app .task-reference-vip-table th {font-size:11px}
html:root body #app#app#app .task-reference-vip-table td {padding:7px 1px;font-variant-numeric:tabular-nums}
html:root body #app#app#app .task-reference-vip-table th:first-child {width:18%}
html:root body #app#app#app .task-reference-rules {margin-top:25px;border-top:1px solid #ffffff26}
html:root body #app#app#app .task-reference-rules h3 {margin-top:22px}
html:root body #app#app#app .task-reference-rules ol {margin:0;padding:0 0 0 1.5em;list-style:decimal}
html:root body #app#app#app .task-reference-rules li {padding:0;margin:0;font-size:15px;line-height:1.85}
html:root body #app#app#app .task-reference-actions {display:flex;gap:12px;padding:9px 3.73% 0}
html:root body #app#app#app .task-reference-actions button {
  flex:1;min-width:0;height:48px;margin:0;padding:0 6px;border:1px solid #ac86bf80;border-radius:99px;
  color:#fff;background:linear-gradient(110deg,#811f9c,#161090);font-size:16px;font-weight:700;
}
html:root body #app#app#app .task-reference-actions .task-reference-secondary {background:linear-gradient(150deg,#0c0813,#282331);border-color:#ffffff70}
@media(max-width:359px){
  html:root body #app#app#app .task-reference-vip-table {font-size:10px}
  html:root body #app#app#app .task-reference-vip-table th {font-size:10px}
}
