*{box-sizing:border-box} :root{--cream:#fff8eb;--paper:#fffdf7;--ink:#352f2d;--muted:#75695f;--wine:#772c32;--orange:#e96c38;--gold:#f6b229;--line:#e6ddcc;--teal:#24696d}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.55}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #239daa;outline-offset:4px}button:disabled{cursor:default;opacity:.45}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,.display{font-family:'Shrikhand',Georgia,serif;font-weight:400}h1{font-size:clamp(30px,3.2vw,46px);line-height:1.18;letter-spacing:-1.1px;color:var(--wine)}h2{font-size:25px;line-height:1.35;letter-spacing:-.4px}h3{font-size:18px;line-height:1.35}.sidebar{position:fixed;width:224px;inset:0 auto 0 0;background:var(--wine);color:var(--cream);display:flex;flex-direction:column;padding:12px 20px 25px;z-index:5}.brand{height:157px;display:block;overflow:hidden}.brand img{width:100%;height:100%;object-fit:contain}.brand-caption{font-size:9px;letter-spacing:1.5px;text-align:center;color:#edcb9c;margin:-7px -5px 35px}nav{display:grid;gap:10px}nav a{display:flex;gap:13px;align-items:center;padding:13px 14px;border-radius:8px;color:#f3d8c9;font-size:15px;font-weight:600}nav a span{font-size:24px;line-height:1}nav a.active{background:#fff3e2;color:var(--wine)}nav a:not(.active):hover{background:#ffffff10}.side-note{margin:auto 0;padding:38px 14px;color:#f5d29e}.asterisk{display:block;font-size:58px;color:var(--gold);line-height:1.2}.side-note p{font-family:Georgia,serif;font-size:21px;line-height:1.45;font-style:italic;margin-top:15px}.sidebar-bottom{font-size:12px;border-top:1px solid #ffffff25;padding-top:20px}.sidebar-bottom p{font-size:11px;color:#e1b3a6;margin-top:5px}.status-dot{display:inline-block;width:7px;height:7px;background:#eeb452;border-radius:50%;margin-right:5px}.page-shell{margin-left:224px}.topbar{height:76px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#fffaf1}.topbar>span{color:var(--muted);font-size:14px}.topbar-right{display:flex;align-items:center;gap:15px}.demo-pill{font-size:12px;border:1px solid #dbcdb8;border-radius:30px;padding:5px 12px;color:#756348}.avatar{border:none;background:#d9e8df;color:#315d54;border-radius:50%;width:64px;height:64px;display:grid;place-items:center;font-family:Georgia,serif;font-size:30px;flex-shrink:0}.avatar.small{width:36px;height:36px;font-size:19px}.avatar.peach{background:#f6d7b3;color:#8d421f}.avatar.lilac{background:#e1d5e8;color:#684284}.avatar.blue{background:#cce6e7;color:#2b666b}main{padding:38px 42px 30px;max-width:1540px;margin:0 auto;min-height:calc(100vh - 145px)}.eyebrow{display:block;font-size:11px;letter-spacing:1.8px;font-weight:700;color:var(--teal);text-transform:uppercase;margin-bottom:10px}.intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:27px}.intro p{margin-top:12px;color:var(--muted);font-size:15px}.intro-mark{font-size:66px;line-height:1.1;color:var(--orange);transform:rotate(12deg);padding:0 16px}.profile-strip{display:flex;align-items:center;gap:16px;border:1px solid var(--line);background:var(--paper);padding:19px 23px;border-radius:12px;margin-bottom:28px}.profile-strip .identity{flex:1}.identity p{font-size:14px;color:var(--muted);margin-top:3px}.handle{font-size:13px;color:var(--muted);font-weight:400;margin-left:7px}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:1px solid var(--wine);border-radius:7px;padding:10px 17px;background:var(--wine);color:#fff8eb;font-weight:600;font-size:14px}.button:hover{background:#612128}.button.secondary{background:transparent;color:var(--wine);border-color:#d5b9ad}.button.secondary:hover{background:#f7e9da}.button.ghost{background:transparent;color:var(--wine);border-color:transparent;padding:7px 0}.button.ghost:hover{text-decoration:underline}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:26px}.shelf{margin-bottom:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-heading h2{display:flex;align-items:center;gap:9px}.section-heading .section-icon{font-family:Georgia,serif;color:var(--orange);font-size:26px}.section-heading p{font-size:12px;color:var(--muted);margin-top:3px}.shelf-label{font-size:10px;letter-spacing:1.2px;color:var(--muted);text-transform:uppercase;margin-left:4px}.picks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding-bottom:17px;border-bottom:5px solid #e5d3b8;position:relative}.pick{position:relative;min-width:0}.pick-button{border:0;background:none;text-align:left;padding:0;width:100%}.cover{--cover:#315853;--accent:#d6c6a1;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;aspect-ratio:2/3;padding:15px 9px 11px;background:var(--cover);color:var(--accent);overflow:hidden;border-radius:3px 6px 6px 3px;box-shadow:3px 5px 8px #3c291622,inset 3px 0 #ffffff18,inset 5px 0 #00000018;isolation:isolate;transition:transform .2s}.cover:before{content:'';position:absolute;width:110%;height:63%;border:1px solid currentColor;border-radius:50%;top:29%;left:-5%;opacity:.6;z-index:-1;transform:rotate(-30deg)}.cover:after{content:'';position:absolute;width:67%;height:70%;border:1px solid currentColor;border-radius:50%;top:27%;left:17%;opacity:.6;z-index:-1;transform:rotate(28deg)}.cover[data-art="1"]:before{border-radius:50% 50% 0 0;background:var(--accent);width:54%;height:45%;top:34%;left:23%;opacity:.3;transform:rotate(0deg)}.cover[data-art="2"]:before{border-radius:0;width:70%;height:70%;left:35%;top:35%;background:var(--accent);opacity:.2;transform:rotate(35deg)}.cover[data-art="3"]:before{width:150%;height:45%;top:50%;left:-30%;border-width:14px;transform:rotate(-25deg)}.cover[data-art="4"]:before{width:70%;height:48%;top:35%;left:15%;border:14px double currentColor;border-radius:50%;transform:none}.cover.movie{border-radius:5px;box-shadow:2px 4px 8px #3c291626;background:linear-gradient(155deg,var(--cover),#171719)}.cover.movie:after{opacity:.15;background:var(--accent)}.cover-title{font-family:Georgia,serif;text-align:center;font-size:clamp(14px,1.35vw,21px);line-height:1.08;font-weight:bold;z-index:1}.cover-author{font-size:8px;letter-spacing:1px;text-transform:uppercase;text-align:center;z-index:1}.cover-symbol{font-size:42px;opacity:.9;line-height:1;z-index:1}.rank{position:absolute;top:-8px;left:-6px;background:var(--cream);border:1px solid #d6bda0;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--wine);z-index:2}.pick-button:hover .cover{transform:translateY(-5px) rotate(-1deg)}.pick-title{display:block;font-size:12px;font-weight:700;line-height:1.35;margin-top:11px}.pick-author{display:block;font-size:11px;line-height:1.35;color:var(--muted);margin-top:3px}.pick-empty{aspect-ratio:2/3;border:1px dashed #baa58d;border-radius:5px;width:100%;background:#f5eddf;color:var(--wine);font-size:28px}.empty-label{font-size:12px;display:block}.aside-card{background:#f0eee0;border:1px solid #e2dec9;border-radius:12px;padding:21px;margin-bottom:19px}.aside-card h2{font-size:23px}.aside-card>p{font-size:13px;color:var(--muted);margin-top:7px}.mini-person{display:flex;align-items:center;gap:11px;margin-top:23px}.mini-person .avatar{width:42px;height:42px;font-size:22px}.mini-person h3{font-size:14px}.mini-person p{font-size:11px;color:var(--muted);margin-top:2px}.mini-person .score{margin-left:auto;font-size:15px;font-weight:bold;color:var(--teal)}.aside-card .button{margin-top:23px;width:100%;font-size:13px}.match-note{padding:5px 7px}.match-note h3{font-family:Georgia,serif;font-style:italic;font-size:21px;color:var(--wine);margin-bottom:9px}.match-note p{font-size:13px;color:var(--muted);line-height:1.65}.match-note .tiny-link{display:inline-block;font-size:13px;color:var(--wine);margin-top:10px;text-decoration:underline}.little-rainbow{display:flex;gap:4px;margin-top:24px}.little-rainbow i{height:5px;flex:1;background:var(--wine)}.little-rainbow i:nth-child(2){background:var(--orange)}.little-rainbow i:nth-child(3){background:var(--gold)}.little-rainbow i:nth-child(4){background:#2eb8c3}.little-rainbow i:nth-child(5){background:#7a4ba0}.device-note{font-size:12px;color:var(--muted);margin-top:14px}.page-footer{max-width:1540px;margin:auto;padding:15px 42px 22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.page-footer button{border:0;background:none;text-decoration:underline;color:var(--muted);font-size:12px}.filter-bar{display:flex;flex-wrap:wrap;gap:9px;margin:26px 0}.filter{border:1px solid #d9cebc;background:var(--paper);padding:8px 16px;border-radius:30px;font-size:13px}.filter.active{background:var(--wine);color:var(--cream);border-color:var(--wine)}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.person-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:25px}.person-top{display:flex;gap:13px;align-items:center}.person-top>div:nth-child(2){flex:1}.person-top .handle{display:block;margin:3px 0 0}.match-badge{color:var(--teal);text-align:right;font-size:11px;line-height:1.4}.match-badge strong{display:block;font-family:Georgia,serif;font-size:27px;font-weight:400}.person-bio{font-size:14px;color:var(--muted);margin:18px 0;min-height:44px}.tags{display:flex;flex-wrap:wrap;gap:6px}.tag{background:#f2ecdf;font-size:11px;border-radius:4px;padding:4px 9px;color:#675747}.shared{font-size:12px;color:var(--teal);margin:17px 0}.mini-covers{display:flex;gap:10px;margin:17px 0}.mini-covers .cover{width:64px;flex-shrink:0;padding:9px 5px}.mini-covers .cover-title{font-size:10px}.mini-covers .cover-symbol{font-size:22px}.mini-covers .cover-author{font-size:6px}.person-card .button{width:100%;margin-top:8px}.about-card{max-width:760px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:35px;margin-top:25px}.about-card p{color:var(--muted);margin:15px 0}.about-card h2{margin-top:28px}.about-card h2:first-child{margin-top:0}.about-card ol{padding-left:22px}.about-card li{margin:10px 0}.notice{background:#edf0e5;border-left:3px solid var(--teal);padding:15px 18px;font-size:14px;margin:20px 0}.empty-state{padding:35px;border:1px dashed #c9b8a0;border-radius:9px;grid-column:1/-1}.empty-state p{margin-top:8px;color:var(--muted)}dialog{border:1px solid #d5c5af;border-radius:15px;background:var(--paper);color:var(--ink);width:min(710px,calc(100% - 30px));max-height:88vh;padding:28px;box-shadow:0 20px 90px #1a080a40}dialog::backdrop{background:#29181988;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:8px}.dialog-head h2{font-size:26px}.close{border:1px solid var(--line);background:var(--cream);width:35px;height:35px;flex-shrink:0;border-radius:50%;font-size:23px;line-height:1}.dialog-subtitle{font-size:13px;color:var(--muted);margin-bottom:22px}.field{display:grid;gap:7px;margin:17px 0;font-size:14px;font-weight:600}.field input,.field textarea,.search-input{background:#fffefa;border:1px solid #cbbba6;border-radius:6px;padding:11px 12px;width:100%;color:var(--ink)}.field textarea{resize:vertical;min-height:95px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.selected-list{display:grid;gap:8px;margin:16px 0 25px}.selected-row{display:flex;align-items:center;gap:10px;background:#f7f0e4;border:1px solid var(--line);padding:10px;border-radius:7px}.selected-row>span:first-child{font-weight:700;color:var(--wine);width:20px}.selected-row .row-text{flex:1;font-size:14px;font-weight:600}.selected-row button{border:1px solid #d5c5af;background:var(--paper);width:32px;height:32px;border-radius:5px}.selected-row .remove{font-size:20px}.catalog{display:grid;gap:0;margin-top:14px;max-height:255px;overflow:auto}.catalog-row{display:flex;align-items:center;gap:13px;padding:11px 0;border-bottom:1px solid var(--line)}.catalog-row .row-text{flex:1}.catalog-row strong{font-size:14px;display:block}.catalog-row small{font-size:12px;color:var(--muted)}.catalog-row .button{padding:6px 12px}.detail-layout{display:grid;grid-template-columns:140px 1fr;gap:25px;align-items:start;margin-top:22px}.detail-layout .cover-title{font-size:22px}.detail-layout .cover-author{font-size:9px}.detail-layout p{font-size:14px;color:var(--muted);margin-bottom:13px}.member-shelves h3{margin-top:23px;margin-bottom:10px}.member-shelves ol{margin:0;padding-left:23px;display:grid;gap:7px;font-size:14px}.member-shelves small{color:var(--muted)}#toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translate(-50%,20px);background:var(--wine);color:var(--cream);padding:12px 23px;border-radius:9px;box-shadow:0 6px 25px #0002;font-size:14px;opacity:0;pointer-events:none;transition:.2s;z-index:20}#toast.visible{opacity:1;transform:translate(-50%,0)}.row-help{font-size:12px;color:var(--muted);margin:10px 0}.sample-label{font-size:10px;color:var(--muted);margin-top:4px}.save-error{color:#922e2e;font-size:13px}.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(min-width:1550px){.cover-title{font-size:23px}.cover-author{font-size:10px}.cover-symbol{font-size:60px}}@media(max-width:1200px){.sidebar{width:195px;padding-left:15px;padding-right:15px}.page-shell{margin-left:195px}main{padding:30px 27px}.topbar{padding:0 27px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:25px}.aside-card{margin-bottom:0}.picks{gap:20px}.cover-title{font-size:22px}.cover-author{font-size:9px}.cover-symbol{font-size:56px}.page-footer{padding-left:27px;padding-right:27px}}@media(max-width:760px){.sidebar{position:relative;width:auto;padding:0 18px;display:block}.brand{height:85px;width:120px;margin:auto}.brand-caption,.side-note,.sidebar-bottom{display:none}nav{display:flex;justify-content:center;gap:5px;padding:0 0 12px}nav a{padding:9px 11px;font-size:12px;gap:7px}nav a span{font-size:18px}.page-shell{margin-left:0}.topbar{height:57px;padding:0 20px}.topbar>span{font-size:12px}.demo-pill{font-size:10px}.topbar-right{gap:8px}main{padding:26px 20px}.intro{margin-bottom:22px}.intro-mark{display:none}h1{font-size:34px}.intro p{font-size:14px}.profile-strip{padding:15px;flex-wrap:wrap;gap:11px}.profile-strip .avatar{width:47px;height:47px;font-size:25px}.identity h3{font-size:16px}.identity p{font-size:12px}.handle{display:block;margin-left:0;font-size:11px}.profile-strip .button{font-size:12px;padding:7px 11px}.picks{gap:11px;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}.cover{padding:10px 5px 7px}.cover-title{font-size:clamp(9px,2.5vw,17px)}.cover-author{font-size:5px;letter-spacing:.5px}.cover-symbol{font-size:26px}.pick-title{font-size:10px}.pick-author{font-size:9px}.rank{width:20px;height:20px;font-size:10px;left:-4px}.section-heading h2{font-size:23px}.section-heading .button{font-size:12px}.shelf-label{display:none}.right-column{grid-template-columns:1fr}.match-note{padding:5px 5px 15px}.people-grid{grid-template-columns:1fr}.page-footer{padding:15px 20px;font-size:10px}.person-card{padding:22px}.person-top .handle{font-size:13px}#toast{left:50%;width:max-content;max-width:90%;font-size:13px}.about-card{padding:23px}.detail-layout{grid-template-columns:100px 1fr;gap:17px}.detail-layout .cover-title{font-size:17px}.detail-layout .cover-author{font-size:7px}dialog{padding:21px}.dialog-head h2{font-size:23px}.selected-row{gap:7px}.selected-row .row-text{font-size:12px}.selected-row button{width:30px}.intro p br{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Mate connections extend the existing retro visual language. */
.extra-picks{margin-top:17px}.extra-picks summary,.foundation summary,.demo-controls summary{cursor:pointer;color:var(--wine);font-size:14px;font-weight:600}.extra-picks summary span{display:block;margin-left:17px;font-size:12px;font-weight:400;color:var(--muted)}.extra-picks[open] .picks{margin-top:18px}.connection-intro{display:flex;gap:15px;align-items:center;padding:15px 20px;background:#f0eee0;border:1px solid #e2dec9;border-radius:10px;margin:12px 0 20px}.connection-intro>span{font-size:34px;color:var(--wine)}.connection-intro p{font-size:14px;color:var(--muted)}.connection-intro strong{color:var(--wine);font-weight:600}.relation-badge{display:inline-block;margin-top:7px;padding:3px 9px;border-radius:20px;background:#e0eee2;color:#315d54;font-size:11px;font-weight:600}.relation-badge.request{background:#faecd0;color:#785127}.visibility-note{color:var(--muted);font-size:13px;line-height:1.6;margin:8px 0 12px}.locked-cover{background:#f1eadb;color:#9b8770;border:1px dashed #c3b29a;box-shadow:none;justify-content:center;gap:9px;min-height:96px}.locked-cover:before,.locked-cover:after{display:none}.locked-cover>span:first-child{font-size:28px}.locked-cover>span:last-child{font-size:10px;text-align:center}.mini-covers{flex-wrap:wrap}.request-panel{background:#f7f0e4;border:1px solid var(--line);border-radius:9px;padding:17px;margin:18px 0}.request-panel p{font-size:14px;line-height:1.6;margin-bottom:12px}.mate-actions{display:flex;gap:10px;flex-wrap:wrap}.mate-confirmed{background:#e9efe3;color:#315d54;padding:12px 15px;border-radius:7px;font-size:14px;margin:17px 0}.field select{width:100%;max-width:100%;border:1px solid #cbbba6;border-radius:6px;padding:11px;background:#fffefa;color:var(--ink);font-size:14px}.shared-titles{margin:0;padding-left:22px;display:grid;gap:8px;font-size:14px}.locked-list{background:#f5efe4;border:1px dashed #cbbba6;border-radius:7px;padding:12px 14px;color:var(--muted);font-size:13px;margin-top:13px}.demo-controls{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.demo-controls p{margin:10px 0;font-size:12px;color:var(--muted)}.foundation{border:1px solid var(--line);padding:15px;border-radius:8px}.foundation li{font-size:14px;color:var(--muted)}@media(max-width:760px){.person-top{gap:10px}.person-top>div:nth-child(2){min-width:0}.person-top .handle{overflow-wrap:anywhere}.person-top .avatar{width:49px;height:49px;font-size:24px}.person-top h3{font-size:16px}.match-badge strong{font-size:25px}.connection-intro{padding:13px;gap:10px}.connection-intro p{font-size:13px}.dialog-actions{flex-wrap:wrap}.extra-picks summary{font-size:13px}.extra-picks summary span{font-size:11px}}
/* Live catalog additions preserve the existing Chaptermates palette and layout. */
.real-cover{padding:0!important;background:#e9dfcd!important;position:relative;overflow:hidden;min-width:0}
.real-cover:before,.real-cover:after{display:none!important}
.real-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#e9dfcd;z-index:1}
.cover-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:10px;height:100%;text-align:center;color:#654e48;overflow-wrap:anywhere}
.cover-fallback strong{font:600 14px/1.3 Georgia,serif}.cover-fallback small{font-size:11px}
.catalog-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.catalog-tabs [aria-pressed=true]{background:var(--wine);color:var(--cream)}
.catalog-search{display:flex;gap:9px;align-items:stretch}.catalog-search input{min-width:0;font-size:16px}.catalog-search .button{flex-shrink:0}
.catalog-thumb{width:48px;flex-shrink:0}.catalog-thumb .cover{width:48px;aspect-ratio:2/3}.catalog-thumb .cover-fallback{padding:3px}.catalog-thumb .cover-fallback strong{font-size:9px}.catalog-thumb .cover-fallback small{display:none}
.catalog-row .row-text{min-width:0;overflow-wrap:anywhere}.catalog-source{display:block;font-size:12px;color:var(--wine);text-decoration:underline;margin-top:4px}
#catalogStatus,#catalogCredit{font-size:14px;line-height:1.5}#catalogCredit a{text-decoration:underline;color:var(--wine)}
.selected-row .row-text{min-width:0;overflow-wrap:anywhere}.selected-row button{flex-shrink:0}
@media(max-width:760px){.catalog-tabs .button{font-size:14px;padding:9px 10px}.catalog-row{gap:9px}.catalog-row .button{padding:8px;font-size:14px}.cover-fallback strong{font-size:10px}.cover-fallback small{font-size:9px}}
.setup-banner{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:22px;margin:0 0 28px;background:#f0eee0;border:1px solid #d6d9c5;border-radius:12px}.setup-banner>div:first-child{flex:1;min-width:220px}.setup-banner h2{font-size:23px}.setup-banner p{font-size:15px;margin-top:8px;color:var(--muted)}.setup-banner .setup-saving{font-size:13px}.setup-steps{display:flex;gap:8px;flex-wrap:wrap}.setup-options{border:1px solid var(--line);border-radius:8px;padding:15px;margin-top:22px}.setup-options legend{font-weight:600;padding:0 5px}.setup-options label{display:flex;align-items:flex-start;gap:9px;font-size:15px;margin:12px 0}.setup-options input{margin-top:5px;flex-shrink:0}.setup-options .row-help{font-size:13px}@media(max-width:760px){.setup-banner{padding:17px}.setup-banner>div:first-child{min-width:0;flex-basis:100%}.setup-banner .button{font-size:14px}}
.club-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.club-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:25px;display:flex;flex-direction:column;align-items:flex-start}.club-mark{color:var(--wine);background:#f2e7d3;border-radius:12px;font-size:30px;padding:9px 17px;margin-bottom:20px}.club-card h2{font-size:25px;line-height:1.25;margin:10px 0}.club-card>p{font-size:16px;color:var(--muted);margin-bottom:20px}.club-meta{font-size:13px;color:var(--muted);margin-top:auto;margin-bottom:18px}.club-meta .relation-badge{display:block;width:fit-content}.club-card .button{width:100%;font-size:14px}.club-description{font-size:16px;line-height:1.7;margin:18px 0}.club-membership{display:flex;gap:15px;flex-wrap:wrap;align-items:center;margin:20px 0}.club-discussion-heading{margin-top:28px}.club-discussions{display:grid;gap:17px;margin:18px 0}.club-thread{padding:18px;border:1px solid var(--line);border-radius:9px;background:#f8f2e7}.club-thread h3{font-size:18px}.club-thread>p,.club-thread details p{font-size:16px;line-height:1.6;margin:10px 0}.club-thread .club-byline{font-size:13px;color:var(--muted)}.club-thread summary{font-size:14px;color:var(--wine);cursor:pointer;margin-top:16px}.club-thread details[open]{border-top:1px solid var(--line);margin-top:14px}@media(max-width:1150px){.club-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){nav{flex-wrap:wrap}.club-grid{grid-template-columns:1fr}.club-card{padding:22px}}
.spoiler-warning{background:#f2e7d3;border-left:3px solid var(--wine);padding:14px;border-radius:5px;margin-top:15px}.spoiler-warning>strong{color:var(--wine);font-size:14px}.spoiler-warning p{font-size:14px;line-height:1.5;margin:8px 0}.spoiler-warning .button{font-size:14px;margin-top:7px}.spoiler-body{border-top:1px solid var(--line);margin-top:16px;padding-top:6px}.spoiler-body[hidden]{display:none}
.club-reading{margin:26px 0;border-top:1px solid var(--line);padding-top:22px}.club-plan{display:grid;gap:12px;margin:18px 0}.club-plan-row{padding:15px;border:1px solid var(--line);border-radius:8px;display:flex;gap:15px;align-items:center;justify-content:space-between}.club-plan-row>div:first-child{min-width:0}.club-plan-row h4{font-size:16px;margin-top:8px;overflow-wrap:anywhere}.club-plan-row p{font-size:14px;color:var(--muted);margin-top:5px}.club-plan-controls{display:flex;gap:7px;flex-wrap:wrap;flex-shrink:0}.club-plan-controls select{max-width:100%;border:1px solid #cbbba6;background:var(--paper);padding:8px;border-radius:6px;font-size:14px}.club-plan-controls button,.moderation-action{font-size:14px;padding:8px 11px}.moderation-action{margin-top:9px}.club-role-preview{background:#f7f0e4;border:1px dashed #cbbba6;border-radius:8px;padding:15px}.club-role-preview p{font-size:14px}.moderated-thread{min-width:0}@media(max-width:760px){.club-plan-row{align-items:flex-start;flex-direction:column}.club-plan-controls{width:100%}}
.club-bulletin{border-top:1px solid var(--line);padding-top:22px;margin-top:25px}.club-announcement,.club-poll{margin-top:16px;padding:18px;border:1px solid var(--line);border-radius:9px;background:#f8f2e7}.club-announcement h4,.club-poll h4{font-size:18px;margin:9px 0;overflow-wrap:anywhere}.club-announcement p{font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere}.club-compose{margin:17px 0}.club-compose summary{cursor:pointer;color:var(--wine);font-size:14px;font-weight:600}.club-poll fieldset{padding:0;border:0;margin:15px 0;min-width:0}.poll-option{display:flex;align-items:flex-start;gap:10px;padding:10px 0;font-size:16px;overflow-wrap:anywhere}.poll-option input{margin-top:5px;flex-shrink:0}.poll-option span{min-width:0}.poll-actions{display:flex;gap:8px;flex-wrap:wrap}.poll-saved{font-size:14px;color:var(--teal);margin:15px 0;overflow-wrap:anywhere}.club-bulletin .button{font-size:14px}.club-poll fieldset:disabled{opacity:.7}
.club-access-panel{background:#f7f0e4;border:1px solid var(--line);border-radius:10px;padding:18px;margin:22px 0}.club-access-panel h3{font-size:19px}.club-access-panel>p{font-size:16px;line-height:1.6;margin:12px 0}.club-access-panel .button{font-size:14px}.club-access-panel .demo-controls p{font-size:14px}
.footer-tools{display:flex;gap:18px;flex-wrap:wrap}.page-footer .footer-tools button{font-size:13px}
dialog[data-club-theme="forest"]{background:#eef4eb}dialog[data-club-theme="lavender"]{background:#f3eef7}dialog[data-club-theme="golden"]{background:#fbf0db}.club-card[data-club-theme="forest"]{border-top:5px solid #5b765e}.club-card[data-club-theme="lavender"]{border-top:5px solid #847295}.club-card[data-club-theme="golden"]{border-top:5px solid #b58a35}.club-appearance,.discussion-history{padding:16px;border:1px solid var(--line);border-radius:8px;margin:18px 0;background:#fffaf1}.club-appearance summary,.discussion-history summary{font-size:14px;font-weight:600;color:var(--wine);cursor:pointer}.theme-options{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0;min-width:0}.theme-options label{display:flex;gap:9px;padding:13px;border:1px solid #cbbba6;border-radius:7px;font-size:14px;align-items:center;background:#fffaf1}.theme-options small{display:block;margin-top:3px;font-size:12px}.theme-options [data-theme-option="forest"]{background:#eef4eb}.theme-options [data-theme-option="lavender"]{background:#f3eef7}.theme-options [data-theme-option="golden"]{background:#fbf0db}.discussion-history ol{padding-left:20px;font-size:14px}.discussion-history li{margin:15px 0;overflow-wrap:anywhere}.discussion-history p{margin:6px 0}.discussion-history small{font-size:12px;color:var(--muted)}@media(max-width:400px){.theme-options{grid-template-columns:1fr}}
.locked-cover>span:last-child{max-width:100%;overflow-wrap:anywhere}
/* Account controls follow the existing Chaptermates palette. */
.account-bar{margin:20px 32px 0;padding:18px 22px;border:1px solid #713747;border-radius:16px;background:#fff9ef;display:flex;align-items:center;justify-content:space-between;gap:16px}.account-bar p{margin:5px 0 0;font-size:14px}.account-actions,.account-links{display:flex;flex-wrap:wrap;gap:10px}.account-links{margin-top:20px}.account-check{display:flex;align-items:center;gap:10px;margin:18px 0}#accountMessage{color:#862b3b;overflow-wrap:anywhere}.account-bar .button{white-space:normal}#accountForm input{max-width:100%;box-sizing:border-box}@media(max-width:650px){.account-bar{margin:12px;flex-direction:column;align-items:stretch;padding:16px}.account-actions .button{flex:1}}
.manager-list{list-style:none;padding:0;margin:16px 0 24px}.manager-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.manager-row p{font-size:14px;overflow-wrap:anywhere}.manager-row .account-actions{flex-wrap:wrap}

.poll-title-card{display:flex;gap:14px;align-items:center;text-align:left;min-width:0}.poll-title-card>.catalog-thumb{flex:0 0 65px;width:65px}.poll-title-card>span:last-child{overflow-wrap:anywhere;min-width:0}.poll-title-card .cover{width:65px;height:95px}.catalog-row>.poll-title-card{flex:1}

.conversation-table{margin:24px 0;padding:18px;border:1px solid #dacbb8;border-radius:22px;background:#eee6d8}.conversation-table .table-original{background:#fffaf0;border-top:4px solid #743437;margin:0 0 18px}.table-speaker{display:flex;gap:10px;align-items:center}.table-avatar{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:50%;background:#e6d6ba;color:#5a292b;font-weight:bold}.table-speaker .club-byline{margin:3px 0}.table-replies{border-left:2px solid #cdbb9f;margin-left:18px;padding-left:16px}.table-seat{position:relative;margin:14px 0;min-width:0}.table-replies>.table-seat:before{content:'';position:absolute;left:-18px;top:25px;width:16px;border-top:2px solid #cdbb9f}.table-message{overflow-wrap:anywhere}.table-reply{background:#fffdf7;margin:0}.table-reply-context{border-bottom:1px solid #eadfce;padding-bottom:8px}.conversation-table .spoiler-warning{margin:0}.conversation-table .spoiler-warning>div:not([hidden]){padding-top:12px}@media(min-width:700px){.table-replies .seat-left{margin-right:10%}.table-replies .seat-right{margin-left:10%}.table-replies .seat-right:before{left:calc(-11.11% - 18px);width:calc(11.11% + 16px)}}@media(max-width:500px){.conversation-table{padding:10px;border-radius:16px}.table-replies{margin-left:6px;padding-left:10px}.table-replies>.table-seat:before{left:-12px;width:10px}.conversation-table .club-thread{padding:14px}.table-speaker{align-items:flex-start}.table-avatar{flex-basis:30px;height:30px}}

.member-color-picker{border:1px solid var(--line);border-radius:10px;padding:14px;margin:16px 0}.member-color-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.member-color-options label{display:flex;align-items:center;gap:8px;min-height:44px}.member-swatch{width:20px;height:20px;border-radius:50%;flex-shrink:0}.table-message .table-avatar{outline:3px solid var(--member-color,#772c32);outline-offset:2px}.table-replies>.table-seat:before{border-color:var(--member-color,#cdbb9f)}
.table-message[data-line-color="burgundy"],.table-seat:has(>.table-message[data-line-color="burgundy"]){--member-color:#772c32}
.table-message[data-line-color="forest"],.table-seat:has(>.table-message[data-line-color="forest"]){--member-color:#376343}
.table-message[data-line-color="teal"],.table-seat:has(>.table-message[data-line-color="teal"]){--member-color:#24696d}
.table-message[data-line-color="plum"],.table-seat:has(>.table-message[data-line-color="plum"]){--member-color:#704c83}
.table-message[data-line-color="rust"],.table-seat:has(>.table-message[data-line-color="rust"]){--member-color:#984727}
.table-message[data-line-color="blue"],.table-seat:has(>.table-message[data-line-color="blue"]){--member-color:#365f8b}

/* Independent lanes connect direct replies to their original post. */
.conversation-table{position:relative;isolation:isolate}.conversation-lines{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:-1}.conversation-table>.table-replies{border:0;margin-left:0;padding-left:var(--lane-space,32px)}.table-replies>.table-branch>.table-seat{margin:20px 0}.table-seat:before{display:none}.table-side-conversation{margin:12px 0 0 14px;padding-left:12px;border-left:1px dashed #b9aa95}.table-replies .seat-left,.table-replies .seat-right{margin-left:0;margin-right:0}.table-side-conversation .table-seat{margin:12px 0}.table-branch{min-width:0}@media(max-width:500px){.table-side-conversation{margin-left:4px;padding-left:7px}.conversation-table .club-thread{padding:10px}}

.notice-bell{display:inline-flex;align-items:center;gap:8px}.notice-count{background:#772c32;color:white;border-radius:20px;padding:2px 8px;font-size:14px}.notification-list{display:grid;gap:12px;margin-top:20px}.notification-entry{border:1px solid #d6c5ad;border-radius:14px;padding:18px;background:#fffdf7;overflow-wrap:anywhere}.notification-entry.is-unread{border-left:4px solid #772c32;background:#fff6e8}.notice-state{font-size:14px;color:#772c32;margin:0 0 8px}.notification-empty{padding:24px 0}.notification-entry p{line-height:1.5}

/* Lines pass over card backgrounds and stop at the avatar outline. */
.conversation-table>.conversation-lines{z-index:1}

.club-announcement{margin:24px 0;padding:20px;border:1px solid #d8c09d;border-left:4px solid #772c32;border-radius:14px;background:#fff6e8}.announcement-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:16px}

.table-avatar{position:relative;flex:0 0 64px;width:64px;height:64px;font-size:25px;overflow:hidden}.portrait-image{position:absolute;inset:0;display:block;border-radius:inherit;overflow:hidden}.portrait-image img{display:block;width:100%;height:100%;object-fit:cover}.profile-strip>.avatar{position:relative;width:112px;height:112px;flex:0 0 112px;font-size:36px;border-radius:50%;outline:3px solid var(--member-color,#772c32);outline-offset:2px;overflow:hidden}.member-photo-picker{border:1px solid var(--line);border-radius:12px;padding:18px;margin:16px 0}.photo-preview{position:relative;width:160px;height:160px;border-radius:50%;background:#e6d6ba;font-size:40px;display:grid;place-items:center;overflow:hidden;margin:12px auto;outline:3px solid #772c32;outline-offset:2px}.photo-preview[hidden],#photoSliders[hidden]{display:none}.member-photo-picker input[type=range]{padding:0;min-height:36px}.table-speaker>div{min-width:0}.table-speaker strong{overflow-wrap:anywhere}@media(max-width:500px){.table-avatar{flex-basis:52px;width:52px;height:52px;font-size:22px}.profile-strip{flex-wrap:wrap}.profile-strip>.avatar{width:112px;height:112px;flex-basis:112px}.table-speaker{gap:10px}}

.home-layout{display:grid;grid-template-columns:180px minmax(0,1fr) 210px;gap:22px;align-items:start}.home-box{background:#fffaf0;border:1px solid var(--line);border-radius:18px;padding:20px;min-width:0}.home-personal{text-align:center}.home-personal h2{font-size:22px;margin:12px 0 5px}.home-portrait .table-avatar{width:112px;height:112px;margin:auto;font-size:36px}.home-board-links{margin:22px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;gap:14px;text-align:left}.home-board-links a{font-weight:700}.home-board-links span{display:block;font-size:14px;font-weight:400;color:var(--muted)}.home-club-links{display:grid;gap:5px}.home-club-links button{white-space:normal}.home-personal .button{max-width:100%;white-space:normal}.home-center{min-width:0;display:grid;gap:20px}.home-section-heading h2{margin-top:0}.home-club-heading{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}.home-club h2,.home-discovery h2{font-size:24px;margin:8px 0 16px}.home-club-heading h2{overflow-wrap:anywhere}.home-pin{padding:8px;flex-shrink:0}.home-current{padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;gap:12px}.home-current .catalog-thumb{width:42px;flex:0 0 42px}.home-current .poll-title-card{font-size:14px}.home-excerpt{padding:16px 0}.home-excerpt+.home-excerpt{border-top:1px solid var(--line)}.home-excerpt p{font-size:16px;line-height:1.6;margin:6px 0 0;overflow-wrap:anywhere}.home-club-footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}.home-discover-item{padding:16px 0;border-bottom:1px solid var(--line)}.home-discover-item h3{font-size:19px;margin:12px 0}.home-discover-item p{line-height:1.6;font-size:14px}.home-discover-item .button{width:100%}.home-interest-links{display:grid;margin-top:12px}.home-interest-links button{white-space:normal;text-align:left}.home-mobile-discovery{display:none}.home-intro{align-items:center}.home-intro h1{font-size:clamp(28px,3vw,42px)}@media(max-width:1200px){.home-layout{grid-template-columns:minmax(0,1fr) 220px}.home-personal{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:16px;text-align:left}.home-personal h3,.home-personal>.home-club-links,.home-personal>.handle{display:none}.home-personal .home-board-links{display:flex;gap:20px;border:0;margin:0;padding:0}.home-portrait .table-avatar{width:72px;height:72px}.home-personal h2{margin:0}.home-intro{flex-wrap:wrap;gap:16px}}@media(max-width:850px){.home-layout{display:block}.home-personal{margin-bottom:22px;padding:18px}.home-desktop-discovery{display:none}.home-mobile-discovery{display:block}.home-discovery{background:#f0e8d6}.home-personal .home-board-links{width:100%;justify-content:space-around}.home-portrait .table-avatar{width:64px;height:64px}.home-personal h2{font-size:20px}.home-box{padding:18px}.home-club h2{font-size:23px}}

.personal-expression{margin:16px 0;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);width:100%;overflow-wrap:anywhere}.expression-text{font-size:16px;line-height:1.6;white-space:pre-wrap}.personal-expression small{font-size:13px;color:var(--muted)}.member-expression{font-size:14px;font-style:italic;line-height:1.4;margin:5px 0;overflow-wrap:anywhere}.community-preview{border-top:4px solid #772c32}.community-preview h2{margin:10px 0}.community-prompt{font-family:Georgia,serif;font-size:22px;line-height:1.5}.community-welcome{background:#fff6e8;border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:24px}.community-welcome h2{font-size:clamp(23px,3vw,32px);line-height:1.3}.community-welcome p{line-height:1.6}#communityConversation{max-width:900px;margin:auto}#communityConversation .conversation-table{margin:24px 0}#communityConversation .field textarea{width:100%}

.live-mate-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:16px;margin:18px 0}.live-mate-pick{min-width:0;max-width:155px;display:grid;gap:6px;overflow-wrap:anywhere}.live-mate-pick .cover{width:100%;height:145px}.live-mate-pick small{font-size:12px}.person-card .live-mate-picks{grid-template-columns:repeat(2,minmax(0,1fr))}.report-review{margin-top:16px}

#mateSearchForm{align-items:flex-end;margin:18px 0;gap:10px}#mateSearchForm .field{flex:1;min-width:0;margin:0}#mateSearchForm input{height:44px}#mateSearchForm>.button{height:44px;align-self:flex-end;padding:0 18px}
/* Home is the navigation hub; personal controls stay together. */
.sidebar{display:none}.page-shell{margin-left:0;max-width:1600px;margin-inline:auto}.topbar{gap:20px;height:auto;min-height:82px;padding:16px 36px}.hub-home{font-family:Shrikhand,serif;color:var(--wine);font-size:24px;text-decoration:none;white-space:nowrap}.hub-home span{display:block;font:600 14px 'DM Sans',sans-serif}.topbar #breadcrumb{margin-right:auto}.topbar-right{margin-left:auto}.demo-pill{display:none}#profileShortcut{position:relative;overflow:hidden;width:48px;height:48px;flex-shrink:0}.account-bar{padding:8px 36px;background:transparent;border-bottom:1px solid var(--line)}.account-bar strong{display:none}.account-bar p{font-size:14px;margin:0}.account-bar .button{padding:6px 10px;font-size:14px}.account-bar [data-account=manage]{display:none}.profile-menu{display:grid;gap:12px;margin-top:20px}.profile-menu .button{text-align:left}.home-people{display:flex;gap:24px;flex-wrap:wrap;margin:24px 0}.home-person{border:0;background:transparent;color:var(--ink);display:flex;flex-direction:column;align-items:center;gap:7px;width:130px;cursor:pointer}.home-person .table-avatar{width:80px;height:80px;position:relative;overflow:hidden;border-radius:50%;border:3px solid var(--member-color);font-size:28px}.home-person strong,.home-person>span:last-child{max-width:100%;overflow-wrap:anywhere}.home-person>span:last-child{font-size:14px;color:var(--muted)}.people-home{margin-bottom:22px}.people-home .home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.home-resume{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.home-resume p{font-size:14px}.home-layout{grid-template-columns:230px minmax(0,1fr) 270px}.home-intro{margin-bottom:24px}.home-intro h1{font-size:36px}.home-personal{align-self:start}.row-help{font-size:14px}body[data-home-tone=forest]{background:#e7eee5}body[data-home-tone=lavender]{background:#eee8f2}body[data-home-tone=golden]{background:#f6ebcf}#toast{left:50%}
@media(max-width:1100px){.home-layout{grid-template-columns:210px minmax(0,1fr)}.home-desktop-discovery{display:none}.home-mobile-discovery{display:block}}
@media(max-width:760px){.topbar{padding:12px 16px;gap:10px}.hub-home{font-size:20px}.topbar #breadcrumb{display:none}.notice-bell{font-size:0;padding:10px}.notice-bell svg,.notice-count{font-size:14px}.account-bar{padding:8px 16px}.home-layout{display:flex;flex-direction:column}.home-center{order:0;width:100%}.home-personal{order:1;width:100%}.home-intro h1{font-size:28px}.home-intro,.people-home .home-section-heading,.home-resume{align-items:flex-start;flex-direction:column}.home-people{gap:16px}.home-person{width:110px}.home-person .table-avatar{width:68px;height:68px}.home-box{min-width:0}main{padding:22px 16px}.topbar-right{gap:8px}}
.home-person .table-avatar{flex:0 0 auto;aspect-ratio:1}.account-bar{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;min-height:36px}.account-bar [data-account=save]:disabled{display:none}@media(max-width:650px){.account-bar{flex-direction:row;align-items:center;padding:8px 16px}.account-bar .account-actions:empty{display:none}}

/* Members choose the frame around their Home portrait. */
.home-people{display:flex;flex-wrap:wrap;gap:14px;padding:8px 0 28px}
.mate-face-card{position:relative;display:grid;place-items:center;width:112px;height:112px;flex:0 0 112px;padding:14px;border:2px solid #725e64;border-radius:18px;background:var(--card-color,#f5b7cf);box-shadow:0 3px 0 #392d3015;color:#432e35}
button.mate-face-card{cursor:pointer}
.mate-face-card .table-avatar{position:relative;width:78px;height:78px;flex-basis:78px;font-size:25px;outline:2px solid #725e64;outline-offset:0;background:#fffaf0;color:#432e35;overflow:hidden}
button.mate-face-card:hover{box-shadow:0 4px 9px #392d302b}
button.mate-face-card:focus-visible{outline:3px solid #24696d;outline-offset:4px}
.mate-card-label{display:none;position:absolute;z-index:5;top:calc(100% + 7px);left:50%;transform:translateX(-50%);padding:6px 9px;border-radius:6px;background:#432e35;color:#fffaf0;font-size:13px;line-height:1.4;max-width:180px;width:max-content;overflow-wrap:anywhere;pointer-events:none}
.mate-face-card:hover .mate-card-label,.mate-face-card:focus-visible .mate-card-label{display:block}
.member-card-picker #ownCardPreview{margin:14px 0 20px}
@media(max-width:600px){.home-people{gap:12px}.mate-face-card{width:88px;height:88px;flex-basis:88px;padding:10px;border-radius:15px}.mate-face-card .table-avatar{width:62px;height:62px;flex-basis:62px;font-size:21px}}

.member-card-picker{border:1px solid var(--line);border-radius:12px;padding:18px;margin:16px 0}

.primary-nav{display:flex;gap:8px;padding:12px 24px;border-bottom:1px solid var(--line);flex-wrap:wrap}.primary-nav a{padding:10px 16px;text-decoration:none;border-radius:12px;color:var(--wine);font-weight:600}.primary-nav a.active{background:var(--wine);color:white}.chapter-controls{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 28px}.chapter-controls p{flex-basis:100%;margin:0}.member-name-link{border:0;background:transparent;padding:4px 0;color:inherit;font:inherit;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.member-profile-link{border:0;cursor:pointer}.member-name-link:focus-visible,.member-profile-link:focus-visible{outline:3px solid #24696d;outline-offset:4px}@media(max-width:600px){.primary-nav{padding:8px;gap:2px}.primary-nav a{flex:1;text-align:center;padding:10px 4px}}

/* Quiet header, labelled icon navigation. */
#breadcrumb[hidden],#accountBar[hidden]{display:none!important}
.topbar{min-height:72px;padding-block:14px}.hub-home{font-size:28px}
.primary-nav{gap:16px;padding:8px 28px}
.primary-nav a{position:relative;display:grid;place-items:center;min-width:48px;min-height:48px;padding:10px;border-radius:12px}
.primary-nav a:focus-visible{outline:3px solid #24696d;outline-offset:3px}
.nav-tip{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);z-index:20;background:#432e35;color:#fffaf0;padding:6px 10px;border-radius:6px;white-space:nowrap;font-size:13px;line-height:1.4}
.primary-nav a:hover .nav-tip,.primary-nav a:focus-visible .nav-tip{display:block}
@media(max-width:600px){.primary-nav{padding:6px 12px;gap:8px}.primary-nav a{flex:0 0 48px}.topbar{padding:12px 16px}.hub-home{font-size:24px}}

/* Home: people, updates and clubs, without competing sidebars. */
.home-clean{max-width:1120px;margin:0 auto}.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 28px}.home-welcome h1{font-size:clamp(25px,3vw,36px);margin:0}.home-clean .home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.home-clean .home-section-heading h2{font-family:'DM Sans',sans-serif;font-size:21px;margin:0}.home-clean .home-box{padding:22px;border-radius:18px}.home-clean .people-home{margin-bottom:20px}.home-clean .home-people{margin:12px 0 0;padding-bottom:18px}.home-activity{margin-bottom:20px}.home-update-list{display:grid;gap:0}.home-update{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;padding:14px 4px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer;font:inherit}.home-update small{display:block;color:var(--muted);margin-top:4px}.home-update:focus-visible{outline:3px solid #24696d;outline-offset:2px}.home-quiet{color:var(--muted);margin:0}.home-clean .home-resume{padding:16px 22px}.home-clean .home-resume h2{font:600 18px 'DM Sans',sans-serif;margin:6px 0}.home-clean .home-resume p{margin:0}.home-clubs-section{margin-top:30px}.home-clubs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-clubs-grid .home-club{min-width:0;display:flex;flex-direction:column;margin:0}.home-clubs-grid .home-club h2{font-size:22px;overflow-wrap:anywhere}.home-clubs-grid .home-club-footer{margin-top:auto;padding-top:16px}.home-clubs-grid .home-current{max-height:260px;overflow:auto}.home-clubs-grid .home-excerpt p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.home-community-link{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 0;margin-top:26px;border-top:1px solid var(--line)}.home-community-link h2{font-size:24px;margin:0 0 6px}.home-community-link p{margin:0;color:var(--muted)}
@media(max-width:900px){.home-clubs-grid{grid-template-columns:1fr}.home-clubs-grid .home-current{max-height:none}.home-clubs-grid .home-club h2{font-size:24px}}@media(max-width:600px){.home-welcome{align-items:flex-start}.home-welcome .button{font-size:12px;padding:8px;flex-shrink:0}.home-clean .home-box{padding:18px}.home-clean .home-section-heading{align-items:center;flex-direction:row}.home-clean .home-section-heading a,.home-clean .home-section-heading button{font-size:13px}.home-community-link{align-items:flex-start;flex-direction:column}}

/* A preview opens only when the member chooses to peek. */
.club-peek-card{display:flex;flex-direction:column;min-width:0}.club-peek-card h2{overflow-wrap:anywhere;margin-bottom:8px}.club-peek-status{font-size:14px;color:var(--muted);margin:0 0 20px}.club-peek{margin-top:auto;border:1px solid #cdb9aa;border-radius:16px;background:#fffaf0;overflow:hidden}.club-peek summary{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:170px;padding:22px 16px;cursor:pointer;text-align:center;background:repeating-linear-gradient(135deg,#772c3206 0,#772c3206 12px,transparent 12px,transparent 24px);color:var(--wine);font-weight:700;list-style:none}.club-peek summary::-webkit-details-marker{display:none}.club-peek summary:focus-visible{outline:3px solid #24696d;outline-offset:-5px}.peek-symbol{font-size:28px}.peek-instruction{font-size:12px;font-weight:400;color:var(--muted)}.club-peek .peek-open{display:none}.club-peek[open] .peek-open{display:inline}.club-peek[open] .peek-closed{display:none}.club-peek[open] summary{min-height:76px;padding:14px}.club-peek[open] .peek-symbol{display:none}.club-peek-body{padding:20px;border-top:1px solid var(--line)}.club-peek-body p{overflow-wrap:anywhere}.club-peek-body .button{display:block;margin-top:18px;width:100%}.peek-quick-open{margin-top:12px;align-self:flex-start}.club-grid{align-items:start}

.club-interest-match{margin:4px 0 16px;padding:12px;border-radius:12px;background:#24696d0d}.club-interest-match strong{color:#24696d;font-size:15px}.club-interest-match p{font-size:13px;line-height:1.5;margin:6px 0 0}.club-match-controls{display:flex;align-items:start;justify-content:space-between;gap:20px;margin:18px 0 24px}.club-match-controls label{display:flex;align-items:center;gap:10px}.club-match-controls select{font:inherit;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--cream,#fffaf0);color:var(--ink);padding:8px}.club-match-controls details{max-width:500px;font-size:14px}.club-match-controls summary{cursor:pointer}.club-match-controls p{line-height:1.6}@media(max-width:700px){.club-match-controls{flex-direction:column}.club-match-controls label{flex-wrap:wrap}}

.jar-card{display:flex;align-items:center;gap:20px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fffaf0;margin:16px 0}.spoiler-jar-icon{flex:0 0 82px}.jar-joke{border:0;background:transparent;color:var(--wine);font:600 19px "DM Sans",sans-serif;text-align:left;padding:4px 0;cursor:pointer}.jar-joke:focus-visible{outline:3px solid #24696d;outline-offset:3px}.jar-total{font-weight:600;margin:6px 0}.jar-card .row-help{margin:7px 0}.my-jar-section{max-width:650px;margin-bottom:26px}.club-jar-section .jar-card{padding:12px 18px}.club-jar-section .spoiler-jar-icon{width:58px;height:66px;flex-basis:58px}@media(max-width:480px){.jar-card{align-items:flex-start;gap:12px;padding:14px}.spoiler-jar-icon{width:62px;height:72px;flex-basis:62px}.jar-joke{font-size:17px}}

/* Club gathering update: consistent art geometry and readable text columns. */
.home-current .poll-title-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start}
.home-current .catalog-thumb,.home-current .catalog-thumb .cover{width:42px!important;min-width:42px!important;max-width:42px!important;height:63px!important}
.home-current .catalog-thumb .cover img{width:100%;height:100%;object-fit:cover}
.home-current .poll-title-card>span:last-child{min-width:0;overflow-wrap:anywhere}
.gathering-nav{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0 18px;border-bottom:1px solid var(--line);margin-bottom:18px}
.gathering-nav .filter{padding:10px 14px;min-height:44px}
.gathering-surface{background:#fff8ea;color:#352c29;padding:24px;border-radius:18px;overflow-wrap:anywhere}
.gathering-surface[data-table-color=rose]{background-color:#fbe9ed}.gathering-surface[data-table-color=sage]{background-color:#eaf0e4}.gathering-surface[data-table-color=sky]{background-color:#e8f1f8}.gathering-surface[data-table-color=lavender]{background-color:#f0eaf7}
.gathering-surface[data-table-background=linen]{background-image:repeating-linear-gradient(0deg,#80604006 0 1px,transparent 1px 5px)}
.gathering-surface[data-table-background=dots]{background-image:radial-gradient(#80604016 1px,transparent 1px);background-size:18px 18px}
.gathering-surface[data-table-background=garden]{background-image:radial-gradient(ellipse at top right,#789f7420,transparent 65%)}
.gathering-surface[data-table-font=serif] :is(h2,h3){font-family:Georgia,serif;font-style:normal}.gathering-surface[data-table-font=sans] :is(h2,h3){font-family:system-ui,sans-serif;font-style:normal}
.gathering-welcome h2{font-size:clamp(26px,4vw,38px);margin-top:8px}.gathering-section,.gathering-music{padding:20px 0;border-top:1px solid #80604030;margin-top:20px}
.gathering-title{padding:12px 0}.host-question{background:#fff9;padding:18px;border-radius:14px}
.club-cover-photo{width:100%;max-height:260px;object-fit:cover;border-radius:12px;margin-bottom:20px}
.music-details{display:flex;align-items:center;gap:18px}.music-details img{flex:0 0 88px;object-fit:contain;border-radius:8px}.music-details h3{margin:6px 0}.music-placeholder{font-size:48px;width:88px;text-align:center}
.gathering-reactions,.post-reactions,.gathering-shortcuts,.gathering-candidates{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.gathering-reactions button,.post-reactions button{font:inherit;font-size:13px;border:1px solid #bbaaa0;border-radius:20px;background:#fff9;color:#503b39;padding:9px 12px;min-height:38px;cursor:pointer}
.gathering-reactions button[aria-pressed=true],.post-reactions button[aria-pressed=true]{background:#772c32;color:white;border-color:#772c32}
.gathering-tools{padding:14px 0;border-top:1px solid #80604030}.gathering-tools summary{cursor:pointer;font-weight:600;margin-bottom:12px}.gathering-tools .button{margin:4px}
.gathering-members{display:grid;gap:12px}.gathering-members article{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#fff8;padding:14px;border-radius:12px}.gathering-members p{margin:4px 0}
.gathering-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.scrapbook-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px;margin:20px 0}.scrapbook-card{background:#fffaf2;border:1px solid #dacbb8;padding:20px;border-radius:8px;box-shadow:0 3px 8px #55332208}.scrapbook-card .button{margin:4px 0}.memory-photo{max-width:100%;height:auto}.memory-caption{white-space:pre-wrap}
.interest-options{display:flex;gap:10px;flex-wrap:wrap}.interest-options label{padding:8px 12px;background:#fff7eb;border:1px solid var(--line);border-radius:20px}.interest-options input{accent-color:#772c32}
.poll-card-vote{width:100%;border:2px solid var(--line);background:#fffaf2;color:inherit;border-radius:14px;padding:16px;cursor:pointer;font:inherit;text-align:left;min-height:48px}.poll-card-vote[aria-pressed=true]{border-color:#772c32;background:#f7e8e7}.poll-card-vote:hover{border-color:#9b6869}.poll-option-row{margin:18px 0;overflow-wrap:anywhere}
.unread-divider{padding:12px;text-align:center;border-block:1px solid #8b6262;color:#772c32;font-weight:700}
/* Keep conversation controls readable at narrow widths and larger text sizes. */
.table-message .account-actions{flex-wrap:wrap;align-items:center}
.table-message .account-actions .button{flex:0 1 auto;width:auto;max-width:100%;min-height:44px;white-space:normal;word-break:normal;overflow-wrap:normal;text-align:center}
.table-message .account-actions .button.ghost{padding:10px 12px}
@media(max-width:550px){.gathering-surface{padding:14px}.gathering-nav{gap:4px}.gathering-nav .filter{font-size:13px;padding:8px}.music-details{align-items:flex-start;gap:12px}.music-details img{width:64px;height:64px;flex-basis:64px}.gathering-members article .button{width:100%}}

/* Honor native hidden state even on grid/flex labels and buttons. */
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.inline-help{font-size:14px;font-weight:400;margin:8px 0;color:var(--muted)}
.inline-help>summary,.conversation-jar>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #d5b9ad;border-radius:22px;color:var(--wine);width:fit-content;list-style:none}
.inline-help>summary::-webkit-details-marker,.conversation-jar>summary::-webkit-details-marker{display:none}
.inline-help[open]>div,.inline-help[open]>p{padding:12px;border:1px solid #dfd2c0;border-radius:10px;background:var(--paper);line-height:1.6}
.inline-help summary:focus-visible,.conversation-jar summary:focus-visible{outline:3px solid var(--teal,#24696d);outline-offset:3px}
.page-help{margin:0 0 12px;display:flow-root}
.page-help>summary{margin-left:auto}
.page-help[open]>div{max-width:600px;margin-left:auto}
.conversation-toolbar,.scrapbook-toolbar{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin:14px 0 8px}
.conversation-search{flex:1 1 220px;min-width:0}
.conversation-search input,.scrapbook-search input{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbbba6;border-radius:9px;background:#fffefa;color:var(--ink);font:inherit;font-size:16px}
.conversation-toolbar>.inline-help,.scrapbook-toolbar>.inline-help{margin:0}
.conversation-jar{font-size:14px;min-width:0}
.conversation-jar[open]{flex-basis:100%}
.conversation-jar .club-jar-section{margin:8px 0}
.conversation-update-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:6px 0 14px}
.conversation-update-bar .button{min-height:44px;font-size:13px}
.earlier-conversations{margin:12px 0;min-height:44px}
.scrapbook-search{display:flex;align-items:center;gap:8px;flex:1 1 260px;min-width:0}
.scrapbook-search .field{flex:1;min-width:0;margin:0}
.scrapbook-search .button{flex:0 0 auto;min-height:44px;align-self:center}
.scrapbook-nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}
.scrapbook-nav .filter{min-height:44px}
.collection-empty{text-align:center;padding:28px 16px;border:1px dashed #cbbba6;border-radius:12px;margin:20px 0;line-height:1.6}
.collection-empty h3{font-size:23px;margin:6px 0}
.memory-empty-icon{font-size:38px;color:var(--wine)}
.scrapbook-card h3,.scrapbook-card h4{margin:6px 0 10px;overflow-wrap:anywhere}
.scrapbook-card .poll-title-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px}
.scrapbook-card .catalog-thumb,.scrapbook-card .catalog-thumb .cover{width:48px!important;min-width:48px!important;height:72px!important}
@media(max-width:550px){.conversation-toolbar{gap:8px}.conversation-search{flex-basis:100%}.scrapbook-search{flex-basis:100%}.gathering-heading{gap:10px;flex-wrap:wrap}.scrapbook-nav .filter{flex:1 1 auto}.scrapbook-card{padding:16px}}

/* Connection moments */
.chapter-question{padding:1.2rem;border:1px solid var(--line,#dfd2bf);border-radius:18px;margin:1rem 0;background:var(--paper,#fffaf0)}
.moments-list{margin-top:1.4rem}.moments-list .club-thread{margin:1rem 0}.moments-list p,.milestone-line p{overflow-wrap:anywhere}
.club-traditions{list-style:none;padding:0;display:grid;gap:.7rem}.club-traditions li{display:flex;flex-wrap:wrap;gap:.4rem 1rem}.club-traditions strong{min-width:6rem}
.tradition-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:.8rem;margin:1rem 0;border:1px solid #dfd2bf;border-radius:12px;padding:1rem}
.milestone-lines{border-top:1px solid #dfd2bf;margin-top:1rem;padding-top:1rem}.milestone-line{padding:.7rem 0;border-bottom:1px solid #e9ddcb}.milestone-lines form{margin-top:1rem}
.draft-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}.draft-tools .row-help{flex:1 1 220px}
@media(max-width:560px){.tradition-editor{grid-template-columns:minmax(0,1fr)}.chapter-question{padding:1rem}.moments-list .button{max-width:100%}}

/* Welcome and private feedback */
.welcome-places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.2rem 0}.welcome-places>div{padding:1rem;border:1px solid #dfd2bf;border-radius:14px}.welcome-places p{margin:.5rem 0 0}.construction-note{padding:1rem 1.2rem;border:1px dashed #b79965;border-radius:14px;background:#faf0d8;margin:1.2rem 0}.construction-note h3{margin-top:0}
.tour-progress{display:flex;gap:.5rem;margin:1rem 0}.tour-progress span{height:5px;flex:1;border-radius:4px;background:#dfd2bf}.tour-progress .current{background:#7e2d36}.welcome-tour{min-height:200px}.welcome-tour .account-actions{margin-top:1.5rem}
.feedback-preview{display:block;max-width:100%;max-height:220px;object-fit:contain;margin:.7rem 0}.feedback-screenshot{display:block;width:auto;max-width:100%;height:auto;margin:1rem 0}.feedback-state{font-weight:700;color:#7e2d36}.feedback-list .club-thread{margin:1rem 0}.feedback-list .memory-caption{overflow-wrap:anywhere}#feedbackStatusForm{margin:1.3rem 0}#siteFeedbackForm textarea{min-height:130px}
@media(max-width:560px){.welcome-places{grid-template-columns:minmax(0,1fr);gap:.6rem}.welcome-places>div{padding:.8rem}.construction-note{padding:.9rem}.welcome-card .account-actions>.button{flex:1 1 140px}}

/* Small hobby clubs and Chapter Notes */
.club-seats{padding:1rem;border:1px solid #dfd2bf;border-radius:14px;margin:1rem 0}.club-seats>.button{margin:.5rem .5rem 0 0}
.note-scroll{max-height:48vh;min-height:160px;overflow:auto;padding:.7rem;border:1px solid #dfd2bf;border-radius:16px;overscroll-behavior:contain}.chapter-note{background:var(--note-color,#f5b7cf);border-radius:16px;padding:1rem;margin:.8rem 0;max-width:92%;color:#302522}.chapter-note.my-note{margin-left:auto}.chapter-note header{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.chapter-note header small{font-size:.75rem}.chapter-note .table-avatar{width:38px;height:38px;min-width:38px}.chapter-note .memory-caption{white-space:pre-wrap;overflow-wrap:anywhere}.chapter-note .button{background:#fffaf0;font-size:.8rem;padding:.4rem .7rem}.note-update-bar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.6rem 0}.note-update-bar [data-note-status]{flex:1;font-size:.85rem}
.note-arrived{animation:note-welcome .45s ease-out}@keyframes note-welcome{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}65%{transform:translateX(3px)}}@media(prefers-reduced-motion:reduce){.note-arrived{animation:none;outline:2px solid #7e2d36;outline-offset:2px}}
@media(max-width:560px){.chapter-note{max-width:97%;padding:.8rem}.note-scroll{padding:.4rem;max-height:45vh}.club-seats{padding:.8rem}}

/* Notification help shares the preferences heading row. */
.notice-preferences-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:0 12px;align-items:start;margin:8px 0}
.notice-preferences-row>details:first-child{grid-column:1;grid-row:1;min-width:0}
.notice-preferences-row>details:first-child>summary{min-height:32px;cursor:pointer}
.notice-preferences-row>.notice-help{display:contents;margin:0}
.notice-preferences-row>.notice-help>summary{grid-column:2;grid-row:1;box-sizing:border-box;width:32px;height:32px;min-height:32px;padding:0;justify-content:center;border-radius:50%;font-size:16px;font-weight:700}
.notice-preferences-row>.notice-help>p{grid-column:1 / -1;margin:12px 0 0}
.notice-preferences-row>.notice-help:not([open])>p{display:none}

.chapter-status{display:block;margin-block:1.5rem}.chapter-status form{display:grid;gap:.75rem;margin-block:1rem}.chapter-status label{display:block;margin-block:.5rem}.chapter-status textarea,.chapter-status select{font:inherit;color:inherit;background:var(--paper,#fffaf0);border:1px solid var(--line,#bba);border-radius:8px;padding:.65rem}.chapter-status select{display:block;max-width:100%;margin-top:.35rem}.chapter-status textarea{display:block;width:100%;box-sizing:border-box;margin-top:.35rem}.chapter-status p{margin:.6rem 0}.chapter-status form>.button{justify-self:start}.status-post{border-top:1px solid var(--line,#bba);padding-block:1rem}.status-body{white-space:pre-wrap;overflow-wrap:anywhere}.chapter-status details button{margin:.35rem}.chapter-status summary{cursor:pointer;padding:.5rem 0}.chapter-status input[type=checkbox]{accent-color:var(--wine,#742c34)}

.member-chapter-page{width:100%;min-width:0}.member-chapter-nav{display:flex;flex-wrap:wrap;gap:12px;margin:1rem 0 2rem}.member-chapter-heading h1{overflow-wrap:anywhere}.member-chapter-page .person-top{justify-content:flex-start;gap:1.5rem}.member-chapter-page .table-avatar{width:88px;height:88px}.member-chapter-page .live-mate-picks{display:flex;flex-wrap:wrap;gap:1rem}.member-chapter-page .account-actions{flex-wrap:wrap}.member-chapter-page .chapter-status{max-width:900px}.member-chapter-page [data-member-chapter]{min-height:200px}@media(max-width:600px){.member-chapter-page .account-actions{display:grid}.member-chapter-heading h1{font-size:2rem}.member-chapter-nav .button{padding:.6rem .8rem}}

.chapter-layout{display:grid;grid-template-columns:minmax(190px, .85fr) minmax(0,2.5fr) minmax(190px,.85fr);gap:22px;align-items:start;margin:24px 0 48px}
.chapter-left,.chapter-center,.chapter-right{display:grid;gap:20px;min-width:0}
.chapter-panel{min-width:0;padding:22px;border:1px solid var(--line,#dfd3c4);border-radius:24px;background:var(--paper,#fffcf6);box-shadow:0 5px 18px #40281706;overflow-wrap:anywhere}
.chapter-panel h2{font-size:1.35rem;margin:0 0 16px}.chapter-panel h3{font-size:1.1rem}.chapter-panel p{line-height:1.65}.chapter-layout-heading h1{font-size:clamp(2rem,3.6vw,3.4rem);margin:8px 0}
.chapter-layout .profile-strip{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;margin:0}
.chapter-layout .profile-strip .avatar,.chapter-member-identity .table-avatar{width:112px!important;height:112px!important;min-width:112px;max-width:none;aspect-ratio:1;border-radius:50%;flex:none;overflow:hidden;margin:0 auto 14px}
.chapter-member-identity{text-align:center}.chapter-layout .identity{min-width:0}.chapter-layout .handle{overflow-wrap:anywhere}.chapter-layout .personal-expression{text-align:left;margin-top:20px}
.chapter-actions{display:grid;gap:10px;margin:14px 0}.chapter-panel .button{white-space:normal;max-width:100%}.chapter-left .button,.chapter-right .button{display:block;width:100%;box-sizing:border-box;margin:8px 0;text-align:center}
.chapter-favorites{display:grid;gap:22px}.chapter-favorites>section+section{border-top:1px solid var(--line,#dfd3c4);padding-top:20px}.chapter-favorites .shelf{margin:0}.chapter-favorites .shelf-header{flex-wrap:wrap;gap:10px}
.chapter-favorites .cover{max-height:145px}.chapter-favorites .section-heading{flex-wrap:wrap;gap:8px}.chapter-favorites .section-heading h2{font-size:1.15rem}.chapter-favorites .picks{gap:9px}.chapter-favorites .pick-title{font-size:.8rem}
@media(min-width:1400px){.chapter-favorites{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-favorites>section+section{border-top:0;border-left:1px solid var(--line,#dfd3c4);padding-top:0;padding-left:18px}.chapter-favorites .cover{max-height:110px}}
.chapter-layout .live-mate-picks{display:flex;flex-wrap:wrap;gap:14px}.chapter-layout .live-mate-picks>div{max-width:100%;min-width:0}.chapter-club-links{display:flex;gap:10px;flex-wrap:wrap}
.chapter-timeline .chapter-status{margin:12px 0 0}.chapter-timeline .chapter-status textarea{min-height:100px}.chapter-layout .jar-card{display:block;padding:0;border:0;background:none}.chapter-layout .jar-card svg{max-width:70px}.chapter-layout .my-jar-section{margin:0}.chapter-right .match-badge{margin:0;text-align:left}.chapter-panel details{margin-top:18px}.chapter-panel summary{cursor:pointer}
@media(max-width:1100px){.chapter-layout{grid-template-columns:minmax(180px,.8fr) minmax(0,2fr)}.chapter-right{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.chapter-layout{grid-template-columns:minmax(0,1fr);gap:16px}.chapter-right{grid-column:auto;grid-template-columns:minmax(0,1fr)}.chapter-panel{padding:18px;border-radius:18px}.chapter-left{gap:12px}.chapter-layout .profile-strip .avatar,.chapter-member-identity .table-avatar{width:88px!important;height:88px!important;min-width:88px}.chapter-layout-heading h1{font-size:2rem}.chapter-club-links .button{width:100%}}

.primary-nav [hidden]{display:none!important}.chapter-mate-faces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.chapter-right .chapter-mate-faces .mate-face-card{width:100%;max-width:100%;min-width:0;height:auto;min-height:110px;margin:0;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:8px}.chapter-mate-faces .table-avatar{width:56px;height:56px;min-width:56px;flex:none;border-radius:50%;overflow:hidden}.chapter-mate-faces .mate-card-label{position:static;opacity:1;visibility:visible;transform:none;white-space:normal;font-size:.8rem;overflow-wrap:anywhere}.chapter-catchup .home-box{padding:0;border:0;background:none}.chapter-club-activity .home-club{margin:14px 0}.chapter-club-activity summary{padding:8px 0}

.chapter-mate-faces .mate-card-label{display:block;max-width:100%;width:auto;left:auto;top:auto;background:none;color:inherit;padding:0}

.post-reactions .compact-reaction{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 12px}.compact-reaction>span:first-child{font-size:1.35rem}.reaction-count{font-size:.85rem}.reaction-tip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#432e35;color:#fffaf0;border-radius:6px;padding:6px 9px;font-size:.8rem;white-space:nowrap;visibility:hidden;pointer-events:none;z-index:10}.compact-reaction:hover .reaction-tip,.compact-reaction:focus-visible .reaction-tip{visibility:visible}.note-recipient-list{display:grid;gap:10px;margin:16px 0}.note-recipient-list button{text-align:left}

.chapter-note header .table-avatar{box-sizing:border-box;flex:0 0 38px;width:38px;min-width:38px;max-width:38px;height:38px;min-height:38px;max-height:38px;aspect-ratio:1/1;border-radius:50%;overflow:hidden}
.chapter-note header .table-avatar img{width:100%;height:100%;object-fit:cover}
#headerHelp{flex:0 0 auto;position:relative}#headerHelp .page-help{float:none;display:block;margin:0;padding:0;position:static;border:0;background:none}
#headerHelp .page-help>summary{display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;padding:6px;list-style:none;border:1px solid var(--line,#ddc9ba);border-radius:50%;color:var(--wine,#772c32);background:var(--paper,#fffaf0);cursor:pointer}
#headerHelp summary::-webkit-details-marker{display:none}#headerHelp summary:focus-visible{outline:3px solid #24696d;outline-offset:3px}
#headerHelp .page-help>div{position:fixed;top:80px;right:16px;left:auto;z-index:1000;box-sizing:border-box;width:360px;max-width:calc(100vw - 32px);max-height:70vh;overflow:auto;padding:20px;background:#fffaf0;color:#432e35;border:1px solid #dcc9b7;border-radius:18px;box-shadow:0 8px 30px #432e3520;text-align:left}
#headerHelp .account-actions{flex-wrap:wrap}.gathering-members .member-name-link{max-width:100%;overflow-wrap:anywhere;text-align:left}.gathering-members button.table-avatar{flex-shrink:0;aspect-ratio:1}
@media(max-width:600px){.topbar-right{gap:6px}#headerHelp .page-help>div{top:72px}.gathering-members article>div{min-width:0}}

/* Compact composer; audience remains explicit for touch and keyboard users. */
.chapter-status form[data-status-compose]{gap:10px;margin:14px 0}
.chapter-status .status-write{margin:0}
.chapter-status .status-write textarea{min-height:76px;margin:0;resize:vertical}
.status-compose-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.chapter-status .status-audience{display:flex;flex-wrap:wrap;gap:4px;min-width:0;border:0;padding:0;margin:0}
.chapter-status .status-audience label{position:relative;margin:0;cursor:pointer}
.status-audience input{position:absolute;opacity:0;width:1px;height:1px}
.status-audience label>span{box-sizing:border-box;display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;font-size:14px}
.status-audience input:checked+span{background:var(--wine,#772c32);color:white;border-color:var(--wine,#772c32)}
.status-audience input:focus-visible+span{outline:3px solid #29665f;outline-offset:3px}
.status-audience input:disabled+span{opacity:.55;cursor:wait}
.chapter-status label.status-share{display:flex;align-items:center;gap:7px;min-height:44px;font-size:14px;margin:0;cursor:pointer}
.status-share:has(input:disabled){opacity:.6;cursor:default}
.status-share input{width:17px;height:17px;margin:0;flex-shrink:0}
.status-compose-bar .status-post-button{margin-left:auto;min-height:44px;padding:10px 18px}
.chapter-status details.status-tools{margin:0 0 8px}
.chapter-status .status-tools>summary{font-size:14px;color:var(--muted);min-height:44px;box-sizing:border-box;padding:12px 0}
.chapter-status [data-status-message]:empty{display:none}
@media(max-width:480px){.status-compose-bar{gap:6px 10px}.status-compose-bar .status-audience{flex-basis:100%}.status-compose-bar .status-post-button{margin-left:auto}}

.chapter-theme,.chapter-theme-swatch{--chapter-bg:#fff8eb;--chapter-accent:#772c32;--chapter-line:#e6ddcc;--chapter-paper:#fffdf7}
[data-chapter-theme=forest]{--chapter-bg:#e7eee5;--chapter-accent:#28574a;--chapter-line:#c3d3c5;--chapter-paper:#f9fcf6}
[data-chapter-theme=lavender]{--chapter-bg:#eee8f2;--chapter-accent:#614073;--chapter-line:#d6c9e0;--chapter-paper:#fdfaff}
[data-chapter-theme=golden]{--chapter-bg:#f6ebcf;--chapter-accent:#795018;--chapter-line:#decea5;--chapter-paper:#fffdf5}
.chapter-theme{--wine:var(--chapter-accent);--teal:var(--chapter-accent);--paper:var(--chapter-paper);--line:var(--chapter-line);background:var(--chapter-bg);border:1px solid var(--line);border-radius:24px;padding:24px;min-width:0;color:#352f2d}
.chapter-theme .chapter-panel{background:var(--chapter-paper);border-color:var(--chapter-line)}
.chapter-theme .button.secondary{border-color:var(--chapter-line)}
.chapter-theme .button:not(.secondary):not(.ghost):hover{background:var(--chapter-accent);filter:brightness(.9)}
.chapter-theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;padding:0;margin:20px 0}
.chapter-theme-options legend{margin-bottom:10px;font-weight:600}
.chapter-theme-options label{display:flex;align-items:center;gap:8px;min-height:56px;padding:10px;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.chapter-theme-options label:has(input:checked){outline:2px solid var(--wine)}
.chapter-theme-options input{accent-color:var(--wine)}
.chapter-theme-swatch{display:inline-block;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:var(--chapter-bg);border:5px solid var(--chapter-accent)}
#chapterAppearanceForm>.button{margin:0 8px 10px 0;min-height:44px}
#chapterAppearancePreview{margin:16px 0}#chapterAppearancePreview>.row-help{margin:8px 0 14px}
#chapterAppearancePreview .chapter-panel{margin-top:14px;padding:18px}
#chapterAppearancePreview .table-avatar{width:72px;height:72px;flex:0 0 72px;margin:0 auto 10px}
#chapterAppearancePreview .chapter-theme{padding:16px}
.appearance-device{margin-top:18px}.appearance-device summary{min-height:44px;cursor:pointer;padding:10px 0}
@media(max-width:600px){.chapter-theme{padding:12px;border-radius:18px}.chapter-theme-options{grid-template-columns:1fr}.chapter-theme .chapter-layout-heading h1{font-size:30px}}

.notice-list-tools{display:flex;align-items:center;gap:8px;justify-content:flex-end;margin:12px 0}
.notice-list-tools>.button:first-child{margin-right:auto}
.notice-icon-button{display:grid;place-items:center;min-width:44px;min-height:44px;background:transparent;border:1px solid var(--line);border-radius:50%;font-size:23px;color:var(--wine)}
.notice-rows{list-style:none;padding:0;margin:0;max-height:60vh;overflow:auto}
.notice-row{border-bottom:1px solid var(--line)}
.notice-row-open{display:flex;gap:12px;align-items:center;width:100%;padding:14px 8px;text-align:left;border:0;background:transparent;color:var(--ink);min-height:64px}
.notice-row-open:hover{background:#f5eee1}.notice-row.is-unread{background:#faf3e8}
.notice-symbol{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#efe4d3;color:var(--wine);font-size:23px}
.notice-row-copy{display:grid;gap:3px;min-width:0;flex:1;overflow-wrap:anywhere}
.notice-row-copy strong{font-size:15px;line-height:1.4}.notice-row-copy>span,.notice-row-copy time{font-size:12px;color:var(--muted)}
.notice-unread{width:8px;height:8px;border-radius:50%;background:var(--wine);flex:0 0 8px}
.board-reminder{font-size:14px;color:var(--muted);margin:8px 0 12px}
.shared-reflection{max-width:100%;margin:8px 0}.shared-reflection summary{font-size:14px;min-height:44px;padding:10px 0;cursor:pointer}.shared-reflection p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}

/* Chapter quotes and quiet hearts */
.chapter-member-identity .expression-text,.profile-strip .expression-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:.6rem 0}.chapter-love[aria-pressed="true"]{background:var(--burgundy,#7c2934);color:#fff}.chapter-love-message:empty{display:none}.chapter-love-total{font-size:.9rem;overflow-wrap:anywhere}.chapter-love{min-height:44px}

.admin-dashboard{max-width:1400px;margin:auto}.admin-heading,.admin-section-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:24px}.admin-heading .eyebrow{color:var(--teal);font-size:.75rem;letter-spacing:.15em;margin-bottom:12px}.admin-heading h1{font-size:clamp(1.8rem,3vw,2.8rem)}.admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.admin-tabs .button{min-height:44px}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:20px}.admin-metrics h3{font-size:1rem}.admin-count{display:block;font-size:2.5rem;color:var(--wine);margin:12px 0}.admin-metrics p,.admin-row small{color:var(--muted);font-size:.9rem}.admin-rows{display:grid;gap:12px;margin:20px 0}.admin-row{display:flex;justify-content:space-between;gap:24px;background:var(--paper);padding:20px;border:1px solid var(--line);border-radius:16px;overflow-wrap:anywhere}.admin-row>div{min-width:0}.admin-row>div:last-child{flex-shrink:0;max-width:45%;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.admin-row .tag{white-space:normal}.admin-search{display:flex;align-items:end;gap:12px;max-width:640px;margin:20px 0}.admin-search .field{flex:1;margin:0}.admin-pager{display:flex;gap:16px;align-items:center;justify-content:center;margin:24px 0}.admin-empty{padding:24px;border:1px dashed var(--line);border-radius:16px}.admin-palettes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 32px}.admin-palettes .chapter-theme-swatch{display:block;width:100%;height:80px;margin-bottom:14px}.admin-submission{white-space:pre-wrap;overflow-wrap:anywhere;margin:24px 0}.admin-dashboard [role=alert]{margin:20px 0}
@media(max-width:1050px){.admin-metrics,.admin-palettes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.admin-heading{align-items:flex-start;flex-direction:column}.admin-metrics,.admin-palettes{grid-template-columns:minmax(0,1fr)}.admin-row{flex-direction:column;gap:12px}.admin-row>div:last-child{max-width:100%;flex-shrink:1}.admin-search{align-items:stretch;flex-direction:column}.admin-tabs{gap:8px}.admin-tabs .button{flex:1 1 120px}.admin-pager{gap:10px}.admin-section-heading{gap:10px}}

.studio-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:24px 0}.studio-filters .field{flex:1;min-width:160px;margin:0}.studio-history{padding-left:24px}.studio-history li{padding:10px 0}.studio-history small{display:block;color:var(--muted)}.studio-theme-form{margin:24px 0}.studio-colors{display:flex;gap:24px;flex-wrap:wrap;margin:20px 0}.studio-colors label{display:flex;flex-direction:column;gap:8px}.studio-colors input{width:100px;height:48px;padding:3px;border:1px solid var(--line);border-radius:8px}.studio-preview{margin:20px 0}.studio-preview .chapter-panel{margin-top:16px}.studio-preview .button{display:inline-block;background:var(--chapter-accent);color:#fff;margin-top:12px}.studio-theme-form [role=status],#adminFeedbackUpdate [role=status]{margin:12px 0}.studio-theme-form h3{margin-bottom:16px}#adminFeedbackUpdate{max-width:500px;margin:24px 0}.studio-preview .row-help{color:#75695f}
.chapter-theme[style*="--chapter-ink"]{--ink:var(--chapter-ink);--muted:var(--chapter-muted);--cream:var(--chapter-bg);color:var(--ink)}
.chapter-theme[style*="--chapter-ink"] .row-help{color:var(--muted)}
.chapter-theme[style*="--chapter-ink"] .button:not(.secondary):not(.ghost),.chapter-theme[style*="--chapter-ink"] .status-audience input:checked+span,.chapter-theme[style*="--chapter-ink"] .chapter-love[aria-pressed=true]{background:var(--chapter-accent);color:var(--chapter-button-text);border-color:var(--chapter-accent)}
.chapter-theme[style*="--chapter-ink"] .button:not(.secondary):not(.ghost):hover{filter:none;text-decoration:underline}
.chapter-theme[style*="--chapter-ink"] .button.secondary:hover{background:var(--chapter-paper);color:var(--chapter-accent);text-decoration:underline}
.chapter-theme[style*="--chapter-ink"] :is(.field input,.field textarea,.field select,.chapter-status textarea,.chapter-status select){background:var(--chapter-paper);color:var(--ink);border-color:var(--chapter-line)}
.chapter-theme[style*="--chapter-ink"] ::placeholder{color:var(--muted);opacity:1}
.chapter-theme[style*="--chapter-ink"] :is(.home-box,.locked-list,.pick-empty,.jar-card){background:var(--chapter-paper);border-color:var(--chapter-line)}
.chapter-theme[style*="--chapter-ink"] .chapter-layout .jar-card{background:none}
.chapter-theme[style*="--chapter-ink"] .chapter-catchup .home-box{background:none}
.chapter-theme[style*="--chapter-ink"] .picks{border-color:var(--chapter-line)}
.chapter-theme[style*="--chapter-ink"] .rank{background:var(--chapter-paper);color:var(--chapter-accent);border-color:var(--chapter-line)}
.chapter-theme[style*="--chapter-ink"] .pick-empty{color:var(--chapter-accent)}
.chapter-theme[style*="--chapter-ink"] :is(button,a,input,textarea,select,summary):focus-visible,.chapter-theme[style*="--chapter-ink"] .status-audience input:focus-visible+span{outline-color:var(--chapter-accent)}
.studio-theme-form [data-studio-message]:not(:empty){padding:12px;border-left:4px solid var(--wine);background:var(--cream);font-weight:600}
.studio-colors label{flex:1 1 150px}.studio-colors input{max-width:100%}.studio-preview .account-actions{flex-wrap:wrap}

/* Keep preview actions visually separate, including when they wrap. */
.studio-preview .button{margin-inline-end:12px;max-width:100%;white-space:normal}
.studio-preview .button.secondary{background:transparent;color:var(--chapter-accent)}

.note-postcard{display:flex;align-items:center;gap:16px;width:100%;max-width:480px;padding:14px;margin:12px 0;border:1px solid #bbaa97;border-radius:14px;background:#fff8eb;color:#352f2d;text-align:left;cursor:pointer}
.note-postcard>.cover{width:72px;flex:0 0 72px;height:108px}.note-postcard>span{min-width:0;display:grid;gap:6px;overflow-wrap:anywhere}.note-postcard small{font-size:12px}.note-postcard .cover-title{font-size:12px}.note-postcard .cover-symbol{font-size:24px}.note-postcard:focus-visible{outline:3px solid #24696d;outline-offset:3px}
.status-reactions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.status-reaction,.status-reaction-total{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--chapter-line,var(--line));border-radius:24px;background:var(--chapter-paper,var(--paper));color:var(--chapter-ink,var(--ink));font:inherit}
.status-reaction[aria-pressed=true]{background:var(--chapter-accent,var(--wine));color:var(--chapter-button-text,#fff)}.status-reaction>span,.status-reaction-total>span{font-size:21px}.status-reaction-total{font-size:14px}.live-mate-pick .pick-button strong,.live-mate-pick .pick-button small{display:block}

/* Status conversations inherit the Chapter palette. */
.status-replies{margin-top:12px;border-top:1px solid var(--chapter-line,var(--line));padding-top:12px}
.status-replies summary{cursor:pointer;font-weight:700;color:var(--chapter-accent,var(--accent))}
.status-reply{padding:10px 0;border-bottom:1px solid var(--chapter-line,var(--line));overflow-wrap:anywhere}
.status-reply p{margin:6px 0}.status-reply time{font-size:.8em;color:var(--chapter-muted,var(--muted))}
.status-replies form{margin-top:14px}.status-replies textarea{width:100%;box-sizing:border-box;min-height:72px}
.status-replies form[hidden]{display:none}.status-replies form button{margin-top:8px}
.reply-pages{display:flex;flex-wrap:wrap;gap:8px}.status-replies .status-body{white-space:pre-wrap;overflow-wrap:anywhere}

.club-identity{font-size:14px;overflow-wrap:anywhere}.club-identity small{display:block;font-size:11px;opacity:.8;margin-top:4px}
.club-theme-swatch{display:block;height:64px;border:4px solid var(--wine);border-radius:12px;background:var(--paper)}
.club-share{margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:10px}.club-share summary{cursor:pointer;font-weight:600}.club-share .account-actions{display:flex;flex-wrap:wrap;gap:8px}.club-share input{min-width:0;width:100%;box-sizing:border-box}.club-link-page{max-width:800px;margin:auto;overflow-wrap:anywhere}
[data-club-theme=arcade],[data-theme-option=arcade]{--cream:#101827;--paper:#19283b;--ink:#edf8ff;--muted:#c1d2e2;--wine:#7fe4d4;--teal:#7fe4d4;--line:#587380;--club-button:#101827;color-scheme:dark}
[data-club-theme=poetry],[data-theme-option=poetry]{--cream:#221a2b;--paper:#30253c;--ink:#fff5df;--muted:#d9c7dd;--wine:#efc788;--teal:#efc788;--line:#826c83;--club-button:#221a2b;color-scheme:dark}
[data-club-theme=encore],[data-theme-option=encore]{--cream:#141b25;--paper:#202c3b;--ink:#fff4e2;--muted:#cbd2df;--wine:#f5c17d;--teal:#f5c17d;--line:#728298;--club-button:#141b25;color-scheme:dark}
[data-club-theme=studio],[data-theme-option=studio]{--cream:#f5e8dc;--paper:#fff9ef;--ink:#392b27;--muted:#70544a;--wine:#813922;--teal:#813922;--line:#ae806b;--club-button:#fff9ef;color-scheme:light}
:is([data-club-theme=arcade],[data-club-theme=poetry],[data-club-theme=studio],[data-club-theme=encore]){background:var(--cream);color:var(--ink);border-color:var(--line)}
:is([data-theme-option=arcade],[data-theme-option=poetry],[data-theme-option=studio],[data-theme-option=encore]){background:var(--cream)!important;color:var(--ink);border-color:var(--line)}
:is([data-club-theme=arcade],[data-club-theme=poetry],[data-club-theme=studio],[data-club-theme=encore]) :is(.club-access-panel,.club-appearance,.discussion-history,.club-thread,.club-post,.club-message,.locked-list,.home-box,.gathering-section,.gathering-surface,.club-list-item,.poll-card,.request-panel,.inline-help,.spoiler-warning,.spoiler-cover){background:var(--paper);color:var(--ink);border-color:var(--line)}
:is([data-club-theme=arcade],[data-club-theme=poetry],[data-club-theme=studio],[data-club-theme=encore]) :is(input,textarea,select){background:var(--paper);color:var(--ink);border-color:var(--line)}
:is([data-club-theme=arcade],[data-club-theme=poetry],[data-club-theme=studio],[data-club-theme=encore]) .button:not(.secondary):not(.ghost){background:var(--wine);color:var(--club-button);border-color:var(--wine)}
:is([data-club-theme=arcade],[data-club-theme=poetry],[data-club-theme=studio],[data-club-theme=encore]) .button:is(.secondary,.ghost){background:transparent;color:var(--wine);border-color:var(--line)}
:is([data-club-theme=arcade],[data-club-theme=poetry],[data-club-theme=studio],[data-club-theme=encore]) ::placeholder{color:var(--muted);opacity:1}

.theme-library-actions{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.theme-library-actions .account-actions{display:flex;flex-wrap:wrap;gap:8px}.theme-library-actions .button{white-space:normal}.theme-library-actions [role=status]{overflow-wrap:anywhere}

/* Note surprises and comfortable club controls, September 30. */
.note-surprise{width:100%;max-width:480px;margin:12px 0;border:1px solid #bbaa97;border-radius:14px;background:#fff8eb;color:#352f2d;overflow:hidden}
.note-surprise>summary{cursor:pointer;padding:22px 18px;min-height:56px;font-weight:700;list-style:none;text-align:center}
.note-surprise>summary:focus-visible{outline:3px solid #24696d;outline-offset:-4px}
.note-surprise[open]>summary{padding:12px 18px;border-bottom:1px solid #d5c7b6}
.note-surprise>.note-postcard{margin:0;border:0;border-radius:0;max-width:none}
.club-seat-actions,.club-access-panel{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.club-seat-actions{margin-top:12px}.club-seat-actions>p,.club-access-panel>p{flex-basis:100%;margin:0}
.club-seat-actions>.button,.club-access-panel>.button{margin:0;max-width:100%;white-space:normal}
.gathering-tools>.button{margin:6px 12px 6px 0;max-width:100%;white-space:normal}
#dialog>button[data-hobby],.gathering-section>button[data-hobby]{margin:6px 12px 12px 0;max-width:100%;white-space:normal}
.gathering-shortcuts,.gathering-candidates{gap:12px}
@media(max-width:560px){.club-seat-actions>.button,.club-access-panel>.button{flex:1 1 160px;min-height:44px}.note-postcard{gap:12px;padding:12px}.note-postcard>.cover{width:60px;flex-basis:60px;height:90px}}

/* Personal Moments */
.moment-compose{margin:12px 0}.moment-upload{position:relative;overflow:hidden;cursor:pointer;display:inline-flex;min-height:44px}.moment-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.moment-upload:focus-within{outline:3px solid var(--accent);outline-offset:3px}.moment-preview{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:12px;margin:12px 0}.moment-photo{margin:12px 0;border-radius:14px;overflow:hidden;min-height:90px;background:var(--paper);border:1px solid var(--line)}.moment-photo img{display:block;width:100%;max-height:650px;object-fit:contain}.moment-photo>span{display:block;padding:20px}.moment-compose .row-help{font-size:12px}.chapter-status[data-photos-only] [data-status-list]{display:grid;gap:16px}.chapter-status[data-photos-only] .status-post{min-width:0}.chapter-status[data-photos-only] .moment-photo img{max-height:420px}

/* A small discovery shelf, with the existing item actions. */
.discovery-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}.discovery-heading h2{margin:4px 0}.discovery-tabs{display:flex;gap:8px}.discovery-tabs button{min-height:44px}.discovery-tabs .button[aria-pressed=true],.chapter-theme .discovery-tabs .button[aria-pressed=true]{background:var(--chapter-accent,var(--wine));color:var(--chapter-button-text,#fff);border-color:var(--chapter-accent,var(--wine))}.discovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.discovery-card{border:0;background:transparent;color:inherit;text-align:left;min-width:0;padding:0;cursor:pointer;display:flex;flex-direction:column;gap:6px}.discovery-card>.cover{width:100%;height:auto;aspect-ratio:2/3;min-height:0}.discovery-card strong,.discovery-card small{overflow-wrap:anywhere}.discovery-card small{color:var(--muted)}.discovery-card:focus-visible{outline:3px solid var(--chapter-accent,var(--wine));outline-offset:5px;border-radius:6px}.discovery-search{display:flex;gap:8px;margin-top:12px}.discovery-search input{min-width:0;flex:1}.discovery-credit{font-size:12px;line-height:1.6}.discovery-status{font-size:14px}.discovery-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
@media(max-width:600px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.discovery-search{flex-wrap:wrap}.discovery-search input{flex-basis:100%}}

/* Owner navigation and compact conversations. */
.discovery-search input{background:var(--chapter-paper,var(--paper,#fffcf6));color:var(--chapter-ink,inherit);border:1px solid var(--chapter-line,var(--line,#dfd3c4));border-radius:10px;min-height:44px;padding:10px 12px;box-sizing:border-box}.discovery-search input::placeholder{color:var(--chapter-muted,var(--muted,#75695f));opacity:1}
.status-post-heading{display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:8px}.status-post-heading>p{flex:1;min-width:160px;margin:10px 0}.status-manage{margin:0!important}.status-manage>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:22px;cursor:pointer;border-radius:12px}.status-manage>summary::-webkit-details-marker{display:none}.status-manage[open]{flex-basis:100%}.status-manage[open]>summary{margin-left:auto}.status-manage-body{padding:14px;border:1px solid var(--line,#dfd3c4);border-radius:14px;margin:8px 0 12px}.status-manage-body .account-actions{gap:10px;flex-wrap:wrap}.status-manage-body .status-compose-bar{flex-wrap:wrap}
.chapter-quicknav{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.chapter-quicknav .button{min-height:44px;margin:0}.chapter-heading-actions{display:flex;gap:12px}.chapter-panel{scroll-margin-top:24px}.chapter-panel:focus-visible{outline:2px solid var(--chapter-accent,var(--wine));outline-offset:4px}
.post-member-menu{display:inline-block;vertical-align:middle;margin:0 0 0 8px}.post-member-menu summary{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer;border-radius:12px;font-size:22px}.post-member-menu summary::-webkit-details-marker{display:none}.post-member-menu>div{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0}.post-member-menu>div .button{margin:0;min-height:44px}.table-speaker>div{min-width:0;flex:1}.feed-trash.button{display:inline-flex;align-items:center;justify-content:center;padding:8px;min-width:44px;min-height:44px;flex:none}.feed-trash svg{pointer-events:none}
.thread-replies{margin:10px 0 20px;border-left:2px solid var(--line,#dfd3c4);padding-left:14px}.thread-replies>summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;padding:10px 4px;box-sizing:border-box}.thread-replies .table-replies{margin:8px 0;padding:0;display:block}.thread-replies .table-branch,.thread-replies .table-seat{width:auto;max-width:100%;margin:0 0 12px;padding:0}.thread-replies .table-side-conversation{margin:10px 0 0;padding-left:12px;border-left:2px solid var(--line,#dfd3c4)}.thread-replies .table-message{margin:0}.conversation-table>.conversation-lines{display:none}.status-replies{border-left:2px solid var(--line,#dfd3c4);padding-left:14px}.status-replies>summary{min-height:44px;align-content:center}.community-welcome{padding:18px 22px}.community-welcome h2{margin:4px 0}.community-welcome>p{margin:8px 0}.community-welcome>details{margin:12px 0}.table-message>.account-actions{gap:8px}.table-message>.account-actions .button{min-height:44px}
@media(max-width:700px){.chapter-quicknav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chapter-quicknav .button{padding:10px 6px;font-size:14px;white-space:normal}.thread-replies{padding-left:8px}.thread-replies .table-side-conversation{padding-left:6px}.table-speaker{gap:10px}.community-welcome{padding:16px}}

.notes-conversation-menu summary{cursor:pointer;padding:10px;min-height:44px;box-sizing:border-box}.notes-conversation-menu .account-actions{padding:8px;gap:10px}

.club-lifecycle-banner,.lifecycle-list-item{border:1px solid currentColor;border-radius:16px;padding:16px;margin-block:16px}
.lifecycle-candidates{display:grid;gap:12px;margin-block:18px}
.lifecycle-candidates article{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px;border:1px solid currentColor;border-radius:12px}
.club-bylaws{margin-block:20px;max-width:65ch}.club-bylaws summary{cursor:pointer;padding-block:12px;min-height:44px}.club-bylaws p{line-height:1.65}
.lifecycle-result{text-align:center;padding:18px}.lifecycle-coin{display:inline-grid;place-items:center;width:56px;height:56px;border:2px solid currentColor;border-radius:50%;font-size:30px;animation:lifecycle-reveal .7s ease-out}
[data-lifecycle-root] .account-actions{gap:10px;margin-block:16px;flex-wrap:wrap}
@keyframes lifecycle-reveal{from{transform:rotateY(180deg);opacity:.2}to{transform:rotateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.lifecycle-coin{animation:none}}

dialog[open]:has([data-note-thread]){display:flex;flex-direction:column;height:min(850px,calc(var(--notes-viewport-height,100dvh) - 20px));max-height:calc(var(--notes-viewport-height,100dvh) - 20px);overflow:hidden}
dialog:has([data-note-thread])>.dialog-head,dialog:has([data-note-thread])>.dialog-subtitle{flex-shrink:0}
dialog [data-note-thread]{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
dialog [data-note-thread]>.account-actions,dialog [data-note-thread]>.row-help,dialog [data-note-thread]>.note-update-bar{flex-shrink:0}
dialog [data-note-thread]>.note-scroll{flex:1;min-height:70px;max-height:none;overflow:auto;overscroll-behavior:contain}
#chapterNoteForm{flex-shrink:0;margin-top:8px;padding-top:8px;border-top:1px solid var(--line);max-height:45%;overflow:auto}
#chapterNoteForm .field{margin:0 0 8px}#chapterNoteForm textarea{min-height:64px;resize:vertical}#chapterNoteForm .row-help{font-size:11px;margin:5px 0 0}
.note-message-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.note-message-actions button{min-height:44px}
.deleted-thread-context{font-size:.85rem;color:var(--muted);padding:10px 14px;margin:0}
@media(max-width:560px){dialog[open]:has([data-note-thread]){width:calc(100% - 12px);padding:12px;margin:auto;border-radius:12px}dialog:has([data-note-thread]) .dialog-head h2{font-size:20px}dialog:has([data-note-thread])>.dialog-subtitle{display:none}dialog [data-note-thread]>.row-help{display:none}dialog [data-note-thread]>.account-actions{gap:6px;margin-bottom:6px}dialog [data-note-thread]>.account-actions>.button{padding:7px 9px;font-size:13px}dialog [data-note-thread]>.note-update-bar{margin:4px 0;font-size:12px}.notes-conversation-menu summary{font-size:13px;padding:7px}.note-scroll .chapter-note{max-width:100%}#chapterNoteForm .row-help{display:none}}
@media(max-height:500px){dialog [data-note-thread]>.account-actions,dialog [data-note-thread]>.row-help,dialog [data-note-thread]>[data-notes="older"],dialog [data-note-thread]>.note-update-bar{display:none}#chapterNoteForm{max-height:60%}#chapterNoteForm textarea{min-height:48px}dialog:has([data-note-thread])>.dialog-subtitle{display:none}}

dialog[data-notes-compact] [data-note-thread]>.account-actions,dialog[data-notes-compact] [data-note-thread]>.row-help,dialog[data-notes-compact] [data-note-thread]>[data-notes="older"],dialog[data-notes-compact] [data-note-thread]>.note-update-bar{display:none}dialog[data-notes-compact]:has([data-note-thread])>.dialog-subtitle{display:none}

.theme-guide{padding:16px;background:var(--paper);border:1px solid var(--line);border-radius:14px;margin:16px 0}.theme-checks{padding-left:24px}.theme-checks li{margin:6px 0}.background-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:20px 0}.background-choice{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);padding:12px;border-radius:14px}.background-choice img,[data-background-upload-preview] img{width:100%;max-height:180px;object-fit:cover;border-radius:8px}.background-choice input{align-self:flex-start;min-width:20px;min-height:20px}.special-background{background-image:var(--special-background)!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}.chapter-theme.special-background>:is(header,.member-chapter-heading),dialog.special-background>:is(.dialog-head,.dialog-subtitle,p,.account-actions){background:var(--paper);padding:12px;border-radius:12px}.chapter-theme.special-background{--paper:var(--chapter-paper,var(--cream))}.special-background .chapter-panel,.special-background .chapter-member-identity,.special-background .chapter-column>.aside-card{background:var(--paper)}.custom-club-palette{background:var(--cream);color:var(--ink);border-color:var(--line)}.custom-club-palette :is(.club-access-panel,.club-appearance,.club-thread,.home-box,.gathering-section,.gathering-surface,.club-list-item,.poll-card,.request-panel,.spoiler-warning,.spoiler-cover,input,textarea,select){background:var(--paper);color:var(--ink);border-color:var(--line)}.custom-club-palette .button:not(.secondary):not(.ghost){background:var(--wine);color:var(--club-button);border-color:var(--wine)}.custom-club-palette .button:is(.secondary,.ghost){color:var(--wine);background:var(--paper);border-color:var(--line)}.special-background .conversation-table,.special-background .club-appearance{background:var(--paper)}

/* Keep existing member palettes/backgrounds; strengthen the Chapter's structure. */
.chapter-theme{border-radius:12px}
.chapter-theme .chapter-panel{border-radius:11px;box-shadow:3px 4px 0 #0000000b}
.chapter-layout-heading{border-left:4px solid var(--chapter-accent,var(--wine));padding-left:18px}
.chapter-layout-heading h1{letter-spacing:-1px}
.welcome-layout{grid-template-columns:minmax(190px,.85fr) minmax(0,2.8fr) minmax(240px,1.12fr)}
.welcome-layout>aside,.welcome-layout>.chapter-center{min-width:0;display:grid;gap:18px;align-content:start}
.welcome-layout .chapter-panel{padding:20px}
.welcome-layout .button{border-radius:7px}
.welcome-layout .welcome-identity{border-top:3px solid var(--chapter-accent,var(--wine));gap:12px}
.welcome-identity .chapter-actions{width:100%;display:grid;gap:8px}
.welcome-identity .chapter-love-total{font-size:13px;line-height:1.5}
.welcome-identity small{font-size:11px}
.welcome-identity .personal-expression{padding:0;background:transparent;border:0}
.welcome-favorites>.chapter-favorites{gap:18px}
.welcome-favorites .picks{padding-bottom:13px}
.welcome-favorites h2{font-size:24px}
.welcome-favorites .shelf .section-heading{display:grid;gap:8px;align-items:start}
.welcome-favorites .shelf .section-heading>.button{justify-self:start;padding:3px 0;min-height:28px}
.welcome-favorites .shelf-heading h2{font-size:22px}
.welcome-clubs .chapter-club-links{display:flex;gap:10px;flex-wrap:wrap}
.welcome-clubs .chapter-club-links .button{min-height:48px;padding:12px 15px}
.welcome-clubs .chapter-club-activity{margin:14px 0}
.welcome-feed-tabs{display:flex;gap:18px;border-bottom:1px solid var(--chapter-line,var(--line));margin-bottom:0;min-width:0;overflow-x:auto}
.welcome-feed-tabs button{font:inherit;font-size:14px;cursor:pointer;white-space:nowrap;border:0;background:transparent;color:var(--muted);padding:11px 2px;border-bottom:3px solid transparent}
.welcome-feed-tabs button[aria-selected=true]{color:var(--chapter-accent,var(--wine));border-color:currentColor;font-weight:700}
[data-welcome-panel][hidden]{display:none!important}
#my-chapter-timeline .chapter-status>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.welcome-layout .chapter-controls{margin:0;padding:0;border:0;background:none}
.welcome-layout .status-post{margin-top:18px;border:1px solid var(--chapter-line,var(--line));border-radius:8px;padding:17px}
.welcome-layout .status-post-heading{gap:10px}
.welcome-layout .status-post-heading>p{font-size:12px;line-height:1.7}
.welcome-layout .status-body{font-size:15px;line-height:1.7}
.welcome-layout .status-tools{font-size:12px;margin-top:12px}
.welcome-layout .status-compose-bar{gap:10px}
.welcome-layout .status-share{font-size:12px}
.welcome-layout .status-audience span{font-size:12px}
.welcome-layout .moment-compose{margin-top:8px}
.welcome-layout .moment-compose>.row-help{font-size:11px;max-width:460px}
.welcome-layout .status-write textarea{min-height:75px}
.welcome-layout .home-activity{padding:0;border:0;background:none;box-shadow:none}
.home-update-list .home-update{display:flex;gap:12px;align-items:center;text-align:left}
.home-update-list .home-update>span:nth-child(2){min-width:0;flex:1}
.home-update-list .home-update strong{font-size:13px}
.home-update-list .home-update small{display:block;color:var(--muted);font-size:11px}
.chapter-more{align-self:start}
.chapter-more>summary{cursor:pointer;font-weight:600}
.chapter-more[open]>summary{margin-bottom:14px}
.chapter-more .home-resume{margin-top:14px}
.welcome-question>h2,.welcome-question h2{font-family:Georgia,serif;font-size:23px;line-height:1.45;font-style:italic;margin:13px 0}
.chapter-question-preview{display:grid;gap:14px;margin:18px 0}
.chapter-question-preview blockquote{margin:0;border-left:2px solid var(--chapter-accent,var(--wine));padding-left:11px;font-size:12px;line-height:1.6}
.chapter-question-preview p{margin:0;white-space:pre-wrap}
.chapter-question-preview cite{font-style:normal;font-size:11px;color:var(--muted);display:block;margin-top:5px}
.welcome-jar .jar-card{margin:0;padding:0;background:none;border:0;box-shadow:none}
.welcome-jar .row-help{font-size:12px}
.welcome-jar .jar-joke{font-family:Shrikhand,Georgia,serif;font-size:21px}
.welcome-jar .jar-total{font-size:17px}
.welcome-community p{font-size:13px;line-height:1.7;margin-bottom:14px}
.welcome-community .button{display:inline-flex}
.chapter-panel.inline-moments{padding:0;overflow:visible}
.welcome-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 16px 10px}
.welcome-panel-heading h2{margin:0!important;font-size:24px}
.welcome-panel-heading>div{display:flex;gap:4px}
.welcome-panel-heading .button{padding:5px 9px;min-height:36px}
.inline-moments>[data-status-message]{font-size:12px;margin:0 16px}
.inline-moments>[data-status-message]:empty{display:none}
.gallery-picture{position:relative;aspect-ratio:4/3;touch-action:pan-y;overflow:hidden;background:var(--chapter-bg,var(--cream))}
.gallery-picture .moment-photo{margin:0;width:100%;height:100%;border:0;border-radius:0;display:grid;place-items:center}
.gallery-picture .moment-photo img{width:100%;height:100%;max-height:none;object-fit:contain}
.gallery-caption{position:absolute;bottom:0;left:0;right:0;margin:0;padding:35px 15px 14px;background:linear-gradient(transparent,#0c1115f5);color:#fff;font-size:13px;line-height:1.5;max-height:85%;overflow:auto;white-space:pre-wrap;opacity:0;visibility:hidden;transition:opacity .15s}
.gallery-caption-toggle{position:absolute;right:10px;top:10px;border:1px solid #ffffff9a;border-radius:50%;background:#151a21dd;color:white;cursor:pointer;width:36px;height:36px;font-size:20px}
.gallery-picture.caption-open .gallery-caption,.gallery-picture:focus-visible .gallery-caption{opacity:1;visibility:visible}
@media(hover:hover){.gallery-picture:hover .gallery-caption{opacity:1;visibility:visible}}
.gallery-meta{padding:12px 14px 0;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:12px}
.gallery-meta small{display:block;font-size:10px;color:var(--muted)}
.gallery-navigation{display:flex;gap:4px;margin-left:auto}
.gallery-navigation .button{padding:4px 10px;font-size:24px;line-height:1;min-height:36px}
.gallery-meta .status-manage{position:relative}
.gallery-meta .status-manage-body{position:absolute;top:35px;right:0;min-width:240px;width:min(300px,85vw);max-height:65vh;overflow:auto;z-index:6;background:var(--chapter-paper,var(--paper));color:var(--ink);padding:16px;border:1px solid var(--line);box-shadow:0 5px 24px #0003;border-radius:8px}
.gallery-meta .status-manage-body label{font-size:12px}
.gallery-meta .status-manage-body .status-audience{flex-wrap:wrap}
.gallery-reactions{display:flex;gap:6px;justify-content:space-between;padding:12px 14px 2px}
.gallery-reactions .button,.gallery-reactions>span{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0;font-size:11px;padding:8px 4px;border-radius:6px;min-height:40px}
.gallery-reactions>span{border:1px solid var(--line)}
.gallery-reactions [aria-pressed=true]{background:var(--chapter-accent,var(--wine));color:var(--chapter-button-text,#fff);border-color:var(--chapter-accent,var(--wine))}
.gallery-reactions svg{vertical-align:middle}
.gallery-reply-link{margin:4px 14px 10px;font-size:12px!important}
.gallery-empty{padding:15px 18px 22px;font-size:13px}
.gallery-empty p{margin-bottom:13px}
[data-moment-caption] textarea{width:100%}
[data-moment-caption]{margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.status-replies>[data-reply-list]{max-height:320px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.status-replies>summary{cursor:pointer}
@media(min-width:1350px){.welcome-layout .chapter-favorites{grid-template-columns:1fr 1fr}.welcome-layout .chapter-favorites>.shelf+.shelf{border-left:1px solid var(--line);padding-left:18px}}
@media(max-width:1150px){.welcome-layout{grid-template-columns:minmax(170px,.8fr) minmax(0,2fr)}.welcome-layout>.chapter-right{grid-column:2;grid-row:auto}.welcome-layout>.chapter-left{grid-column:1;grid-row:1 / 3}.welcome-layout>.chapter-center{grid-column:2;grid-row:1}.welcome-layout .chapter-favorites{grid-template-columns:1fr}}
@media(max-width:700px){.welcome-layout{display:flex;flex-direction:column;gap:16px}.welcome-layout>aside:empty,.welcome-layout>.chapter-center:empty{display:none}.welcome-layout>.chapter-panel,.welcome-layout>[data-welcome-panel],.welcome-layout>.welcome-feed-tabs{width:100%}.welcome-layout .chapter-panel{padding:17px}.welcome-layout .inline-moments{padding:0}.chapter-theme{border-radius:10px;padding:12px}.welcome-layout .welcome-identity{display:grid;grid-template-columns:65px 1fr;gap:12px;text-align:left}.welcome-identity>.avatar{width:60px;height:60px;align-self:start}.welcome-identity>.identity{min-width:0}.welcome-identity .chapter-actions{grid-column:1 / -1;grid-template-columns:1fr 1fr}.welcome-identity .chapter-actions>.button:first-child{grid-column:1 / -1}.welcome-layout .chapter-favorites{grid-template-columns:1fr}.welcome-feed-tabs{gap:15px}.welcome-feed-tabs button{font-size:12px}.gallery-picture{aspect-ratio:4/3}.gallery-reactions .button{font-size:12px}.welcome-layout .status-post{padding:12px}.chapter-layout-heading{padding-left:12px}.welcome-layout .chapter-more{display:block}}
@media(prefers-reduced-motion:reduce){.gallery-caption{transition:none}}

/* Keep the mobile portrait inside its column despite legacy avatar sizing. */
@media(max-width:700px){
 .welcome-layout .welcome-identity>.avatar{width:60px!important;height:60px!important;min-width:60px;max-width:60px;margin:0}
 .welcome-layout .welcome-identity>.identity{overflow-wrap:anywhere}
}

/* Pairings and the everyday controls share the current Chapter Mates palette. */
body[data-member-theme]{background-color:var(--cream);background-image:var(--member-background,none);background-size:cover;background-position:center;background-attachment:fixed;color:var(--ink)}
body[data-member-theme] .page-shell{background:var(--cream)}
body[data-member-theme] .topbar{background:var(--paper);color:var(--ink)}
body[data-member-theme] dialog:not([data-club-theme]){background:var(--cream);color:var(--ink);border-color:var(--line)}
body[data-member-theme] :is(.chapter-theme,[data-club-theme]){--site-button-text:var(--chapter-button-text,var(--club-button,#fff))}
body[data-member-theme] dialog[data-club-theme]{--site-button-text:var(--club-button,#fff)}
body[data-member-theme] :is(.club-thread,.club-announcement,.club-poll,.club-access-panel,.person-card,.request-panel,.home-box,.aside-card,.note-empty,.note-thread,.notice-row,.locked-list,.spoiler-warning,.spoiler-cover,.theme-guide,.admin-row,.club-mark,.catalog-row,.foundation,.setup-banner){background-color:var(--paper);color:var(--ink);border-color:var(--line)}
body[data-member-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),textarea,select){background:var(--paper);color:var(--ink);border-color:var(--line)}
body[data-member-theme] ::placeholder{color:var(--muted);opacity:1}
body[data-member-theme] .button:not(.secondary):not(.ghost){background:var(--wine);border-color:var(--wine);color:var(--site-button-text,#fff)}
body[data-member-theme] .button:is(.secondary,.ghost){background:transparent;color:var(--wine);border-color:var(--line)}
body[data-member-theme] .button:hover{filter:brightness(.94)}
body[data-member-theme] :is(.primary-nav a.active,.filter.active,.catalog-tabs [aria-pressed=true]){background:var(--wine);color:var(--site-button-text,#fff)}
body[data-member-theme] .primary-nav a{color:var(--wine)}
body[data-member-theme] :is(.row-help,.club-byline,.handle,.dialog-subtitle){color:var(--muted)}
body[data-member-theme] :is(button,a,input,textarea,select,summary):focus-visible{outline-color:var(--wine)}
body[data-member-theme] .feed-trash{color:var(--wine)}
.chapter-theme{--cream:var(--chapter-bg)}
body[data-member-theme] .notice-count{background:var(--wine);color:var(--site-button-text,#fff)}
body[data-member-theme] :is(.notice-symbol,.club-peek,.discussion-history,.club-role-preview){background:var(--paper);color:var(--ink);border-color:var(--line)}
body[data-member-theme] :is(.notice-row-open:hover,.notice-row.is-unread){background:var(--paper);box-shadow:inset 3px 0 var(--wine)}
body[data-member-theme] .club-interest-match strong{color:var(--wine)}
body[data-member-theme] .chapter-note{--wine:#772c32;--teal:#24696d;--ink:#302522;--muted:#55423e;--line:#75695f;--site-button-text:#fff}
@media(max-width:600px){.topbar{flex-wrap:wrap}.hub-home{font-size:20px}.topbar-right{max-width:100%;flex-shrink:0}}
@media(max-width:380px){.topbar{padding:10px 12px;gap:6px}.hub-home{font-size:18px}.topbar-right{gap:4px}#profileShortcut{width:40px;height:40px}.notice-bell{gap:4px;padding:8px}.notice-bell svg{width:20px;height:20px}}
.appearance-workbench{display:grid;gap:22px;min-width:0}
.appearance-preview{padding:20px;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}
.appearance-preview-title{background:var(--chapter-paper,var(--paper));color:var(--chapter-ink,var(--ink));padding:14px 18px;border-radius:8px;margin-bottom:16px}
.appearance-preview-title h3{color:var(--chapter-accent,var(--wine));margin:6px 0}
.appearance-preview-title p{margin:0;color:var(--chapter-muted,var(--muted))}
.appearance-preview .chapter-panel{margin:0;padding:18px;border-radius:8px}
.appearance-preview .account-actions{gap:10px;flex-wrap:wrap}
.appearance-preview .button{pointer-events:none}
.appearance-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.appearance-pair{display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);padding:0;overflow:hidden;min-width:0;cursor:pointer}
.appearance-pair>img{width:100%;height:96px;object-fit:cover}
.appearance-pair strong{padding:10px 12px;font-size:.9rem;overflow-wrap:anywhere}
.appearance-pair[aria-pressed=true]{outline:3px solid var(--wine);outline-offset:2px}
.appearance-pair:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.pair-colors{display:flex;height:12px;flex:none;width:100%}
.pair-colors i{flex:1;background:var(--chapter-bg,var(--cream))}
.pair-colors i:nth-child(2){background:var(--chapter-paper,var(--paper))}
.pair-colors i:nth-child(3){background:var(--chapter-accent,var(--wine))}
.appearance-customize,.appearance-notes,.appearance-device,.settings-group{border-top:1px solid var(--line);padding:12px 0}
.appearance-customize>summary,.appearance-notes>summary,.appearance-device>summary,.settings-group>summary{cursor:pointer;padding:8px 0;font-weight:600;min-height:44px;box-sizing:border-box}
.appearance-customize[open]>.field{margin-top:16px}
.appearance-save{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.appearance-save>[data-appearance-draft]{flex-basis:100%;margin:0}
.appearance-workbench .background-grid{margin:12px 0;max-height:340px;overflow:auto;overscroll-behavior:contain;padding:8px}
.appearance-workbench .background-choice{min-width:0;border-radius:8px}
.appearance-workbench .background-choice:has(input:checked){outline:2px solid var(--wine);outline-offset:1px}
.settings-sections{display:grid;gap:16px;min-width:0}
.settings-sections h3{font-size:1.1rem;margin:10px 0}
.settings-group-body{padding:8px 0}
.settings-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start}
.settings-actions>.button{margin:0;min-height:44px}
.settings-group .settings-group{margin-top:18px}
.club-settings .club-access-panel{border:0;padding:10px 0}
.club-settings .club-share{margin:0 0 12px}
.gathering-nav{gap:8px;flex-wrap:wrap}
.gathering-nav .filter{min-height:44px;white-space:normal}
.community-tools{margin-bottom:16px}
.community-options>summary,.conversation-options>summary{cursor:pointer;min-height:44px;padding:10px 0;box-sizing:border-box;font-size:.9rem}
.community-options[open],.conversation-options[open]{border-bottom:1px solid var(--line);padding-bottom:10px}
.conversation-toolbar{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px 18px}
.conversation-toolbar .conversation-search{flex:1 1 220px;min-width:0}
.conversation-toolbar .conversation-search input{width:100%;box-sizing:border-box;min-height:44px}
.conversation-options{flex:0 1 auto;min-width:0;max-width:100%}
.conversation-options[open]{flex-basis:100%}
.conversation-options-body{display:grid;gap:12px;font-size:.9rem;overflow-wrap:anywhere}
.conversation-update-bar:not(:has(button:not([hidden]))){display:none}
.community-options .account-actions{margin:8px 0}
.club-discussions .club-thread{border-radius:12px}
.club-discussions .account-actions{gap:8px;margin:12px 0 0;flex-wrap:wrap}
.club-discussions .account-actions>.button{padding:8px 12px;min-height:44px;font-size:.88rem}
.club-discussions .table-speaker>div{min-width:0;overflow-wrap:anywhere}
.club-discussions .table-avatar{flex-shrink:0}
.club-discussions .club-byline{font-size:.78rem}
.club-discussions .thread-replies>summary{min-height:44px;box-sizing:border-box;padding:12px;cursor:pointer}
.club-discussions .thread-replies .table-replies{max-height:55vh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#conversationForm{border:1px solid var(--line);border-radius:12px;padding:18px;margin:18px 0}
#conversationForm .inline-help{font-size:.85rem;margin:8px 0}
@media(max-width:600px){
 .appearance-preview{padding:12px}.appearance-preview .chapter-panel{padding:14px}
 .appearance-pairs{gap:10px}.appearance-pair>img{height:72px}
 .appearance-pair strong{font-size:.8rem;padding:8px}
 .appearance-save .button{flex:1 1 auto}
 .settings-actions>.button{flex:1 1 160px}
 .conversation-options{flex-basis:100%}
 #conversationForm{padding:12px}
 .gathering-nav .filter{font-size:.83rem;padding:8px 10px}
}

/* Stable artwork: one viewport-height scene, then the theme's own background.
   It never scales against a growing feed. No fixed attachment dependency on iOS. */
.chapter-theme.special-background,dialog.special-background{position:relative;isolation:isolate;background-image:none!important;background-color:var(--chapter-bg,var(--cream))!important}
.chapter-theme.special-background::before,dialog.special-background::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 0 auto;height:min(100%,100svh);border-radius:inherit;background:var(--special-background) center/cover no-repeat;mask-image:linear-gradient(#000 75%,transparent);-webkit-mask-image:linear-gradient(#000 75%,transparent)}
dialog.special-background{background-color:var(--cream)!important}
.studio-intro{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:20px 0}.studio-create-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(300px,1.25fr);gap:32px;align-items:start}.studio-fields,.studio-preview-column{min-width:0}.studio-fields>.field{margin:16px 0}.studio-preview-column{position:sticky;top:18px}.studio-signature{display:grid;grid-template-columns:1fr 2fr;gap:16px;align-items:start}.studio-signature input[type=color]{height:48px;width:100%;padding:4px;border-radius:8px}.studio-advanced,.studio-inspiration,.studio-legacy{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.studio-fields summary{font-weight:700;cursor:pointer;padding:4px 0}.studio-colors{margin:16px 0;gap:14px}.studio-colors label{font-size:.88rem}.studio-theme-form .studio-preview{min-height:360px;padding:24px;border-radius:14px;margin:0}.studio-preview .account-actions{gap:12px;display:flex;flex-wrap:wrap}.studio-preview .chapter-panel{margin-top:22px}.studio-preview-heading{padding:16px!important;background:var(--chapter-paper);border-radius:10px}.studio-preview-heading h2{overflow-wrap:anywhere}.studio-preview input,.studio-preview textarea{max-width:100%}.studio-preview .eyebrow,.appearance-preview .eyebrow{color:var(--chapter-accent)}.studio-theme-form [data-studio-message]{min-height:2.8em}.studio-inspiration .account-actions{padding-top:12px}.theme-checks{font-size:.85rem;line-height:1.5}.theme-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.theme-choice{padding:0 0 12px;overflow:hidden;min-width:0;text-align:left;border:2px solid var(--chapter-muted);border-radius:12px;background:var(--chapter-bg);color:var(--chapter-ink);cursor:pointer;position:relative}.theme-choice[aria-pressed=true]{outline:3px solid var(--wine);outline-offset:3px}.theme-choice[aria-pressed=true]::after{content:"✓";position:absolute;right:8px;top:8px;background:var(--chapter-accent);color:var(--chapter-button-text);border-radius:50%;width:26px;height:26px;text-align:center;line-height:26px;font-weight:bold}.theme-choice:focus-visible{outline:3px solid var(--wine);outline-offset:4px}.theme-choice-art{display:flex;align-items:center;justify-content:center;height:145px;background:linear-gradient(145deg,var(--chapter-bg),var(--chapter-accent));background-size:cover;background-position:center;padding:26px 20px}.theme-choice-sample{display:grid;gap:7px;background:var(--chapter-paper);border:1px solid var(--chapter-muted);border-radius:8px;padding:12px;box-shadow:0 6px 18px #0003;width:100%;max-width:190px}.theme-choice-sample i{width:22px;height:22px;border-radius:50%;background:var(--chapter-accent)}.theme-choice-sample b{color:var(--chapter-accent);font-size:.95rem}.theme-choice-sample em{color:var(--chapter-muted);font-size:.7rem;font-style:normal}.theme-choice-name{display:block;padding:12px 12px 0;font-weight:700;overflow-wrap:anywhere}.theme-choice small{display:block;padding:4px 12px}.appearance-preview-title,.theme-story{background:var(--chapter-paper);border-radius:10px;padding:16px}.theme-story{margin-top:14px}.theme-story summary{cursor:pointer;color:var(--chapter-accent)}.theme-moment-reveal{width:min(480px,calc(100vw - 32px));text-align:center;padding:36px 24px;background:var(--chapter-paper);color:var(--chapter-ink);border:1px solid var(--chapter-accent);border-radius:18px;animation:theme-arrival .22s ease-out}.theme-moment-reveal h2{color:var(--chapter-accent);overflow-wrap:anywhere}.theme-moment-reveal .eyebrow{color:var(--chapter-muted)}.theme-moment-words{font-size:1.25rem;line-height:1.7;margin:24px 0}.theme-moment-reveal::backdrop{background:#100f14aa}.theme-moment-reveal .button{background:var(--chapter-accent);color:var(--chapter-button-text)}
@keyframes theme-arrival{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.theme-moment-reveal{animation:none}}
@media(max-width:900px){.studio-create-grid{grid-template-columns:1fr}.studio-preview-column{position:static}.theme-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-intro{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.theme-gallery{gap:12px}.theme-choice-art{height:124px;padding:22px 12px}.theme-choice-name{font-size:.85rem}.theme-choice-sample{padding:10px}.theme-choice-sample em{font-size:.65rem}.studio-theme-form .studio-preview{padding:14px}.studio-signature{grid-template-columns:1fr 2fr;gap:12px}}

/* A solid header holds the shortcuts clear of the member's artwork. */
.chapter-theme>.chapter-own-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:20px 24px;margin-bottom:24px;border:1px solid var(--chapter-line,var(--line));border-left:4px solid var(--chapter-accent,var(--wine));border-radius:12px;background:var(--chapter-paper,var(--paper));color:var(--chapter-ink,var(--ink))}
.chapter-heading-title{min-width:0}.chapter-own-heading .eyebrow{color:var(--chapter-accent,var(--wine))}.chapter-own-heading h1{margin:6px 0 0}
.chapter-theme .chapter-title-button{appearance:none;display:block;max-width:100%;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:left;color:inherit;background:transparent;border:0;border-radius:4px;padding:0;cursor:pointer}
.chapter-title-button:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}.chapter-title-button:focus-visible{outline:3px solid var(--chapter-accent,var(--wine));outline-offset:5px}
.chapter-own-heading .chapter-quicknav{display:grid;grid-template-columns:repeat(6,46px);gap:8px;margin:0;overflow:visible}
.chapter-theme .chapter-quicknav .chapter-shortcut{appearance:none;position:relative;display:grid;place-items:center;width:46px;min-width:44px;height:46px;padding:0;margin:0;border:1px solid var(--chapter-accent,var(--wine));border-radius:10px;background:var(--chapter-bg,var(--cream));color:var(--chapter-accent,var(--wine));cursor:pointer;touch-action:manipulation}
.chapter-theme .chapter-quicknav .chapter-shortcut:hover,.chapter-theme .chapter-quicknav .chapter-shortcut:focus-visible{background:var(--chapter-accent,var(--wine));color:var(--chapter-button-text,#fff)}
.chapter-shortcut:focus-visible{outline:3px solid var(--chapter-accent,var(--wine));outline-offset:3px}.chapter-shortcut svg{pointer-events:none}
.chapter-shortcut-label{position:absolute;left:50%;bottom:calc(100% + 9px);transform:translateX(-50%);z-index:5;white-space:nowrap;padding:6px 9px;border:1px solid var(--chapter-accent,var(--wine));border-radius:6px;background:var(--chapter-paper,var(--paper));color:var(--chapter-ink,var(--ink));font:600 12px/1.35 'DM Sans',sans-serif;box-shadow:0 3px 10px #0002;pointer-events:none;visibility:hidden;opacity:0}
.chapter-shortcut:is(:hover,:focus-visible) .chapter-shortcut-label{visibility:visible;opacity:1}.chapter-shortcut:first-child .chapter-shortcut-label{left:0;transform:none}.chapter-shortcut:last-child .chapter-shortcut-label{left:auto;right:0;transform:none}
@media(max-width:700px){.chapter-theme>.chapter-own-heading{padding:16px;gap:16px}.chapter-own-heading .chapter-quicknav{grid-template-columns:repeat(3,minmax(44px,1fr));width:100%;gap:8px}.chapter-theme .chapter-quicknav .chapter-shortcut{width:100%;height:46px}}
/* Edit picks previously combined a fixed pale row with inherited dark-theme text. */
body[data-member-theme] dialog .selected-row{background:var(--paper);color:var(--ink);border-color:var(--line)}
body[data-member-theme] dialog .selected-row button{background:var(--cream);color:var(--wine);border-color:var(--wine)}

/* Directory cards share rows; private club activity is never part of a public peek. */
.club-grid{align-items:stretch}
.club-grid>.club-peek-card{display:grid;grid-template-rows:auto auto 1fr auto;gap:14px;align-items:stretch;min-width:0}
.club-peek-heading h2{margin:8px 0 0;overflow-wrap:anywhere}
.club-peek-card>.club-peek-status{margin:0;font-size:14px}
.club-peek-card>.club-peek{margin:0;width:100%;min-width:0;align-self:stretch}
.club-peek-card>.club-peek:not([open]) summary{min-height:210px;height:100%}
.club-peek-card>.club-peek[open] summary{min-height:66px}
.club-peek-card>.peek-club-action{margin:0;min-height:44px;align-self:end}
.club-peek-body .club-identity{margin-top:0;font-size:13px}
.club-peek-body .club-interest-match{margin:14px 0;font-size:13px}
.club-peek-body .club-interest-match p{font-size:13px}
.club-peek-activity{padding-top:16px;margin-top:16px;border-top:1px solid var(--line);overflow-wrap:anywhere}
.club-peek-activity h3{font-size:17px;margin:8px 0}
.club-peek-activity .note-postcard{width:100%;min-width:0;text-align:left;margin-top:12px}
.club-peek-activity .note-postcard>span{min-width:0}
.peek-poll-options{padding-left:20px;margin:10px 0;font-size:14px}
.peek-poll-options li{margin:5px 0}
@supports(grid-template-rows:subgrid){.club-grid>.club-peek-card{grid-template-rows:subgrid;grid-row:span 4}}

/* Discovery stays inside the Chapter, using its selected theme. */
.discovery-browse{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin-top:20px}
.discovery-shelves{display:flex;gap:8px;flex-wrap:wrap}
.discovery-browse button,.discovery-browse select,.discovery-copy button{min-height:44px}
.discovery-genre{display:flex;flex:1 1 190px;flex-direction:column;gap:5px;font-size:13px}
.discovery-genre select,.discovery-copy input{min-width:0;max-width:100%;width:100%;box-sizing:border-box;background:var(--chapter-paper,var(--paper));color:var(--chapter-ink,var(--ink));border:1px solid var(--chapter-line,var(--line));border-radius:10px;padding:10px 12px;font:inherit}
.discovery-shelves .button[aria-pressed=true],.chapter-theme .discovery-shelves .button[aria-pressed=true],.chapter-theme .discovery-shelves .button[aria-pressed=true]:hover{background:var(--chapter-accent,var(--wine));color:var(--chapter-button-text,#fff);border-color:var(--chapter-accent,var(--wine))}
.discovery-intro{font-size:14px;line-height:1.6}
.discovery-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px;min-height:1.5em}
.discovery-grid[aria-busy=true]{min-height:100px}
.discovery-card{border-radius:8px}
.discovery-card:hover strong{text-decoration:underline;text-underline-offset:3px}
.discovery-find{border-top:1px solid var(--line);padding-top:14px;margin-top:16px}
.discovery-find summary{cursor:pointer;font-weight:700;padding:8px 0;min-height:44px;box-sizing:border-box}
.discovery-copy{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
.discovery-copy label{display:grid;gap:5px;flex:1 1 180px;min-width:0;font-size:13px}
.discovery-copy input{min-height:44px}
.discovery-find .row-help{font-size:13px;line-height:1.5}
@media(max-width:420px){.discovery-browse{align-items:stretch}.discovery-shelves{width:100%}.discovery-shelves button{flex:1}.discovery-genre{flex-basis:100%}.discovery-find .discovery-actions{display:grid}.discovery-heading .discovery-tabs{width:100%}.discovery-tabs button{flex:1}}

.admin-shelf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.admin-shelf-grid h3{margin:10px 0}.admin-shelf-grid p{margin:8px 0}.admin-shelf-grid .button{margin-top:10px}
.admin-shelf-items{display:grid;gap:12px;margin:16px 0}
.admin-shelf-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;align-items:start}
.admin-shelf-item>.cover{width:54px;height:81px;min-height:0}
.admin-shelf-title{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.admin-shelf-title small{color:var(--muted)}
.admin-shelf-title label{display:grid;gap:5px;font-size:13px;margin-top:8px}.admin-shelf-title input{min-width:0;width:100%;box-sizing:border-box;padding:9px;border-radius:8px;background:var(--paper);color:var(--ink);border:1px solid var(--line)}
.admin-shelf-order{display:flex;gap:6px;flex-wrap:wrap}.admin-shelf-order button{min-width:44px;min-height:44px;padding:8px}
.admin-shelf-search{display:flex;align-items:end;gap:10px;margin-top:22px}.admin-shelf-search .field{flex:1;min-width:0;margin:0}
.admin-shelf-search>.button{min-height:44px}.admin-shelf-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.admin-shelf-result{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:10px;text-align:left;white-space:normal}
.admin-shelf-result>.cover{width:42px;height:63px;min-height:0}.admin-shelf-result>span{display:grid;gap:5px;overflow-wrap:anywhere}.admin-shelf-result small{font-size:12px}
.discovery-editor-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 10px}.discovery-editor-actions button{min-height:44px}
.discovery-sponsor-fields{border:1px solid var(--line);border-radius:12px;padding:16px;margin:18px 0}
.discovery-managed-heading{margin-top:18px}.discovery-managed-heading h3{margin:8px 0;font-size:18px}
.discovery-managed-heading p{font-size:14px}.discovery-managed-heading a{text-decoration:underline;text-underline-offset:3px}
.discovery-sponsored-label{display:inline-block;font-size:12px;font-weight:700;border:1px solid currentColor;border-radius:6px;padding:3px 8px;margin-bottom:7px}
@media(max-width:650px){.admin-shelf-grid,.admin-shelf-results{grid-template-columns:1fr}.admin-shelf-item{grid-template-columns:46px minmax(0,1fr)}.admin-shelf-item>.cover{width:46px;height:69px}.admin-shelf-order{grid-column:2}.admin-shelf-search{flex-wrap:wrap}.admin-shelf-search .field{flex-basis:100%}}

/* The invitation cards inherit the member's chosen palette. */
.ritual-hub{margin:18px 0 28px;min-width:0}
.ritual-invitations{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}
.ritual-invitation{position:relative;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);overflow:hidden;display:flex;flex-direction:column;align-items:start;gap:12px;min-width:0}
.ritual-tonight{border-top:5px solid var(--wine)}
.ritual-blind{border-top:5px solid var(--teal);background:linear-gradient(135deg,color-mix(in srgb,var(--teal) 10%,var(--paper)),var(--paper))}
.ritual-invitation h2{font-size:clamp(21px,2.2vw,29px);position:relative}
.ritual-invitation p{max-width:48ch;overflow-wrap:anywhere}.ritual-invitation small{color:var(--muted);font-size:12px}.ritual-invitation .button{margin-top:auto;white-space:normal;min-height:44px}
.ritual-star{position:absolute;right:10px;top:22px;font-size:96px;line-height:1;opacity:.09;pointer-events:none}
.ritual-composer{margin-top:18px;padding:24px;border:2px solid var(--wine);border-radius:16px;background:var(--paper);color:var(--ink);scroll-margin-top:20px}
.ritual-composer-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.ritual-composer>p{margin:10px 0}
.ritual-title-picker{min-width:0;border:1px solid var(--line);border-radius:12px;padding:16px;margin:18px 0}.ritual-title-picker legend{padding:0 6px;font-weight:700}.ritual-title-picker summary{padding:10px 0;cursor:pointer;min-height:44px}
.ritual-selected,.ritual-title,.ritual-result{display:flex;align-items:center;gap:14px;min-width:0;text-align:left;overflow-wrap:anywhere}
.ritual-selected>div,.ritual-title>span,.ritual-result>span{min-width:0;display:grid;gap:5px}.ritual-selected small,.ritual-title small,.ritual-result small{font-size:13px;color:var(--muted)}
.ritual-selected>.cover,.ritual-title>.cover{width:64px;height:96px;min-height:0;flex:0 0 64px;margin:0}
.ritual-result>.cover{width:38px;height:57px;min-height:0;flex:0 0 38px;margin:0}
.ritual-title{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:12px;border-radius:10px;width:100%;margin:12px 0;font:inherit}
.ritual-result{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:10px;border-radius:8px;width:100%;font:inherit}
.ritual-title:hover,.ritual-result:hover{border-color:var(--wine)}
.ritual-search-row{display:flex;align-items:end;gap:10px;margin:12px 0}.ritual-search-row .field{margin:0;min-width:0}.ritual-query{flex:1}.ritual-search-row .button{min-height:44px}
[data-ritual-results]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:310px;overflow:auto;overscroll-behavior:contain}
.ritual-clue-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ritual-composer input,.ritual-composer textarea,.ritual-composer select{width:100%;min-width:0;background:var(--paper);color:var(--ink);border:1px solid var(--line)}
.ritual-composer .account-actions{gap:10px}.ritual-composer .button{min-height:44px}
.ritual-post{margin:12px 0}.ritual-copy{white-space:pre-wrap;overflow-wrap:anywhere}.ritual-prompt{font-size:14px;color:var(--muted);margin:8px 0}
.ritual-clues{padding-left:24px;margin:14px 0;display:grid;gap:8px}.ritual-clues li{padding-left:5px;overflow-wrap:anywhere}.ritual-clues li::marker{color:var(--wine);font-weight:700}
.ritual-reveal{border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--wine) 5%,var(--paper));overflow:hidden}
.ritual-reveal>summary{list-style:none;cursor:pointer;padding:18px;min-height:56px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:10px}.ritual-reveal>summary::-webkit-details-marker{display:none}.ritual-reveal>summary::after{content:'+';margin-left:auto}.ritual-reveal[open]>summary::after{content:'−'}.ritual-reveal>div,.ritual-reveal>p{padding:0 18px 18px}.ritual-reveal:focus-within{border-color:var(--wine)}
.discovery-library{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;margin:18px 0;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink)}.discovery-library p{font-size:13px;color:var(--muted)}.discovery-library .button{white-space:nowrap;min-height:44px}
.discovery-libby-direct{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}.discovery-libby-direct small{color:var(--muted);flex:1;min-width:160px}
@media(max-width:700px){.ritual-invitations{grid-template-columns:1fr}.ritual-invitation{padding:20px}.ritual-composer{padding:16px}.ritual-clue-fields{grid-template-columns:1fr;gap:0}.ritual-search-row{flex-wrap:wrap}.ritual-query{flex-basis:65%}.ritual-search-row>.button{width:100%}[data-ritual-results]{grid-template-columns:1fr}.discovery-library{align-items:start;flex-direction:column}.ritual-composer-heading{align-items:start}.ritual-title-picker{padding:12px}}

.chapter-next-pick{min-width:0}.pick-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.pick-heading h2{margin:6px 0 16px}.pick-heading>.button{flex-shrink:0;font-size:1.4rem;min-width:44px;min-height:44px}.pick-poll h3{font-family:inherit;font-size:1.12rem;overflow-wrap:anywhere}.pick-options,.pick-selected{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pick-option,.pick-selected>div{min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px}.pick-title{display:flex;align-items:center;gap:12px;width:100%;padding:0;background:transparent;color:inherit;border:0;text-align:left;cursor:pointer}.pick-title .cover{width:56px!important;height:82px!important;flex:0 0 56px;min-width:0}.pick-title img{object-fit:cover}.pick-title span{min-width:0;overflow-wrap:anywhere}.pick-title small,.pick-search-result small{display:block;font-size:.78rem;line-height:1.5;margin-top:4px}.pick-count{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:.82rem}.pick-count progress{min-width:0;flex:1;height:8px;accent-color:var(--accent)}.pick-count small{white-space:nowrap}.pick-option>.button{width:100%;white-space:normal;min-height:44px}.pick-tools,.pick-history,.pick-search{margin:16px 0}.pick-tools summary,.pick-history summary,.pick-search summary{cursor:pointer;padding:8px 0;font-weight:600}.pick-tools .field{margin:10px 0}.pick-history .pick-poll{border-top:1px solid var(--line);padding-top:12px}.pick-search-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.pick-search-row .field{margin:0}.pick-query{flex:1;min-width:120px}.pick-search-result{display:flex;align-items:center;gap:12px;padding:10px;margin:6px 0;width:100%;text-align:left;background:transparent;color:inherit;border:1px solid var(--line);border-radius:10px}.pick-search-result>span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}.pick-search-result .cover{width:36px!important;height:52px!important;flex:0 0 36px}.pick-feedback:empty,[data-pick-error]:empty{display:none}.chapter-next-pick [data-pick-form]>.field{margin:16px 0}.chapter-next-pick input,.chapter-next-pick select{max-width:100%;min-width:0}.chapter-next-pick [data-pick-error]{color:inherit;font-weight:600}.chapter-next-pick button:focus-visible,.chapter-next-pick summary:focus-visible{outline:3px solid currentColor;outline-offset:3px}.pick-title:disabled{cursor:default}@media(max-width:430px){.pick-options,.pick-selected{gap:10px}.pick-option,.pick-selected>div{padding:8px}.pick-title{flex-direction:column;align-items:flex-start;gap:8px}.pick-title .cover{width:48px!important;height:70px!important;flex-basis:auto}.pick-title strong{font-size:.86rem}.pick-count{flex-wrap:wrap}.pick-count progress{flex-basis:100%}.pick-option>.button{font-size:.82rem;padding:8px}.pick-search-row>.button{width:100%}}
.chapter-next-pick .button{min-height:44px}.chapter-next-pick .cover-fallback{padding:3px;overflow:hidden}.chapter-next-pick .cover-fallback strong{font-size:9px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.chapter-next-pick .cover-fallback small{display:none}.pick-option{display:flex;flex-direction:column}.pick-option>.pick-title{flex:1}.pick-option>.pick-count{flex-shrink:0}

/* Actions stay inside a revealed recommendation; readable in every Chapter theme. */
.note-sharing-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 12px;background:transparent}
.note-sharing-actions .button{min-height:44px;max-width:100%;margin:0;background:#fff8eb!important;color:#352f2d!important;border:1px solid #8b7462!important}
.note-sharing-actions .button:hover{background:#f1e5d2!important}
.note-sharing-actions .button:focus-visible{outline:3px solid #24696d;outline-offset:2px}

/* Notes: a roomy reading surface with a small, always-reachable composer. */
html:has(dialog[open] [data-note-thread]){overflow:hidden}
dialog[open]:has([data-note-thread]){width:min(940px,calc(100% - 32px));height:calc(var(--notes-viewport-height,100dvh) - 32px);max-height:1000px;padding:16px;gap:0}
dialog:has([data-note-thread]) .notes-head{position:relative;gap:8px;margin:0 0 12px;min-height:44px}
dialog:has([data-note-thread]) .notes-head h2{flex:1;min-width:0;font-size:22px;line-height:1.3;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.notes-head>[data-notes="mailbox"],.notes-head>.close,.notes-head .notes-conversation-menu>summary{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border-radius:12px;font-size:24px;line-height:1}
.notes-head .notes-conversation-menu{position:static;flex:0 0 44px}
.notes-head .notes-conversation-menu>summary{list-style:none;cursor:pointer;border:1px solid var(--line)}
.notes-head summary::-webkit-details-marker,.note-message-menu summary::-webkit-details-marker{display:none}
.notes-menu-body{position:absolute;right:0;top:calc(100% + 4px);z-index:4;width:min(320px,100%);max-height:calc(var(--notes-viewport-height,100dvh) - 100px);overflow:auto;display:grid;gap:6px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);box-shadow:0 8px 25px #0004}
.notes-menu-body>.button{text-align:left;min-height:44px;width:100%;padding:8px 12px}
.notes-menu-body p{font-size:12px;line-height:1.5;color:var(--muted);margin:4px 0}
dialog [data-note-thread]>.note-scroll{min-height:70px;padding:12px;border:0;border-radius:10px;background:color-mix(in srgb,var(--ink) 3%,transparent);scrollbar-gutter:stable}
dialog [data-note-thread]>#accountMessage:empty{display:none}
dialog [data-note-thread]>#accountMessage:not(:empty){flex-shrink:0;max-height:90px;overflow:auto;font-size:13px;padding:6px 0}
.note-history{text-align:center;margin:0 0 10px}
.note-history>.button{min-height:44px;font-size:13px;padding:8px 14px}
.note-scroll>.chapter-note{max-width:88%;margin:10px 0;padding:14px 16px}
.note-scroll>.my-note{margin-left:auto}
.note-scroll .chapter-note header{display:grid;grid-template-columns:38px minmax(0,1fr) 44px;column-gap:8px;row-gap:0;align-items:center}
.note-scroll .chapter-note header>.table-avatar{grid-column:1;grid-row:1 / span 2}
.note-scroll .chapter-note header>strong{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
.note-scroll .chapter-note header>small{grid-column:2;grid-row:2;color:#55423e}
.note-scroll .chapter-note header>.note-message-menu{grid-column:3;grid-row:1 / span 2}
.note-message-menu{margin-left:auto;font-size:13px}
.note-message-menu>summary{display:grid;place-items:center;width:44px;height:44px;list-style:none;cursor:pointer;font-size:22px;border-radius:10px}
.note-message-menu>summary:focus-visible,.notes-head summary:focus-visible{outline:3px solid #239daa;outline-offset:2px}
.note-scroll .chapter-note header>.note-message-menu[open]{grid-column:1 / -1;grid-row:3}
.note-message-menu[open]>summary{margin-left:auto}
.note-message-menu>.button{display:block;min-height:44px;margin-left:auto}
.note-scroll .note-message-actions{margin-top:4px}
.note-scroll .note-message-actions>.button{padding:5px 10px;background:transparent;border-color:transparent;color:#302522}
.note-scroll .memory-caption{margin-top:8px;font-size:16px;line-height:1.6}
.note-scroll .note-surprise>summary{padding:12px;min-height:48px}
dialog [data-note-thread]>.note-update-bar,dialog[data-notes-compact] [data-note-thread]>.note-update-bar{display:flex;gap:8px;margin:4px 0;flex-shrink:0}
dialog [data-note-thread]>.note-update-bar:not(:has([data-note-status]:not(:empty))):not(:has([data-notes="latest"]:not([hidden]))){display:none}
.note-update-bar [data-note-status]{font-size:12px}
dialog #chapterNoteForm{margin-top:10px;padding-top:10px;max-height:calc(100% - 77px);overflow:auto;border-top:1px solid var(--line)}
.note-compose-row{display:flex;align-items:flex-end;gap:8px}
dialog #chapterNoteForm .field{flex:1;min-width:0;margin:0}
dialog #chapterNoteForm textarea{display:block;width:100%;height:48px;min-height:48px;max-height:120px;padding:11px 12px;resize:none;font-size:16px;line-height:24px;margin:0}
#chapterNoteForm .note-send{flex-shrink:0;min-height:48px;padding:10px 16px}
.note-attachment-strip{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding:4px 6px;border:1px solid var(--line);border-radius:12px}
.note-attachment-title{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:4px;background:transparent;border:0;text-align:left;color:inherit}
.note-attachment-title>span:last-child{min-width:0}
.note-attachment-title small{display:block;font-size:11px;line-height:16px;color:var(--muted)}
.note-attachment-title strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.note-attachment-strip>[data-note-item-remove]{flex:0 0 44px;width:44px;height:44px;padding:0;font-size:22px}
@media(max-width:560px){
 dialog[open]:has([data-note-thread]){width:100%;max-width:none;height:var(--notes-viewport-height,100dvh);max-height:var(--notes-viewport-height,100dvh);margin:0;border:0;border-radius:0;padding:10px 8px max(10px,env(safe-area-inset-bottom))}
 dialog:has([data-note-thread]) .notes-head{gap:5px;margin-bottom:8px}
 dialog:has([data-note-thread]) .notes-head h2{font-size:18px}
 dialog [data-note-thread]>.note-scroll{padding:4px;scrollbar-gutter:auto}
 .note-scroll>.chapter-note{max-width:96%;padding:10px;margin:8px 0}
 .chapter-note header .table-avatar{width:30px;height:30px;min-width:30px;max-width:30px;min-height:30px;max-height:30px;flex-basis:30px}
 .note-scroll .chapter-note header{grid-template-columns:30px minmax(0,1fr) 44px;column-gap:5px}
 .chapter-note header small{font-size:11px}
 dialog #chapterNoteForm{margin-top:7px;padding-top:7px}
 #chapterNoteForm .note-send{padding:10px 12px}
}

/* A covered story opens a conversation, using the existing Table reply form. */
.blind-story,.blind-preview{white-space:normal}
.blind-story .ritual-clues{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px}
.blind-story .ritual-clues li{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--line);border-left:3px solid var(--wine);border-radius:10px;overflow-wrap:anywhere}
.blind-story .ritual-clues li[hidden],.blind-play-actions [hidden]{display:none}
.blind-story .ritual-clues small{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.blind-play-actions,.blind-connect-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}
.blind-play-actions>.button,.blind-connect-actions>.button{min-height:44px}
.blind-play-actions>.row-help{margin:0;font-size:12px}
.blind-reveal-open{display:none}
.ritual-reveal[open]>summary .blind-reveal-open{display:inline}
.ritual-reveal[open]>summary .blind-reveal-closed{display:none}
.blind-story:has(.ritual-reveal[open]) [data-blind-guess]{display:none}
.blind-connection{font-size:14px;margin-top:14px;line-height:1.6}
.blind-original>.account-actions>[data-conversation-reply]{display:none}
.blind-preview{margin:16px 0;border:1px solid var(--line);border-radius:12px;padding:8px 12px}
.blind-preview>summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}
.blind-preview [data-blind-preview]{padding:12px 0}
.blind-preview .ritual-clues li{background:var(--paper)}
.story-reply-active [data-blind-guess],.story-reply-active [data-blind-chat]{display:none}
#conversationForm[data-story-reply]{margin:18px 0 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper);white-space:normal;color:var(--ink)}
#conversationForm[data-story-reply]>.inline-help{display:none}
#conversationForm[data-story-reply] .field{margin-bottom:10px}
#conversationForm[data-story-reply] textarea{min-height:90px;max-height:250px;resize:vertical}
#conversationForm[data-story-reply] .draft-tools{font-size:12px}
.blind-thread>.thread-replies>summary{min-height:44px;padding:12px;font-weight:600}
@media(max-width:560px){.blind-story .ritual-clues li{padding:12px}.blind-play-actions{gap:8px}.blind-connect-actions{align-items:stretch}.blind-connect-actions>.button{flex:1 1 100%}#conversationForm[data-story-reply]{padding:12px}.blind-preview{padding:6px 10px}}

/* A single owner feed, with familiar theme colors and comfortable reading. */
.unified-feed{min-width:0}.feed-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.feed-heading h2{margin:0}.feed-heading p{font-size:14px;margin:8px 0 18px;color:var(--muted)}
.feed-options{position:relative;flex:0 0 auto}.feed-options>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:44px;height:44px;font-size:24px;border:1px solid var(--line);border-radius:10px}.feed-options>summary::-webkit-details-marker{display:none}.feed-options>div{position:absolute;right:0;z-index:5;width:min(270px,65vw);background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:12px;box-shadow:0 8px 24px #0002;display:grid;gap:8px}.feed-options label{font-size:14px;line-height:1.5;padding:8px}.feed-options .button{text-align:left;white-space:normal}
.feed-filters{display:flex;flex-wrap:wrap;gap:8px;padding:16px 0;border-top:1px solid var(--line);margin-top:16px}.feed-filters button{font:inherit;font-size:14px;min-height:44px;padding:9px 15px;border:1px solid var(--line);border-radius:999px;color:var(--ink);background:transparent;cursor:pointer}.feed-filters button[aria-pressed=true]{background:var(--wine);border-color:var(--wine);color:var(--paper);font-weight:700}.feed-new{width:100%;margin-bottom:12px}.feed-new[hidden]{display:none}
.unified-feed-list{display:grid;gap:14px}.unified-feed-list>[hidden]{display:none}.unified-feed-list .status-post{margin:0;padding:18px;border:1px solid var(--line);border-radius:14px}.unified-feed-list .status-post-heading p{line-height:1.6;overflow-wrap:anywhere}.unified-feed-list .status-body{font-size:16px;line-height:1.65}.unified-feed-list .status-replies{margin-top:12px}
.feed-notice,.feed-club{border:1px solid var(--line);border-radius:14px;min-width:0}.feed-notice.is-unread{border-left:3px solid var(--wine)}.feed-notice-open{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;border:0;background:transparent;color:var(--ink);font:inherit;cursor:pointer;border-radius:14px}.feed-notice-copy{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.5}.feed-notice-copy strong{font-size:14px}.feed-notice-copy small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.feed-club{padding:16px}.feed-club p{margin:0 0 10px;line-height:1.5}.feed-pages{display:flex;justify-content:center;padding-top:18px}.feed-pages:empty{display:none}
.chapter-more-tools>.button{display:flex;width:100%;justify-content:flex-start;margin:10px 0;min-height:44px;white-space:normal;text-align:left;line-height:1.5;overflow-wrap:normal}.chapter-more-tools .home-resume{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px;margin:16px 0 0}.chapter-more-tools .home-resume>div{min-width:0;width:100%}.chapter-more-tools .home-resume h2{font-size:19px;line-height:1.4;overflow-wrap:normal;margin:8px 0}.chapter-more-tools .home-resume p{font-size:14px;line-height:1.6;overflow-wrap:normal;margin:8px 0}.chapter-more-tools .home-resume .eyebrow{font-size:10px;line-height:1.6;letter-spacing:.08em}.chapter-more-tools .home-resume .button{width:100%;white-space:normal;line-height:1.5}.chapter-more-tools .account-actions{display:grid;gap:8px}
.welcome-layout .chapter-more-tools{padding:16px}.chapter-more-tools .home-resume{padding:14px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.chapter-more-tools>summary{line-height:1.5}
.unified-feed.chapter-controls{padding:0;border:0;margin:0;background:transparent}.feed-photo-guidance{font-size:13px;line-height:1.6}.feed-photo-guidance>summary{cursor:pointer;min-height:44px;padding:10px}.feed-photo-guidance p{margin:8px}.unified-feed .moment-compose>.moment-upload{display:inline-flex;width:auto;min-height:44px}.unified-feed .status-reactions{gap:6px}.unified-feed .status-reaction,.unified-feed .status-reaction-total{min-height:44px;min-width:44px;padding:8px}
@media(max-width:560px){.feed-filters{gap:6px}.feed-filters button{padding:9px 12px}.unified-feed-list .status-post{padding:13px}.feed-notice-open{padding:13px;gap:10px}.feed-heading h2{font-size:24px}}

.email-preference-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.email-preferences .account-check{display:flex;align-items:flex-start;gap:10px;margin:12px 0}.email-preferences .account-check input{flex:0 0 auto;width:18px;height:18px;margin-top:2px}.email-preferences [data-email-message]{min-height:1.5em}

.report-receipt{border:1px solid var(--border,#d8c4b5);border-radius:16px;padding:18px}.report-receipt-mark{font-size:1.6rem}.report-receipt p:first-of-type{font-weight:600}.safety-contact-entry{margin-top:12px}.footer-safety-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;text-decoration:underline}.page-footer{gap:16px;flex-wrap:wrap}#memberReportForm textarea{min-height:120px}#memberReportForm [data-report-progress]:empty{display:none}

.personal-report-cover{border:1px solid var(--border,#c8b5a7);border-radius:16px;padding:16px;background:var(--paper,#fffaf1);color:var(--ink,#2d251f);min-width:0;margin:10px 0}.personal-report-cover>summary{cursor:pointer;min-height:44px;padding:8px;white-space:normal}.personal-report-cover>summary strong,.personal-report-cover>summary span{display:block}.personal-report-cover>summary span{font-size:.875rem;line-height:1.5;font-weight:400;margin-top:5px}.personal-report-cover[open]>summary{border-bottom:1px solid var(--border,#c8b5a7);margin-bottom:12px}.personal-report-cover>summary:focus-visible{outline:3px solid currentColor;outline-offset:3px}.member-report-row{border:1px solid var(--border,#c8b5a7);border-radius:16px;padding:18px;margin:14px 0;min-width:0}.member-report-row header{display:flex;gap:12px;align-items:start;justify-content:space-between;flex-wrap:wrap}.member-report-row h3{font-size:1.15rem;margin:0}.report-result{font-size:.9rem;max-width:100%}.report-result summary{cursor:pointer;font-weight:600;min-height:44px;padding:6px}.report-result p{max-width:38ch}.report-reference code{white-space:normal;overflow-wrap:anywhere;font-size:.8rem}.report-reference summary{cursor:pointer;padding:8px 0;font-size:.85rem}.member-report-row .account-actions{gap:10px;flex-wrap:wrap}.member-report-row [data-cover-message]:empty{display:none}

/* Private comment review */
.report-evidence{white-space:pre-wrap;overflow-wrap:anywhere}.report-review .account-actions{gap:.65rem;flex-wrap:wrap}#memberReportForm select{max-width:100%;min-width:0}

[data-memory-review-card]{min-width:0}[data-memory-evidence-content] .memory-photo{max-width:100%;height:auto;max-height:28rem;object-fit:contain}[data-memory-review] .account-actions{flex-wrap:wrap;gap:.6rem}

/* Shared footer: two clear destinations, with room on phones. */
.footer-help-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;min-width:0}.page-footer .footer-help-links a{min-height:44px;display:inline-flex;align-items:center;color:var(--wine);font-size:13px;text-decoration:underline;padding:8px 12px}

/* October 27: readable navigation on phones and touch devices. */
@media(max-width:600px),(hover:none){
 .primary-nav a{flex:1 1 0;min-width:0;min-height:62px;gap:4px;padding:8px 4px}
 .primary-nav .nav-tip{position:static;display:block;visibility:visible;opacity:1;transform:none;inset:auto;padding:0;margin:0;border:0;border-radius:0;background:none;color:inherit;box-shadow:none;white-space:normal;text-align:center;font:600 11px/1.3 "DM Sans",sans-serif}
 .chapter-quicknav .chapter-shortcut{min-height:64px;gap:5px;display:flex;flex-direction:column;justify-content:center;padding:8px 4px}
 .chapter-quicknav .chapter-shortcut .chapter-shortcut-label{position:static;display:block;visibility:visible;opacity:1;transform:none;inset:auto;padding:0;border:0;background:none;color:inherit;box-shadow:none;white-space:normal;text-align:center;font:600 11px/1.3 "DM Sans",sans-serif}
}

/* The heading announces a new dialog view; actionable controls retain their focus rings. */
#dialogTitle:focus{outline:none}

/* Account records share the member's theme and stay readable on small screens. */
.membership-checks {display:grid;gap:1rem;margin:1.25rem 0}
.membership-checks .account-check {display:flex;align-items:flex-start;gap:.65rem;line-height:1.5;margin:0}
.membership-checks input {flex:0 0 auto;margin-top:.35rem;width:1.1rem;height:1.1rem}
.membership-checks a,.membership-section a {text-decoration:underline;text-underline-offset:.16em;overflow-wrap:anywhere}
.membership-section {padding-block:1.25rem;border-bottom:1px solid var(--line, currentColor)}
.membership-section:first-child {padding-top:1rem}
.membership-section:last-child {border-bottom:0}
.membership-section p {line-height:1.6}
.membership-receipts {list-style:none;padding:0;display:grid;gap:1rem}
.membership-receipts li {border-inline-start:3px solid currentColor;padding:.3rem 0 .3rem 1rem}
.membership-receipts p {margin:.35rem 0}

/* Keep the approved provider mark legible without recoloring its artwork. */
.catalog-provider-mark{display:inline-flex;max-width:100%;padding:14px 16px;background:#fff;border:1px solid #d4d8dc;border-radius:8px;line-height:1;box-sizing:border-box}.catalog-provider-mark img{display:block;width:130px;max-width:100%;height:auto;filter:none}

/* Keyboard-only shortcut; independent of member and club color palettes. */
.skip-content{position:fixed;top:8px;left:12px;z-index:10000;transform:translateY(calc(-100% - 16px));padding:12px 18px;border:2px solid #fff;border-radius:8px;background:#191919!important;color:#fff!important;font:600 16px/1.4 "DM Sans",sans-serif;text-decoration:underline;box-shadow:0 0 0 2px #191919}
.skip-content:focus{transform:none;outline:3px solid #ffcf70;outline-offset:3px}

/* M8 Match: readable compact explanations and phone-safe sorting. */
.m8-badge{flex-shrink:0}.m8-badge span{display:block}.m8-building{font-size:12px;line-height:1.4;max-width:112px}.m8-explanation>p{margin:12px 0 6px}.m8-explanation details{font-size:13px}.m8-explanation summary{cursor:pointer}.m8-explanation .row-help{line-height:1.6}.m8-sort{display:inline-flex;align-items:center;gap:10px;margin:0 12px 16px 0}.m8-sort select{max-width:180px;min-height:44px;padding:8px 12px;font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:10px}.person-card .person-top>div:not(.match-badge){min-width:0}.person-card .member-name-link{overflow-wrap:anywhere}@media(max-width:480px){.person-card .person-top{flex-wrap:wrap}.m8-sort{display:flex;width:100%}}
