main.membership-page{width:min(1720px,calc(100% - 48px));border:0;background:transparent;padding:0;margin:44px auto}
#membership-dialog{box-sizing:border-box;width:min(1480px,94vw);height:min(880px,86dvh);max-width:96vw;max-height:92dvh;margin:auto;padding:0;border:1px solid #485452;border-radius:12px;background:#1c2021;color:#e9ebee;box-shadow:0 20px 80px #0008;font:15px/1.5 Inter,"Microsoft YaHei",sans-serif;color-scheme:dark;overflow:hidden}
#membership-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
#membership-dialog::backdrop{background:#0009}
.membership-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;border-bottom:1px solid #384240}
.membership-dialog-heading h2{margin:0;font:650 21px/1.3 Inter,"Microsoft YaHei",sans-serif}
.membership-dialog-heading button{width:32px;height:32px;padding:0;background:transparent;border:0;color:inherit;font-size:24px;cursor:pointer}
.membership-dialog-body{padding:0 20px 16px;overflow:auto;overscroll-behavior:contain;min-width:0}
.membership-dialog-body .membership-status:empty{display:none}
.membership-dialog-body .offer-grid{margin-top:16px}
.membership-dialog-body .offer-apply{cursor:pointer}
.membership-dialog-body [data-retry-membership][hidden]{display:none}
.membership-page h1{font-size:clamp(28px,3vw,42px);line-height:1.2;margin-bottom:13px}
.current-plan,.membership-footnote{color:#adbbb8}.offer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}
.offer{min-width:0;border:1px solid #3c4544;background:#242929;border-radius:12px;padding:20px 15px 14px}
.offer.current{border-color:#78aa98}.offer h2{margin:0 0 14px;font-size:18px}.offer-price{font-size:clamp(24px,2.1vw,34px);font-weight:650;line-height:1.25}
.offer-term{color:#a6b3ae;margin:4px 0 20px}.offer-state,.offer-apply{display:grid;place-items:center;width:100%;border-radius:5px;height:36px;font-size:14px}
.offer-state{background:#313837;color:#abbcb5}.offer-apply{background:#b3e6d3;border:0;color:#17392d;font-weight:650}
.offer ul{display:grid;gap:4px;list-style:none;margin:20px 0 0;padding:10px 0 0;border-top:1px solid #42504a}
.offer-feature{display:flex;align-items:baseline;gap:8px;border:0;padding:3px 0;font-size:15px;line-height:1.45}
.offer-feature.disabled span{color:#a4aaa8;text-decoration:line-through;text-decoration-thickness:1px}
.offer-feature b{width:12px;flex:none}.offer-feature b.yes{color:#9ae1bf}
@media(max-width:1100px){.offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.offer-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.offer{flex:0 0 min(80vw,310px);scroll-snap-align:start}main.membership-page{width:calc(100% - 24px)}}
