/* Neuron Pro: the paywall (FlashcardPaywallCard) and Settings. */
.app-pro { background: linear-gradient(180deg, rgba(46, 97, 209, 0.1), rgba(46, 97, 209, 0) 50%, rgba(46, 97, 209, 0.04)), #fff; }
.pw { position: absolute; inset: 0; overflow: hidden; }
.pw-col { position: absolute; left: 22px; right: 22px; top: 92px; display: flex; flex-direction: column; align-items: stretch; }
.pw-brand { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pw-brand b { font-size: 34px; font-weight: 800; color: #17171f; letter-spacing: -0.01em; }
.pw-brand em { padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: #fff; background: linear-gradient(135deg, var(--acc), var(--deep)); }
.pw-col h4 { margin-top: 18px; text-align: center; font-size: 26px; font-weight: 800; color: #17171f; }
.pw-sub { margin-top: 8px; text-align: center; font-size: 14px; color: rgba(23, 23, 31, 0.56); }
.pw-m { margin-top: 26px; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; color: rgba(23, 23, 31, 0.5); }
.pw-chips { display: flex; gap: 8px; margin-top: 10px; }
.pw-chips span { flex: 1; padding: 10px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(30, 50, 110, 0.06); display: flex; flex-direction: column; gap: 2px; }
.pw-chips b { font-size: 13px; font-weight: 700; color: #17171f; }
.pw-chips small { font-size: 10px; color: rgba(23, 23, 31, 0.45); }
.pw-ben { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.pw-ben li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #17171f; }
.pw-ben .sym { width: 18px; height: 18px; color: var(--acc); }
.pw-plan { position: relative; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: #fff;
  box-shadow: inset 0 0 0 calc(1px + var(--sel, 0) * 1px) color-mix(in srgb, var(--acc) calc(var(--sel, 0) * 100%), rgba(0, 0, 0, 0.1)), 0 6px 16px rgba(30, 50, 110, calc(0.04 + var(--sel, 0) * 0.08)); }
.pw-w { margin-top: 12px; }
.pw-badges { display: flex; gap: 6px; margin-bottom: 8px; }
.pw-badges i { padding: 3px 8px; border-radius: 99px; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; color: #fff; background: var(--acc); }
.pw-badges i.s { color: var(--acc); background: rgba(46, 97, 209, 0.12); }
.pw-row { display: flex; align-items: baseline; gap: 8px; padding-right: 30px; }
.pw-row b { font-size: 18px; font-weight: 700; color: #17171f; }
.pw-row span { font-size: 14px; color: rgba(23, 23, 31, 0.55); }
.pw-row em { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 800; color: var(--acc); }
.pw-plan > small { display: block; margin-top: 6px; font-size: 11.5px; color: rgba(23, 23, 31, 0.45); }
.pw-radio { position: absolute; right: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(46, 97, 209, var(--sel, 0)); box-shadow: inset 0 0 0 1.6px color-mix(in srgb, var(--acc) calc(var(--sel, 0) * 100%), rgba(0, 0, 0, 0.18)); }
.pw-radio .sym { width: 13px; height: 13px; opacity: var(--sel, 0); }
.pw-y .pw-radio { top: 50%; }
.pw-go { margin-top: 18px; height: 54px; border-radius: 27px; display: grid; place-items: center; font-size: 17px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--acc), var(--deep)); box-shadow: 0 10px 24px rgba(46, 97, 209, 0.32); }
.pw-foot { margin-top: 12px; text-align: center; font-size: 11.5px; color: rgba(23, 23, 31, 0.5); }
.pw-legal { margin-top: 10px; text-align: center; font-size: 10px; line-height: 1.35; color: rgba(23, 23, 31, 0.36); }
.pw-links { margin-top: 12px; display: flex; justify-content: center; gap: 28px; font-size: 11px; color: rgba(23, 23, 31, 0.45); }
.pw-restore { margin-top: 12px; text-align: center; font-size: 11px; color: rgba(23, 23, 31, 0.45); }

/* Settings */
.pw-set { background: #f2f5fa; }
.ps-col { position: absolute; left: 22px; right: 22px; top: 64px; display: flex; flex-direction: column; gap: 14px; }
.ps-sub { font-size: 14px; color: var(--ink2); }
.ps-card { padding: 14px 16px 6px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; }
.ps-card > b { font-size: 16px; font-weight: 600; }
.ps-card > small { font-size: 10px; font-weight: 800; color: var(--ink3); margin: 2px 0 6px; }
.ps-card p { height: 46px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); font-size: 14px; }
.ps-card p:first-of-type { border-top: 0; }
.ps-card p > .sym { width: 18px; height: 18px; color: var(--acc); --knock: #fff; }
.ps-card p span { flex: 1; display: flex; flex-direction: column; }
.ps-card p span small { font-size: 10px; font-weight: 800; color: var(--ink3); }
.ps-card em { font-style: normal; color: var(--ink2); }
.ps-card em.ph { color: #b9b9c0; }
.ps-card em.n { font-size: 17px; font-weight: 800; color: var(--ink); min-width: 36px; text-align: center; }
.ps-card .c { width: 11px !important; height: 11px !important; color: var(--ink3) !important; }
.ps-step { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 17px; font-weight: 700; color: var(--acc); background: rgba(46, 97, 209, 0.1); }
.ps-tog { width: 51px; height: 31px; border-radius: 16px; background: var(--acc); position: relative; }
.ps-tog i { position: absolute; right: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); }
.ps-out, .ps-del { height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 16px; font-weight: 600; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.ps-del { color: var(--review); }
.ps-note { font-size: 12px; line-height: 1.35; color: var(--ink3); text-align: center; padding: 0 8px; }

/* scrolled content fades out under the status bar and under the sheet's title, as iOS's scroll edge does */
.pw::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 84px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, #e9eefa 0%, #e9eefa 62%, rgba(233, 238, 250, 0)); }
.pw-set::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 74px; z-index: 2; pointer-events: none; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #f2f5fa 0%, #f2f5fa 66%, rgba(242, 245, 250, 0)); }
.pw-set .mk-grab { z-index: 4; }
