/* ==========================================================================
   Derech Community - social core styles (feed, daily loop, profiles, directory, onboarding).
   Builds on the theme design system (§9); only module-specific UI lives here.
   Colours come from --dk-* tokens (fallbacks keep it readable without the theme).
   ========================================================================== */

.dc-app {
	--dc-cream: var(--dk-cream, #FAF7F2);
	--dc-paper: var(--dk-paper, #FFFFFF);
	--dc-ink: var(--dk-ink, #1B2333);
	--dc-muted: var(--dk-muted, #6A7282);
	--dc-teal: var(--dk-teal, #2F6F73);
	--dc-teal-600: var(--dk-teal-600, #245A5E);
	--dc-clay: var(--dk-clay, #B5523F);
	--dc-clay-600: var(--dk-clay-600, #963F30);
	--dc-mustard: var(--dk-mustard, #C9A46E);
	--dc-sage: var(--dk-sage, #9DB4A4);
	--dc-sky: var(--dk-sky, #E4EEEE);
	--dc-peach: var(--dk-peach, #F3E3C3);
	--dc-blush: var(--dk-blush, #F3E3C3);
	--dc-moss: var(--dk-moss, #5E7D69);
	--dc-line: var(--dk-line, rgba(27, 35, 51, .12));
	--dc-r: var(--dk-radius, 14px);
	--dc-r-lg: var(--dk-radius-lg, 20px);
	--dc-r-xl: var(--dk-radius-xl, 28px);
	--dc-shadow: var(--dk-shadow, 0 6px 20px rgba(21, 35, 63, .08));
	color: var(--dc-ink);
	font-family: var(--dk-font-body, Assistant, "Segoe UI", Arial, sans-serif);
}
.dc-app *, .dc-hdr * { box-sizing: border-box; }
.dc-app h1, .dc-app h2, .dc-app h3, .dc-app .dk-h2, .dc-app .dk-h3, .dc-app .dk-h4 { font-family: var(--dk-font-head, Heebo, "Segoe UI", Arial, sans-serif); }
/* Ghost buttons are flat: the fridge "chunky" bottom edge only belongs on filled buttons. */
.dc-app .dk-btn--ghost, .dcf-app .dk-btn--ghost, .dcc .dk-btn--ghost { --btn-shadow: none; }
.dc-app .dk-btn--ghost:active, .dcf-app .dk-btn--ghost:active, .dcc .dk-btn--ghost:active { box-shadow: none; }
.dc-pad { padding: 16px; }
.dc-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-block-end: 16px; flex-wrap: wrap; }
.dc-page-head .dk-h2 { margin: 0; }
.dc-loadmore { display: flex; justify-content: center; padding: 16px 0; }

/* ---------- Header actions ---------- */
.dc-hdr { display: inline-flex; align-items: center; gap: 4px; }
.dc-hdr__btn { position: relative; }
.dc-hdr__btn .dk-badge--count, .dc-hdr .dk-badge--count { position: absolute; inset-block-start: 2px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--dk-clay, #B5523F); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.dc-hdr [hidden] { display: none !important; }
.dc-hpill { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-size: 14px; }
.dc-hpill__streak { display: inline-flex; align-items: center; gap: 2px; padding-inline-start: 6px; border-inline-start: 1px solid rgba(107, 75, 0, .25); }
.dc-hpill.is-pending { animation: dc-pulse 2.4s ease-in-out infinite; }
.dc-hpill.is-pending .dk-coin__icon { animation: dc-wiggle 2.4s ease-in-out infinite; }
/* The coin pill opens the social feed: a small caption under it says so (pill + caption are one link / tap target). */
.dc-hcoin { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; border-radius: 14px; }
/* The pill is centred on the row like the other buttons; the caption hangs just under it without moving it. */
.dc-hcoin .dc-hpill { height: 34px; box-sizing: border-box; padding-block: 0; }
.dc-hcoin__label { position: absolute; top: calc(50% + 18px); inset-inline-start: 50%; transform: translateX(50%); }
[dir="ltr"] .dc-hcoin__label { transform: translateX(-50%); }
.dc-hcoin:hover .dc-hpill { transform: translateY(-1px); }
.dc-hcoin:focus-visible { outline: 3px solid var(--dk-teal, #2F6F73); outline-offset: 2px; }
.dc-hcoin__label { font-size: 10.5px; font-weight: 700; line-height: 1; color: var(--dk-teal, #2F6F73); text-decoration: none; white-space: nowrap; }
/* Bell and messages: one steady size and weight, no tilt. */
.dc-hdr__btn .dk-icon { width: 22px; height: 22px; stroke-width: 1.9; transform: none; }
.dc-hcoin:hover .dc-hcoin__label { color: var(--dk-clay, #B5523F); }
.dc-hdr .dk-btn--ghost { --btn-shadow: none; }
.dc-hdr__btn:hover, .dc-hdr__btn:focus-visible { color: var(--dk-clay, #B5523F); }
/* Phones: the bottom nav carries chat, so the top bar shows the messages button only while a message is unread
   (it then opens that conversation directly). */
@media (max-width: 959px) {
	.dc-hdr > a.dc-hdr__btn:not(:has(.dk-badge--count:not([hidden]))) { display: none; }
}
@media (max-width: 440px) {
	.dc-hdr { gap: 2px; }
	.dc-hcoin__label { font-size: 10px; }
	.dc-hpill { padding-inline: .3em .6em; }
	.dc-hpill__streak { display: none; }
}
@media (max-width: 370px) {
	.dc-hdr .dc-hdr__btn.dk-btn--icon { width: 40px; }
}
@keyframes dc-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 110, .45); } 50% { box-shadow: 0 0 0 6px rgba(201, 164, 110, 0); } }
@keyframes dc-wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 95% { transform: rotate(-6deg); } }

.dc-bell { position: relative; }
.dc-bell__menu { position: absolute; inset-inline-end: -40px; inset-block-start: calc(100% + 8px); width: min(380px, calc(100vw - 24px)); max-height: 70vh; overflow: auto; z-index: 60; background: var(--dk-paper, #FFFFFF); border-radius: 18px; box-shadow: 0 18px 50px rgba(27, 35, 51, .18); padding: 0; }
@media (max-width: 600px) {
	/* Phones: the dropdown spans the screen under the top bar instead of hanging off the bell. */
	.dc-bell__menu { position: fixed; inset-inline: 10px; inset-block-start: calc(var(--dk-header-h, 64px) + 4px); width: auto; max-height: calc(100dvh - var(--dk-header-h, 64px) - var(--dk-bottom-nav-h, 68px) - 40px); }
}
.dc-bell__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; min-height: 51px; border-block-end: 1px solid rgba(27, 35, 51, .08); position: sticky; top: 0; background: inherit; }
.dc-bell__head button { min-height: 36px; }
.dc-bell__empty { text-align: center; padding: 22px 18px; color: #6A7282; }
.dc-bell__empty span { font-size: 34px; }
.dc-bell__all { display: block; text-align: center; padding: 12px; font-weight: 600; color: var(--dk-teal, #2F6F73); border-block-start: 1px solid rgba(27, 35, 51, .08); }
.dk-notification { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; color: inherit; text-decoration: none; position: relative; }
.dk-notification.is-unread { background: color-mix(in srgb, var(--dk-sky, #E4EEEE) 70%, transparent); }
.dk-notification__body { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.45; }
.dc-ntf-emoji { position: absolute; inset-block-end: -4px; inset-inline-end: -6px; font-size: 14px; background: var(--dk-paper, #FFFFFF); border-radius: 999px; width: 20px; height: 20px; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.dk-avatar-wrap { position: relative; display: inline-flex; flex: none; }
.dc-unread-dot { width: 10px; height: 10px; min-height: 0; aspect-ratio: 1; border-radius: 50%; background: var(--dk-clay, #B5523F); box-shadow: 0 0 0 3px rgba(181, 82, 63, .16); margin-inline-start: auto; flex: none; align-self: center; }

/* ---------- Notifications page ---------- */
.dc-notifs { max-width: 780px; margin-inline: auto; }
.dc-notifs .dk-notification.is-unread::before, .dc-bell .dk-notification.is-unread::before { content: none; }
.dc-notifs .dk-notification { border-radius: 16px; align-items: center; }
.dc-notifs .dk-notification + .dk-notification { margin-block-start: 2px; }
.dc-notifs .dk-notification__body { flex: 1; min-width: 0; }
.dc-notifs .dk-segment { margin-block: 8px 16px; }
.dc-notifs__group { margin-block-end: 18px; }
.dc-notifs__group .dk-eyebrow { margin: 0 0 8px; }
.dc-requests { margin-block-end: 16px; }
.dc-request { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dc-request .dk-user { color: inherit; text-decoration: none; }
.dc-request .dk-user:hover .dk-user__name { color: var(--dk-clay, #B5523F); }

/* ---------- Feed layout ---------- */
.dc-feed-split { align-items: flex-start; }
.dc-feed-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dc-feed { display: flex; flex-direction: column; gap: 14px; }
.dc-feed__row { display: contents; }
.dc-feed-aside { display: none; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
@media (min-width: 960px) {
	.dc-feed-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
	.dc-feed-aside { display: flex; }
}
.dc-widget { padding: 14px 16px; }
.dc-widget__title { font-size: 15px; font-weight: 800; margin: 0 0 10px; font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-widget--daily { display: contents; }
.dc-back { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.dc-feed-tabs { overflow-x: auto; scrollbar-width: none; margin-block-start: 14px; }
.dc-feed-tabs::-webkit-scrollbar { display: none; }
.dc-feed-tabs .dk-tab, .dc-profile__tabs .dk-tab { flex: 1 0 auto; justify-content: center; }
@media (max-width: 440px) {
	.dc-feed-tabs, .dc-profile__tabs { gap: 2px; }
	.dc-feed-tabs .dk-tab, .dc-profile__tabs .dk-tab { padding-inline: .55em; }
}
.dc-feed-end { text-align: center; padding: 18px 0 30px; }
.dc-sentinel { height: 1px; }

.dc-new-pill-wrap { position: sticky; top: 72px; z-index: 30; display: flex; justify-content: center; height: 0; }
.dc-new-pill { transform: translateY(6px); border: 0; border-radius: 999px; padding: 9px 18px; background: var(--dk-teal, #2F6F73); color: #fff; font-weight: 700; box-shadow: 0 10px 24px rgba(47, 111, 115, .35); cursor: pointer; }
.dc-new-pill:focus-visible { outline: 3px solid var(--dk-mustard, #C9A46E); outline-offset: 2px; }
.dc-ptr { display: flex; align-items: center; justify-content: center; overflow: hidden; transition: height .1s; }
.dc-ptr span { font-size: 26px; transition: transform .2s; }
.dc-ptr span.is-ready { transform: rotate(180deg) scale(1.2); }

/* ---------- Composer ---------- */
.dc-composer { padding: 12px 14px; border-radius: var(--dc-r-lg, 20px); transition: box-shadow .2s; }
.dc-composer.is-open { box-shadow: 0 10px 30px rgba(27, 35, 51, .12); }
.dc-composer.is-help { box-shadow: inset 0 0 0 2px var(--dk-sky, #E4EEEE); }
.dc-composer.is-win { box-shadow: inset 0 0 0 2px var(--dk-mustard, #C9A46E); }
.dc-composer__top { display: flex; gap: 10px; align-items: flex-start; }
.dc-composer__text { flex: 1; min-height: 44px; border: 0; background: var(--dk-cream, #FAF7F2); border-radius: 22px; padding: 11px 16px; font-size: 16px; resize: none; }
.dc-composer__text:focus { outline: 2px solid var(--dk-teal, #2F6F73); }
.dc-composer__more-in { padding-block-start: 10px; }
.dc-composer__types { margin-block-end: 8px; }
.dc-composer__tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dc-composer__file { cursor: pointer; }
.dc-composer__file.is-disabled { opacity: .45; pointer-events: none; }
.dc-composer__media { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-block-start: 10px; }
.dc-composer__thumb { position: relative; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.dc-composer__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.dc-composer__thumb.is-uploading img { opacity: .5; }
.dc-composer__thumb .dk-spinner { position: absolute; top: 34%; left: 50%; translate: -50% 0; }
/* Remove button: a real tap target; the alt field is 16px so iOS does not zoom on focus. */
.dc-composer__remove { position: absolute; top: 4px; inset-inline-end: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(27, 35, 51, .75); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.dc-composer__alt { font-size: 16px; min-height: 32px; padding: 5px 8px; border: 1px solid rgba(27, 35, 51, .15); border-radius: 8px; width: 100%; min-width: 0; background: #fff; }
.dc-composer__vis select { min-height: 34px; }

/* ---------- Posts ---------- */
.dc-post { position: relative; padding: 14px 16px 10px; border-radius: var(--dc-r-lg, 20px); overflow: visible; }
.dc-post.is-pending { opacity: .65; }
.dc-post.is-pinned { box-shadow: inset 0 0 0 2px var(--dk-sage, #9DB4A4); }
.dc-post .dk-post__head { display: flex; gap: 10px; align-items: flex-start; }
.dk-post__who { flex: 1; min-width: 0; }
.dk-row--tight { gap: 6px; }
.dc-post .dk-user__name { font-weight: 700; color: inherit; text-decoration: none; }
/* Name and time links in the post head: enough height to tap (the row stays visually tight). */
.dc-post .dk-post__who .dk-user__name { display: inline-block; padding-block: 4px; margin-block: -4px; }
.dc-post__time { display: inline-block; padding-block: 6px; margin-block: -6px; }
.dc-post .dk-user__meta { font-size: 13px; color: #6A7282; display: flex; flex-wrap: wrap; gap: 0 4px; align-items: center; min-height: 32px; }
.dc-post__time { color: inherit; text-decoration: none; }
.dc-post__time:hover { text-decoration: underline; }
.dc-lvl { font-size: 14px; }
.dc-type-chip { margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--dk-sky, #E4EEEE); color: var(--dk-teal, #2F6F73); font-weight: 700; font-size: 12px; }
.dc-type-chip.is-resolved { background: #E3ECE6; color: #3F5C4A; }
.dc-post .dk-post__body { white-space: normal; padding: 0; margin-block: 10px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.dc-post__text.is-short { font-size: 19px; line-height: 1.45; }
/* Long posts: clamped in the feed, "read more" expands. */
.dc-post__text.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 10; overflow: hidden; }
.dc-post__more { display: inline-flex; align-items: center; min-height: 36px; margin-block-start: 2px; padding: 0 2px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--dk-teal, #2F6F73); cursor: pointer; }
.dc-post__more:hover { color: var(--dk-clay, #B5523F); }
.dc-post__more:focus-visible { outline: 2px solid var(--dk-teal, #2F6F73); border-radius: 6px; }
.dc-post--win .dc-post__text.is-short, .dc-post--system .dc-post__text { font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-post__challenge { margin: 0 0 6px; font-size: 14px; color: var(--dk-teal, #2F6F73); background: var(--dk-sky, #E4EEEE); display: inline-block; padding: 4px 10px; border-radius: 10px; }
.dc-app a.dk-mention { unicode-bidi: isolate; }
.dc-post a.dk-mention, .dc-comment a.dk-mention { color: var(--dk-teal, #2F6F73); font-weight: 600; text-decoration: none; background: color-mix(in srgb, var(--dk-sky, #E4EEEE) 60%, transparent); border-radius: 6px; padding: 0 3px; }
.dc-post__ribbon { position: relative; margin: -14px -16px 10px; padding: 9px 16px; border-radius: 20px 20px 0 0; font-weight: 800; font-family: var(--dk-font-head, Heebo, sans-serif); overflow: hidden; color: var(--dk-ink, #1B2333); background: linear-gradient(100deg, var(--dk-mustard, #C9A46E), #D9BC8C 55%, var(--dk-peach, #F3E3C3)); }
.dc-post--system .dc-post__ribbon { color: #fff; background: linear-gradient(100deg, var(--dk-teal, #2F6F73), var(--dk-teal-600, #245A5E) 60%, var(--dk-moss, #5E7D69)); }
.dc-post--milestone .dc-post__ribbon { background: linear-gradient(100deg, var(--dk-sage, #9DB4A4), #D3E0D7); }
.dc-post--win, .dc-post--system, .dc-post--milestone { background: linear-gradient(180deg, #FAF7F2, var(--dk-paper, #FFFFFF) 40%); }
.dc-confetti-bit { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--dk-clay, #B5523F); top: 10px; inset-inline-end: 30px; transform: rotate(20deg); opacity: .8; }
.dc-confetti-bit:nth-child(3) { background: var(--dk-teal, #2F6F73); inset-inline-end: 64px; top: 22px; transform: rotate(-30deg); }
.dc-confetti-bit:nth-child(4) { background: #fff; inset-inline-end: 98px; top: 8px; border-radius: 50%; }
.dc-post--help { box-shadow: inset 4px 0 0 var(--dk-sky, #E4EEEE); }
.dc-post--help.is-resolved { box-shadow: inset 4px 0 0 #C9D9CE; }

.dc-post .dk-media-grid { display: grid; gap: 4px; border-radius: 16px; overflow: hidden; margin-block: 8px; }
.dc-post .dk-media-grid--2, .dc-post .dk-media-grid--4 { grid-template-columns: 1fr 1fr; }
.dc-post .dk-media-grid--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.dc-post .dk-media-grid--3 .dk-media-grid__item:first-child { grid-row: span 2; }
.dk-media-grid__item { padding: 0; border: 0; background: var(--dk-cream, #FAF7F2); cursor: zoom-in; display: block; }
.dk-media-grid__item img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
.dk-media-grid--1 .dk-media-grid__item img { height: auto; }

.dc-embed { margin-block: 8px; border-radius: 16px; overflow: hidden; background: var(--dk-ink, #1B2333); aspect-ratio: 16 / 9; }
.dc-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.dc-embed__cover { width: 100%; height: 100%; border: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; cursor: pointer; background: radial-gradient(circle at 30% 30%, #2A3448, #0E182E); font: inherit; text-align: start; }
.dc-embed__cover small { display: block; opacity: .8; font-size: 12px; }
.dc-embed__play { width: 58px; height: 58px; border-radius: 50%; background: var(--dk-clay, #B5523F); display: grid; place-items: center; font-size: 22px; }

.dc-help-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--dk-sky, #E4EEEE); margin-block: 6px; }
.dc-help-bar .dk-small { flex: 1; min-width: 140px; color: var(--dk-teal, #2F6F73); font-weight: 600; }

.dc-post__summary { display: flex; align-items: center; gap: 8px; padding-block: 6px; font-size: 13px; color: #6A7282; }
.dc-rx-summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; border: 0; background: none; padding: 2px 0; color: inherit; font: inherit; cursor: pointer; }
.dc-rx-summary__emojis span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-inline-start: -5px; border-radius: 50%; background: var(--dk-paper, #FFFFFF); box-shadow: 0 0 0 2px var(--dk-paper, #FFFFFF); font-size: 14px; }
.dc-rx-summary__emojis span:first-child { margin-inline-start: 0; }
.dk-avatar-stack { display: inline-flex; }
.dk-avatar-stack img { margin-inline-start: -6px; box-shadow: 0 0 0 2px var(--dk-paper, #FFFFFF); border-radius: 50%; }
.dk-avatar-stack img:first-child { margin-inline-start: 0; }

.dc-post .dk-post__actions { display: flex; gap: 4px; border-block-start: 1px solid rgba(27, 35, 51, .08); padding-block-start: 6px; }
.dc-post .dk-post__actions > * { flex: 1; }
.dk-react-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 12px; background: none; color: #4A5262; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.dk-react-btn:hover { background: var(--dk-cream, #FAF7F2); }
.dk-react-btn:focus-visible { outline: 2px solid var(--dk-teal, #2F6F73); }
.dk-react-btn.is-active { color: var(--dk-clay-600, #963F30); }
.dk-react-btn__emoji { font-size: 18px; transition: transform .2s; }
.dk-react-btn.is-active .dk-react-btn__emoji { animation: dc-pop .35s ease; }
.dk-react-btn--sm { min-height: 28px; padding: 2px 6px; font-size: 13px; }
.dk-react-btn--sm .dk-react-btn__emoji { font-size: 14px; }
@keyframes dc-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }

.dc-react { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.dc-react > .dk-react-btn { flex: 0 1 auto; }
.dk-post__actions .dc-react > .dk-react-btn { padding-inline-end: 4px; }
.dc-react__more { border: 0; background: none; color: #6A7282; padding: 4px; border-radius: 8px; cursor: pointer; display: inline-grid; place-items: center; min-width: 26px; min-height: 26px; }
.dk-post__actions .dc-react__more { min-width: 32px; min-height: 40px; }
.dk-react-btn__empty { display: inline-flex; }
.dk-react-btn__heart { width: 18px; height: 18px; color: #7A8292; }
.dk-react-btn:hover .dk-react-btn__heart { color: var(--dk-clay, #B5523F); }
.dk-react-btn--sm .dk-react-btn__heart { width: 15px; height: 15px; }
.dc-react__more:hover, .dc-react__more:focus-visible { background: var(--dk-cream, #FAF7F2); color: var(--dk-ink, #1B2333); outline: none; box-shadow: 0 0 0 2px var(--dk-teal, #2F6F73); }
.dc-picker { position: absolute; inset-block-end: calc(100% + 6px); inset-inline-start: 0; z-index: 40; display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: var(--dk-paper, #FFFFFF); box-shadow: 0 12px 32px rgba(27, 35, 51, .22); white-space: nowrap; }
.dc-picker__item { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; font-size: 26px; cursor: pointer; transition: transform .15s ease; display: grid; place-items: center; }
.dc-picker__item:hover, .dc-picker__item:focus-visible { transform: translateY(-4px) scale(1.25); outline: none; background: var(--dk-cream, #FAF7F2); }
.dc-picker__item.is-active { background: var(--dk-peach, #F3E3C3); }

/* Comments */
.dc-post .dk-post__comments { display: flex; flex-direction: column; gap: 10px; padding-block: 8px 2px; }
.dc-more-comments { align-self: flex-start; min-height: 32px; }
.dc-post__summary .dk-link { min-height: 32px; }
.dc-thread { display: flex; flex-direction: column; gap: 8px; }
.dc-comment { display: flex; gap: 8px; align-items: flex-start; }
.dc-comment.is-pending { opacity: .6; }
.dc-comment.is-highlight .dc-comment__bubble { box-shadow: 0 0 0 2px var(--dk-mustard, #C9A46E); }
.dc-comment__main { min-width: 0; flex: 1; }
.dc-comment__bubble { position: relative; display: inline-block; max-width: 100%; padding: 8px 12px; border-radius: 4px 18px 18px 18px; background: var(--dk-paper, #FFFFFF); box-shadow: 0 0 0 1.5px var(--dk-line, #E9D9C5), 0 2px 0 rgba(21, 35, 63, .05); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
[dir="rtl"] .dc-comment__bubble, .rtl .dc-comment__bubble { border-radius: 18px 4px 18px 18px; }
.dc-comment__bubble .dk-user__name { display: inline-block; padding-block: 6px; margin-block: -6px; font-size: 13px; font-weight: 700; color: inherit; text-decoration: none; }
.dc-comment__text { display: block; }
.dc-comment__rx { position: absolute; inset-block-end: -10px; inset-inline-end: -6px; display: inline-flex; gap: 2px; align-items: center; padding: 1px 6px; border-radius: 999px; background: var(--dk-paper, #FFFFFF); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); font-size: 12px; cursor: pointer; }
.dc-comment__meta { display: flex; align-items: center; gap: 0 10px; padding-inline-start: 8px; margin-block-start: 2px; flex-wrap: wrap; font-size: 12px; }
.dc-comment__meta time { color: #6A7282; }
.dc-comment__meta .dk-link { background: none; border: 0; padding: 0 2px; min-height: 32px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; color: #4A5262; }
.dc-comment__meta .dk-link:hover { color: var(--dk-clay-600, #963F30); }
.dc-comment__meta .dc-react { gap: 0; }
.dc-comment__meta .dk-react-btn--sm { padding: 2px 6px; gap: 4px; min-height: 32px; min-width: 32px; font-size: 12px; }
.dc-comment__meta .dc-react__more { min-width: 28px; min-height: 32px; padding: 2px; }
@media (max-width: 480px) {
	.dc-comment__meta { gap: 0 8px; }
	.dc-comment__meta .dk-react-btn__label { display: none; }
}
.dc-replies { margin-inline-start: 38px; display: flex; flex-direction: column; gap: 8px; }
.dc-comment.is-reply .dc-comment__bubble { background: color-mix(in srgb, var(--dk-sky, #E4EEEE) 55%, #fff); }
.dc-comment-form { display: flex; gap: 8px; align-items: flex-end; padding-block: 8px 4px; }
.dc-comment-form--reply { margin-inline-start: 38px; }
.dc-comment-form .dk-textarea { flex: 1; min-height: 40px; border-radius: 20px; padding: 8px 14px; resize: none; background: var(--dk-cream, #FAF7F2); border: 1px solid transparent; font-size: 16px; }
.dc-comment-form .dk-textarea:focus { border-color: var(--dk-teal, #2F6F73); outline: none; }
.dc-menu-wrap { position: relative; }
.dc-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 4px); z-index: 45; min-width: 200px; background: var(--dk-paper, #FFFFFF); border-radius: 14px; box-shadow: 0 14px 40px rgba(27, 35, 51, .2); padding: 6px; display: flex; flex-direction: column; }
.dc-menu .dk-menu__item { display: flex; gap: 8px; align-items: center; padding: 9px 10px; border: 0; background: none; border-radius: 10px; font: inherit; text-align: start; cursor: pointer; color: inherit; }
.dc-menu .dk-menu__item:hover, .dc-menu .dk-menu__item:focus-visible { background: var(--dk-cream, #FAF7F2); outline: none; }
.dk-menu__item--danger { color: #8F3B2D !important; }

/* Teasers */
.dc-teaser { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--dk-line, #E8E1D4); box-shadow: 0 6px 20px rgba(21, 35, 63, .06); }
.dc-teaser__art img { width: 96px; height: 96px; object-fit: cover; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; }
.dc-teaser h3 { margin: 6px 0 4px; }
.dc-teaser p { margin: 0 0 8px; }

/* Skeletons */
.dc-skel-row { display: flex; gap: 10px; align-items: center; }
.dc-skel-row .dk-skeleton--circle { width: 40px; height: 40px; flex: none; }
.dc-skel-post { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.dc-app .dk-skeleton { background: linear-gradient(90deg, #EFE8DC 25%, #FAF7F2 37%, #EFE8DC 63%); background-size: 400% 100%; animation: dc-shimmer 1.3s ease infinite; border-radius: 10px; min-height: 12px; }
.dc-app .dk-skeleton--circle { border-radius: 50%; }
.dc-app .dk-skeleton--card { min-height: 120px; border-radius: 18px; }
@keyframes dc-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------- Daily card ---------- */
.dc-daily { padding: 16px; border-radius: var(--dc-r-lg, 20px); background: linear-gradient(170deg, #FAF7F2, var(--dk-paper, #FFFFFF) 55%); overflow: hidden; }
.dc-daily__inner { display: flex; flex-direction: column; gap: 14px; }
.dc-daily__head { display: flex; gap: 10px; align-items: flex-end; }
.dc-guri { object-fit: contain; flex: none; }
.dc-guri--sm { width: 40px; height: 40px; }
.dc-guri--lg { width: 120px; height: 120px; }
.dc-guri--xl { width: 160px; height: 160px; }
.dc-daily__head .dc-guri { width: 72px; height: 72px; animation: dc-bob 4s ease-in-out infinite; }
.dc-guri video, .dc-guri img, .dc-guri .dk-guri-media { width: 100%; height: 100%; object-fit: contain; display: block; }
.dc-welcome__guri .dc-guri { display: inline-block; }
@keyframes dc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.dc-daily__bubble { flex: 1; position: relative; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--dk-peach, #F3E3C3); font-size: 14px; line-height: 1.45; }
.dc-daily__greet { display: block; font-family: var(--dk-font-head, Heebo, sans-serif); font-size: 17px; }
.dc-daily__stats { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dc-daily__level { display: flex; gap: 10px; align-items: center; }
.dc-daily__level-text { display: flex; flex-direction: column; }
.dc-daily__streak { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: 16px; background: #FAF0DE; }
.dc-daily__streak.is-hot { background: linear-gradient(100deg, #F3E3C3, #FAF0DE); }
.dc-flame { font-size: 26px; display: inline-block; }
.dc-daily__streak.is-hot .dc-flame { animation: dc-flicker 1.6s ease-in-out infinite; }
@keyframes dc-flicker { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.12) rotate(3deg); } }
.dc-week { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-basis: 100%; }
.dc-week__day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; border-radius: 10px; background: rgba(255, 255, 255, .7); min-height: 44px; font-size: 16px; }
.dc-week__day small { font-size: 11px; color: #6A7282; font-weight: 700; }
.dc-week__day.is-active { background: var(--dk-mustard, #C9A46E); }
.dc-week__day.is-active small { color: var(--dk-ink, #1B2333); }
.dc-week__day.is-today { box-shadow: inset 0 0 0 2px var(--dk-clay, #B5523F); }
.dc-week__day.is-future { opacity: .5; }
.dc-week__day.is-frozen { background: var(--dk-sky, #E4EEEE); }
.dc-freeze { flex-basis: 100%; }
.dc-daily__bananas { display: flex; align-items: center; gap: 6px; }
.dc-daily__bananas strong { font-size: 20px; font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-banana-count { font-size: 22px; }

.dc-level-ring { --value: 0; --ring: var(--dk-mustard, #C9A46E); position: relative; display: inline-grid; place-items: center; padding: 4px; border-radius: 50%; background: conic-gradient(var(--ring) calc(var(--value) * 1%), rgba(27, 35, 51, .1) 0); flex: none; }
.dc-level-ring > img { border: 3px solid var(--dk-paper, #FFFFFF); border-radius: 50%; display: block; }
.dc-level-ring__icon { position: absolute; inset-block-end: -4px; inset-inline-end: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--dk-paper, #FFFFFF); display: grid; place-items: center; font-size: 15px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.dc-level-ring--xl { padding: 6px; }
.dc-level-ring--xl .dc-level-ring__icon { width: 36px; height: 36px; font-size: 20px; }
.dc-level-ring--lg { width: 84px; height: 84px; }
.dc-level-ring__big { width: 70px; height: 70px; border-radius: 50%; background: var(--dk-paper, #FFFFFF); display: grid; place-items: center; font-size: 34px; }

.dc-checkin-btn { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 18px; border: 0; border-radius: 18px; background: var(--dk-mustard, #C9A46E); color: var(--dk-ink, #1B2333); font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 0 #8C6A3A, 0 10px 24px rgba(201, 164, 110, .35); transition: transform .1s ease, box-shadow .1s ease; }
.dc-checkin-btn:hover { transform: translateY(-1px); }
.dc-checkin-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #8C6A3A; }
.dc-checkin-btn:focus-visible { outline: 3px solid var(--dk-teal, #2F6F73); outline-offset: 3px; }
.dc-checkin-btn__banana { font-size: 22px; color: #C9A46E; display: inline-block; }
.dc-checkin-btn--sm { min-height: 40px; font-size: 15px; width: auto; box-shadow: 0 4px 0 #8C6A3A; }
.dc-plus { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-size: 13px; }
.dc-checked { margin: 0; padding: 12px; border-radius: 14px; background: #E7EEE9; color: #3F5C4A; font-weight: 700; text-align: center; }
.dc-daily__section { padding-block-start: 12px; border-block-start: 1px dashed rgba(27, 35, 51, .14); }
.dc-daily__h { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.dc-moods { display: flex; gap: 6px; }
.dc-mood { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border: 1.5px solid transparent; border-radius: 14px; background: rgba(255, 255, 255, .8); cursor: pointer; font: inherit; color: inherit; }
.dc-mood__emoji { font-size: 26px; transition: transform .15s; }
.dc-mood small { font-size: 11px; color: #4A5262; }
.dc-mood:hover .dc-mood__emoji { transform: scale(1.15); }
.dc-mood.is-active { border-color: var(--dk-teal, #2F6F73); background: var(--dk-sky, #E4EEEE); }
.dc-mood:focus-visible { outline: 2px solid var(--dk-teal, #2F6F73); }
.dc-mood-note { display: flex; flex-direction: column; gap: 6px; margin-block-start: 8px; }
.dc-challenge { position: relative; }
.dc-challenge__head { display: flex; justify-content: space-between; align-items: center; }
.dc-challenge__title { margin: 6px 0 4px; font-size: 17px; font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-challenge__text { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.dc-challenge.is-done .dc-challenge__title { text-decoration: line-through; text-decoration-color: var(--dk-mustard, #C9A46E); text-decoration-thickness: 3px; }
.dc-poll__q { margin: 6px 0 8px; font-size: 16px; }
.dc-poll__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-poll__opt { padding: 8px 14px; min-height: 40px; border: 1px solid rgba(47, 111, 115, .22); border-radius: 999px; background: #fff; text-align: start; font: inherit; font-size: .95rem; cursor: pointer; color: inherit; }
.dc-poll__opt:hover, .dc-poll__opt:focus-visible { border-color: var(--dk-teal, #2F6F73); background: var(--dk-sky, #E4EEEE); outline: none; }
.dc-poll__results { display: flex; flex-direction: column; gap: 6px; }
.dc-poll__bar { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #F1ECE3; overflow: hidden; font-size: 14px; }
.dc-poll__fill { position: absolute; inset-block: 0; inset-inline-start: 0; background: color-mix(in srgb, var(--dk-sage, #9DB4A4) 70%, #fff); border-radius: 12px; transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.dc-poll__bar.is-mine .dc-poll__fill { background: var(--dk-mustard, #C9A46E); }
.dc-poll__label, .dc-poll__pct { position: relative; font-weight: 600; }
.dc-daily__foot { display: block; text-align: center; font-weight: 700; padding-block: 8px 4px; min-height: 36px; }
.dc-daily__section > .dk-link.dk-small { min-height: 32px; display: inline-flex; align-items: center; }
.dc-welcome__nav .dk-link { min-height: 40px; display: inline-flex; align-items: center; padding-inline: 8px; }

/* Mobile strip */
.dc-daily-strip { border-radius: 20px; background: linear-gradient(110deg, #F6EBD3, var(--dk-paper, #FFFFFF)); box-shadow: var(--dc-shadow, 0 6px 20px rgba(21, 35, 63, .08)); overflow: hidden; }
.dc-daily-strip__bar { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; text-align: start; font: inherit; color: inherit; cursor: pointer; }
.dc-daily-strip__text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dc-daily-strip__text small { color: #6A7282; font-size: 12px; }
.dc-daily-strip__chips { display: flex; gap: 4px; }
.dc-chip-stat { padding: 3px 8px; border-radius: 999px; background: #fff; font-size: 13px; white-space: nowrap; }
.dc-daily-strip__chev { transition: transform .2s; display: inline-flex; }
.dc-daily-strip__chev.is-open { transform: rotate(180deg); }
.dc-daily-strip__cta { padding: 0 12px 12px; }
.dc-daily-strip__cta .dc-checkin-btn { width: 100%; }
.dc-daily-strip__body { padding: 0 14px 14px; }
@media (min-width: 960px) { .dc-daily-strip { display: none !important; } }
/* Narrow phones (320-360px): the strip keeps the greeting on one line (bananas already sit in the header) and the HUD goes 2x2. */
@media (max-width: 360px) {
	.dc-daily-strip__text strong { font-size: 15px; }
	.dc-daily-strip__chips .dc-chip-stat:nth-child(2) { display: none; }
	.dc-hud { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}

/* Burst + confetti */
.dc-burst { position: fixed; z-index: 9999; pointer-events: none; width: 0; height: 0; }
.dc-burst span { position: absolute; font-size: 22px; animation: dc-burst .95s cubic-bezier(.15, .8, .3, 1) forwards; }
@keyframes dc-burst { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1); opacity: 0; } }
.dc-confetti { position: fixed; inset: 0; z-index: 9998; pointer-events: none; overflow: hidden; }
.dc-confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; font-style: normal; font-size: 20px; animation: dc-fall linear forwards; }
@keyframes dc-fall { to { transform: translateY(105vh) rotate(var(--rot)); } }

/* ---------- Leaderboard ---------- */
.dc-board { display: flex; flex-direction: column; gap: 16px; padding-block-end: 24px; max-width: 880px; margin-inline: auto; }
.dc-board__hero { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 24px; background: linear-gradient(120deg, var(--dk-peach, #F3E3C3), #FAF7F2); }
.dc-board__hero > div { flex: 1; min-width: 0; }
@media (max-width: 520px) {
	.dc-board__hero { align-items: flex-start; padding: 14px; }
	.dc-board__hero .dc-guri--lg { width: 84px; height: 84px; }
	.dc-board__hero .dk-h2 { font-size: 1.5rem; }
	.dc-board__controls .dk-segment { flex: 1 1 100%; }
	.dc-board__controls .dk-segment__item { flex: 1; }
}
.dc-board__hero .dk-h2 { margin: 2px 0 6px; }
.dc-board__hero p { margin: 0; }
.dc-board__controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.dc-podium { display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding-block-start: 24px; }
.dc-podium__place { flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; text-decoration: none; min-width: 0; }
.dc-podium__medal { font-size: 28px; }
.dc-podium__pts { font-size: 13px; font-weight: 700; }
.dc-podium__block { width: 100%; display: grid; place-items: center; border-radius: 16px 16px 6px 6px; font-weight: 900; font-size: 26px; color: #fff; font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-podium__place.is-1 .dc-podium__block { height: 110px; background: linear-gradient(180deg, var(--dk-mustard, #C9A46E), #A8834F); }
.dc-podium__place.is-2 .dc-podium__block { height: 80px; background: linear-gradient(180deg, var(--dk-teal-600, #245A5E), var(--dk-teal, #2F6F73)); }
.dc-podium__place.is-3 .dc-podium__block { height: 60px; background: linear-gradient(180deg, var(--dk-clay, #B5523F), var(--dk-clay-600, #963F30)); }
.dc-podium__place.is-1 .dk-avatar { width: 80px; height: 80px; box-shadow: 0 0 0 4px var(--dk-mustard, #C9A46E); }
.dc-board__list { list-style: none; margin: 0; padding: 0; }
.dc-board__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; }
.dc-board__row.is-me { background: var(--dk-sky, #E4EEEE); }
.dc-board__row .dk-user { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.dc-board__rank { width: 28px; text-align: center; font-weight: 800; color: #6A7282; flex: none; }
.dc-board__pts { font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-board__me { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--dk-teal, #2F6F73); color: #fff; box-shadow: 0 10px 24px rgba(47, 111, 115, .35); }
.dc-board__me span { flex: 1; }
@media (min-width: 960px) { .dc-board__me { bottom: 16px; } }
.dc-board__rules summary { cursor: pointer; padding: 12px 14px; }
.dc-board__rules { padding: 0 6px 10px; }
.dc-levels { list-style: none; padding: 0 10px; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.dc-board-mini__list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dc-board-mini__list li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dc-board-mini__list li.is-me { font-weight: 700; }
.dc-board-mini__list .dk-user { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.dc-widget__body > a.dk-link.dk-small, .dc-board-mini > a.dk-link.dk-small { display: inline-flex; align-items: center; min-height: 32px; }

/* Suggestions + online */
.dc-suggest { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dc-suggest__item { display: flex; align-items: center; gap: 10px; }
.dc-suggest__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dc-suggest__who .dk-user__name { font-weight: 700; color: inherit; text-decoration: none; }
.dc-online { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-online__more { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dk-cream, #FAF7F2); font-weight: 700; font-size: 13px; }
.dk-presence { position: absolute; inset-block-end: 0; inset-inline-end: 0; width: 11px; height: 11px; border-radius: 50%; background: #D2CCC2; box-shadow: 0 0 0 2px var(--dk-paper, #FFFFFF); }
.dk-presence.is-online { background: #6E9B7F; }

/* ---------- Profile ---------- */
.dc-profile { display: flex; flex-direction: column; gap: 14px; }
.dc-profile__cover { position: relative; height: 170px; margin-inline: -16px; border-radius: 0 0 28px 28px; background-color: var(--dk-peach, #F3E3C3); background-size: cover; background-position: center; }
.dc-profile__cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 50%, rgba(27, 35, 51, .25)); }
@media (min-width: 720px) { .dc-profile__cover { height: 240px; margin-inline: 0; border-radius: 28px; } }
.dc-profile__cover-btn { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; z-index: 2; cursor: pointer; }
.dc-profile__head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-start; padding-inline: 8px; position: relative; z-index: 3; }
.dc-profile__avatar { margin-block-start: -64px; }
.dc-profile__id { padding-block-start: 6px; }
.dc-profile__actions { flex-basis: 100%; }
@media (min-width: 720px) { .dc-profile__avatar { margin-block-start: -78px; } .dc-profile__actions { flex-basis: auto; align-self: center; } }
.dc-profile__avatar { position: relative; flex: none; }
.dc-profile__avatar .dc-level-ring { background-color: var(--dk-paper, #FFFFFF); }
.dc-profile__presence { inset-block-end: 14px; inset-inline-end: auto; inset-inline-start: 14px; width: 18px; height: 18px; box-shadow: 0 0 0 3px var(--dk-paper, #FFFFFF); }
.dc-profile__body { display: flex; flex-direction: column; gap: 14px; }
.dc-profile__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dc-profile__main { min-width: 0; }
@media (min-width: 1024px) {
	.dc-profile__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
	.dc-profile__side { grid-column: 2; grid-row: 1; }
	.dc-profile__main { grid-column: 1; grid-row: 1; }
	.dc-profile__side .dc-profile__stats { grid-template-columns: repeat(2, 1fr); }
	.dc-profile__side .dc-journey.dk-card .dc-journey__name { opacity: 0; font-size: 11px; }
	.dc-profile__side .dc-journey.dk-card .dc-journey__st.is-current .dc-journey__name, .dc-profile__side .dc-journey.dk-card .dc-journey__st.is-current + .dc-journey__st .dc-journey__name { opacity: 1; }
	.dc-profile__side .dc-completion { flex-wrap: wrap; }
	.dc-profile__bio { padding: 14px 16px; border-radius: 20px; background: var(--dk-paper, #FFFFFF); border: 2px solid var(--dk-edge, rgba(27, 35, 51, .14)); }
}
@media (max-width: 719px) {
	.dc-profile__actions > .dk-row { flex-wrap: nowrap; width: 100%; }
	.dc-profile__actions > .dk-row > :first-child { flex: 1 1 auto; min-width: 0; }
	.dc-profile__actions .dc-friend-btn .dk-btn { width: 100%; }
	.dc-profile__actions > .dk-btn--primary { width: 100%; }
}
.dc-profile__avatar-btn { position: absolute; inset-block-start: 4px; inset-inline-start: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--dk-teal, #2F6F73); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.dc-profile__avatar-btn:focus-within { outline: 3px solid var(--dk-mustard, #C9A46E); }
.dc-profile__id { flex: 1; min-width: 200px; }
.dc-profile__name { margin: 0; }
.dc-profile__level { margin: 2px 0; color: #4A5262; font-weight: 600; font-size: 14px; }
.dc-profile__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dc-stickers { display: flex; gap: 6px; margin-block-start: 6px; flex-wrap: wrap; }
.dc-sticker { --tilt: 0deg; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(27, 35, 51, .22); transform: rotate(var(--tilt)); font-size: 22px; }
.dc-sticker--lg { width: 72px; height: 72px; font-size: 38px; }
.dc-profile__bio { margin: 0; font-size: 16px; line-height: 1.6; white-space: pre-line; }
.dc-profile__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; }
.dc-profile__stats div { padding: 10px 6px; border-radius: 16px; background: var(--dk-paper, #FFFFFF); box-shadow: var(--dc-shadow, 0 6px 20px rgba(21, 35, 63, .08)); text-align: center; }
.dc-profile__stats dt { font-size: 12px; color: #6A7282; }
.dc-profile__stats dd { margin: 2px 0 0; font-weight: 800; font-size: 17px; font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-profile__mutual { display: flex; align-items: center; gap: 8px; margin: 0; }
.dc-profile__tabs { margin-block-end: 12px; overflow-x: auto; }
.dc-profile__pane { display: flex; flex-direction: column; gap: 14px; }
.dc-completion { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; }
.dc-completion > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.dc-people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .dc-people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .dc-people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dc-person { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px; text-align: center; border-radius: 20px; height: 100%; min-width: 0; }
.dc-person__link { display: flex; flex-direction: column; align-items: center; gap: 6px; color: inherit; text-decoration: none; max-width: 100%; }
.dc-person__name { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.dc-person__meta { min-height: 18px; line-height: 1.4; }
.dc-person > :last-child:not(.dc-person__link):not(.dc-person__meta) { margin-block-start: auto; padding-block-start: 4px; }
.dc-friend-btn { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.dc-person .dc-friend-btn .dk-btn { max-width: 100%; padding-inline: 10px; white-space: normal; line-height: 1.2; text-align: center; }
.dc-friend-btn .dk-row--tight { justify-content: center; }
.dc-badge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .dc-badge-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dc-badge-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border-radius: 20px; background: var(--dk-paper, #FFFFFF); text-align: center; box-shadow: var(--dc-shadow, 0 6px 20px rgba(21, 35, 63, .08)); }
.dc-badge-card.is-locked { opacity: .55; filter: grayscale(.8); box-shadow: none; border: 1.5px dashed rgba(27, 35, 51, .2); }
.dc-journal { padding: 16px; }
.dc-journal__head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.dc-journal__avg { display: flex; flex-direction: column; align-items: center; font-size: 30px; }
.dc-mood-cal { list-style: none; margin: 12px 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.dc-mood-cal__day { position: relative; aspect-ratio: 1; border-radius: 12px; background: #F1ECE3; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dc-mood-cal__num { position: absolute; top: 3px; inset-inline-start: 5px; font-size: 10px; color: #6A7282; }
.dc-mood-cal__emoji { font-size: 20px; }
.dc-mood-cal__day.m5 { background: #E3ECE6; } .dc-mood-cal__day.m4 { background: #E7EEE9; } .dc-mood-cal__day.m3 { background: #F6EBD3; } .dc-mood-cal__day.m2 { background: #F3E3C3; } .dc-mood-cal__day.m1 { background: #F1D9D3; }
.dc-mood-cal__day.is-today { box-shadow: inset 0 0 0 2px var(--dk-teal, #2F6F73); }
.dc-mood-cal__dot { position: absolute; bottom: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--dk-clay, #B5523F); }
.dc-journal__notes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.dc-edit-modal .dk-modal__dialog { display: flex; flex-direction: column; max-height: min(92dvh, 860px); overflow: hidden; }
.dc-edit-modal .dk-modal__header h2 { margin: 0; }
.dc-edit-modal .dk-modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dc-edit-modal .dk-modal__footer { flex: none; justify-content: flex-start; background: var(--dk-paper, #FFFFFF); }
@media (max-width: 719px) {
	/* Phones: a bottom sheet with a sticky header and footer. */
	.dc-edit-modal { padding: 0; place-items: end center; }
	.dc-edit-modal .dk-modal__dialog { width: 100%; max-height: 94dvh; border-radius: var(--dk-r-xl, 28px) var(--dk-r-xl, 28px) 0 0; padding-bottom: var(--dk-safe-bottom, 0px); animation: dk-sheet-up .32s var(--dk-ease, ease); }
	.dc-edit-modal .dk-modal__footer .dk-btn--primary { flex: 1; }
}
.dc-search-row { margin-block-end: 6px; }
.dc-switch-row { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 10px; cursor: pointer; }
.dc-bananas-summary { display: flex; gap: 14px; align-items: center; }
.dc-pts { min-width: 48px; text-align: end; color: var(--dk-moss, #5E7D69); }
.dc-pts.is-neg { color: #8F3B2D; }
.dc-account { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Directory ---------- */
.dc-directory { display: flex; flex-direction: column; gap: 14px; }
.dc-directory__filters { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 20px; }
.dc-directory__selects { gap: 8px; }
.dc-directory__selects > * { flex: 1 1 140px; min-width: 0; }
.dc-stars__title { font-size: 17px; margin: 0 0 8px; font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-stars__row { display: flex; gap: 10px; overflow-x: auto; padding-block-end: 6px; scroll-snap-type: x mandatory; }
.dc-star { position: relative; flex: 0 0 104px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 20px; background: linear-gradient(180deg, #F8F0DF, var(--dk-paper, #FFFFFF)); color: inherit; text-decoration: none; box-shadow: var(--dc-shadow, 0 6px 20px rgba(21, 35, 63, .08)); }
.dc-star strong { max-width: 100%; }
.dc-star__rank { position: absolute; top: 6px; inset-inline-start: 8px; font-weight: 800; }

/* ---------- Onboarding ---------- */
.dc-welcome { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; position: relative; }
.dc-welcome__progress { display: flex; align-items: center; gap: 10px; }
.dc-welcome__progress .dk-progress { flex: 1; height: 10px; border-radius: 999px; background: #E9D9C5; overflow: hidden; }
.dc-welcome__progress .dk-progress__bar { height: 100%; background: linear-gradient(90deg, var(--dk-mustard, #C9A46E), var(--dk-clay, #B5523F)); border-radius: inherit; transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.dc-welcome__stage { display: flex; align-items: flex-end; gap: 10px; }
.dc-welcome__guri .dc-guri { width: 110px; height: 110px; animation: dc-bob 3.6s ease-in-out infinite; }
@media (min-width: 720px) { .dc-welcome__guri .dc-guri { width: 150px; height: 150px; } }
.dc-guri.is-cheer { animation: dc-bob 4.2s ease-in-out infinite; }
@keyframes dc-jump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-12px) rotate(-3deg); } }
.dc-welcome__bubble, .dc-daily__bubble { white-space: normal; max-width: none; }
.dc-welcome__bubble { flex: 1; position: relative; padding: 14px 18px; border-radius: 22px 22px 22px 6px; background: var(--dk-sky, #E4EEEE); font-size: 16px; line-height: 1.55; box-shadow: var(--dc-shadow, 0 6px 20px rgba(21, 35, 63, .08)); }
.dc-welcome__bubble p { margin: 0; }
.dc-welcome__card { border-radius: 26px; padding: 20px; }
.dc-welcome__card section { display: flex; flex-direction: column; gap: 12px; }
.dc-welcome__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.dc-welcome__photo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dc-welcome__interests .dk-chip--lg, .dk-chip--lg { padding: 10px 16px; font-size: 15px; }
.dc-welcome__interests { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); gap: 8px; }
@media (max-width: 480px) { .dc-welcome__interests .dk-chip--lg { padding: 8px 10px; font-size: 14px; line-height: 1.3; } }
.dc-welcome__interests .dk-chip { justify-content: center; text-align: center; min-height: 44px; }
.dc-app fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.dc-app fieldset > legend { padding: 0; margin-block-end: 8px; }
.dc-welcome .dk-textarea { resize: none; }
.dc-welcome__nav { display: flex; align-items: center; gap: 10px; margin-block-start: 18px; flex-wrap: wrap; }
.dc-welcome__later { text-align: center; margin: 10px 0 0; }
.dc-welcome__done { position: fixed; inset: 0; z-index: 9990; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; background: rgba(250, 247, 242, .94); animation: dc-fade-in .5s ease-out both; }
@keyframes dc-fade-in { from { opacity: 0; } to { opacity: 1; } }
.dc-places { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 600px) { .dc-places { grid-template-columns: 1fr 1fr; } }
.dc-place { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid rgba(27, 35, 51, .12); cursor: pointer; background: #fff; }
.dc-place span:nth-child(3) { flex: 1; display: flex; flex-direction: column; }
.dc-place.is-active { border-color: var(--dk-teal, #2F6F73); background: var(--dk-sky, #E4EEEE); }
.dc-place:focus-within { outline: 2px solid var(--dk-teal, #2F6F73); }
.dc-place__emoji { font-size: 24px; }
.dc-place__check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--dk-cream, #FAF7F2); font-weight: 800; }
.dc-people-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Onboarding: the X at the top and the features tour (step 1) ---------- */
.dc-welcome__x { position: absolute; top: -4px; inset-inline-end: 0; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--dk-cream, #FAF7F2); color: var(--dk-ink, #1B2333); box-shadow: 0 2px 0 var(--dk-line, rgba(27, 35, 51, .14)); cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
.dc-welcome__x:hover, .dc-welcome__x:focus-visible { background: var(--dk-mustard-100, #F6EBD3); transform: rotate(90deg); }
.dc-welcome__x:disabled { opacity: .5; cursor: progress; }
.dc-welcome__x .dk-icon { width: 20px; height: 20px; }
.dc-welcome__progress { padding-inline-end: 54px; } /* room for the X */
.dc-welcome__intro { gap: 10px; }
.dc-welcome__note { margin: 4px 0 0; }

/* ---------- Guest teaser ---------- */

/* ---------- Mentions ---------- */
.dc-mentions[hidden] { display: none !important; }
.dc-mentions { position: absolute; inset-inline-start: 0; top: 100%; z-index: 70; min-width: 220px; max-width: 320px; background: var(--dk-paper, #FFFFFF); border-radius: 14px; box-shadow: 0 14px 40px rgba(27, 35, 51, .22); padding: 4px; }
.dc-mentions__item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.dc-mentions__item small { color: #6A7282; margin-inline-start: auto; }
.dc-mentions__item.is-active, .dc-mentions__item:hover { background: var(--dk-sky, #E4EEEE); }

/* ---------- Modals (lightbox + vanilla report dialog) ---------- */
/* While a community modal/sheet is open the page behind it does not scroll (body class set by feed.js / profiles.js). */
body.dc-modal-open { overflow: hidden; overscroll-behavior: none; }
.dc-app .dk-modal__backdrop { touch-action: none; }
.dc-app .dk-check, .dc-edit-modal .dk-check { min-height: 32px; display: flex; align-items: center; gap: 6px; }
.dc-privacy .dk-check, .dc-account .dk-check, .dm-tab--privacy .dk-check { min-height: 44px; display: flex; align-items: center; }
.dc-privacy .dk-link, .dc-account .dk-link { display: inline-flex; align-items: center; min-height: 44px; }
.dc-lightbox { background: #111 !important; color: #fff; max-width: min(96vw, 1100px) !important; padding: 0 !important; }
.dc-lightbox__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.dc-lightbox__inner img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.dc-lightbox__close { position: absolute; top: 8px; inset-inline-end: 8px; color: #fff; z-index: 2; }
.dc-lightbox__nav { display: flex; align-items: center; gap: 14px; padding: 10px; }
.dc-report-dialog { position: fixed; inset: 0; z-index: 9995; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dc-report-dialog .dk-modal__backdrop { position: absolute; inset: 0; background: rgba(27, 35, 51, .5); }
.dc-report-dialog .dk-modal__dialog { position: relative; width: min(460px, 100%); background: var(--dk-paper, #FFFFFF); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dc-report-dialog .dk-chip input { margin-inline-end: 4px; }


/* ---------- Daily HUD (fridge-door game HUD) ---------- */
.dc-hud { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 8px; }
.dc-hud__keys { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 16px; background: linear-gradient(180deg, #F8F0DF, #fff); box-shadow: 0 3px 0 rgba(27, 35, 51, .08); text-align: center; color: inherit; text-decoration: none; min-width: 0; }
.dc-hud__key { font-size: 20px; }
.dc-hud__cta { color: var(--dk-teal, #2F6F73) !important; font-weight: 700; text-decoration: underline; }
.dc-journey__keys { margin: 4px 0 0; }
.dc-hud > div, .dc-hud > a { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 4px; border-radius: 16px; background: #fff; box-shadow: 0 3px 0 rgba(27, 35, 51, .08); text-align: center; min-width: 0; }
.dc-hud .dk-coin strong { font-size: 18px; }
.dc-hud .dk-coin { max-width: 100%; padding: .05em .55em .05em .2em; gap: .25em; box-shadow: 0 2px 0 #C9A46E; }
.dc-hud .dk-coin__icon { width: 22px; height: 22px; }
.dc-hud .dk-coin__icon img { width: 15px; }
.dc-hud strong { font-family: var(--dk-font-display, Fredoka, Heebo, sans-serif); font-size: 22px; line-height: 1.1; }
.dc-hud small { font-size: 11px; color: #4A5262; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@keyframes dc-coin { 0%, 70%, 100% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } }
.dc-hud__streak.is-hot { background: linear-gradient(180deg, #F3E3C3, #fff); }
.dc-hud__streak.is-hot .dc-flame { animation: dc-flicker 1.6s ease-in-out infinite; }
.dc-hud__streak.is-cold { filter: grayscale(.4); }
.dc-hud__level strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dc-hud__lvl-icon { font-size: 22px; }
.dc-daily__grow { display: grid; grid-template-columns: minmax(118px, 40%) 1fr; gap: 12px; align-items: center; }
.dc-growth { margin: 0; list-style: none; }
.dc-growth .dk-growth__mark { font-size: 1.15rem; padding: .35rem .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-daily__grow-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dc-daily__grow-text p { margin: 0; }
.dc-daily__grow-title { font-size: 20px; line-height: 1; }
.dc-daily__bar { height: 10px; border-radius: 999px; background: #E9D9C5; overflow: hidden; }
.dc-daily__bar .dk-progress__bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--dk-sage, #9DB4A4), var(--dk-moss, #5E7D69)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.dc-challenge.dk-note, .dc-poll.dk-polaroid, .dc-journal.dk-note, .dc-teaser.dk-note { position: relative; }
.dc-challenge.dk-note { border-block-start: 0; margin-block-start: 14px; padding: 18px 14px 14px; }
.dc-poll.dk-polaroid { display: block; border-block-start: 0; margin-block-start: 18px; padding: 18px 12px 14px; }
.dc-sticker-book { padding: 14px; border-radius: 22px; background: repeating-linear-gradient(0deg, #FFFFFF 0 26px, #F1ECE3 26px 27px); }
.dc-post .dk-media-grid.dk-polaroid { display: block; padding: 8px 8px 22px; }
.dc-post .dk-media-grid.dk-polaroid img { aspect-ratio: auto; max-height: 520px; }



/* ---------- Journey: "המסע לאכילה בריאה" ---------- */
.dc-journey { padding: 14px 16px; border-radius: 20px; }
.dc-journey--compact { padding: 4px 0 0; }
.dc-journey__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.dc-journey__title { margin: 0; font-size: 15px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dc-journey__title .dk-hand { font-size: 26px; color: var(--dk-clay, #B5523F); }
.dc-journey__title small { color: #4A5262; font-weight: 600; }
.dc-journey__lvl { color: #4A5262; white-space: nowrap; }
.dc-journey__path { list-style: none; margin: 0; padding: 30px 2px 6px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
.dc-journey__path::before { content: ""; position: absolute; inset-inline: 6%; top: 47px; border-top: 3px dashed rgba(94, 125, 105, .45); }
.dc-journey__st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.dc-journey__st:nth-child(even) { transform: translateY(8px); }
.dc-journey__dot { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: #EFE8DC; border: 2px solid rgba(27, 35, 51, .12); filter: grayscale(.6); }
.dc-journey__st.is-reached .dc-journey__dot { background: var(--dk-sage-100, #E7EEE9); border-color: var(--dk-sage, #9DB4A4); filter: none; }
.dc-journey__st.is-current .dc-journey__dot { width: 40px; height: 40px; font-size: 20px; background: var(--dk-mustard, #C9A46E); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--dk-mustard, #C9A46E), 0 6px 14px rgba(201, 164, 110, .45); }
.dc-journey__name { font-size: 10px; line-height: 1.15; text-align: center; color: #4A5262; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0; }
.dc-journey__st.is-current .dc-journey__name, .dc-journey__st.is-current + .dc-journey__st .dc-journey__name { opacity: 1; font-weight: 700; }
.dc-journey__guri { position: absolute; top: -34px; width: 40px; height: 40px; object-fit: contain; z-index: 2; animation: dc-bob 3s ease-in-out infinite; }
@media (min-width: 720px) { .dc-journey:not(.dc-journey--compact) .dc-journey__name { opacity: 1; font-size: 12px; } }
.dc-journey__next { display: flex; flex-direction: column; gap: 6px; margin-block-start: 8px; }
.dc-journey__next p { margin: 0; }
.dc-journey__unlocks { margin-block-start: 8px; padding: 12px 14px; }
.dc-journey__unlocks-title { margin: 0 0 4px; font-size: 22px; }
.dc-journey__unlocks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.dc-journey__done { margin: 8px 0 0; font-weight: 700; }
.dc-daily__weekrow { display: flex; flex-direction: column; gap: 4px; }
@media (prefers-reduced-motion: reduce) { .dc-journey__guri { animation: none; } }

/* Phones/tablets: leave room under the last item for the floating Shachar launcher (it sits above the bottom nav). */
@media (max-width: 959px) {
	.dc-app.dc-feed-page, .dc-app.dc-profile, .dc-app.dc-directory, .dc-app.dc-notifs, .dc-app.dc-board, .dc-app.dc-welcome, .dcf-app { padding-block-end: 76px; }
}

/* ---------- Motion & a11y ---------- */
@media (prefers-reduced-motion: reduce) {
	.dc-app *, .dc-hdr *, .dc-burst, .dc-confetti { animation: none !important; transition: none !important; }
	.dc-daily__head .dc-guri, .dc-welcome__guri .dc-guri { animation: none !important; }
}
.dc-app :focus-visible { outline-offset: 2px; }
.dc-app [x-cloak], .dc-hdr [x-cloak] { display: none !important; }

/* ---------- Feed: "קורה עכשיו בקהילה" (real recent activity, no counts) ---------- */
.dc-pulse { margin-block-start: 14px; min-width: 0; }
.dc-pulse__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; font-weight: 800; font-family: var(--dk-font-head, Heebo, sans-serif); color: var(--dk-ink, #1B2333); }
.dc-pulse__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--dk-teal, #2F6F73); flex: none; }
.dc-pulse__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--dk-teal, #2F6F73); opacity: 0; animation: dc-pulse-ring 2.4s ease-out infinite; }
@keyframes dc-pulse-ring { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.dc-pulse__track { display: flex; gap: 8px; margin: 0 -16px; padding: 2px 16px 6px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dc-pulse__track::-webkit-scrollbar { display: none; }
.dc-pulse__item { flex: 0 0 min(72%, 240px); scroll-snap-align: start; min-width: 0; }
.dc-pulse__link { display: flex; align-items: flex-start; gap: 8px; height: 100%; padding: 9px 11px; border-radius: 16px; background: var(--dk-paper, #FFFFFF); border: 1.5px solid var(--dk-line, rgba(27, 35, 51, .12)); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.dc-pulse__link:hover, .dc-pulse__link:focus-visible { border-color: var(--dk-teal, #2F6F73); transform: translateY(-1px); }
.dc-pulse__emoji { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--dk-cream, #FAF7F2); font-size: 16px; line-height: 1; }
.dc-pulse__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dc-pulse__text { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.dc-pulse__time { font-size: 12px; color: var(--dk-muted, #6A7282); }
.dc-pulse__time:empty { display: none; }
@media (min-width: 960px) { .dc-pulse__track { margin: 0; padding-inline: 0; scroll-padding-inline: 0; } .dc-pulse__item { flex-basis: 220px; } }
@media (prefers-reduced-motion: reduce) { .dc-pulse__dot::after { animation: none; } }
/* Links inside RTL feed text (Shachar's "להמשך:" lines): the address reads left to right as one piece. */
.dc-comment__text a[href^="http"], .dc-post__text a[href^="http"] { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
.dc-comment__ai .dc-ai-disclaimer { margin-block-start: 2px; font-size: 12px; }

/* ==========================================================================
   KANAF additions: points glyph, calm default cover, onboarding rules, feed teasers, guest examples.
   ========================================================================== */
.dc-fold-icon { display: inline-block; vertical-align: -3px; flex: none; }
.dk-coin__icon .dc-fold-icon { width: 18px; height: 18px; }
.dc-profile__cover.is-default { background-color: #15233F; background-image: radial-gradient(120% 90% at 85% 10%, rgba(201, 164, 110, .28), transparent 55%), linear-gradient(135deg, #15233F 0%, #0E182E 100%) !important; }
.dc-profile__cover.is-default::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .18; background: linear-gradient(135deg, transparent 49.5%, #F3E3C3 50%, transparent 50.5%) 0 0 / 46px 46px, linear-gradient(45deg, transparent 49.5%, #F3E3C3 50%, transparent 50.5%) 0 0 / 46px 46px; }
.dc-welcome__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dc-welcome__points li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.dc-welcome__rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dc-welcome__rules li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: #FAF7F2; border: 1px solid #E8E1D4; }
.dc-welcome__rules li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.dc-welcome__rules strong { color: #15233F; font-family: var(--dk-font-head, Heebo, sans-serif); }
.dc-welcome__rules li > span:last-child > span { color: #4A5262; font-size: 14px; line-height: 1.55; }
.dc-welcome__rule-emoji { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 8px rgba(21, 35, 63, .08); font-size: 17px; }
.dc-welcome__agree { padding: 12px 14px; border-radius: 16px; background: #F6EBD3; border: 1px solid #D9BC8C; font-weight: 600; }
.dc-welcome__agree input { width: 20px; height: 20px; accent-color: #15233F; }
.dc-place.is-recommended:not(.is-active) { border-style: dashed; border-color: #D9BC8C; }
.dc-place .dk-badge--soft { margin-inline-start: 6px; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: #F1ECE3; color: #4A5262; }
.dc-stage-field .dk-chips { gap: 8px; }
.dc-month-field__row { gap: 8px; flex-wrap: wrap; align-items: center; }
.dc-month-field__row .dk-select { flex: 1 1 120px; min-width: 0; }
.dc-teaser__emoji { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 24px; background: #F6EBD3; font-size: 32px; }
.dc-boost-chip { color: #8C6A3A; font-weight: 600; }
/* Profiles: stage chip, member since, message reason; "people at a similar stage" opt-in card. */
.dc-profile__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-block: 4px 2px; }
.dc-stage-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 12px; border-radius: 999px; background: #F6EBD3; color: #15233F; border: 1px solid #D9BC8C; font-size: 13px; font-weight: 700; }
.dc-profile__since { margin: 2px 0 0; }
.dc-profile__msg-reason { margin: 0; }
.dc-profile__actions .dk-btn[disabled] { opacity: .55; cursor: not-allowed; }
.dc-similar-optin { display: flex; flex-direction: column; gap: 8px; }
.dc-similar-optin p { margin: 0; line-height: 1.55; }
.dc-similar__why { margin: 0 0 8px; }
.dc-suggest-field .dc-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Weekly update (before/after) and meals ---------- */
.dc-post__ribbon--soft { background: linear-gradient(100deg, #FAF3E6, #F3E3C3) !important; color: #6B4E21 !important; font-weight: 700; }
.dc-post--meal .dc-post__ribbon--soft { background: linear-gradient(100deg, #EEF3EF, #D3E0D7) !important; color: #2F4A3A !important; }
.dc-composer__note { margin: 4px 0 2px; padding: 10px 14px; border-radius: 14px; background: #FAF7F2; border: 1px solid #EFE7D9; font-size: .9rem; line-height: 1.6; color: #4A5368; }
.dc-composer.is-progress { box-shadow: 0 0 0 2px rgba(201, 164, 110, .45), var(--dk-shadow-sm, 0 8px 20px -14px rgba(21, 35, 63, .3)); }

.dc-compare { margin: 6px 0 4px; }
.dc-compare__frame { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; overflow: hidden; border-radius: 18px; background: #15233F; user-select: none; touch-action: pan-y; }
.dc-compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dc-compare__before { position: absolute; inset: 0; will-change: clip-path; }
.dc-compare__tag { position: absolute; top: 12px; z-index: 3; padding: 5px 12px; border-radius: 999px; font: 700 .8rem/1 Assistant, Heebo, sans-serif; letter-spacing: .02em; }
.dc-compare__tag--before { right: 12px; background: rgba(21, 35, 63, .82); color: #F3E3C3; }
.dc-compare__tag--after { left: 12px; background: rgba(243, 227, 195, .92); color: #15233F; }
.dc-compare__line { position: absolute; top: 0; bottom: 0; z-index: 2; width: 2px; margin-right: -1px; background: #F3E3C3; box-shadow: 0 0 0 1px rgba(21, 35, 63, .25); pointer-events: none; }
.dc-compare__line i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #F3E3C3, #C9A46E); color: #15233F; font-style: normal; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(14, 24, 46, .7); }
.dc-compare__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.dc-compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100%; }
.dc-compare__range::-moz-range-thumb { width: 48px; height: 100%; border: 0; background: transparent; }

.dc-weekly { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 12px 0; padding: 16px 18px; border-radius: 22px; background: linear-gradient(135deg, #15233F 0%, #1E3157 100%); color: #F3E3C3; box-shadow: 0 18px 40px -26px rgba(14, 24, 46, .8); overflow: hidden; }
.dc-weekly::after { content: ""; position: absolute; inset: -40% -10% auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 110, .28), transparent 70%); pointer-events: none; }
.dc-weekly__art span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(243, 227, 195, .12); font-size: 26px; }
.dc-weekly__eyebrow { margin: 0 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; color: #C9A46E; }
.dc-weekly__title { margin: 0 0 4px; font: 700 1.15rem/1.25 Heebo, Assistant, sans-serif; color: #FFFFFF; }
.dc-weekly__text { margin: 0; font-size: .9rem; line-height: 1.6; color: #DCD6CC; }
.dc-weekly__go { position: relative; z-index: 1; white-space: nowrap; background: linear-gradient(135deg, #F3E3C3 0%, #D9BC8C 55%, #C9A46E 100%) !important; color: #15233F !important; border: 0 !important; }
@media (max-width: 600px) {
	.dc-weekly { grid-template-columns: auto 1fr; }
	.dc-weekly__go { grid-column: 1 / -1; width: 100%; }
}

/* "ההזמנה של היום": one small action a day, above the feed (Nov 2026). */
.kanaf-invite { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; margin: 12px 0; padding: 16px 18px; border: 1px solid var(--dk-line, #e8e2d6); border-radius: 20px; background: linear-gradient(135deg, #FFFBF2 0%, #FBF3E2 100%); box-shadow: 0 14px 34px -28px rgba(14, 24, 46, .55); }
.kanaf-invite__art { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; font-size: 1.45rem; box-shadow: inset 0 0 0 1px rgba(138, 100, 23, .16); }
.kanaf-invite__eyebrow { margin: 0 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--kr-gold-ink, #8a6417); }
.kanaf-invite__title { margin: 0; font-size: 1.05rem; line-height: 1.35; color: var(--dk-ink, #1f2430); }
.kanaf-invite__text { margin: 4px 0 0; font-size: .93rem; line-height: 1.55; color: var(--dk-muted, #4f5866); overflow-wrap: anywhere; }
.kanaf-invite__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.kanaf-invite__later { padding: 6px 2px; border: 0; background: none; font: inherit; font-size: .88rem; color: var(--dk-muted, #5b6472); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.kanaf-invite__later:hover, .kanaf-invite__later:focus-visible { color: var(--dk-ink, #1f2430); }
@media (max-width: 480px) {
	.kanaf-invite { gap: 12px; padding: 14px; border-radius: 18px; }
	.kanaf-invite__art { width: 40px; height: 40px; font-size: 1.25rem; }
}

/* Cards that live in the desktop side column, shown in the stream on phones and tablets. */
.dc-feed-mobile:empty { display: none; }
@media (min-width: 960px) { .dc-feed-mobile { display: none; } }
