/* Local UI/UX refinement, 19/10/2026. Product identity and behavior preserved. */
:root{--muted:#526760;--ui-radius:20px}
small,.hint,.muted{font-size:13px}
.panel{border-radius:var(--ui-radius)}
.page-title h1,.community-narrow .page-title h1,.personal-week .week-title h1{color:var(--ink);font-size:32px;line-height:1.18}
.page-title p,.community-narrow .page-title p{font-size:15px}
.button,.small-button{min-height:48px}
.icon-button,.header-actions>a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.post-actions .text-button,.post-actions>a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.post-header small,.post-body .tag{font-size:13px}
.post-actions{gap:12px}
.post-actions .tag{margin-left:auto}
.stack label:not(.check){font-size:14px}
.skip-link{position:fixed;top:8px;left:16px;transform:translateY(-160%);z-index:100;background:white;color:var(--ink);padding:12px 18px;border:2px solid var(--green);border-radius:12px}
.skip-link:focus{transform:none}
.bottom-nav a[aria-current=page]{font-weight:750}
.bottom-nav{padding-bottom:env(safe-area-inset-bottom)}
.bottom-nav span{font-size:12px}
.feed-hero{padding:20px 24px;max-width:760px;margin:0 auto 16px;text-align:left}
.feed-hero h1{font-size:28px;max-width:calc(100% - 64px);margin:6px 0;line-height:1.2}
.feed-hero .greeting{font-size:14px;margin:0}
.feed-hero p{font-size:14px;margin:0;max-width:calc(100% - 64px)}
.hero-leaves{height:100px;width:65px;right:12px;top:12px;opacity:.65}
.personal-week-entry,.quick-compose,.week-card,.shell:has(#infinite-feed) .official-notice{max-width:760px;margin-left:auto;margin-right:auto}
.quick-compose{padding:12px;margin-bottom:20px}
.compose-prompt{margin:0;background:transparent;min-height:48px;font-size:15px;color:var(--green);font-weight:600;padding:0 4px}
.shell:has(#infinite-feed)>.feed{max-width:760px;margin:auto;display:block}
.shell:has(#infinite-feed) .post{margin-bottom:20px}
.publish-layout .page-title{margin-bottom:16px}
.publish-layout .page-title h1{font-size:30px}
.photo-form .upload-placeholder{padding:14px 12px}
.upload-placeholder>svg{height:28px;width:28px;margin:0 0 6px}
.upload-placeholder h2{font-size:18px;margin-bottom:4px}
.upload-placeholder p{font-size:14px;margin:0}
.photo-form{gap:14px}
.photo-form .hint,.photo-form legend,.photo-settings,.photo-settings .check{font-size:13px}
.photo-form .photo-settings summary{min-height:44px;display:list-item;list-style-position:inside;padding:10px 0}
.photo-form .phrase-suggestions{display:flex;gap:8px;flex-wrap:wrap}
.photo-form .phrase-suggestions legend{margin-bottom:6px}
.photo-form .phrase-suggestions .button{font-size:13px;padding:8px 12px;min-height:44px;white-space:normal}
.photo-form .privacy-note{font-size:13px}
.photo-form .photo-choices>*{font-size:14px}
.photo-form .last-activity{margin:0}
.auth{padding-top:24px}
.auth>.brand{margin-bottom:18px}
.auth-hero{padding:18px 14px 12px}
.auth-hero h1{font-size:28px}
.auth-hero p{margin-bottom:0}
.auth-card{margin-top:14px}
.auth .quiet-link{min-height:44px;display:flex;align-items:center;justify-content:center;margin-top:12px;font-size:14px}
.auth-footer{font-size:13px}
.auth-footer a{min-height:44px;display:flex;align-items:center}
.profile-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.profile-quick-links a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:14px 8px;min-height:76px;background:white;border:1px solid var(--line);border-radius:16px;font-size:14px;font-weight:600}
.profile-settings{margin-bottom:16px}
.profile-settings>summary,.profile-conquests>summary{min-height:44px;line-height:1.5}
.profile-settings .profile-links{padding:16px 0 0;gap:8px}
.profile-settings .profile-links a{min-height:44px;font-size:15px}
.profile-settings .panel{box-shadow:none;padding:16px;margin:12px 0}
.profile-conquests>summary{font-size:19px}
.badge-tile strong{font-size:14px}
.badge-tile small{font-size:13px;color:var(--muted)}
.profile-card .stat span{font-size:13px}
.profile-card .stats{margin:16px auto}
.campaign-section-title{font-size:22px;margin:24px 0 16px}
.campaign-card .tag.closed{background:#edf0ee;color:#526760}
.challenge-no-active{padding:18px 22px;background:#e9f5ee;border:1px solid var(--line);border-radius:16px;margin:18px 0}
.challenge-no-active p{margin:0;color:var(--muted)}
.week-day{font-size:12px;min-height:100px;gap:5px}
.week-day strong{font-size:16px}
.week-day small{font-size:11px;padding:2px 4px}
.week-day.is-future .day-mark{border:1px dashed #a7b5ae;background:#f3f6f3}
.week-private,.week-summary .week-legend,.week-calendar-note,.week-movement small{font-size:13px;color:var(--muted)}
.week-calendar-note{margin:8px 0 0}
.week-private{flex-wrap:wrap;text-align:center}
.week-challenge p,.week-summary>p{font-size:14px;color:var(--muted)}
.week-title>p{color:var(--muted)}
@media(max-width:699px){
 .page-title h1,.community-narrow .page-title h1,.personal-week .week-title h1{font-size:28px}
 .feed-hero{padding:14px 16px}
 .feed-hero h1{font-size:24px;max-width:calc(100% - 42px)}
 .feed-hero p{font-size:13px;max-width:calc(100% - 42px)}
 .hero-leaves{height:90px;width:45px;top:12px;right:6px}
 .personal-week-entry{font-size:14px;padding:12px 16px;min-height:48px}
 .publish-layout .page-title h1{font-size:26px}
 .publish-layout .page-title p{font-size:14px}
 .photo-form .upload-placeholder{padding:12px}
 .photo-form .upload-placeholder p{font-size:13px}
 .photo-form .phrase-suggestions .button{font-size:13px;flex:1 1 120px}
 .photo-form .photo-choices>*{font-size:13px;min-height:48px}
 .auth{padding-top:18px}
 .auth-hero{padding:12px 14px}
 .auth-hero .eyebrow{font-size:10px}
 .auth-hero h1{font-size:25px;margin-bottom:6px}
 .auth-hero p{font-size:13px}
 .auth-card{padding:22px}
 .profile-quick-links a{font-size:13px;padding:12px 6px}
 .week-day{min-height:98px;gap:5px;font-size:11px}
 .week-day small{font-size:10px;padding:2px 3px}
 .week-day strong{font-size:15px}
 .week-summary h2{font-size:20px}
 .week-summary .week-legend{font-size:13px}
}
@media(min-width:1100px){
 .feed-hero{text-align:center}
 .feed-hero h1,.feed-hero p,.feed-hero .greeting{margin-left:auto;margin-right:auto}
 .bottom-nav{top:82px;bottom:auto;left:50%;transform:translateX(-50%);width:min(1060px,calc(100% - 48px));max-width:none;height:66px;padding:8px;gap:8px;border:1px solid var(--line);border-top:0;border-radius:0 0 18px 18px;box-shadow:0 5px 14px #142d3807;z-index:7}
 .bottom-nav a{flex:1;flex-direction:row;gap:10px;font-size:15px;min-height:48px;border-radius:12px}
 .bottom-nav a span{font-size:14px}
 .bottom-nav a.active{background:var(--mint)}
 .bottom-nav .publish-nav svg{margin:0;background:transparent;color:inherit;box-shadow:none;padding:0;width:22px;height:22px;border-radius:0}
 .bottom-nav .publish-nav{background:var(--green);color:white}
 .bottom-nav .publish-nav.active{background:var(--deep)}
 .shell{padding-top:94px;padding-bottom:40px}
 .community-admin .shell,.shell:has(.community-overview){padding-top:32px}
 .profile-card .profile-cover{height:180px}
 .profile-content{padding-bottom:22px}
}
