.public-body { background: #f5f4ed; }
.redeem-shell { width: min(640px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0 48px; }
.public-head { margin-bottom: 28px; text-align: center; }
.public-head h1 { margin: 0; font-size: 38px; line-height: 1.1; }
.public-head p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.access-card, .result-card { border: 1px solid var(--line); border-radius: 8px; background: #faf9f5; box-shadow: 0 4px 24px rgb(0 0 0 / .05); overflow: hidden; }
.access-card { padding: 24px; }
.access-card label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.access-card input { display: block; width: 100%; height: 50px; padding: 0 15px; border: 1px solid var(--line); border-radius: 7px; background: #fffdfa; font: 13px/1 var(--mono); text-transform: uppercase; }
.access-card .primary { width: 100%; margin-top: 14px; }
.public-message { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #dbc69d; border-radius: 7px; background: #fffaf0; color: var(--yellow); font-size: 13px; }
.public-message.error { border-color: #ddb4b4; background: #fff7f5; color: var(--red); }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
.result-head h2 { margin: 0; font-size: 17px; }
.result-head span { padding: 3px 8px; border: 1px solid #b8d2c3; border-radius: 5px; color: var(--green); font-size: 11px; font-weight: 700; }
.point-badge b { margin-left: 5px; color: var(--red); }
.email-list { background: #fffdfa; }
.email-item { padding: 16px 18px; border-bottom: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--meta); }
.email-item:last-child { border-bottom: 0; }
.email-item.active { box-shadow: inset 3px 0 0 var(--blue); }
.email-item.completed { box-shadow: inset 3px 0 0 var(--green); }
.email-item.blocked, .email-item.failed { box-shadow: inset 3px 0 0 var(--red); }
.email-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.email-line code { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; }
.email-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.copy-icon { display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 7px; background: transparent; color: var(--accent); cursor: pointer; }
.copy-icon:hover { background: #f3eee8; }
.copy-toast { position: fixed; top: 24px; left: 50%; z-index: 20; padding: 9px 14px; transform: translateX(-50%); border: 1px solid #9fc6af; border-radius: 8px; background: #f7fff9; color: var(--green); box-shadow: 0 12px 30px rgb(23 24 20 / .12); font-size: 12px; }
.status-reason { margin: 9px 0 0; color: var(--red); font-size: 12px; text-align: right; }
.public-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.public-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--meta); }
.public-status.active { color: var(--blue); }
.public-status.active i { background: var(--blue); animation: status-pulse 1.2s ease-in-out infinite alternate; }
.public-status.completed { color: var(--green); }
.public-status.completed i { background: var(--green); }
.public-status.blocked, .public-status.failed { color: var(--red); }
.public-status.blocked i, .public-status.failed i { background: var(--red); }
@keyframes status-pulse { to { opacity: .35; } }
@media (max-width: 480px) {
  .redeem-shell { width: min(100% - 24px, 640px); padding-top: 34px; }
  .public-head h1 { font-size: 32px; }
  .access-card { padding: 18px; }
  .status-reason { text-align: left; }
}
