.ts-receipt { max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; color: #f5f5f5; }
.ts-receipt h1, .ts-receipt h2, .ts-receipt h3 { color: #FFD700; font-weight: 650; letter-spacing: 0; }
.ts-receipt h1 { font-size: 1.7rem; margin: 0 0 8px; }
.ts-receipt h2 { font-size: 1.05rem; margin: 0 0 12px; }
.ts-receipt h3 { font-size: 1rem; margin: 0; color: #fff; }
.ts-receipt p { line-height: 1.45; }
.ts-receipt-card, .ts-receipt-line { background: #111; border: 1px solid rgba(255, 215, 0, .45); border-radius: 14px; padding: 16px; margin: 0 0 16px; }
.ts-receipt-kicker { color: #FFD700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.ts-receipt-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #ddd; margin: 0 0 12px; }
.ts-receipt-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #FFD700; border-radius: 999px; padding: 6px 12px; color: #FFD700; background: #000; }
.ts-receipt-badge i { width: 1.1em; text-align: center; }
.ts-receipt-grid, .ts-receipt-money { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ts-receipt-money div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); padding-bottom: 8px; }
.ts-receipt-money dt { color: #ccc; }
.ts-receipt-money dd { margin: 0; color: #fff; font-variant-numeric: tabular-nums; }
.ts-receipt-line-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.ts-receipt-name, .ts-receipt-detail { overflow-wrap: anywhere; min-width: 0; }
.ts-receipt-photo { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #000; }
.ts-receipt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ts-receipt-actions a, .ts-receipt-actions button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; border: 1px solid #FFD700; background: #000; color: #FFD700; text-decoration: none; }
.ts-receipt-actions a.ts-receipt-primary, .ts-receipt button.ts-receipt-primary { background: #FFD700; color: #111; }
.ts-receipt a:focus-visible, .ts-receipt button:focus-visible, .ts-receipt input:focus-visible, .ts-receipt select:focus-visible { outline: 2px solid #FFD700; outline-offset: 2px; }
.ts-receipt-amount { margin: 14px 0 6px; font-size: 2rem; font-weight: 750; color: #FFD700; }
.ts-receipt-badge.is-ok { color: #3dd68c; border-color: #3dd68c; }
.ts-receipt-badge.is-bad { color: #ff5c5c; border-color: #ff5c5c; }
.ts-receipt-badge.is-wait { color: #FFD700; border-color: #FFD700; }
.ts-receipt-note { color: #ddd; margin: 8px 0 0; }
.ts-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ts-ltr[hidden] { display: none !important; }
.ts-receipt-sync { min-height: 1.4em; color: #ddd; }
.ts-orders { max-width: 980px; }
.ts-order-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ts-order-filters a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 215, 0, .45); color: #FFD700; text-decoration: none; background: #000; }
.ts-order-filters a.is-on { background: #FFD700; color: #111; }
.ts-order-grid { display: grid; gap: 14px; }
.ts-order-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; background: #111; border: 1px solid rgba(255, 215, 0, .45); border-radius: 16px; padding: 14px; }
.ts-order-detail { grid-template-columns: minmax(160px, 240px) minmax(0, 1fr); padding: 16px; }
.ts-order-shot { display: block; background: #000; border-radius: 12px; overflow: hidden; }
.ts-order-shot img { display: block; width: 100%; height: 160px; object-fit: cover; }
.ts-order-detail .ts-order-shot img { height: 280px; object-fit: contain; }
.ts-order-body { min-width: 0; }
.ts-order-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.ts-order-head h2, .ts-order-body h1 { margin: 0; color: #FFD700; font-size: 1.25rem; overflow-wrap: anywhere; }
.ts-order-head a, .ts-order-back a { color: #FFD700; text-decoration: none; }
.ts-order-detail .ts-receipt-badge { display: flex; width: fit-content; max-width: 100%; margin: 8px 0; white-space: normal; }
.ts-order-price { display: block; margin: 8px 0; color: #FFD700; font-size: 1.35rem; font-weight: 750; }
.ts-order-meta, .ts-order-back { color: #ccc; margin: 8px 0; }
.ts-order-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; padding: 10px; border-radius: 12px; background: #000; border: 1px solid rgba(255, 215, 0, .35); }
.ts-order-code code { color: #fff; font-size: 1rem; overflow-wrap: anywhere; }
.ts-order-code button, .ts-receipt-money button[data-copy] { min-height: 40px; border-radius: 10px; border: 1px solid #FFD700; background: #FFD700; color: #111; font-weight: 700; padding: 0 12px; cursor: pointer; }
.ts-order-open { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; padding: 0 16px; border-radius: 12px; background: #FFD700; color: #111; text-decoration: none; font-weight: 750; }
.ts-order-empty { padding: 18px; border: 1px solid rgba(255, 215, 0, .35); border-radius: 14px; background: #111; }
.ts-order-empty a { display: inline-flex; margin-left: 8px; color: #FFD700; }
.ts-copy-status { min-height: 1.4em; color: #3dd68c; }
.ts-receipt-money dd button { margin-left: 8px; }
@media (max-width: 640px) {
    .ts-order-card, .ts-order-detail { grid-template-columns: 88px minmax(0, 1fr); }
    .ts-order-shot img, .ts-order-detail .ts-order-shot img { height: 118px; }
}
@media (min-width: 800px) {
    .ts-receipt-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
