/* UC Search History — רשימת "חיפושים אחרונים". צבעים מטוקני unichord (מתחלפים לבד ב-body.dark-mode) */
.uc-sh {
	position: fixed;
	z-index: 10050;
	box-sizing: border-box;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	direction: rtl;
	text-align: right;
	background: var(--uc-paper-hi, #FCF8F1);
	color: var(--uc-ink, #1F1810);
	border: 1px solid var(--uc-border, #DED4C2);
	border-radius: var(--uc-r-md, 14px);
	box-shadow: var(--uc-shadow-md, 0 4px 16px rgba(80,55,25,0.10));
	padding: 4px 0;
	font-size: 15px;
	line-height: 1.3;
}
.uc-sh[hidden] { display: none !important; }

.uc-sh-head {
	padding: 6px 16px 2px;
	font-size: 12px;
	font-weight: 600;
	color: var(--uc-ink-soft, #6B5D49);
}

.uc-sh-list { list-style: none; margin: 0; padding: 0; }

.uc-sh-item {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 16px 0 4px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.uc-sh-item:hover,
.uc-sh-item.is-active { background: var(--uc-gold-tint, #F0E6D8); }

.uc-sh-q {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	unicode-bidi: plaintext;
}
.uc-sh-q::before {
	/* שעון קטן בצד, כמו היסטוריה מוכרת */
	content: "";
	display: inline-block;
	width: 14px; height: 14px;
	margin-inline-end: 10px;
	vertical-align: -2px;
	border: 1.6px solid var(--uc-ink-soft, #6B5D49);
	border-radius: 50%;
	opacity: .55;
	background:
		linear-gradient(var(--uc-ink-soft, #6B5D49), var(--uc-ink-soft, #6B5D49)) 50% 25% / 1.6px 40% no-repeat,
		linear-gradient(var(--uc-ink-soft, #6B5D49), var(--uc-ink-soft, #6B5D49)) 72% 52% / 38% 1.6px no-repeat;
	box-sizing: border-box;
}

.uc-sh .uc-sh-x {
	flex: none;
	width: 44px; height: 44px;
	margin: 0; padding: 0;
	border: 0; border-radius: 50%;
	background: transparent;
	color: var(--uc-ink-soft, #6B5D49);
	font-size: 14px;
	line-height: 44px;
	text-align: center;
	cursor: pointer;
	box-shadow: none;
}
.uc-sh .uc-sh-x:hover,
.uc-sh .uc-sh-x:focus-visible { color: var(--uc-terracotta, #C75B39); background: transparent; }

.uc-sh-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--uc-border, #DED4C2);
	margin-top: 4px;
	padding: 0 8px;
}
.uc-sh .uc-sh-more,
.uc-sh .uc-sh-clear {
	min-height: 40px;
	margin: 0;
	padding: 0 8px;
	border: 0;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.uc-sh .uc-sh-more { color: var(--uc-gold-deep, #8A5C30); }
.uc-sh .uc-sh-clear { color: var(--uc-ink-soft, #6B5D49); margin-inline-start: auto; }
.uc-sh .uc-sh-more:hover,
.uc-sh .uc-sh-clear:hover { text-decoration: underline; background: transparent; }
.uc-sh .uc-sh-more[hidden] { display: none; }

