/* Compact photo journals, with descriptions and secondary actions inside details. */
.story-grid,.community-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:22px 16px;overflow:visible;margin:0;padding:0}.story-grid .story,.community-feed .story{min-width:0;flex:initial;border:0;border-radius:8px;overflow:hidden;box-shadow:none;background:transparent}.story-open{width:100%;display:block;text-align:left;min-width:0}.story-photo{aspect-ratio:4/5;object-fit:cover;width:100%;height:auto;border-radius:8px;object-position:center 25%}.story:nth-child(3n+2) .story-photo{object-position:65% center}.story:nth-child(3n) .story-photo{object-position:35% 15%}.story-copy{padding:10px 2px 0}.story-copy h3{margin:0;font-size:16px;line-height:1.4;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:45px}.story-actions{display:flex;align-items:center;gap:4px;padding:0;margin:0;border:0;min-height:40px}.story-actions>.story-author{display:flex;align-items:center;gap:5px;flex:1;min-width:0;font-size:12px;line-height:1.4;color:#737780}.story-author>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-avatar{width:20px;height:20px;flex:0 0 20px;font-size:10px;background:#e7edf4;color:#62758a}.story-actions .story-like{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:4px;width:auto;min-width:48px;height:40px;flex:0 0 auto;padding:4px 2px;color:#858891;border:0;border-radius:0;background:transparent;box-shadow:none}.story-like svg{width:17px;height:17px;stroke-width:1.6}.story-like .story-like-count{font-size:11px;color:inherit;font-variant-numeric:tabular-nums}.story-actions .story-like[aria-pressed=true]{color:#e24b68}.story-like[aria-pressed=true] svg{fill:#e24b68;stroke:#e24b68}.moments-sample-note{font-size:11px;line-height:1.6;color:#8b8e96;margin:-8px 0 18px}.feed-pagination{display:flex;justify-content:center;align-items:center;gap:14px;padding:26px 0 16px}.feed-pagination button{font-size:14px;color:#007aff;background:#f2f4f8;border:0;min-height:44px;gap:6px}.feed-pagination>span{font-size:12px;color:#8e8e93}.community-notice{font-size:12px;line-height:1.6}.community-tabs{margin-bottom:22px}.draft-empty{grid-column:1/-1}.community-feed .story-copy{padding:10px 2px 0}
/* Silver, ice-blue and soft jade give the conversation its own material. */
body[data-view=chat]{background:#e8eff5}body[data-view=chat] .app{background:linear-gradient(155deg,#e0eaf6 0%,#eeeaf3 46%,#dfefea 100%)}body[data-view=chat] .app-top{background:#f4f7fb99;border-bottom:1px solid #ffffff70;backdrop-filter:blur(26px) saturate(135%);-webkit-backdrop-filter:blur(26px) saturate(135%)}body[data-view=chat] #main,body[data-view=chat] #view-chat{background:transparent}.chat-screen .page-head h1{font-weight:650;color:#25364b}.chat-screen .mode-label{color:#748094}.chat-screen .status-dot{background:#8195ad}.chat-screen .messages{scrollbar-color:#bdcad7 transparent}.chat-screen .message-avatar{background:#ffffff8f;border:1px solid #ffffffab;color:#7a8ba2}.chat-screen .assistant .message-text{background:#ffffffa8;border:1px solid #ffffffc7;box-shadow:0 3px 14px #34486708;backdrop-filter:blur(18px) saturate(120%);-webkit-backdrop-filter:blur(18px) saturate(120%);color:#344154}.chat-screen .user .message-text{background:linear-gradient(135deg,#1689f5,#3376dd);color:#fff;border:1px solid #ffffff40;box-shadow:0 3px 12px #1f69be15}.chat-screen .message-meta{color:#7c8798}.chat-screen .message-meta .icon-btn{color:#7e8ca1}.chat-screen .prompt{background:#ffffff60;border:1px solid #ffffff8f;color:#69788d;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.chat-screen .prompt svg{color:#8a9aad}.chat-screen .composer-wrap{background:transparent}.chat-screen .composer{background:#ffffff9c;border:1px solid #ffffffdf;box-shadow:0 4px 20px #354c6b12,inset 0 1px 0 #ffffffd9;backdrop-filter:blur(28px) saturate(140%);-webkit-backdrop-filter:blur(28px) saturate(140%);padding:5px 5px 5px 15px;min-height:56px}.chat-screen .composer:focus-within{border-color:#a4bdd9;box-shadow:0 0 0 2px #ffffff60,0 4px 22px #354c6b12}.chat-screen .composer textarea{color:#28394e}.chat-screen .composer textarea::placeholder{color:#8a96a5}.chat-screen .composer #voiceInput{color:#7890a8}.chat-screen .composer #send::before,.chat-screen .composer #stop::before{background:linear-gradient(145deg,#429dff,#1479e6);box-shadow:inset 0 1px 0 #ffffff50,0 2px 5px #2164ab26}.chat-screen .composer #send:disabled::before{background:#b7c5d4;box-shadow:inset 0 1px 0 #ffffff60}.chat-screen .composer-foot,.chat-screen .voice-state #voiceLanguage{color:#8391a1}.chat-screen .chat-tools .icon-btn{color:#6486b0}.chat-screen .bottom-nav{background:#f7fafbbd;border-color:#ffffffb0;box-shadow:0 3px 16px #394f6a16}.chat-screen .composer #voiceInput.listening{background:#fff0f0;color:#d33c38}
@media(max-width:700px){.story-grid,.community-feed,#view-explore .story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 11px;margin:0;padding:0;overflow:visible}.story-grid .story{flex:initial}.story-photo{aspect-ratio:3/4}.story-copy h3{font-size:14px;line-height:1.45;min-height:41px}.story-copy{padding:9px 1px 0}.story-actions>.story-author{font-size:11px;gap:4px}.story-avatar{width:18px;height:18px;flex-basis:18px;font-size:9px}.story-like .story-like-count{font-size:10px}.story-like svg{width:16px;height:16px}.story-actions .story-like{gap:3px;min-width:44px}.moments-sample-note{margin-top:-6px;margin-bottom:16px;font-size:10px}#discoverMoments .section-heading{margin-bottom:18px}.community-feed .story-copy h3{font-size:14px}.chat-screen .composer{padding-left:13px}}
@media(max-width:359px){.story-grid,.community-feed{gap:16px 9px}.story-copy h3{font-size:13px;min-height:38px}.story-actions>.story-author{font-size:10px}.story-actions .story-like{min-width:40px}.story-avatar{width:16px;height:16px;flex-basis:16px}.chat-screen .composer textarea{font-size:16px}}
body[data-view=chat] .bottom-nav{background:#f7fafbbd;border-color:#ffffffb0;box-shadow:0 3px 16px #394f6a16}
@media(prefers-reduced-transparency:reduce){body[data-view=chat] .app-top,body[data-view=chat] .bottom-nav{background:#edf2f8;backdrop-filter:none;-webkit-backdrop-filter:none}.chat-screen .assistant .message-text,.chat-screen .composer,.chat-screen .prompt{background:#f5f7fa;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-contrast:more){.chat-screen .assistant .message-text{background:#f8fafc;color:#18283c;border-color:#8091a8}.chat-screen .composer{background:#fff;border-color:#536e8c}.chat-screen .composer-foot,.moments-sample-note,.story-actions>.story-author{color:#536074}}
