/* finesse · register=h5 · morph=E-longform · A=reference-red-gold · B=reference-system
 * C=reference-longform · D=original-assets · E=faithful-replica */
/* Original styles take precedence: only nonvisual accessibility and safe-area additions. */
* { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"] { touch-action: manipulation; }
a:active, [role="button"]:active { filter: brightness(.94); }
:focus-visible { outline: 2px solid #d2a771 !important; outline-offset: 3px; }
.foot-btn-box { padding-bottom: env(safe-area-inset-bottom, 0px); }
.navTop:hover p, .navTop:focus-within p { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* Keep the requested CTA pulse visible, with less movement and a slower cycle. */
  .J_ajax_submit_btnsub {
    animation: testPulseReduced .7s ease-in-out infinite alternate !important;
  }
  /* The risk notice must remain a readable, looping marquee in this mode too. */
  .navTop p {
    animation: marqueeTransform 30s linear infinite !important;
  }
}
@keyframes testPulseReduced {
  from { transform: scale(1); }
  to { transform: scale(.8); }
}

/* Order history retains the original red/white layout and adds real records. */
.history-hint { margin: 16px 16px 8px; color: #666; font-size: 13px; line-height: 1.6; }
.history-orders { margin: 0 14px 20px; font-size: 14px; line-height: 1.6; }
.history-orders .history-status { padding: 10px 2px; color: #666; overflow-wrap: anywhere; }
.history-order { background: #fff; border: 1px solid #eee; border-radius: 8px; margin: 0 0 14px; padding: 14px; box-shadow: 0 2px 8px #00000008; }
.history-order-head, .history-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.history-order-head { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #eee; align-items: flex-start; }
.history-number { min-width: 0; overflow-wrap: anywhere; font-size: 12px; color: #666; }
.history-payment { flex-shrink: 0; color: #b22d2d; font-size: 13px; }
.history-order-name { color: #333; overflow-wrap: anywhere; }
.history-order-time { color: #666; font-size: 12px; margin-top: 4px; }
.history-order-foot { margin-top: 14px; }
.history-amount { font-size: 20px; color: #b22d2d; }
.history-orders button { min-height: 44px; padding: 8px 18px; border: 1px solid #b22d2d; border-radius: 5px; background: #fff; color: #a52424; font: inherit; cursor: pointer; }
.history-orders .history-order-action { background: #b22d2d; color: #fff; }
.history-orders button:disabled { opacity: .6; cursor: default; }
.history-orders .history-more { display: block; margin: 12px auto; }
.history-orders [hidden] { display: none !important; }
.public_ddxx_search input:disabled { opacity: .65; }
