.login-page{margin:0;background:#171913;color:#f5f4e9;font-family:Inter,"Microsoft YaHei UI",sans-serif}
.login-page *,.membership *{box-sizing:border-box}
.login-shell{min-height:100svh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr)}
.login-photo{position:relative;overflow:hidden;background:#302d20}
.login-photo img{position:absolute;width:100%;height:100%;object-fit:cover}
.login-form{align-self:center;width:min(100%,500px);margin:auto;padding:48px clamp(24px,4vw,64px)}
.login-brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:20px}
.login-form h1{font:normal clamp(42px,5vw,76px)/1.13 "Songti SC",SimSun,serif;margin:48px 0 16px}
.login-form p,.membership .fine{color:#b9bead;line-height:1.6}
.login-form label{display:block;font-size:14px;margin:22px 0 6px}
.login-form input{display:block;background:#22251b;color:#fff;border:1px solid #505643;border-radius:5px;width:100%;padding:13px;font:inherit;margin-top:8px}
.login-form input[type=checkbox]{display:inline;width:1.1em;height:1.1em;margin:0 .35em 0 0;vertical-align:middle;accent-color:#dfee8b}
.login-form button,.membership button{font:inherit;cursor:pointer}
.code-row{display:flex;gap:9px;align-items:stretch}.code-row input{min-width:0}.code-row button{white-space:nowrap;margin-top:8px;background:none;color:#dfee8b;border:1px solid #596047;border-radius:5px;padding:0 12px}
.login-submit{width:100%;background:#dfee8b;color:#202318;font-weight:700!important;border:0;border-radius:5px;margin-top:22px;padding:14px}.login-form button:disabled{opacity:.56}
.login-form [role=status]{min-height:1.6em}
.login-form .invite-choice{color:#dfee8b;background:none;border:0;padding:6px 0;text-align:left}
@media(max-width:720px){
  .login-shell{grid-template-columns:1fr;grid-template-rows:20vh 1fr}
  .login-photo img{object-position:center 58%}
  .login-form{padding:28px 24px;align-self:start}
  .login-form h1{margin:24px 0 10px;font-size:40px}
}

/* The pricing spread uses the same ink as the masthead on a warm paper ground. */
body:has(.membership) { background: #f2f0e9; }
.fl-page:has(.membership) {
  --fl-muted: #555b51;
  --fl-lime: #405333;
  color: #222820;
  color-scheme: light;
  max-width: 1410px;
  padding-top: clamp(25px,3.3vw,54px);
}
.membership { --rule: #cfcec4; --paper: #fbfaf6; --ink: #222820; }
.membership :is(button,a,summary):focus-visible { outline: 3px solid #476a36; outline-offset: 3px; }
.member-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px,2.35vw,38px); }
.member-title { min-width: 0; }
.member-title p { display: flex; align-items: center; gap: 7px; color: #596053; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.member-title p svg { width: 15px; height: 15px; }
.member-title h1 { font: 600 clamp(38px,4.6vw,69px)/1.15 var(--serif); letter-spacing: -.06em; margin-top: 9px; }
.member-terms { display: inline-flex; flex: none; gap: 2px; border: 1px solid #c6c8bd; border-radius: 32px; padding: 3px; background: #e6e6dc; }
.member-terms button { border: 0; min-height: 40px; padding: 0 24px; background: transparent; color: #454b40; font-size: 14px; border-radius: 28px; }
.member-terms [aria-pressed=true] { color: #f8f8ef; background: #2c3428; box-shadow: 0 1px 3px #1d27162a; }

.member-plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.6vw,24px); align-items: stretch; }
.member-pass, .dialog-cover { --position: 0%; --base: #cba569; }
.platinum { --position: 50%; --base: #b9bcb0; }
.diamond { --position: 100%; --base: #b9d4d8; }
.member-pass { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; grid-template-columns: 100%; min-width: 0;
  background: var(--paper); border-radius: 11px; overflow: hidden; box-shadow: 0 0 0 1px #2b312318,0 5px 15px -9px #2027193a; }
.pass-picture { background: var(--base) url('/art/member-cinema.webp') 50% var(--position) / 100% 300% no-repeat; }
.member-pass > .pass-picture { grid-area: 1/1; aspect-ratio: 2 / 1; }
.member-pass h2 { align-self: start; grid-area: 1/1; z-index: 1; justify-self: start; padding: clamp(15px,1.6vw,26px);
  font: 600 clamp(29px,2.6vw,43px)/1 var(--serif); letter-spacing: -.055em; color: #191c17; }
.member-pass h2 small { display: block; padding-top: 8px; font: 600 13px/1.2 var(--sans); letter-spacing: .16em; }
.pass-cost { grid-area: 2/1; padding: clamp(19px,2vw,30px) clamp(16px,1.9vw,30px) 0; }
.pass-price { display: flex; align-items: baseline; gap: 5px; color: var(--ink); white-space: nowrap; }
.pass-price b { font: 600 clamp(36px,3.6vw,58px)/1 var(--sans); letter-spacing: -.065em; font-variant-numeric: lining-nums tabular-nums; }
.pass-price > small { font: 500 clamp(17px,1.4vw,23px)/1 var(--sans); }
.pass-price > span { color: #595e53; font: 400 14px/1.2 var(--sans); margin-left: 2px; }
.membership p.pass-savings { margin-top: 8px; font-size: 13px; color: #536549; }
.pass-quota { grid-area: 3/1; margin: 19px clamp(16px,1.9vw,30px) 0; padding: 15px 0 17px; border-top: 1px solid #ddded4;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.pass-quota dt { font-size: 12px; color: #5c6257; margin-bottom: 3px; }
.pass-quota dd { margin: 0; font: 550 clamp(20px,1.7vw,28px)/1.25 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.pass-quota dd small { font: 400 12px/1 var(--sans); margin-left: 4px; }
.pass-open { grid-area: 4/1; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  color: #f6f5ec; background: #2c3329; border: 1px solid #2c3329; border-radius: 6px;
  margin: 0 clamp(16px,1.9vw,30px) clamp(18px,1.8vw,26px); padding: 9px 15px; min-height: 44px; font-size: 14px; }
.pass-open:hover, .dialog-pay:hover { background: #414e39; }
.member-pass .pass-open:focus-visible { outline-offset: -4px; outline-color: #e4f49c; }
.pass-open svg { width: 19px; }
.pass-includes { margin: 25px 0 0; padding: 17px 0; border-block: 1px solid var(--rule);
  display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(20px,3vw,50px); row-gap: 9px; }
.pass-includes h2 { font: 600 15px/1.5 var(--sans); }
.pass-includes p { display: flex; align-items: center; gap: 7px; font-size: 14px; color: #434b3e; }
.pass-includes svg { width: 16px; }
.member-rules { margin-top: 10px; color: #565f51; font-size: 13px; }
.member-rules summary { width: fit-content; padding: 8px 0; cursor: pointer; }
.member-rules p { margin: 5px 0; }
.member-account, .member-resume { margin: 0 0 20px; padding: 15px 18px; border: 1px solid var(--rule); border-radius: 8px; }
.member-account > div, .member-resume { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.member-account b { font-size: 14px; color: #45533b; }
.member-account p { color: #596152; font-size: 13px; }
.member-resume { justify-content: space-between; background: #e9ebe0; font-size: 14px; }
.member-resume span { min-width: 0; overflow-wrap: anywhere; }
.member-resume a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.member-history { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.member-history h2 { margin-bottom: 12px; font: 600 24px/1.3 var(--serif); }
.member-history > p, .member-order time { color: #596152; font-size: 13px; }
.member-order { border-bottom: 1px solid var(--rule); padding: 12px 0; display: flex; gap: 15px; justify-content: space-between; flex-wrap: wrap; }
.member-actions { display: flex; gap: 10px; margin-top: 12px; }
.member-actions button, .member-actions button:hover { border-color: #b3b9a8; color: #333d2c; background: transparent; }

.pass-dialog { color: var(--ink); color-scheme: light; background: var(--paper); border: 0; padding: 0; border-radius: 12px;
  width: min(430px,calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; box-shadow: 0 25px 90px #121a1359; }
.pass-dialog::backdrop { background: #151a15a6; }
.dialog-cover { position: relative; overflow: hidden; min-height: 110px; display: flex; align-items: center; padding: 20px 24px; }
.dialog-cover .pass-picture { position: absolute; inset: 0; background-size: 100% auto; }
.dialog-cover h2 { position: relative; font: 600 31px/1.2 var(--serif); color: #20241b; }
.dialog-close { position: absolute; right: 10px; top: 10px; height: 40px; width: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 0; background: #fafaf2ed; color: var(--ink); font-size: 24px!important; }
.dialog-body { padding: 23px; }
.dialog-body .dialog-period { font-size: 13px; color: #596152; margin-bottom: 8px; }
.dialog-facts { margin: 17px 0; padding: 11px 0; border-block: 1px solid var(--rule); }
.dialog-facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; }
.dialog-facts dt, .dialog-note { color: #596152; }
.dialog-facts dd { margin: 0; text-align: right; }
.dialog-note, .payment-issue { font-size: 13px; line-height: 1.6; }
.payment-issue { color: #923e26; margin-top: 10px!important; }
.dialog-pay { width: 100%; min-height: 46px; margin-top: 17px; border: 0; border-radius: 6px; color: #fff; background: #2c3329; }

@media (max-width: 760px) {
  .fl-page:has(.membership) { padding: 24px clamp(14px,4vw,24px) 90px; }
  .member-heading { gap: 8px; margin-bottom: 18px; }
  .member-title p { font-size: 11px; }
  .member-title h1 { font-size: 36px; }
  .member-terms button { min-height: 35px; padding-inline: 14px; font-size: 13px; }
  .member-plans { grid-template-columns: 1fr; gap: 12px; }
  .member-pass { grid-template-columns: minmax(0,1fr) 34%; grid-template-rows: auto auto auto; border-radius: 9px; }
  .member-pass > .pass-picture { grid-area: 1/2/4/3; aspect-ratio: auto; background-size: auto 300%; background-position-x: 72%; }
  .member-pass h2 { grid-area: 1/1; font-size: 23px; padding: 14px 14px 0; }
  .member-pass h2 small { display: inline; font: inherit; letter-spacing: inherit; padding: 0; }
  .pass-cost { grid-area: 2/1; padding: 9px 14px 0; }
  .pass-price b { font-size: 35px; }
  .pass-price > small { font-size: 15px; }
  .pass-price > span { font-size: 12px; }
  .membership p.pass-savings { font-size: 12px; margin-top: 4px; }
  .pass-quota { grid-area: 3/1; margin: 9px 14px 0; padding: 7px 0 12px; gap: 5px; }
  .pass-quota dt { font-size: 11px; margin: 0; }
  .pass-quota dd { font-size: 18px; }
  .pass-quota dd small { font-size: 11px; }
  .pass-open { grid-area: 3/2; align-self: end; justify-self: end; margin: 0 8px 8px 0; border-radius: 24px;
    background: #f8f8edee; color: #252d21; border-color: transparent; min-height: 38px; padding: 7px 10px; font-size: 12px!important; }
  .pass-open:hover { background: white; }
  .pass-open svg { width: 15px; height: 15px; }
  .pass-includes { margin-top: 18px; padding: 12px 0; display: grid; grid-template-columns: auto 1fr; gap: 5px 18px; }
  .pass-includes h2 { grid-row: span 3; align-self: start; }
  .pass-includes p { font-size: 13px; }
  .member-account, .member-resume { padding: 10px 13px; font-size: 13px; margin-bottom: 14px; }
}
@media (max-width:360px) {
  .member-title p { max-width: 163px; }
  .member-terms button { padding-inline: 11px; }
  .pass-price b { font-size: 31px; }
  .pass-open { gap: 3px; padding-inline: 7px; }
}
