/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * Profile dream — warm cream + gold mobile-first profile.
 * Scoped under .profile-dream. Tokens only, no !important,
 * full interactive states, explicit colors on every text element.
 */
.profile-dream {
	color-scheme: light;
	--pd-cream: #faf6ec;
	--pd-cream-2: #f5eeda;
	--pd-card: #fffdf7;
	--pd-ink: #2b2110;
	--pd-ink-soft: #6b5d43;
	--pd-ink-faint: #9a8c6e;
	--pd-gold: #b8862e;
	--pd-gold-bright: #d9a94e;
	--pd-gold-deep: #8a641f;
	--pd-gold-ink: #241a06;
	--pd-line: rgba(184, 134, 46, .28);
	--pd-line-soft: rgba(184, 134, 46, .14);
	--pd-shadow: 0 .6rem 1.6rem rgba(90, 66, 20, .1);
	--pd-shadow-lg: 0 1.2rem 3rem rgba(90, 66, 20, .14);
	--pd-radius: 1.1rem;
	--pd-radius-sm: .7rem;
}

/* ---------- page shell ---------- */
.geelooy-profile-shell.profile-dream {
	display: block;
	width: 100%;
	max-width: 44rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0 0 max(6rem, env(safe-area-inset-bottom));
	background:
		radial-gradient(40rem 22rem at 50% -4rem, rgba(217, 169, 78, .14), transparent 65%),
		var(--pd-cream);
	color: var(--pd-ink);
	min-height: 100vh;
}

