.rewards-page {
    background: #000000;
    min-height: 60vh;
    padding: calc(59px + var(--spacing-lg)) 0 var(--spacing-xl);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
}
.rewards-page .rewards-wrap {
    max-width: 1600px;
    padding: 0 clamp(16px, 3.5vw, 48px);
    /* keep the content clear of the fixed back button in the left gutter */
    padding-left: calc(clamp(1.5rem, 2vw, 2rem) + 40px + 1.5rem);
}
.rewards-back {
    position: fixed;
    top: calc(59px + 1.5rem);
    left: clamp(1.5rem, 2vw, 2rem);
    z-index: 2001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-base);
}
.rewards-back:hover {
    background: rgba(255, 255, 255, 0.15);
}
.rewards-back svg {
    width: 20px;
    height: 20px;
}
.rewards-title {
    color: #d4d4d4;
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 0.5rem;
}
.rewards-description {
    max-width: 48rem;
    margin: 0;
    color: #c8c8c8;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
}
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.support-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    color: #ffffff;
}
.support-card-price {
    font-family: 'BebasNeue', sans-serif;
    font-size: 2.75rem;
    line-height: 1;
}
.support-card-name {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.support-card-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
}
.support-card-list li::before {
    content: '— ';
    color: rgba(255, 255, 255, 0.4);
}
.support-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.5rem 1rem;
    min-height: 40px;
    box-sizing: border-box;
    border-radius: 6px;
    background: #ffffff;
    color: #0a0f1a;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background var(--transition-fast);
}
.support-card-btn:hover {
    background: #e8e8e8;
}
@media (max-width: 1100px) {
    .rewards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .rewards-grid {
        grid-template-columns: 1fr;
    }
}
.memo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 4rem;
    align-items: start;
}
.memo-column {
    max-width: 840px;
    margin: 0;
}
.memo-toc {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding-right: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.memo-toc::-webkit-scrollbar { width: 4px; }
.memo-toc::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 2px; }
.memo-toc-title {
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.memo-toc-nav {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.memo-toc-link {
    display: block;
    margin-left: -1px;
    padding: 0.4rem 0.9rem;
    border-left: 1px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.memo-toc-link:hover {
    color: #ffffff;
}
.memo-toc-link.active {
    color: #ffffff;
    font-weight: 600;
    border-left-color: #ffffff;
}
@media (max-width: 1000px) {
    .memo-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
    .memo-toc {
        position: static;
        order: -1;
        max-height: 14rem;
    }
}
.pp-h { scroll-margin-top: 79px; }
.pp-sub { margin: 1.25rem 0 0.4rem; color: #ffffff; font-size: 0.95rem; font-weight: 700; }

ol.pp-list { padding-left: 1.5rem; }
.pp-table-wrap { margin: 0.5rem 0 1.25rem; overflow-x: auto; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.pp-table th, .pp-table td { padding: 0.65rem 0.9rem; text-align: left; vertical-align: top; border: 1px solid rgba(255, 255, 255, 0.08); }
.pp-table th { background: rgba(255, 255, 255, 0.05); color: #ffffff; font-weight: 700; }
.pp-table td { color: #c8c8c8; }
.pp-table td:first-child { color: #ffffff; font-weight: 600; white-space: nowrap; }
.pp-part { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.pp-part + .pp-h { margin-top: 0.75rem; }
.pp-body { margin-top: var(--spacing-md); }
.pp-h { margin: 2.25rem 0 0.75rem; color: #d4d4d4; font-family: 'BebasNeue', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.1; }
.pp-p { margin: 0 0 0.9rem; color: #c8c8c8; font-size: 1rem; line-height: 1.7; }
.pp-tight { margin-bottom: 0.2rem; }
.pp-p a, .pp-list a { color: #ffffff; text-decoration: underline; }
.pp-list { margin: 0 0 1rem; padding-left: 1.25rem; color: #c8c8c8; font-size: 1rem; line-height: 1.7; }
.pp-list li { margin-bottom: 0.4rem; }
.pp-list strong { color: #ffffff; }
@media (max-width: 768px) {
    .rewards-back {
        display: none;
    }
    .rewards-page .rewards-wrap {
        padding-left: clamp(16px, 3.5vw, 48px);
    }
}
.pp-related { margin-top: 1rem; }

/* Mobile: centered page title */
@media (max-width: 600px) {
    .rewards-title { text-align: center; font-size: 3rem; line-height: 1.1; }
    .pp-h { font-size: 2.25rem; }
    .pp-h, .pp-sub, .pp-part, .pp-p, .memo-toc-title, .memo-toc-link { text-align: center; }
    .pp-list { list-style: none; padding-left: 0; text-align: center; }
}
