.sub-entry {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  margin: 0 0 0 auto;
  padding: 0 4px 0 10px;
  border: 0;
  border-radius: 999px;
  background: #ff7a45;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 122, 69, 0.28);
}
.sub-entry i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}
.sub-entry:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sub-entry .chat-quota,
.sub-entry span {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.sheet-mask {
  position: absolute;
  inset: 0;
  z-index: 28;
  background: rgba(48, 28, 18, 0.46);
}
.sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 29;
  max-height: 92%;
  overflow: auto;
  padding: 18px 14px 22px;
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(80, 40, 20, 0.18);
}
.sheet-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f6f1ee;
  color: #8a6a5c;
  font-size: 18px;
  cursor: pointer;
}
.sheet-title { margin: 0; text-align: center; font-size: 18px; }
.sheet-title em {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fff1ea;
  color: #e07a45;
  font-style: normal;
  font-size: 11px;
}
.sheet-remain { margin: 6px 0 0; text-align: center; color: #8a6a5c; font-size: 13px; }
.sheet-banner {
  margin: 14px 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff4ec, #fff);
  color: #9a4e32;
  font-size: 13px;
  text-align: center;
}
.sheet-note {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-radius: 10px;
  background: #faf6f3;
  color: #8a6a5c;
  font-size: 11px;
  line-height: 1.5;
}
.sheet-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px dashed #f0c6ae;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff6f0, #fffdfb);
  color: #9a4e32;
  font-size: 12px;
  text-decoration: none;
}
.sheet-task b { color: #e07a45; font-size: 12.5px; }
.sheet-task i {
  font-style: normal;
  color: #e07a45;
  font-size: 16px;
  line-height: 1;
}
.plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan {
  position: relative;
  min-height: 108px;
  padding: 16px 4px 8px;
  border: 1px solid #f0ddd4;
  border-radius: 14px;
  background: #fff;
  color: #5c3b30;
  text-align: center;
  font: inherit;
  cursor: pointer;
}
.plan-badge {
  position: absolute;
  top: -8px;
  left: 8px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #ff7a45;
  color: #fff;
  font-size: 10px;
}
.plan.is-on { border-color: #ff7a45; background: #fff6f1; box-shadow: 0 0 0 1px #ff7a45; }
.plan b { display: block; font-size: 20px; }
.plan small { display: block; margin-top: 2px; color: #b08978; font-size: 10px; }
.plan strong { display: block; margin-top: 6px; color: #e07a45; font-size: 16px; }
.sheet-sub, .sheet-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #f0ddd4;
  border-radius: 14px;
  background: #fff;
  color: #5c3b30;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.sheet-sub.is-on, .sheet-pay.is-on { border-color: #ff7a45; }
.sheet-sub span, .sheet-pay span { display: block; }
.sheet-sub small, .sheet-pay small { color: #8a6a5c; font-size: 12px; }
.sheet-radio {
  width: 18px;
  height: 18px;
  border: 1.5px solid #e0c8bc;
  border-radius: 50%;
  flex-shrink: 0;
}
.is-on .sheet-radio { border-color: #ff7a45; box-shadow: inset 0 0 0 5px #ff7a45; }
.sheet .pay {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9366, #ff7a45);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(255, 122, 69, 0.28);
}
.sheet .pay:disabled { background: #eadfd8; color: #9a887e; box-shadow: none; }
.sheet .legal { margin: 8px 0 0; color: #a08b82; font-size: 11px; text-align: center; line-height: 1.5; }
.sub-demo {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c4aea4;
  font: inherit;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
}