/* ---------- top bar ---------- */
.profile-dream .pd-topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: calc(.6rem + env(safe-area-inset-top)) .9rem .6rem;
	background: rgba(250, 246, 236, .92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--pd-line-soft);
}
.profile-dream .pd-topbar-title {
	margin: 0;
	color: var(--pd-ink);
	font-family: Georgia, "Noto Serif", serif;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: .01em;
}
.profile-dream .pd-topbar-btn {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	border: 1px solid var(--pd-line-soft);
	border-radius: 50%;
	background: var(--pd-card);
	color: var(--pd-ink-soft);
	text-decoration: none;
	cursor: pointer;
	transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 140ms ease;
}
.profile-dream .pd-topbar-btn svg {
	width: 1.25rem;
	height: 1.25rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.profile-dream .pd-topbar-btn:hover {
	border-color: var(--pd-gold);
	color: var(--pd-gold-deep);
	background: var(--pd-cream-2);
}
.profile-dream .pd-topbar-btn:active {
	transform: scale(.94);
}
.profile-dream .pd-topbar-btn:focus-visible {
	outline: 2px solid var(--pd-gold);
	outline-offset: 2px;
}

/* ---------- hero ---------- */
.profile-dream .pd-hero {
	position: relative;
	margin: .9rem .9rem 0;
	padding: 2.6rem 1.4rem 1.6rem;
	border: 1px solid var(--pd-line-soft);
	border-radius: var(--pd-radius);
	background: var(--pd-card);
	box-shadow: var(--pd-shadow-lg);
	text-align: center;
	overflow: clip;
}
.profile-dream .pd-cover {
	position: absolute;
	inset: 0 0 auto 0;
	height: 7.5rem;
	background: linear-gradient(135deg, #f3e3b8 0%, #ecd28e 45%, #d9a94e 100%);
	overflow: hidden;
	pointer-events: none;
}
.profile-dream .pd-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, var(--pd-card) 100%);
}
.profile-dream .pd-cover span {
	position: absolute;
	left: var(--x, 50%);
	top: var(--y, 50%);
	color: rgba(138, 100, 31, .5);
	font-family: "Noto Serif Hebrew", Georgia, serif;
	font-size: var(--s, 2rem);
	line-height: 1;
	opacity: var(--o, .12);
	transform: rotate(var(--r, 0deg));
	user-select: none;
}
/* B"H 2026-10-13 (icon round 2): cover edit is an icon-led 44px button. */
.profile-dream .pd-cover-edit {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.75rem;
	pointer-events: auto;
	padding: 0.55rem 1rem;
	border: 1px solid var(--pd-line-soft);
	border-radius: 999px;
	background: color-mix(in srgb, var(--pd-card) 88%, transparent);
	color: var(--pd-ink);
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, transform 140ms ease;
}
.profile-dream .pd-cover-edit:hover {
	border-color: var(--pd-gold);
	background: var(--pd-cream-2);
}
.profile-dream .pd-cover-edit:active {
	transform: scale(0.96);
}
.profile-dream .pd-cover-edit:focus-visible {
	outline: 2px solid var(--pd-gold);
	outline-offset: 2px;
}
.profile-dream .pd-cover-edit:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.profile-dream .pd-avatar {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 5.5rem;
	height: 5.5rem;
	margin: 2.2rem auto .9rem;
	border: 3px solid var(--pd-gold-bright);
	border-radius: 50%;
	background: linear-gradient(145deg, #fdf6e0, #f0dcae);
	box-shadow: 0 0 0 .35rem rgba(217, 169, 78, .18), var(--pd-shadow);
	color: var(--pd-gold-deep);
	font-family: Georgia, serif;
	font-size: 2.2rem;
	font-weight: 700;
}
.profile-dream .pd-kicker {
	margin: 0 0 .3rem;
	color: var(--pd-gold);
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.profile-dream .pd-name {
	margin: 0 0 .25rem;
	color: var(--pd-ink);
	font-family: Georgia, "Noto Serif", serif;
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: .01em;
	overflow-wrap: break-word;
}
.profile-dream .pd-handle {
	margin: 0 0 .9rem;
	color: var(--pd-ink-soft);
	font-size: 1rem;
}
.profile-dream .pd-handle .pd-role {
	color: var(--pd-ink-faint);
}
.profile-dream .pd-bio {
	margin: 0 auto .9rem;
	max-width: 26rem;
	color: var(--pd-ink-soft);
	font-size: .95rem;
	line-height: 1.5;
	overflow-wrap: break-word;
}

/* stats */
.profile-dream .pd-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 24rem;
	margin: 0 auto 1.1rem;
	border: 1px solid var(--pd-line-soft);
	border-radius: var(--pd-radius-sm);
	background: var(--pd-cream);
	overflow: hidden;
}
.profile-dream .pd-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .15rem;
	padding: .8rem .4rem;
	border: none;
	background: transparent;
	cursor: pointer;
	transition: background 160ms ease;
}
.profile-dream .pd-stat + .pd-stat {
	border-left: 1px solid var(--pd-line-soft);
}
.profile-dream .pd-stat strong {
	color: var(--pd-ink);
	font-family: Georgia, serif;
	font-size: 1.45rem;
	font-weight: 700;
}
.profile-dream .pd-stat span {
	color: var(--pd-ink-soft);
	font-size: .8rem;
	font-weight: 600;
}
.profile-dream .pd-stat:hover {
	background: rgba(217, 169, 78, .12);
}
.profile-dream .pd-stat:hover strong {
	color: var(--pd-gold-deep);
}
.profile-dream .pd-stat:active {
	background: rgba(217, 169, 78, .2);
}
.profile-dream .pd-stat:focus-visible {
	outline: 2px solid var(--pd-gold);
	outline-offset: -2px;
}

