.trail-story-open{display:block;margin:10px 0 6px 21px;padding:7px 11px;background:#e4ebdf;border:1px solid #cfdbc9;border-radius:6px;font-size:11px;color:#315c47}
.trail-photo-preview{margin:12px 0 0 21px;min-width:0}.trail-photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.trail-card .trail-photo-thumb{min-width:0;display:block;padding:0;overflow:hidden;border:1px solid #d5decf;border-radius:7px;background:#edf0e6;text-align:left;color:#526d49}.trail-photo-thumb img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#dde5d7}.trail-photo-thumb>span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:5px;font-size:9px}.trail-photo-thumb:hover{border-color:#7b986a}.trail-photo-thumb:focus-visible{outline:2px solid #517543;outline-offset:3px}.trail-card .trail-preview-credit{font-size:8px;line-height:1.5;color:#7d8975;margin:6px 0}.trail-preview-credit>span{display:block}.trail-preview-credit a{text-decoration:underline;text-underline-offset:2px}.trail-photo-source{display:inline-block;font-size:11px;line-height:1.7;color:#426e50;border-bottom:1px solid #b9cbb0}.trail-card .trail-photo-source-note{display:block;margin-top:3px;color:#839177}.story-original-article{display:block;margin:8px 20px;padding:12px 16px;border:1px solid #b6c7ab;border-radius:7px;background:#f2f5e9;font-size:12px;color:#406447}.trail-photo-preview+.trail-story-open{margin-top:8px}
.story-dialog{width:min(1120px,calc(100vw - 40px));max-width:none;height:min(790px,calc(100vh - 44px));max-height:none;padding:0;background:#f8f8f1;border:1px solid #e1e6d9;border-radius:16px;color:#243f34;overflow:hidden;box-shadow:0 30px 100px #0b241855}
.story-dialog::backdrop{background:#132b2694;backdrop-filter:blur(8px)}
.story-header{height:100px;padding:22px 28px;display:flex;align-items:center;gap:20px;border-bottom:1px solid #dee4d6;background:#fbfbf5}
.story-eyebrow{font-size:10px;letter-spacing:2px;color:#7b8b76}.story-header h2{font:500 23px var(--font-ui);margin:7px 0 0}.story-route-label{display:flex;align-items:center;gap:9px;font-size:11px;margin-left:auto;color:#71826d}.story-route{border:1px solid #d4ddcd;border-radius:7px;background:#f4f7ee;padding:10px;color:#315943;max-width:220px}.story-close{font-size:28px;color:#7c8b76;padding:3px 7px}
.story-layout{height:calc(100% - 100px);display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}.story-gallery{min-width:0;padding:24px;overflow:auto;scrollbar-width:thin}.story-conversation{min-width:0;overflow:auto;border-left:1px solid #dfe6d7;padding:22px 24px;background:#f0f4e9;scrollbar-width:thin}
.story-stage{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:250px;aspect-ratio:3/2;background:#dde6d6;border-radius:10px;overflow:hidden;color:#74836c}.story-stage>img,.story-stage>video{width:100%;height:100%;object-fit:contain;max-height:410px}.story-stage>p{font-size:12px;line-height:1.9;padding:0 38px;text-align:center}.story-empty-title{font-size:19px;font-weight:500;padding:20px 30px 0}
.story-caption{margin-top:17px}.story-media-kind{font-size:10px;letter-spacing:1px;color:#6f8a5e}.story-caption h3{font-size:18px;font-weight:500;margin:7px 0 9px}.story-caption p{font-size:12px;line-height:1.8;color:#73806b;margin:5px 0}.story-caption .story-credit{font-size:10px;margin-top:12px;color:#6d7a65}.story-caption small{display:block;font-size:9px;margin-top:8px;color:#7e8b74}.story-caption a,.story-license a{border-bottom:1px solid #b8c7af}.story-media-tools{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:13px 0;font-size:11px;color:#3c674b}.story-media-tools button{padding:6px 9px;background:#e9efdf;border-radius:5px}.story-license{font-size:10px;color:#7c8972;line-height:1.8}.story-license summary{cursor:pointer}.story-gallery-heading{display:flex;justify-content:space-between;align-items:center;margin:23px 0 13px;font-size:12px}.story-gallery-heading b{font-weight:500}.story-media-count{font-size:10px;color:#8a967f}.story-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.story-thumb{padding:0;text-align:left;border-radius:7px;border:2px solid transparent;overflow:hidden;background:#edf0e5;display:flex;flex-direction:column}.story-thumb[aria-pressed=true]{border-color:#69895a}.story-thumb img{width:100%;aspect-ratio:4/3;object-fit:contain}.story-thumb span{font-size:10px;line-height:1.5;padding:7px 6px}.story-regional{margin-top:23px;border-top:1px solid #e0e5d8;padding-top:18px}.story-regional>b{font-size:12px;font-weight:500}.story-video-card{display:grid;grid-template-columns:34px 1fr;gap:4px 10px;text-align:left;width:100%;background:#e5ecd9;padding:14px;border-radius:8px;margin-top:10px;font-size:12px}.story-play{grid-row:span 2;align-self:center;width:30px;height:30px;border-radius:50%;background:#fafbf5;display:grid;place-items:center;color:#4b7446}.story-video-card small{color:#7b8a6f;font-size:10px}
.story-room-buttons{display:flex;gap:5px}.story-room-buttons button{border:1px solid #d4dfcb;border-radius:15px;padding:7px 11px;color:#77866c;font-size:10px}.story-room-buttons button[aria-pressed=true]{background:#476a49;color:#fff;border-color:#476a49}.story-room-title{font-weight:500;font-size:17px;margin:20px 0 7px}.story-room-note{font-size:11px;color:#839075;line-height:1.7;margin:0 0 19px}.story-compose-tabs{display:flex;border-bottom:1px solid #d6e0cb;margin-bottom:15px;gap:20px}.story-compose-tabs button{padding:8px 0 10px;font-size:12px;color:#849176;position:relative}.story-compose-tabs button[aria-pressed=true]{color:#365c3a}.story-compose-tabs button[aria-pressed=true]:after{position:absolute;content:'';bottom:-1px;left:0;width:100%;height:2px;background:#70955a}.story-form label{display:block;font-size:11px;color:#6e7f62}.story-name{margin-bottom:15px}.story-name input{display:block;width:100%;border:1px solid #d4dfc9;background:#fcfdf7;border-radius:7px;padding:9px 10px;margin-top:7px;color:#3b5835;font-size:12px}.story-prompt{font-size:11px;color:#819174;line-height:1.7}.story-topic-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:15px}.story-topic{border:1px solid #d0dec4;border-radius:20px;padding:6px 9px;font-size:10px;color:#6c855c;background:#f9fbf2}.story-topic[aria-pressed=true]{border-color:#7c9c63;background:#e2ecd6}.story-text-label textarea{display:block;width:100%;resize:vertical;min-height:82px;max-height:210px;background:#fcfdf7;border:1px solid #d2dfc7;border-radius:8px;padding:11px;margin-top:8px;font-size:12px;line-height:1.8;color:#36533a}.story-form-status{font-size:11px;line-height:1.7;color:#677e52;min-height:0}.story-form-actions{display:flex;align-items:center;gap:12px}.story-step{font-size:10px;color:#819571;margin-right:auto}.story-form-actions button{font-size:11px;padding:10px 14px;border-radius:7px}.story-form-actions .primary{background:#496d43}.story-back{color:#7c8d6a}.story-sharing-note{display:block;font-size:9px;color:#8c9981;line-height:1.6;margin-top:12px}.story-progress{display:flex;gap:5px;margin-bottom:17px}.story-progress i{height:3px;flex:1;background:#dce5d1;border-radius:3px}.story-progress i.done{background:#91ab76}.story-question fieldset{border:0;padding:0;margin:0 0 15px}.story-question legend{font-size:14px;line-height:1.7;color:#4c6844;margin-bottom:13px}.story-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}.story-choices label{display:flex;gap:6px;align-items:center;border:1px solid #d4dfc8;border-radius:8px;padding:10px 8px;background:#fafcf4;font-size:11px;cursor:pointer}.story-choices label:has(input:checked){border-color:#8baa6d;background:#e5eedb;color:#345831}.story-choices input{accent-color:#688d50;flex-shrink:0}.story-replying{display:flex;justify-content:space-between;gap:10px;border-left:2px solid #9bb780;margin-top:10px;padding-left:10px;font-size:10px;color:#6a8457}.story-replying button{font-size:10px;text-decoration:underline}
.story-discussion-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d9e2cf;margin-top:25px;padding-top:18px;font-size:12px}.story-discussion-heading b{font-weight:500}.story-discussion-heading button,.story-more{color:#80936d;font-size:10px}.story-load-status{font-size:11px;color:#927453;line-height:1.7}.story-empty-chat{padding:22px 14px;border:1px dashed #cbd9bd;border-radius:10px;color:#89997b;margin-top:12px}.story-empty-chat b{font-weight:500;font-size:12px}.story-empty-chat p{font-size:11px;line-height:1.9;margin:10px 0 0}.story-post{border-bottom:1px solid #dbe4d0;padding:17px 0}.story-post-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px}.story-post-heading b{font-weight:500;color:#567546}.story-post-heading time{font-size:9px;color:#98a48c}.story-post-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;color:#5e7052;margin:11px 0}.story-answer-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.story-answer-badges span{font-size:10px;background:#e2ebd6;color:#71875f;border-radius:4px;padding:5px 7px}.story-post-topic{display:block;margin-top:11px;font-size:10px;color:#8a9c77}.story-post-actions{display:flex;gap:15px;margin-top:11px}.story-post-actions button{font-size:10px;color:#7c9369;padding:2px 0}.story-post-actions button[aria-pressed=true]{color:#618946}.story-post-reply{margin:13px 0 0 13px;padding:12px;border:0;border-radius:7px;background:#e9f0e1}.story-post-reply .story-post-text{font-size:11px}.story-more{margin-top:15px;padding:8px 0}.story-error{color:#a57150!important}
@media(max-width:760px){.story-dialog{width:calc(100vw - 16px);height:calc(100vh - 24px)}.story-header{height:auto;min-height:96px;padding:16px;gap:10px;flex-wrap:wrap}.story-header h2{font-size:19px}.story-route-label{order:3;width:100%;margin:0}.story-route{flex:1;max-width:none;padding:7px}.story-close{margin-left:auto}.story-layout{height:calc(100% - 130px);display:block;overflow:auto}.story-gallery,.story-conversation{overflow:visible;padding:18px}.story-conversation{border-left:0;border-top:1px solid #dce5d0}.story-stage{min-height:170px}.story-thumbs{grid-template-columns:repeat(3,1fr)}.story-stage>img,.story-stage>video{max-height:330px}.story-stage>p{padding:0 18px}.story-empty-title{font-size:16px}}
/* Match Napahai's quiet, gold-rimmed invitation in the header. */
.header-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}.header-actions .source-button{margin-left:0}
.feeling-invite{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #f5e4ba99;border-radius:24px;padding:10px 17px;background:#25453cdb;color:#fff2d5;font:12px var(--font-ui);white-space:nowrap;box-shadow:inset 0 0 12px #ffe5a715;animation:feeling-breathe 4.8s ease-in-out 3}
.feeling-invite:before{content:'';position:absolute;inset:-5px;border:1px solid #ffe2a82b;border-radius:inherit;pointer-events:none}.feeling-spark{width:5px;height:5px;border-radius:50%;background:#f9e4b4;box-shadow:0 0 9px #ffe7ac}.feeling-invite:hover{background:#3c5c4e;filter:none}.immersive .header-actions{margin-left:auto}
@keyframes feeling-breathe{0%,100%{box-shadow:0 0 8px #f8df9f20,inset 0 0 10px #ffe5a710}50%{box-shadow:0 0 20px #f8df9f55,0 0 0 3px #ffe7b00c,inset 0 0 14px #ffe5a721}}
@media(max-width:950px){.topbar{gap:18px}.topbar nav{gap:18px}.header-actions{gap:12px}.header-actions .source-button{font-size:11px;padding-inline:10px}}
@media(max-width:760px){.feeling-invite{font-size:11px;padding:9px 13px;gap:6px}.header-actions{margin-left:auto}.topbar{column-gap:12px}}
@media(max-width:600px){.topbar{height:94px;row-gap:6px}.topbar nav{order:3;width:100%;height:23px;justify-content:flex-end;margin:0;gap:19px}.topbar .nav{height:23px}.topbar .nav.active:after{bottom:0}}
@media(prefers-reduced-motion:reduce){.feeling-invite{animation:none}}
