.card-secret{background:#f0f4ff;padding:20px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;user-select:all;font:16px/1.8 monospace}
.secret-box{min-width:0;text-align:left;margin-top:16px;border:1px solid #dce5fa;border-radius:12px;background:#f4f7ff;padding:16px}
.secret-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.secret-heading h3{font-size:15px;margin:0}
.copy-secret{flex-shrink:0;background:var(--brand);color:white;border-radius:7px;padding:7px 13px;font-size:12px;font-weight:600;cursor:pointer}
.copy-secret:hover{background:#1044d4}
.secret-box .card-secret{margin:14px 0 0;padding:0;background:transparent;font:15px/1.8 ui-monospace,Consolas,monospace;white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;color:#142647}
.copy-feedback{display:block;font-size:12px;color:var(--brand);margin-top:6px}
.copy-feedback:empty{display:none}
.secret-box{padding:14px}
.recharge-action{display:inline-block;margin-top:12px;color:var(--brand);font-weight:600;text-decoration:underline}
.delivery-instructions{margin:16px 0;padding:14px;border:1px solid #dbe3ef;border-radius:12px;text-align:left;min-width:0}
.delivery-instructions h3{margin:0 0 8px;font-size:16px}
.delivery-instructions-content{font-size:16px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap;max-width:100%;overflow-x:auto}
.delivery-instructions-content p{margin:6px 0}
.delivery-instructions-content a{color:#1757ef;text-decoration:underline}
.delivery-guide{margin:12px 0;text-align:left;font-size:16px;line-height:1.6}
.delivery-guide h3{margin:0 0 6px;font-size:16px}
.delivery-guide p{margin:0}
.recharge-form{margin-top:10px}
.recharge-action,.copy-secret{cursor:pointer}
.recharge-action::before{content:"↗";margin-right:6px}
.copy-secret::before{content:"⧉";margin-right:6px}
.recharge-form .recharge-action{width:100%;border:0;border-radius:10px;padding:12px;background:#1757ef;color:#fff;font-size:16px;font-weight:600}

.secret-heading{flex-wrap:wrap}.secret-heading h3{flex:1;min-width:75px}.secret-heading .recharge-form{margin:0}.secret-heading .recharge-action{width:auto;margin:0;padding:7px 13px;font-size:12px;text-decoration:none}

/* Compact mobile delivery: keep the card and fixed instructions ahead of repeated guidance. */
@media(max-width:600px){
  .delivery-guide{display:none}
  .order-detail-body:not(:empty){padding:12px}
  .order-content{gap:8px}
  .order-content>h2{font-size:16px;line-height:1.4}
  .order-detail-body .order-content>strong{display:none}
  .storefront-delivery[aria-label]{display:grid;gap:8px;padding:12px}
  :is(.order-content,.cashier-delivery,.storefront-delivery) .secret-box{margin:0;padding:10px}
  .secret-heading{gap:8px}
  .secret-heading h3{font-size:14px}
  .copy-secret,.cashier-dialog .copy-secret{min-height:44px;padding:8px 12px;font-size:14px}
  .secret-box .card-secret{margin:4px 0 0;font-size:16px;line-height:1.4}
  .delivery-instructions{margin:0;padding:10px}
  .delivery-instructions h3{margin:0 0 6px;font-size:15px}
  .delivery-instructions-content{font-size:15px;line-height:1.5}
  .delivery-instructions-content p{margin:4px 0}
  .delivery-instructions-content :is(h1,h2,h3){font-size:16px;line-height:1.4;margin:6px 0}
  .delivery-instructions-content :is(ul,ol){margin:4px 0;padding-left:20px}
  .order-content>.page-back{margin-top:4px}
}

/* Invoice notice: shared guest/member order entry, no online invoice submission. */
.order-invoice-link{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:44px;padding:12px 16px;margin:14px 0;border:1px solid #bfd4f7;border-radius:12px;background:#eff6ff;color:#1d4ed8;text-decoration:none;font-size:14px;line-height:1.5;text-align:left}
.order-invoice-link strong{font-size:15px;font-weight:700}.order-invoice-link .invoice-arrow{margin-left:auto;font-size:22px;line-height:1}.order-invoice-link:hover{background:#dbeafe;border-color:#93b4ec}.order-invoice-link:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
