.member-main { min-height: calc(100vh - 50px); padding: 108px 20px 84px; background: radial-gradient(circle at 8% 12%,rgba(0,212,255,.07),transparent 24rem),radial-gradient(circle at 92% 88%,rgba(63,185,80,.06),transparent 24rem),#fff; }
.member-shell { width: min(100%,900px); margin: 0 auto; }
.member-heading { max-width: 690px; margin-bottom: 30px; }
.member-eyebrow { margin: 0 0 10px; color: #00d4ff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.member-heading h1 { margin: 0 0 12px; color: #0b1d2a; font-size: clamp(36px,6vw,56px); line-height: 1.06; letter-spacing: -.04em; }
.member-heading > p:last-child { color: #476575; font-size: 16px; line-height: 1.7; }
.member-loading,.member-error,.member-profile,.member-panel { border: 1px solid #dce8eb; border-radius: 18px; background: #fff; box-shadow: 0 20px 56px rgba(31,66,78,.1); }
.member-loading[hidden],.member-error[hidden],.member-workspace[hidden],.member-panel[hidden] { display: none !important; }
.member-loading { display: flex; min-height: 180px; align-items: center; justify-content: center; gap: 12px; color: #476575; }
.member-spinner { width: 20px; height: 20px; border: 2px solid #b8d8df; border-top-color: #00aeca; border-radius: 50%; animation: member-spin .8s linear infinite; }
@keyframes member-spin { to { transform: rotate(360deg); } }
.member-profile { padding: clamp(24px,5vw,44px); }
.member-account-stack { display: grid; gap: 22px; }
.member-account-section { min-width: 0; }
.member-workspace { min-width: 0; }
.member-tabs { display: inline-flex; max-width: 100%; margin: 0 0 18px; padding: 4px; border: 1px solid #dce8eb; border-radius: 12px; background: #edf5f5; }
.member-tab { min-height: 44px; padding: 0 22px; border: 0; border-radius: 8px; color: #476575; background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.member-tab.is-active { color: #fff; background: #0b1d2a; box-shadow: 0 5px 14px rgba(11,29,42,.16); }
.member-tab:focus-visible { outline: 3px solid rgba(0,185,218,.35); outline-offset: 2px; }
.member-panel { min-width: 0; padding: clamp(24px,5vw,44px); }
.member-panel-account { padding: 0; border: 0; background: transparent; box-shadow: none; }
.member-benefit-grid { display: grid; grid-template-columns: minmax(220px,1fr) minmax(290px,1.25fr) minmax(160px,.68fr); align-items: center; gap: clamp(18px,2.5vw,26px); }
.member-plan-summary { min-width: 0; }
.member-section-label { margin: 0 0 8px; color: #008ba5; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.member-subscription h2 { margin: 0; color: #0b1d2a; font-size: clamp(27px,3.5vw,34px); letter-spacing: -.025em; }
.member-status-badge { display: inline-flex; min-height: 28px; align-items: center; margin-top: 12px; padding: 0 11px; border-radius: 999px; color: #476575; background: #edf3f4; font-size: 12px; font-weight: 800; }
.member-status-badge.is-active { color: #0b6849; background: #e2f5eb; }
.member-status-badge.is-one-time { color: #0b6849; background: #e2f5eb; }
.member-status-badge.is-free { color: #086d7d; background: #e4f5f7; }
.member-status-badge.is-cancelled { color: #815314; background: #fff0d2; }
.member-status-badge.is-pending,.member-status-badge.is-syncing { color: #086d7d; background: #e4f5f7; }
.member-status-badge.is-unavailable { color: #7a5511; background: #fff3d7; }
.member-points { min-width: 0; padding: 18px 20px; border: 1px solid #dce8eb; border-radius: 13px; background: linear-gradient(145deg,#f7fbfb,#edf6f6); }
.member-points-heading { display: flex; min-width: 0; align-items: flex-start; flex-direction: column; gap: 5px; }
.member-points-heading span { color: #607987; font-size: 12px; font-weight: 800; }
.member-points-heading strong { max-width: 100%; color: #0b1d2a; font-size: clamp(13px,1.6vw,15px); line-height: 1.3; overflow-wrap: anywhere; }
.member-points-track { height: 8px; margin-top: 13px; overflow: hidden; border-radius: 999px; background: #d5e5e7; }
.member-points-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#00b9da,#3fb950); transition: width .35s ease; }
.member-points p { margin: 9px 0 0; color: #607987; font-size: 12px; line-height: 1.4; }
.member-subscription-actions { display: flex; align-items: stretch; justify-content: center; flex-direction: column; gap: 10px; }
.member-subscription-description { max-width: 680px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid #e4edef; color: #476575; line-height: 1.65; }
.member-subscription-period { margin: 10px 0 0; color: #14313e; font-size: 14px; font-weight: 700; }
.member-subscription-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #0b1d2a; border-radius: 9px; color: #fff; background: #0b1d2a; font: inherit; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.member-subscription-action[hidden] { display: none !important; }
.member-subscription-action:hover { background: #14313e; }
.member-subscription-action[data-action="cancel"] { border-color: #ccdadd; color: #294753; background: #fff; }
.member-subscription-action[data-action="cancel"]:hover { border-color: #b73737; color: #9b2929; background: #fff7f7; }
.member-subscription-message { margin: 16px 0 0; padding: 12px 14px; border-radius: 8px; color: #0b6849; background: #e8f7ef; font-size: 14px; font-weight: 700; }
.member-subscription-message.is-error { color: #8b2d2d; background: #fff0f0; }
.member-plan-picker-heading { max-width: 650px; margin-bottom: 26px; }
.member-plan-picker-heading h2 { margin: 0; color: #0b1d2a; font-size: clamp(28px,4vw,38px); line-height: 1.15; letter-spacing: -.025em; }
.member-plan-picker-heading > p:last-child { margin: 11px 0 0; color: #476575; line-height: 1.65; }
.member-catalog-status { padding: 42px 18px; color: #607987; text-align: center; }
.member-plan-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 20px; align-items: stretch; }
.member-plan-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 26px; border: 1px solid #dce8eb; border-radius: 16px; background: #fff; box-shadow: 0 14px 36px rgba(31,66,78,.07); }
.member-plan-card.is-recommended { padding: 25px; border: 2px solid #008ba5; }
.member-plan-badge { position: absolute; inset: 13px 13px auto auto; max-width: 44%; padding: 5px 9px; overflow: hidden; border-radius: 999px; color: #fff; background: #008ba5; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.member-plan-tag { max-width: 50%; margin: 0 0 7px; color: #008ba5; font-size: 12px; font-weight: 800; }
.member-plan-card h3 { margin: 0; padding-inline-end: 25%; color: #0b1d2a; font-size: 28px; line-height: 1.15; }
.member-plan-subtitle { min-height: 46px; margin: 9px 0 20px; color: #607987; line-height: 1.5; }
.member-plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.member-plan-price strong { color: #0b1d2a; font-size: 34px; line-height: 1; }
.member-plan-original { color: #718894; font-size: 13px; text-decoration: line-through; }
.member-plan-billing { min-height: 38px; margin: 6px 0 18px; color: #607987; font-size: 13px; }
.member-plan-capabilities { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; }
.member-plan-capabilities li { position: relative; padding: 8px 0 8px 25px; border-bottom: 1px solid #edf2f3; color: #294753; line-height: 1.45; }
.member-plan-capabilities li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #147d55; font-weight: 900; }
.member-plan-capabilities small { display: block; margin-top: 3px; color: #718894; }
.member-plan-choose { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #0b1d2a; border-radius: 9px; color: #fff; background: #0b1d2a; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }
.member-plan-choose:hover { color: #fff; border-color: #008ba5; background: #008ba5; }
.member-catalog-fallback { padding: 30px; border: 1px solid #efdcc6; border-radius: 14px; background: #fffaf3; text-align: center; }
.member-catalog-fallback p { margin: 0 0 18px; color: #705934; line-height: 1.6; }
.member-catalog-fallback .member-subscription-action { min-width: 160px; }
.member-dialog { inset: 0; width: min(92vw,620px); max-height: 88vh; margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 18px; color: #14313e; background: #fff; box-shadow: 0 28px 80px rgba(8,31,43,.28); }
.member-dialog::backdrop { background: rgba(7,18,24,.58); backdrop-filter: blur(3px); }
.member-dialog-card { padding: clamp(22px,5vw,36px); }
.member-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.member-dialog-heading h2 { margin: 0; color: #0b1d2a; font-size: clamp(24px,4vw,32px); line-height: 1.15; }
.member-dialog-card > p { color: #476575; line-height: 1.65; }
.member-dialog-close { width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 50%; color: #476575; background: #edf3f4; font-size: 25px; line-height: 1; cursor: pointer; }
.member-reasons { display: grid; gap: 9px; margin: 24px 0 18px; padding: 0; border: 0; }
.member-reasons legend,.member-field > span,.member-verification strong { margin-bottom: 9px; color: #14313e; font-size: 14px; font-weight: 800; }
.member-reason-option { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border: 1px solid #dce8eb; border-radius: 9px; background: #f8fbfb; cursor: pointer; }
.member-reason-option input { margin-top: 3px; accent-color: #00aeca; }
.member-inline-loading { color: #607987; font-size: 14px; }
.member-field { display: grid; margin-top: 16px; }
.member-field textarea,.member-field input { width: 100%; border: 1px solid #bdd1d6; border-radius: 9px; color: #14313e; background: #fff; font: inherit; }
.member-field textarea { min-height: 84px; padding: 11px 12px; resize: vertical; }
.member-field input { min-height: 46px; padding: 0 12px; }
.member-field textarea:focus,.member-field input:focus { outline: 3px solid rgba(0,185,218,.22); border-color: #00aeca; }
.member-verification { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 14px; border-radius: 10px; background: #edf5f5; }
.member-verification p { margin: 3px 0 0; color: #607987; font-size: 13px; line-height: 1.45; }
.member-code-status { margin: 10px 0 0; padding: 10px 13px; border: 1px solid #b9e4cd; border-radius: 8px; color: #12633f; background: #effaf4; font-size: 14px; font-weight: 750; line-height: 1.45; }
.member-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.member-primary-button,.member-secondary-button,.member-danger-button { min-height: 42px; padding: 0 16px; border-radius: 8px; font: inherit; font-weight: 800; cursor: pointer; }
.member-primary-button { border: 1px solid #0b1d2a; color: #fff; background: #0b1d2a; }
.member-secondary-button { border: 1px solid #bdd1d6; color: #14313e; background: #fff; }
.member-danger-button { border: 1px solid #b73737; color: #fff; background: #b73737; }
.member-primary-button:disabled,.member-secondary-button:disabled,.member-danger-button:disabled { opacity: .55; cursor: wait; }
.member-dialog-error { margin-top: 14px; padding: 11px 13px; border-radius: 8px; color: #8b2d2d !important; background: #fff0f0; font-size: 14px; font-weight: 700; }
.member-profile-header { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #d7eaee; }
.member-profile-avatar { display: grid; width: 56px; height: 56px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #071218; background: linear-gradient(135deg,#00d4ff,#3fb950); font-weight: 800; line-height: 1; }
.member-profile-header h2 { margin: 0 0 3px; color: #0b1d2a; font-size: 23px; }
.member-profile-header p { color: #607987; font-size: 13px; }
.member-account-list { display: grid; margin: 24px 0 0; overflow: hidden; border: 1px solid #dce7ea; border-radius: 12px; background: #dce7ea; }
.member-account-list > div { display: grid; grid-template-columns: minmax(110px,.45fr) minmax(0,1fr) auto; align-items: center; gap: 18px; min-width: 0; padding: 17px 18px; background: #f8fafb; }
.member-account-list > div + div { border-top: 1px solid #dce7ea; }
.member-account-list dt { color: #607987; font-size: 12px; font-weight: 750; }
.member-account-list dd { overflow-wrap: anywhere; color: #14313e; font-size: 15px; font-weight: 700; }
.member-account-list button { min-height: 36px; padding: 0 13px; border: 1px solid #bdd1d6; border-radius: 8px; color: #14313e; background: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.member-account-list button:hover { border-color: #008ba5; color: #00788e; }
.member-security-header h2 { margin: 0; color: #0b1d2a; font-size: 25px; }
.member-security-header > div > p:last-child { margin: 7px 0 0; color: #607987; font-size: 13px; line-height: 1.55; }
.member-security-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 18px; border: 1px solid #dce7ea; border-radius: 12px; background: #f8fafb; }
.member-security-row strong,.member-security-row span { display: block; }
.member-security-row strong { color: #14313e; font-size: 15px; }
.member-security-row span { margin-top: 5px; color: #718894; font-size: 13px; }
.member-account-dialog .member-field input { min-height: 46px; padding: 0 13px; }
.member-email-verification { margin-top: 18px; }
.member-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 24px 0 0; overflow: hidden; border: 1px solid #dce7ea; border-radius: 12px; background: #dce7ea; }
.member-details > div { min-width: 0; padding: 17px 18px; background: #f8fafb; }
.member-details dt { margin-bottom: 4px; color: #607987; font-size: 12px; font-weight: 700; }
.member-details dd { overflow-wrap: anywhere; color: #14313e; font-size: 15px; font-weight: 650; }
.member-note { margin-top: 17px; color: #607987; font-size: 12px; line-height: 1.6; }
.member-error { padding: 34px; }
.member-error h2 { margin-bottom: 8px; color: #0b1d2a; font-size: 23px; }
.member-error p { margin-bottom: 18px; color: #476575; }
.member-error button { min-height: 42px; padding: 0 16px; border: 1px solid #00b9da; border-radius: 8px; color: #071218; background: #00d4ff; font-weight: 800; cursor: pointer; }
@media (prefers-reduced-motion:reduce) { .member-spinner { animation: none; } }
@media (max-width:820px) { .member-benefit-grid { grid-template-columns: minmax(0,1fr) minmax(240px,1fr); } .member-subscription-actions { grid-column: 1/-1; align-items: stretch; flex-direction: row; justify-content: flex-end; } }
@media (max-width:640px) { .member-main { padding: 82px 12px 50px; } .member-heading { padding: 0 8px; } .member-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; } .member-tab { padding-inline: 10px; } .member-details { grid-template-columns: 1fr; } .member-profile,.member-panel { border-radius: 15px; } .member-benefit-grid { grid-template-columns: 1fr; gap: 20px; } .member-points { padding: 16px; } .member-subscription-actions { grid-column: auto; display: grid; grid-template-columns: 1fr; } .member-subscription-description { margin-top: 22px; } .member-plan-picker-heading { margin-bottom: 20px; } .member-plan-card { padding: 22px; } .member-plan-card.is-recommended { padding: 21px; } .member-account-list > div { grid-template-columns: 1fr auto; gap: 7px 12px; } .member-account-list dd { grid-column: 1/-1; grid-row: 2; } .member-account-list button { grid-column: 2; grid-row: 1; } .member-security-row { align-items: stretch; flex-direction: column; } .member-security-row button { width: 100%; } .member-verification { align-items: flex-start; flex-direction: column; } .member-dialog-actions { display: grid; grid-template-columns: 1fr; } .member-dialog-actions button { width: 100%; } }
