/* Community views, scoped to the neutral screenshot-reviewed interface. */
#social-design,#social-design * {box-sizing:border-box}
#social-design {color:var(--ui-text,#123b2c);font:14px/1.4 Arial,Helvetica,sans-serif}
#social-design :is(h1,h2,h3,p) {padding:0;margin:0;color:inherit;letter-spacing:normal}
#social-design :is(a,button,input,select,textarea,summary) {font-family:Arial,Helvetica,sans-serif}
#social-design a {text-decoration:none;color:inherit}
#social-design .ui-icon {display:block;flex-shrink:0;width:24px;height:24px;stroke-width:1.5}
#social-design .sc-heading {margin:13px 0 20px}
#social-design .sc-heading h1 {font:700 29px/1.12 Georgia,serif;letter-spacing:-1px}
#social-design .sc-heading p {font:13px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-muted,#5b685a);margin-top:5px}
#social-design .sc-tabs {display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:0;margin:0 0 17px;padding:2px;border:1px solid var(--ui-line,#c7cbbd);border-radius:8px;background:linear-gradient(var(--ui-surface,#f5f4ed),var(--ui-surface,#eeeee5));overflow:visible}
#social-design .sc-tabs button {min-width:0;min-height:39px;padding:6px 4px;border:0;border-radius:6px;background:none;font:13px/1.2 Arial,Helvetica,sans-serif;color:var(--ui-text,#28422e)}
#social-design .sc-tabs button[aria-pressed=true] {background:linear-gradient(var(--ui-primary-start,#106746),var(--ui-primary-end,#064b33));color:white;font-weight:700}
#social-design .sc-user-search {display:flex;gap:0;align-items:center;margin:0 0 14px;padding:0 3px 0 11px;height:41px;background:var(--ui-surface,#f6f4ee);border:1px solid var(--ui-line,#cfcec3);border-radius:8px}
#social-design .sc-user-search label {display:flex;gap:10px;align-items:center;flex:1;min-width:0}
#social-design .sc-user-search .ui-icon {width:20px;height:20px}
#social-design .sc-user-search input {width:100%;min-width:0;height:38px;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:none;color:var(--ui-text,#233b2b);font:14px Arial,Helvetica,sans-serif}
#social-design .sc-user-search>button {display:grid;place-items:center;min-width:38px;min-height:37px;padding:8px;background:none;border:0;border-radius:6px;color:var(--ui-text,#4f6944)}
#social-design .sc-user-search:focus-within {outline:2px solid var(--ui-line,#647f59);outline-offset:2px}
#social-design .sc-user-search input:focus-visible {outline:none}
#social-design .sc-requests {padding:0 12px;margin:0 0 20px;border:1px solid var(--ui-line,#d1d5c5);border-radius:9px;background:linear-gradient(115deg,var(--ui-surface,#fefcf7),var(--ui-surface,#f7f4ed))}
#social-design .sc-requests>summary {display:flex;align-items:center;gap:10px;list-style:none;min-height:49px;padding:10px 0;font:700 14px/1.2 Arial,Helvetica,sans-serif;cursor:pointer}
#social-design .sc-requests>summary>span {flex:1}
#social-design .sc-requests>summary>strong {display:grid;place-items:center;min-width:24px;height:24px;padding:4px;border-radius:50%;background:var(--ui-soft,#e3e9cd);font-size:12px;color:var(--ui-text,#4a603b)}
#social-design .sc-requests>summary>.ui-icon {width:21px;height:21px}
#social-design .sc-requests>summary>.ui-icon:last-child {width:15px;height:15px}
#social-design .sc-requests[open]>summary>.ui-icon:last-child {transform:rotate(90deg)}
#social-design .sc-request-body {padding:8px 0 12px}
#social-design .sc-request-body p {font-size:13px;color:var(--ui-muted,#617456)}
#social-design .sc-section-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:17px 0 10px}
#social-design .sc-section-heading h2 {font:700 22px/1.15 Georgia,serif;letter-spacing:-.7px}
#social-design .sc-section-heading>.sc-button {min-height:28px;padding:5px 0;border:0;background:none;font-size:11px;color:var(--ui-muted,#6b7d5c);white-space:nowrap}
#social-design .sc-feed {display:grid;gap:12px}
#social-design .sc-review {padding:13px;border:1px solid var(--ui-line,#d1d5c5);border-radius:10px;background:linear-gradient(115deg,var(--ui-surface,#fefcf7),var(--ui-surface,#f7f4ed));box-shadow:0 2px 5px #203b2210}
#social-design .sc-review header {display:flex;align-items:center;gap:10px;margin-bottom:13px}
#social-design .avatar {width:37px;height:37px;min-width:37px;border:1px solid var(--ui-line,#e0ddca);background:var(--ui-soft,#e8eddb);color:var(--ui-text,#527043)}
#social-design .sc-review header>span {flex:1;min-width:0}
#social-design .sc-review header strong {display:block;font:700 14px/1.3 Arial,Helvetica,sans-serif}
#social-design .sc-review header small {display:block;font:11px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-muted,#718064);margin-top:2px}
#social-design time {font:10px Arial,Helvetica,sans-serif;color:var(--ui-muted,#7c886f);white-space:nowrap}
#social-design .sc-review-book {display:grid;grid-template-columns:53px minmax(0,1fr);gap:13px;align-items:start}
#social-design .sc-book-cover {position:relative;display:grid;place-items:center;width:53px;height:79px;border-radius:5px;overflow:hidden;background:var(--ui-soft,#e1e8d7);color:var(--ui-muted,#7b8f6a);box-shadow:0 2px 5px #18372516}
#social-design .sc-cover-image {position:absolute;display:block;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
#social-design .sc-review h3 {font:700 20px/1.1 Georgia,serif;letter-spacing:-.5px;margin-bottom:4px}
#social-design .sc-review p {display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font:13px/1.45 Arial,Helvetica,sans-serif;color:var(--ui-text,#3a5339);margin-top:6px}
#social-design .rating-stars {font-size:15px;color:var(--ui-muted,#c7c7af);gap:1px}
#social-design .star-full,#social-design .star-half::before {color:var(--ui-danger,#ac8541)}
#social-design .sc-club-card {display:grid;grid-template-columns:39px minmax(0,1fr) 15px;align-items:center;gap:12px;width:100%;padding:14px;border:1px solid var(--ui-line,#d1d5c5);border-radius:10px;background:linear-gradient(115deg,var(--ui-surface,#fefcf7),var(--ui-surface,#f3f4e8));color:var(--ui-text,#203e2a);text-align:left}
#social-design .sc-club-icon {display:grid;place-items:center;width:39px;height:43px;border:1px solid var(--ui-line,#d4ddc3);border-radius:8px;background:var(--ui-soft,#e7ecd9);color:var(--ui-muted,#5e7949)}
#social-design .sc-club-icon .ui-icon {width:27px;height:27px}
#social-design .sc-club-card strong {display:block;font:700 20px/1.15 Georgia,serif;letter-spacing:-.6px}
#social-design .sc-club-card small {display:block;font:11px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-muted,#70805d);margin-top:4px}
#social-design .sc-club-card>span>span {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:12px/1.45 Arial,Helvetica,sans-serif;color:var(--ui-muted,#5b7050);margin-top:8px}
#social-design .sc-club-card>.ui-icon {width:15px;height:15px;color:var(--ui-muted,#6f845b)}
#social-design .sc-club-list {display:grid;gap:13px;margin:0 0 20px}
#social-design :is(.sc-friend-list,.sc-add-friend,.sc-create-club,.sc-join-club) {padding:0 12px;margin:14px 0 0;border:1px solid var(--ui-line,#d1d5c5);border-radius:9px;background:var(--ui-surface,#f8f8ee)}
#social-design :is(.sc-friend-list,.sc-add-friend,.sc-join-club)>summary {min-height:44px;padding:13px 0;font:13px/1.3 Arial,Helvetica,sans-serif;cursor:pointer;color:var(--ui-text,#48633c)}
#social-design .sc-friend-list>summary strong {float:right;margin-right:5px;padding:1px 5px;border-radius:8px;background:var(--ui-soft,#e5ebd3);font-size:11px}
#social-design .sc-create-club {background:linear-gradient(var(--ui-primary-start,#106746),var(--ui-primary-end,#064b33));color:white;border-color:var(--ui-line,#15563a)}
#social-design .sc-create-club>summary {display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px;list-style:none;font:700 14px/1.2 Arial,Helvetica,sans-serif;color:white;cursor:pointer}
#social-design .sc-create-club>summary .ui-icon {width:19px;height:19px}
#social-design .sc-create-club[open] {background:var(--ui-surface,#f8f8ee);color:var(--ui-text,#28452d)}
#social-design .sc-create-club[open]>summary {color:var(--ui-text,#28452d)}
#social-design .sc-form {display:grid;gap:13px;padding:8px 0 16px}
#social-design .sc-form label {display:grid;gap:6px;font:13px Arial,Helvetica,sans-serif;color:var(--ui-muted,#5e7352)}
#social-design :is(input,select,textarea) {min-height:42px;border:1px solid var(--ui-line,#cbd2bf);border-radius:7px;background:var(--ui-surface,#fdfbf5);color:var(--ui-text,#27442e);font-size:14px;padding:10px;width:100%}
#social-design .sc-button,#social-design .secondary {min-height:35px;padding:8px 10px;border:1px solid var(--ui-line,#cbd2bf);border-radius:7px;background:var(--ui-surface,#f9f8ef);color:var(--ui-text,#34522e);font:12px/1.2 Arial,Helvetica,sans-serif}
#social-design .sc-primary,#social-design .primary {min-height:42px;padding:11px 12px;border:0;border-radius:7px;background:linear-gradient(var(--ui-primary-start,#106746),var(--ui-primary-end,#064b33));color:white;font:700 13px/1.3 Arial,Helvetica,sans-serif;white-space:normal}
#social-design .sc-count {font:12px Arial,Helvetica,sans-serif;color:var(--ui-muted,#6a7e5b);white-space:nowrap}
#social-design .sc-person,#social-design .social-row {display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:12px 0;border-bottom:1px solid var(--ui-line,#e0e5d5);font-size:13px;color:var(--ui-text,#355332)}
#social-design .sc-person>span,#social-design .social-row>span {flex:1;min-width:90px}
#social-design .sc-person strong {display:block;font-size:13px}
#social-design .sc-person small {display:block;font-size:11px;color:var(--ui-muted,#6c805c);margin-top:3px}
#social-design .sc-person-options {position:relative;border:0;margin:0;padding:0}
#social-design .sc-person-options summary {min-height:35px;display:grid;place-items:center;width:28px;padding:0;list-style:none;font-size:12px}
#social-design .sc-person-options button {position:absolute;right:0;z-index:2;box-shadow:0 2px 7px #0002}
#social-design .sc-intro {font:13px/1.4 Arial,Helvetica,sans-serif;color:var(--ui-muted,#677b58);margin:-3px 0 16px}
#social-design .sc-shared-reads {display:grid;gap:14px}
#social-design .sc-shared-card {display:flex;gap:16px;align-items:start;width:100%;padding:14px;border:1px solid var(--ui-line,#d1d5c5);border-radius:10px;background:linear-gradient(115deg,var(--ui-surface,#fefcf7),var(--ui-surface,#f7f4ed));color:var(--ui-text,#25452d);text-align:left}
#social-design .sc-shared-card .sc-book-cover {flex-shrink:0;width:76px;height:113px}
#social-design .sc-shared-info {display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
#social-design .sc-shared-info>small {font:10px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.3px;color:var(--ui-muted,#778760)}
#social-design .sc-shared-info>strong {font:700 23px/1.1 Georgia,serif;letter-spacing:-.6px}
#social-design .sc-shared-info>span {font:12px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-muted,#5b7350)}
#social-design .sc-read-date {margin-top:4px;color:var(--ui-muted,#7f886a)!important;font-size:11px!important}
#social-design .sc-read-open {display:flex;align-items:center;gap:4px;margin-top:5px;font-weight:700!important;color:var(--ui-text,#3f6637)!important}
#social-design .sc-read-open .ui-icon {width:12px;height:12px}
#social-design .sc-empty {padding:20px 15px;border:1px solid var(--ui-line,#d5dcc8);border-radius:9px;background:var(--ui-surface,#f1f3e7)}
#social-design .sc-empty p {font:13px/1.5 Arial,Helvetica,sans-serif;color:var(--ui-muted,#677d58)}
#social-design .panel {padding:16px;margin:14px 0;border:1px solid var(--ui-line,#d1d5c5);border-radius:10px;background:var(--ui-surface,#fcfaf4);box-shadow:none}
#social-design .panel h2 {font:700 23px/1.15 Georgia,serif;letter-spacing:-.5px;margin:12px 0}
#social-design .panel h3 {font:700 19px/1.2 Georgia,serif;margin:12px 0}
#social-design .panel p {font:13px/1.5 Arial,Helvetica,sans-serif;color:var(--ui-muted,#5a7050);margin:10px 0}
#social-design .social-form {display:grid;gap:13px;margin:14px 0}
#social-design .social-form .form-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px}
#social-design .social-form .form-grid label:last-child {grid-column:1/-1}
#social-design .social-form label {font-size:12px;gap:6px}
#social-design .social-form .inline-check {display:flex;flex-direction:row;align-items:center;gap:8px}
#social-design input[type=checkbox] {width:18px;height:18px;min-height:18px;accent-color:var(--ui-primary,#07573c)}
#social-design .social-comment {padding:12px;border:1px solid var(--ui-line,#d5dcc8);border-radius:8px;background:var(--ui-surface,#f4f5e9);margin:12px 0}
#social-design .shared-book {border:1px solid var(--ui-line,#d5dcc8);border-radius:8px;padding:12px;margin:10px 0;background:var(--ui-surface,#f5f5e9)}
@media(max-width:360px){#social-design .sc-tabs button{font-size:12px}#social-design .sc-section-heading h2{font-size:20px}#social-design .sc-review-book{gap:10px}#social-design .sc-club-card{gap:10px;padding:12px}#social-design .sc-club-card strong{font-size:19px}}
/* Detailed shared spaces use focused sections instead of nested generic panels. */
#social-design .sc-detail-heading {display:flex;align-items:center;gap:8px;margin:22px 0 16px}
#social-design .sc-detail-heading button {width:25px;min-height:40px;padding:0;border:0;background:none;color:var(--ui-text,#547744);flex-shrink:0}
#social-design .sc-detail-heading .ui-icon {width:19px;height:19px}
#social-design .sc-detail-heading h2 {font:700 27px/1.12 Georgia;letter-spacing:-.7px;overflow-wrap:anywhere}
#social-design .sc-detail-description {font:13px/1.6 Arial;color:var(--ui-muted,#6e805c);margin-bottom:17px}
#social-design .sc-detail-caption {font:11px/1.5 Arial;color:var(--ui-muted,#899875);margin:17px 0}
#social-design .sc-friend-profile {display:flex;align-items:center;gap:15px;padding:18px 14px;border:1px solid var(--ui-line,#d3dbc4);border-radius:9px;background:var(--ui-surface,#f1f4e6)}
#social-design .sc-friend-profile .avatar {width:63px;height:63px;margin:0;object-fit:cover}
#social-design .sc-friend-profile strong {font:700 22px Georgia}
#social-design .sc-friend-profile p {font:12px Arial;color:var(--ui-muted,#7a8e63);margin-top:7px}
#social-design .sc-share-status {display:flex;flex-wrap:wrap;gap:8px 15px;margin-top:18px}
#social-design .sc-share-status>span {display:flex;gap:6px;align-items:center;font:11px Arial;color:var(--ui-muted,#758c5f)}
#social-design .sc-share-status .ui-icon {width:17px;height:17px}
#social-design .sc-friend-links {display:flex;gap:16px;margin-top:17px}
#social-design .sc-friend-links a {display:flex;align-items:center;gap:7px;font:12px Arial;min-height:36px}
#social-design .sc-friend-links .ui-icon {width:18px;height:18px}
#social-design .sc-friend-books {display:grid;gap:13px}
#social-design .sc-friend-books article {display:flex;align-items:center;gap:14px;padding:13px;border:1px solid var(--ui-line,#d4dbc7);border-radius:9px;background:var(--ui-surface,#fdfbf5)}
#social-design .sc-friend-books .sc-book-cover {width:65px;height:96px;flex-shrink:0}
#social-design .sc-friend-books h3 {font:700 20px/1.2 Georgia}
#social-design .sc-friend-books p {font:12px Arial;color:var(--ui-muted,#6a8156);margin:8px 0}
#social-design .sc-friend-books small {display:block;font:10px/1.5 Arial;color:var(--ui-muted,#8a9975)}
#social-design :is(.sc-club-members,.sc-club-settings,.sc-group-progress) {padding:0 13px;border:1px solid var(--ui-line,#d3dbc5);border-radius:8px;background:var(--ui-surface,#f7f7ec);margin:10px 0}
#social-design .sc-club-members summary {display:flex;gap:9px;align-items:center;font:12px Arial}
#social-design .sc-club-members summary .ui-icon {width:19px;height:19px}
#social-design .sc-club-members p {font:12px Arial;padding:8px 0;color:var(--ui-muted,#6e855b)}
#social-design .sc-club-members>div {padding-bottom:10px}
#social-design .sc-detail :is(.sc-club-reads,.sc-discussion) {margin-top:26px}
#social-design .sc-detail h3 {font:700 22px/1.2 Georgia;letter-spacing:-.4px;margin-bottom:16px}
#social-design .sc-detail-read {display:flex;align-items:center;gap:14px;width:100%;padding:13px;border:1px solid var(--ui-line,#d3dac5);border-radius:9px;background:var(--ui-surface,#fdfbf5);text-align:left;color:var(--ui-text,#254e31);margin-bottom:13px}
#social-design .sc-detail-read .sc-book-cover {width:65px;height:96px;flex-shrink:0}
#social-design .sc-detail-read strong {display:block;font:700 20px/1.2 Georgia}
#social-design .sc-detail-read small {display:block;font:12px Arial;color:var(--ui-muted,#7a8e64);margin:8px 0 13px}
#social-design .sc-detail-read>span>span {font:11px Arial;color:var(--ui-text,#537d3f)}
#social-design .sc-composer {padding:0 13px;border:1px solid var(--ui-line,#d6dec8);border-radius:8px;background:var(--ui-surface,#f1f4e7);margin-top:14px}
#social-design .sc-composer summary {font:12px Arial;min-height:44px}
#social-design .sc-composer .social-form {padding-bottom:3px}
#social-design .sc-discussion .social-comment {margin:12px 0}
#social-design .sc-detail-book {display:flex;gap:17px;align-items:center;padding:16px;border:1px solid var(--ui-line,#d3dac4);border-radius:10px;background:var(--ui-surface,#fdfbf5);margin-bottom:19px}
#social-design .sc-detail-book .sc-book-cover {width:80px;height:119px;flex-shrink:0}
#social-design .sc-detail-book h3 {font:700 23px/1.1 Georgia;margin-bottom:10px}
#social-design .sc-detail-book p {font:12px Arial;color:var(--ui-muted,#6f865c);margin-bottom:13px}
#social-design .sc-detail-book small {font:10px/1.5 Arial;color:var(--ui-muted,#8a9977)}
#social-design .sc-progress-card {padding:16px;border:1px solid var(--ui-line,#d2dbc1);border-radius:9px;background:var(--ui-surface,#f0f4e5)}
#social-design .sc-progress-card .social-form {margin:0}
#social-design .sc-progress-card .social-form label {font-size:11px}
#social-design .sc-group-progress>div {display:grid;gap:7px;padding:12px 0;border-top:1px solid var(--ui-line,#dce3d0)}
#social-design .sc-group-progress span {font:12px Arial;color:var(--ui-text,#557a41)}
#social-design .sc-group-progress small {font:11px Arial;color:var(--ui-muted,#879872)}
#social-design .sc-club-settings .panel-actions {margin-top:0}
#social-design .sc-progress-card .primary {width:100%;min-height:44px}
#social-design .sc-detail .review-author {display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}
#social-design .sc-detail .review-author .avatar {width:30px;height:30px;margin:0;object-fit:cover}
#social-design .sc-detail .review-author strong {font:700 12px Arial}
#social-design .sc-detail .review-author small {font:10px Arial;color:var(--ui-muted,#8a9976);margin-left:auto}
#social-design .sc-library-progress {display:grid;grid-template-columns:1fr auto;align-items:center;gap:13px 10px}
#social-design .sc-library-progress>strong {font:700 34px/1 Georgia;color:var(--ui-text,#234e32)}
#social-design .sc-library-progress>span {font:11px Arial;color:var(--ui-muted,#7b9066)}
#social-design .sc-library-progress progress {grid-column:1/-1;width:100%;height:9px;border:0;border-radius:8px;overflow:hidden;appearance:none}
#social-design .sc-library-progress progress::-webkit-progress-bar {background:var(--ui-soft,#dce4ce)}
#social-design .sc-library-progress progress::-webkit-progress-value {background:linear-gradient(90deg,var(--ui-soft,#90a877),var(--ui-primary-end,#376c46));border-radius:8px}
#social-design .sc-library-progress>p {grid-column:1/-1;font:12px Arial;color:var(--ui-muted,#71875d)}
#social-design .sc-progress-origin {font:11px/1.65 Arial;color:var(--ui-muted,#889b73);margin-top:15px}
#social-design .sc-composer .social-form .form-grid {grid-template-columns:1fr}
#social-design .sc-composer .social-form>.primary {width:100%;min-height:44px}
