:root{--ink:#46382f;--paper:#fffaf1;--soft:#f7eadb;--accent:#8fb99a}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top left,#fff6de,var(--paper) 45%,#f7efe7);color:var(--ink);font-family:ui-sans-serif,system-ui,"Hiragino Sans","Noto Sans JP",sans-serif}.nav{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:14px 5vw;background:rgba(255,250,241,.86);backdrop-filter:blur(14px);border-bottom:1px solid #eadfce}.logo{font-weight:900;font-size:1.5rem;color:#6f9f7b;text-decoration:none}.nav nav{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.nav a,.link-button{color:var(--ink);text-decoration:none;background:transparent;border:0;font:inherit}.container{width:min(1040px,92vw);margin:0 auto;padding:28px 0 80px}.hero{padding:72px 6vw;margin:22px 0;border-radius:36px;background:linear-gradient(135deg,#fff,#fff1d7);box-shadow:0 24px 80px #d7b98b33}.hero h1{font-size:clamp(2rem,6vw,4.8rem);line-height:1.15;margin:.2em 0}.eyebrow{color:#7ca884;font-weight:700}.button,.pill{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:12px 20px;background:#7ca884;color:white!important;text-decoration:none;font-weight:700;box-shadow:0 10px 30px #7ca88444}.button.ghost,.ghost{background:#fff;color:var(--ink)!important;border:1px solid #eadfce;box-shadow:none}.actions,.filters{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.filters a{border:1px solid #eadfce;border-radius:999px;padding:8px 14px;background:#fff;text-decoration:none;color:var(--ink)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}.color-card{display:block;padding:18px;border-radius:24px;background:linear-gradient(135deg,var(--c,#fff),#ffffffcc);border:1px solid #ffffffaa;text-decoration:none;color:var(--ink);box-shadow:0 14px 36px #997b5a18}.color-card span{display:block;font-size:.9rem;opacity:.75}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.posts{display:grid;gap:18px}.post-card{background:linear-gradient(135deg,color-mix(in srgb,var(--c) 28%,white),#fff 60%);border:1px solid color-mix(in srgb,var(--c) 45%,white);border-radius:30px;padding:20px;box-shadow:0 20px 60px #8f735622}.post-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:.9rem;color:#7b6c61}.post-meta a{font-weight:800;color:var(--ink);text-decoration:none}.post-body{display:block;color:var(--ink);text-decoration:none;font-size:1.08rem;line-height:1.8}.images{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.images img,.profile img{width:100%;border-radius:20px;object-fit:cover;max-height:360px}.tags,.reactions,.stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.tags a,.color-chip,.reactions form button,.stats a,.stats span{border:0;border-radius:999px;background:#ffffffb8;padding:8px 12px;text-decoration:none;color:var(--ink)}.reactions form button{cursor:pointer;border:1px solid #eadfce}.form{display:grid;gap:14px;max-width:680px}.form input,.form textarea,.form select{width:100%;border:1px solid #e5d7c3;border-radius:18px;padding:14px;background:white;font:inherit}.form input.button{width:auto;justify-self:start;background:#7ca884;border:0;cursor:pointer}.form-help{margin:-6px 0 0;color:#7b6c61;font-size:.92rem;line-height:1.6}.flash{padding:12px 16px;border-radius:18px;background:#fff;border:1px solid #eadfce;margin-bottom:14px}.profile{border-radius:34px;background:#fff;padding:24px;box-shadow:0 20px 60px #8f735622}.profile .header{height:180px;background:#f4eadb;border-radius:26px;overflow:hidden}.profile .avatar{width:110px;height:110px;border-radius:50%;overflow:hidden;margin-top:-55px;border:6px solid white;background:#fff}table{width:100%;border-collapse:separate;border-spacing:0 8px}td{background:#fff;padding:12px} @media(max-width:640px){.nav{align-items:flex-start;gap:8px;flex-direction:column}.container{width:94vw}.post-card{padding:16px;border-radius:24px}.hero{padding:42px 24px}.page-head{align-items:flex-start;flex-direction:column}}

/* Instagram-like app shell */
body{padding-bottom:86px}.app-topbar{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:auto minmax(120px,520px) auto;gap:14px;align-items:center;padding:10px max(14px,5vw);background:rgba(255,255,255,.9);backdrop-filter:blur(18px);border-bottom:1px solid #ece6dc}.brand-icon{display:flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none;font-weight:900}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:conic-gradient(#ff7a90,#ffd166,#7bd88f,#7aa7ff,#bd7bff,#ff7a90);color:#fff;box-shadow:0 8px 20px #8f735630}.brand-text{letter-spacing:.02em}.top-search{display:flex;align-items:center;gap:6px;background:#f1f2f4;border-radius:999px;padding:0 14px;min-height:42px}.top-search input{width:100%;border:0;outline:0;background:transparent;font:inherit}.top-actions{display:flex;align-items:center;gap:10px;justify-content:end}.saved-link{color:var(--ink);text-decoration:none;font-weight:800;white-space:nowrap}.mini-avatar,.floating-me{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#fff,#f4eadb);border:2px solid #fff;box-shadow:0 0 0 2px #eadfce;color:var(--ink);font-weight:900;text-decoration:none}.mini-avatar{width:38px;height:38px}.mini-avatar img,.floating-me img{width:100%;height:100%;object-fit:cover}.floating-me{position:fixed;right:18px;bottom:96px;z-index:25;width:52px;height:52px}.palette-strip{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 2px 18px;margin:-8px 0 8px}.palette-dot{scroll-snap-align:start;display:grid;justify-items:center;gap:7px;min-width:76px;color:var(--ink);text-decoration:none;font-size:.82rem}.palette-dot span{width:64px;height:64px;border-radius:50%;background:var(--c,#ddd);border:4px solid #fff;box-shadow:0 0 0 2px var(--c,#ddd),0 12px 26px #8f735626}.palette-dot.active span{box-shadow:0 0 0 4px var(--ink),0 12px 26px #8f735626}.palette-dot.all-colors span{background:conic-gradient(#ff7a90,#ffd166,#7bd88f,#7aa7ff,#bd7bff,#ff7a90)}.palette-dot b{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-tabs{display:flex;gap:8px;margin:0 0 16px}.timeline-tabs a{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #eadfce;color:var(--ink);text-decoration:none;font-weight:800}.timeline-tabs a.active{background:var(--ink);color:#fff}.timeline-feed{max-width:680px;margin:0 auto}.timeline-feed .post-card{border-radius:22px;padding:0;overflow:hidden;background:#fff}.timeline-feed .post-meta{padding:14px 16px;border-bottom:1px solid #f0e7dc}.timeline-feed .post-body{padding:0 16px;font-size:1rem}.timeline-feed .images{display:block}.timeline-feed .images img{width:100%;max-height:620px;border-radius:0}.timeline-feed .tags,.timeline-feed .reactions{padding:0 16px 14px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px max(10px,calc((100vw - 680px)/2)) calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-top:1px solid #ece6dc}.bottom-nav a{display:grid;place-items:center;gap:2px;color:var(--ink);text-decoration:none;font-weight:800}.bottom-nav span{font-size:1.6rem;line-height:1}.bottom-nav small{font-size:.72rem}.post-palette span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:conic-gradient(#ff7a90,#ffd166,#7bd88f,#7aa7ff,#bd7bff,#ff7a90);box-shadow:0 10px 28px #8f735644}.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.profile-actions form{display:inline-flex}@media(max-width:640px){.app-topbar{grid-template-columns:auto 1fr auto;padding:8px 12px}.brand-text,.saved-link{display:none}.top-search{min-height:38px}.container{padding-top:18px}.floating-me{right:14px;bottom:88px}}

/* Continuous, coordinate-adjustable palette */
.palette-rainbow{position:relative;min-height:116px;margin:-8px 0 18px;padding:20px 18px;border-radius:32px;background:linear-gradient(90deg,#ff7a90 0%,#ffb86c 16%,#ffd166 32%,#7bd88f 50%,#65d6d1 66%,#7aa7ff 82%,#bd7bff 100%);box-shadow:inset 0 0 0 1px #ffffff88,0 18px 50px #8f735622;overflow:hidden}.palette-rainbow::before{content:"";position:absolute;inset:14px;border-radius:26px;background:linear-gradient(180deg,#ffffff8c,#ffffff00 42%,#00000010);pointer-events:none}.palette-rainbow::after{content:"";position:absolute;left:18px;right:18px;top:50%;height:18px;border-radius:999px;background:#ffffff66;filter:blur(.2px);transform:translateY(-50%);pointer-events:none}.rainbow-point{position:absolute;left:var(--x);top:var(--y);z-index:1;transform:translate(-50%,-50%);display:grid;place-items:center;min-width:54px;min-height:34px;padding:6px 10px;border-radius:999px;color:var(--ink);text-decoration:none;font-size:.78rem;font-weight:900;text-shadow:0 1px 10px #fff;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.rainbow-point::before{content:"";position:absolute;inset:8px 14px;border-radius:999px;background:color-mix(in srgb,var(--c,#fff) 70%,white);box-shadow:0 0 0 2px #ffffffcc,0 8px 18px #46382f26;opacity:.72;z-index:-1}.rainbow-point.all-colors::before{background:#ffffffd9}.rainbow-point:hover,.rainbow-point.active{transform:translate(-50%,-50%) scale(1.08)}.rainbow-point.active{background:#ffffffd9;box-shadow:0 0 0 3px var(--ink),0 12px 26px #46382f33}.rainbow-label{max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.palette-strip{display:none}

/* Header/footer simplification */
.top-actions{min-width:72px}.bottom-nav a{min-height:52px}.bottom-nav small{display:none}.floating-me,.mini-avatar{display:none!important}

/* Paint-like color tag on timeline posts */
.post-card{position:relative}.paint-tag{position:absolute;top:12px;right:12px;z-index:2;min-width:88px;padding:11px 16px 13px;text-align:center;color:#fff;font-weight:900;font-size:.78rem;letter-spacing:.03em;text-shadow:0 1px 7px #46382f88;background:var(--c);clip-path:polygon(7% 26%,20% 10%,38% 17%,54% 5%,72% 14%,93% 9%,87% 35%,96% 52%,84% 74%,90% 94%,63% 86%,45% 96%,27% 84%,7% 90%,14% 63%,3% 45%);box-shadow:0 12px 24px color-mix(in srgb,var(--c) 42%,transparent);transform:rotate(3deg)}.paint-tag::before,.paint-tag::after{content:"";position:absolute;border-radius:50%;background:color-mix(in srgb,var(--c) 88%,white);opacity:.9}.paint-tag::before{width:18px;height:18px;left:10px;bottom:-5px}.paint-tag::after{width:10px;height:10px;right:16px;top:-3px}.paint-tag span{position:relative;z-index:1}.timeline-feed .post-meta{padding-right:116px}.timeline-feed .tags .color-chip{display:none}

/* Color controls without visible color-name text */
.palette-rainbow{touch-action:pan-y}.rainbow-point{width:54px;height:54px;min-width:54px;min-height:54px;padding:0;border-radius:50%;cursor:grab}.rainbow-point:active,.palette-rainbow.is-dragging-color .rainbow-point{cursor:grabbing}.rainbow-point::before{inset:5px;border-radius:50%;background:var(--c,#ffffffd9)}.rainbow-point.all-colors::before{background:conic-gradient(#ff7a90,#ffd166,#7bd88f,#7aa7ff,#bd7bff,#ff7a90)}.rainbow-label{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);position:absolute;white-space:nowrap}.rainbow-point.drag-active{transform:translate(-50%,-50%) scale(1.16);box-shadow:0 0 0 4px #fff,0 0 0 7px var(--ink),0 12px 26px #46382f33}.palette-rainbow.is-dragging-color::after{background:color-mix(in srgb,var(--c,#fff) 42%,white)}

/* Timeline card layout */
.paint-tag{min-width:48px;width:52px;height:52px;padding:0;cursor:grab;touch-action:none}.paint-tag span{display:block;width:100%;height:100%;border-radius:inherit}.paint-tag:hover,.paint-tag.drag-active{transform:rotate(3deg) scale(1.08);box-shadow:0 0 0 4px #fff,0 0 0 7px var(--c),0 12px 24px color-mix(in srgb,var(--c) 42%,transparent)}.timeline-feed .post-meta{display:grid;grid-template-columns:44px 1fr;gap:10px;padding:12px 84px 12px 14px}.post-author-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,color-mix(in srgb,var(--c) 42%,white),#fff);box-shadow:0 0 0 2px #fff,0 0 0 4px color-mix(in srgb,var(--c) 42%,white);color:var(--ink);text-decoration:none;font-weight:900}.post-author-avatar img{width:100%;height:100%;object-fit:cover}.post-author-lines{display:grid;gap:2px;min-width:0}.post-author-name{font-weight:900;color:var(--ink);text-decoration:none}.post-author-lines span{font-size:.84rem;color:#7b6c61;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-main-image{display:block}.post-main-image img,.image-placeholder{display:block;width:100%;aspect-ratio:4/3;max-height:620px;object-fit:cover;border-radius:0}.image-placeholder{background:radial-gradient(circle at 28% 24%,#ffffffaa 0 10%,transparent 11%),linear-gradient(135deg,color-mix(in srgb,var(--c) 62%,white),#fff 54%,color-mix(in srgb,var(--c) 35%,#46382f));position:relative}.image-placeholder::after{content:"";position:absolute;inset:18%;border-radius:32px;background:linear-gradient(135deg,#ffffff8c,#ffffff22);box-shadow:inset 0 0 0 2px #ffffffaa}.timeline-feed .post-body{padding:10px 16px 0;font-size:1rem}.timeline-feed .post-body p{margin:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.timeline-feed .post-body br{display:none}.timeline-feed .tags{margin-top:8px;padding:0 16px}.timeline-feed .reactions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 16px 16px}.reactions .reaction-form{display:block}.reactions form button,.reactions .reaction-form button{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 8px;border-radius:18px;background:#ffffffd9;border:1px solid #eadfce;font-size:1.25rem}.reactions form button b{font-size:.82rem;color:#7b6c61}.timeline-feed .images:not(.post-main-image){display:none}
.post-color-drag-targets{position:absolute;left:0;right:0;top:0;height:1px;pointer-events:none;opacity:0}.post-color-drag-targets a{position:absolute;top:0;width:1px;height:1px}.post-color-drag-targets a:nth-child(1){left:0}.post-color-drag-targets a:nth-child(2){left:12.5%}.post-color-drag-targets a:nth-child(3){left:25%}.post-color-drag-targets a:nth-child(4){left:37.5%}.post-color-drag-targets a:nth-child(5){left:50%}.post-color-drag-targets a:nth-child(6){left:62.5%}.post-color-drag-targets a:nth-child(7){left:75%}.post-color-drag-targets a:nth-child(8){left:87.5%}.post-color-drag-targets a:nth-child(9){left:100%}

/* Brand logo placeholder */
.brand-logo-slot{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff;border:1px dashed #cfc3b4;box-shadow:0 8px 20px #8f73561f;position:relative;overflow:hidden}.brand-logo-slot::before{content:"logo";font-size:.62rem;font-weight:900;letter-spacing:.08em;color:#9a8d81;text-transform:uppercase}.brand-logo-slot::after{content:attr(data-logo-path);position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Post color palette */
.color-palette-field{display:grid;gap:10px;border:0;padding:0;margin:0}.color-palette-field legend{font-weight:900;color:var(--ink);padding:0}.linear-color-palette{display:grid;grid-template-columns:repeat(10,minmax(28px,1fr));gap:0;width:100%;min-height:54px;border:1px solid #d8cbbd;border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 12px 30px #8f735614}.linear-color-option{display:block;min-width:0;cursor:pointer;position:relative}.linear-color-option input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}.linear-color-swatch{display:grid;place-items:center;height:54px;position:relative;background:var(--c);color:var(--text,var(--ink));border-right:1px solid #46382f33;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.linear-color-option:last-child .linear-color-swatch{border-right:0}.linear-color-swatch span{opacity:0;transform:translateY(4px);font-size:.74rem;font-weight:900;text-shadow:0 1px 8px #ffffff99;transition:opacity .16s ease,transform .16s ease}.linear-color-option:hover .linear-color-swatch,.linear-color-option input:focus-visible + .linear-color-swatch{filter:saturate(1.12);box-shadow:inset 0 0 0 3px #ffffffcc}.linear-color-option input:checked + .linear-color-swatch{position:relative;z-index:1;transform:scaleY(1.12);box-shadow:inset 0 0 0 3px var(--ink),0 8px 18px #46382f2e}.linear-color-option input:checked + .linear-color-swatch span{opacity:1;transform:translateY(0)}.selected-color-descriptions{min-height:1.8em}.selected-color-description{display:none;margin:0;padding:10px 12px;border-radius:14px;background:#ffffffc9;border:1px solid #eadfce;color:#7b6c61;font-weight:800}@media(max-width:640px){.linear-color-palette{min-height:46px}.linear-color-swatch{height:46px}.linear-color-swatch span{writing-mode:vertical-rl;font-size:.68rem}}

/* Refined timeline color rail */
.palette-rainbow{
  min-height:92px;
  margin:0 auto 18px;
  padding:18px 22px;
  border-radius:999px;
  background:linear-gradient(135deg,#ffffffd9,#fff7efcc),linear-gradient(90deg,#ff6f91 0%,#ffb36b 15%,#f6d365 30%,#66d69e 48%,#58d6d2 64%,#6fa8ff 80%,#a16eff 100%);
  background-blend-mode:soft-light,normal;
  border:1px solid #ffffffd9;
  box-shadow:0 20px 50px #6c5b7b1f,inset 0 1px 0 #fff;
  overflow:hidden;
}
.palette-rainbow::before{
  inset:10px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffffffb8,#ffffff1f 45%,#2f24510d);
  box-shadow:inset 0 0 0 1px #ffffff80;
}
.palette-rainbow::after{
  left:32px;
  right:32px;
  top:50%;
  height:2px;
  background:#ffffffb3;
  box-shadow:0 0 22px #fff;
  filter:none;
}
.rainbow-point{
  width:42px;
  height:42px;
  min-width:42px;
  min-height:42px;
  border-radius:50%;
  background:#ffffff66;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 24px #2f245126,0 0 0 1px #ffffffcc;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.rainbow-point::before{
  inset:6px;
  border-radius:50%;
  box-shadow:inset 0 1px 0 #ffffffcc,0 0 0 1px #ffffffd9;
  background:linear-gradient(135deg,#ffffff70,#ffffff00),var(--c,#fff);
}
.rainbow-point.all-colors::before{
  background:conic-gradient(from 220deg,#ff6f91,#f6d365,#66d69e,#58d6d2,#6fa8ff,#a16eff,#ff6f91);
}
.rainbow-point:hover,
.rainbow-point.active,
.rainbow-point.drag-active{
  transform:translate(-50%,-50%) scale(1.12);
  background:#fff;
  box-shadow:0 0 0 3px #ffffff,0 0 0 6px color-mix(in srgb,var(--c,#46382f) 54%,#ffffff),0 16px 32px #2f245133;
}
.rainbow-point.active{
  box-shadow:0 0 0 3px #ffffff,0 0 0 6px var(--ink),0 16px 32px #2f245133;
}
.palette-rainbow.is-dragging-color::after{
  height:3px;
  background:#ffffffd9;
}
.palette-rainbow.is-dragging-color .rainbow-point{
  box-shadow:0 10px 24px #2f245126,0 0 0 1px #ffffffcc;
}

/* Profile edit form labels and explanations */
.profile-edit-form{
  max-width:760px;
  padding:24px;
  border-radius:28px;
  background:#ffffffd9;
  border:1px solid #efe5da;
  box-shadow:0 18px 50px #8f73561a;
}
.form-field{
  display:grid;
  gap:8px;
}
.form-field label{
  font-weight:900;
  color:var(--ink);
  letter-spacing:.02em;
}
.field-hint{
  margin:0;
  color:#7b6c61;
  font-size:.92rem;
  line-height:1.6;
}
.profile-edit-form input,
.profile-edit-form textarea{
  background:#fffdf9;
}
.profile-edit-form input:focus,
.profile-edit-form textarea:focus{
  outline:0;
  border-color:#9ec5a8;
  box-shadow:0 0 0 4px #8fb99a26;
}

/* Template-like top and post palettes with a free rainbow color slot */
.top-color-selector{max-width:680px;margin:0 auto 16px}.top-color-description .selected-color-description{display:block}.timeline-linear-palette{grid-template-columns:repeat(10,minmax(28px,1fr));margin-bottom:8px}.linear-color-link{display:grid;place-items:center;min-height:54px;background:var(--c);color:var(--text,var(--ink));text-decoration:none;border-right:1px solid #46382f33;position:relative}.linear-color-link:last-child{border-right:0}.linear-color-link span{opacity:0;font-size:.74rem;font-weight:900;text-shadow:0 1px 8px #ffffff99}.linear-color-link:hover,.linear-color-link.active{box-shadow:inset 0 0 0 3px var(--ink);z-index:1}.linear-color-link.active span{opacity:1}.custom-linear-color-option{position:relative;background:conic-gradient(#ff6f91,#ffb36b,#f6d365,#66d69e,#58d6d2,#6fa8ff,#a16eff,#ff6f91)}.custom-linear-color-option input[type=color]{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;opacity:0;cursor:pointer;pointer-events:auto}.custom-linear-color-option .linear-color-swatch,.timeline-custom-color{background:conic-gradient(#ff6f91,#ffb36b,#f6d365,#66d69e,#58d6d2,#6fa8ff,#a16eff,#ff6f91)}.custom-linear-color-option:has(input[type=color]:focus-visible) .linear-color-swatch,.timeline-custom-color:has(input[type=color]:focus-visible){outline:3px solid var(--ink);outline-offset:-3px}.custom-color-swatch::after,.timeline-custom-color::after{content:"";position:absolute;inset:10px;border-radius:999px;background:var(--c);box-shadow:0 0 0 2px #ffffffd9;pointer-events:none}.custom-color-swatch span,.timeline-custom-color span{position:relative;z-index:1;pointer-events:none}.color-linked-submit{background:var(--c,#7ca884)!important;box-shadow:0 10px 30px color-mix(in srgb,var(--c,#7ca884) 45%,transparent)}.post-form .form-field{display:grid;gap:8px}@media(max-width:640px){.timeline-linear-palette{min-height:46px}.linear-color-link{min-height:46px}}

/* Timeline palette textless selection and native color picker */
.timeline-linear-palette .linear-color-link span{opacity:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);position:absolute;white-space:nowrap}
.timeline-custom-color input[type=color]{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;opacity:0;cursor:pointer}

/* Word-based reactions, impressions, and refined color label */
.paint-tag{display:inline-flex;align-items:center;justify-content:center;min-width:72px;width:auto;height:34px;padding:0 14px;border-radius:999px;clip-path:none;color:var(--ink);background:linear-gradient(135deg,color-mix(in srgb,var(--c) 72%,#fff),color-mix(in srgb,var(--c) 34%,#fff));border:1px solid color-mix(in srgb,var(--c) 64%,#fff);box-shadow:0 10px 22px color-mix(in srgb,var(--c) 32%,transparent),inset 0 1px 0 #ffffffb8;transform:none;text-shadow:none;font-size:.78rem;letter-spacing:.02em}.paint-tag::before,.paint-tag::after{display:none}.paint-tag span{width:auto;height:auto;border-radius:0;color:inherit}.paint-tag:hover,.paint-tag.drag-active{transform:translateY(-1px);box-shadow:0 0 0 3px #fff,0 0 0 6px color-mix(in srgb,var(--c) 64%,#fff),0 12px 24px color-mix(in srgb,var(--c) 36%,transparent)}.timeline-feed .post-meta{padding-right:104px}.post-insights{display:flex;gap:10px;align-items:center;padding:10px 16px 0;color:#7b6c61;font-size:.88rem}.post-insight-link{display:inline-flex;gap:4px;align-items:baseline;color:#7b6c61;text-decoration:none}.post-insight-link strong{color:var(--ink);font-size:1rem}.reactions{grid-template-columns:repeat(3,1fr)}.reaction-action{display:grid;gap:4px;min-width:0}.reactions form button,.reactions .reaction-form button{font-size:.84rem;font-weight:900;white-space:nowrap;padding:10px 4px}.reactions .reaction-form button span{overflow:hidden;text-overflow:ellipsis}.reaction-count{justify-self:center;color:#7b6c61;text-decoration:none;font-size:.8rem;font-weight:900}.reaction-summary-card{padding:22px;border-radius:28px;background:linear-gradient(135deg,color-mix(in srgb,var(--c) 18%,#fff),#fff);border:1px solid color-mix(in srgb,var(--c) 32%,#fff);box-shadow:0 18px 50px #8f73561a}.reaction-summary-card h1{margin:.2em 0 .6em}.reaction-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.reaction-summary-grid div{padding:16px;border-radius:18px;background:#ffffffc9;border:1px solid #eadfce}.reaction-summary-grid strong{display:block;font-size:1.8rem}.reaction-summary-grid span{color:#7b6c61;font-weight:900}.reaction-filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.reaction-filter-tabs a{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid #eadfce;color:var(--ink);text-decoration:none;font-weight:900}.reaction-filter-tabs a.active{background:var(--ink);color:#fff}.reaction-users-list{display:grid;gap:10px;margin-top:16px}.reaction-user-row{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:14px;border-radius:20px;background:#fff;border:1px solid #eadfce}.reaction-user-row p,.empty-state{margin:4px 0 0;color:#7b6c61}.empty-state{padding:18px;border-radius:20px;background:#fff;border:1px solid #eadfce}

/* Requested profile, hashtag, menu, and footer refinements */
.bottom-profile-link{display:grid;place-items:center;width:38px;height:38px;justify-self:center;border-radius:50%;overflow:hidden;background:#f1f2f4;box-shadow:0 0 0 2px #eadfce}.bottom-profile-link img{width:100%;height:100%;object-fit:cover}.bottom-profile-link span{font-size:1.45rem}.hashtag-link,.tags a.hashtag-link{color:#1d6fd8;text-decoration:none;font-weight:900;background:#eef6ff}.hashtag-link:hover{text-decoration:underline}.profile{position:relative;background:linear-gradient(135deg,color-mix(in srgb,var(--c,#f4eadb) 36%,#fff),#fff 62%)}.profile .header{background:linear-gradient(135deg,color-mix(in srgb,var(--c,#f4eadb) 55%,#fff),color-mix(in srgb,var(--c,#f4eadb) 22%,#fff))}.profile .avatar{display:grid;place-items:center;color:var(--ink);font-size:2.2rem}.profile .avatar img{width:100%;height:100%;object-fit:cover}.profile-menu-wrap{position:absolute;top:18px;right:18px;z-index:2}.profile-menu summary{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffffffe8;border:1px solid #eadfce;box-shadow:0 10px 24px #8f735622;cursor:pointer;list-style:none;font-size:1.25rem}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu-panel{position:absolute;right:0;margin-top:8px;display:grid;gap:4px;min-width:130px;padding:8px;border-radius:16px;background:#fff;border:1px solid #eadfce;box-shadow:0 16px 38px #8f735633}.profile-menu-panel a,.profile-menu-panel button{display:block;width:100%;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:var(--ink);font:inherit;font-weight:900;text-align:left;text-decoration:none;cursor:pointer}.profile-menu-panel a:hover,.profile-menu-panel button:hover{background:#f7eadb}.paint-tag{min-width:34px;width:34px;height:34px;padding:0;border-radius:50%;background:var(--c);border:3px solid #fff;box-shadow:0 0 0 2px color-mix(in srgb,var(--c) 70%,#fff),0 10px 22px color-mix(in srgb,var(--c) 32%,transparent)}

/* Brand logo and profile color filtering refinements */
.brand-logo-img{display:block;width:36px;height:36px;border-radius:12px;object-fit:contain;background:#fff;box-shadow:0 8px 20px #8f735630}.profile-color-records{max-width:680px;margin:22px auto}.profile-color-records .grid{margin-top:14px}

/* Header logo and notification menu refinements */
.brand-icon{min-width:0}
.brand-logo-img{width:54px;height:42px;padding:3px;border-radius:14px;object-fit:contain;background:#fff}
.top-actions{position:relative;min-width:120px}
.notification-menu{position:relative}
.notification-menu summary{display:grid;place-items:center;position:relative;width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid #eadfce;box-shadow:0 8px 20px #8f73561f;cursor:pointer;list-style:none}
.notification-menu summary::-webkit-details-marker{display:none}
.notification-menu summary span{font-size:1.2rem;line-height:1}
.notification-menu summary i{position:absolute;right:8px;top:8px;width:9px;height:9px;border-radius:50%;background:#ff6f91;border:2px solid #fff}
.notification-panel{position:absolute;right:0;top:calc(100% + 10px);display:grid;gap:8px;width:min(280px,86vw);padding:14px;border-radius:20px;background:#fff;border:1px solid #eadfce;box-shadow:0 18px 46px #46382f2e;z-index:50}
.notification-panel p{margin:0;color:#7b6c61;font-size:.9rem;line-height:1.6}
.notification-link{justify-self:start;color:var(--ink);font-weight:900;text-decoration:none;background:#f7eadb;border-radius:999px;padding:8px 12px}
@media(max-width:640px){.brand-logo-img{width:50px;height:38px}.top-actions{min-width:auto}.notification-menu summary{width:38px;height:38px}}

/* Timeline image and reaction readability refinements */
.post-image-link{display:block;background:color-mix(in srgb,var(--c) 12%,#fff)}
.post-main-image img,.image-placeholder{object-fit:contain;background:color-mix(in srgb,var(--c) 10%,#fff)}
.timeline-feed .post-main-image img{max-height:70vh}
.timeline-feed .reactions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.reactions .reaction-form button{gap:2px;padding:9px 2px;font-size:clamp(.68rem,2.7vw,.8rem);letter-spacing:-.04em;line-height:1;white-space:nowrap}
.reactions .reaction-form button span{display:block;max-width:100%;overflow:hidden;text-overflow:clip;white-space:nowrap}
.reaction-count{font-size:.76rem}
.image-viewer{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(28,22,18,.92);backdrop-filter:blur(10px)}
.image-viewer.is-open{display:flex}
.image-viewer img{max-width:100%;max-height:100%;object-fit:contain;border-radius:12px;background:#fff;box-shadow:0 22px 80px #0008}
.image-viewer button{position:absolute;top:14px;right:14px;width:44px;height:44px;border:0;border-radius:50%;background:#ffffffe6;color:var(--ink);font-size:1.6rem;line-height:1;cursor:pointer}

/* Logo, search, and footer icon refinements */
.brand-logo-img{
  width:78px;
  height:34px;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  object-fit:contain;
}
.top-search{
  width:min(100%,440px);
  justify-self:center;
  min-height:40px;
  padding:0 12px;
}
.post-palette{
  justify-self:center;
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 28px #8f735644;
}
.post-palette img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.post-palette span{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#7ca884,#58b7a3);
  color:#fff;
  box-shadow:none;
  font-size:2rem;
  font-weight:900;
  line-height:1;
}
.bottom-profile-link{
  width:44px;
  height:44px;
  aspect-ratio:1/1;
  border-radius:50%;
  overflow:hidden;
}
.bottom-profile-link img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
}
@media(max-width:640px){
  .brand-logo-img{width:70px;height:32px}
  .top-search{min-height:38px;width:100%}
  .bottom-profile-link{width:42px;height:42px}
}

/* Public profile color calendar */
.profile-calendar{
  max-width:920px;
  margin:24px auto;
  padding:22px;
  border-radius:30px;
  background:#fff;
  box-shadow:0 20px 60px #8f73561c;
  border:1px solid #eadfce;
}
.calendar-head,.calendar-nav,.selected-day-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.calendar-head h2{margin:.1em 0}
.calendar-head p{margin:0;color:#7b6c61;line-height:1.6}
.calendar-switch{display:flex;gap:6px;padding:4px;border-radius:999px;background:#f7eadb}
.calendar-switch a{padding:8px 14px;border-radius:999px;color:var(--ink);text-decoration:none;font-weight:900}
.calendar-switch a.active{background:#fff;box-shadow:0 8px 18px #8f73561c}
.calendar-nav{margin:18px 0}
.calendar-nav strong{font-size:1.18rem}
.month-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.calendar-weekday{padding:6px 0;text-align:center;color:#7b6c61;font-size:.82rem;font-weight:900}
.calendar-day{
  position:relative;
  display:grid;
  align-content:start;
  gap:6px;
  min-height:84px;
  padding:9px;
  border-radius:16px;
  background:#fbf7f0;
  color:var(--ink);
  text-decoration:none;
  overflow:hidden;
  border:1px solid #efe4d6;
}
.calendar-day.has-posts{background:linear-gradient(135deg,var(--day-colors),#fff 120%);box-shadow:inset 0 0 0 999px #ffffff30}
.calendar-day.selected,.year-day.selected{outline:3px solid var(--ink);outline-offset:2px}
.calendar-day.is-muted{opacity:.45}
.calendar-day span{position:relative;z-index:1;font-weight:900}
.calendar-day small{
  position:relative;
  z-index:1;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:.74rem;
  font-weight:800;
  line-height:1.35;
  text-shadow:0 1px 8px #fff;
}
.year-calendar-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.year-month-card{padding:14px;border-radius:22px;background:#fbf7f0;border:1px solid #efe4d6}
.year-month-card h3{margin:0 0 10px}
.year-month-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.year-day{
  display:grid;
  place-items:center;
  min-width:0;
  aspect-ratio:1/1;
  border-radius:9px;
  background:#fff;
  color:#7b6c61;
  text-decoration:none;
  font-size:.72rem;
  font-weight:900;
}
.year-day.has-posts{background:linear-gradient(135deg,var(--day-colors),#fff 125%);color:var(--ink);box-shadow:inset 0 0 0 999px #ffffff26}
.selected-day-note{margin-top:18px;padding:12px 14px;border-radius:18px;background:#f7eadb}
@media(max-width:640px){
  .profile-calendar{padding:16px;border-radius:24px}
  .calendar-day{min-height:62px;padding:7px;border-radius:12px}
  .calendar-day small{font-size:.66rem}
  .year-calendar-grid{grid-template-columns:1fr}
  .year-month-days{gap:3px}
  .year-day{border-radius:7px}
  .calendar-switch a{padding:7px 11px}
}

/* Reply threads */
.reply-thread,.reply-compose{margin-top:24px}.reply-thread h2,.reply-compose h1{margin:.2em 0 .6em}.reply-thread .posts{max-width:680px}.reply-thread .post-card{margin-left:24px;border-left:5px solid var(--c)}.reply-parent-preview{margin:18px 0 24px;padding:16px;border-radius:28px;background:#ffffffb8;border:1px solid #eadfce}.reply-parent-preview h2{margin:0 0 12px;font-size:1rem;color:#7b6c61}.reply-parent-preview .post-card{box-shadow:none}


.form-errors{
  max-width:680px;
  margin:0 0 14px;
  padding:14px 16px;
  border-radius:18px;
  background:#fff4f4;
  border:1px solid #f0b9b9;
  color:#7a2f2f;
}
.form-errors p{margin:0 0 8px;font-weight:900}
.form-errors ul{margin:0;padding-left:1.2em}

.agreement-label{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px 14px;
  border:1px solid #eadfce;
  border-radius:18px;
  background:#ffffffc9;
  line-height:1.6;
  font-weight:800;
}
.agreement-label input[type=checkbox]{
  width:auto;
  margin-top:.35em;
  flex:none;
}
.agreement-label a{color:#1d6fd8;text-decoration:none;font-weight:900}
.agreement-label a:hover{text-decoration:underline}

/* Larger header logo, compact search, and image picker button refinements */
.brand-logo-img{
  width:117px;
  height:51px;
}
.top-search{
  width:min(100%,300px);
}
.image-pick-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.image-pick-button{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:54px;
  padding:14px 16px;
  border-radius:20px;
  color:#5f5147;
  font-weight:900;
  cursor:pointer;
  overflow:hidden;
  box-shadow:0 12px 26px #8f735626;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.image-pick-button:hover,
.image-pick-button:focus-within{
  transform:translateY(-1px);
  filter:saturate(1.03);
  box-shadow:0 16px 32px #8f735633;
}
.image-pick-button-camera{
  background:linear-gradient(135deg,#cfe7d7,#bfe6dc);
}
.image-pick-button-library{
  background:linear-gradient(135deg,#ead0ef,#f7d5df);
}
.image-pick-button input[type=file]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
@media(max-width:640px){
  .brand-logo-img{width:105px;height:46px}
  .top-search{width:100%}
  .image-pick-actions{grid-template-columns:1fr;gap:8px}
  .image-pick-button{min-height:52px;padding:12px 8px;font-size:.9rem}
}

/* Requested footer and profile calendar adjustments */
.bottom-nav a:nth-child(1) span,
.bottom-nav a:nth-child(2) span{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  color:#fff;
  box-shadow:0 10px 24px #8f735630;
}
.bottom-nav a:nth-child(1) span{background:linear-gradient(135deg,#7ca884,#58b7a3)}
.bottom-nav a:nth-child(2) span{background:linear-gradient(135deg,#ff8faa,#c58bd6)}
.post-palette{
  flex:none;
  aspect-ratio:1/1;
  border-radius:50%;
  background:transparent;
}
.post-palette img,
.post-palette span{
  border-radius:50%;
  background:transparent;
}
.post-palette span{
  background:linear-gradient(135deg,#7ca884,#58b7a3);
}
.hashtag-link,.tags a.hashtag-link{
  background:color-mix(in srgb,var(--c,#eef6ff) 28%,#fff);
  border:1px solid color-mix(in srgb,var(--c,#eef6ff) 45%,#fff);
}
.profile .profile-calendar{
  max-width:none;
  margin:18px 0 0;
  box-shadow:0 14px 34px #8f735614;
}
.profile-color-records .selected-color-descriptions,
.profile-color-records .grid{
  display:none;
}
.calendar-day{
  transition:transform .16s ease,box-shadow .16s ease;
}
.calendar-day:focus-visible,
.calendar-day:hover,
.calendar-day.selected{
  transform:scale(1.08);
  z-index:2;
  box-shadow:0 16px 34px #46382f2e;
}
.calendar-day small{display:none}
.year-calendar-grid{
  grid-template-columns:repeat(53,minmax(5px,1fr));
  grid-auto-rows:8px;
  gap:3px;
}
.year-day{
  width:100%;
  min-width:0;
  min-height:0;
  aspect-ratio:auto;
  border-radius:2px;
  font-size:0;
  line-height:0;
  transition:transform .16s ease,box-shadow .16s ease;
}
.year-day:focus-visible,
.year-day:hover,
.year-day.selected{
  transform:scale(2.4);
  z-index:2;
  box-shadow:0 8px 18px #46382f3d;
}
.reaction-back-button{margin-bottom:14px}
@media(max-width:640px){
  .year-calendar-grid{grid-template-columns:repeat(26,minmax(7px,1fr));grid-auto-rows:9px}
  .bottom-nav a:nth-child(1) span,.bottom-nav a:nth-child(2) span{width:40px;height:40px}
}

/* Profile edit image picker refinements */
.image-upload-field{gap:10px}
.profile-image-picker{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:center;
  padding:14px;
  border-radius:24px;
  background:linear-gradient(135deg,#fff,#fff7ef);
  border:1px dashed #d8cbbd;
  box-shadow:0 14px 34px #8f735614;
  cursor:pointer;
  overflow:hidden;
}
.profile-image-picker:hover,
.profile-image-picker:focus-within{
  border-color:#9ec5a8;
  box-shadow:0 0 0 4px #8fb99a24,0 18px 42px #8f73561f;
}
.profile-image-picker input[type=file]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.profile-image-preview,
.profile-header-preview{
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(135deg,#f4eadb,#fff);
  color:#7b6c61;
  font-weight:900;
  box-shadow:inset 0 0 0 1px #ffffffaa,0 10px 24px #8f73561c;
}
.profile-image-preview{width:76px;height:76px;border-radius:50%;font-size:2rem}
.profile-header-preview{width:128px;height:76px;border-radius:18px}
.profile-image-preview img,
.profile-header-preview img{width:100%;height:100%;object-fit:cover}
.profile-image-picker-copy{display:grid;gap:4px;color:var(--ink)}
.profile-image-picker-copy strong{font-size:1rem}
.profile-image-picker-copy small{color:#7b6c61;font-weight:800}
.home-popular-posts{margin-top:24px}
.home-color-palette .linear-color-link{text-decoration:none}
@media(max-width:640px){.profile-image-picker{grid-template-columns:1fr}.profile-header-preview{width:100%}}

/* Signup and static page links */
.signup-form,
.static-page{
  max-width:760px;
  padding:24px;
  border-radius:28px;
  background:#ffffffd9;
  border:1px solid #efe5da;
  box-shadow:0 18px 50px #8f73561a;
}
.static-page p{
  line-height:1.8;
}
.legal-links{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  width:min(1040px,92vw);
  margin:0 auto 88px;
  padding:16px 0 4px;
  color:#7b6c61;
}
.legal-links a{
  color:#7b6c61;
  text-decoration:none;
  font-weight:800;
  font-size:.9rem;
}
.legal-links a:hover,
.legal-links a:focus-visible{
  color:var(--ink);
  text-decoration:underline;
}
@media(max-width:640px){
  .legal-links{margin-bottom:82px;font-size:.86rem}
}

/* Stable month calendar navigation layout */
.calendar-nav-month{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:10px;
}
.calendar-nav-month strong{
  text-align:center;
  white-space:nowrap;
}
.calendar-nav-prev{justify-self:start}
.calendar-nav-next{justify-self:end}
@media(max-width:640px){
  .calendar-nav-month{
    grid-template-columns:1fr 1fr;
  }
  .calendar-nav-month strong{
    grid-column:1 / -1;
    grid-row:1;
  }
  .calendar-nav-prev,
  .calendar-nav-next{
    grid-row:2;
    width:100%;
    padding-inline:10px;
  }
  .calendar-nav-prev{justify-self:stretch}
  .calendar-nav-next{justify-self:stretch}
}

/* Compact profile month calendar and settings/actions */
.profile-calendar{
  padding:18px;
}
.calendar-nav{margin:12px 0}
.month-calendar-grid{gap:4px}
.calendar-weekday{padding:3px 0;font-size:.76rem}
.calendar-day{
  min-height:60px;
  padding:6px;
  gap:3px;
  border-radius:12px;
}
.calendar-day:hover,
.calendar-day:focus-visible,
.calendar-day.selected{
  transform:scale(1.04);
}
.settings-menu{position:relative;display:inline-block}
.settings-menu summary{cursor:pointer;list-style:none}
.settings-menu summary::-webkit-details-marker{display:none}
.settings-panel{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  z-index:20;
  display:grid;
  gap:8px;
  min-width:220px;
  padding:12px;
  border-radius:18px;
  background:#fff;
  border:1px solid #eadfce;
  box-shadow:0 18px 46px #46382f2e;
}
.settings-link,
.settings-button{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid #eadfce;
  background:#fffaf1;
  color:var(--ink);
  text-decoration:none;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.settings-logout{background:#f7eadb}
.post-owner-actions{
  display:flex;
  justify-content:flex-end;
  padding:10px 16px 0;
}
.post-delete-button{
  border:1px solid #eadfce;
  border-radius:999px;
  padding:7px 12px;
  background:#fffaf1;
  color:#8b3f36;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:640px){
  .profile-calendar{padding:12px}
  .calendar-day{min-height:46px;padding:5px;border-radius:10px}
  .calendar-weekday{font-size:.72rem}
  .settings-panel{right:auto;left:0;min-width:min(240px,80vw)}
}

.image-pick-preview{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:12px;
  padding:12px;
  border:1px solid #eadfce;
  border-radius:18px;
  background:#ffffffb8;
  color:#6f6258;
  font-weight:800;
}
.image-pick-preview[hidden]{display:none}
.image-pick-preview img{
  width:88px;
  height:88px;
  border-radius:16px;
  object-fit:cover;
  box-shadow:0 10px 22px #8f735626;
}
.image-pick-preview span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Profile header removal and compact post menu */
.profile{
  padding-top:18px;
}
.profile .header{
  display:none;
}
.profile .avatar{
  margin-top:0;
}
.post-top-actions{
  position:absolute;
  top:12px;
  right:12px;
  z-index:4;
  display:flex;
  align-items:center;
  gap:8px;
}
.post-top-actions .paint-tag{
  position:static;
}
.post-menu{
  position:relative;
}
.post-menu summary{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#ffffffe8;
  border:1px solid #eadfce;
  box-shadow:0 10px 22px #8f735622;
  color:var(--ink);
  cursor:pointer;
  list-style:none;
  font-size:1rem;
  font-weight:900;
}
.post-menu summary::-webkit-details-marker{display:none}
.post-menu-panel{
  position:absolute;
  right:0;
  margin-top:8px;
  display:grid;
  gap:4px;
  min-width:190px;
  padding:8px;
  border-radius:16px;
  background:#fff;
  border:1px solid #eadfce;
  box-shadow:0 16px 38px #8f735633;
}
.post-menu-link,
.post-menu-button{
  display:block;
  width:100%;
  padding:10px 12px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:var(--ink);
  font:inherit;
  font-weight:900;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
.post-menu-link:hover,
.post-menu-button:hover{background:#f7eadb}
.post-menu-delete{color:#8b3f36}
.post-menu-panel form{margin:0}
.timeline-feed .post-meta{padding-right:150px}

/* Profile hamburger action menu */
.profile-menu-panel{min-width:220px;z-index:25}
.profile-menu-panel form{margin:0}
.profile-menu-panel .profile-menu-logout{color:#8b3f36;background:#f7eadb}

/* Compact month pager and policy link list */
.calendar-nav-month{
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:8px;
}
.calendar-nav-month .button{
  min-width:44px;
  padding:8px 12px;
  white-space:nowrap;
}
.calendar-nav-month strong{
  min-width:0;
  font-size:clamp(.98rem,4vw,1.18rem);
}
.static-link-list{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.static-link-list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #eadfce;
  color:var(--ink);
  font-weight:900;
  text-decoration:none;
}
.static-link-list a::after{
  content:"›";
  color:#7b6c61;
}
@media(max-width:640px){
  .calendar-nav-month{
    grid-template-columns:auto minmax(0,1fr) auto;
  }
  .calendar-nav-month strong{
    grid-column:auto;
    grid-row:auto;
  }
  .calendar-nav-prev,
  .calendar-nav-next{
    grid-row:auto;
    width:auto;
    padding-inline:12px;
    justify-self:auto;
  }
}

.timeline-load-more{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:8px auto 0;
  padding:12px 18px;
  border-radius:999px;
  background:#fff;
  border:1px solid #eadfce;
  color:var(--ink);
  font-weight:900;
  text-decoration:none;
  box-shadow:0 10px 24px #8f73561f;
}
.timeline-load-more[aria-busy="true"]{
  opacity:.68;
  pointer-events:none;
}

/* Keep footer action icons perfectly circular */
.bottom-nav .post-palette,
.bottom-nav .bottom-profile-link{
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  max-width:44px;
  max-height:44px;
  aspect-ratio:1/1;
  justify-self:center;
  align-self:center;
  border-radius:50%;
  overflow:hidden;
}
.bottom-nav .post-palette span,
.bottom-nav .bottom-profile-link img{
  width:100%;
  height:100%;
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
}
@media(max-width:640px){
  .bottom-nav .post-palette,
  .bottom-nav .bottom-profile-link{
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;
    max-width:42px;
    max-height:42px;
  }
}

.image-pick-actions:has(.image-pick-button:only-child){grid-template-columns:1fr}

/* Disabled profile calendar navigation controls */
.calendar-nav .button.disabled{
  opacity:.45;
  pointer-events:none;
}

/* Profile follow and block list */
.profile-follow-action{margin:10px 0 14px}
.profile-follow-action form{display:inline-flex}
.blocked-users-list{display:grid;gap:10px;margin-top:16px}
.blocked-user-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border-radius:20px;background:#fff;border:1px solid #eadfce}
.blocked-user-row p{margin:4px 0 0;color:#7b6c61}

/* Three post reaction slots */
.timeline-feed .reactions,
.reactions{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.share-action{display:grid;gap:4px;min-width:0}
.share-color-button{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:39px;
  padding:10px 4px;
  border-radius:18px;
  border:1px solid #eadfce;
  background:#ffffffd9;
  color:var(--ink);
  font:inherit;
  font-size:.84rem;
  font-weight:900;
  cursor:pointer;
}
.share-status{
  min-height:1em;
  color:#7b6c61;
  font-size:.72rem;
  font-weight:900;
  text-align:center;
}

/* Search result tabs */
.search-results{max-width:680px;margin:0 auto 16px}
.search-results h1{font-size:1.2rem;margin:0 0 10px}
.search-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.search-tabs a{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #eadfce;color:var(--ink);text-decoration:none;font-weight:900}
.search-tabs a.active{background:var(--ink);color:#fff}
.search-user-results{max-width:680px;margin:0 auto;display:grid;gap:10px}
.search-user-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;padding:14px;border-radius:20px;background:#fff;border:1px solid #eadfce;color:var(--ink);text-decoration:none}
.search-user-lines{display:grid;gap:3px;min-width:0}
.search-user-lines small,.search-user-lines em{color:#7b6c61;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Search, detail, timeline, and menu behavior refinements */
.top-search-submit{
  position:absolute;
  inline-size:1px;
  block-size:1px;
  opacity:0;
  pointer-events:none;
}
.timeline-feed .post-body p{
  -webkit-line-clamp:3;
}
.timeline-feed .post-body br{
  display:initial;
}
.image-placeholder::after,
.custom-color-swatch::after,
.timeline-custom-color::after{
  display:none;
}
.post-footer-meta{
  display:flex;
  align-items:center;
  gap:4px;
  padding:10px 16px 0;
  color:#7b6c61;
  font-size:.88rem;
  font-weight:800;
}
.post-detail-nav{
  max-width:680px;
  margin:0 auto 12px;
}
.post-back-button{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#fff;
  border:1px solid #eadfce;
  box-shadow:0 10px 24px #8f735622;
  color:var(--ink);
  text-decoration:none;
  font-size:1.5rem;
  font-weight:900;
}
.profile-color-records .posts,
.profile-color-records + .posts,
.posts[data-infinite-scroll-feed]{
  margin-top:18px;
}
.profile-color-records + .posts .post-card,
.posts[data-infinite-scroll-feed] .post-card{
  margin-top:8px;
}
.profile-color-records + .posts .post-main-image{
  margin-top:6px;
}

/* Detail/profile fixes: overflow guard, active saved footer, share alignment, and analytics */
html,
body{
  width:100%;
  max-width:100vw;
  overflow-x:clip;
}
.app-topbar,
.bottom-nav{
  width:100%;
  max-width:100vw;
  overflow-x:clip;
}
.app-topbar > *,
.top-search,
.top-search input,
.top-actions{
  min-width:0;
}
@media(max-width:640px){
  .app-topbar{gap:8px;padding-left:8px;padding-right:8px}
  .brand-logo-img{width:58px;max-width:18vw}
  .top-search{width:100%;max-width:100%}
  .top-actions{max-width:42px}
  .notification-panel{right:-4px;max-width:calc(100vw - 20px)}
}
.bottom-nav a.active{
  color:#fff;
}
.bottom-nav a.active > span,
.bottom-nav a.active.bottom-profile-link{
  background:#7ca884;
  color:#fff;
  box-shadow:0 0 0 3px #ffffff,0 0 0 6px #7ca88455,0 10px 28px #7ca88444;
}
.bottom-nav a.active:not(.post-palette):not(.bottom-profile-link) > span{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
}
.post-card > .post-meta{margin-bottom:18px}
.post-card > .post-main-image{margin-top:12px}
.timeline-feed .post-card > .post-meta{margin-bottom:0}
.timeline-feed .post-card > .post-main-image{margin-top:0}
.reactions .share-action{
  justify-self:stretch;
  align-items:center;
  justify-items:end;
}
.reactions .share-action .share-color-button{
  justify-self:end;
}
.profile-menu-note{
  margin:2px 10px 8px;
  color:#7b6c61;
  font-size:.76rem;
  line-height:1.45;
}
.analytics-help{color:#7b6c61;font-weight:800;line-height:1.7}
.analytics-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.analytics-color-list{display:grid;gap:10px;margin-top:12px}
.analytics-color-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;border-radius:18px;background:#fff;border:1px solid #eadfce}
.analytics-color-row span{width:28px;height:28px;border-radius:50%;background:var(--c);box-shadow:0 0 0 3px #fff,0 0 0 5px color-mix(in srgb,var(--c) 44%,#fff)}
.analytics-color-row em{font-style:normal;color:#7b6c61;font-weight:900}

/* Requested visibility, settings, edit preview, share alignment, and detail motion refinements */
.app-topbar,
.top-actions{
  overflow:visible;
}
.notification-menu{
  z-index:80;
}
.notification-panel{
  z-index:120;
}
.post-author-name,
.post-author-lines span{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.form-label-like{
  display:block;
  font-weight:900;
  margin-bottom:8px;
}
.image-pick-preview-existing{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:10px;
}
.image-pick-preview-existing img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:18px;
  border:1px solid #eadfce;
}
.settings-page{
  max-width:680px;
  margin:0 auto;
}
.settings-help{
  color:#7b6c61;
  font-weight:800;
  line-height:1.7;
}
.settings-link-list{
  display:grid;
  gap:10px;
  margin-top:16px;
}
.settings-link-list > a,
.settings-notification-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  border-radius:20px;
  background:#fff;
  border:1px solid #eadfce;
  color:var(--ink);
  text-decoration:none;
  font-weight:900;
}
.settings-notification-row p{
  margin:4px 0 0;
  color:#7b6c61;
  font-size:.86rem;
}
.settings-notification-row form{
  margin:0;
}
.profile .reactions .share-action,
.post-show-page .reactions .share-action{
  justify-self:end;
  justify-items:end;
}
.profile .reactions .share-color-button,
.post-show-page .reactions .share-color-button{
  width:42px;
  min-height:42px;
  border-radius:50%;
}
.post-show-page{
  animation:post-detail-slide-in .24s ease-out both;
}
@keyframes post-detail-slide-in{
  from{opacity:0;transform:translateX(28px)}
  to{opacity:1;transform:translateX(0)}
}

/* Footer active-state refinements */
.bottom-nav a.active:nth-child(2){
  color:var(--ink);
}
.bottom-nav a.active:nth-child(2) > span{
  background:linear-gradient(135deg,#ff8faa,#c58bd6);
  color:#fff;
  box-shadow:0 10px 24px #8f73561f;
}
.bottom-nav .post-palette.active,
.bottom-nav .bottom-profile-link.active{
  box-shadow:0 0 0 3px #fff,0 0 0 6px #7ca88455,0 10px 28px #7ca88444;
}
.bottom-nav .post-palette.active > span{
  background:linear-gradient(135deg,#7ca884,#58b7a3);
  color:#fff;
  box-shadow:none;
}
.bottom-nav a.active.bottom-profile-link{
  background:#f1f2f4;
  color:var(--ink);
}
