/* v0.84 — Sunday Commons (edition #20): a luminous, conversation-first neighbourhood salon.
   Visual treatment only. Shared routes, data access, moderation, RSVP and owner permissions unchanged. */
[data-theme="sunday-commons"]{--shadow:0 15px 30px rgba(41,53,105,.10);--stroke:rgba(58,76,145,.22);--muted:#505b7b;--round:20px}
[data-theme="sunday-commons"] body{background:radial-gradient(circle at 98% 13%,#e3e7fc 0,transparent 36%),radial-gradient(circle at 3% 47%,#fff1c4 0,transparent 37%),#f8f6ea;color:#283458}
[data-theme="sunday-commons"] .topbar{height:78px;background:#fffef8;border-bottom:3px solid #5065b0;box-shadow:0 4px 0 #e3e8fc}
[data-theme="sunday-commons"] .topbar-inner{max-width:1570px}
[data-theme="sunday-commons"] .logo{font:800 30px/1.1 Georgia,serif;letter-spacing:-.065em;color:#283763;text-shadow:none;transform:none}
[data-theme="sunday-commons"] .logo span span{color:#dc704f}
[data-theme="sunday-commons"] .topnav a{font:700 12px/1.2 Arial,sans-serif;color:#2b396b}
[data-theme="sunday-commons"] .top-create{background:#445ab2;color:#fff;border-radius:999px;padding:12px 18px}
[data-theme="sunday-commons"] .shell{max-width:1540px;grid-template-columns:185px minmax(0,1fr) 215px;gap:25px;padding-top:31px}
[data-theme="sunday-commons"] .sidebar{top:107px;border:2px solid #b8c5ef;background:#fffefa;border-radius:24px;padding:16px 10px;box-shadow:6px 7px 0 #e4eaf8}
[data-theme="sunday-commons"] .sidebar-section-label{color:#5663a3;text-transform:uppercase;letter-spacing:.12em;font-weight:800}
[data-theme="sunday-commons"] .side-link{min-height:44px;border-radius:15px;margin:2px 0;font-weight:700;color:#3b4772}
[data-theme="sunday-commons"] .side-link.active{background:#dfe6fb;color:#233770;box-shadow:inset 4px 0 0 #5268bb}
[data-theme="sunday-commons"] .sidebar-promo{border-radius:18px;background:#ebf0fd;color:#2d3867;border:2px dashed #98aadb;padding:17px}
[data-theme="sunday-commons"] .sidebar-promo strong{font:800 23px/1.15 Georgia,serif}
[data-theme="sunday-commons"] .sidebar-promo button,[data-theme="sunday-commons"] .sidebar-promo>span{color:#344fa5}
[data-theme="sunday-commons"] .rail-card{border:2px solid #d3d9ef;background:#fffdf5;border-radius:22px;box-shadow:5px 6px 0 #e7e9f6}
[data-theme="sunday-commons"] .rail-card h3{font:800 22px/1.15 Georgia,serif;color:#2b396b}
[data-theme="sunday-commons"] .welcome-card{background:#fff0c9;border-color:#f0d28b}
/* Split the masthead like a welcoming invitation, not a dark performance banner. */
[data-theme="sunday-commons"] .hero{display:grid;grid-template-columns:53% 47%;min-height:485px;background:#ffefb9;border:3px solid #d6b97b;border-radius:30px;box-shadow:10px 11px 0 #dfe6fa;overflow:hidden}
[data-theme="sunday-commons"] .hero:before{z-index:0;background:radial-gradient(circle at 35% 20%,rgba(255,255,255,.85) 0 1.5%,transparent 1.6%),radial-gradient(circle at 40% 25%,rgba(255,255,255,.85) 0 1%,transparent 1.1%);background-size:51px 51px,73px 73px}
[data-theme="sunday-commons"] .hero:after{content:'SUNDAY COMMONS  ·  020';z-index:6;position:absolute;right:27px;top:26px;background:#fffdf4;color:#384e97;padding:9px 13px;border-radius:99px;border:1px solid #b5c0e4;font:850 10px Arial,sans-serif;letter-spacing:.1em;pointer-events:none}
[data-theme="sunday-commons"] .hero-copy{padding:75px 34px 38px 48px;justify-content:center;min-height:0}
[data-theme="sunday-commons"] .hero-copy h1{font:800 clamp(45px,5.5vw,82px)/.98 Georgia,serif;color:#26365e;letter-spacing:-.07em;max-width:630px;margin:26px 0 22px}
[data-theme="sunday-commons"] .hero-copy p{font:500 15px/1.75 Arial,sans-serif;color:#384868;max-width:420px}
[data-theme="sunday-commons"] .hero-eyebrow{border:1px solid #7792d0;color:#344c9d;background:#e8ecff;letter-spacing:.1em;border-radius:999px;font-weight:800}
[data-theme="sunday-commons"] .hero-bottom-note{color:#3c4a77}
[data-theme="sunday-commons"] .hero-visual{margin:57px 28px 34px 0;min-height:365px;border:12px solid #fffef9;outline:2px solid #a4b4dd;box-shadow:10px 10px 0 #bbcae9;border-radius:26px 78px 26px 78px;overflow:hidden}
[data-theme="sunday-commons"] .hero-photo{inset:0;background:linear-gradient(0deg,rgba(39,60,111,.15),transparent 65%),url('../assets/images/hero-playful.webp') center 43%/cover no-repeat;filter:saturate(.95)}
[data-theme="sunday-commons"] .hero-sticker.sticker-one{right:5px;top:auto;bottom:15px;background:#fbd484;color:#27396b;border:3px solid white;width:81px;height:81px;transform:rotate(8deg)}
[data-theme="sunday-commons"] .hero-sticker.sticker-two,[data-theme="sunday-commons"] .hero-spark,[data-theme="sunday-commons"] .hero-outline,[data-theme="sunday-commons"] .heading-doodle{display:none}
[data-theme="sunday-commons"] .btn{border-radius:999px;font-weight:800}
[data-theme="sunday-commons"] .btn.primary{background:#4156a5;color:#fff}
[data-theme="sunday-commons"] .hero .btn.outline{background:#fffefa;color:#304887;border:2px solid #5369a8}
[data-theme="sunday-commons"] .section-head{background:#e6ebfb;border:1px solid #b6c5e8;padding:15px 21px;margin:30px 0 20px;border-radius:24px}
[data-theme="sunday-commons"] .section-head .eyebrow{color:#4e57a0}
[data-theme="sunday-commons"] .section-head h2,[data-theme="sunday-commons"] .heading h1,[data-theme="sunday-commons"] .post-content h3,[data-theme="sunday-commons"] .person-card h3{font-family:Georgia,serif;font-weight:800;letter-spacing:-.045em;color:#293963}
/* Discussion-led feed: wide conversational threads instead of dense masonry/image gallery. */
[data-theme="sunday-commons"] .posts-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
[data-theme="sunday-commons"] .post-card{background:#fffefa;border:2px solid #c9d2ec;border-radius:21px;padding:0;display:grid;grid-template-columns:minmax(0,205px) minmax(0,1fr);overflow:hidden;box-shadow:5px 6px 0 #e0e6f9}
[data-theme="sunday-commons"] .post-card .post-media{height:100%;min-height:190px}
[data-theme="sunday-commons"] .post-card .post-content{padding:18px 21px;min-width:0}
[data-theme="sunday-commons"] .post-card:nth-child(3n+2){background:#fff7e2;border-color:#eedcaa}
[data-theme="sunday-commons"] .post-card:nth-child(3n+2) .post-content{border-left:4px solid #e8ae67}
[data-theme="sunday-commons"] .group-card,[data-theme="sunday-commons"] .person-card,[data-theme="sunday-commons"] .event-card{border:2px solid #c5d0ee;background:#fffefa;border-radius:23px;box-shadow:5px 6px 0 #e2e7f5}
[data-theme="sunday-commons"] .category-tile{background:#fff0c2;border:1px solid #d9c78b;border-radius:22px}
[data-theme="sunday-commons"] .text-poster{background:linear-gradient(133deg,#c4d1f7,#f9df9e);color:#2d3d72}
/* Owner preview miniature: even the thumbnail presents conversations in note-card stacks. */
.theme-thumb-sunday-commons .thumb-main{background:#fff0b7;grid-template-columns:1fr;border-radius:19px;border:2px solid #7e9bdd;box-shadow:4px 5px 0 #dbe3f9}
.theme-thumb-sunday-commons .thumb-main strong{font:800 23px/1 Georgia,serif;color:#253d78;letter-spacing:-.05em}
.theme-thumb-sunday-commons .thumb-main span{color:#596ca1}
.theme-thumb-sunday-commons .thumb-photo{position:absolute;inset:24px 14px 20px 63%;border:5px solid #fff;border-radius:18px 45px 18px 45px;filter:saturate(.8)}
.theme-thumb-sunday-commons .thumb-cards i{border-radius:99px;background:#e5ecff;border:1px solid #a1b1df}
/* Page greetings echo handwritten notices, with consistent functional buttons. */
[data-theme="sunday-commons"] .edition-page--discover .heading,[data-theme="sunday-commons"] .edition-page--communities .heading,[data-theme="sunday-commons"] .edition-page--creators .heading,[data-theme="sunday-commons"] .edition-page--profile .heading{background:linear-gradient(110deg,#fff0bd 0 74%,#e7edff 74%);border:2px solid #dfd3b0;border-radius:26px;padding:37px 32px;margin-bottom:27px}
[data-theme="sunday-commons"] .edition-page--discover .heading h1,[data-theme="sunday-commons"] .edition-page--communities .heading h1,[data-theme="sunday-commons"] .edition-page--creators .heading h1,[data-theme="sunday-commons"] .edition-page--profile .heading h1{font:800 clamp(38px,5.3vw,73px)/1 Georgia,serif;color:#2b407c;letter-spacing:-.055em}
[data-theme="sunday-commons"] .edition-page--discover .search-box{background:#fffefa;border:2px solid #9cace0;border-radius:20px;box-shadow:5px 5px 0 #e3e8f7}
[data-theme="sunday-commons"] .edition-page--discover .feed-tabs{display:flex;flex-wrap:wrap;gap:9px;border-bottom:2px dashed #b1bee3;padding:10px 0 14px}
[data-theme="sunday-commons"] .edition-page--discover .feed-tab,[data-theme="sunday-commons"] .edition-page--discover .filter-chip{border-radius:999px;font-weight:800}
/* Community index becomes a vertical conversation-board list with contrasting topic stripes. */
[data-theme="sunday-commons"] .edition-page--communities .group-grid{grid-template-columns:minmax(0,1fr);gap:15px}
[data-theme="sunday-commons"] .edition-page--communities .group-card{position:relative;min-height:168px;padding:26px 29px;border-left:12px solid #8097dc}
[data-theme="sunday-commons"] .edition-page--communities .group-card:nth-child(3n+2){background:#fff4d4;border-left-color:#dda65d}
[data-theme="sunday-commons"] .edition-page--communities .group-card:nth-child(3n){background:#e8effb;border-left-color:#677dbe}
[data-theme="sunday-commons"] .edition-page--communities .group-card h3{font:800 27px/1.1 Georgia,serif;letter-spacing:-.04em}
/* Creators get social-introduction tiles with portraits rather than city poster strips. */
[data-theme="sunday-commons"] .edition-page--creators .people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
[data-theme="sunday-commons"] .edition-page--creators .person-card{display:grid;grid-template-columns:minmax(110px,38%) minmax(0,1fr);overflow:hidden}
[data-theme="sunday-commons"] .edition-page--creators .person-photo{height:100%;min-height:226px}
[data-theme="sunday-commons"] .edition-page--creators .person-card:nth-child(even){background:#f8f2dd}
/* Profile like a real member notebook, not a stage or exhibition dossier. */
[data-theme="sunday-commons"] .edition-page--profile .profile-hero{background:#fffefa;border:2px solid #bdc9ea;border-radius:27px;overflow:hidden;box-shadow:7px 7px 0 #e0e7f8}
[data-theme="sunday-commons"] .edition-page--profile .profile-cover{background:radial-gradient(circle at 15% 35%,#ffd98d 0 8%,transparent 9%),radial-gradient(circle at 75% 45%,#fff7d9 0 12%,transparent 13%),linear-gradient(105deg,#b2c6ef,#e9eefe 62%,#f7d79c);border-radius:0}
[data-theme="sunday-commons"] .edition-page--profile .profile-main h2{font:800 clamp(26px,3.7vw,42px)/1 Georgia,serif;color:#2c3e79}
[data-theme="sunday-commons"] .edition-page--profile .profile-stats>div{border:1px solid #b7c8ec;border-radius:17px;background:#eaf0fd}
[data-theme="sunday-commons"] .edition-page--profile .profile-journal{background:repeating-linear-gradient(0deg,#fffefa 0 38px,#e8edf9 39px 40px);border:2px solid #b7c7ef;border-radius:27px;padding:28px;box-shadow:6px 7px 0 #e6eaf5}
[data-theme="sunday-commons"] .profile-journal-heading h2,[data-theme="sunday-commons"] .profile-journal-feed-heading h3{font:800 clamp(25px,3vw,39px)/1.1 Georgia,serif;color:#2d3f77}
[data-theme="sunday-commons"] .profile-journal-counter{border-radius:99px;color:#273d82;background:#dfe8ff;border:1px solid #b2c3ea}
[data-theme="sunday-commons"] .profile-journal-feature{background:#fff3ce;border-left:7px solid #e1ad63;border-radius:18px;padding:27px}
[data-theme="sunday-commons"] .profile-journal-feature h3{font:800 clamp(25px,3.4vw,42px)/1.12 Georgia,serif;color:#273d79}
[data-theme="sunday-commons"] .gaf-live .hub-tabs{border:2px solid #b8c7e8;border-radius:20px;background:#e5edff;padding:6px}
[data-theme="sunday-commons"] .gaf-live .hub-tabs .menu-btn{border-radius:15px;min-height:44px;font-weight:800}
[data-theme="sunday-commons"] .gaf-live .hub-tabs .menu-btn.active{background:#3f54a3;color:white}
[data-theme="sunday-commons"] .gaf-live .community-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
[data-theme="sunday-commons"] .gaf-live .hub-profile,[data-theme="sunday-commons"] .gaf-live .community-card,[data-theme="sunday-commons"] .gaf-live .post-card{background:#fffefa;border:2px solid #c0cded;border-radius:21px;box-shadow:5px 5px 0 #e0e7f8}
[data-theme="sunday-commons"] .gaf-live .community-card h3,[data-theme="sunday-commons"] .gaf-live .post-card h3{font:800 24px/1.1 Georgia,serif}
[data-theme="sunday-commons"] .events-program,[data-theme="sunday-commons"] .event-plans-panel{border:2px solid #bcc9ea;border-radius:22px}
[data-theme="sunday-commons"] .event-card{border-left:7px solid #8096d6}
@media(max-width:1150px) and (min-width:831px){
 [data-theme="sunday-commons"] .shell{grid-template-columns:165px minmax(0,1fr);gap:18px}
 [data-theme="sunday-commons"] .right-rail{display:none}
 [data-theme="sunday-commons"] .hero-visual{margin-right:18px}
}
@media(max-width:830px){
 [data-theme="sunday-commons"] .topbar{height:70px}
 [data-theme="sunday-commons"] .shell{display:block;padding:16px 14px 56px}
 [data-theme="sunday-commons"] .sidebar{display:none;position:fixed;top:70px;left:0;bottom:0;z-index:30;overflow-y:auto;width:min(310px,85vw);border-radius:0 20px 20px 0}
 [data-theme="sunday-commons"] .sidebar.sidebar-open{display:block}
 [data-theme="sunday-commons"] .right-rail{display:none}
 [data-theme="sunday-commons"] .hero{display:flex;flex-direction:column;min-height:0;box-shadow:6px 7px 0 #dfe6fa}
 [data-theme="sunday-commons"] .hero-copy{padding:65px 24px 28px;min-height:0}
 [data-theme="sunday-commons"] .hero-visual{position:relative;inset:auto;opacity:1;pointer-events:auto;flex:none;width:auto;min-height:280px;height:280px;margin:0 18px 19px;border-width:7px}
 [data-theme="sunday-commons"] .edition-page--creators .people-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
 [data-theme="sunday-commons"] .topbar .logo{font-size:24px}
 [data-theme="sunday-commons"] .hero-copy h1{font-size:clamp(41px,11vw,62px)}
 [data-theme="sunday-commons"] .hero:after{top:13px;right:12px;font-size:9px}
 [data-theme="sunday-commons"] .hero-visual{min-height:242px;height:242px}
 [data-theme="sunday-commons"] .posts-grid,[data-theme="sunday-commons"] .edition-page--communities .group-grid,[data-theme="sunday-commons"] .edition-page--creators .people-grid,[data-theme="sunday-commons"] .gaf-live .community-grid{grid-template-columns:minmax(0,1fr)}
 [data-theme="sunday-commons"] .post-card{display:block}
 [data-theme="sunday-commons"] .post-card .post-media{height:205px;min-height:0}
 [data-theme="sunday-commons"] .post-card .post-content{padding:15px}
 [data-theme="sunday-commons"] .edition-page--creators .person-card{grid-template-columns:minmax(0,1fr)}
 [data-theme="sunday-commons"] .edition-page--creators .person-photo{height:225px;min-height:0}
 [data-theme="sunday-commons"] .edition-page--profile .profile-journal{padding:14px;box-shadow:none}
 [data-theme="sunday-commons"] .profile-journal-feature{padding:18px}
 [data-theme="sunday-commons"] .edition-page--discover .heading,[data-theme="sunday-commons"] .edition-page--communities .heading,[data-theme="sunday-commons"] .edition-page--creators .heading,[data-theme="sunday-commons"] .edition-page--profile .heading{padding:25px 17px}
}
@media(prefers-reduced-motion:reduce){[data-theme="sunday-commons"] *,[data-theme="sunday-commons"] *::before,[data-theme="sunday-commons"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[data-theme="sunday-commons"] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #293eaa;outline-offset:3px}
[data-theme="sunday-commons"] .hero :is(button,a,input,select):focus-visible,[data-theme="sunday-commons"] .topbar :is(button,a):focus-visible{outline-color:#293eaa}
