@font-face { font-family:'Kalam'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/kalam-regular.ttf') format('truetype'); }
/* Conversations stay within the paper, ink and sage palette of Puzzles. */
.hero-art { isolation:isolate; }
.hero-review { position:absolute; z-index:3; width:clamp(190px,17vw,255px); padding:19px 21px; border:1px solid #c9d4c3; border-radius:18px 18px 18px 4px; background:#fffefaed; box-shadow:0 10px 35px #29312e0d; text-align:left; color:var(--ink); backdrop-filter:blur(8px); transition:box-shadow .2s,transform .2s; }
.hero-review:hover { box-shadow:0 12px 35px #29312e1a; transform:translateY(-3px); }
.hero-review-a { left:-24px; bottom:10%; }
.hero-review-b { right:-12px; top:4%; border-radius:18px 18px 4px 18px; }
.hero-review.invitation { bottom:7%; }
.review-eyebrow { display:block; font:600 8px/1.5 var(--sans); letter-spacing:1.6px; color:var(--sage); }
.review-quote { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; font:italic 23px/1.2 var(--serif); margin:9px 0; }
.review-byline { display:block; font:10px/1.5 var(--sans); color:var(--muted); }
.review-card-link { display:block; font:500 9px/1.5 var(--sans); margin-top:12px; color:#4b624f; }
.review-carousel-controls { position:absolute; bottom:-12px; left:0; z-index:4; display:flex; align-items:center; gap:13px; }
.review-carousel-controls button { border:0; background:var(--paper); color:var(--sage); padding:4px 7px; font-size:11px; }
.reviews-float { position:fixed; bottom:max(22px,env(safe-area-inset-bottom)); right:24px; z-index:30; display:flex; align-items:center; gap:11px; padding:12px 17px; border:1px solid #c1ceb9; border-radius:999px; background:#f7faf3f2; box-shadow:0 6px 25px #29312e16; color:#344c38; font:500 11px/1.4 var(--sans); backdrop-filter:blur(8px); }
.reviews-float small { display:block; font-size:9px; font-weight:400; color:var(--muted); }
.reviews-float svg { width:22px; height:22px; flex:none; }
.reviews-dialog { width:min(820px,calc(100% - 32px)); max-height:88dvh; padding:44px clamp(22px,5vw,52px); overflow:auto; overscroll-behavior:contain; border:1px solid #c9d4c3; background:var(--paper); }
.reviews-dialog h2 { font-size:clamp(38px,6vw,58px); margin:10px 0; }
.reviews-dialog > .close { position:sticky; float:right; top:0; z-index:2; width:32px; height:32px; border:1px solid var(--line); background:var(--paper); border-radius:50%; font-size:20px; }
.reviews-dialog::backdrop { background:#1b282366; backdrop-filter:blur(3px); }
.reviews-dialog .review-intro { color:var(--muted); font-size:12px; margin:15px 0 24px; }
.reviews-dialog .reviews-shortcuts { display:flex; gap:23px; flex-wrap:wrap; border-block:1px solid var(--line); padding:8px 0; margin-bottom:22px; }
.reviews-dialog .community-moderation { margin:20px 0 5px; }
.reviews-list { display:grid; gap:28px; margin:20px 0; }
.review-thread { display:grid; gap:13px; }
.reviews-empty { text-align:center; padding:30px 18px; border:1px dashed #cbd4c4; border-radius:16px; }
.reviews-empty h3 { font:400 34px/1.2 var(--serif); margin:9px 0; }
.reviews-empty > p:last-child { color:var(--muted); font-size:12px; }
.community-form { margin-top:30px; scroll-margin-top:15px; }
.community-form h2 { font-size:35px; margin-bottom:15px; }
.community-form select,.author-identity select,.reply-inline select { display:block; padding:9px 12px; margin:6px 0 10px; border:1px solid #cbd2c6; background:#fff; font:12px var(--sans); color:var(--ink); }
.community-form .form-note { font-size:11px; color:var(--muted); }
.community-rules { font-size:10px; color:var(--muted); margin:18px 0; line-height:1.8; }
.community-pagination { display:flex; align-items:center; justify-content:center; gap:22px; margin:25px 0; font-size:11px; }
.community-pagination,.journal-pagination,.journal-filters { position:static; inset:auto; width:auto; background:transparent; padding:0; border:0; flex-direction:row; z-index:auto; }
.community-pagination:empty { display:none; }
.community-pagination button:disabled { opacity:.4; cursor:default; }
.community-moderation { display:flex; align-items:center; justify-content:flex-end; gap:20px; flex-wrap:wrap; }
.community-moderation .text-link { font-size:10px; }
.author-identity { font-size:10px; color:var(--sage); }
.author-identity select { display:inline-block; margin:0 0 0 10px; }
.author-badge { display:inline-block; margin-left:9px; font-size:8px; border:1px solid #bbcbb3; padding:1px 5px; border-radius:9px; font-weight:400; letter-spacing:.4px; }
.community-page { max-width:1100px; }
.community-page .journal-thread,.community-page .community-form,.community-page .public-note { max-width:790px; margin-inline:auto; }
.public-note { font-size:11px; color:var(--muted); text-align:center; margin:15px auto 30px; }
.public-note .text-link { font-size:11px; padding:0; }
.conversation-list { display:grid; gap:16px; margin:30px auto; max-width:790px; }
.conversation-card { padding:27px 30px; background:#fff; border:1px solid var(--line); position:relative; }
.conversation-card h2 { font-size:32px; line-height:1.2; margin:8px 0 13px; overflow-wrap:anywhere; }
.conversation-card > p:not(.eyebrow) { font-size:10px; color:var(--muted); }
.conversation-card .text-link { margin-top:15px; }
.conversation-delete { position:absolute; right:12px; top:12px; border:1px solid var(--line); background:#fff; width:27px; height:27px; border-radius:50%; }
.conversation-heading { margin-top:35px; }
.community-empty { text-align:center; color:var(--muted); padding:35px 20px; }
.author-compose-note { padding:12px 0; color:var(--sage); font-size:12px; }
.gathering-card .contact-secondary { display:block; margin-top:15px; font-size:10px; color:var(--muted); }
.chat-controls button { font-weight:600; color:#456149; font-size:11px; border-bottom-color:#91a58a; }
.chat-controls button:hover { color:var(--ink); border-bottom-color:var(--ink); }
body:has(dialog[open]) { overflow:hidden; }
@media(max-width:1050px) and (min-width:701px){ .hero-review { width:195px; padding:15px; }.review-quote { font-size:21px; }.hero-review-a { left:-15px; bottom:-12px; }.hero-review-b { right:-5px; top:-18px; } }
@media(max-width:700px){
 .hero-review-a { position:relative; inset:auto; order:3; align-self:center; width:92%; max-width:360px; margin-top:22px; padding:16px 21px; }
 .hero-review-b { display:none; }
 .hero-review.invitation { bottom:auto; }
 .hero-review .review-quote { font-size:24px; -webkit-line-clamp:3; }
 .hero-art .art-caption { margin-top:24px; }
 .review-carousel-controls { position:relative; bottom:auto; order:4; justify-content:center; margin-top:10px; }
 .reviews-float { right:13px; bottom:max(14px,env(safe-area-inset-bottom)); padding:10px 13px; }
 .reviews-dialog { max-height:92dvh; padding:27px 20px; }
 .reviews-dialog .chat-bubble { max-width:90%; }
 .community-moderation { gap:10px; }
 .community-form h2 { font-size:30px; }
 .conversation-card { padding:23px 20px; }
 footer { padding-bottom:85px; }
}
@media(prefers-reduced-motion:reduce){ .hero-review { transition:none; } }

/* Painted reader bubble: text stays live and accessible over the illustration. */
.hero-art .hero-review-a,.hero-art .hero-review.invitation {
 display:flex; flex-direction:column; justify-content:center; text-align:center;
 width:350px; height:232px; padding:29px 47px 38px; flex-shrink:0;
 border:0; border-radius:0; box-shadow:none; backdrop-filter:none;
 background:transparent url('/assets/illustrations/review-watercolor.png') center/100% 100% no-repeat;
 transition:opacity .25s ease,transform .25s ease;
}
.hero-review-a::before { content:none; }
.hero-art .hero-review-b { display:none!important; }
.hero-review .review-quote { flex:none; min-height:0; font-size:22px; line-height:1.2; margin:8px 0; -webkit-line-clamp:3; }
.hero-review .review-eyebrow,.hero-review .review-byline,.hero-review .review-card-link { flex-shrink:0; }
.hero-review .review-card-link { margin-top:7px; }
.hero-art .hero-review-a:hover { box-shadow:none; }
.hero-art .art-caption { order:3; margin-top:23px; }
.review-carousel-controls button { background:transparent; }
.review-form-before-list { margin-top:22px; }
.reviews-list { scroll-margin-top:20px; }
@media(min-width:701px){
 .hero-art { padding-top:140px; }
 .hero-art .hero-cover { width:min(105%,540px); align-self:flex-end; order:0; transform:rotate(1deg); }
 .hero-art .hero-review-a,.hero-art .hero-review.invitation { position:absolute; top:65px; left:-80px; right:auto; bottom:auto; margin:0; transform:rotate(-4deg); }
 .hero-art .hero-review-a:hover { transform:rotate(-4deg) translateY(-2px); }
 .hero-art .hero-review.review-changing { transform:rotate(-4deg) translateY(5px); }
 .hero-art .review-carousel-controls { position:absolute; top:315px; left:-65px; right:auto; bottom:auto; width:180px; margin:0; justify-content:center; }
 .hero-art .art-caption { align-self:flex-end; width:min(105%,540px); text-align:center; }
}
@media(min-width:701px) and (max-width:1190px){
 .hero-art .hero-review-a,.hero-art .hero-review.invitation { left:-20px; width:310px; height:226px; padding:28px 40px 37px; }
 .hero-art .review-carousel-controls { left:-100px; width:180px; }
}
@media(max-width:700px){
 .hero-art { padding-top:0; }
 .hero-art .hero-review-a,.hero-art .hero-review.invitation { position:relative; inset:auto; align-self:flex-start; order:0; width:100%; max-width:350px; height:230px; padding:30px 41px 39px; margin:8px auto 0 0; transform:rotate(-3deg); }
 .hero-art .hero-review-a:hover { transform:rotate(-3deg); }
 .hero-art .hero-review.review-changing { transform:rotate(-3deg) translateY(5px); }
 .hero-art .review-carousel-controls { position:static; inset:auto; order:1; margin:7px auto 23px 0; width:100%; justify-content:center; }
 .hero-art .hero-cover { order:2; align-self:flex-end; width:85%; margin-top:10px; }
}
.journal-promo-card { align-items:center; }
.journal-promo-copy { display:block; flex:1; min-width:0; }
.journal-promo-copy > p:last-child { max-width:560px; font-size:13px; color:var(--muted); }
.journal-promo-copy:hover h2 em { color:#435f48; }
.journal-promo-action { flex:0 0 320px; display:flex; flex-direction:column; align-items:center; gap:0; }
.journal-illustration-link { display:block; width:320px; transform:rotate(2deg); transition:transform .2s; }
.journal-illustration-link:hover { transform:rotate(0deg) translateY(-3px); }
.journal-illustration-link img { display:block; width:100%; height:280px; object-fit:contain; }
.conversation-card-body { display:block; margin-top:18px; }
.conversation-public { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center; gap:13px; }
.public-copy { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; }
.contact-option-title { font:400 25px/1.15 var(--serif); }
.contact-option-note { font:11px/1.65 var(--sans); color:var(--muted); }
.public-copy .text-link { margin-top:3px; font-size:12px; }
.conversation-illustration { display:block; transform:rotate(3deg); transition:transform .2s; }
.conversation-public:hover .conversation-illustration { transform:rotate(0deg) translateY(-3px); }
.conversation-illustration img { width:100%; height:190px; object-fit:contain; display:block; }
.mail-option { border-top:1px solid var(--line); margin-top:16px; padding-top:17px; }
.mail-action { display:flex; align-items:center; gap:16px; margin:0; padding:0; border:0; background:none; text-align:left; color:var(--ink); width:100%; }
.mail-action img { display:block; width:72px; height:72px; object-fit:contain; flex:none; }
.mail-copy { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.mail-copy strong { font:500 16px/1.45 var(--sans); border-bottom:1px solid #aeb8a4; padding-bottom:2px; }
.mail-copy small { font:11px/1.5 var(--sans); color:var(--muted); }
.mail-action:hover strong { color:var(--sage); }
.album-cover .music-notes { font:32px/1 Georgia,serif; }
@media(max-width:1000px){
 .journal-promo-action { flex-basis:260px; }.journal-illustration-link { width:260px; }.journal-illustration-link img { height:250px; }
 .conversation-public { gap:8px; }.contact-option-title { font-size:23px; }
}
@media(max-width:700px){
 .journal-promo-action { margin-top:20px; width:100%; }.journal-illustration-link { width:min(280px,100%); }.journal-illustration-link img { height:250px; }.journal-promo-action .button { margin-top:0; }
 .conversation-public { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); }.conversation-illustration img { height:175px; }.public-copy .text-link { font-size:11px; }
 .mail-action { gap:10px; }.mail-action img { width:60px; height:65px; }.mail-copy strong { font-size:15px; }
}
@media(prefers-reduced-motion:reduce){ .hero-art .hero-review,.journal-illustration-link,.conversation-illustration { transition:none; } }
@media(max-width:360px){
 .header-actions .header-share { width:38px; min-width:38px; padding:8px; justify-content:center; }
 .header-share > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}

/* A handwritten note with a small watercolor pencil, without shifting the surrounding layout. */
.hero-review .review-quote { display:block; -webkit-line-clamp:unset; max-height:84.48px; overflow:hidden; white-space:pre-wrap; overflow-wrap:anywhere; position:relative; font-family:'Kalam','Segoe Print',cursive; font-style:normal; font-size:22px; line-height:1.28; }
.review-glyph { opacity:1; }
.review-pencil { position:absolute; width:36px; height:36px; z-index:2; pointer-events:none; transform-origin:1px 35px; }
.hero-review[data-writing="writing"] .review-quote,.hero-review[data-writing="paused"] .review-quote { -webkit-line-clamp:unset; max-height:84.48px; }
.hero-art .hero-review { z-index:3; }
@media(max-width:700px){
 .hero-art .hero-review-a,.hero-art .hero-review.invitation { order:1; }
 .hero-art .hero-cover { width:100%; margin-top:-65px; transform:translateX(12px); }
 .hero-art .review-carousel-controls { width:180px; order:0; margin:0 auto 10px 0; position:relative; z-index:4; }
}

.review-ink { display:block; position:relative; white-space:pre-wrap; overflow-wrap:anywhere; will-change:transform; }
.hero-review.review-static .review-quote { overflow-y:auto; scrollbar-width:thin; }
@media(min-width:701px) and (max-width:1190px){
 .hero-art .hero-review-a,.hero-art .hero-review.invitation { top:35px; }
 .hero-art .review-carousel-controls { top:285px; }
}
