.inner-page .members-container,.members-container{--member-yellow:#ffcb06;--member-ink:#171717;max-width:1240px;padding:28px 32px 88px;font-family:var(--sb-sans,Ubuntu,sans-serif);color:var(--member-ink)}
.members-container [hidden]{display:none!important}.members-container *{box-sizing:border-box}.members-container button{cursor:pointer;font-family:inherit}.members-container button:disabled{opacity:.55;cursor:wait}.members-container :is(button,a,input,summary,select,[tabindex]):not(.members-heading h2[tabindex="-1"]):focus-visible{outline:3px solid #a47700;outline-offset:4px}.members-container .button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;border-radius:28px;font:700 15px/1.4 var(--sb-sans);text-align:center;padding:14px 28px;text-decoration:none}.members-container .button.primary{background:#ffcb06;border:1px solid #ffcb06;color:#111}.members-container .button.secondary{background:white;color:#171717;border:1px solid #d9d6cd}
.members-heading{margin:22px 0 36px;max-width:760px}.members-heading h2{font:700 clamp(32px,4vw,48px)/1.12 var(--sb-sans);letter-spacing:-1.4px;margin:14px 0 18px;text-wrap:balance}.members-heading p{font:400 17px/1.7 var(--sb-sans);color:#65625b;margin:0}.member-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px}.members-heading.centered{margin:42px auto 32px;text-align:center}.member-auth-panel{max-width:450px;margin:26px auto 48px}.member-auth-panel .members-heading{text-align:center;margin-bottom:26px}.member-auth-panel .members-heading h2{font-size:clamp(38px,5vw,49px)}.member-auth-panel .members-heading p{font-size:16px}
.member-message{max-width:900px;margin:0 auto 24px;padding:12px 18px;background:#f5f4ee;border-radius:10px;font-size:14px;line-height:1.6;text-align:center;overflow-wrap:anywhere}.member-message.is-error{color:#8d3025;background:#fff1ec}.auth-switch{display:flex;gap:30px;border-bottom:1px solid #e6e2d9;margin:20px 0 22px;justify-content:center}.auth-switch [data-auth-mode]{text-decoration:none;border:0;border-bottom:3px solid transparent;background:none;color:#68645e;font:500 15px/1.5 var(--sb-sans);padding:12px 0}.auth-switch [data-auth-mode][aria-current=page]{color:#111;border-color:#ffcb06}
.members-container form label:not(.member-check,.member-chip,.member-platform),.members-container [data-register-only]>label{display:block;font-size:14px;font-weight:500;margin:18px 0 8px}.members-container label small{font-size:12px;color:#726e65;font-weight:400;margin-left:5px}.members-container input:is([type=text],[type=email],[type=password],[type=search]),.members-container select{display:block;width:100%;background:#fff;border:1px solid #d7d3ca;border-radius:9px;min-height:49px;padding:12px 14px;font:400 16px/1.4 var(--sb-sans);color:#171717}.members-container input::placeholder{color:#8a867e}.members-container .member-password{position:relative}.member-password input{padding-right:82px!important}.member-password button{position:absolute;right:12px;top:0;height:49px;border:0;background:none;color:#656159;font-size:12px}.members-container .form-help{font-size:12px;line-height:1.6;color:#736e65;margin:8px 0 16px}.members-container .member-check{display:flex!important;align-items:flex-start;gap:10px;font:400 13px/1.65 var(--sb-sans);margin:18px 0;text-align:left}.member-check input{width:17px;height:17px;flex:none;margin:2px 0 0;accent-color:#957100}.member-check small{display:block;margin:0;font-size:11px}.member-check a{color:inherit;text-decoration:underline;text-underline-offset:3px}.member-auth-panel .button{width:100%;margin-top:8px}.member-footnote{font:400 12px/1.8 var(--sb-sans);color:#777167;margin:22px auto;text-align:center;max-width:680px}.member-footnote a{color:inherit;text-underline-offset:3px}.member-text{display:inline-block;background:none;border:0;padding:4px 0;font:500 13px/1.7 var(--sb-sans);color:#4d4941;text-decoration:underline;text-underline-offset:4px}.member-text:hover{color:#111}.member-auth-panel>.member-text,.member-auth-panel form>.member-text{display:block;margin:20px auto 0;text-align:center}.member-mail-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#ffcb06;margin:32px auto 24px;font-size:30px}
/* Compact entry form; recovery, profile and the current brand keep their own styles. */
#member-auth{max-width:420px;margin:14px auto 32px}
#member-auth .members-heading{margin:0 0 20px}
#member-auth .members-heading h2{font-size:clamp(28px,3.4vw,36px);line-height:1.15;letter-spacing:-.7px;margin:8px 0 10px}
#member-auth .members-heading p{font-size:15px;line-height:1.55}
#member-auth .auth-switch{gap:24px;margin:0 0 18px}
#member-auth .auth-switch [data-auth-mode]{text-decoration:none;min-width:44px;min-height:44px;padding:10px 4px}
#member-auth form label:not(.member-check){margin:14px 0 6px}
#member-auth .member-password button{min-width:58px;min-height:44px;right:8px;font-size:13px}
#member-auth .form-help{margin:6px 0 12px}
#member-auth .member-check{min-height:44px;align-items:center;margin:8px 0;line-height:1.5}
#member-auth .member-check input{margin:0}
#member-auth .member-text{display:flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;margin:12px auto 0;padding:8px}
#member-auth .member-footnote{margin:14px auto 0;line-height:1.6}

/* Optional onboarding: covers, visible selections and a single next action. */
#member-onboarding{--member-action-clearance:calc(150px + env(safe-area-inset-bottom,0px));max-width:960px;margin-inline:auto}
#member-onboarding .members-heading{max-width:660px;margin:24px auto 20px}
#member-onboarding .members-heading h2{font-size:clamp(26px,3.2vw,34px);line-height:1.2;letter-spacing:-.7px;margin:0 0 10px}
#member-onboarding .members-heading p{font-size:15px;line-height:1.55}
#member-onboarding :is(button,a,input,summary,select,[tabindex]){scroll-margin-block:24px var(--member-action-clearance)}
:is(#member-auth,#member-onboarding) :is(button,a,input,summary,select,[tabindex]):not(.members-heading h2[tabindex="-1"]):focus-visible{outline:3px solid var(--member-ink);outline-offset:4px}
.members-container .members-heading h2[tabindex="-1"]:focus-visible{outline:none}
#member-onboarding .member-text{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 10px;line-height:1.45;text-align:center}
.member-stepbar{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:900px;margin:0 auto;padding:4px 0 8px;border-bottom:1px solid #e8e8e8;color:#626262;font-size:12px}
.member-stepbar #step-label{font-weight:500;color:#222}
.member-book-search{display:block;max-width:560px;margin:0 auto}
#member-onboarding .member-book-search input{padding:12px 16px;border-radius:10px;background:#fff}
.member-selection-count{text-align:center;min-height:20px;font-size:13px;line-height:1.5;font-weight:500;color:#333;margin:12px 0 8px}
#onboarding-selected{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:760px;margin:0 auto 12px}
#onboarding-selected:empty{margin:0}
.members-container .onboarding-selected-book{display:inline-flex;align-items:center;gap:8px;min-width:44px;min-height:44px;max-width:100%;padding:5px 10px 5px 5px;border:1px solid #d6d6d6;border-radius:8px;background:#fff;color:var(--member-ink);font-size:13px;line-height:1.35;text-align:left}
.onboarding-selected-book img{display:block;flex:0 0 32px;width:32px;height:32px;aspect-ratio:1;object-fit:cover;border-radius:3px}
.onboarding-selected-book>span:first-of-type{min-width:0;max-width:24ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.onboarding-selected-book>span:last-of-type{display:grid;place-items:center;flex:0 0 20px;font-size:20px;line-height:1}
#onboarding-search-status{min-height:20px;max-width:660px;margin:8px auto 14px;text-align:center;font-size:13px;line-height:1.5;color:#555;overflow-wrap:anywhere}
#onboarding-search-status.is-error{color:#8d3025}
#member-onboarding #onboarding-retry{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;max-width:100%;margin:8px auto 16px;padding:10px 18px;border:1px solid #d6d6d6;border-radius:24px;background:#fff;color:var(--member-ink);font-size:14px;font-weight:500}
.onboarding-book-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;gap:22px 18px;padding:4px}
.onboarding-book{display:block;background:none;border:0;border-radius:5px;padding:0;text-align:left;min-width:44px;min-height:44px;position:relative;color:#171717}
.onboarding-cover{position:relative;aspect-ratio:1;border-radius:5px;background:#f4f4f4;transition:box-shadow .15s ease}
.onboarding-book img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:5px}
.onboarding-book[aria-pressed=true] .onboarding-cover{box-shadow:0 0 0 3px var(--member-yellow)}
.onboarding-check{position:absolute;bottom:6px;right:6px;display:grid;place-items:center;width:26px;height:26px;background:var(--member-yellow);color:var(--member-ink);border:1px solid #171717;border-radius:50%;font-weight:700;font-size:15px;opacity:0;transition:opacity .15s ease}
.onboarding-book[aria-pressed=true] .onboarding-check{opacity:1}
.onboarding-book strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.4;margin:9px 0 3px;min-height:2.8em}
.onboarding-book small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.5;color:#626262}
.member-empty{grid-column:1/-1;font-size:14px;line-height:1.8;color:#686257;padding:24px 0}
#member-onboarding .member-empty{line-height:1.65;color:#626262;text-align:center;margin:0;padding:24px 8px}
.members-container #onboarding-more{display:block;margin:16px auto}
.member-genres{margin:18px auto;max-width:750px;text-align:center}
.member-genres summary{cursor:pointer;font-size:14px;min-height:44px;padding:12px 8px;line-height:1.45}
.member-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}
.member-genres .member-chips{justify-content:center}
.members-container .member-chip{margin:0;cursor:pointer;position:relative}
.member-chip input{position:absolute;opacity:0;width:1px;height:1px}
.member-chip span{display:block;padding:10px 16px;border:1px solid #ded9ce;border-radius:24px;font-size:13px;background:white}
.member-chip input:checked+span{background:#fff6d5;border-color:#d1a500;color:#171717}
.member-chip input:focus-visible+span{outline:3px solid #a47700;outline-offset:3px}
#member-onboarding .member-chip span{display:flex;align-items:center;min-height:44px}
#member-onboarding .member-chip input:focus-visible+span{outline-color:var(--member-ink)}
.member-step-actions{display:flex;flex-direction:column;align-items:center;gap:14px;margin:38px 0 20px}
.member-step-actions>.button{min-width:280px}
/* Sticky stays in normal flow. Content focus and short screens restore flow-only actions. */
#member-onboarding .member-onboarding-actions{position:sticky;bottom:0;z-index:3;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 20px;margin:24px 0 0;padding:12px 8px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #e8e8e8;background:#fff}
#member-onboarding .member-onboarding-actions>.button{min-width:220px;max-width:100%;min-height:48px;padding:12px 24px;white-space:normal;overflow-wrap:anywhere}
#member-onboarding .member-onboarding-actions>.member-text{max-width:100%}
#member-onboarding:has(:focus-visible):not(:has(.member-onboarding-actions :focus-visible)) .member-onboarding-actions,
#member-onboarding:has(#onboarding-search:focus) .member-onboarding-actions{position:static}
.member-platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:820px;margin:30px auto}
.members-container .member-platform{display:flex;position:relative;align-items:center;justify-content:center;padding:27px 18px;min-height:104px;border:1px solid #ddd8ce;border-radius:12px;cursor:pointer;margin:0;background:#fff}
.member-platform img{width:100%;max-width:140px;height:42px;object-fit:contain}
.member-platform input{position:absolute;opacity:0;width:1px;height:1px}
.member-platform:has(input:checked){border-color:#c99d00;box-shadow:0 0 0 2px #ffcb06;background:#fffdf4}
.member-platform:has(input:focus-visible){outline:3px solid #a47700;outline-offset:4px}
.platform-selected{display:none;position:absolute;right:8px;top:6px;font-size:13px}
.member-platform:has(input:checked) .platform-selected{display:block}
#member-onboarding .member-platform-grid{max-width:660px;gap:14px;margin:20px auto}
#member-onboarding .member-platform{padding:18px 22px;min-height:82px;border-radius:8px}
#member-onboarding .member-platform:has(input:checked){border-color:var(--member-ink);box-shadow:0 0 0 2px var(--member-yellow);background:#fff}
#member-onboarding .member-platform:has(input:focus-visible){outline-color:var(--member-ink)}
#member-onboarding .platform-selected{top:5px;right:5px;width:20px;height:20px;line-height:20px;text-align:center;background:var(--member-yellow);border-radius:50%;color:var(--member-ink);font-weight:700}
#member-onboarding .member-footnote{max-width:580px;margin:14px auto;font-size:12px;line-height:1.6;color:#626262}
@media(hover:hover) and (pointer:fine){
 .onboarding-book:not([aria-pressed=true]):hover .onboarding-cover{box-shadow:0 0 0 2px #b5b5b5}
 .members-container .onboarding-selected-book:hover{border-color:var(--member-ink);background:#fafafa}
 #member-onboarding #onboarding-retry:hover{border-color:var(--member-ink)}
}
.member-session{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e9e5dc;padding:12px 0 24px;margin-bottom:30px}.member-profile{display:flex;align-items:center;gap:12px;min-width:0}.profile-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#ffcb06;font-size:19px;font-weight:700}.member-profile strong{display:block;font-size:15px}.member-profile #member-email-label{display:block;font-size:11px;color:#736e65;margin-top:5px;overflow-wrap:anywhere}.member-account-actions{display:flex;gap:24px;flex-shrink:0}.member-verification{display:flex;align-items:center;gap:18px;background:#fffae8;border:1px solid #ede3bd;border-radius:12px;padding:18px 22px;margin:0 0 36px}.member-verification strong{font-size:14px}.member-verification p{font-size:12px;line-height:1.7;margin:5px 0 0;color:#655c49;overflow-wrap:anywhere}.member-verification>div{flex:1}.member-verification button{flex-shrink:0}.verification-mark{font-size:26px}.member-verification #verification-status{font-size:11px;color:#655c49}.member-home .members-heading{margin:30px 0 40px}.member-shelf{margin:40px 0 54px}.member-shelf h2{font:700 27px/1.2 var(--sb-sans);letter-spacing:-.5px;margin:0 0 9px}.member-shelf-description{font-size:14px;line-height:1.7;color:#716b60;margin:0 0 25px}.member-shelf-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding:4px;padding:4px 4px 18px;scrollbar-width:thin;scrollbar-color:#d4cfc3 transparent;overscroll-behavior-inline:contain}.member-book-card{flex:0 0 194px;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column}.member-book-card>a{color:#171717;text-decoration:none}.member-book-card img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px;box-shadow:0 3px 9px #00000018;transition:transform .2s}.member-book-card>a:hover img{transform:translateY(-3px)}.member-book-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:700 15px/1.4 var(--sb-sans);margin:13px 0 5px;min-height:42px}.member-book-author{font:400 12px/1.5 var(--sb-sans);color:#726b60;margin:0 0 12px}.member-book-reason{font:400 12px/1.65 var(--sb-sans);color:#5c574e;margin:0 0 14px;flex:1}.member-feedback{border-top:1px solid #e5e0d6;padding-top:10px;font-size:11px;color:#6e665a}.member-feedback summary{cursor:pointer}.member-book-feedback{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-top:12px}.member-book-feedback button{border:0;background:none;padding:0;font-size:12px;color:#544d40;text-decoration:underline;text-underline-offset:3px}.member-container #member-home>.button{display:flex;width:max-content;margin:auto}.members-container #member-settings{max-width:900px;margin:auto}.members-container fieldset{border:0;padding:0;margin:30px 0}.members-container legend{font-size:19px;font-weight:700}.members-container #member-preferences>.button{margin-top:15px}.members-container #member-preferences>input,.members-container #member-preferences>select{max-width:450px}.member-taste-settings{margin-top:50px;border-top:1px solid #e6e1d7;padding-top:30px}.member-taste-settings h2{font-size:24px}.member-taste-settings>p{font-size:14px;color:#726b60}.member-data{border-top:1px solid #e6e1d7;padding-top:25px;margin:40px 0}.member-data summary{font-size:15px;cursor:pointer}.member-data p{font-size:13px;line-height:1.8;color:#6d6558;max-width:650px}.member-data input[type=password]{max-width:450px}.member-data-actions{display:flex;align-items:center;gap:24px;margin:20px 0}.member-data .danger{color:#922f24}.members-container .taste-book-list{max-height:440px;overflow:auto}.members-container .taste-book-controls label{margin:0!important}.members-container .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.onboarding-book-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.member-book-card{flex-basis:180px}}
@media(max-width:600px){.inner-page .members-container,.members-container{padding:20px 20px 56px}.member-auth-panel{margin-top:8px}.members-heading h2{letter-spacing:-.8px}.member-auth-panel .members-heading h2{font-size:39px}.members-heading p{font-size:15px}.onboarding-book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px}.onboarding-book strong{font-size:13px}.member-stepbar{gap:8px;font-size:11px;flex-wrap:wrap}.member-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.members-container .member-platform{padding:22px 17px;min-height:90px}.member-step-actions>.button{min-width:0;width:100%;max-width:360px}.member-session{align-items:flex-start;flex-wrap:wrap;gap:18px}.member-profile{max-width:100%}.member-account-actions{margin-left:56px;gap:22px}.member-verification{align-items:flex-start;flex-wrap:wrap;padding:16px;gap:10px}.member-verification>div{min-width:150px}.member-verification button{margin-left:35px}.member-book-card{flex-basis:164px}.member-shelf-track{gap:18px}.member-shelf h2{font-size:24px}.member-shelf{margin:34px 0 40px}.member-data-actions{align-items:flex-start;flex-direction:column;gap:14px}.member-chip span{padding:9px 13px;font-size:12px}.member-footnote{font-size:11px}.member-taste-settings .taste-book{grid-template-columns:38px minmax(0,1fr)}.member-taste-settings .taste-book-controls{grid-column:2;max-width:none;justify-content:flex-start}.member-taste-settings .taste-listened{flex-basis:auto;font-size:10px}
 #member-auth{margin-top:0}
 #member-onboarding .members-heading{margin:20px auto 16px}
 #onboarding-selected{gap:8px;justify-content:flex-start}
 .members-container .onboarding-selected-book{max-width:100%;font-size:12px}
 #member-onboarding .member-platform-grid{gap:12px}
 #member-onboarding .member-platform{padding:16px 18px;min-height:76px}
 #member-onboarding .member-onboarding-actions{gap:4px;margin-top:20px;padding:10px 6px calc(10px + env(safe-area-inset-bottom,0px))}
 #member-onboarding .member-onboarding-actions>.button{flex:0 1 100%;min-width:0;width:100%;max-width:360px;padding-inline:16px}
 #member-onboarding .member-onboarding-actions>.member-text{flex:0 1 100%}
}
@media(max-width:420px){.onboarding-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:560px){#member-onboarding .member-onboarding-actions{position:static}}
@media(prefers-reduced-motion:reduce){.members-container *{scroll-behavior:auto!important;transition:none!important}#member-onboarding *,#member-onboarding *::before,#member-onboarding *::after{animation:none!important}}

.member-correct-email{font-size:11px;margin-top:9px}.member-correct-email summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.member-correct-email form{max-width:340px;padding:5px 0 15px}.member-correct-email input{min-height:42px!important}
.member-platform[data-member-provider=audiobooks] img{filter:brightness(0)}

/* Keep preference controls aligned when long API titles wrap on mobile. */
.members-container .taste-editor label.taste-listened{display:flex;flex-direction:row;align-items:center;white-space:nowrap;font-size:10px}

/* Personal library: normal grid, native state controls and locally scrolling filters. */
.members-container #member-library{min-width:0;max-width:1100px;margin-inline:auto}
#member-library>.members-heading{margin:20px 0 22px}
#member-library>.members-heading h2{font-size:clamp(28px,3vw,36px);line-height:1.2;margin:0 0 10px}
#member-library>.members-heading p{font-size:15px;line-height:1.6}
.members-container :is(#library-back,#library-more){min-width:44px;min-height:44px;max-width:100%;padding:10px 14px;white-space:normal;overflow-wrap:anywhere}
.members-container #library-back{margin-top:8px;padding-inline:0;text-align:left}
.members-container #library-more{display:flex;margin:28px auto 0}
#library-filters{display:flex;flex-wrap:nowrap;gap:8px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#777 #f2f2f2;scroll-padding-inline:8px;padding:8px 8px 12px;margin:0 0 8px;scroll-behavior:auto}
#library-filters>[data-library-filter]{flex:0 0 auto;min-width:44px;min-height:44px;max-width:100%;padding:10px 14px;border:1px solid #d6d6d6;border-radius:24px;background:#fff;color:#171717;font:500 14px/1.45 var(--sb-sans,Ubuntu,sans-serif);text-align:center;white-space:normal;overflow-wrap:anywhere;scroll-margin-inline:8px}
#library-filters>[data-library-filter][aria-pressed=true]{background:#ffcb06;border-color:#171717;color:#171717;box-shadow:inset 0 -2px 0 #171717;font-weight:700}
#library-status{min-height:24px;margin:8px 0 18px;color:#555;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
#library-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));align-items:stretch;gap:28px 24px;min-width:0;margin:0;padding:0}
#library-items>.member-empty{grid-column:1/-1;margin:0;padding:24px 0;color:#555}
.member-library-card{display:flex;flex-direction:column;gap:0;min-width:0;max-width:100%;margin:0;padding:0;background:#fff;color:#171717}
.member-library-card>a{display:block;min-width:0;color:inherit;text-decoration:none}
.member-library-card img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#f4f4f4}
.member-library-cover-empty{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:8px;background:#f4f4f4;color:#626262;font:400 14px/1.5 var(--sb-sans,Ubuntu,sans-serif)}
.member-library-card h3{margin:12px 0 4px;font:700 16px/1.4 var(--sb-sans,Ubuntu,sans-serif);overflow-wrap:anywhere}
.member-library-card :is(.member-library-author,.member-book-author),.member-library-card>p{margin:0 0 14px;color:#626262;font:400 14px/1.5 var(--sb-sans,Ubuntu,sans-serif);overflow-wrap:anywhere}
.member-library-card>a:hover h3{text-decoration:underline;text-underline-offset:3px}
.members-container .member-library-select,.member-library-controls select{display:block;width:100%;min-width:0;max-width:100%;min-height:44px;box-sizing:border-box;padding:10px 8px;border:1px solid #b8b8b8;border-radius:8px;background-color:#fff;color:#171717;font:400 16px/1.4 var(--sb-sans,Ubuntu,sans-serif);color-scheme:light}
.member-library-card>.member-library-select{margin-top:auto}
.members-container .member-library-remove{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-width:44px;min-height:44px;max-width:100%;margin:6px 0 0;padding:10px 8px;border:0;border-radius:6px;background:#fff;color:#555;font:500 14px/1.45 var(--sb-sans,Ubuntu,sans-serif);text-decoration:underline;text-underline-offset:3px;white-space:normal;overflow-wrap:anywhere}
.member-library-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;max-width:100%;margin:12px 0 0;padding:12px 0 0;border-top:1px solid #e5e5e5}
.member-library-card>.member-library-controls{margin-top:auto}
.member-library-controls details{min-width:0;max-width:100%}
.member-library-controls summary{width:fit-content;min-width:44px;min-height:44px;max-width:100%;box-sizing:border-box;padding:10px 8px;border-radius:6px;color:#555;font:500 14px/1.5 var(--sb-sans,Ubuntu,sans-serif);cursor:pointer;overflow-wrap:anywhere}
.member-library-controls details[open] select{margin-top:6px}
.member-library-controls>label{min-width:0;margin:0;color:#555;font:400 13px/1.5 var(--sb-sans,Ubuntu,sans-serif)}
.member-library-controls>label select{margin-top:5px}
.member-library-controls button{display:flex;align-items:center;justify-content:center;width:100%;min-width:44px;min-height:44px;max-width:100%;box-sizing:border-box;padding:10px 8px;border:1px solid #b8b8b8;border-radius:8px;background:#fff;color:#171717;font:500 14px/1.45 var(--sb-sans,Ubuntu,sans-serif);text-align:center;white-space:normal;overflow-wrap:anywhere}
.member-library-controls button[aria-pressed=true]{border-color:#171717;box-shadow:inset 0 0 0 1px #171717}
.member-library-controls [role=status]{margin:0;color:#555;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
:is(#member-library,.member-library-controls) :is(button,a,summary,select):focus-visible,#library-filters:focus-visible{outline:3px solid #171717;outline-offset:3px}
.member-library-controls :disabled,#member-library :disabled{opacity:.6;cursor:wait}
.members-container .member-account-actions:has(#library-open){min-width:0;max-width:100%;flex-shrink:1;flex-wrap:wrap;gap:8px 20px}
.members-container .member-account-actions:has(#library-open) .member-text{display:inline-flex;align-items:center;min-width:44px;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(hover:hover) and (pointer:fine){
 #library-filters>[data-library-filter]:not([aria-pressed=true]):hover,.member-library-controls button:not(:disabled):hover{background:#f5f5f5;border-color:#171717;color:#171717}
 .members-container .member-library-remove:hover{background:#f5f5f5;color:#171717}
}
@media(max-width:600px){
 .members-container .member-account-actions:has(#library-open){width:100%;margin-left:0;gap:4px 16px}
 #member-library>.members-heading{margin-top:12px}
 #library-items{gap:24px 16px}
}
@media(max-width:480px){
 #library-items{grid-template-columns:minmax(0,1fr)}
 #library-filters{gap:6px}
 #library-filters>[data-library-filter]{padding-inline:12px}
}
@media(forced-colors:active){
 #library-filters>[data-library-filter][aria-pressed=true]{border:2px solid ButtonText;text-decoration:underline;text-underline-offset:4px}
 .member-library-controls button[aria-pressed=true]{border:2px solid ButtonText}
}
.member-email-preferences{margin-block:28px;padding-block:24px;border-block:1px solid #e6e2d8}
.member-email-preferences h3{margin-top:0;font-size:1.25rem}
.member-email-preferences .button{min-height:44px}
#member-library>.members-heading{max-width:none;text-align:left}
.members-container .member-check{flex-direction:row;min-height:44px}

/* The same destinations remain available in every personal view. */
.members-container .member-session{padding:0 0 16px;margin:0;border:0;gap:12px;flex-wrap:nowrap;align-items:center}
.members-container .member-session>.member-text{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:13px}
.members-container .member-profile>div{min-width:0}
.members-container .member-profile strong{overflow-wrap:anywhere}
.members-container .profile-avatar{width:36px;height:36px;font-size:17px}
.member-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;border-bottom:1px solid #dedede;padding:0 0 12px;margin:0 0 24px}
.members-container .member-navigation>a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:10px 8px;border-radius:8px;background:#fff;color:#171717;text-decoration:none;font:500 15px/1.45 var(--sb-sans,Ubuntu,sans-serif);overflow-wrap:anywhere;text-align:center}
.members-container .member-navigation>a[aria-current=page]{background:#ffcb06;color:#171717;font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
.members-container .member-navigation>a:focus-visible{outline:3px solid #171717;outline-offset:3px}
.members-container .member-draft-status{padding:12px 16px;margin:0 0 20px;border-left:3px solid #b18a00;background:#fff9de;color:#333;font-size:14px;line-height:1.6}
.member-draft-status a{color:inherit;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.members-container #member-home>.members-heading,.members-container #member-settings>.members-heading{max-width:none;margin:0 0 24px;text-align:left}
.members-container #member-home>.member-home-intro{display:flex;align-items:center;justify-content:space-between;gap:16px 28px}
.member-home-intro>div{min-width:0}
.members-container :is(#member-home,#member-settings)>.members-heading h2{font-size:clamp(28px,3vw,36px);line-height:1.2;letter-spacing:-.7px;margin:0 0 10px;overflow-wrap:anywhere}
.members-container :is(#member-home,#member-settings)>.members-heading p{font-size:15px;line-height:1.6;max-width:65ch;margin:0;color:#626262}
.members-container #taste-open{flex:none;display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:10px 0;font-size:14px}
.members-container #member-shelves>.member-shelf{margin:28px 0 44px}
.members-container .member-shelf-description{margin-bottom:18px;color:#626262}
.members-container .member-feedback summary{display:list-item;min-height:44px;padding:12px 0;font-size:13px;line-height:1.5;color:#555}
.members-container .member-book-feedback{gap:2px;padding-top:0}
.members-container .member-book-feedback button{min-height:44px;min-width:44px;padding:8px 0;font-size:13px;line-height:1.5;text-align:left}
.members-container #member-home>.button{display:flex;width:fit-content;max-width:100%;margin-inline:auto}
.members-container #member-settings{max-width:900px;margin-inline:0}
.members-container #member-taste{scroll-margin-top:24px}
.members-container #member-library>.members-heading{margin-top:0}
.members-container #member-library{max-width:none;margin-inline:0}
.member-library-controls [aria-disabled=true]{opacity:.6;cursor:wait}
@media(hover:hover) and (pointer:fine){.members-container .member-navigation>a:not([aria-current=page]):hover{background:#f3f3f3;text-decoration:underline;text-underline-offset:5px}}
@media(max-width:600px){
 .inner-page .members-container{padding-top:16px}
 .members-container .member-session{align-items:flex-start;padding-bottom:12px}
 .members-container .member-profile{gap:9px}
 .members-container .member-profile strong{font-size:14px}
 .member-navigation{gap:4px;margin-bottom:20px}
 .members-container .member-navigation>a{font-size:14px;padding-inline:4px}
 .members-container #member-home>.member-home-intro{display:block}
 .members-container #taste-open{margin-top:6px}
 .members-container #member-home>.members-heading{margin-bottom:12px}
 .members-container #member-shelves>.member-shelf{margin-top:20px}
}
@media(max-width:360px){.member-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.members-container .member-session{flex-wrap:wrap;gap:2px}.members-container .member-session>.member-text{margin-left:45px}}
@media(forced-colors:active){.members-container .member-navigation>a[aria-current=page]{outline:2px solid ButtonText;outline-offset:-2px}}
.members-container .member-discard-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #d4d4d4;border-radius:12px;background:#fff;color:#171717;overflow:auto}
.member-discard-dialog::backdrop{background:#0008}
.member-discard-dialog h2{font-size:24px;line-height:1.3;letter-spacing:-.4px;margin:0 0 12px}
.member-discard-dialog p{font-size:15px;line-height:1.6;color:#555;margin:0 0 20px}
.member-discard-dialog form{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
.member-discard-dialog .member-text{min-height:44px;padding:8px 0}
.members-container #member-taste .taste-book strong{font-size:14px;line-height:1.45}
.taste-archive{margin-top:26px}.taste-archive[hidden]{display:none}.taste-archive h3{font-size:17px;line-height:1.4;margin:0 0 12px}.taste-book-archive a{font-size:14px;font-weight:500;line-height:1.45}.taste-archive-facts{font-size:11px;color:#625b4a;max-width:170px}.taste-archive-facts p{margin:3px 0}.taste-archive .taste-book-list{max-height:310px}@media(max-width:600px){.taste-archive-facts{grid-column:2;max-width:none}}
.members-container #member-taste .taste-book small{font-size:12px;line-height:1.5;color:#626262}
.members-container #member-taste .taste-reaction{width:44px;height:44px;flex:none;color:#171717}
.members-container #member-taste label.taste-listened{min-height:44px;white-space:normal;font-size:13px;line-height:1.45;color:#555;gap:7px;justify-content:flex-start}
.members-container #member-taste .taste-book-controls{max-width:190px;gap:8px;flex-wrap:wrap}
.members-container button[aria-busy=true]{opacity:.65;cursor:wait}
.member-sessions summary{min-height:44px;padding-block:10px;cursor:pointer}
.member-session-list{list-style:none;padding:0;margin:8px 0 16px}
.member-session-row{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;padding:16px 0;border-bottom:1px solid #dedede}
.member-session-row>div{min-width:0;overflow-wrap:anywhere}
.member-session-row strong{display:block;font-size:16px;line-height:1.5}
.member-session-row p.form-help{margin:4px 0;font-size:13px;line-height:1.5;color:#555}
.member-session-current{display:inline-block;background:#fff2bd;color:#171717;border-radius:4px;padding:2px 7px;margin-top:5px;font-size:12px;font-weight:700}
.member-session-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px}
.member-sessions .member-text{min-width:44px;min-height:44px;padding-block:10px;white-space:normal;text-align:left;line-height:1.5}
.member-session-row>.member-text{flex-shrink:0}
.member-session-confirm{margin-top:20px;padding-top:16px;border-top:1px solid #ccc}
.member-session-confirm>p{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.members-container .member-session-confirm input{max-width:420px;border-color:#8b8b8b}
.member-session-confirm>.member-session-actions{margin-top:12px}
.member-sessions [aria-disabled=true]{cursor:wait;opacity:.6}
.member-sessions :is(button,input,summary):focus-visible{outline:3px solid #171717;outline-offset:3px}
@media(max-width:480px){.member-session-row{align-items:flex-start;flex-direction:column;gap:4px}.member-session-actions{align-items:stretch;flex-direction:column;gap:8px}.member-session-actions .button{max-width:100%;white-space:normal}.member-session-row>.member-text{align-self:flex-start}}
@media(max-width:600px){.members-container #member-taste .taste-book-controls{max-width:none}.members-container #member-taste .taste-book{grid-template-columns:44px minmax(0,1fr);gap:10px}.members-container #member-taste .taste-listened{flex-basis:100%}}

.member-email-change-form{display:grid;gap:12px;margin:20px 0}.member-email-change-form[hidden]{display:none}.members-container .member-email-change-form input{min-height:44px;border:1px solid #8b8b8b;box-sizing:border-box;width:100%}.member-email-change-form label{margin:0}.member-email-address,.member-email-change-status{overflow-wrap:anywhere}.member-email-change-status ul{padding-left:22px}.member-email-change-status li{margin:12px 0;line-height:1.6}.member-email-change button{min-height:44px;white-space:normal}.member-email-change [aria-disabled="true"]{opacity:.7}
.member-email-change>summary{min-height:44px;display:list-item;box-sizing:border-box;padding-block:12px}
.members-container form.member-email-change-form label{margin:0}
.member-email-change>.form-help a{text-decoration:underline;text-underline-offset:.15em}
.member-token-actions{display:grid;gap:12px;margin:16px 0 0}
.member-token-actions>a,.member-token-actions>button{min-height:44px;display:flex;align-items:center;justify-content:center;white-space:normal;overflow-wrap:anywhere}
.member-token-actions .member-text{text-decoration:underline;text-underline-offset:.15em}
.members-container #token-form input,.members-container #member-forgot-form input{border-color:#8b8b8b;min-height:44px}
.members-container #forgot-back{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:.15em}

/* Sign-up stage (Claude, 12/11/2026; issue #237): the form next to the reasons to join; larger title. */
#member-auth.member-auth-split{width:min(1060px,calc(100vw - 40px));max-width:none;display:grid;grid-template-columns:minmax(0,1fr);gap:26px}
.member-auth-main{max-width:450px;width:100%;margin:0 auto}
#member-auth.member-auth-split .members-heading :is(h1,h2){font-size:clamp(36px,4.6vw,54px);line-height:1.04;letter-spacing:-1.2px;margin-top:0}
.member-auth-aside{order:2;background:#111;color:#fff;border-radius:24px;padding:32px 28px;display:flex;flex-direction:column;gap:22px}
.member-auth-aside .member-eyebrow{color:#ffcb06}
#member-auth .member-auth-aside h2{margin:0;color:#fff;font-size:clamp(27px,3vw,36px);line-height:1.1;letter-spacing:-.6px;text-align:left}
.member-auth-benefits{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:20px}
.member-auth-benefits li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start}
.member-auth-benefits svg{width:40px;height:40px;padding:10px;border-radius:50%;background:#ffcb06;color:#111;box-sizing:border-box}
.member-auth-benefits strong{display:block;font-size:16px;line-height:1.3;font-weight:600;color:#fff}
.member-auth-benefits span{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:#cfcac0}
.member-auth-aside>p{margin:auto 0 0;padding-top:8px;font-size:13px;line-height:1.5;color:#a9a49a}
.member-auth-assurance{margin:14px 0 0;text-align:center;font-size:13px;line-height:1.5;color:#68645e}
@media(min-width:900px){#member-auth.member-auth-split{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px;align-items:center;margin-top:40px}.member-auth-aside{order:0;padding:46px 42px;min-height:440px}.member-auth-main{margin:0 auto}}
/* Pantalla del enlace de verificación o de nueva contraseña (12/11/2026) */
.member-action-card{max-width:480px;margin:56px auto 80px;padding:40px 36px 36px;border:1px solid #e9e5d8;border-radius:20px;background:#fff;box-shadow:0 18px 44px rgba(16,16,16,.07);text-align:center}
.members-container .member-action-card h1{font-size:clamp(26px,3.2vw,32px);line-height:1.14;letter-spacing:-.5px;margin:16px 0 10px}
.member-action-mark{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--member-yellow,#ffcb06);font-size:26px;line-height:1}
.member-action-lead{color:#555;font-size:16px;line-height:1.55;margin:0 0 24px}
.member-action-card form{display:grid;gap:14px;text-align:left;margin:0}
.member-action-card form label{display:grid;gap:6px;font-size:14px}
.member-action-card form .button{width:100%;justify-content:center;min-height:52px}
.member-action-expired p{color:#555;line-height:1.55;margin:0 0 20px}
.member-action-expired .button{display:inline-flex;justify-content:center;min-width:180px}
.member-verification p b{font-weight:600;color:var(--member-ink,#101010)}
@media(max-width:560px){.member-action-card{margin:28px auto 56px;padding:30px 22px 26px;border-radius:16px}}

/* Pulido del alta y de la zona personal (12/11/2026) */
/* Entrar y recuperar: una sola tarjeta centrada */
#member-auth.member-auth-split:has(#member-auth-form:not([data-form="register"])){grid-template-columns:minmax(0,460px);justify-content:center}
#member-auth.member-auth-split:has(#member-auth-form:not([data-form="register"])) .member-auth-aside,
#member-auth:has(#member-auth-form:not([data-form="register"])) .member-auth-assurance,
#member-auth:has(#member-auth-form[data-form="login"]) #auth-password-hint,
#member-auth:has(#member-auth-form[data-form="register"]) .member-auth-main>a.member-text{display:none}
#member-auth.member-auth-split:has(#member-auth-form:not([data-form="register"])) .members-heading :is(h1,h2){font-size:clamp(30px,3.6vw,40px)}
#member-auth.member-auth-split:has(#member-auth-form:not([data-form="register"])) .member-auth-main{padding:36px 34px 30px;border:1px solid #e9e5d8;border-radius:20px;background:#fff;box-shadow:0 18px 44px rgba(16,16,16,.07)}
@media(max-width:560px){#member-auth.member-auth-split:has(#member-auth-form:not([data-form="register"])) .member-auth-main{padding:26px 20px 22px;border-radius:16px}}
/* Campos */
#member-auth input:is([type=email],[type=password],[type=text]){font-size:16px}
#member-auth .member-check{align-items:flex-start}
#member-auth .member-check input{margin-top:3px;flex:none}
#member-auth input[aria-invalid="true"],#member-auth .member-password:has(input[aria-invalid="true"]){border-color:#b3261e;box-shadow:0 0 0 3px rgba(179,38,30,.12)}
.member-field-error{display:flex;gap:6px;align-items:flex-start;margin:6px 0 2px;color:#b3261e;font-size:13px;line-height:1.4}
.member-field-error::before{content:"!";flex:none;display:inline-grid;place-items:center;width:16px;height:16px;margin-top:1px;border-radius:50%;background:#b3261e;color:#fff;font-size:11px;font-weight:700}
.member-field-error+#auth-password-hint{display:none}
#auth-password-hint.is-met{color:#1a7f37}
#auth-password-hint.is-met::before{content:"✓ ";font-weight:700}
.member-auth-main>[data-message]{margin:0 0 18px;padding:12px 14px;border-radius:12px;text-align:left;font-size:14px;line-height:1.45}
/* Alta en dos pasos: sin pestañas y con barra de progreso */
.members-container:has(#member-onboarding:not([hidden])) .member-navigation{display:none}
.members-container:has(#member-onboarding:not([hidden])) .member-session{margin-bottom:18px}
#member-onboarding .member-stepbar{position:relative;border-bottom:0;padding:4px 0 18px;font-size:13px}
#member-onboarding .member-stepbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;border-radius:99px;background:linear-gradient(90deg,var(--member-yellow,#ffcb06) 0 calc(33.33% - 3px),transparent calc(33.33% - 3px) calc(33.33% + 3px),var(--member-yellow,#ffcb06) calc(33.33% + 3px) calc(66.66% - 3px),transparent calc(66.66% - 3px) calc(66.66% + 3px),#e9e7df calc(66.66% + 3px) 100%)}
#member-onboarding:has(#onboarding-platforms:not([hidden])) .member-stepbar::after{background:linear-gradient(90deg,var(--member-yellow,#ffcb06) 0 calc(33.33% - 3px),transparent calc(33.33% - 3px) calc(33.33% + 3px),var(--member-yellow,#ffcb06) calc(33.33% + 3px) calc(66.66% - 3px),transparent calc(66.66% - 3px) calc(66.66% + 3px),var(--member-yellow,#ffcb06) calc(66.66% + 3px) 100%)}
/* Aviso de verificación */
.member-verification{flex-wrap:wrap;gap:12px 16px;padding:14px 18px;margin:0 0 28px;border-radius:14px}
.member-verification>div{flex:1 1 300px;min-width:0}
.member-verification strong{font-size:15px}
.member-verification p{font-size:13px;line-height:1.5;margin:3px 0 0}
.member-verification .member-verification-inbox{flex:none;min-height:40px;padding:0 18px;font-size:14px;display:inline-flex;align-items:center;background:#fff}
.member-verification .member-verification-inbox[hidden]{display:none}
.members-container:has(#member-onboarding:not([hidden])) .member-verification .member-correct-email{display:none}
/* Biblioteca vacía */
.member-empty-card{grid-column:1/-1;display:grid;justify-items:center;gap:8px;max-width:440px;margin:28px auto 8px;padding:36px 28px;border:1px dashed #d9d5c7;border-radius:18px;background:#fffdf5;text-align:center}
.member-empty-card svg{width:44px;height:44px;padding:10px;border-radius:50%;background:var(--member-yellow,#ffcb06);fill:none;stroke:#101010;stroke-width:1.8;stroke-linejoin:round}
.member-empty-card strong{font-size:19px;line-height:1.25;margin-top:6px}
.member-empty-card p{margin:0 0 12px;color:#5c5c5c;font-size:15px;line-height:1.5}
.member-empty-card .button{min-width:200px;justify-content:center}
#member-library:has(.member-empty-card)>a.member-text{display:none}
#library-items:has(.member-empty-card){display:block}
/* Cuenta: cada bloque en su tarjeta */
#member-settings{max-width:880px}
#member-settings>form,#member-settings>details,#member-settings>.member-taste-settings{margin:0 0 18px;padding:24px 26px;border:1px solid #ecebe5;border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(16,16,16,.03)}
#member-settings>details>summary{font-weight:600;font-size:16px;cursor:pointer}
#member-settings>details[open]>summary{margin-bottom:16px}
#member-settings>.member-taste-settings>h2{margin-top:0}
#member-settings>form#member-newsletters>h3{margin-top:0}
/* Para ti: el subtítulo del primer estante repetía el de la página */
#member-shelves .member-shelf:first-child .member-shelf-description{display:none}
@media(max-width:640px){
  .member-verification{padding:12px 14px;margin-bottom:20px}
  .member-verification .verification-mark{display:none}
  .member-verification .member-verification-inbox{flex:1 1 100%;justify-content:center}
  .member-empty-card{padding:28px 20px}
  .members-container:has(#member-onboarding:not([hidden])) .member-verification p{display:none}
  .members-container:has(#member-onboarding:not([hidden])) .member-verification{margin-bottom:14px}
  #member-settings>form,#member-settings>details,#member-settings>.member-taste-settings{padding:18px 16px;border-radius:14px}
}
/* «Para ti»: tarjetas con lista y nota (issue #250) */
/* «Para ti»: tarjetas con lista, nota y comentario; estanterías; aviso breve y cuadro de opinión. */
.member-card{position:relative}
.member-card-link{display:block;color:#171717;text-decoration:none}
.member-card-cover{display:block;position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;background:#f3f0e9;box-shadow:0 3px 9px #00000018;transition:transform .2s,box-shadow .2s}
.member-card .member-card-cover img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:0;box-shadow:none;transform:none}
a.member-card-link:hover .member-card-cover{transform:translateY(-3px);box-shadow:0 8px 18px #00000024}
.member-card-cover-title{display:none}
.member-card-cover.is-empty{display:grid;place-items:center;padding:14px;background:linear-gradient(145deg,#fff1b8,#f3efe6)}
.member-card-cover.is-empty .member-card-cover-title{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font:700 14px/1.35 var(--sb-sans,Ubuntu,sans-serif);color:#3b372f;text-align:center}
.member-card .member-book-author{margin-bottom:8px}
.member-card .member-book-reason{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:none;margin:0 0 6px;color:#6b655a;font-size:12.5px;line-height:1.5}
.member-card h3{min-height:0;margin:12px 0 4px}

.member-actions{position:relative;display:grid;gap:4px;margin-top:auto;padding-top:10px;min-width:0}
.member-save{display:flex;min-width:0}
.member-actions-row{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}
.member-save-toggle{flex:1;min-width:0;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:1px solid #b8b3a7;border-radius:22px;background:#fff;color:#171717;font:600 13.5px/1.3 var(--sb-sans,Ubuntu,sans-serif);white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s}
.member-save-toggle:hover{border-color:#171717}
.member-save-toggle[aria-pressed=true]{background:#fff4c4;border-color:#e2b400}
.member-save[data-status=dismissed] .member-save-toggle{background:#f3f3f3;border-color:#c9c9c9;color:#555}
.member-save-mark{font-weight:700}
.member-save[aria-busy=true]{opacity:.7}
.member-more{flex:none}
.member-more>summary{list-style:none;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:none;color:#544d40;cursor:pointer}
.member-more>summary::-webkit-details-marker{display:none}
.member-more>summary:hover,.member-more[open]>summary{background:#f1eee6;color:#171717}
.member-more svg{width:20px;height:20px;fill:currentColor}
/* Hacia arriba: dentro de una fila que se desplaza, lo que sobresale por abajo se recorta. */
.member-more-menu{position:absolute;z-index:20;left:0;right:0;bottom:calc(100% + 6px);display:grid;padding:6px;border:1px solid #d9d4c8;border-radius:12px;background:#fff;box-shadow:0 12px 30px #0000002b}
.member-more-menu button{min-height:44px;padding:8px 10px;border:0;border-radius:8px;background:none;color:#171717;font:500 14px/1.35 var(--sb-sans,Ubuntu,sans-serif);text-align:left;cursor:pointer}
.member-more-menu button:hover{background:#f5f2ea}
.member-more-menu button[aria-pressed=true]{font-weight:700}
.member-more-menu button[aria-pressed=true]::before{content:"✓ "}

.member-rating{display:flex;align-items:center;flex-wrap:wrap;gap:0 8px;min-height:40px;min-width:0}
.member-rating-note:empty{display:none}
.member-rating-label{font:500 13px/1.3 var(--sb-sans,Ubuntu,sans-serif);color:#544d40}
.member-actions .member-rating-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.member-stars{display:inline-flex;margin-left:-4px}
.member-stars button{width:30px;height:40px;display:grid;place-items:center;padding:0;border:0;background:none;color:#c4beb1;cursor:pointer}
.member-stars svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;transition:transform .12s}
.member-stars button:hover svg{transform:scale(1.15)}
.member-stars button.is-filled{color:#c99700}
.member-stars button.is-filled svg{fill:#ffcb06}
.member-rating-note{font:600 12px/1.3 var(--sb-sans,Ubuntu,sans-serif);color:#544d40}
.member-rating[aria-busy=true]{opacity:.6}
.member-comment{justify-self:start;min-height:36px;padding:4px 0;border:0;background:none;color:#544d40;font:500 12.5px/1.4 var(--sb-sans,Ubuntu,sans-serif);text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.member-comment:hover{color:#171717}
:is(.member-card,.member-opinion,.member-toast,.member-shelf-nav) :is(button,summary,a):focus-visible{outline:3px solid #171717;outline-offset:2px}

.member-shelf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.member-shelf-head h2{margin:0 0 6px}
.member-shelf-head .member-shelf-description{margin:0}
.member-shelf-nav{display:flex;align-items:center;gap:8px;flex:none}
.member-shelf-arrow{width:40px;height:40px;display:grid;place-items:center;padding:0 0 3px;border:1px solid #cfc9bc;border-radius:50%;background:#fff;color:#171717;font:400 24px/1 var(--sb-sans,Ubuntu,sans-serif);cursor:pointer}
.member-shelf-arrow:hover:not(:disabled){border-color:#171717}
.member-shelf-arrow:disabled{opacity:.35;cursor:default}
.member-shelf:not(.is-scrollable) .member-shelf-arrow{display:none}
.member-shelf-skeleton{display:flex;gap:24px;overflow:hidden;padding:4px}
.member-shelf-skeleton span{flex:0 0 194px;height:330px;border-radius:10px;background:linear-gradient(100deg,#f1eee7 30%,#faf8f3 50%,#f1eee7 70%) 0 0/300% 100%;animation:member-shimmer 1.4s linear infinite}
@keyframes member-shimmer{to{background-position:-150% 0}}
.member-library-empty{grid-column:1/-1;display:grid;justify-items:start;gap:10px;padding:26px 24px;border:1px dashed #cfc9bc;border-radius:14px;background:#fbfaf6;color:#544d40;font:400 15px/1.6 var(--sb-sans,Ubuntu,sans-serif)}
.member-library-empty strong{color:#171717;font-size:17px}

.member-toast{position:fixed;z-index:2147483000;left:50%;bottom:24px;max-width:min(560px,calc(100vw - 24px));display:flex;align-items:center;gap:14px;padding:13px 18px;border-radius:12px;background:#171717;color:#fff;font:500 14px/1.45 var(--sb-sans,Ubuntu,sans-serif);box-shadow:0 12px 34px #00000047;opacity:0;transform:translate(-50%,16px);pointer-events:none;transition:opacity .18s,transform .18s}
.member-toast.is-visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.member-toast.is-error{background:#8c1d18}
.member-toast button{flex:none;min-height:36px;padding:4px 6px;border:0;background:none;color:#ffcb06;font:700 14px/1.3 var(--sb-sans,Ubuntu,sans-serif);cursor:pointer}

.member-opinion-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:18px;background:#fff;color:#171717;box-shadow:0 30px 80px #00000055;overflow:auto}
.member-opinion-dialog::backdrop{background:#0b0b0b8c}
.member-opinion{display:grid;gap:12px;padding:22px 24px 24px;font:400 15px/1.55 var(--sb-sans,Ubuntu,sans-serif)}
.member-opinion-head{display:flex;align-items:center;gap:14px}
.member-opinion-head img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex:none}
.member-opinion-head div{flex:1;min-width:0}
.member-opinion-head h2{margin:0;font:700 22px/1.2 var(--sb-sans,Ubuntu,sans-serif);letter-spacing:-.3px}
.member-opinion-head p{margin:2px 0 0;color:#626262;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-opinion-close{flex:none;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#f3f1ec;cursor:pointer}
.member-opinion-close svg{width:18px;height:18px;fill:none;stroke:#171717;stroke-width:2;stroke-linecap:round}
.member-opinion-ratings{display:grid;gap:2px;padding:10px 14px;border-radius:12px;background:#faf8f3}
.member-opinion-ratings .member-rating-label{min-width:104px;font-weight:600;color:#171717}
.member-opinion-ratings .member-stars button{width:38px;height:44px}
.member-opinion-ratings .member-stars svg{width:28px;height:28px}
.member-opinion-hint,.member-opinion-terms{margin:0;color:#626262;font-size:13px;line-height:1.5}
.member-opinion-terms a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.member-opinion label{display:block;font-weight:600;font-size:14px;color:#171717}
.member-opinion label small{display:inline;font-weight:400;font-size:13px;color:#626262}
.member-opinion textarea,.member-opinion input[type=text]{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #b8b8b8;border-radius:10px;background:#fff;color:#171717;font:400 16px/1.5 var(--sb-sans,Ubuntu,sans-serif)}
.member-opinion textarea{resize:vertical;min-height:104px}
.member-opinion-publish input[type=text]{padding:9px 12px;font-size:15px}
.member-opinion-publish{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 12px}
.member-opinion-publish .member-opinion-terms{grid-column:1/-1}
.member-opinion-publish[hidden]{display:none}
.member-opinion-state:empty,.member-opinion-error:empty{display:none}
.member-opinion-state{margin:0;color:#544d40;font-size:13.5px}
.member-opinion-error{margin:0;padding:10px 12px;border-radius:10px;background:#fdecea;color:#8c1d18;font-size:14px}
.member-opinion footer{position:sticky;bottom:0;display:flex;align-items:center;gap:18px;margin:4px -24px -24px;padding:14px 24px 20px;background:#fff;border-top:1px solid #eeeae1}
.member-opinion footer .button{min-height:48px;padding:0 26px;border:0;border-radius:24px;background:#ffcb06;color:#171717;font:700 15px/1 var(--sb-sans,Ubuntu,sans-serif);cursor:pointer}
.member-opinion footer .button:disabled{opacity:.6;cursor:wait}
.member-opinion footer .member-text{min-height:44px;border:0;background:none;color:#171717;font:500 14px/1 var(--sb-sans,Ubuntu,sans-serif);text-decoration:underline;text-underline-offset:3px;cursor:pointer}

@media (hover:none),(max-width:760px){.member-shelf-arrow{display:none}}
@media (max-width:760px){
 .member-shelf-head{align-items:flex-start}
 .member-shelf-skeleton span{flex-basis:164px;height:310px}
 .member-stars button{width:25px}
 .member-more>summary{width:36px}
 .member-toast{bottom:14px;width:calc(100vw - 24px);box-sizing:border-box;justify-content:space-between}
}
@media (max-width:560px){
 .member-opinion-dialog{width:100vw;max-width:100vw;max-height:92dvh;margin:auto 0 0;border-radius:18px 18px 0 0}
 .member-opinion{padding:18px 16px 22px}
 .member-opinion footer{margin:4px -16px -22px;padding:12px 16px 18px}
 .member-opinion-ratings .member-rating-label{min-width:92px}
 .member-opinion-ratings .member-rating-note{flex-basis:100%;margin:-6px 0 8px}
}
@media (prefers-reduced-motion:reduce){.member-card-cover,.member-toast,.member-stars svg,.member-summary-chip strong{transition:none;animation:none}.member-shelf-skeleton span{animation:none}}

/* Cabecera y pestañas: texto con subrayado, como en cualquier aplicación, en vez de bloques. */
.members-container .member-navigation{display:flex;gap:6px 32px;padding:0;margin:4px 0 30px;border-bottom:1px solid #e3dfd5}
.members-container .member-navigation>a{flex:none;min-height:48px;padding:0 2px;margin-bottom:-1px;border-radius:0;border-bottom:3px solid transparent;background:none;color:#6b655a;font:500 15.5px/1.3 var(--sb-sans,Ubuntu,sans-serif)}
.members-container .member-navigation>a[aria-current=page]{background:none;color:#171717;font-weight:700;border-bottom-color:#ffcb06;text-decoration:none}
.members-container .member-navigation>a:not([aria-current=page]):hover{background:none;color:#171717;text-decoration:none;border-bottom-color:#e3dfd5}
.members-container #member-home>.member-home-intro{align-items:flex-end;margin-bottom:0}
.member-home-intro h2{margin-bottom:8px}

/* Resumen de la biblioteca bajo el título */
.member-summary{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 6px}
.member-summary-chip{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 8px 0 16px;border:1px solid #ded9cd;border-radius:22px;background:#fff;color:#3b372f;font:500 14px/1 var(--sb-sans,Ubuntu,sans-serif);text-decoration:none;transition:border-color .15s,background .15s}
.member-summary-chip:hover{border-color:#171717;color:#171717}
.member-summary-chip strong{min-width:28px;height:28px;display:grid;place-items:center;padding:0 8px;box-sizing:border-box;border-radius:14px;background:#f3f0e9;color:#171717;font-size:13px;font-weight:700}
.member-summary-chip:not([data-count="0"]) strong{background:#ffcb06}
.member-summary-chip.is-bumped strong{animation:member-bump .5s ease}
@keyframes member-bump{40%{transform:scale(1.35)}}
.member-summary-chip:focus-visible{outline:3px solid #171717;outline-offset:2px}

/* Biblioteca: más libros por fila */
#library-items.member-library-items{grid-template-columns:repeat(auto-fill,minmax(184px,1fr));gap:34px 24px}
#member-library>.member-text{display:inline-block;margin-top:28px}

@media (max-width:760px){
 .members-container .member-navigation{gap:0;justify-content:space-between;margin-bottom:22px}
 .members-container .member-navigation>a{font-size:15px}
 .member-summary{gap:8px;flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding:2px 16px 4px 0;scrollbar-width:none}
 .member-summary-chip{flex:none;padding-left:14px}
 #library-items.member-library-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}
}

/* Propio de este motor */
.member-shelf-track>.member-library-card.member-book-card{flex:0 0 194px}
.member-card>a.book-title{display:block;color:#171717;text-decoration:none}
.member-card .member-library-message{margin:0 0 8px;color:#6b655a;font-size:12.5px;line-height:1.5}
[data-personal-books="library"] .member-card{position:relative}
/* El subtítulo que repite el de la página es ahora el de «Elegidos para ti», que ya no es la primera fila */
#member-shelves .member-shelf[data-shelf=list] .member-shelf-description{display:block}
#member-shelves .member-shelf[aria-labelledby=shelf-personal] .member-shelf-description{display:none}
@media (max-width:760px){.member-shelf-track>.member-library-card.member-book-card{flex-basis:164px}}
/* Rango en «Para ti» (issue #252) */
.member-summary-chip.member-rank-chip{margin-left:auto;border-style:dashed}
.member-rank-chip strong{min-width:0;padding:2px 9px;border-radius:10px;background:#fff4c4;color:#5c4300}
.member-rank-chip .member-rank-next{font-size:12px;opacity:.8}
@media (max-width:760px){.member-summary-chip.member-rank-chip{margin-left:0}}
/* Iniciar sesión: el botón ya no queda pegado al campo de la contraseña (Joan, 15/11/2026). Solo en el modo de inicio de
   sesión, cuando no hay nada entre el campo y el botón; al crear cuenta, las casillas ya lo separan. */
#member-auth [data-register-only][hidden]+#auth-submit{margin-top:24px}
