/**
 * GGF Community Core: Article Actions toolbar.
 *
 * Desktop: [Save] [Follow Game] [Preferred Source on Google] [•••]
 * Phones:  [Save] [Follow Game] [•••], with Follow Article and Preferred Sources in the menu.
 * Scoped like every other plugin rule (see ggfc-base.css): one id of weight.
 */
.ggfc:not(#ggfc-i).ggfc-actions-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	margin-top: 16px;
	margin-bottom: 20px;
	padding: 0;
	clear: both;
	container-type: inline-size;
	position: relative;
}
.ggfc:not(#ggfc-i).ggfc-actions-bar[hidden] { display: none; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__member { display: contents; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--ggfc-border-strong);
	border-radius: 999px;
	background: var(--ggfc-btn-bg);
	color: var(--ggfc-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--ggfc-ease), border-color var(--ggfc-ease);
}
.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn:hover { background: var(--ggfc-hover); color: var(--ggfc-text); text-decoration: none; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn:focus-visible,
.ggfc:not(#ggfc-i) .ggfc-actions-bar__item:focus-visible { outline: 2px solid var(--ggfc-ink); outline-offset: 2px; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn[aria-pressed="true"] { border-color: var(--ggfc-accent); background: var(--ggfc-tint); }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__save[aria-pressed="true"] .ggfc-actions-bar__icon { fill: currentColor; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__icon-wrap { display: inline-flex; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__icon { display: block; flex: 0 0 auto; color: var(--ggfc-ink); }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__more { width: 40px; padding: 0; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__more .ggfc-actions-bar__icon { color: var(--ggfc-text-2); }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__more-wrap { position: relative; display: inline-flex; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__menu {
	position: absolute;
	z-index: 50;
	top: calc(100% + 6px);
	right: 0;
	min-width: 220px;
	margin: 0;
	padding: 6px;
	border: 1px solid var(--ggfc-border);
	border-radius: var(--ggfc-radius-ctl);
	background: var(--ggfc-surface);
	box-shadow: var(--ggfc-shadow-lg);
	list-style: none;
}
.ggfc:not(#ggfc-i) .ggfc-actions-bar__menu[hidden] { display: none; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__menu li { margin: 0; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 0;
	border-radius: calc(var(--ggfc-radius-ctl) - 2px);
	background: transparent;
	color: var(--ggfc-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-align: start;
	text-decoration: none;
	white-space: normal;
	cursor: pointer;
}
.ggfc:not(#ggfc-i) .ggfc-actions-bar__item:hover { background: var(--ggfc-hover); color: var(--ggfc-text); text-decoration: none; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__item[aria-pressed="true"] { color: var(--ggfc-text); }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__more-google { display: none; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__said { flex: 1 1 auto; min-width: 0; color: var(--ggfc-text-2); font-size: 13px; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__said:empty { flex: 0 0 0; }
.ggfc:not(#ggfc-i) .ggfc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Narrow column (phones): a member's Preferred Sources link moves into the menu. */
@container (max-width: 560px) {
	.ggfc:not(#ggfc-i).ggfc-actions-bar.is-member .ggfc-actions-bar__google { display: none; }
	.ggfc:not(#ggfc-i).ggfc-actions-bar.is-member .ggfc-actions-bar__more-google { display: flex; }
	.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn { padding: 0 12px; }
	.ggfc:not(#ggfc-i) .ggfc-actions-bar__said { flex-basis: 100%; }
}
@media (pointer: coarse) {
	.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn { min-height: 44px; }
	.ggfc:not(#ggfc-i) .ggfc-actions-bar__more { width: 44px; }
}
@media (forced-colors: active) {
	.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn { border: 1px solid ButtonText; }
	.ggfc:not(#ggfc-i) .ggfc-actions-bar__btn[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* Visitors' Save / Follow Game with a sign-up note (setting: promo.guest_prompts). */
html.ggfc-m .ggfc:not(#ggfc-i) .ggfc-actions-bar__guest,
html.ggfc-in .ggfc:not(#ggfc-i) .ggfc-actions-bar__guest { display: none; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__guest { display: contents; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt { flex: 1 1 100%; order: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 2px 0 0; padding: 12px 14px; border: 1px solid var(--ggfc-border-strong); border-left: 3px solid var(--ggfc-accent); border-radius: var(--ggfc-radius-ctl); background: var(--ggfc-surface); }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt[hidden] { display: none; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt-text { flex: 1 1 240px; font-size: 14px; line-height: 1.45; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt-actions { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt-actions .ggfc-btn { min-height: 40px; text-decoration: none; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt-link { color: var(--ggfc-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt-close { min-height: 40px; padding: 0 10px; border: 0; background: none; color: var(--ggfc-text-2); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt-close:focus-visible,
.ggfc:not(#ggfc-i) .ggfc-actions-bar__prompt-link:focus-visible { outline: 2px solid var(--ggfc-ink); outline-offset: 2px; }
