.opc-reception {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(390px, calc(100vw - 24px));
  font: 14px/1.55 "Microsoft YaHei", Arial, sans-serif;
}

.opc-reception__launcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  min-height: 50px;
  min-width: 132px;
  padding: 0 18px;
  border: 1px solid #0071e3;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font: 700 15px/1 "Microsoft YaHei", Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 113, 227, .28);
}

.opc-reception__launcher::before {
  content: "";
  width: 21px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 5px;
  position: relative;
  display: inline-block;
}
.opc-reception__launcher::after {
  content: "";
  position: absolute;
  margin: 13px 0 0 -30px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewY(-28deg);
}

.opc-reception__launcher:hover { background: #0066cc; transform: translateY(-2px); }
.opc-reception__greeting { margin: 0 0 8px auto; width: fit-content; max-width: 260px; padding: 8px 10px; border: 1px solid #d2d2d7; background: #fff; color: #1d1d1f; font-size: 12px; box-shadow: 2px 2px 0 #ff9f0a; }
.opc-reception__greeting[hidden] { display: none; }
.opc-reception__launcher:focus-visible,
.opc-reception button:focus-visible,
.opc-reception a:focus-visible,
.opc-reception input:focus-visible,
.opc-reception textarea:focus-visible {
  outline: 3px solid #f4cc53;
  outline-offset: 3px;
}

.opc-reception__panel {
  display: none;
  margin-bottom: 13px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid #14212b;
  background: #fffdfa;
  color: #14212b;
  box-shadow: 8px 8px 0 rgba(20, 33, 43, 0.18);
}

.opc-reception.is-open .opc-reception__panel { display: block; }
.opc-reception__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px 12px; background: #f5f5f7; border-bottom: 1px solid #d2d2d7; }
.opc-reception__head strong { font-size: 18px; }
.opc-reception__head p { margin: 4px 0 0; font-size: 12px; }
.opc-reception__close { width: 36px; height: 36px; border: 1px solid #14212b; background: transparent; color: #14212b; font-size: 22px; cursor: pointer; }
.opc-reception__body { padding: 16px 18px 18px; }
.opc-reception__body > p { margin: 0 0 12px; color: #405159; }
.opc-reception__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.opc-reception__choices button,
.opc-reception__submit {
  min-height: 42px;
  border: 1px solid #14212b;
  background: #fff;
  color: #14212b;
  font: 800 13px/1.2 "Microsoft YaHei", Arial, sans-serif;
  cursor: pointer;
}
.opc-reception__direct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.opc-reception__direct-card { display: flex; flex-direction: column; gap: 4px; min-height: 64px; padding: 10px; border: 1px solid #d2d2d7; background: #fff; color: #1d1d1f; font-weight: 700; }
.opc-reception__direct-card small { color: #6e6e73; font-size: 11px; font-weight: 400; }
.opc-reception__qr { display: none; margin: 10px 0 2px; padding: 10px; border: 1px solid #d2d2d7; background: #fff; text-align: center; }
.opc-reception__qr.is-visible { display: block; }
.opc-reception__qr img { width: 132px; height: 132px; margin: 0 auto 6px; object-fit: contain; }
.opc-reception__choices button:hover { background: #dcf4f8; }
.opc-reception__answer { min-height: 50px; margin: 12px 0; padding: 10px; background: #edf2ef; color: #35454c; font-size: 13px; }
.opc-reception details { margin: 12px 0; border-top: 1px solid #cbd1cd; border-bottom: 1px solid #cbd1cd; padding: 10px 0; }
.opc-reception summary { cursor: pointer; font-weight: 800; }
.opc-reception label { display: block; margin: 10px 0 0; font-size: 12px; font-weight: 800; }
.opc-reception input,
.opc-reception textarea { width: 100%; margin-top: 4px; padding: 9px; border: 1px solid #9aa5a4; border-radius: 0; background: #fff; color: #14212b; font: inherit; }
.opc-reception textarea { min-height: 74px; resize: vertical; }
.opc-reception__consent { display: flex !important; gap: 7px; align-items: flex-start; font-weight: 400 !important; line-height: 1.45; }
.opc-reception__consent input { width: auto; margin: 3px 0 0; }
.opc-reception__submit { width: 100%; margin-top: 12px; background: #e85d3f; border-color: #e85d3f; color: #fff; }
.opc-reception__status { min-height: 20px; margin: 10px 0 0; color: #405159; font-size: 12px; }
.opc-reception__direct { margin: 12px 0 0; font-size: 12px; color: #405159; }
.opc-reception__direct a { color: #174e70; font-weight: 800; }

@media (max-width: 700px) {
  .opc-reception { right: 16px; bottom: 16px; }
  .opc-reception__launcher { min-height: 46px; }
  .opc-reception__direct-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) { .opc-reception__launcher:hover { transform: none; } }
