/* Social photo feed. Existing dialog and form styles remain shared. */
:root{--paper:#fafbf8;--green:#204b3d;--muted:#82897f;--line:#e5e9e1}
body{font-family:system-ui,-apple-system,'Segoe UI',sans-serif}button{transition:background .15s,color .15s}button svg,span[data-icon] svg{width:23px;height:23px;display:block;flex-shrink:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:20;padding:12px;background:var(--green);color:white}.skip-link:focus{top:10px}header.sidebar{position:fixed;inset:0 auto 0 0;width:236px;max-width:none;padding:36px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;background:#fff;z-index:3}.brand{font-size:31px;letter-spacing:-1.5px;white-space:nowrap}.brand small{font-size:7px;letter-spacing:2px;margin:7px 0 0 33px}.sidebar-label{font-size:8px;letter-spacing:1.8px;color:#92998d;margin:58px 12px 15px}.sidebar nav{display:flex;flex-direction:column;gap:10px}.sidebar nav button{border:0;border-radius:9px;display:flex;align-items:center;gap:16px;text-align:left;padding:15px 14px;font-size:14px;font-weight:500;color:#69736a;background:transparent;min-height:52px}.sidebar nav button:hover{background:#f4f6ee}.sidebar nav button.active{background:#edf2e5;color:var(--green);font-weight:700}.sidebar nav #create{margin-top:10px;background:var(--green);color:white}.sidebar nav #create:hover{background:#31644f}.sidebar-bottom{margin-top:auto;padding:35px 12px 0}.sidebar-bottom .compass svg{width:35px;height:35px;color:#9aab7b}.sidebar-bottom p{font-size:19px;font-weight:600;line-height:1.5;letter-spacing:-.5px}.sidebar-bottom small{font-size:9px;color:#92998d}.mobile-brand{display:none}.workspace{max-width:1440px;margin-left:236px;padding:44px 44px 30px;display:grid;grid-template-columns:minmax(0,650px) 280px;gap:48px;justify-content:center}main{max-width:none;min-width:0;margin:0;padding:0}.feed-heading{margin-bottom:28px}.feed-heading>.eyebrow{font-size:9px;letter-spacing:2px;color:#8b9484;margin:0 0 17px}.feed-heading>div{display:flex;justify-content:space-between;align-items:center;gap:14px}.feed-heading h1{font-size:34px;letter-spacing:-1.2px;line-height:1.2;margin:0}.feed-heading>p:last-child{font-size:13px;color:#848d80;margin:12px 0 0}.live-tag{display:flex;align-items:center;gap:7px;font-size:10px;color:#6f8061;white-space:nowrap}.live-tag i{height:6px;width:6px;border-radius:50%;background:#8dab67}.composer{padding:17px 18px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:12px;background:white;margin-bottom:28px}.avatar{width:38px;height:38px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eaf0de;color:#527044;font-size:14px;font-weight:700;border:3px solid #f4f6ee}.composer>button:first-of-type{flex:1;text-align:left;border:0;background:none;font-size:12px;color:#939a8e;padding:10px 0}.icon-button{background:#f0f4e7;border:0;color:#60774b;padding:9px}.feed-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 0 16px;margin-bottom:24px;font-size:12px;font-weight:600}.feed-note{font-size:10px;color:#8b9484;font-weight:400}.grid{display:flex;flex-direction:column;gap:28px}.post{border:1px solid var(--line);border-radius:13px;background:white;overflow:hidden}.post-header{display:flex;align-items:center;gap:10px;padding:15px 18px}.post-header>div{min-width:0}.post-header strong{font-size:12px;display:block;overflow-wrap:anywhere}.post-header>div>span{display:block;color:#9ba292;font-size:10px;margin-top:4px}.post-reward{font-size:10px;font-weight:600;background:#f0f5e5;color:#728149;border-radius:5px;padding:6px 9px;margin-left:auto;white-space:nowrap}.post-photo{display:block;width:100%;padding:0;border:0;border-radius:0;background:#f1f3eb;cursor:zoom-in}.post-photo img{display:block;width:100%;height:auto;max-height:800px;object-fit:contain}.post-body{padding:18px 20px 16px}.post-actions{display:flex;align-items:center;gap:16px;margin-bottom:18px}.post-actions button{display:flex;align-items:center;gap:7px;padding:0;border:0;background:none;font-size:12px;font-weight:600;color:var(--green);min-height:34px}.post-actions svg{width:21px;height:21px}.discussion-button{color:#818b7a!important}.post-actions .solved-count{margin-left:auto;color:#939b8c;font-size:10px;text-align:right}.post-body h2{font-size:17px;letter-spacing:-.3px;margin:0 0 8px;line-height:1.5;overflow-wrap:anywhere}.post-description{font-size:13px;line-height:1.8;color:#77816e;white-space:pre-line;margin:0;overflow-wrap:anywhere}.private-note{display:flex;gap:6px;align-items:center;font-size:10px;color:#9da494;border-top:1px solid #f0f2eb;padding-top:13px;margin:16px 0 0}.private-note svg{width:13px;height:13px;flex-shrink:0}.right-rail{padding-top:5px;align-self:start;position:sticky;top:35px;min-width:0}.journey{padding-bottom:26px;border-bottom:1px solid var(--line)}.journey>.eyebrow{font-size:9px;letter-spacing:1.8px;color:#8b9484;margin:0 0 22px}.journey-user{display:flex;gap:11px;align-items:center}.journey-user .avatar{width:45px;height:45px;background:#e4edcf;font-size:18px}.journey-user strong{font-size:13px;overflow-wrap:anywhere}.journey-user p{font-size:10px;color:#9ba292;margin:5px 0}#profile{font-size:10px;line-height:1.8;margin-top:20px;display:block}.xp-track{height:5px;border-radius:20px;background:#e8ecdf;overflow:hidden;margin:12px 0 0}.xp-track span{display:block;height:100%;background:#95b763;border-radius:20px;transition:width .3s}.journey .text-button{font-size:11px;padding-top:15px}.community{margin-top:28px}.rail-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.rail-heading h2{font-size:12px;margin:0;letter-spacing:0}.rail-heading button{border:0;background:none;color:#8b957f;font-size:18px;padding:4px}.hunter{display:flex;align-items:center;gap:10px;margin:18px 0}.hunter-rank{font-size:10px;color:#a0a893;min-width:8px}.hunter .avatar{height:32px;width:32px;font-size:11px}.hunter>div{min-width:0}.hunter strong{display:block;font-size:11px;overflow-wrap:anywhere}.hunter>div>span{display:block;margin-top:4px;font-size:10px;color:#9ca48f}.how-to{background:#edf1e3;border:1px solid #e2e8d6;border-radius:12px;margin-top:30px;padding:22px;position:relative;overflow:hidden}.how-to>span svg{width:33px;height:33px;color:#829967;margin-bottom:23px}.how-to .eyebrow{font-size:7px;letter-spacing:1px;color:#82916f;line-height:1.7}.how-to h2{font-size:26px;letter-spacing:-1px;margin:15px 0;line-height:1.25}.how-to>p:last-of-type{font-size:11px;line-height:1.9;color:#8b967a}.how-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:18px}.how-tags span{font-size:8px;border:1px solid #d8e1c7;border-radius:5px;padding:5px;color:#7c8e63}footer{margin:23px 0 0;padding:0;border:0;display:flex;flex-direction:column;gap:11px;font-size:9px;color:#a0a790}footer a{font-size:10px}.empty{padding:45px 20px;background:white;border:1px dashed #d7dfcb}.empty-icon{font-size:48px;color:#a4b282;display:block;margin-bottom:15px}.empty h3{font-size:22px;letter-spacing:-.5px}.empty p:not(.eyebrow){font-size:12px}.empty .primary{margin-top:14px;font-size:12px}.footnote{font-size:10px;line-height:1.9;margin:25px auto;max-width:350px;color:#a0a790}#load-more{display:block;margin:24px auto}#load-more[hidden],.composer[hidden]{display:none}.leader{margin:0;border:1px solid var(--line);min-width:0}.leader strong{overflow-wrap:anywhere}.leader .score{font-size:12px;white-space:nowrap}dialog{z-index:5}#toast{bottom:24px}dialog .detail-image{max-height:60dvh}#account-label{overflow:hidden;text-overflow:ellipsis}body:has(dialog[open]){overflow:hidden}
@media(min-width:1600px){.workspace{margin-right:auto}}
@media(max-width:1230px){header.sidebar{width:205px;padding:32px 15px}.workspace{margin-left:205px;padding:36px 30px;gap:30px;grid-template-columns:minmax(0,620px) 240px}.sidebar nav button{font-size:12px;gap:12px}.brand{font-size:28px}.right-rail .how-to{padding:18px}}
@media(max-width:1040px){.workspace{grid-template-columns:minmax(0,650px);padding:32px 36px}.right-rail{display:none}header.sidebar{width:195px}.workspace{margin-left:195px}.feed-heading h1{font-size:32px}}
@media(max-width:700px){header.sidebar{width:76px;padding:30px 12px}.sidebar .brand{font-size:0;text-align:center}.sidebar .brand::before{content:'◈';font-size:33px}.sidebar .brand small,.sidebar-label,.sidebar nav button>span:last-child,.sidebar-bottom{display:none}.sidebar nav{margin-top:40px;gap:20px;align-items:center}.sidebar nav button{padding:13px;min-height:48px}.sidebar nav #create{margin-top:0}.workspace{margin-left:76px;padding:30px 22px}.feed-heading h1{font-size:29px}.live-tag{display:none}.post-body{padding:15px}.post-actions{gap:12px}.solved-count{font-size:9px!important}}
@media(max-width:520px){header.sidebar{inset:auto 0 0;width:auto;height:66px;padding:0 12px;border-right:0;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);height:calc(66px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(12px)}.sidebar>.brand{display:none}.sidebar nav{flex-direction:row;justify-content:space-around;margin:0;width:100%;height:65px;gap:0}.sidebar nav button{width:70px;padding:8px 2px;min-height:54px;border-radius:8px;display:flex;flex-direction:column;gap:5px}.sidebar nav button>span:last-child{display:block;font-size:8px}.sidebar nav #create{background:none;color:var(--green)}.sidebar nav button svg{width:22px;height:22px}.mobile-brand{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid var(--line);background:#fff}.mobile-brand .brand{font-size:25px}.mobile-brand>span{font-size:7px;letter-spacing:1px;color:#9ba48d}.workspace{margin:0;padding:24px 0 90px;display:block}.feed-heading{padding:0 20px;margin-bottom:22px}.feed-heading>.eyebrow{font-size:8px;margin-bottom:12px}.feed-heading h1{font-size:30px}.feed-heading>p:last-child{font-size:11px}.composer{margin:0 14px 22px;padding:12px;gap:8px}.composer>button:first-of-type{font-size:11px}.composer .avatar{height:32px;width:32px}.feed-toolbar{margin:0 20px 16px;font-size:10px;padding-bottom:12px}.feed-note{font-size:9px}.grid{gap:20px}.post{border-radius:0;border-left:0;border-right:0}.post-header{padding:13px 16px}.post-photo img{max-height:75dvh}.post-body{padding:14px 17px}.post-actions button{font-size:11px;min-height:40px}.post-actions{gap:14px;margin-bottom:12px}.post-actions .solved-count{max-width:65px;line-height:1.5}.post-body h2{font-size:16px}.post-description{font-size:12px}.private-note{font-size:9px}.empty{margin:0 14px}.footnote{padding:0 25px}.leader{border-radius:0;padding:18px 16px;gap:12px}.leader strong{font-size:12px}.leader .score{font-size:10px}#toast{bottom:calc(83px + env(safe-area-inset-bottom))}dialog{max-height:85dvh}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