/* actions */
.profile-dream .pd-actions {
	display: flex;
	gap: .6rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: .6rem;
}
.profile-dream .pd-btn {
	display: inline-flex;
	gap: 0.5rem;
	min-height: 2.9rem;
	align-items: center;
	justify-content: center;
	padding: .7rem 1.6rem;
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 140ms ease, box-shadow 200ms ease, filter 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
	border: 1px solid transparent;
}
.profile-dream .pd-btn-primary {
	background: linear-gradient(180deg, var(--pd-gold-bright), var(--pd-gold) 60%, var(--pd-gold-deep));
	color: #fffdf7;
	box-shadow: 0 .5rem 1.2rem rgba(184, 134, 46, .35), inset 0 1px rgba(255, 255, 255, .4);
	border-color: rgba(138, 100, 31, .4);
}
.profile-dream .pd-btn-primary:hover {
	filter: brightness(1.07);
	transform: translateY(-1px);
	box-shadow: 0 .7rem 1.6rem rgba(184, 134, 46, .45), inset 0 1px rgba(255, 255, 255, .45);
}
.profile-dream .pd-btn-primary:active {
	transform: translateY(0) scale(.98);
}
.profile-dream .pd-btn-primary:focus-visible {
	outline: 2px solid var(--pd-gold-deep);
	outline-offset: 3px;
}
.profile-dream .pd-btn-ghost {
	background: transparent;
	border-color: var(--pd-line);
	color: var(--pd-gold-deep);
}
.profile-dream .pd-btn-ghost:hover {
	background: rgba(217, 169, 78, .12);
	border-color: var(--pd-gold);
}
.profile-dream .pd-btn-ghost:active {
	transform: scale(.98);
}
.profile-dream .pd-btn-ghost:focus-visible {
	outline: 2px solid var(--pd-gold);
	outline-offset: 2px;
}
.profile-dream .pd-btn-small {
	min-height: 2.3rem;
	padding: .45rem 1rem;
	font-size: .85rem;
}
.profile-dream .pd-status {
	margin: .8rem 0 0;
	color: var(--pd-ink-faint);
	font-size: .85rem;
}
.profile-dream .pd-status[data-profile-status="error"] {
	color: #a33d2e;
}

/* ---------- signed out ---------- */
.profile-dream .pd-signedout {
	margin: .9rem;
}
.profile-dream .pd-signedout-card {
	padding: 2.4rem 1.6rem;
	border: 1px solid var(--pd-line-soft);
	border-radius: var(--pd-radius);
	background: var(--pd-card);
	box-shadow: var(--pd-shadow-lg);
	text-align: center;
}
.profile-dream .pd-signedout-card h2 {
	margin: 1rem 0 .5rem;
	color: var(--pd-ink);
	font-family: Georgia, serif;
	font-size: 1.5rem;
}
.profile-dream .pd-signedout-card p {
	margin: 0 auto 1.4rem;
	max-width: 22rem;
	color: var(--pd-ink-soft);
	line-height: 1.55;
}
.profile-dream .pd-signedout-card .pd-btn {
	margin: .25rem;
}
.profile-dream.is-signed-out .pd-hero,
.profile-dream.is-signed-out .pd-tabs-wrap,
.profile-dream.is-signed-out .pd-panels {
	display: none;
}

/* ---------- tabs ---------- */
.profile-dream .pd-tabs-wrap {
	position: sticky;
	top: 3.85rem;
	z-index: 15;
	margin-top: .9rem;
	padding: .55rem .9rem;
	background: rgba(250, 246, 236, .94);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--pd-line-soft);
	border-bottom: 1px solid var(--pd-line-soft);
}
.profile-dream .pd-tabs {
	display: flex;
	gap: .35rem;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.profile-dream .pd-tabs::-webkit-scrollbar {
	display: none;
}
.profile-dream .pd-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex: none;
	padding: .6rem 1.1rem;
	min-height: 2.75rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--pd-ink-soft);
	font-size: .92rem;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.profile-dream .pd-tab:hover {
	background: rgba(217, 169, 78, .14);
	color: var(--pd-gold-deep);
}
.profile-dream .pd-tab:active {
	transform: scale(.96);
}
.profile-dream .pd-tab:focus-visible {
	outline: 2px solid var(--pd-gold);
	outline-offset: 2px;
}
.profile-dream .pd-tab.active,
.profile-dream .pd-tab[aria-selected="true"] {
	background: linear-gradient(180deg, var(--pd-gold-bright), var(--pd-gold));
	border-color: rgba(138, 100, 31, .35);
	color: #fffdf7;
	box-shadow: 0 .3rem .8rem rgba(184, 134, 46, .3);
}

/* ---------- panels & cards ---------- */
.profile-dream .pd-panels {
	padding: .4rem .9rem 0;
}
.profile-dream .pd-panel[hidden] {
	display: none;
}
.profile-dream .pd-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	padding: 1rem .2rem .7rem;
}
.profile-dream .pd-panel-head h3 {
	margin: 0;
	color: var(--pd-ink);
	font-family: Georgia, serif;
	font-size: 1.2rem;
	font-weight: 700;
}
.profile-dream .pd-card-list {
	display: flex;
	flex-direction: column;
	gap: .7rem;
}
.profile-dream .pd-loading {
	padding: 1.6rem;
	text-align: center;
	color: var(--pd-ink-faint);
	font-size: .92rem;
}

