/* Reading world: quiet structure, expressive book art, no general social feed. */
#socialView .soc-world-shell{max-width:1240px;margin:0 auto;padding:18px 4px 36px}
.soc-world-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-bottom:16px}
.soc-world-toolbar>div>strong{display:block;font-size:19px;letter-spacing:-.5px;margin-top:4px}
.soc-world-toolbar nav{display:flex;gap:5px;padding:5px;border:1px solid var(--soc-line);border-radius:15px;background:var(--soc-surface)}
.soc-world-nav{padding:10px 16px;border:0;background:transparent;border-radius:10px;font:inherit;font-size:11px;font-weight:700;color:var(--soc-muted);cursor:pointer}
.soc-world-nav[aria-pressed=true]{background:linear-gradient(110deg,#6552c8,#3d77c7);color:#fff;box-shadow:0 3px 9px #6552c825}
.soc-world-preview{display:flex;align-items:center;gap:14px;padding:10px 14px;border:1px solid var(--soc-line);border-radius:13px;margin-bottom:18px;background:var(--soc-soft)}
.soc-world-preview>span{font-size:10px;font-weight:750;white-space:nowrap}
.soc-world-preview>p{font-size:11px;line-height:1.5;margin:0;color:var(--soc-muted)}
#socialView .soc-world-shell .soc-profile-header{border:1px solid var(--soc-line);border-radius:24px;box-shadow:0 8px 28px #273b6610;overflow:hidden}
#socialView .soc-world-shell .soc-wow-cover{min-height:245px;height:245px;padding:30px 40px;display:flex;align-items:center;justify-content:space-between;background:radial-gradient(ellipse at 85% 20%,#88d9e655,transparent 50%),linear-gradient(115deg,#293568,#62518c 65%,#397e91);color:white}
#socialView .soc-world-shell .soc-wow-cover-copy{position:relative;inset:auto;width:55%;max-width:520px;padding:0}
#socialView .soc-world-shell .soc-wow-eyebrow{color:#d9d2fa;font-size:9px;letter-spacing:2px}
#socialView .soc-world-shell .soc-wow-cover h1{font-size:43px;line-height:1.07;color:#fff;letter-spacing:-1.5px;margin:12px 0}
#socialView .soc-world-shell .soc-wow-cover h1 em{color:#c3e9ee;font-style:normal}
#socialView .soc-world-shell .soc-wow-cover-copy p{font-size:12px;line-height:1.6;color:#e0deef;margin:0}
#socialView .soc-world-shell .soc-wow-cover-spotlight{position:relative;inset:auto;width:40%;height:205px;flex-shrink:0}
#socialView .soc-world-shell .soc-profile-info{padding:0 28px 22px}
#socialView .soc-world-shell .soc-profile-info>.soc-avatar{width:78px;height:78px;margin-top:-30px;border-width:4px;font-size:32px}
#socialView .soc-world-shell .soc-profile-name h2{font-size:24px;line-height:1.3}
#socialView .soc-world-shell .soc-profile-name h2>span{font-size:20px}
#socialView .soc-world-shell .soc-profile-actions{gap:8px}
#socialView .soc-world-shell .soc-bio{max-width:680px;font-size:12px;line-height:1.7;margin:12px 0}
#socialView .soc-world-shell .soc-profile-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:7px;border:1px solid var(--soc-line);border-radius:14px;background:var(--soc-surface);margin:18px 0}
#socialView .soc-world-shell .soc-profile-tabs::-webkit-scrollbar{display:none}
#socialView .soc-world-shell .soc-profile-tab{flex-shrink:0;border:0;border-radius:9px;padding:10px 15px;margin:0;font-size:11px;color:var(--soc-muted)}
#socialView .soc-world-shell .soc-profile-tab[aria-pressed=true]{background:var(--soc-soft);color:var(--soc-ink);box-shadow:none}
#socialView .soc-world-shell .soc-profile-layout{grid-template-columns:minmax(0,1fr) 270px;gap:22px}
.soc-world-snapshot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px;border:1px solid var(--soc-line);border-radius:18px;background:linear-gradient(120deg,var(--soc-soft),var(--soc-surface));margin-bottom:24px}
.soc-world-snapshot h3{font-size:21px;letter-spacing:-.5px;margin:6px 0 8px}
.soc-world-snapshot p{font-size:11px;line-height:1.7;margin:0;color:var(--soc-muted);max-width:350px}
.soc-world-numbers{display:flex;gap:20px;flex-shrink:0}
.soc-world-numbers>span{font-size:10px;color:var(--soc-muted)}
.soc-world-numbers strong{display:block;font-size:27px;color:var(--soc-ink);margin-bottom:3px}
#socialView .soc-world-shell .soc-shelf{border-radius:18px;box-shadow:none;border:1px solid var(--soc-line);padding:22px;background:var(--soc-surface)}
#socialView .soc-world-shell .soc-featured h3{font-size:25px;line-height:1.2}
#socialView .soc-world-shell .soc-shelf>p{font-size:12px;line-height:1.7}
#socialView .soc-world-shell .soc-shelf-grid{gap:18px;margin-top:18px}
#socialView .soc-world-shell .soc-wow-section-heading{margin:0 0 15px;gap:12px}
#socialView .soc-world-shell .soc-wow-section-heading h3{font-size:23px}
#socialView .soc-world-shell .soc-wow-section-heading>div>span{font-size:9px;letter-spacing:1.4px}
#socialView .soc-world-shell .soc-recent-posts{margin-top:26px}
#socialView .soc-world-shell .soc-rail{display:flex;flex-direction:column;gap:14px}
#socialView .soc-world-shell .soc-rail-card{border:1px solid var(--soc-line);border-radius:16px;box-shadow:none;padding:16px}
.soc-world-tip{padding:18px;border-radius:16px;background:var(--soc-soft);border:1px solid var(--soc-line)}
.soc-world-tip h3{font-size:17px;margin:9px 0}
.soc-world-tip p{font-size:11px;line-height:1.7;color:var(--soc-muted)}
#socialView .soc-world-shell .soc-welcome{border:1px dashed var(--soc-line);border-radius:18px;background:var(--soc-soft);padding:28px}
#socialView .soc-world-shell .soc-welcome h3{font-size:29px}
#socialView .soc-world-shell .soc-reader-card{border:1px solid var(--soc-line);border-radius:18px;box-shadow:none;padding:22px}
#socialView .soc-world-shell .soc-discovery-intro{border-radius:20px;padding:28px;background:linear-gradient(120deg,var(--soc-soft),var(--soc-surface));border:1px solid var(--soc-line)}
#socialView .soc-world-shell .soc-discovery-intro h3{font-size:34px;line-height:1.15}
#socialView button:focus-visible{outline:3px solid #9b7ae8;outline-offset:3px}
.soc-world-share-preview{width:100%;height:auto;border-radius:16px;margin:10px 0;display:block}
@media(max-width:900px){#socialView .soc-world-shell .soc-profile-layout{grid-template-columns:minmax(0,1fr)}#socialView .soc-world-shell .soc-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.soc-world-tip{grid-column:1/-1}}
@media(max-width:600px){#socialView .soc-world-shell{padding:8px 0 24px}.soc-world-toolbar{flex-direction:column;align-items:stretch;gap:12px}.soc-world-toolbar>div>strong{font-size:18px}.soc-world-toolbar nav{justify-content:space-between}.soc-world-nav{flex:1;padding:10px 8px}.soc-world-preview{align-items:flex-start;flex-direction:column;gap:4px;padding:10px 12px}.soc-world-preview>p{font-size:10px}#socialView .soc-world-shell .soc-wow-cover{height:220px;min-height:220px;padding:22px 18px}#socialView .soc-world-shell .soc-wow-cover h1{font-size:29px;letter-spacing:-1px}#socialView .soc-world-shell .soc-wow-cover-copy p{font-size:10px}#socialView .soc-world-shell .soc-wow-cover-spotlight{width:43%;height:170px}#socialView .soc-world-shell .soc-wow-eyebrow{font-size:8px;letter-spacing:1px}#socialView .soc-world-shell .soc-profile-info{padding:0 16px 17px}#socialView .soc-world-shell .soc-profile-actions{margin-left:65px;flex-wrap:wrap;justify-content:flex-end;min-height:40px;margin-bottom:15px}#socialView .soc-world-shell .soc-profile-actions .soc-button{font-size:10px;padding:9px}#socialView .soc-world-shell .soc-profile-name h2{font-size:22px}#socialView .soc-world-shell .soc-profile-name h2>span{font-size:17px}#socialView .soc-world-shell .soc-profile-tabs{margin:14px 0;padding:5px}#socialView .soc-world-shell .soc-profile-tab{padding:10px 12px;font-size:10px}.soc-world-snapshot{flex-direction:column;align-items:stretch;padding:17px;gap:15px}.soc-world-numbers{gap:35px}.soc-world-snapshot h3{font-size:20px}#socialView .soc-world-shell .soc-shelf{padding:17px}#socialView .soc-world-shell .soc-rail{display:flex}#socialView .soc-world-shell .soc-wow-section-heading h3{font-size:21px}#socialView .soc-world-shell .soc-wow-section-heading .soc-button{font-size:10px;padding:9px}#socialView .soc-world-shell .soc-discovery-intro h3{font-size:28px}#socialView .soc-world-shell .soc-profile-header{border-radius:18px}}
#socialView .soc-world-shell .soc-wow-cover-stack{height:165px}
#socialView .soc-world-shell .soc-wow-spotlight-book{width:108px;border-width:5px}
#socialView .soc-world-shell .soc-wow-cover-caption{bottom:30px;right:0;font-size:8px;padding:6px 9px}
#socialView .soc-world-shell .soc-wow-cover-edit{bottom:0;right:4px;font-size:10px;padding:5px 9px}
#socialView .soc-world-shell .soc-wow-cover-stack-3 .soc-wow-spotlight-book:nth-child(1){transform:translateX(-61px) rotate(-17deg) scale(.87)}
#socialView .soc-world-shell .soc-wow-cover-stack-3 .soc-wow-spotlight-book:nth-child(3){transform:translateX(61px) rotate(18deg) scale(.87)}
.soc-legacy-diary{padding:16px;border:1px solid var(--soc-line);border-radius:16px;margin-top:20px}
.soc-legacy-diary summary{font-size:12px;font-weight:650;cursor:pointer}
@media(max-width:600px){#socialView .soc-world-shell .soc-wow-cover-stack{height:133px}#socialView .soc-world-shell .soc-wow-spotlight-book{width:80px}#socialView .soc-world-shell .soc-wow-cover-stack-3 .soc-wow-spotlight-book:nth-child(1){transform:translateX(-33px) rotate(-17deg) scale(.87)}#socialView .soc-world-shell .soc-wow-cover-stack-3 .soc-wow-spotlight-book:nth-child(3){transform:translateX(33px) rotate(18deg) scale(.87)}#socialView .soc-world-shell .soc-wow-cover-caption{font-size:6px;letter-spacing:.5px;bottom:30px;right:-4px}#socialView .soc-world-shell .soc-wow-cover-edit{font-size:8px;padding:5px 7px}}
/* Compact social library and editorial detail dialogs. */
#socialView .soc-world-shell .soc-library-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0 20px}
#socialView .soc-world-shell .soc-library-filters{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:0}
#socialView .soc-world-shell .soc-library-filter{min-height:34px;padding:6px 10px;font-size:10px;font-weight:650;gap:6px;border-radius:9px;background:var(--soc-surface);border:1px solid var(--soc-line);color:var(--soc-muted);box-shadow:none}
#socialView .soc-world-shell .soc-library-filter small{min-width:17px;height:17px;padding:0 4px;font-size:9px;border-radius:6px;background:var(--soc-soft);color:inherit}
#socialView .soc-world-shell .soc-library-filter[aria-pressed=true]{background:#7157c9;border-color:#7157c9;color:#fff}
#socialView .soc-world-shell .soc-library-filter[aria-pressed=true] small{background:#ffffff25}
#socialView .soc-world-shell .soc-library-filter:hover{transform:none}
.soc-library-sizes{display:flex;padding:3px;border:1px solid var(--soc-line);border-radius:10px;background:var(--soc-surface);gap:2px}
.soc-library-size{border:0;background:transparent;color:var(--soc-muted);font:inherit;font-size:9px;padding:7px 9px;border-radius:7px;min-height:28px;cursor:pointer}
.soc-library-size[aria-pressed=true]{background:var(--soc-soft);color:var(--soc-ink);font-weight:750}
#socialView .soc-world-shell .soc-library-grid{--soc-book-width:112px;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--soc-book-width)),1fr));gap:22px 16px;align-items:start}
#socialView .soc-world-shell .soc-library-grid[data-size=small]{--soc-book-width:82px;gap:18px 12px}
#socialView .soc-world-shell .soc-library-grid[data-size=large]{--soc-book-width:145px;gap:24px 18px}
#socialView .soc-world-shell .soc-library-grid .soc-book{width:100%;max-width:calc(var(--soc-book-width) + 14px);justify-self:center;min-width:0}
#socialView .soc-world-shell .soc-library-grid .soc-book>strong{font-size:11px;line-height:1.4;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#socialView .soc-world-shell .soc-library-grid .soc-book>small{font-size:9px;line-height:1.4}
#socialView .soc-world-shell .soc-library-grid[data-size=small] .soc-book>strong{font-size:10px}
#socialView .soc-world-shell .soc-posts-page .soc-post-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:14px}
#socialView .soc-world-shell .soc-reader-post{padding:14px;border-radius:15px;margin:0;min-width:0}
#socialView .soc-world-shell .soc-posts-page .soc-reader-post{max-width:320px}
#socialView .soc-world-shell .soc-reader-post-head{gap:8px}
#socialView .soc-world-shell .soc-reader-post-head .soc-avatar{width:30px;height:30px;font-size:14px}
#socialView .soc-world-shell .soc-reader-post-head strong{font-size:11px}
#socialView .soc-world-shell .soc-reader-post-head small{font-size:9px}
#socialView .soc-world-shell .soc-reader-post .marathon-share-card{max-width:265px;margin:12px 0}
#socialView .soc-world-shell .soc-reader-post .marathon-share-card figcaption{padding:12px 10px;gap:6px}
#socialView .soc-world-shell .soc-reader-post .marathon-share-card figcaption>strong{font-size:16px}
#socialView .soc-world-shell .soc-reader-post .marathon-share-completed{font-size:8px;letter-spacing:1px}
#socialView .soc-world-shell .soc-reader-post .marathon-share-card figcaption>span:not(.marathon-share-completed){font-size:10px}
#socialView .soc-world-shell .soc-reader-post-body{font-size:11px;line-height:1.6}
#socialView .soc-world-shell .soc-reader-post-foot{font-size:9px;padding-top:9px}
#socialView .soc-world-shell .soc-recent-posts>.soc-reader-post{max-width:320px}
.soc-dialog.soc-detail-dialog,.soc-dialog.soc-shelf-dialog{background:var(--soc-surface);padding:22px;border-radius:22px}
.soc-detail-dialog .soc-dialog-heading,.soc-shelf-dialog .soc-dialog-heading{margin-bottom:16px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--soc-line)}
.soc-detail-dialog .soc-dialog-heading h2,.soc-shelf-dialog .soc-dialog-heading h2{font-family:var(--sans);font-size:21px;line-height:1.3;margin:0;letter-spacing:-.4px;overflow-wrap:anywhere}
.soc-dialog .soc-dialog-heading .soc-icon{flex-shrink:0;width:34px;height:34px;border-radius:50%;font-size:23px;background:var(--soc-soft);border:0}
.soc-book-popup-hero{display:grid;grid-template-columns:112px minmax(0,1fr);gap:21px;align-items:start;padding:8px 0 16px}
.soc-book-popup-hero>.soc-detail-cover{display:block;position:relative;width:112px;height:168px;overflow:hidden;border-radius:7px;box-shadow:0 7px 15px #27344b25}
.soc-book-popup .soc-detail-cover .cover-art,.soc-shelf-popup .soc-detail-cover .cover-art{position:absolute;inset:0;width:100%;height:100%}
.soc-book-popup-hero h3{font-family:var(--serif);font-size:25px;line-height:1.15;letter-spacing:-.4px;margin:7px 0;color:var(--soc-ink);overflow-wrap:anywhere}
.soc-book-popup .soc-detail-byline{font-size:12px;color:var(--soc-muted);margin:0 0 11px}
.soc-book-popup .soc-detail-status-pill{display:inline-block;background:var(--soc-soft);color:var(--soc-ink);font-size:9px;border-radius:20px;padding:5px 9px;margin:0 8px 8px 0}
.soc-book-popup .soc-rating-stars{font-size:14px}
.soc-book-popup .soc-book-genres{gap:4px;margin:8px 0 0}
.soc-book-popup .soc-book-genres span{font-size:9px;padding:4px 7px;background:var(--soc-soft);color:var(--soc-muted)}
.soc-book-popup h4{font-size:12px;margin:0 0 8px;color:var(--soc-ink)}
.soc-book-popup .soc-detail-synopsis{padding:16px 0;border-top:1px solid var(--soc-line)}
.soc-book-popup .soc-detail-synopsis p,.soc-book-popup .soc-book-reader-note p{font-size:12px;line-height:1.8;color:var(--soc-muted);margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.soc-book-popup .soc-book-reader-note{padding:14px;border-radius:12px;background:var(--soc-soft);margin:0 0 15px}
.soc-edition-details{border-top:1px solid var(--soc-line);padding:13px 0;font-size:11px;color:var(--soc-muted)}
.soc-edition-details summary{cursor:pointer;font-weight:650}
.soc-book-popup .soc-meta-grid{margin:12px 0 0;gap:7px}
.soc-book-popup .soc-meta-field{padding:9px;background:var(--soc-soft);border-radius:8px}
.soc-book-popup .soc-meta-field dt{font-size:8px;color:var(--soc-muted)}
.soc-book-popup .soc-meta-field dd{font-size:11px;color:var(--soc-ink);font-weight:500}
.soc-book-popup-actions{border-top:1px solid var(--soc-line);padding-top:15px;margin-top:5px}
.soc-book-popup .soc-book-owned-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.soc-book-popup .soc-book-owned-actions label{font-size:10px;color:var(--soc-muted)}
.soc-book-popup .soc-book-owned-actions select{min-width:0;max-width:100%;padding:9px;border-radius:9px;border:1px solid var(--soc-line);background:var(--soc-surface);color:var(--soc-ink);font-size:12px}
.soc-book-popup .soc-owned{display:block;width:100%;font-size:10px;color:var(--soc-muted)}
.soc-book-popup-actions .soc-button{font-size:11px;padding:9px 12px}
.soc-shelf-popup-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;background:var(--soc-soft);border-radius:11px}
.soc-shelf-popup-intro>span+span{font-size:10px;color:var(--soc-muted)}
.soc-shelf-popup>.soc-description{font-size:12px;line-height:1.7;margin:14px 0}
.soc-shelf-popup .soc-list-detail{display:grid;gap:10px;margin-top:16px}
.soc-shelf-popup .soc-list-detail>article{display:grid;grid-template-columns:20px 66px minmax(0,1fr);align-items:start;gap:12px;border:1px solid var(--soc-line);padding:13px;border-radius:13px;background:var(--soc-surface)}
.soc-shelf-popup .soc-rank{font-size:11px;color:var(--soc-muted);padding-top:5px;min-width:0}
.soc-shelf-popup .soc-detail-cover{position:relative;display:block;width:66px;height:99px;padding:0;border:0;border-radius:5px;overflow:hidden;cursor:pointer}
.soc-shelf-popup .soc-list-detail h3{font-size:13px;font-weight:700;line-height:1.4;margin:0 0 4px;color:var(--soc-ink)}
.soc-shelf-popup .soc-list-detail small{font-size:10px;color:var(--soc-muted)}
.soc-shelf-popup .soc-list-detail p{font-size:11px;line-height:1.6;margin:7px 0;color:var(--soc-muted)}
.soc-shelf-popup .soc-text-button{font-size:10px;margin-top:5px;min-height:32px}
.soc-shelf-popup-footer{padding-top:16px;display:flex;justify-content:flex-end}
@media(max-width:600px){#socialView .soc-world-shell .soc-library-toolbar{gap:9px}#socialView .soc-world-shell .soc-library-grid{--soc-book-width:86px;gap:18px 11px}#socialView .soc-world-shell .soc-library-grid[data-size=small]{--soc-book-width:65px;gap:16px 9px}#socialView .soc-world-shell .soc-library-grid[data-size=large]{--soc-book-width:122px;gap:20px 14px}.soc-dialog.soc-detail-dialog,.soc-dialog.soc-shelf-dialog{padding:16px}.soc-book-popup-hero{grid-template-columns:85px minmax(0,1fr);gap:15px}.soc-book-popup-hero>.soc-detail-cover{width:85px;height:128px}.soc-book-popup-hero h3{font-size:21px}.soc-book-popup .soc-kicker{font-size:8px}.soc-shelf-popup .soc-list-detail>article{grid-template-columns:14px 53px minmax(0,1fr);gap:9px;padding:10px}.soc-shelf-popup .soc-detail-cover{width:53px;height:80px}.soc-book-popup .soc-book-owned-actions select{font-size:16px}}
/* The legacy detail dialog intentionally has no outer padding. */
.soc-detail-dialog .soc-book-popup{padding:0 22px 22px}
.soc-book-popup .soc-book-owned-actions{flex-direction:row;margin:0;padding:0;border:0}
.soc-book-popup .soc-book-owned-actions label{font-weight:500}
.soc-book-popup .soc-book-owned-actions select{width:auto;flex:1}
.soc-book-popup .soc-book-owned-actions .soc-secondary{margin-left:auto}
.soc-shelf-popup .soc-list-detail small{display:block;line-height:1.5}
.soc-shelf-popup .soc-list-detail .soc-text-button{display:block;margin-top:7px;text-align:left;min-height:30px;padding:5px 0}
@media(max-width:600px){.soc-detail-dialog .soc-book-popup{padding:0 16px 16px}.soc-book-popup-hero{grid-template-columns:78px minmax(0,1fr);gap:12px}.soc-book-popup-hero>.soc-detail-cover{width:78px;height:117px}.soc-book-popup-hero h3{font-size:20px;overflow-wrap:anywhere}.soc-book-popup .soc-book-owned-actions select{width:100%;flex:auto}.soc-book-popup .soc-book-owned-actions .soc-secondary{margin-left:0}.soc-book-popup .soc-book-owned-actions label{width:100%}}
/* Make it mine: personal details, spotlight and privacy in a calm editor. */
.soc-dialog.soc-settings-dialog{padding:0;border-radius:23px;background:var(--soc-surface);scroll-padding-top:78px}
.soc-settings-dialog .soc-dialog-heading{position:sticky;top:0;z-index:5;align-items:center;padding:16px 22px;margin:0;background:var(--soc-surface);border-bottom:1px solid var(--soc-line)}
.soc-settings-dialog .soc-dialog-heading h2{font:750 21px/1.25 var(--sans);letter-spacing:-.5px;margin:0;color:var(--soc-ink)}
.soc-settings-dialog #socialSettingsForm{padding:20px 23px 0;display:flex;flex-direction:column;gap:17px;margin:0}
.soc-settings-intro{padding:21px;border:1px solid #dcd6f1;border-radius:17px;background:radial-gradient(ellipse at 100% 0,#d9eefb,transparent 65%),linear-gradient(120deg,#f0e9ff,#f9f4ff);color:#423469}
.soc-settings-intro>span{font-size:8px;letter-spacing:1.6px;font-weight:800;color:#79659f}
.soc-settings-intro h3{font:650 27px/1.2 var(--serif);letter-spacing:-.6px;margin:8px 0}
.soc-settings-intro p{font-size:11px;line-height:1.7;margin:0;color:#786b8e;max-width:380px}
.soc-settings-dialog .soc-photo-options{display:block;margin:0;padding:14px;border:1px solid var(--soc-line);border-radius:15px;background:var(--soc-soft)}
.soc-settings-dialog .soc-photo-options>div{display:block;padding:0;border:0;background:transparent}
.soc-settings-dialog .soc-photo-options label{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:10px 14px;font-size:11px}
.soc-settings-dialog .soc-photo-preview{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:66px;height:66px;min-height:0;border:2px solid #fff;border-radius:50%;background:linear-gradient(135deg,#c7b5e9,#b5dbe9);overflow:hidden;margin:0;box-shadow:0 3px 10px #564c7c18}
.soc-settings-dialog .soc-photo-preview:empty::before{content:'+';font-size:25px;font-weight:400;color:#6e5a97}
.soc-settings-dialog .soc-photo-preview img{width:100%;height:100%;object-fit:cover}
.soc-settings-dialog input[type=file]{grid-column:2;width:100%;min-width:0;font-size:10px;color:var(--soc-muted);padding:0;border:0;background:transparent}
.soc-settings-dialog input[type=file]::file-selector-button{border:1px solid var(--soc-line);background:var(--soc-surface);color:var(--soc-ink);border-radius:8px;padding:7px 9px;font-size:10px;margin-right:7px;cursor:pointer}
.soc-settings-dialog .soc-photo-options .soc-text-button{font-size:9px;margin:7px 0 0 80px;padding:0;min-height:25px;color:var(--soc-muted)}
.soc-settings-dialog .soc-form-help{font-size:10px;line-height:1.6;margin:0;color:var(--soc-muted)}
.soc-settings-section-title{display:flex;align-items:center;gap:9px;font:700 13px/1.5 var(--sans);margin:5px 0 0;color:var(--soc-ink)}
.soc-settings-section-title>span{display:grid;place-items:center;font-size:9px;width:25px;height:25px;border-radius:8px;background:var(--soc-soft);color:#8270a5}
.soc-settings-dialog .soc-form label{font-size:11px;line-height:1.5;font-weight:650;color:var(--soc-ink);gap:7px;margin:0}
.soc-settings-dialog .soc-form label>small{font-size:9px;font-weight:400;color:var(--soc-muted)}
.soc-settings-dialog .soc-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.soc-settings-dialog .soc-form textarea,.soc-settings-dialog .soc-form select{border:1px solid var(--soc-line);border-radius:10px;background:var(--soc-surface);color:var(--soc-ink);padding:10px 11px;font-size:12px;font-weight:400;box-shadow:none;min-height:39px;width:100%;max-width:100%;box-sizing:border-box}
.soc-settings-dialog .soc-form textarea{resize:vertical;min-height:84px}
.soc-settings-dialog .soc-form input:focus,.soc-settings-dialog .soc-form textarea:focus,.soc-settings-dialog .soc-form select:focus{outline:2px solid #b7a0e9;outline-offset:2px}
.soc-settings-dialog fieldset{border:1px solid var(--soc-line);border-radius:15px;padding:16px;margin:3px 0;background:var(--soc-surface);min-width:0}
.soc-settings-dialog legend{font:700 12px/1.4 var(--sans);padding:0 7px;color:var(--soc-ink)}
.soc-settings-dialog .soc-spotlight-settings{background:linear-gradient(135deg,var(--soc-soft),var(--soc-surface));border-color:var(--soc-line)}
.soc-settings-dialog .soc-spotlight-settings>label,.soc-settings-dialog [data-cover-choice]{margin-top:14px}
.soc-settings-dialog .soc-spotlight-settings .soc-spotlight-picker{padding:2px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:230px}
.soc-settings-dialog .soc-spotlight-pick{border:1px solid var(--soc-line);background:var(--soc-surface);padding:9px!important;border-radius:10px;gap:7px;min-width:0}
.soc-settings-dialog .soc-spotlight-pick:has(input:checked){border-color:#a68bdc;background:var(--soc-soft)}
.soc-settings-dialog .soc-radio{display:flex;flex-direction:row;align-items:flex-start;gap:11px;padding:12px;border:1px solid var(--soc-line);border-radius:11px;margin-top:9px!important;background:var(--soc-surface);cursor:pointer}
.soc-settings-dialog .soc-radio:has(input:checked){border-color:#baa4e2;background:var(--soc-soft)}
.soc-settings-dialog .soc-radio input{accent-color:#7757bf;flex-shrink:0;width:15px;height:15px;margin-top:2px}
.soc-settings-dialog .soc-radio strong{display:block;font-size:11px}
.soc-settings-dialog .soc-radio small{display:block;font-size:10px;line-height:1.65;font-weight:400;margin-top:4px;color:var(--soc-muted)}
.soc-settings-dialog .soc-settings-save{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -23px;padding:13px 23px;background:var(--soc-surface);border-top:1px solid var(--soc-line);box-shadow:0 -5px 18px #34334e08}
.soc-settings-save>span{font-size:9px;line-height:1.5;color:var(--soc-muted);max-width:180px}
.soc-settings-save .soc-primary{border:0;white-space:nowrap;background:linear-gradient(115deg,#7754c6,#4b78c9);color:#fff;padding:11px 16px;font-size:11px}
html[data-app-theme=dark] .soc-settings-dialog{--soc-surface:#25273a;--soc-soft:#323047;--soc-line:#49435f;--soc-ink:#eee8ff;--soc-muted:#bcb3cf}
html[data-app-theme=dark] .soc-settings-intro{background:linear-gradient(115deg,#39304d,#2b3d50);border-color:#564867;color:#eee8ff}
html[data-app-theme=dark] .soc-settings-intro>span,html[data-app-theme=dark] .soc-settings-intro p{color:#c5b8dc}
@media(max-width:600px){.soc-settings-dialog .soc-dialog-heading{padding:15px 16px}.soc-settings-dialog #socialSettingsForm{padding:16px 16px 0;gap:16px}.soc-settings-dialog .soc-settings-save{margin:0 -16px;padding:12px 16px}.soc-settings-intro{padding:18px}.soc-settings-intro h3{font-size:25px}.soc-settings-dialog .soc-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.soc-settings-dialog .soc-form textarea,.soc-settings-dialog .soc-form select{font-size:16px}.soc-settings-dialog .soc-spotlight-settings .soc-spotlight-picker{grid-template-columns:1fr}.soc-settings-dialog .soc-settings-save>span{max-width:130px;font-size:9px}.soc-settings-dialog .soc-form-grid{gap:16px}}
.soc-settings-dialog .soc-stack-search{margin-top:12px!important}
.soc-settings-dialog .soc-spotlight-pick[hidden]{display:none!important}
.soc-settings-dialog #socialStackSearchEmpty:not([hidden]){margin-top:10px;color:var(--soc-muted)}
/* Personal cover photos sit beneath the unchanged book spotlight. */
#socialView .soc-world-shell .soc-profile-cover-photo{position:absolute;inset:0;z-index:0;pointer-events:none}
#socialView .soc-world-shell .soc-profile-cover-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#socialView .soc-world-shell .soc-profile-cover-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#172142c9,#27204470 55%,#17214226)}
#socialView .soc-world-shell .soc-wow-cover-copy,#socialView .soc-world-shell .soc-wow-cover-spotlight{z-index:1}
.soc-settings-dialog .soc-cover-upload{padding:12px;margin:14px 0;background:var(--soc-surface)}
.soc-cover-photo-preview{display:grid;place-items:center;width:100%;aspect-ratio:3/1;overflow:hidden;border-radius:10px;background:linear-gradient(115deg,#a79acb,#a4c8da);margin-bottom:12px}
.soc-cover-photo-preview>img{display:block;width:100%;height:100%;object-fit:cover}
.soc-cover-photo-preview>span{font-size:11px;color:#fff}
.soc-settings-dialog .soc-cover-upload input[type=file]{display:block;grid-column:auto;padding:6px 0}
.soc-settings-dialog .soc-cover-upload .soc-text-button{font-size:10px;margin:8px 0;min-height:28px}
/* Match the rounded, bright yellow rating glyphs in book details. */
#socialView .soc-rating-stars,.soc-dialog .soc-rating-stars{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;line-height:1;letter-spacing:0}
#socialView .soc-rating-glyph,.soc-dialog .soc-rating-glyph{position:relative;display:inline-block;flex:0 0 18px;width:18px;height:18px}
#socialView .soc-rating-glyph>svg,.soc-dialog .soc-rating-glyph>svg{display:block;width:18px;height:18px;fill:none;stroke:#c4c8d6;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
#socialView .soc-rating-fill,.soc-dialog .soc-rating-fill{position:absolute;inset:0 auto 0 0;display:block;overflow:hidden;pointer-events:none;height:18px}
#socialView .soc-rating-fill svg,.soc-dialog .soc-rating-fill svg{display:block;width:18px;height:18px;max-width:none;fill:#ffda81;stroke:#ffc747;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
html[data-app-theme=dark] #socialView .soc-rating-glyph>svg,html[data-app-theme=dark] .soc-dialog .soc-rating-glyph>svg{stroke:#777a93}
