@font-face { font-family: 'Unloop Manrope'; src: url('/fonts/Manrope-Variable.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
body { background: #19172c; color: #f3f0ff; }
.membership { font-family: 'Unloop Manrope', sans-serif; overflow-wrap: break-word; }
.membership { width: min(100% - 40px, 480px); margin: 0 auto; padding: max(30px, env(safe-area-inset-top)) 0 max(40px, env(safe-area-inset-bottom)); }
.membership-brand { display: flex; justify-content: space-between; align-items: baseline; text-decoration: none; color: inherit; font-size: 22px; font-weight: 700; margin-bottom: 56px; }
.membership-brand span { font-size: 13px; font-weight: 500; color: #c1b9d5; }
.membership h1 { font-size: clamp(36px, 9vw, 48px); line-height: 1.12; letter-spacing: -0.04em; margin: 0 0 22px; }
.membership-intro { color: #d4cde1; font-size: 17px; line-height: 1.6; max-width: 35ch; }
.membership-price { display: flex; gap: 12px; align-items: baseline; margin-top: 28px; }
.membership-price strong { font-size: 42px; font-weight: 600; letter-spacing: -0.03em; }
.membership-price span { color: #d4cde1; font-size: 14px; }
.membership-terms, .membership-privacy, .membership-note { font-size: 13px; line-height: 1.65; color: #c1b9d5; }
.membership-panel { border-top: 1px solid #49405d; border-bottom: 1px solid #49405d; padding: 24px 0; margin: 26px 0 20px; display: flex; flex-direction: column; gap: 14px; }
.membership-panel h2 { color: #f3f0ff; margin: 0; font-size: 18px; }
#membershipStatus { color: #d4cde1; font-size: 14px; line-height: 1.6; margin: 0; }
.membership-age { display: flex; gap: 10px; align-items: center; font-size: 16px; min-height: 44px; }
.membership-age input { flex: none; width: 20px; height: 20px; accent-color: #c6aff0; }
.membership-consent { display: flex; flex-direction: column; gap: 4px; }
.membership-consent .membership-age { align-items: flex-start; font-size: 14px; line-height: 1.55; }
.membership-consent .membership-age input { margin-top: 1px; }
.membership-consent .membership-note { margin: 0 0 0 37px; }
.membership-consent a, .membership-legal-links a { color: #d9c5fc; text-underline-offset: 3px; }
.membership-panel .button { text-align: center; min-height: 48px; text-decoration: none; justify-content: center; }
.membership-panel .button-primary { background: #cfbbf3; color: #21172f; }
.membership-panel .button-secondary { background: transparent; border: 1px solid #6f6185; color: #f3f0ff; }
.membership-link { background: transparent; border: 0; color: #d9c5fc; font: inherit; font-size: 14px; padding: 10px 0; min-height: 44px; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.membership-withdraw-form { display: flex; flex-direction: column; gap: 12px; }
.membership-withdraw-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #d4cde1; }
.membership-withdraw-form input { min-height: 44px; border-radius: 10px; border: 1px solid #6f6185; background: #221f38; color: #f3f0ff; font: inherit; font-size: 16px; padding: 8px 12px; }
.membership-withdraw-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; background: #221f38; border-radius: 10px; padding: 12px; margin: 0; color: #f3f0ff; -webkit-user-select: all; user-select: all; }
.membership-error { color: #ffc4d0; font-weight: 600; }
.legal .membership-brand { margin-bottom: 36px; }
.legal h1 { font-size: clamp(30px, 8vw, 40px); }
.legal h2 { color: #f3f0ff; font-size: 19px; margin: 36px 0 10px; }
.legal p, .legal li { color: #d4cde1; font-size: 15px; line-height: 1.65; }
.legal strong { color: #f3f0ff; }
.legal a { color: #d9c5fc; text-underline-offset: 3px; }
.legal-meta { font-size: 13px !important; color: #c1b9d5 !important; }
.legal-list, .legal ul { padding-left: 22px; }
.legal-list > li + li { margin-top: 14px; }
.legal ul li { margin-top: 8px; }
.legal code { font-size: 13px; }
.legal .legal-action { display: flex; color: #21172f; background: #cfbbf3; min-height: 48px; text-decoration: none; justify-content: center; align-items: center; }
.legal-form { background: #221f38; border-radius: 12px; padding: 4px 16px; }
.legal-fill { background: #ffe08a; color: #21172f; padding: 0 4px; border-radius: 4px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 40px; padding-top: 16px; border-top: 1px solid #49405d; font-size: 14px; }
.legal-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.legal-nav a[aria-current="page"] { color: #f3f0ff; text-decoration: none; font-weight: 600; }
.membership [hidden] { display: none !important; }
.membership :focus-visible { outline: 3px solid #e8dafa; outline-offset: 4px; }
.membership button:disabled { opacity: 0.55; cursor: default; }
@media (prefers-reduced-motion: reduce) { .membership * { transition: none !important; } }