/* content cards emitted by the JS renderers */
.profile-dream .social-post-card,
.profile-dream .social-comment-card,
.profile-dream .social-series-card,
.profile-dream .social-heichel-card,
.profile-dream .social-alias-card,
.profile-dream .social-empty-card {
	border: 1px solid var(--pd-line-soft);
	border-radius: var(--pd-radius-sm);
	background: var(--pd-card);
	box-shadow: var(--pd-shadow);
	padding: 1rem 1.1rem;
	overflow-wrap: break-word;
}
.profile-dream .social-post-card:hover,
.profile-dream .social-comment-card:hover,
.profile-dream .social-series-card:hover {
	border-color: var(--pd-line);
	box-shadow: var(--pd-shadow-lg);
}
.profile-dream .social-post-link,
.profile-dream .social-comment-link,
.profile-dream .social-series-link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.profile-dream .social-post-card h3,
.profile-dream .social-series-card h3 {
	margin: 0 0 .4rem;
	color: var(--pd-ink);
	font-family: Georgia, serif;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
}
.profile-dream .social-post-card a:hover h3,
.profile-dream .social-series-card a:hover h3 {
	color: var(--pd-gold-deep);
	text-decoration: underline;
	text-decoration-color: var(--pd-line);
	text-underline-offset: .2em;
}
.profile-dream .social-post-meta,
.profile-dream .social-comment-meta,
.profile-dream .social-series-meta {
	margin: .5rem 0 0;
	color: var(--pd-ink-faint);
	font-size: .82rem;
}
.profile-dream .social-post-excerpt,
.profile-dream .social-comment-text,
.profile-dream .social-series-desc {
	margin: .55rem 0 0;
	color: var(--pd-ink-soft);
	font-size: .93rem;
	line-height: 1.55;
}
.profile-dream .social-comment-text {
	border-left: 3px solid var(--pd-line);
	padding-left: .8rem;
	font-style: italic;
}
.profile-dream .social-empty-card {
	text-align: center;
	padding: 2rem 1.2rem;
}
.profile-dream .social-empty-card strong {
	display: block;
	margin-bottom: .4rem;
	color: var(--pd-ink);
	font-family: Georgia, serif;
	font-size: 1.05rem;
}
.profile-dream .social-empty-card p {
	margin: 0;
	color: var(--pd-ink-soft);
	font-size: .92rem;
	line-height: 1.5;
}
.profile-dream .social-empty-card.error {
	border-color: rgba(163, 61, 46, .4);
}
.profile-dream .social-empty-card.error strong {
	color: #a33d2e;
}

