*{box-sizing:border-box} :root{font-family:system-ui,sans-serif;color:#24352d;background:#f5f1e8;color-scheme:light} [hidden]{display:none!important} body{margin:0} header{display:flex;gap:1rem;align-items:center;background:#203c32;color:white;padding:1rem clamp(1rem,4vw,3rem)} header span{font:1.55rem Georgia,serif} header strong{color:#d9e7dc;font-size:.85rem} #logout{margin-left:auto} main{max-width:76rem;margin:auto;padding:0 1rem 1rem} #notice{min-height:1.25rem;color:#793a20} #welcome{max-width:29rem;margin:6vh auto;background:#fffdf7;border:1px solid #ded9cb;padding:2rem;border-radius:1rem} h1{font:2rem Georgia,serif;margin:0 0 1rem} h2{font-size:1rem;margin:1rem 0 .5rem} form,nav{display:grid;gap:.55rem} label{display:grid;gap:.3rem;font-size:.9rem} input,select,button{font:inherit;border-radius:.45rem;min-height:2.55rem;padding:.45rem .65rem} input,select{min-width:0;width:100%;border:1px solid #9baca1;background:white;color:inherit} button{cursor:pointer;border:1px solid #315846;background:#315846;color:white} button[aria-current=true]{outline:2px solid #b56c39;outline-offset:2px} summary{cursor:pointer;padding:.5rem 0} details{margin-top:1rem;border-top:1px solid #ded9cb} #workspace{display:grid;grid-template-columns:minmax(13rem,16rem) minmax(0,1fr);min-height:75vh;gap:1rem} aside,#conversation{background:#fffdf7;border:1px solid #ded9cb;border-radius:.8rem;padding:1rem} #conversation{display:flex;flex-direction:column} #messages{flex:1;min-height:12rem;max-height:54vh;overflow:auto} article{padding:.6rem .75rem;margin:.4rem 0;background:#eaf0e7;border-radius:.6rem;overflow-wrap:anywhere} article p{white-space:pre-wrap;margin:.2rem 0} article time{margin-left:.5rem;color:#495d51;font-size:.75rem} #send>div{display:flex;gap:.5rem} #invitation{overflow-wrap:anywhere} #accounts p{display:flex;align-items:center;justify-content:space-between;gap:.35rem;flex-wrap:wrap} @media(max-width:630px){#workspace{grid-template-columns:1fr} #welcome{margin:2vh auto} #messages{max-height:48vh}}


.profile-button{display:inline-flex;align-items:center;gap:.45rem;color:var(--ink,#23372d);background:transparent;border:0;padding:.2rem .35rem;font-weight:600;text-align:left}
.profile-button:hover,.profile-button:focus-visible{text-decoration:underline}
.avatar{display:inline-grid;place-items:center;width:1.85rem;height:1.85rem;border-radius:50%;object-fit:cover;background:#dce9de;color:#253c30;font-size:.8rem;flex:none}
#member-profile{width:min(24rem,calc(100% - 2rem));border:1px solid #b9cbbd;border-radius:.85rem;padding:1.25rem;color:#253c30;background:#fffdf7}
#member-profile::backdrop{background:#17272070}
#member-avatar .avatar{width:3.5rem;height:3.5rem;font-size:1.3rem}
#member-bio{white-space:pre-wrap;overflow-wrap:anywhere}
#member-actions{margin-block:.65rem}
#profile textarea{width:100%;font:inherit;resize:vertical}

#challenge{border:1px solid #e0cda4;background:#fff4d9;padding:.6rem .85rem;border-radius:.65rem;margin-bottom:.5rem} #challenge h2{margin:.2rem 0} #challenge p{margin:.4rem 0;overflow-wrap:anywhere} .feed-image{display:block;max-width:100%;max-height:24rem;border-radius:.55rem;margin:.4rem 0;object-fit:contain} .reactions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.5rem} .reactions button{background:#fffdf7;color:#254232;border-color:#b4c8b8;font-size:.82rem} .reactions button[aria-pressed=true]{background:#cce2d2;border-color:#315846} #photo-preview{margin:0;overflow-wrap:anywhere}

#conversation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at top right, #e0efde, transparent 65%),
              linear-gradient(145deg, #fcf8ed, #e8eee2);
}
#messages > article {
  background: rgba(255, 253, 247, .60);
  border: 1px solid rgba(56, 76, 60, .12);
}
.cat-week #conversation {
  background: radial-gradient(circle at 10% 18%, #f9dce6, transparent 48%),
              radial-gradient(circle at 90% 30%, #e5dcfa, transparent 55%), #fff3de;
}
.cat-week #conversation::before,
.cat-week #conversation::after {
  position: absolute;
  z-index: -1;
  font-size: clamp(3rem, 13vw, 9rem);
  pointer-events: none;
  opacity: .27;
}
.cat-week #conversation::before { content: "\1F408"; top: 25%; left: 9%; }
.cat-week #conversation::after { content: "\1F408\200D\2B1B"; bottom: 18%; right: 9%; }
