/**
 * Admin styles for Magnetic Stars.
 */

.mgst-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	margin: 0 0 20px;
	padding: 8px 20px 20px;
	max-width: 900px;
}

.mgst-card h3 {
	margin-top: 12px;
}

.mgst-status {
	font-weight: 600;
	margin: 8px 0;
	padding-left: 22px;
	position: relative;
}

.mgst-status::before {
	border-radius: 50%;
	content: "";
	height: 10px;
	left: 4px;
	position: absolute;
	top: 6px;
	width: 10px;
}

.mgst-status--ok::before {
	background: #00a32a;
}

.mgst-status--off::before {
	background: #8c8f94;
}

.mgst-status--warn::before {
	background: #dba617;
}

.mgst-steps {
	line-height: 1.7;
	margin-left: 20px;
}

.mgst-steps li {
	margin-bottom: 12px;
}

.mgst-redirect-uri {
	margin-top: 8px;
}

.mgst-badge {
	border-radius: 3px;
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
	padding: 2px 8px;
	white-space: nowrap;
}

.mgst-badge--google {
	background: #e8f0fe;
	color: #1a56b0;
}

.mgst-badge--facebook {
	background: #e7f0ff;
	color: #0b4fb8;
}

.mgst-warning {
	margin: 12px 0 20px;
}

.mgst-preview {
	background: #f6f7f7;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	margin-top: 12px;
	padding: 4px 20px 20px;
}

.mgst-preview .mgst-reviews {
	margin-top: 12px;
}

.mgst-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0;
}

.mgst-row--hidden {
	opacity: 0.6;
}

/* -------------------------------------------------------------------------
 * Sources screen (0.7.0): one layout shared by every source.
 * ---------------------------------------------------------------------- */

.mgst-sources {
	max-width: 960px;
}

.mgst-lead {
	color: #50575e;
	font-size: 14px;
	margin: 4px 0 20px;
}

.mgst-stats {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 20px;
}

.mgst-stat {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 20px;
}

.mgst-stat__label {
	color: #50575e;
	font-size: 13px;
}

.mgst-stat__value {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.mgst-stat__value--small {
	font-size: 16px;
	padding-top: 6px;
}

.mgst-welcome {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 20px;
	padding: 16px 20px;
}

.mgst-welcome strong {
	font-size: 15px;
}

.mgst-source-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mgst-source-card,
.mgst-panel {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 20px 24px;
}

.mgst-source-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mgst-source-head {
	align-items: center;
	display: flex;
	gap: 16px;
}

.mgst-source-head--page {
	margin: 8px 0 20px;
}

.mgst-source-head__text {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 2px;
	min-width: 0;
}

.mgst-source-head h1,
.mgst-source-head h2 {
	margin: 0;
	padding: 0;
}

.mgst-source-head h2 {
	font-size: 17px;
	font-weight: 600;
}

.mgst-source-kind {
	color: #50575e;
	font-size: 13px;
}

.mgst-source-badge {
	align-items: center;
	background: #f0f0f1;
	border-radius: 8px;
	color: #1d2327;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 700;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.mgst-source-head--page .mgst-source-badge {
	border-radius: 10px;
	font-size: 24px;
	height: 52px;
	width: 52px;
}

.mgst-source-badge--google {
	background: #e8f0fe;
	color: #1a56b0;
}

.mgst-source-badge--facebook {
	background: #e7f0ff;
	color: #0b4fb8;
}

/* 0.23.1: logos of Google and Facebook in the Sources screen. */
.mgst-source-badge.has-logo {
	background: #fff;
	border: 1px solid #dcdcde;
}

.mgst-source-badge.has-logo .ms-logo {
	display: block;
	height: 24px;
	width: 24px;
}

.mgst-source-head--page .mgst-source-badge.has-logo .ms-logo {
	height: 28px;
	width: 28px;
}

.mgst-source-message {
	line-height: 1.55;
	margin: 0;
}

.mgst-figures {
	border-top: 1px solid #f0f0f1;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding-top: 14px;
}

.mgst-panel .mgst-figures {
	border-top: 0;
	padding-top: 0;
}

.mgst-figures dt {
	color: #50575e;
	font-size: 12px;
}

.mgst-figures dd {
	font-weight: 600;
	margin: 2px 0 0;
}

.mgst-figures dd small {
	color: #50575e;
	display: block;
	font-size: 12px;
	font-weight: 400;
}

.mgst-source-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 0;
}

.mgst-source-more {
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	color: #50575e;
	margin: 0;
	padding: 16px 24px;
}

/* Status pills: icon + label, never color alone. */
.mgst-pill {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	padding: 5px 12px;
	white-space: nowrap;
}

.mgst-pill--inactive {
	background: #f0f0f1;
	color: #3c434a;
}

.mgst-pill--setup {
	background: #e5eef9;
	color: #1a4f8b;
}

.mgst-pill--waiting {
	background: #fcf0d6;
	color: #6b4200;
}

.mgst-pill--active {
	background: #e6f4ea;
	color: #0a5c26;
}

.mgst-pill--error {
	background: #fbe9ea;
	color: #8a1419;
}

/* Setup page. */
.mgst-back {
	margin: 12px 0 0;
}

.mgst-back a {
	text-decoration: none;
}

.mgst-banner {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	line-height: 1.55;
	margin-bottom: 20px;
	padding: 14px 18px;
}

.mgst-banner--setup {
	background: #f0f6fc;
	border-color: #72aee6;
}

.mgst-banner--waiting {
	background: #fcf9e8;
	border-color: #dba617;
}

.mgst-banner--active {
	background: #edfaef;
	border-color: #68de7c;
}

.mgst-banner--error {
	background: #fcf0f1;
	border-color: #d63638;
}

.mgst-sources .notice.inline {
	margin: 0 0 20px;
}

.mgst-panel {
	margin-bottom: 20px;
}

.mgst-panel__head {
	align-items: baseline;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.mgst-panel__head h2 {
	font-size: 17px;
	font-weight: 600;
	margin: 0;
}

.mgst-panel__meta {
	color: #50575e;
	font-size: 13px;
}

.mgst-panel > p {
	line-height: 1.55;
}

.mgst-panel .mgst-source-actions {
	margin-top: 16px;
}

/* Setup steps. */
.mgst-step {
	border-top: 1px solid #f0f0f1;
}

.mgst-step > summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 14px;
	list-style: none;
	min-height: 44px;
	padding: 12px 0;
}

.mgst-step > summary::-webkit-details-marker {
	display: none;
}