/* alias cards */
.profile-dream .alias-command-head {
	display: flex;
	align-items: center;
	gap: .8rem;
}
.profile-dream .alias-avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.8rem;
	height: 2.8rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #f3e3b8, #e3bd76);
	border: 2px solid var(--pd-gold-bright);
	color: var(--pd-gold-deep);
	font-family: Georgia, serif;
	font-size: 1.2rem;
	font-weight: 700;
}
.profile-dream .alias-copy h3,
.profile-dream .alias-copy .alias-id {
	margin: 0;
	color: var(--pd-ink);
	font-size: 1rem;
}
.profile-dream .alias-copy .alias-id {
	color: var(--pd-gold-deep);
	font-weight: 700;
	text-decoration: none;
}
.profile-dream .alias-copy .alias-id:hover {
	text-decoration: underline;
}
.profile-dream .alias-command-kicker {
	color: var(--pd-gold);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.profile-dream .social-alias-card.default {
	border-color: var(--pd-gold);
	box-shadow: 0 0 0 1px var(--pd-gold-bright), var(--pd-shadow);
}
.profile-dream .profileCardAction {
	display: inline-flex;
	align-items: center;
	min-height: 2.4rem;
	padding: .45rem 1rem;
	margin: .3rem .3rem 0 0;
	border: 1px solid var(--pd-line);
	border-radius: 999px;
	background: transparent;
	color: var(--pd-gold-deep);
	font-size: .85rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: background 160ms ease, transform 140ms ease;
}
.profile-dream .profileCardAction:hover {
	background: rgba(217, 169, 78, .14);
}
.profile-dream .profileCardAction:active {
	transform: scale(.96);
}
.profile-dream .profileCardAction:focus-visible {
	outline: 2px solid var(--pd-gold);
	outline-offset: 2px;
}
.profile-dream .profileCardAction--primary {
	background: linear-gradient(180deg, var(--pd-gold-bright), var(--pd-gold));
	color: #fffdf7;
	border-color: rgba(138, 100, 31, .35);
}
.profile-dream .profileCardTools__grid {
	display: flex;
	flex-wrap: wrap;
	margin-top: .5rem;
}
.profile-dream .profileHeichelIdentity h3 {
	margin: 0 0 .3rem;
	color: var(--pd-ink);
	font-family: Georgia, serif;
	font-size: 1.05rem;
}
.profile-dream .profileHeichelIdentity p {
	margin: 0;
	color: var(--pd-ink-soft);
	font-size: .9rem;
}

/* about */
.profile-dream .pd-about-grid {
	display: grid;
	gap: .7rem;
}
.profile-dream .pd-about-card {
	border: 1px solid var(--pd-line-soft);
	border-radius: var(--pd-radius-sm);
	background: var(--pd-card);
	box-shadow: var(--pd-shadow);
	padding: 1.1rem 1.2rem;
}
.profile-dream .pd-about-card h4 {
	margin: 0 0 .35rem;
	color: var(--pd-gold-deep);
	font-family: Georgia, serif;
	font-size: 1rem;
}
.profile-dream .pd-about-card p {
	margin: 0;
	color: var(--pd-ink-soft);
	font-size: .92rem;
	line-height: 1.55;
}

/* action drawer */
.profile-dream .pd-drawer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	max-width: 44rem;
	margin: 0 auto;
	max-height: 82vh;
	overflow-y: auto;
	border: 1px solid var(--pd-line);
	border-bottom: none;
	border-radius: 1.4rem 1.4rem 0 0;
	background: var(--pd-card);
	box-shadow: 0 -1rem 3rem rgba(90, 66, 20, .25);
	padding: 1.2rem 1.2rem max(1.6rem, env(safe-area-inset-bottom));
	color: var(--pd-ink);
}
.profile-dream .pd-drawer[hidden] {
	display: none;
}

/* settings popup (gear button) — B"H */
.profile-dream button.pd-topbar-btn {
	font: inherit;
	padding: 0;
}
.profile-dream .profile-settings-menu {
	display: grid;
	gap: .55rem;
}
.profile-dream .profile-settings-row {
	display: flex;
	align-items: center;
	gap: .8rem;
	width: 100%;
	min-height: 3rem;
	padding: .7rem .9rem;
	border: 1px solid var(--pd-line);
	border-radius: .8rem;
	background: var(--pd-card);
	color: var(--pd-ink);
	font: inherit;
	text-decoration: none;
	text-align: start;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, transform 140ms ease;
}
.profile-dream .profile-settings-text {
	display: grid;
	gap: .15rem;
	flex: 1;
	min-width: 0;
}
.profile-dream .profile-settings-label {
	font-weight: 700;
	font-size: .98rem;
	color: var(--pd-ink);
}
.profile-dream .profile-settings-desc {
	font-size: .82rem;
	color: var(--pd-ink-soft);
	line-height: 1.4;
}
.profile-dream .profile-settings-chevron {
	font-size: 1.4rem;
	line-height: 1;
	color: var(--pd-gold-deep);
	flex: none;
}
.profile-dream .profile-settings-row:hover {
	border-color: var(--pd-gold);
	background: var(--pd-cream-2);
}
.profile-dream .profile-settings-row:active {
	transform: scale(.985);
}
.profile-dream .profile-settings-row:focus-visible {
	outline: 2px solid var(--pd-gold);
	outline-offset: 2px;
}

/* retry button from watchdog */
.profile-dream #profile-retry-boot {
	margin-top: .8rem;
}

