/* ============================================================
   Beta-only styles: ratings, likes, share (Phase 4).
   All new styles live here — sea2.css stays byte-identical
   to the legacy site. Palette: site green #00683d, muted
   #8a8a8a strip per the plan.
   ============================================================ */

/* ---- social strip on panels ---- */

.beta-social {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	padding: 8px 2px 2px;
	border-top: 1px solid #e6e6e6;
	color: #8a8a8a;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	line-height: 1;
	-webkit-user-select: none;
	user-select: none;
}

/* photo/video: the bar sits after the anchor, give it side padding */
.photoPanel .beta-social,
.videoPanel .beta-social,
.audioPanel .beta-social {
	margin: 0;
	padding: 8px 12px 10px;
}

/* quotes: borderless, centered */
.quotePanel .beta-social {
	border-top: 0;
	justify-content: center;
	margin-top: 4px;
}
.quotePanel .beta-social .bs-flex { display: none; }

/* lists: darker border to match the table rule */
.listPanel .beta-social { border-top-color: #cfcfcf; }

.bs-flex { flex: 1 1 auto; }

/* stars */
.bs-stars { display: inline-flex; gap: 1px; cursor: pointer; }
.bs-star {
	color: #d9d9d9;
	font-size: 16px;
	transition: color .12s;
}
.bs-star.bs-on { color: #8a8a8a; }
.bs-star.bs-mine { color: #00683d; }
.bs-star.bs-preview { color: #0a8a52; }

.bs-avg { font-size: 12px; color: #9a9a9a; white-space: nowrap; }

/* like + share buttons */
.beta-social button {
	background: none;
	border: 0;
	margin: 0;
	padding: 2px 3px;
	color: #8a8a8a;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font: inherit;
	line-height: 1;
}
.beta-social button:hover { color: #00683d; }
.bs-like-n { font-size: 12px; }
.bs-like.bs-liked { color: #b0413e; }
.bs-like.bs-liked .bs-heart { fill: #b0413e; stroke: #b0413e; }

/* ---- floating bar inside the Fancybox lightbox ---- */

.beta-social-lightbox,
.fancybox-container .beta-social-lightbox {
	position: absolute;
	top: 44px; /* below the fancybox slide counter */
	left: 12px;
	z-index: 99996; /* under the fancybox toolbar, over the slide */
	margin: 0;
	padding: 7px 14px;
	background: rgba(25, 25, 25, .78);
	border: 0;
	border-radius: 18px;
	color: #ddd;
}
.beta-social-lightbox .bs-star { color: #6f6f6f; }
.beta-social-lightbox .bs-star.bs-on { color: #fff; }
.beta-social-lightbox .bs-star.bs-mine { color: #7dd3a0; }
.beta-social-lightbox .bs-star.bs-preview { color: #a9e8c6; }
.beta-social-lightbox .bs-avg { color: #bbb; }
.beta-social-lightbox button { color: #ddd; }
.beta-social-lightbox button:hover { color: #7dd3a0; }
.beta-social-lightbox .bs-flex { display: none; }

/* ---- share modal ---- */

.bsm-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	font-family: 'Roboto', sans-serif;
}
.bsm-overlay.bsm-open { display: flex; }
.bsm-box {
	background: #fff;
	width: 280px;
	max-width: calc(100vw - 40px);
	border-radius: 4px;
	padding: 18px 20px 20px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}
.bsm-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	font-weight: 500;
	color: #333;
	margin-bottom: 12px;
}
.bsm-close {
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	color: #999;
	padding: 0 2px;
}
.bsm-close:hover { color: #333; }
.bsm-link {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	padding: 10px 12px;
	margin: 6px 0 0;
	border: 1px solid #e2e2e2;
	border-radius: 3px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
}
.bsm-link:hover { border-color: #00683d; color: #00683d; }

/* ---- toast ---- */

#beta-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%) translateY(10px);
	background: #222;
	color: #fff;
	padding: 9px 16px;
	border-radius: 3px;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	opacity: 0;
	transition: opacity .25s, transform .25s;
	pointer-events: none;
	z-index: 100001;
}
#beta-toast.bt-show {
	opacity: 1;
	transform: translateX(-50%);
}
