* { box-sizing: border-box; }
.pm-wrap { max-width: 1180px; margin: 0 auto; padding: 22px 14px 42px; color: #24352c; }
.pm-hero { display: flex; align-items: stretch; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, #0f5132 0%, #1c7c54 55%, #2f9e70 100%); border-radius: 22px; padding: 28px 30px; color: #fff; box-shadow: 0 16px 40px rgba(15, 81, 50, .22); }
.pm-hero-main { max-width: 680px; }
.pm-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.pm-title { margin: 7px 0 8px; font-size: 30px; line-height: 1.2; font-weight: 800; color: #fff; }
.pm-sub { margin: 0; font-size: 14px; line-height: 1.8; opacity: .9; }
.pm-balance { min-width: 180px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; border-left: 1px solid rgba(255,255,255,.25); padding-left: 22px; }
.pm-balance-label { font-size: 12px; opacity: .82; }
.pm-balance-value { font-size: 42px; line-height: 1.1; color: #fff; margin: 5px 0 8px; }
.pm-link { color: #066a46; font-weight: 700; text-decoration: none; }
.pm-hero .pm-link { color: #d8ffe9; }
.pm-alert { margin: 16px 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.pm-alert-success { background: #e8f7ef; color: #146c43; border: 1px solid #b7e4cc; }
.pm-alert-error { background: #fff0f0; color: #b42318; border: 1px solid #f5c2c0; }
.pm-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.pm-section-head h2 { margin: 0; font-size: 21px; color: #18392b; }
.pm-muted { color: #718078; font-size: 12px; }
.pm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pm-card { background: #fff; border: 1px solid #e4eee8; border-radius: 18px; padding: 20px; box-shadow: 0 8px 22px rgba(31, 76, 54, .06); }
.pm-card-head { display: flex; justify-content: space-between; align-items: center; }
.pm-type { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; color: #146c43; background: #e8f7ef; }
.pm-type-medal { color: #8a5a00; background: #fff4d6; }
.pm-type-vip { color: #854d0e; background: #fff1e6; }
.pm-type-source { color: #1d4ed8; background: #edf3ff; }
.pm-card-image { font-size: 11px; color: #8b9a92; }
.pm-card-title { margin: 14px 0 8px; font-size: 18px; line-height: 1.35; color: #18392b; }
.pm-card-desc { min-height: 42px; margin: 0 0 14px; color: #63736a; font-size: 13px; line-height: 1.7; }
.pm-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px dashed #e6efe9; }
.pm-price { font-size: 22px; font-weight: 800; color: #0f7a52; }
.pm-price small { font-size: 12px; font-weight: 500; color: #718078; }
.pm-stock { font-size: 12px; color: #63736a; }
.pm-stock-out { color: #b42318; }
.pm-cooldown { margin-top: 8px; font-size: 12px; color: #8a5a00; }
.pm-card-action { margin-top: 16px; }
.pm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 15px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
.pm-btn-primary { background: #147a54; color: #fff; }
.pm-btn-primary:hover { background: #0f6243; color: #fff; }
.pm-btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.pm-btn-ghost { background: #f5fbf7; color: #0f6243; border-color: #b7e4cc; margin-left: 6px; }
.pm-redeemed { display: inline-flex; align-items: center; color: #63736a; font-size: 13px; margin-right: 6px; }
.pm-redeem-form { display: inline; }
.pm-my { margin-top: 22px; }
.pm-my .pm-card-head { margin-bottom: 10px; }
.pm-my h2 { margin: 0; font-size: 19px; }
.pm-table-wrap { overflow-x: auto; }
.pm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pm-table th, .pm-table td { padding: 11px 10px; border-bottom: 1px solid #edf3ee; text-align: left; white-space: nowrap; }
.pm-table th { color: #718078; font-weight: 600; background: #f7fbf8; }
.pm-empty { padding: 34px 18px; text-align: center; color: #718078; border: 1px dashed #cfe2d4; border-radius: 14px; background: #fbfffc; }
.pm-empty-small { padding: 20px; border: 0; }
.pm-note { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: #f5fbf7; border: 1px solid #dceee2; color: #506159; font-size: 13px; line-height: 1.8; }
.pm-note strong { color: #18392b; }
.pm-note ul { margin: 8px 0 0; padding-left: 20px; }
.pm-user-label { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 12px; line-height: 1.6; vertical-align: middle; }
.pm-user-title { color: #146c43; background: #e8f7ef; }
.pm-user-medal { color: #8a5a00; background: #fff4d6; }
.pm-my-labels { margin-top: 12px; }
@media (max-width: 900px) { .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
    .pm-wrap { padding: 12px 4px 30px; }
    .pm-hero { flex-direction: column; padding: 22px; }
    .pm-balance { align-items: flex-start; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding: 16px 0 0; }
    .pm-grid { grid-template-columns: 1fr; }
    .pm-title { font-size: 25px; }
}