/* ---------- larger screens ---------- */
@media (min-width: 40rem) {
	.profile-dream .pd-hero {
		margin-left: auto;
		margin-right: auto;
		max-width: 42rem;
	}
	.profile-dream .pd-tabs-wrap {
		border-left: 1px solid var(--pd-line-soft);
		border-right: 1px solid var(--pd-line-soft);
		border-radius: var(--pd-radius-sm);
		margin-left: .9rem;
		margin-right: .9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.profile-dream .pd-topbar-btn,
	.profile-dream .pd-stat,
	.profile-dream .pd-btn,
	.profile-dream .pd-tab,
	.profile-dream .profileCardAction {
		transition: none;
		transform: none;
	}
}

/* B"H — Profile tablist: the HTML uses .profile-tabs with [role="tab"] buttons.
 * These rules match the actual markup (the .pd-tabs rules above target a
 * different class that the HTML does not use). Horizontal scroll on mobile,
 * never wrap, never overlap. */
.profile-dream .profile-tabs {
	display: flex;
	gap: .35rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding: .55rem .9rem;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	flex-wrap: nowrap;
}
.profile-dream .profile-tabs::-webkit-scrollbar {
	display: none;
}
.profile-dream .profile-tabs [role="tab"] {
	flex: none;
	flex-shrink: 0;
	padding: .6rem 1.1rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--pd-ink-soft, #6b5f45);
	font-size: .92rem;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.profile-dream .profile-tabs [role="tab"]:hover {
	background: rgba(217, 169, 78, .14);
	color: var(--pd-gold-deep, #8a641f);
}
.profile-dream .profile-tabs [role="tab"]:active {
	transform: scale(.96);
}
.profile-dream .profile-tabs [role="tab"]:focus-visible {
	outline: 2px solid var(--pd-gold, #d9a94e);
	outline-offset: 2px;
}
.profile-dream .profile-tabs [role="tab"].active,
.profile-dream .profile-tabs [role="tab"][aria-selected="true"] {
	background: linear-gradient(180deg, var(--pd-gold-bright, #f7d98c), var(--pd-gold, #d9a94e));
	border-color: rgba(138, 100, 31, .35);
	color: #fffdf7;
	box-shadow: 0 .3rem .8rem rgba(184, 134, 46, .3);
}
.profile-dream .profile-tabs [role="tab"]:disabled,
.profile-dream .profile-tabs [role="tab"][aria-disabled="true"] {
	opacity: .55;
	cursor: not-allowed;
}

/* B"H — Yaakov 2026-10-13: skeleton loaders (never a confusing "Nothing here yet" while loading) */
.profile-dream .pd-skeleton-list {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	padding: .25rem 0;
}
.profile-dream .pd-skeleton {
	height: 4.5rem;
	border-radius: .9rem;
	background: linear-gradient(100deg, rgba(217,169,78,.08) 40%, rgba(217,169,78,.22) 50%, rgba(217,169,78,.08) 60%);
	background-size: 200% 100%;
	animation: pd-skeleton-shimmer 1.4s ease-in-out infinite;
}
@keyframes pd-skeleton-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
	.profile-dream .pd-skeleton { animation: none; }
}

/* B"H — Yaakov 2026-10-13: premium hero polish — tighter, more luminous */
.profile-dream .pd-hero {
	position: relative;
	overflow: hidden;
}
.profile-dream .pd-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(247,217,140,.35), transparent 70%);
	pointer-events: none;
}
.profile-dream .pd-avatar-orb {
	box-shadow: 0 0 0 3px rgba(247,217,140,.5), 0 .5rem 1.5rem rgba(184,134,46,.35);
}
.profile-dream .pd-stat-btn {
	transition: transform .15s ease, box-shadow .15s ease;
}
.profile-dream .pd-stat-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 .4rem 1rem rgba(184,134,46,.25);
}
.profile-dream .pd-stat-btn:active {
	transform: scale(.96);
}

/* B"H — Yaakov 2026-10-13: buttons must NEVER trigger text selection on tap.
   Every interactive element gets proper touch treatment. */
.profile-dream button,
.profile-dream a,
.profile-dream [role="button"],
.profile-dream [role="tab"],
.profile-dream .pd-tab,
.profile-dream .pd-stat,
.profile-dream .pd-btn,
.profile-dream .pd-topbar-btn {
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	-webkit-touch-callout: none;
}