.mgst-step > summary:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.mgst-step__icon {
	align-items: center;
	background: #fff;
	border: 2px solid #8c8f94;
	border-radius: 50%;
	box-sizing: border-box;
	color: #50575e;
	display: inline-flex;
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.mgst-step--done .mgst-step__icon {
	background: #0a7a32;
	border-color: #0a7a32;
	color: #fff;
}

.mgst-step--waiting .mgst-step__icon {
	background: #fcf0d6;
	border-color: #b07800;
	color: #6b4200;
}

.mgst-step--current .mgst-step__icon {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.mgst-step__text {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 2px;
	min-width: 0;
}

.mgst-step__title {
	font-weight: 600;
}

.mgst-step__meta {
	color: #50575e;
	font-size: 13px;
}

.mgst-step--waiting .mgst-step__meta {
	color: #6b4200;
	font-weight: 600;
}

.mgst-step--current .mgst-step__meta {
	color: #135e96;
	font-weight: 600;
}

.mgst-step__toggle {
	color: #2271b1;
	flex-shrink: 0;
	font-size: 13px;
}

.mgst-step[open] .mgst-step__toggle--closed,
.mgst-step:not([open]) .mgst-step__toggle--open {
	display: none;
}

.mgst-step__body {
	line-height: 1.55;
	padding: 0 0 18px 42px;
}

.mgst-step__body > :first-child {
	margin-top: 0;
}

.mgst-step__body .form-table {
	margin-top: 0;
}

.mgst-step__body .form-table th {
	padding-left: 0;
	width: 140px;
}

.mgst-step__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.mgst-callout {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	margin: 12px 0;
	padding: 12px 14px;
}

.mgst-callout p {
	margin: 0 0 8px;
}

.mgst-callout p:last-child {
	margin-bottom: 0;
}

.mgst-substeps {
	margin-left: 20px;
}

.mgst-substeps li {
	margin-bottom: 10px;
}

.mgst-help summary {
	color: #2271b1;
	cursor: pointer;
	min-height: 32px;
}

/* Disconnect / disable. */
.mgst-danger {
	align-items: center;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	display: flex;
	gap: 16px;
	margin-bottom: 20px;
	padding: 16px 24px;
}

.mgst-danger__text {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 4px;
}

.mgst-danger__text h2 {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
}

.mgst-danger__text span {
	color: #50575e;
}

.mgst-button-danger.button {
	border-color: #b32d2e;
	color: #b32d2e;
}

.mgst-button-danger.button:hover,
.mgst-button-danger.button:focus {
	background: #fcf0f1;
	border-color: #8a2424;
	color: #8a2424;
}

@media screen and (max-width: 782px) {
	.mgst-stats,
	.mgst-figures {
		grid-template-columns: minmax(0, 1fr);
	}

	.mgst-source-head {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.mgst-step__body {
		padding-left: 0;
	}

	.mgst-danger {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* Display screen: rich snippets of the reviews (0.8.2). */
.mgst-sd__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.3em;
}

.mgst-sd__scope {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
	padding: 10px 12px;
	margin: 0 0 16px;
	font-size: 14px;
}

.mgst-sd__scope .dashicons {
	color: #2271b1;
	flex: none;
}

.mgst-sd h4 {
	margin: 20px 0 8px;
	font-size: 14px;
}

.mgst-sd__tiles {
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.mgst-sd__tile {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #fff;
}

.mgst-sd__tile .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.mgst-sd__tile--yes {
	border-top: 3px solid #00a32a;
}

.mgst-sd__tile--yes .dashicons {
	color: #00a32a;
}

.mgst-sd__tile--no {
	border-top: 3px solid #8c8f94;
	background: #f6f7f7;
}

.mgst-sd__tile--no .dashicons {
	color: #646970;
}

.mgst-sd__tile span:not(.dashicons) {
	color: #50575e;
}

.mgst-sd__example {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin-top: 8px;
}

.mgst-sd__block {
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 10px 12px;
	background: #f6f7f7;
	align-self: stretch;
}

.mgst-sd__label {
	margin: 0 0 6px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: .04em;
	color: #50575e;
}

.mgst-sd__fields {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 4px 12px;
	margin: 0;
}

.mgst-sd__fields dt {
	color: #50575e;
}

.mgst-sd__fields dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.mgst-sd__empty {
	color: #8c8f94;
	font-style: italic;
}

.mgst-sd__arrow {
	color: #50575e;
	font-style: italic;
	text-align: center;
	white-space: nowrap;
}

.mgst-sd__code {
	margin-top: 12px;
}

.mgst-sd__code summary {
	cursor: pointer;
	color: #2271b1;
}

.mgst-sd__code pre {
	max-height: 320px;
	overflow: auto;
	background: #1d2327;
	color: #f0f0f1;
	padding: 12px;
	border-radius: 4px;
	font-size: 12px;
}

.mgst-sd__address {
	display: grid;
	/* 0.55.0: street, then postal code and city, then region and country,
	   in this order for every country. */
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 8px;
	max-width: 32em;
}

.mgst-sd__address label {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mgst-sd__address label span {
	font-size: 12px;
	color: #50575e;
}

.mgst-sd__address .mgst-sd__wide {
	grid-column: 1 / -1;
}

.mgst-sd__address input,
.mgst-sd__address select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
}

.mgst-sd__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media screen and (max-width: 782px) {
	.mgst-sd__tiles,
	.mgst-sd__example,
	.mgst-sd__address {
		grid-template-columns: minmax(0, 1fr);
	}

	.mgst-sd__arrow .dashicons {
		transform: rotate(90deg);
	}
}

.mgst-sd-pointer p {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

/* Reviews screen: tools, order, dates, restore points (0.9.0). */
.mgst-tools {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: none;
	padding-top: 16px;
}

.mgst-tool {
	border-left: 3px solid #dcdcde;
	padding-left: 12px;
}

.mgst-tool p {
	margin: 0 0 8px;
}

.mgst-tool__title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: #1d2327;
}

.mgst-flag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	background: #fcf0e3;
	color: #8a4b0f;
	font-weight: 600;
}

.mgst-order-cell {
	white-space: nowrap;
}

.mgst-drag {
	cursor: move;
	color: #8c8f94;
	vertical-align: middle;
}

.mgst-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 3px;
	color: #2271b1;
	text-decoration: none;
	vertical-align: middle;
}

.mgst-icon-button:hover,
.mgst-icon-button:focus {
	background: #f0f6fc;
}

.mgst-date-toggle.is-off {
	color: #b32d2e;
}

.mgst-date-cell.is-overridden .mgst-date-toggle {
	opacity: .45;
}

.mgst-date-cell small {
	display: block;
	color: #646970;
}

.mgst-sortable .ui-sortable-helper {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.mgst-sortable .ui-sortable-placeholder {
	visibility: visible !important;
	background: #f0f6fc;
	outline: 2px dashed #72aee6;
}

.mgst-order-status {
	min-height: 1.5em;
	margin: 4px 0;
	font-weight: 600;
}

.mgst-order-status.is-ok {
	color: #00a32a;
}

.mgst-order-status.is-error {
	color: #b32d2e;
}

.mgst-snapshots td:last-child {
	text-align: right;
}

@media screen and (max-width: 1100px) {
	.mgst-tools {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 600px) {
	.mgst-tools {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Links of the reviews (0.10.0). */
.mgst-links-cell {
	position: relative;
}

.mgst-link-line {
	margin: 0 0 4px;
	line-height: 1.6;
}

.mgst-link-kind {
	display: inline-block;
	min-width: 4.5em;
	color: #646970;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.mgst-link-missing {
	color: #8c8f94;
}

.mgst-rel {
	display: inline-block;
	padding: 0 6px;
	border-radius: 8px;
	font-size: 11px;
	line-height: 1.6;
	font-weight: 600;
}

.mgst-rel--dofollow {
	background: #edfaef;
	color: #00631c;
}

.mgst-rel--nofollow {
	background: #f0f0f1;
	color: #50575e;
}

.mgst-rel--ugc {
	background: #f0f6fc;
	color: #135e96;
}

.mgst-links-edit summary {
	list-style: none;
	margin-top: 2px;
}

.mgst-links-edit summary::-webkit-details-marker {
	display: none;
}

.mgst-links-editor {
	position: absolute;
	right: 8px;
	z-index: 20;
	width: 380px;
	margin-top: 6px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.mgst-links-editor fieldset {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

.mgst-links-editor legend {
	font-weight: 600;
	margin-bottom: 6px;
}

.mgst-links-editor label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 6px;
}

.mgst-links-editor label span {
	font-size: 12px;
	color: #50575e;
}

.mgst-links-editor input,
.mgst-links-editor select {
	width: 100%;
	box-sizing: border-box;
	max-width: none;
}

.mgst-links-editor small {
	display: block;
	color: #646970;
	margin-bottom: 6px;
}

.mgst-page-results {
	margin: 0 0 6px;
	max-height: 160px;
	overflow: auto;
}

.mgst-page-results li {
	margin: 0;
	padding: 3px 0;
	border-bottom: 1px solid #f0f0f1;
}

.mgst-page-chosen {
	margin: 0 0 6px;
}

.mgst-links-editor__actions {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 6px;
}

.mgst-links-editor__help {
	margin: 0;
	font-size: 12px;
}

.mgst-rel-table {
	margin-bottom: 6px;
}

.mgst-rel-table th[scope="row"] {
	width: 90px;
}

.mgst-bulk-rels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.mgst-inline-form {
	display: inline-block;
	margin: 0 4px 4px 0;
}

@media screen and (max-width: 782px) {
	.mgst-links-editor {
		position: static;
		width: auto;
	}

	.mgst-bulk-rels {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Translation (0.11.0). */
.mgst-guide {
	margin-left: 1.4em;
}

.mgst-guide > li {
	margin-bottom: 14px;
}

.mgst-guide p {
	margin: 4px 0;
}

.mgst-guide ul {
	list-style: disc;
	margin: 4px 0 4px 1.4em;
}

.mgst-guide__note {
	padding: 6px 10px;
	background: #f6f7f7;
	border-left: 3px solid #dcdcde;
	color: #50575e;
}

.mgst-meter {
	height: 10px;
	max-width: 480px;
	background: #f0f0f1;
	border-radius: 5px;
	overflow: hidden;
	margin: 6px 0 8px;
}

.mgst-meter span {
	display: block;
	height: 100%;
	background: #2271b1;
}

.mgst-tr-languages th code {
	margin-left: 4px;
	font-size: 11px;
}

.mgst-lang-origin {
	display: inline-block;
	padding: 0 6px;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
}

.mgst-tr-pill {
	display: inline-block;
	margin: 0 3px 3px 0;
	padding: 0 6px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.6;
}

.mgst-tr-pill--done {
	background: #edfaef;
	color: #00631c;
}

.mgst-tr-pill--manual {
	background: #f0f6fc;
	color: #135e96;
}

.mgst-tr-pill--review {
	background: #fcf0e3;
	color: #8a4b0f;
}

.mgst-tr-pill--pending {
	background: #f0f0f1;
	color: #646970;
	outline: 1px dashed #a7aaad;
}

.mgst-links-editor textarea {
	width: 100%;
	box-sizing: border-box;
}

/* 0.12.0: source links on or off, numbers of reviews. */
.mgst-rel--off {
	background: #fcf0f1;
	color: #8a2424;
}

.mgst-source-links {
	margin-bottom: 8px;
}

.mgst-source-links__actions {
	text-align: right;
}

.mgst-counts td input {
	width: 6em;
}

/* 0.14.1: setup guides. One action per line, what to expect, traps. */
.mgst-guide-steps {
	counter-reset: mgst-guide;
	list-style: none;
	margin: 0.5em 0 1em;
	padding: 0;
}

.mgst-guide-steps > li {
	counter-increment: mgst-guide;
	line-height: 1.6;
	margin: 0 0 0.6em;
	padding-left: 2.2em;
	position: relative;
}

.mgst-guide-steps > li::before {
	background: #2271b1;
	border-radius: 50%;
	color: #fff;
	content: counter(mgst-guide);
	font-size: 12px;
	font-weight: 600;
	height: 1.7em;
	left: 0;
	line-height: 1.7em;
	position: absolute;
	text-align: center;
	top: 0.05em;
	width: 1.7em;
}

.mgst-ui {
	background: #f0f0f1;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	font-weight: 600;
	padding: 0 0.35em;
}

.mgst-callout {
	border-left: 4px solid;
	border-radius: 2px;
	margin: 0.8em 0;
	padding: 0.6em 0.9em;
}

.mgst-callout p {
	margin: 0.2em 0;
}

.mgst-callout--expect {
	background: #edfaef;
	border-color: #00a32a;
}

.mgst-callout--trap {
	background: #fcf9e8;
	border-color: #dba617;
}

.mgst-copy-row {
	align-items: center;
	display: flex;
	gap: 0.5em;
	margin: 0.4em 0;
}

.mgst-copy-row input {
	flex: 1;
	min-width: 0;
}

.mgst-help {
	margin-top: 1.2em;
}

.mgst-help summary {
	cursor: pointer;
	font-weight: 600;
}

.mgst-help h4 {
	margin: 1.2em 0 0.3em;
}

/* 0.15.0: Google guide. */
.mgst-guide-list {
	list-style: disc;
	margin: 0.3em 0 0.5em 1.6em;
}

.mgst-guide-list li {
	margin: 0 0 0.2em;
}

.mgst-copy-label {
	display: block;
	font-weight: 600;
	margin-top: 0.6em;
}

/* 0.18.0: replies to reviews, in the Review column of the Reviews screen. */
.mgst-reply-summary {
	margin: 8px 0 4px;
	padding: 6px 10px;
	background: #f6f7f7;
	border-radius: 4px;
}

.mgst-reply-state {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 11px;
	background: #f0f0f1;
	color: #50575e;
}

.mgst-reply-state--approved,
.mgst-reply-state--google {
	background: #edfaef;
	color: #00632a;
}

.mgst-reply-state--pending {
	background: #fcf9e8;
	color: #6b4c00;
}

.mgst-reply-state--rejected {
	background: #fcf0f1;
	color: #8a2424;
}

.mgst-reply-excerpt {
	color: #3c434a;
}

.mgst-reply-edit {
	position: relative;
}

.mgst-reply-edit > summary {
	list-style: none;
	margin-top: 6px;
}

.mgst-reply-edit > summary::-webkit-details-marker {
	display: none;
}

/* A floating panel, like the "Edit" one: the Review column is too narrow
   for a form. */
.mgst-reply-form {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 20;
	width: 460px;
	margin-top: 6px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

@media screen and (max-width: 782px) {
	.mgst-reply-form {
		position: static;
		width: auto;
	}
}

.mgst-reply-form label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 6px;
}

.mgst-reply-form label span {
	font-size: 12px;
	color: #50575e;
}

.mgst-reply-form label.mgst-reply-publish {
	flex-direction: row;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

.mgst-reply-form textarea,
.mgst-reply-form input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	max-width: none;
}

.mgst-reply-form small {
	display: block;
	color: #646970;
	margin-bottom: 6px;
}

/* 0.18.0: below about 1500 px the fixed columns squeezed the Review column
   to a few pixels; it now keeps about 300 px and the page scrolls sideways
   (no scrolling box: it would clip the floating Edit and Reply panels). */
.mgst-avis-table {
	min-width: 1500px;
}

/* 0.18.1: alert and replies settings in a compact band above the table:
   one line each, "Set up" unfolds the settings. */
.mgst-band {
	padding: 0;
}

.mgst-band__row + .mgst-band__row {
	border-top: 1px solid #dcdcde;
}

.mgst-band__row > summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	padding: 10px 16px;
	cursor: pointer;
	list-style: none;
}

.mgst-band__row > summary::-webkit-details-marker {
	display: none;
}

.mgst-band__row > summary .dashicons {
	color: #2271b1;
}

.mgst-band__state {
	flex: 1 1 260px;
	color: #50575e;
}

.mgst-band__state .mgst-status {
	margin: 0 4px 0 0;
}

.mgst-band__toggle {
	margin-left: auto !important;
}

.mgst-band__close,
.mgst-band__row[open] .mgst-band__open {
	display: none;
}

.mgst-band__row[open] .mgst-band__close {
	display: inline;
}

.mgst-band__panel {
	padding: 4px 20px 12px;
	border-top: 1px dashed #dcdcde;
}

.mgst-band__panel .mgst-sd__scope {
	margin-top: 12px;
}

/* 0.18.1: languages of the reply, and its translations in the panel. */
.mgst-reply-langs {
	margin-top: 6px;
}

.mgst-reply-tr {
	margin: 4px 0 8px;
}

.mgst-reply-tr > summary {
	cursor: pointer;
	color: #2271b1;
	margin-bottom: 6px;
}

/* 0.19.0: "How your reviews are managed" card (SEO - GEO). */
.mgst-policy-admin__page {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
}

.mgst-policy-admin__page .dashicons-yes-alt {
	color: #00a32a;
}

.mgst-policy-admin__state {
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 10px;
}

.mgst-policy-admin__state--ok {
	background: #edfaef;
	color: #00670f;
}

.mgst-policy-admin__state--warn {
	background: #fcf0f1;
	color: #8a2424;
}

.mgst-policy-admin__warn {
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	padding: 8px 12px;
}

.mgst-policy-admin__other,
.mgst-policy-admin__preview {
	margin: 12px 0;
}

.mgst-policy-admin__other summary,
.mgst-policy-admin__preview summary {
	cursor: pointer;
	font-weight: 600;
}

.mgst-policy-admin__codes {
	list-style: disc;
	margin-left: 20px;
}

.mgst-policy-admin__codes li {
	margin-bottom: 10px;
}

.mgst-policy-admin__codes code {
	display: inline-block;
	margin: 4px 6px 0 0;
	user-select: all;
	word-break: break-all;
}

.mgst-policy-admin__text {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	margin: 10px 0;
	max-width: 760px;
	padding: 4px 20px 12px;
}

.mgst-policy-admin__text h4 {
	margin: 1.2em 0 0.4em;
}

/* 0.19.1: Legal screen. */
.mgst-policy-admin__disclaimer {
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	display: flex;
	gap: 10px;
	margin: 12px 0 20px;
	padding: 10px 14px;
}

.mgst-policy-admin__disclaimer .dashicons {
	color: #996800;
	flex: none;
	margin-top: 2px;
}

.mgst-policy-admin__disclaimer p {
	margin: 0;
}

.mgst-policy-admin__step {
	align-items: center;
	border-top: 1px solid #dcdcde;
	display: flex;
	font-size: 15px;
	gap: 10px;
	margin: 24px 0 10px;
	padding-top: 18px;
}

.mgst-policy-admin__num {
	align-items: center;
	background: #2271b1;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: none;
	font-size: 13px;
	height: 26px;
	justify-content: center;
	width: 26px;
}

.mgst-policy-admin h5 {
	font-size: 13px;
	margin: 18px 0 6px;
}

.mgst-policy-admin__ack label {
	font-weight: 600;
}

.mgst-policy-admin__lang {
	background: #f0f6fc;
	border-radius: 4px;
	margin: 14px 0;
	max-width: 760px;
	padding: 4px 14px;
}

.mgst-policy-admin__copy {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mgst-policy-admin__copy input {
	max-width: 260px;
}

.mgst-policy-admin__preview-link .mgst-policy-admin__label {
	color: #50575e;
	margin-right: 6px;
}

.mgst-policy-admin__advanced summary {
	cursor: pointer;
}

.mgst-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 0;
}

.mgst-policy-admin__text ul {
	list-style: disc;
	margin-left: 22px;
}

.mgst-policy-admin select {
	max-width: 100%;
}

/* 0.19.3: date of the experience, in the Date column of the Reviews
   screen: the line under the date opens a small panel. */
.mgst-exp-edit > summary {
	cursor: pointer;
	display: inline;
	list-style: none;
}

.mgst-exp-edit > summary::-webkit-details-marker {
	display: none;
}

.mgst-experience-cell {
	color: #2271b1;
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mgst-experience-cell--none {
	color: #b32d2e;
}

.mgst-exp-edit > summary:hover .mgst-experience-cell,
.mgst-exp-edit > summary.mgst-experience-cell:hover {
	color: #135e96;
}

.mgst-exp-edit > summary:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.mgst-exp-editor {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 6px;
	padding: 12px 14px;
	position: absolute;
	width: 260px;
	z-index: 20;
}

.mgst-exp-editor small {
	color: #50575e;
	line-height: 1.4;
}

.mgst-exp-editor p {
	margin: 4px 0 0;
}

@media screen and (max-width: 782px) {
	.mgst-exp-editor {
		position: static;
		width: auto;
	}
}

/* 0.19.3: name of the author, in the Author column: same small panel as
   the date of the experience. */
.mgst-author-edit > summary {
	color: #2271b1;
	cursor: pointer;
	display: inline;
	font-size: 12px;
	list-style: none;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mgst-author-edit > summary::-webkit-details-marker {
	display: none;
}

.mgst-author-edit > summary:hover {
	color: #135e96;
}

.mgst-author-edit > summary:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.mgst-author-edit input[type="text"] {
	width: 100%;
}

/* 0.19.3: the titles of the columns stay at the top of the screen while
   the table scrolls, under the black bar of WordPress. */
.mgst-avis-table thead th {
	background: #fff;
	box-shadow: inset 0 -1px 0 #c3c4c7;
	position: sticky;
	top: 32px;
	z-index: 5;
}

@media screen and (max-width: 782px) {
	.mgst-avis-table thead th {
		top: 46px;
	}

	/* On phones WordPress shows each row as a card: the row of titles has
	   nothing to stay above, so each value carries its own title instead,
	   and the table no longer needs its desktop width. */
	.mgst-avis-table {
		min-width: 0;
	}

	.mgst-avis-table thead,
	.mgst-avis-table tfoot {
		display: none;
	}

	/* One class more than the WordPress rule, which puts the title in a
	   left column over the value: here it sits above the value. */
	.mgst-avis-table.wp-list-table tr:not(.inline-edit-row):not(.no-items) td[data-colname]::before {
		color: #50575e;
		content: attr(data-colname);
		display: block;
		font-size: 12px;
		font-weight: 600;
		left: auto;
		margin-bottom: 2px;
		overflow: visible;
		position: static;
		white-space: normal;
		width: auto;
	}

	.mgst-avis-table.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.mgst-order-cell::before {
		content: none;
	}
}

@media screen and (max-width: 600px) {
	/* The black bar scrolls away with the page on small phones. */
	.mgst-avis-table thead th {
		top: 0;
	}
}

/* Filters, search and number per page on one line that wraps. */
.mgst-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 12px 0;
}

.mgst-filters select,
.mgst-filters input[type="search"] {
	margin: 0;
}

.mgst-filters input[type="search"] {
	min-width: 220px;
}

.mgst-filters label[for="mgst_per_page"] {
	margin-left: 8px;
}

.mgst-tablenav .mgst-page-jump {
	display: inline;
}

.mgst-tablenav .tablenav-pages {
	float: right;
}

/* 0.20.0: one-click Google connection and folded Advanced mode. */
.mgst-quick {
	border-color: #2271b1;
	border-width: 2px;
}

.mgst-quick--switch {
	border-color: #dcdcde;
	border-width: 1px;
}

.mgst-quick h2 {
	font-size: 16px;
	margin: 0 0 8px;
}

.mgst-quick__actions {
	margin: 16px 0;
}

.mgst-quick__note {
	color: #50575e;
	font-size: 12px;
	margin-bottom: 0;
	max-width: 760px;
}

.mgst-advanced {
	margin-bottom: 20px;
}

.mgst-advanced > summary {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 2px;
	list-style: none;
	min-height: 44px;
	padding: 12px 24px;
}

.mgst-advanced > summary::-webkit-details-marker {
	display: none;
}

.mgst-advanced > summary:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.mgst-advanced__title {
	font-weight: 600;
}

.mgst-advanced__title::before {
	content: "\25B8";
	display: inline-block;
	margin-right: 8px;
	transition: transform 0.15s;
}

.mgst-advanced[open] > summary .mgst-advanced__title::before {
	transform: rotate(90deg);
}

.mgst-advanced__meta {
	color: #50575e;
	font-size: 12px;
}

.mgst-advanced[open] > summary {
	margin-bottom: 12px;
}

/* ------------------------------------------------------------------ */
/* 0.22.0: Appearance screen.                                          */
/* ------------------------------------------------------------------ */

.mgst-ap-wrap .mgst-card.mgst-ap {
	max-width: none;
}

.mgst-ap-intro {
	max-width: 900px;
}

.mgst-ap-usage {
	margin: 4px 0 12px;
}

.mgst-ap-usage summary {
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 8px;
}

.mgst-ap__layout {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.mgst-ap__settings {
	flex: 1 1 520px;
	max-width: 600px;
	min-width: 0;
}

.mgst-ap__preview {
	flex: 1 1 480px;
	min-width: 0;
	position: sticky;
	top: 46px;
}

.mgst-ap__head h3 {
	margin-bottom: 8px;
}

.mgst-ap__head label {
	font-weight: 600;
	margin-right: 8px;
}

.mgst-ap__step {
	border-top: 1px solid #dcdcde;
	margin-top: 14px;
	padding-top: 6px;
}

.mgst-ap__models {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	margin: 10px 0;
}

.mgst-ap__model {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 44px;
	padding: 8px;
	text-align: left;
}

.mgst-ap__model:hover,
.mgst-ap__model:focus-visible {
	border-color: #2271b1;
}

.mgst-ap__model[aria-pressed="true"] {
	border: 2px solid #2271b1;
	padding: 7px;
}

.mgst-ap__mini {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	font-size: 10px;
	gap: 4px;
	height: 46px;
	padding: 6px;
}

.mgst-ap__bar {
	background: currentColor;
	border-radius: 2px;
	height: 4px;
	opacity: 0.35;
	width: 90%;
}

.mgst-ap__bar--short {
	width: 60%;
}

.mgst-ap__model-name {
	font-size: 12px;
	font-weight: 600;
}

/* 0.24.1: every tab drawn as a button, so the second row reads as tabs
   too (Vincent did not see "Format" on it). */
.mgst-ap__tabs {
	border-bottom: 1px solid #c3c4c7;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 12px;
	padding-bottom: 10px;
}

.mgst-ap__tab {
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	color: #1d2327;
	cursor: pointer;
	font-size: 13px;
	min-height: 36px;
	padding: 0 14px;
}

.mgst-ap__tab:hover {
	background: #f0f6fc;
	border-color: #2271b1;
}

.mgst-ap__tab[aria-selected="true"] {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
	font-weight: 600;
}

.mgst-ap__tab:focus-visible {
	outline: 2px solid #2271b1;
}

.mgst-ap__templates {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.mgst-ap__template {
	border: 1px solid #dcdcde;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 10px 10px 34px;
	position: relative;
}

.mgst-ap__template input {
	left: 10px;
	position: absolute;
	top: 12px;
}

.mgst-ap__template span {
	color: #50575e;
	font-size: 12px;
	line-height: 1.4;
}

.mgst-ap__template:has(input:checked) {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

/* 0.22.1: the elements in frames drawn like the card. */
.mgst-ap__frames {
	margin: 10px 0;
}

.mgst-ap__frame-zone {
	background: #fff;
	border: 1px solid #c3c4c7;
	padding: 8px 10px 4px;
}

.mgst-ap__frame-zone--top {
	border-bottom: 1px dashed #c3c4c7;
	border-radius: 10px 10px 0 0;
}

.mgst-ap__frame-zone--middle {
	border-bottom: 1px dashed #c3c4c7;
	border-top: 0;
}

.mgst-ap__frame-zone--bottom {
	border-radius: 0 0 10px 10px;
	border-top: 0;
}

.mgst-ap__frame-zone--hidden {
	background: #f6f7f7;
	border-radius: 10px;
	border-style: dashed;
	margin-top: 14px;
}

.mgst-ap__zone-title {
	align-items: center;
	color: #50575e;
	display: flex;
	font-size: 11px;
	gap: 4px;
	letter-spacing: 0.04em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.mgst-ap__zone-title .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

.mgst-ap__zone-list {
	list-style: none;
	margin: 0;
	min-height: 6px;
	padding: 0;
}

.mgst-ap__zone-empty {
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	color: #787c82;
	display: none;
	font-size: 12px;
	margin: 0 0 6px;
	padding: 8px;
	text-align: center;
}

.mgst-ap__frame-zone.is-empty .mgst-ap__zone-empty {
	display: block;
}

.mgst-ap__el {
	align-items: center;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	cursor: grab;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0 0 6px;
	padding: 5px 8px;
}

.mgst-ap__frame-zone--hidden .mgst-ap__el {
	background: #fff;
	color: #646970;
}

.mgst-ap__frame-zone--hidden .mgst-ap__el-name {
	font-weight: 400;
	text-decoration: line-through;
}

.mgst-ap__el.is-dragging {
	opacity: 0.5;
	outline: 2px dashed #2271b1;
}

.mgst-ap__frames.is-dragging-locked .mgst-ap__frame-zone--hidden {
	opacity: 0.45;
}

.mgst-ap__grip {
	color: #8c8f94;
}

.mgst-ap__el-name {
	flex: 1 1 140px;
	font-weight: 600;
}

.mgst-ap__el-note {
	color: #646970;
	font-size: 12px;
}

.mgst-ap__move.button,
.mgst-ap__eye.button {
	min-height: 30px;
	min-width: 32px;
	padding: 0 6px;
}

.mgst-ap__eye .dashicons {
	vertical-align: middle;
}

/* 0.22.1: "Model applied. Undo", instead of a confirmation box. */
.mgst-ap__undo {
	align-items: center;
	background: #edfaef;
	border-left: 4px solid #00a32a;
	display: flex;
	gap: 6px;
	margin: 10px 0 0;
	padding: 6px 10px;
}

.mgst-ap__undo[hidden] {
	display: none;
}

.mgst-ap__undo .dashicons {
	color: #00a32a;
}

.mgst-ap__undo .button-link {
	font-weight: 600;
}

.mgst-ap__parts td,
.mgst-ap__parts th,
.mgst-ap__sides td,
.mgst-ap__sides th {
	vertical-align: middle;
}

.mgst-ap__all,
.mgst-ap__accent,
.mgst-ap__corners,
.mgst-ap__shadow {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.mgst-ap__corners label span {
	display: inline-block;
	min-width: 96px;
}

.mgst-ap__formats {
	margin: 0 0 16px;
}

.mgst-ap__formats legend {
	font-weight: 600;
	margin-bottom: 6px;
}

.mgst-ap__formats label {
	display: block;
	margin: 0 0 6px;
}

.mgst-ap__save {
	border-top: 1px solid #dcdcde;
	margin-top: 16px;
	padding-top: 8px;
}

.mgst-ap__save .button-link-delete {
	margin-left: 12px;
}

.mgst-ap__toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
}

.mgst-ap__seg {
	display: inline-flex;
}

.mgst-ap__seg .button {
	border-radius: 0;
	margin: 0 -1px 0 0;
	min-height: 32px;
}

.mgst-ap__seg .button:first-child {
	border-radius: 3px 0 0 3px;
}

.mgst-ap__seg .button:last-child {
	border-radius: 0 3px 3px 0;
}

.mgst-ap__seg .button[aria-pressed="true"] {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.mgst-ap__frame {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	min-height: 360px;
	overflow: hidden;
	position: relative;
}

.mgst-ap__iframe {
	border: 0;
	display: block;
	height: 360px;
	left: 0;
	position: absolute;
	top: 0;
	visibility: hidden;
	width: 100%;
}

.mgst-ap__iframe.is-current {
	visibility: visible;
}

/* 0.24.2: a neutral grey around the phone, so it is not taken for a
   colour of the site (Vincent, 12/10/2026). */
.mgst-ap__frame.is-phone {
	background: #50575e;
	border-color: #50575e;
}

.mgst-ap__frame.is-phone .mgst-ap__iframe {
	left: 50%;
	margin-left: -195px;
	width: 390px;
}

.mgst-ap__warnings {
	margin: 8px 0 0;
}

.mgst-ap__warning {
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	margin: 0 0 6px;
	padding: 6px 10px;
}

.mgst-ap__warning .dashicons {
	color: #996800;
}

.mgst-ap__noscript {
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	padding: 8px 12px;
}

@media screen and (max-width: 782px) {
	.mgst-ap__preview {
		position: static;
	}

	.mgst-ap__frame.is-phone .mgst-ap__iframe {
		left: 0;
		margin-left: 0;
		width: 100%;
	}
}

/* 0.22.1: choices of the blocks saved as soon as made. */
.mgst-ap-saved {
	font-size: 12px;
	margin-left: 8px;
}

.mgst-ap-saved.is-ok {
	color: #008a20;
}

.mgst-ap-saved.is-ok::before {
	content: "\2713\00a0";
}

.mgst-ap-saved.is-error {
	color: #d63638;
}

.mgst-ap-pages th[scope="row"] {
	font-weight: 400;
	width: 45%;
}

.mgst-ap-pages td .description {
	margin: 4px 0 0;
}

/* 0.23.0: choices drawn as small pictures (stars, badges). */
.mgst-ap__choices {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	margin: 6px 0 12px;
}

.mgst-ap__choice {
	align-items: center;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px 8px 8px;
	position: relative;
	text-align: center;
}

.mgst-ap__choice input {
	left: 8px;
	margin: 0;
	position: absolute;
	top: 8px;
}

.mgst-ap__choice:has(input:checked) {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.mgst-ap__choice-pic {
	align-items: center;
	display: flex;
	gap: 3px;
	justify-content: center;
	min-height: 28px;
}

.mgst-ap__stars-pic svg {
	height: 20px;
	width: 20px;
}

.mgst-ap__stars-pic path {
	fill: #e8a33d;
}

.mgst-ap__stars-pic--rounded path {
	stroke: #e8a33d;
	stroke-linejoin: round;
	stroke-width: 2.6;
}

.mgst-ap__stars-pic .is-empty path {
	fill: #d5d5d5;
}

.mgst-ap__stars-pic--outline .is-empty path {
	fill: none;
	stroke: #e8a33d;
	stroke-width: 1.6;
}

.mgst-ap__stars-pic--boxed svg {
	background: #e8a33d;
	border-radius: 3px;
	box-sizing: content-box;
	padding: 3px;
}

.mgst-ap__stars-pic--boxed path,
.mgst-ap__stars-pic--boxed .is-empty path {
	fill: #fff;
}

.mgst-ap__stars-pic--boxed svg.is-empty {
	background: #d5d5d5;
}

.mgst-ap__badge-pic {
	flex-wrap: wrap;
	font-size: 11px;
	gap: 6px;
}

.mgst-ap__badge-pic > span {
	align-items: center;
	display: inline-flex;
	gap: 4px;
	white-space: nowrap;
}

.mgst-ap__badge-pic .ms-logo {
	display: block;
	height: 18px;
	width: 18px;
}

.mgst-ap__badge-pic--text > span {
	border: 1px solid #c3c4c7;
	border-radius: 999px;
	padding: 1px 6px;
	text-transform: uppercase;
}

.mgst-ap__badge-pic--logo .ms-badge__name,
.mgst-ap__badge-pic--mono .ms-badge__name {
	display: none;
}

.mgst-ap__badge-pic--mono {
	color: #50575e;
}

.mgst-pro-pill {
	background: #6b3fa0;
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
	padding: 3px 7px;
	vertical-align: middle;
}

/* 0.47.2: the lock before the word, drawn in CSS: a body and a shackle.
   It says "not in your version", where the word alone could be read as
   "this is PRO". */
.mgst-pro-pill__lock {
	background: currentColor;
	border-radius: 1px;
	display: inline-block;
	height: 5px;
	margin: 0 4px 0 1px;
	position: relative;
	top: 1px;
	vertical-align: baseline;
	width: 7px;
}

.mgst-pro-pill__lock::before {
	border: 1.5px solid currentColor;
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
	box-sizing: border-box;
	content: "";
	height: 5px;
	left: 1px;
	position: absolute;
	top: -4px;
	width: 5px;
}

#mgst-ap-css {
	font-family: Menlo, Consolas, monospace;
	font-size: 12px;
}

.mgst-ap-langs {
	color: #646970;
	font-size: 12px;
	margin-left: 4px;
}

/* 0.23.0: My creations. */
.mgst-ap-mine__list {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.mgst-ap-mine__item {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	margin: 0;
	padding: 8px 10px 10px;
}

.mgst-ap-mine__item.is-used {
	border-color: #00a32a;
	box-shadow: 0 0 0 1px #00a32a;
}

.mgst-ap-mine__item.is-editing {
	outline: 2px dashed #2271b1;
	outline-offset: 2px;
}

.mgst-ap-mine__pic {
	background: #f6f7f7;
	border-radius: 6px;
	height: 190px;
	overflow: hidden;
	position: relative;
}

.mgst-ap-mine__pic iframe {
	border: 0;
	display: block;
	height: 190px;
	pointer-events: none;
	width: 100%;
}

.mgst-ap-mine__item.is-preview-only .mgst-ap-mine__pic iframe {
	opacity: 0.75;
}

.mgst-ap-mine__tick {
	align-items: center;
	background: #00a32a;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	color: #fff;
	display: flex;
	height: 30px;
	justify-content: center;
	position: absolute;
	right: 8px;
	top: 8px;
	width: 30px;
}

.mgst-ap-mine__tick .dashicons {
	font-size: 22px;
	height: 22px;
	width: 22px;
}

.mgst-ap-mine__name {
	font-weight: 600;
	margin: 8px 0 2px;
}

.mgst-ap-mine__state {
	color: #646970;
	font-size: 12px;
	margin: 0 0 6px;
}

.mgst-ap-mine__used {
	color: #008a20;
}

.mgst-ap-mine__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.mgst-ap-mine__editing {
	color: #2271b1;
	font-size: 12px;
}

.mgst-ap-mine__new a {
	align-items: center;
	color: #2271b1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	justify-content: center;
	min-height: 120px;
	text-align: center;
	text-decoration: none;
}

.mgst-ap-mine__new .dashicons {
	font-size: 36px;
	height: 36px;
	width: 36px;
}

.mgst-ap-mine__hidden {
	margin-top: 12px;
}

/* 0.23.1: the top of the Appearance screen on two columns on a wide
   screen: the appearance of the blocks, My creations. */
.mgst-ap-top {
	align-items: start;
	display: grid;
	gap: 0 20px;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1400px) {
	.mgst-ap-top {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.mgst-ap-top > .mgst-card {
		margin-top: 0;
		max-width: none;
	}
}

.mgst-ap-top > .mgst-card,
.mgst-ap-where {
	max-width: none;
}

/* "Where are your reviews on your site?": one sentence, then the tools. */
.mgst-ap-where__summary {
	font-size: 14px;
	margin: 0 0 12px;
}

.mgst-ap-where__tools > summary.button {
	display: inline-block;
	list-style: none;
}

.mgst-ap-where__tools > summary::-webkit-details-marker {
	display: none;
}

.mgst-ap-where__tools[open] > summary.button {
	margin-bottom: 10px;
}

.mgst-ap-where__bar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 8px 0 10px;
}

.mgst-ap-where__bar input[type="search"] {
	min-width: 220px;
}

.mgst-ap-where__bulk {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-left: auto;
}

.mgst-ap-where__pager {
	align-items: center;
	display: flex;
	gap: 10px;
	margin: 10px 0;
}

.mgst-ap-pages .check-column {
	width: 2.2em;
}

/* 0.24.0: hiding a review asks why (panel of the Action column, anchored
   on its right edge since the column is the last one). */
.mgst-hide-edit {
	display: inline-block;
	position: relative;
}

.mgst-hide-edit > summary {
	list-style: none;
}

.mgst-hide-edit > summary::-webkit-details-marker {
	display: none;
}

.mgst-hide-edit__change {
	margin-top: 4px;
}

.mgst-hide-editor {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
	margin-top: 6px;
	padding: 12px 14px;
	position: absolute;
	right: 6px;
	text-align: left;
	top: 100%;
	width: 340px;
	z-index: 20;
}

.mgst-hide-editor fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.mgst-hide-editor legend {
	font-weight: 600;
	margin-bottom: 6px;
}

.mgst-hide-editor__choice {
	align-items: center;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	gap: 8px;
	min-height: 32px;
	padding: 2px 6px;
}

.mgst-hide-editor__choice:hover,
.mgst-hide-editor__choice:has(input:checked) {
	background: #f0f6fc;
}

.mgst-hide-editor__choice.is-other {
	border-top: 1px solid #dcdcde;
	margin-top: 4px;
	padding-top: 6px;
}

.mgst-hide-editor__label {
	flex: 1 1 auto;
}

.mgst-hide-editor__effect {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	margin: 10px 0 0;
	padding: 8px 10px;
}

.mgst-hide-editor__effect.is-out {
	background: #fcf0f1;
	border-color: #f0c5c8;
}

.mgst-hide-editor__law {
	color: #50575e;
	font-size: 12px;
	margin: 8px 0 0;
}

.mgst-motive-tag {
	border-radius: 10px;
	display: inline-block;
	font-size: 11px;
	line-height: 1.6;
	padding: 0 8px;
	white-space: nowrap;
}

.mgst-motive-tag--counted {
	background: #f0f0f1;
	color: #50575e;
}

.mgst-motive-tag--out {
	background: #fcf0f1;
	color: #8a2424;
}

@media screen and (max-width: 782px) {
	.mgst-hide-editor {
		position: static;
		width: auto;
	}
}

/* 0.24.0: header tab of the Appearance editor. */
.mgst-ap__choice--text {
	align-items: flex-start;
	text-align: left;
}

.mgst-ap__choice--text small {
	color: #50575e;
}

.mgst-ap__hels {
	list-style: none;
	margin: 0 0 8px;
	max-width: 560px;
	padding: 0;
}

.mgst-ap__hel {
	align-items: center;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	margin: 0 0 4px;
	padding: 4px 8px;
}

.mgst-ap__hel-moves {
	display: inline-flex;
	gap: 4px;
}

.mgst-ap__hel-moves .button {
	min-width: 32px;
	padding: 0 4px;
}

.mgst-ap__hel-moves .dashicons {
	line-height: 28px;
}

.mgst-ap__header-looks .button {
	margin: 0 4px 4px 0;
}

/* 0.24.1: the shortcode setting of the header, explained, and the words. */
.mgst-ap__explain {
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 4px;
	margin: 10px 0 14px;
	max-width: 640px;
	padding: 4px 14px;
}

.mgst-ap__explain ul {
	list-style: disc;
	margin: 0 0 8px 20px;
}

.mgst-ap__explain code {
	font-size: 12px;
	user-select: all;
}

.mgst-ap__words {
	table-layout: fixed;
	width: 100%;
}

.mgst-ap__words thead th:first-child {
	width: 6.5em;
}

.mgst-ap__words input[type="text"] {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

.mgst-ap__words td {
	vertical-align: top;
}

/* 0.24.2: favourite reviews. */
.mgst-fav .dashicons {
	color: #8c8f94;
}

.mgst-fav.is-on .dashicons {
	color: #dba617;
}

.mgst-fav.is-locked {
	cursor: not-allowed;
	opacity: .5;
}

.mgst-row--favorite > td:first-child {
	box-shadow: inset 4px 0 0 #dba617;
}

.mgst-fav-tag {
	background: #fcf9e8;
	border-radius: 10px;
	color: #6e4f00;
	display: inline-block;
	font-size: 11px;
	line-height: 1.6;
	padding: 0 8px;
	white-space: nowrap;
}

/* 0.25.0: export, import, appearances on hold. */
.mgst-ap-import-form {
	border-top: 1px solid #f0f0f1;
	margin-top: 14px;
	padding-top: 10px;
}

.mgst-ap-import-form input[type="file"] {
	margin: 6px 8px 6px 0;
	max-width: 100%;
}

.mgst-ap-wait__count {
	color: #646970;
	font-size: 13px;
	font-weight: 400;
	margin-left: 8px;
}

.mgst-ap-import {
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-left: 4px solid #2271b1;
	border-radius: 6px;
	margin: 12px 0 16px;
	padding: 12px 16px 14px;
}

.mgst-ap-import h4 {
	font-size: 15px;
	margin: 0 0 6px;
}

.mgst-ap-import__origin {
	align-items: center;
	display: flex;
	gap: 6px;
	margin: 0 0 10px;
}

.mgst-ap-import__origin.is-signed {
	color: #008a20;
}

.mgst-ap-import__origin.is-unsigned {
	color: #50575e;
}

/* 0.51.0 (lot E): the owner's own file, the large view, the rule said
   before the import, the copies of the former creations. */
.mgst-ap-import__origin.is-own {
	background: #f5f3fb;
	border-left: 3px solid #3d2a8c;
	color: #17112b;
	padding: 6px 10px;
}

.mgst-ap-import__big {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
}

.mgst-ap-import__big .dashicons {
	font-size: 16px;
	height: 16px;
	vertical-align: -3px;
	width: 16px;
}

.mgst-ap-import-form__rule {
	background: #f5f3fb;
	border-radius: 6px;
	color: #17112b;
	padding: 8px 10px;
}

.mgst-ap-import-form__rule .dashicons {
	color: #3d2a8c;
}

.mgst-ap-copies {
	margin-top: 16px;
}

.mgst-ap-import__pic {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	overflow: hidden;
}

.mgst-ap-import__pic iframe {
	border: 0;
	display: block;
	height: 460px;
	width: 100%;
}

.mgst-ap-import__css pre {
	background: #fff;
	border: 1px solid #dcdcde;
	font-family: Menlo, Consolas, monospace;
	font-size: 12px;
	max-height: 220px;
	overflow: auto;
	padding: 8px;
	white-space: pre-wrap;
}

.mgst-ap-import__css {
	margin: 10px 0 0;
}

.mgst-ap-import__choices {
	margin-top: 12px;
}

.mgst-ap-import__row {
	align-items: center;
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
	padding: 0;
}

.mgst-ap-wait__settings {
	align-items: center;
	border-top: 1px solid #f0f0f1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
	padding-top: 10px;
}

@media (max-width: 782px) {
	.mgst-ap-import__pic iframe {
		height: 380px;
	}
}

/* 0.25.1: the Appearance screen in three tabs. */
.mgst-ap-tabs {
	margin: 18px 0 0;
}

body.js .mgst-ap-panel:not(.is-active) {
	display: none;
}

.mgst-ap-panel > .mgst-card,
.mgst-ap-wrap .mgst-ap-panel .mgst-card {
	max-width: none;
}

.mgst-ap-panel__intro {
	margin: 16px 0 0;
	max-width: 900px;
}

.mgst-ap-open {
	align-items: center;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 16px 0 0;
	padding: 10px 14px;
}

.mgst-ap-open label {
	font-weight: 600;
}

.mgst-ap-open select {
	max-width: 100%;
	min-width: 260px;
}

/* 0.26.0: the gallery of Magnetic Stars. */
.mgst-ap__gallery {
	border-top: 1px solid #dcdcde;
	margin-top: 16px;
	padding-top: 8px;
}

.mgst-ap__gallery h4 {
	margin: 4px 0 8px;
}

.mgst-ap__gallery h4 .dashicons {
	color: #5b3df5;
}

.mgst-ap__gallery-vis label {
	display: inline-block;
	margin: 2px 0;
}

/* 1.0.3: the sector, out of the optional box, with the reason of its guess. */
.mgst-ap__gallery-sector {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 8px 0 0;
}

.mgst-ap__gallery-credit {
	margin: 8px 0 0;
}

.mgst-ap__gallery-credit summary {
	color: #2271b1;
	cursor: pointer;
}

.mgst-ap__gallery-credit p {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.mgst-ap__gallery-credit input[type="text"],
.mgst-ap__gallery-credit input[type="url"] {
	min-width: 200px;
}

.mgst-ap__gallery-said:empty {
	display: none;
}

.mgst-ap__gallery-said {
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	margin: 8px 0 0;
	padding: 6px 10px;
}

.mgst-ap-mine__gallery {
	border-radius: 10px;
	display: inline-block;
	font-size: 12px;
	line-height: 1.4;
	margin: 0 0 6px;
	padding: 2px 8px;
	background: #f0f0f1;
	color: #50575e;
}

.mgst-ap-mine__gallery.is-public,
.mgst-ap-mine__gallery.is-showcase {
	background: #edfaef;
	color: #00631c;
}

.mgst-ap-mine__gallery.is-private,
.mgst-ap-mine__gallery.is-source {
	background: #efecfe;
	color: #3b23b8;
}

.mgst-ap-mine__gallery.is-pending {
	background: #fcf9e8;
	color: #7a5600;
}

.mgst-ap-mine__gallery.is-error {
	background: #fcf0f1;
	color: #a1181a;
}

.mgst-gallery__filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
}

.mgst-gallery__filters .dashicons {
	font-size: 16px;
	height: 16px;
	vertical-align: text-bottom;
	width: 16px;
}

.mgst-gallery__status {
	color: #646970;
	margin: 0;
}

.mgst-gallery__list[aria-busy="true"] {
	opacity: 0.5;
}

.mgst-gallery__card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	margin: 0;
	padding: 8px 10px 10px;
}

.mgst-gallery__name {
	font-weight: 600;
	margin: 8px 0 2px;
	overflow-wrap: anywhere;
}

.mgst-gallery__credit,
.mgst-gallery__meta {
	color: #646970;
	font-size: 12px;
	margin: 0 0 6px;
}

.mgst-gallery__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.mgst-gallery__actions .dashicons {
	font-size: 16px;
	height: 16px;
	vertical-align: text-bottom;
	width: 16px;
}

.mgst-gallery__fav[aria-pressed="true"] .dashicons {
	color: #dba617;
}

.mgst-gallery__report {
	margin: 6px 0 0;
}

.mgst-gallery__report .button-link {
	color: #646970;
	font-size: 12px;
}

.mgst-gallery__said {
	font-size: 12px;
	margin: 6px 0 0;
}

.mgst-gallery__said:empty {
	display: none;
}

.mgst-gallery__empty {
	color: #646970;
	grid-column: 1 / -1;
	list-style: none;
	padding: 20px 0;
}

.mgst-gallery__pager {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: center;
	margin: 16px 0 0;
}

.mgst-gallery__foot {
	border-top: 1px solid #dcdcde;
	margin-top: 20px;
	padding-top: 8px;
}

.mgst-gallery-consent__list {
	list-style: disc;
	margin: 0 0 10px 20px;
}

.mgst-gallery-consent {
	max-width: 760px;
}

.mgst-gallery-consent__said:empty {
	display: none;
}

/*
 * 0.43.0: the line that accepts the terms. Set a little apart from the
 * paragraphs above it, because it is the one thing to do on this window,
 * but written in the same voice as the rest: a line to tick, not a
 * question fired at the reader.
 */
.mgst-gallery-consent__accept {
	border-top: 1px solid #dcdcde;
	margin-top: 16px;
	padding-top: 14px;
}

.mgst-gallery-consent__accept label {
	font-weight: 600;
}

.mgst-gallery-consent__accept .description {
	display: inline;
	font-weight: 400;
}

.mgst-dialog {
	border: 0;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	max-height: calc(100vh - 80px);
	max-width: min(720px, calc(100vw - 32px));
	padding: 20px 24px;
}

.mgst-dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.mgst-dialog h2 {
	margin-top: 0;
}

.mgst-dialog__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 0;
}

.mgst-gallery-big {
	max-width: min(1100px, calc(100vw - 32px));
	width: 1100px;
}

.mgst-gallery-big__frame {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	overflow: hidden;
}

.mgst-gallery-big__frame iframe {
	border: 0;
	display: block;
	height: min(560px, calc(100vh - 260px));
	margin: 0 auto;
	width: 100%;
}

.mgst-gallery-big.is-phone .mgst-gallery-big__frame {
	background: #50575e;
	border-color: #50575e;
}

.mgst-gallery-big.is-phone .mgst-gallery-big__frame iframe {
	max-width: 100%;
	width: 390px;
}

.mgst-gallery__filters .mgst-ap__seg,
.mgst-gallery-big .mgst-ap__seg {
	flex-wrap: wrap;
	max-width: 100%;
}

@media screen and (max-width: 600px) {
	.mgst-gallery__filters .mgst-ap__seg .button,
	.mgst-gallery-big .mgst-ap__seg .button {
		border-radius: 3px;
		margin: 0 4px 4px 0;
	}

	.mgst-gallery__filters select,
	.mgst-gallery__filters input[type="search"] {
		max-width: 100%;
	}

	.mgst-dialog {
		padding: 16px;
	}
}

/* 0.26.1: miniatures (the whole block drawn 1 100 px wide, made smaller). */
.mgst-mini {
	background: #f6f7f7;
	border-radius: 6px;
	height: 220px;
	overflow: hidden;
	position: relative;
}

.mgst-ap-mine__pic.mgst-mini {
	height: 220px;
}

.mgst-mini iframe,
.mgst-ap-mine__pic.mgst-mini iframe {
	border: 0;
	display: block;
	height: 900px;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform-origin: 0 0;
	width: 1100px;
}

.mgst-mini.is-cut::after {
	background: linear-gradient(rgba(246, 247, 247, 0), #f6f7f7);
	bottom: 0;
	content: "";
	height: 36px;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
}

.mgst-gallery__list.is-dark .mgst-mini {
	background: #121417;
}

.mgst-gallery__list.is-dark .mgst-mini.is-cut::after {
	background: linear-gradient(rgba(18, 20, 23, 0), #121417);
}

.mgst-gallery__pic.mgst-mini {
	background: #ffffff;
	border: 1px solid #dcdcde;
}

.mgst-gallery__pic.mgst-mini.is-cut::after {
	background: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
}

.mgst-ap-mine__list {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* 2 cards per row on a large screen (Vincent, 2 A), 1 on a phone. */
.mgst-gallery__list.mgst-ap-mine__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mgst-gallery__view {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
}

@media screen and (max-width: 782px) {
	.mgst-gallery__list.mgst-ap-mine__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.mgst-gallery__view .mgst-ap__seg {
		flex-wrap: wrap;
		max-width: 100%;
	}
}

/* 0.27.0: "Get my creation", a code of the online tool. */
.mgst-ap-code__form {
	margin-top: 8px;
}

.mgst-ap-code__form input[name="mgst_ap_code"] {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * 0.30.0: reviews arrived since the last visit, framed for 30 minutes:
 * red at or under the alert level, light blue otherwise.
 * ---------------------------------------------------------------------- */

.mgst-row--new {
	--mgst-news: #72aee6;
}

.mgst-row--new-low {
	--mgst-news: #d63638;
}

.mgst-row--new > td,
.mgst-row--new-low > td {
	box-shadow: inset 0 2px 0 var(--mgst-news), inset 0 -2px 0 var(--mgst-news);
}

.mgst-row--new > td:first-child,
.mgst-row--new-low > td:first-child {
	box-shadow: inset 2px 0 0 var(--mgst-news), inset 0 2px 0 var(--mgst-news), inset 0 -2px 0 var(--mgst-news);
}

.mgst-row--new > td:last-child,
.mgst-row--new-low > td:last-child {
	box-shadow: inset -2px 0 0 var(--mgst-news), inset 0 2px 0 var(--mgst-news), inset 0 -2px 0 var(--mgst-news);
}

.mgst-row--favorite.mgst-row--new > td:first-child,
.mgst-row--favorite.mgst-row--new-low > td:first-child {
	box-shadow: inset 2px 0 0 var(--mgst-news), inset 6px 0 0 #dba617, inset 0 2px 0 var(--mgst-news), inset 0 -2px 0 var(--mgst-news);
}

.mgst-news-legend {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 12px 0 4px;
}

.mgst-news-legend .dashicons {
	color: #2271b1;
}

.mgst-news-legend__item {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}

.mgst-news-legend__item::before {
	border: 2px solid #72aee6;
	border-radius: 2px;
	content: "";
	display: inline-block;
	height: 10px;
	width: 18px;
}

.mgst-news-legend__item--low::before {
	border-color: #d63638;
}

/* 0.31.0: card on magnetic-stars.com, card not in the showcase yet, credit. */
.mgst-ap-mine__card {
	margin: 0 0 6px;
	font-size: 12px;
}
.mgst-gallery__not-yet {
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
	margin: 6px 0;
	padding: 6px 10px;
}
.mgst-gallery__foot #mgst-gallery-credit {
	margin: 0 0 8px;
}
.mgst-gallery__foot #mgst-gallery-credit .description {
	display: block;
}

/* 0.32.0 (decision B of Vincent, 16/10/2026): the free version installs an
   appearance of the Community Gallery, one at a time and as it is. */
.mgst-gallery__free {
	margin: 4px 0 6px;
	font-size: 12px;
	color: #50575e;
}

/* ---------------------------------------------------------------------- */
/* The PRO mentions of the free version (0.37.0, lot C of step 10).        */
/*                                                                        */
/* Everything is made of span elements, because a pill goes where a word   */
/* goes: inside a paragraph, inside a title. A details element would be    */
/* thrown out of both by the browser.                                     */
/*                                                                        */
/* Without the script the panel is simply shown: nothing is hidden behind  */
/* a button that cannot answer. The script adds .mgst-pro--js, and only    */
/* then the panel opens and closes.                                       */
/* ---------------------------------------------------------------------- */

.mgst-pro {
	display: inline-block;
	position: relative;
	vertical-align: middle;
}

button.mgst-pro-pill {
	border: 0;
	cursor: pointer;
	font-family: inherit;
	padding: 3px 7px;
}

button.mgst-pro-pill:focus-visible {
	outline: 2px solid #6b3fa0;
	outline-offset: 2px;
}

.mgst-pro__panel {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	display: block;
	font-weight: 400;
	margin-top: 6px;
	max-width: 320px;
	min-width: 260px;
	padding: 12px 14px;
	text-align: left;
	white-space: normal;
}

.mgst-pro--js .mgst-pro__panel {
	left: 0;
	position: absolute;
	top: 100%;
	z-index: 20;
}

.mgst-pro--js:not(.is-open) .mgst-pro__panel {
	display: none;
}

.mgst-pro__benefit,
.mgst-pro__kept,
.mgst-pro__price,
.mgst-pro__actions {
	display: block;
}

.mgst-pro__benefit {
	font-weight: 600;
	margin: 0 0 8px;
}

.mgst-pro__show {
	display: block;
}

/* 0.47.5 (Vincent, 29/10/2026): an example, for the functions one sentence
   does not explain. */
.mgst-pro__example {
	color: #3c434a;
	display: block;
	font-size: 12px;
	line-height: 1.5;
	margin: 0 0 8px;
}

/* 0.47.5: the button of the PRO function, greyed, with its lock, where the
   function is used. It opens the panel like a pill, so it must read as a
   button one may press, only quieter than a real one. */
.mgst-pro--button {
	margin-top: 4px;
}

button.mgst-pro-pill.mgst-pro-pill--button,
.mgst-pro-locked {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	color: #646970;
	display: inline-block;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.6;
	padding: 1px 8px;
	text-transform: none;
	white-space: nowrap;
}

button.mgst-pro-pill.mgst-pro-pill--button:hover,
.mgst-pro--button.is-open button.mgst-pro-pill--button {
	border-color: #6b3fa0;
	color: #6b3fa0;
}

.mgst-pro-locked {
	cursor: default;
	opacity: 0.8;
}

.mgst-pro__show:not(:empty) {
	margin: 0 0 8px;
}

.mgst-pro__kept,
.mgst-pro__price {
	color: #50575e;
	font-size: 12px;
	margin: 0 0 8px;
}

/* 0.37.2: a line of consequence, not of sales. Red because the owner must
   not miss that reviews he had set aside are public again; used on that
   one line only, so the panel never reads as an alarm. */
.mgst-pro__kept--warn {
	color: #d63638;
	font-weight: 600;
}

.mgst-pro__actions {
	align-items: center;
	display: flex;
	gap: 10px;
}

.mgst-pro__later {
	color: #50575e;
}

/* ---------------------------------------------------------------------- */
/* The result of a PRO function, shown (0.38.0, lot H).                   */
/*                                                                        */
/* Drawn in CSS: no image, no script, nothing to load, and it stays sharp  */
/* on every screen. The cards are bars rather than sentences, so the       */
/* drawing reads the same in every language.                              */
/*                                                                        */
/* The animation runs only while the panel is open, since nothing animates */
/* inside a display:none; and it does not run at all for someone who asked */
/* for less movement, who sees the end of the story straight away.        */
/* ---------------------------------------------------------------------- */

.mgst-show {
	background: #f6f7f7;
	border-radius: 6px;
	display: block;
	margin: 0 0 10px;
	overflow: hidden;
	padding: 10px;
	position: relative;
}

.mgst-show__card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: block;
	margin: 0 0 6px;
	overflow: hidden;
	padding: 7px 8px;
}

.mgst-show__card:last-of-type {
	margin-bottom: 0;
}

.mgst-show__stars {
	display: block;
	line-height: 0;
	margin: 0 0 5px;
}

.mgst-show__star {
	background: #dcdcde;
	display: inline-block;
	height: 7px;
	margin-right: 2px;
	width: 7px;
	/* A star drawn with a mask: five points, no font and no image. */
	-webkit-clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.mgst-show__star.is-on {
	background: #dba617;
}

.mgst-show__stars--low .mgst-show__star.is-on {
	background: #d63638;
}

.mgst-show__bar {
	background: #e8e9ea;
	border-radius: 2px;
	display: block;
	height: 5px;
	margin: 0 0 4px;
}

.mgst-show__bar--short {
	margin-bottom: 0;
	width: 62%;
}

.mgst-show__tag {
	background: #fcf0f1;
	border-radius: 3px;
	color: #d63638;
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	margin: 6px 0 0;
	opacity: 0;
	padding: 2px 6px;
}

.mgst-show__note {
	color: #50575e;
	display: block;
	font-size: 11px;
	margin: 7px 0 0;
	opacity: 0;
	text-align: center;
}

/* ---- The story of setting a review aside, in nine seconds ---- */

.mgst-show--ecarter .mgst-show__card--out {
	animation: mgst-show-out 9s ease-in-out infinite;
}

.mgst-show--ecarter .mgst-show__tag {
	animation: mgst-show-tag 9s ease-in-out infinite;
}

.mgst-show--ecarter .mgst-show__note {
	animation: mgst-show-note 9s ease-in-out infinite;
}

/* The card that is set aside: still, then its motive is read, then it
   leaves and its place closes. */
@keyframes mgst-show-out {
	0%, 25% { max-height: 60px; opacity: 1; transform: none; }
	40% { max-height: 60px; opacity: 1; transform: none; }
	55% { max-height: 60px; opacity: 0.25; transform: translateX(28px); }
	62%, 92% { margin-bottom: 0; max-height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; transform: translateX(28px); }
	100% { max-height: 60px; opacity: 1; transform: none; }
}

@keyframes mgst-show-tag {
	0%, 22% { opacity: 0; }
	32%, 50% { opacity: 1; }
	56%, 100% { opacity: 0; }
}

@keyframes mgst-show-note {
	0%, 60% { opacity: 0; }
	70%, 92% { opacity: 1; }
	100% { opacity: 0; }
}

/* ---- The band of the summary header ---- */

.mgst-show__band {
	align-items: center;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 6px;
	opacity: 0;
	padding: 7px 8px;
}

.mgst-show__score {
	color: #1d2327;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.mgst-show__band .mgst-show__stars {
	margin: 0;
}

.mgst-show__count {
	color: #646970;
	font-size: 11px;
}

.mgst-show__btn {
	background: #2271b1;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	margin-left: auto;
	padding: 3px 7px;
}

.mgst-show--entete .mgst-show__band {
	animation: mgst-show-band 9s ease-in-out infinite;
}

/* The band arrives above the block, stays long enough to be read, then
   leaves: what the free version has, then what the PRO adds. */
@keyframes mgst-show-band {
	0%, 18% { margin-bottom: 0; max-height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; transform: translateY(-6px); }
	32%, 85% { margin-bottom: 6px; max-height: 60px; opacity: 1; padding-bottom: 7px; padding-top: 7px; transform: none; }
	96%, 100% { margin-bottom: 0; max-height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; transform: translateY(-6px); }
}

/* Less movement asked for: no animation at all, and the end of the story
   is shown, which is what the drawing was there to say. */
@media (prefers-reduced-motion: reduce) {
	.mgst-show--ecarter .mgst-show__card--out {
		display: none;
	}

	.mgst-show--ecarter .mgst-show__tag,
	.mgst-show--ecarter .mgst-show__note,
	.mgst-show--entete .mgst-show__band,
	.mgst-show *,
	.mgst-show {
		animation: none !important;
	}

	.mgst-show--ecarter .mgst-show__note,
	.mgst-show--entete .mgst-show__band {
		max-height: none;
		opacity: 1;
	}
}

/* 0.47.2: the line of the code, at the top of "Create your appearance":
   the two ways said as two ways, the editor staying the main thing. */
.mgst-ap-code__either {
	font-size: 14px;
	margin: 0 0 4px;
}

.mgst-ap-code__or {
	color: #50575e;
	margin: 0 0 8px;
}

.mgst-ap-code__or .dashicons {
	color: #6b3fa0;
	vertical-align: text-bottom;
}

.mgst-ap-code__sample {
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	margin: 0 0 10px;
	padding: 6px 10px;
}

/* 0.47.1: the Statistics screen of the free version, its drawing shown. */
.mgst-stats-intro__show {
	margin: 10px 0;
	max-width: 340px;
}

/* 0.47.1: the pill after the list of styles, on the same line. */
#mgst_style + .mgst-pro {
	margin-left: 6px;
}

/* 0.47.0: the line under the banner of the Google source. */
.mgst-more-places {
	color: #50575e;
	margin: 8px 0 0;
}

/* ---------------------------------------------------------------------- */
/* 0.47.0 (lot H): the six other drawings, nine seconds each, like the    */
/* first two. Same pieces (cards of bars, stars), same rule: only what    */
/* carries meaning is written, and it is the same in every language.      */
/* ---------------------------------------------------------------------- */

.mgst-show__head {
	background: #c3c4c7;
	border-radius: 2px;
	display: block;
	height: 6px;
	margin: 0 0 6px;
	width: 45%;
}

/* ---- One appearance per page: two pages, two looks ---- */

.mgst-show--pages {
	display: flex;
	gap: 8px;
}

.mgst-show__page {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: block;
	flex: 1 1 0;
	min-width: 0;
	padding: 6px;
	position: relative;
}

.mgst-show--pages .mgst-show__card {
	background: #f6f7f7;
	border-color: #dcdcde;
}

.mgst-show--pages .mgst-show__page--a .mgst-show__card {
	animation: mgst-show-look-a 9s ease-in-out infinite;
}

.mgst-show--pages .mgst-show__page--b .mgst-show__card {
	animation: mgst-show-look-b 9s ease-in-out infinite;
}

.mgst-show--pages .mgst-show__page--b .mgst-show__bar {
	animation: mgst-show-look-b-bar 9s ease-in-out infinite;
}

/* The same block on both pages, then each one takes its own look. */
@keyframes mgst-show-look-a {
	0%, 20% { background: #f6f7f7; border-color: #dcdcde; border-left-width: 1px; }
	32%, 86% { background: #fffbea; border-color: #dba617; border-left-width: 4px; }
	96%, 100% { background: #f6f7f7; border-color: #dcdcde; border-left-width: 1px; }
}

@keyframes mgst-show-look-b {
	0%, 38% { background: #f6f7f7; border-color: #dcdcde; border-radius: 4px; }
	50%, 86% { background: #3c2363; border-color: #6b3fa0; border-radius: 12px; }
	96%, 100% { background: #f6f7f7; border-color: #dcdcde; border-radius: 4px; }
}

@keyframes mgst-show-look-b-bar {
	0%, 38% { background: #e8e9ea; }
	50%, 86% { background: #8a6bbd; }
	96%, 100% { background: #e8e9ea; }
}

/* ---- The order chosen and the favourites ---- */

.mgst-show--ordre {
	display: flex;
	gap: 8px;
}

.mgst-show__col {
	display: block;
	flex: 1 1 0;
	min-width: 0;
}

.mgst-show__col--site {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 6px;
}

/* Fixed heights, so a card moves by exactly one place. */
.mgst-show--ordre .mgst-show__card {
	box-sizing: border-box;
	height: 42px;
	margin: 0 0 6px;
	position: relative;
}

.mgst-show--ordre .mgst-show__card:last-of-type {
	margin-bottom: 0;
}

.mgst-show__col--admin .mgst-show__card--up {
	animation: mgst-show-climb 9s ease-in-out infinite;
	z-index: 1;
}

.mgst-show__col--admin .mgst-show__card--n1,
.mgst-show__col--admin .mgst-show__card--n2 {
	animation: mgst-show-step 9s ease-in-out infinite;
}

/* The public block follows a moment later. */
.mgst-show__col--site .mgst-show__card--up {
	animation: mgst-show-climb-site 9s ease-in-out infinite;
	z-index: 1;
}

.mgst-show__col--site .mgst-show__card--n1,
.mgst-show__col--site .mgst-show__card--n2 {
	animation: mgst-show-step-site 9s ease-in-out infinite;
}

@keyframes mgst-show-climb {
	0%, 14% { box-shadow: none; transform: none; }
	20% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18); transform: translateX(6px); }
	34% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18); transform: translate(6px, -96px); }
	40%, 88% { box-shadow: none; transform: translateY(-96px); }
	98%, 100% { box-shadow: none; transform: none; }
}

@keyframes mgst-show-step {
	0%, 20% { transform: none; }
	34%, 88% { transform: translateY(48px); }
	98%, 100% { transform: none; }
}

@keyframes mgst-show-climb-site {
	0%, 50% { transform: none; }
	62%, 88% { transform: translateY(-96px); }
	98%, 100% { transform: none; }
}

@keyframes mgst-show-step-site {
	0%, 50% { transform: none; }
	62%, 88% { transform: translateY(48px); }
	98%, 100% { transform: none; }
}

/* ---- The translation ---- */

.mgst-show--traduction .mgst-show__card {
	padding-right: 40px;
	position: relative;
}

.mgst-show__card--reply {
	background: #f0f6fc;
	margin-left: 22px;
}

.mgst-show__lang {
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
	padding: 3px 5px;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}

.mgst-show__lang--from {
	background: #dcdcde;
	color: #50575e;
}

.mgst-show__lang--to {
	background: #6b3fa0;
	color: #fff;
	opacity: 0;
}

.mgst-show__card--review {
	animation: mgst-show-turn 9s ease-in-out infinite;
}

.mgst-show__card--review .mgst-show__lang--from {
	animation: mgst-show-lang-out 9s ease-in-out infinite;
}

.mgst-show__card--review .mgst-show__lang--to {
	animation: mgst-show-lang-in 9s ease-in-out infinite;
}

.mgst-show__card--reply {
	animation: mgst-show-turn-reply 9s ease-in-out infinite;
}

.mgst-show__card--reply .mgst-show__lang--from {
	animation: mgst-show-lang-out-reply 9s ease-in-out infinite;
}

.mgst-show__card--reply .mgst-show__lang--to {
	animation: mgst-show-lang-in-reply 9s ease-in-out infinite;
}

/* The card turns over once, and comes back in the other language. */
@keyframes mgst-show-turn {
	0%, 20% { transform: none; }
	27% { transform: scaleY(0.08); }
	34%, 100% { transform: none; }
}

@keyframes mgst-show-lang-out {
	0%, 26% { opacity: 1; }
	28%, 92% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes mgst-show-lang-in {
	0%, 26% { opacity: 0; }
	28%, 92% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes mgst-show-turn-reply {
	0%, 50% { transform: none; }
	57% { transform: scaleY(0.08); }
	64%, 100% { transform: none; }
}

@keyframes mgst-show-lang-out-reply {
	0%, 56% { opacity: 1; }
	58%, 92% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes mgst-show-lang-in-reply {
	0%, 56% { opacity: 0; }
	58%, 92% { opacity: 1; }
	100% { opacity: 0; }
}

/* ---- The statistics ---- */

.mgst-show__chart {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: block;
	height: 64px;
	margin: 0 0 6px;
	position: relative;
}

.mgst-show__curve {
	display: block;
	height: 48px;
	left: 8px;
	position: absolute;
	top: 8px;
	width: calc(100% - 56px);
}

.mgst-show__curve polyline {
	fill: none;
	stroke: #6b3fa0;
	stroke-dasharray: 100;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.5;
	vector-effect: non-scaling-stroke;
	animation: mgst-show-draw 9s ease-in-out infinite;
}

.mgst-show--stats .mgst-show__score {
	animation: mgst-show-score 9s ease-in-out infinite;
	position: absolute;
	right: 10px;
	top: 6px;
}

.mgst-show__months {
	align-items: flex-end;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: flex;
	gap: 6px;
	height: 44px;
	padding: 6px 8px;
}

.mgst-show__month {
	background: #dba617;
	border-radius: 2px 2px 0 0;
	display: block;
	flex: 1 1 0;
	transform-origin: bottom;
	animation: mgst-show-rise 9s ease-in-out infinite;
}

/* The opacity hides the round end of a line of zero length, which would
   otherwise show as a dot before the curve starts. */
@keyframes mgst-show-draw {
	0%, 8% { opacity: 0; stroke-dashoffset: 100; }
	9% { opacity: 1; stroke-dashoffset: 99; }
	40%, 90% { opacity: 1; stroke-dashoffset: 0; }
	98% { opacity: 0; stroke-dashoffset: 0; }
	100% { opacity: 0; stroke-dashoffset: 100; }
}

@keyframes mgst-show-score {
	0%, 36% { opacity: 0; }
	44%, 90% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes mgst-show-rise {
	0%, 44% { transform: scaleY(0); }
	62%, 90% { transform: scaleY(1); }
	100% { transform: scaleY(0); }
}

/* ---- The badge, the band and the rating widget ---- */

/* A browser window: three dots, then the page. */
.mgst-show__window {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	display: block;
	overflow: hidden;
}

.mgst-show__browser {
	background: #f0f0f1;
	border-bottom: 1px solid #dcdcde;
	display: flex;
	gap: 4px;
	padding: 5px 7px;
}

.mgst-show__dot {
	background: #c3c4c7;
	border-radius: 50%;
	display: block;
	height: 6px;
	width: 6px;
}

.mgst-show__view {
	display: block;
	height: 104px;
	overflow: hidden;
	position: relative;
}

.mgst-show__content {
	display: block;
	padding: 8px;
	animation: mgst-show-scroll 9s ease-in-out infinite;
}

.mgst-show__content .mgst-show__bar {
	margin-bottom: 5px;
}

.mgst-show__content .mgst-show__head {
	margin-top: 4px;
}

.mgst-show__strip,
.mgst-show__badge,
.mgst-show__widget {
	align-items: center;
	display: flex;
	gap: 5px;
	opacity: 0;
}

.mgst-show__strip .mgst-show__stars,
.mgst-show__badge .mgst-show__stars,
.mgst-show__widget .mgst-show__stars,
.mgst-show__row .mgst-show__stars {
	margin: 0;
}

.mgst-show--formats .mgst-show__score {
	font-size: 12px;
}

/* The band: across the top of the page, above the content. */
.mgst-show__strip {
	background: #3c2363;
	justify-content: center;
	max-height: 0;
	padding: 0 6px;
	animation: mgst-show-strip 9s ease-in-out infinite;
}

.mgst-show__strip .mgst-show__score {
	color: #fff;
}

.mgst-show__line {
	align-items: center;
	display: flex;
	gap: 6px;
	margin: 0 0 5px;
}

.mgst-show__line .mgst-show__bar {
	flex: 0 0 40%;
	margin: 0;
}

/* The widget: inside the text, between two words. */
.mgst-show__widget {
	background: #fff8e5;
	border: 1px solid #dba617;
	border-radius: 999px;
	padding: 2px 6px;
	animation: mgst-show-widget 9s ease-in-out infinite;
}

/* The badge: fixed in the corner of the window, while the page scrolls. */
.mgst-show__badge {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	bottom: 8px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
	left: 8px;
	padding: 4px 7px;
	position: absolute;
	animation: mgst-show-badge 9s ease-in-out infinite;
}

/* The name of the format being shown, under the window. */
.mgst-show__names {
	display: block;
	height: 18px;
	margin: 6px 0 0;
	position: relative;
	text-align: center;
}

.mgst-show__name {
	color: #3c2363;
	font-size: 12px;
	font-weight: 600;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.mgst-show__name--badge {
	animation: mgst-show-name-1 9s ease-in-out infinite;
}

.mgst-show__name--strip {
	animation: mgst-show-name-2 9s ease-in-out infinite;
}

.mgst-show__name--widget {
	animation: mgst-show-name-3 9s ease-in-out infinite;
}

/* One after the other: the badge (the page scrolls under it), the band,
   then the widget. Three seconds each. */
@keyframes mgst-show-scroll {
	0%, 6% { transform: none; }
	28%, 32% { transform: translateY(-56px); }
	36%, 100% { transform: none; }
}

@keyframes mgst-show-badge {
	0%, 2% { opacity: 0; transform: translateY(8px); }
	6%, 31% { opacity: 1; transform: none; }
	35%, 100% { opacity: 0; transform: translateY(8px); }
}

@keyframes mgst-show-strip {
	0%, 35% { max-height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; }
	40%, 63% { max-height: 30px; opacity: 1; padding-bottom: 5px; padding-top: 5px; }
	67%, 100% { max-height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; }
}

@keyframes mgst-show-widget {
	0%, 67% { opacity: 0; transform: scale(0.8); }
	72%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; transform: scale(0.8); }
}

@keyframes mgst-show-name-1 {
	0%, 2% { opacity: 0; }
	6%, 31% { opacity: 1; }
	34%, 100% { opacity: 0; }
}

@keyframes mgst-show-name-2 {
	0%, 35% { opacity: 0; }
	39%, 63% { opacity: 1; }
	66%, 100% { opacity: 0; }
}

@keyframes mgst-show-name-3 {
	0%, 67% { opacity: 0; }
	71%, 96% { opacity: 1; }
	99%, 100% { opacity: 0; }
}

/* ---- Several establishments ---- */

.mgst-show__places {
	display: flex;
	gap: 8px;
	margin: 0 0 8px;
}

.mgst-show__place {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	display: block;
	flex: 1 1 0;
	min-width: 0;
	padding: 6px;
	animation: mgst-show-gather 9s ease-in-out infinite;
}

.mgst-show__place:first-child {
	--mgst-show-x: 18px;
}

.mgst-show__place:last-child {
	--mgst-show-x: -18px;
}

.mgst-show__pin {
	background: #d63638;
	border-radius: 50% 50% 50% 0;
	display: inline-block;
	height: 8px;
	margin-right: 4px;
	transform: rotate(-45deg);
	vertical-align: middle;
	width: 8px;
}

.mgst-show__city {
	color: #1d2327;
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	margin: 0 0 5px;
	vertical-align: middle;
}

.mgst-show__place .mgst-show__card {
	margin: 0;
}

.mgst-show__board {
	background: #fff;
	border: 1px solid #6b3fa0;
	border-radius: 4px;
	display: block;
	opacity: 0;
	padding: 6px 8px;
	animation: mgst-show-board 9s ease-in-out infinite;
}

.mgst-show__row {
	align-items: center;
	border-bottom: 1px solid #f0f0f1;
	display: flex;
	gap: 6px;
	padding: 4px 0;
}

.mgst-show__row:last-child {
	border-bottom: 0;
}

.mgst-show__row .mgst-show__city {
	flex: 1 1 auto;
	margin: 0;
}

@keyframes mgst-show-gather {
	0%, 26% { opacity: 1; transform: none; }
	40%, 88% { opacity: 0.35; transform: translate(var(--mgst-show-x, 0), 10px) scale(0.92); }
	98%, 100% { opacity: 1; transform: none; }
}

@keyframes mgst-show-board {
	0%, 34% { opacity: 0; transform: translateY(-8px); }
	46%, 88% { opacity: 1; transform: none; }
	98%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* Less movement asked for: the end of each story, without a single move. */
@media (prefers-reduced-motion: reduce) {
	.mgst-show--pages .mgst-show__page--a .mgst-show__card {
		background: #fffbea;
		border-color: #dba617;
		border-left-width: 4px;
	}

	.mgst-show--pages .mgst-show__page--b .mgst-show__card {
		background: #3c2363;
		border-color: #6b3fa0;
		border-radius: 12px;
	}

	.mgst-show--pages .mgst-show__page--b .mgst-show__bar {
		background: #8a6bbd;
	}

	.mgst-show--ordre .mgst-show__card--up {
		transform: translateY(-96px);
	}

	.mgst-show--ordre .mgst-show__card--n1,
	.mgst-show--ordre .mgst-show__card--n2 {
		transform: translateY(48px);
	}

	.mgst-show__lang--to,
	.mgst-show--stats .mgst-show__score,
	.mgst-show__board,
	.mgst-show__widget,
	.mgst-show__name--widget {
		opacity: 1;
	}

	.mgst-show__lang--from {
		opacity: 0;
	}

	.mgst-show__curve polyline {
		stroke-dashoffset: 0;
	}

	.mgst-show__month {
		transform: none;
	}

	.mgst-show__place {
		opacity: 0.35;
	}

	.mgst-show--ordre *,
	.mgst-show--pages *,
	.mgst-show--traduction *,
	.mgst-show--stats *,
	.mgst-show--formats *,
	.mgst-show--fiches * {
		animation: none !important;
	}
}

/* 0.37.1: the panel hangs from the right of its pill when hanging from the
   left would send it off the screen. Set by the script, which is the only
   one that can measure it. */
.mgst-pro--js.mgst-pro--end .mgst-pro__panel {
	left: auto;
	right: 0;
}

/* On a narrow screen the panel stops floating: it becomes an ordinary block
   under its pill, as wide as the card, so it can never go off the right
   edge nor squeeze its two buttons. Measured at 380 px. */
@media (max-width: 782px) {
	.mgst-pro {
		display: block;
	}

	.mgst-pro--js .mgst-pro__panel {
		left: auto;
		max-width: none;
		min-width: 0;
		position: static;
		top: auto;
	}
}

/* The trigger of a badly rated review that just arrived (0.37.0, lot G).
   Sober on purpose: the red frame of the line already says the alarm, and
   a second alarm here would read as a scare tactic. */
.mgst-trigger {
	color: #50575e;
	font-size: 12px;
	margin: 0 0 6px;
}

/* A locked indicator in a table row (0.37.0, lot C): it says a setting
   exists and what it brings, through its title, without carrying a violet
   mention on every line. */
.mgst-locked {
	color: #8c8f94;
}

.mgst-locked .dashicons {
	font-size: 16px;
	height: 16px;
	width: 16px;
}

/* ---------------------------------------------------------------------- */
/* Erasing the data when the plugin is deleted (0.39.0, lot E).           */
/*                                                                        */
/* Arming asks three deliberate acts of three different kinds: tick the    */
/* box, write the word, confirm the sending. Disarming asks one click, so  */
/* the way back to safety is never the harder one.                        */
/* ---------------------------------------------------------------------- */

.mgst-data__armed {
	align-items: center;
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	color: #8a1f21;
	display: flex;
	font-weight: 600;
	gap: 8px;
	margin: 0 0 12px;
	padding: 10px 12px;
}

.mgst-data__word {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
	padding-left: 26px;
}

.mgst-data__word input {
	font-family: Menlo, Consolas, monospace;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* 0.40.1 : un défaut de l'installation, pas une alerte de l'extension. Même
   rouge que les autres avertissements, et un filet à gauche pour qu'il se
   distingue des descriptions grises qui l'entourent. */
.mgst-warn {
	border-left: 3px solid #b32d2e;
	color: #b32d2e;
	margin-top: 12px;
	padding-left: 10px;
}

/*
 * 0.46.0: the mark of a creation whose one-click installation is kept for
 * PRO subscribers, written the same way as on magnetic-stars.com so the
 * same thing is recognised in both places.
 */
.mgst-marks {
	margin: 0 0 6px;
}

.mgst-mark {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	gap: 5px;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 4px 9px;
}

.mgst-mark--pro {
	background: linear-gradient(100deg, #e8a33d 0%, #8b5cf6 100%);
	color: #fff;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.mgst-mark__star {
	background: #fff;
	display: inline-block;
	height: 10px;
	width: 10px;
	-webkit-clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* What a free owner can and cannot do with a kept creation. */
.mgst-gallery__kept {
	color: #50575e;
	font-size: 12px;
	margin: 6px 0 0;
}

/* 0.47.3 (Vincent, 29/10/2026): the rule of the number of appearances, in
   the same two lines everywhere. The PRO line in violet, the free one in
   the colour of the text. */
.mgst-count-rule {
	display: block;
}

.mgst-count-rule__line {
	display: block;
	font-weight: 600;
	line-height: 1.5;
}

.mgst-count-rule__line--pro {
	color: #4b32b0;
}

.mgst-pro__rule {
	display: block;
	font-size: 12px;
	margin: 0 0 8px;
}

.mgst-ap-mine__rule {
	margin: 6px 0;
}

/* 0.51.0 (lot L): the Help screen. */
.mgst-help .mgst-card {
	max-width: 860px;
}

.mgst-help__warning {
	background: #fcf9e8;
	border-left: 3px solid #dba617;
	padding: 6px 10px;
}

.mgst-help__warning .dashicons {
	color: #996800;
}

.mgst-help__pre {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	font-size: 12px;
	line-height: 1.6;
	max-height: 340px;
	overflow: auto;
	padding: 10px 12px;
	white-space: pre-wrap;
	word-break: break-word;
}

.mgst-help__row label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.mgst-help__send {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/*
 * 0.52.0, rewritten in 0.53.0, renamed in 0.53.1: the window of welcome,
 * where the Community Gallery is asked once.
 *
 * 0.53.1: its classes are "mgst-hello", never "mgst-welcome". The card
 * "Welcome. Start with one source." of the Sources screen has been
 * .mgst-welcome since long before, and sharing the name was the whole bug
 * of 30/10/2026: in 0.52.0 the card's `display: flex` kept the <dialog>
 * shown after it was closed (at the bottom of the page, "Close" doing
 * nothing), and in 0.53.0 these rules turned the card into a grey layer
 * over the whole screen of a site with no source yet.
 *
 * The layer itself stays a plain layer held by !important rules: nothing
 * else can move it or show it half.
 */
.mgst-hello {
	align-items: center !important;
	background: rgba(0, 0, 0, 0.55) !important;
	box-sizing: border-box !important;
	display: flex !important;
	inset: 0 !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 16px !important;
	position: fixed !important;
	z-index: 100100 !important;
}

.mgst-hello[hidden] {
	display: none !important;
}

.mgst-hello__box {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	color: #1d2327;
	max-height: calc(100vh - 32px);
	max-width: 720px;
	overflow-y: auto;
	padding: 20px 24px;
	width: 100%;
}

.mgst-hello__box:focus {
	outline: none;
}

.mgst-hello__box h2 {
	margin-top: 0;
}

.mgst-hello__part {
	border-top: 1px solid #dcdcde;
	margin-top: 16px;
	padding-top: 4px;
}

.mgst-hello__part h3 {
	font-size: 15px;
	margin: 12px 0 8px;
}

.mgst-hello__said {
	font-weight: 600;
}

.mgst-hello__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 0;
}

body.mgst-hello-open {
	overflow: hidden;
}

@media screen and (max-width: 600px) {
	.mgst-hello__box {
		padding: 16px;
	}
}

/* 0.57.1 (Vincent, 09/11/2026): the headings of the appearance editor stand
   out from the fields (they were lost among them). */
.mgst-ap__panel h4,
.mgst-ap__panel fieldset > legend:not(.screen-reader-text) {
	border-top: 1px solid #dcdcde;
	color: #1d2327;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	margin: 28px 0 12px;
	padding-top: 18px;
	text-transform: uppercase;
	width: 100%;
}

.mgst-ap__panel fieldset > legend:not(.screen-reader-text) {
	float: left;
}

.mgst-ap__panel fieldset > legend:not(.screen-reader-text) + * {
	clear: both;
}

.mgst-ap__panel > h4:first-child,
.mgst-ap__panel > p:first-child + h4 {
	border-top: 0;
	margin-top: 8px;
	padding-top: 0;
}

.mgst-ap__nolink,
.mgst-ap__warn {
	color: #8a2424;
	font-weight: 600;
}
