/* Mopoga Games front end. No page backgrounds: every surface is a tint of the theme's own text colour,
   so the same design works on dark and light themes. Floating layers take the page colour from JS. */

.mpg {
	--mpg-accent: #ffc81e;
	--mpg-accent-ink: #17130a;
	--mpg-accent-edge: color-mix(in srgb, var(--mpg-accent) 58%, #000);
	--mpg-accent-text: color-mix(in srgb, var(--mpg-accent) 45%, currentColor);
	--mpg-muted: color-mix(in srgb, currentColor 68%, transparent);
	--mpg-faint: color-mix(in srgb, currentColor 45%, transparent);
	--mpg-tint: color-mix(in srgb, currentColor 5%, transparent);
	--mpg-tint-2: color-mix(in srgb, currentColor 9%, transparent);
	--mpg-tint-3: color-mix(in srgb, currentColor 14%, transparent);
	--mpg-line: color-mix(in srgb, currentColor 13%, transparent);
	--mpg-line-2: color-mix(in srgb, currentColor 24%, transparent);
	--mpg-like: #1fa971;
	--mpg-dislike: #e5484d;
	--mpg-surface: var(--mpg-page, Canvas);
	--mpg-surface-ink: var(--mpg-page-ink, CanvasText);
	--mpg-r: 12px;
	--mpg-r-lg: 18px;
	--mpg-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	color: inherit;
	background: none;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
	width: 100%;
	box-sizing: border-box;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
.mpg *, .mpg *::before, .mpg *::after { box-sizing: border-box; }
.mpg img { max-width: 100%; height: auto; }
.mpg a { color: inherit; }
.mpg [hidden] { display: none !important; }
.mpg .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.mpg button { font-family: inherit; text-transform: none; letter-spacing: normal; min-height: 0; box-shadow: none; text-shadow: none; line-height: 1.2; }
.mpg ul, .mpg ol { margin-left: 0; }
.mpg :focus-visible { outline: 3px solid var(--mpg-accent); outline-offset: 2px; }
.mpg-svg { flex: none; vertical-align: middle; }

.mpg-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 14px 16px 56px; }
.mpg-wrap--play { max-width: 760px; }
.mpg-sc .mpg-wrap { padding: 0; }

.mpg .mpg-title {
	font-family: inherit; font-size: clamp(1.7rem, 1.15rem + 2.2vw, 2.65rem); line-height: 1.08; font-weight: 800;
	letter-spacing: -.022em; margin: 0 0 18px; color: inherit; text-transform: none; text-wrap: balance;
}
.mpg .mpg-h2 {
	font-family: inherit; font-size: 1.3rem; line-height: 1.25; font-weight: 800; letter-spacing: -.012em;
	margin: 0 0 14px; color: inherit; text-transform: none; text-wrap: balance;
}

/* Breadcrumbs */
.mpg-crumbs { font-size: .85rem; color: var(--mpg-muted); margin: 0 0 18px; }
.mpg-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; }
.mpg-crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.mpg-crumbs li + li::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.mpg-crumbs a { text-decoration: none; }
.mpg-crumbs a:hover { color: var(--mpg-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.mpg-crumbs [aria-current] { color: inherit; }

/* Covers and icons */
.mpg-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.mpg-cover--letter, .mpg-icon--letter {
	display: grid; place-items: center; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, hsl(var(--mpg-hue, 210) 60% 46%), hsl(calc(var(--mpg-hue, 210) + 40) 60% 34%));
}
.mpg-cover--letter { font-size: clamp(2rem, 6vw, 4rem); }
.mpg-icon { display: block; flex: none; border-radius: 22%; object-fit: cover; }
.mpg-icon--letter { font-size: 1.1rem; }

/* ------------------------------------------------------------------ */
/* Buttons. The Play key is the loud one, everything else stays quiet. */
/* ------------------------------------------------------------------ */
.mpg .mpg-play {
	--mpg-h: 52px;
	display: inline-flex; align-items: center; gap: 12px; min-height: var(--mpg-h); padding: 0 22px 0 10px; margin: 0 0 4px;
	border: 0; border-radius: 14px; cursor: pointer; text-decoration: none;
	background: var(--mpg-accent); color: var(--mpg-accent-ink);
	box-shadow: 0 4px 0 var(--mpg-accent-edge);
	font-family: inherit; font-weight: 800; font-size: 1.02rem; line-height: 1.15; letter-spacing: -.005em;
	transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.mpg .mpg-play:hover { filter: brightness(1.06); color: var(--mpg-accent-ink); }
.mpg .mpg-play:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--mpg-accent-edge); }
.mpg .mpg-play:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.mpg-play__icon {
	display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
	background: var(--mpg-accent-ink); color: var(--mpg-accent);
}
.mpg-play__icon .mpg-svg { width: 15px; height: 15px; margin-left: 2px; fill: currentColor; stroke: none; }
.mpg-play__label { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mpg .mpg-play--lg { --mpg-h: 58px; font-size: 1.08rem; padding-right: 26px; }
.mpg .mpg-play--lg .mpg-play__icon { width: 38px; height: 38px; }
.mpg .mpg-play--sm { --mpg-h: 42px; font-size: .92rem; padding: 0 16px 0 7px; gap: 8px; border-radius: 12px; box-shadow: 0 3px 0 var(--mpg-accent-edge); }
.mpg .mpg-play--sm .mpg-play__icon { width: 28px; height: 28px; }
.mpg .mpg-play--sm .mpg-play__icon .mpg-svg { width: 12px; height: 12px; }
.mpg .mpg-play.is-waiting { filter: grayscale(.7); opacity: .55; cursor: progress; transform: none; }
.mpg .mpg-loader [data-mpg-now] { padding: 0 18px; justify-content: center; }

.mpg .mpg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px; margin: 0;
	border-radius: 14px; border: 1px solid var(--mpg-line-2); background: transparent; color: inherit;
	font-family: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease;
}
.mpg .mpg-btn:hover { background: var(--mpg-tint-2); color: inherit; }
.mpg .mpg-btn .mpg-svg { width: 19px; height: 19px; }
.mpg .mpg-btn--sm { min-height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 10px; }

.mpg .mpg-iconbtn {
	display: inline-grid; place-items: center; width: 52px; height: 52px; padding: 0; margin: 0; flex: none;
	border-radius: 14px; border: 1px solid var(--mpg-line-2); background: transparent; color: inherit; cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.mpg .mpg-iconbtn:hover { background: var(--mpg-tint-2); color: inherit; }
.mpg .mpg-iconbtn .mpg-svg { width: 21px; height: 21px; }
.mpg .mpg-wish[aria-pressed="true"] { color: var(--mpg-dislike); border-color: color-mix(in srgb, var(--mpg-dislike) 45%, transparent); }
.mpg .mpg-wish[aria-pressed="true"] .mpg-svg { fill: currentColor; }

/* ------------------------------------------------------------------ */
/* Game page                                                           */
/* ------------------------------------------------------------------ */
.mpg-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.mpg-layout__main { min-width: 0; }
.mpg-layout__side { min-width: 0; }
@media (min-width: 1024px) {
	.mpg-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
	.mpg-layout__side { position: sticky; top: 24px; align-self: start; }
	.admin-bar .mpg-layout__side { top: 56px; }
}
.mpg-head { margin: 0; }

/* Stage: the cover, which becomes the player for browser embeds */
.mpg-stage { margin: 0 0 18px; }
.mpg-stage__screen {
	position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: var(--mpg-r-lg);
	background: var(--mpg-tint-2);
}
.mpg-stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mpg-stage__start { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; }
.mpg-stage__disc {
	display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
	background: var(--mpg-accent); color: var(--mpg-accent-ink); box-shadow: 0 5px 0 var(--mpg-accent-edge), 0 10px 40px rgba(0, 0, 0, .35);
	transition: transform .15s ease;
}
.mpg-stage__disc .mpg-svg { width: 32px; height: 32px; margin-left: 5px; fill: currentColor; stroke: none; }
.mpg-stage__start:hover .mpg-stage__disc { transform: scale(1.06); }
.mpg-stage__start:active .mpg-stage__disc { transform: scale(.97); }
.mpg-stage.has-frame .mpg-stage__start, .mpg-stage.has-frame .mpg-stage__img { display: none; }
.mpg-stage__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.mpg-stage__spin {
	position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
	border: 4px solid color-mix(in srgb, currentColor 20%, transparent); border-top-color: var(--mpg-accent);
	animation: mpg-spin .8s linear infinite; z-index: 1;
}
.mpg-stage:not(.is-loading) .mpg-stage__spin { display: none; }
@keyframes mpg-spin { to { transform: rotate(360deg); } }
.mpg-stage__bar { display: flex; align-items: center; gap: 10px; padding: 10px 2px 0; font-weight: 700; }
.mpg-stage__bar .mpg-iconbtn { width: 42px; height: 42px; margin-left: auto; border-radius: 12px; }
.mpg-stage__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpg-stage--portrait.has-frame .mpg-stage__screen { aspect-ratio: 9 / 16; width: auto; height: min(82vh, 780px); max-width: 100%; margin: 0 auto; }
.mpg-stage:fullscreen { background: #000; color: #fff; display: flex; flex-direction: column; padding: 0; }
.mpg-stage:fullscreen .mpg-stage__screen { flex: 1; aspect-ratio: auto; height: auto; width: 100%; border-radius: 0; }
.mpg-stage:fullscreen .mpg-stage__bar { padding: 8px 12px; }
.mpg-stage.is-full { position: fixed; inset: 0; z-index: 100000; margin: 0; background: #000; color: #fff; display: flex; flex-direction: column; }
.mpg-stage.is-full .mpg-stage__screen { flex: 1; aspect-ratio: auto; height: auto; width: 100%; border-radius: 0; }
.mpg-stage.is-full .mpg-stage__bar { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }

/* Actions: Share, Play, votes, favorite */
.mpg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 22px; }
.mpg-actions__main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; }
.mpg-actions__side { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mpg-note { margin: 0; color: var(--mpg-muted); }
@media (max-width: 640px) {
	.mpg-actions__main { width: 100%; flex-wrap: nowrap; }
	.mpg-actions__main .mpg-play { flex: 1; min-width: 0; }
	.mpg-actions__main .mpg-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.mpg-actions__main .mpg-btn { width: 52px; padding: 0; flex: none; }
	.mpg-actions__side { margin-left: 0; width: 100%; }
	.mpg-actions__side .mpg-vote { flex: 1; }
}

.mpg-vote { position: relative; display: inline-flex; border: 1px solid var(--mpg-line-2); border-radius: 14px; overflow: hidden; }
.mpg .mpg-vote__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px; margin: 0; flex: 1;
	border: 0; background: transparent; color: inherit; cursor: pointer; font-weight: 750; font-size: .95rem;
	font-variant-numeric: tabular-nums; white-space: nowrap; transition: background-color .15s ease, color .15s ease;
}
.mpg .mpg-vote__btn + .mpg-vote__btn { border-left: 1px solid var(--mpg-line-2); }
.mpg .mpg-vote__btn:hover { background: var(--mpg-tint-2); color: inherit; }
.mpg .mpg-vote__btn .mpg-svg { width: 20px; height: 20px; }
.mpg .mpg-vote__btn--up[aria-pressed="true"] { color: var(--mpg-like); }
.mpg .mpg-vote__btn--down[aria-pressed="true"] { color: var(--mpg-dislike); }
.mpg .mpg-vote__btn[aria-pressed="true"] .mpg-svg { fill: color-mix(in srgb, currentColor 22%, transparent); }
.mpg-vote.is-busy { opacity: .7; pointer-events: none; }
.mpg-vote__meter { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--mpg-dislike) 55%, transparent); }
.mpg-vote__meter span { display: block; height: 100%; background: var(--mpg-like); transition: width .3s ease; }
.mpg-vote__msg { flex-basis: 100%; margin: -4px 0 0; font-size: .86rem; color: var(--mpg-muted); min-height: 0; }
.mpg-vote__msg:empty { display: none; }

/* Details table */
.mpg-facts { margin: 0 0 18px; padding: 0; border-top: 1px solid var(--mpg-line); }
.mpg-facts__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mpg-line); }
.mpg-facts dt { margin: 0; color: var(--mpg-muted); font-weight: 500; }
.mpg-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.mpg-facts dd a { text-decoration: none; color: var(--mpg-accent-text); }
.mpg-facts dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mpg-facts dd small { font-weight: 500; color: var(--mpg-muted); font-size: .86em; }
.mpg-facts dd b { font-weight: 800; }
@media (max-width: 480px) { .mpg-facts__row { grid-template-columns: 7.4rem minmax(0, 1fr); } }

/* Tag chips with counts */
.mpg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.mpg .mpg-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px;
	background: var(--mpg-tint-2); color: inherit; text-decoration: none; font-weight: 700; font-size: .93rem; line-height: 1.25; white-space: nowrap;
	transition: background-color .15s ease;
}
.mpg .mpg-chip:hover { background: var(--mpg-tint-3); color: inherit; }
.mpg-chip small { font-size: .84em; font-weight: 800; color: var(--mpg-accent-text); font-variant-numeric: tabular-nums; }
.mpg .mpg-chip.is-active { background: var(--mpg-accent); color: var(--mpg-accent-ink); }
.mpg .mpg-chip.is-active small { color: inherit; opacity: .75; }

/* Sections */
.mpg-sec { margin: 44px 0 0; }
.mpg-ad { margin: 26px 0; text-align: center; overflow: hidden; }
.mpg-content > :first-child { margin-top: 0; }
.mpg-content > :last-child { margin-bottom: 0; }
.mpg-content p, .mpg-content ul, .mpg-content ol { margin: 0 0 14px; }
.mpg-content ul, .mpg-content ol { padding-left: 1.3em; }
.mpg-content h2, .mpg-content h3 { font-size: 1.12rem; font-weight: 800; margin: 24px 0 10px; color: inherit; }
.mpg-content a { color: var(--mpg-accent-text); }
.mpg-about__lead { font-size: 1.1rem; font-weight: 600; margin: 0 0 14px; max-width: 72ch; }
.mpg-desc { position: relative; max-width: 75ch; color: color-mix(in srgb, currentColor 88%, transparent); }
.mpg-desc.is-clamped { max-height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.mpg .mpg-more-btn {
	display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 6px 0; border: 0; background: none;
	color: var(--mpg-accent-text); font-weight: 800; font-size: .95rem; cursor: pointer;
}
.mpg-more-btn .mpg-svg { width: 18px; height: 18px; transition: transform .2s ease; }
.mpg-more-btn.is-open .mpg-svg { transform: rotate(180deg); }

.mpg-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 75ch; }
.mpg-features li { position: relative; margin: 0; padding-left: 22px; }
.mpg-features li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--mpg-accent); }
.mpg-features b { font-weight: 800; }

.mpg-steps { list-style: none; counter-reset: mpg-step; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 75ch; }
.mpg-steps li { counter-increment: mpg-step; position: relative; margin: 0; padding: 3px 0 0 46px; min-height: 32px; }
.mpg-steps li::before {
	content: counter(mpg-step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
	display: grid; place-items: center; border: 2px solid var(--mpg-line-2); font-weight: 800; font-size: .88rem; font-variant-numeric: tabular-nums;
}

/* Controls as keycaps */
.mpg-controls { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mpg-line); max-width: 75ch; }
.mpg-controls li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 18px; align-items: center; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--mpg-line); }
.mpg-controls__keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mpg-controls__keys .mpg-svg { width: 22px; height: 22px; color: var(--mpg-muted); }
.mpg-controls kbd {
	display: inline-block; min-width: 32px; padding: 4px 9px 3px; text-align: center;
	font-family: var(--mpg-mono); font-size: .8rem; font-weight: 700; line-height: 1.35; color: inherit;
	background: var(--mpg-tint-2); border: 1px solid var(--mpg-line-2); border-bottom-width: 3px; border-radius: 7px; box-shadow: none;
	text-transform: capitalize;
}
.mpg-plus, .mpg-or { font-style: normal; color: var(--mpg-faint); font-size: .85rem; }
.mpg-controls__act { font-weight: 600; }
.mpg-controls__act::first-letter { text-transform: uppercase; }
@media (max-width: 560px) { .mpg-controls li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.mpg-new__text { max-width: 75ch; padding-left: 16px; border-left: 3px solid var(--mpg-accent); }

.mpg-take { display: grid; gap: 22px; }
@media (min-width: 640px) { .mpg-take { grid-template-columns: 1fr 1fr; } }
.mpg .mpg-take h3 { font-size: 1rem; font-weight: 800; margin: 0 0 10px; color: inherit; }
.mpg-take ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mpg-take li { display: flex; gap: 10px; margin: 0; }
.mpg-take li .mpg-svg { width: 18px; height: 18px; margin-top: 3px; }
.mpg-take__col--pro .mpg-svg { color: var(--mpg-like); }
.mpg-take__col--con .mpg-svg { color: var(--mpg-dislike); }

/* Screenshots */
.mpg-shots__wrap { position: relative; }
.mpg-shots__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.mpg-shots__track::-webkit-scrollbar { display: none; }
.mpg-shots__item, .mpg .mpg-shots__video, .mpg-shots__frame {
	position: relative; flex: none; width: min(78%, 420px); aspect-ratio: 16 / 9; border-radius: var(--mpg-r); overflow: hidden;
	scroll-snap-align: start; background: var(--mpg-tint-2); border: 0; padding: 0; margin: 0; display: block; cursor: zoom-in;
}
.mpg-shots__track.is-portrait .mpg-shots__item { width: 190px; aspect-ratio: 9 / 16; }
.mpg-shots__item img, .mpg-shots__video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpg .mpg-shots__video { cursor: pointer; }
.mpg-shots__video .mpg-stage__disc { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.mpg-shots__video .mpg-stage__disc .mpg-svg { width: 24px; height: 24px; }
.mpg .mpg-shots__nav {
	position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; padding: 0; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; border: 1px solid var(--mpg-line-2); background: var(--mpg-surface); color: var(--mpg-surface-ink);
}
.mpg-shots__nav--prev { left: -10px; }
.mpg-shots__nav--next { right: -10px; }
@media (hover: none) { .mpg .mpg-shots__nav { display: none; } }

/* Who checked this game (EEAT) */
.mpg-checked { border: 1px solid var(--mpg-line-2); border-radius: var(--mpg-r-lg); padding: 20px; max-width: 75ch; }
.mpg-checked .mpg-h2 { font-size: 1.12rem; }
.mpg-checked__person { display: flex; gap: 14px; align-items: flex-start; }
.mpg .mpg-checked__avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; overflow: hidden; background: var(--mpg-tint-2); color: transparent; font-size: 0; }
.mpg-checked__name { font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.mpg-checked__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.mpg-checked__bio { margin: 4px 0 0; color: var(--mpg-muted); font-size: .93rem; }
.mpg-checked__facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.mpg-checked__facts li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.mpg-checked__facts .mpg-svg { width: 18px; height: 18px; margin-top: 2px; color: var(--mpg-accent-text); }
.mpg-checked__note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--mpg-line); font-size: .88rem; color: var(--mpg-muted); }

/* FAQ */
.mpg-faq__list { border-top: 1px solid var(--mpg-line); max-width: 78ch; }
.mpg-faq__item { border-bottom: 1px solid var(--mpg-line); }
.mpg-faq__item summary { display: flex; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.mpg-faq__item summary::-webkit-details-marker { display: none; }
.mpg .mpg-faq__q { flex: 1; margin: 0; font-size: 1.02rem; font-weight: 750; line-height: 1.4; color: inherit; font-family: inherit; text-transform: none; letter-spacing: 0; }
.mpg-faq__toggle { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--mpg-line-2); }
.mpg-faq__toggle::before, .mpg-faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .2s ease; }
.mpg-faq__toggle::after { transform: rotate(90deg); }
.mpg-faq__item[open] .mpg-faq__toggle::after { transform: rotate(0deg); }
.mpg-faq__item[open] .mpg-faq__toggle { background: var(--mpg-accent); color: var(--mpg-accent-ink); border-color: transparent; }
.mpg-faq__a { padding: 0 46px 18px 0; color: color-mix(in srgb, currentColor 82%, transparent); }
.mpg-faq__a p { margin: 0; }

/* Comments: theme form fields made to match */
.mpg-comments textarea, .mpg-comments input[type="text"], .mpg-comments input[type="email"], .mpg-comments input[type="url"] {
	width: 100%; padding: 12px 14px; border: 1px solid var(--mpg-line-2); border-radius: var(--mpg-r); background: transparent; color: inherit; font: inherit;
}
.mpg-comments input[type="submit"], .mpg-comments .wp-block-button__link {
	min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--mpg-line-2); background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer;
}
.mpg-comments input[type="submit"]:hover { background: var(--mpg-tint-2); }

/* Sidebar */
.mpg-side + .mpg-side, .mpg-side + .mpg-report { margin-top: 32px; }
.mpg-side .mpg-h2 { font-size: 1.08rem; }
.mpg-minis { display: grid; gap: 14px; }
.mpg-support ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mpg-support li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.mpg-support li .mpg-svg { width: 20px; height: 20px; margin-top: 3px; color: var(--mpg-muted); }
.mpg-support li span { display: grid; min-width: 0; }
.mpg-support small { color: var(--mpg-muted); font-size: .8rem; }
.mpg-support a { font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.mpg-support a:hover { text-decoration: underline; text-underline-offset: 3px; }

.mpg-report { margin-top: 28px; font-size: .92rem; }
.mpg-report summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--mpg-muted); list-style: none; font-weight: 600; }
.mpg-report summary::-webkit-details-marker { display: none; }
.mpg-report summary .mpg-svg { width: 17px; height: 17px; }
.mpg-report__form { display: grid; gap: 12px; margin-top: 12px; }
.mpg-report__form label { display: grid; gap: 6px; font-weight: 600; }
.mpg-report__form select, .mpg-report__form textarea, .mpg-finder select {
	width: 100%; padding: 10px 12px; border: 1px solid var(--mpg-line-2); border-radius: 10px; font: inherit; font-weight: 500;
	color: inherit; background-color: var(--mpg-surface); color: var(--mpg-surface-ink);
}
.mpg select option { background: var(--mpg-surface); color: var(--mpg-surface-ink); }
.mpg-report__msg { margin: 0; color: var(--mpg-muted); }

.mpg-disclaimer { display: flex; gap: 10px; margin: 44px 0 0; padding-top: 18px; border-top: 1px solid var(--mpg-line); font-size: .85rem; color: var(--mpg-muted); }
.mpg-disclaimer .mpg-svg { width: 18px; height: 18px; margin-top: 2px; }

/* ------------------------------------------------------------------ */
/* Cards and grids                                                     */
/* ------------------------------------------------------------------ */
.mpg-section { margin: 48px 0 0; }
.mpg-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.mpg-section__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .93rem; text-decoration: none; color: var(--mpg-accent-text); white-space: nowrap; }
.mpg-section__more .mpg-svg { width: 18px; height: 18px; }
.mpg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 20px 14px; }
.mpg-list { display: grid; gap: 14px; }
@media (max-width: 420px) { .mpg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }

.mpg-card { position: relative; min-width: 0; }
.mpg-card__link { display: grid; gap: 9px; text-decoration: none; color: inherit; }
.mpg-card__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--mpg-r); overflow: hidden; background: var(--mpg-tint-2); }
.mpg-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mpg-card__link:hover .mpg-card__media, .mpg-card__link:focus-visible .mpg-card__media { outline: 3px solid var(--mpg-accent); outline-offset: 2px; }
.mpg-card__link:focus-visible { outline: none; }
.mpg-card__body { display: grid; gap: 3px; min-width: 0; }
.mpg-card__title { font-weight: 750; font-size: .96rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mpg-card__link:hover .mpg-card__title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mpg-card__summary { font-size: .88rem; color: var(--mpg-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mpg-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .82rem; color: var(--mpg-muted); }
.mpg-card__score { display: inline-flex; align-items: center; gap: 4px; font-weight: 750; color: inherit; font-variant-numeric: tabular-nums; }
.mpg-card__score .mpg-svg { width: 14px; height: 14px; color: var(--mpg-like); }
.mpg-card__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpg-card--mini .mpg-card__link, .mpg-card--list .mpg-card__link { grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 12px; }
.mpg-card--list .mpg-card__link { grid-template-columns: 168px minmax(0, 1fr); }
.mpg-card--mini .mpg-card__media { border-radius: 10px; }
.mpg-card--mini .mpg-card__title { font-size: .92rem; }
.mpg .mpg-card__remove {
	position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center; background: rgba(0, 0, 0, .62); color: #fff;
}
.mpg-card__remove .mpg-svg { width: 16px; height: 16px; }

.mpg-embed { display: grid; gap: 14px; max-width: 520px; }
.mpg-embed .mpg-play { justify-self: start; }

/* ------------------------------------------------------------------ */
/* Listings                                                            */
/* ------------------------------------------------------------------ */
.mpg-hub { display: grid; gap: 20px; margin: 0 0 22px; }
@media (min-width: 900px) { .mpg-hub { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 32px; } }
.mpg-hub .mpg-title { margin-bottom: 8px; }
.mpg-hub__desc { margin: 0; color: var(--mpg-muted); max-width: 64ch; }
.mpg-hub__desc p { margin: 0 0 8px; }

.mpg-search { position: relative; display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 6px 0 16px; border: 1px solid var(--mpg-line-2); border-radius: 15px; }
.mpg-search:focus-within { border-color: var(--mpg-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mpg-accent) 30%, transparent); }
.mpg-search > .mpg-svg { width: 20px; height: 20px; color: var(--mpg-muted); }
.mpg .mpg-search input[type="search"] {
	flex: 1; min-width: 0; height: 52px; padding: 0; margin: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 1rem; box-shadow: none; outline: none;
	-webkit-appearance: none; appearance: none;
}
.mpg .mpg-search input[type="search"]::placeholder { color: var(--mpg-faint); opacity: 1; }
.mpg .mpg-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mpg .mpg-search button[type="submit"] {
	min-height: 42px; padding: 0 16px; margin: 0; border: 0; border-radius: 11px; cursor: pointer;
	background: var(--mpg-accent); color: var(--mpg-accent-ink); font-weight: 800; font-size: .92rem;
}
.mpg-finder { display: grid; gap: 10px; }
.mpg-finder__filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mpg-field { display: grid; gap: 4px; min-width: 0; }
.mpg-field__label { font-size: .78rem; color: var(--mpg-muted); font-weight: 600; }
.mpg-finder select { min-height: 42px; padding: 8px 10px; font-size: .9rem; }
@media (max-width: 520px) { .mpg-finder__filters { grid-template-columns: 1fr 1fr; } .mpg-field--letter { grid-column: 1 / -1; } }

.mpg-catbar { position: relative; margin: 0 0 10px; }
.mpg-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; margin: 0; scroll-behavior: smooth; }
.mpg-chips--scroll::-webkit-scrollbar { display: none; }
.mpg .mpg-catbar__btn {
	position: absolute; top: 2px; width: 38px; height: 38px; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
	border: 1px solid var(--mpg-line-2); background: var(--mpg-surface); color: var(--mpg-surface-ink);
}
.mpg-catbar__btn--prev { left: -6px; }
.mpg-catbar__btn--next { right: -6px; }
.mpg-catbar__btn .mpg-svg { width: 18px; height: 18px; }

.mpg-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 8px 0 20px; padding: 12px 0; border-top: 1px solid var(--mpg-line); border-bottom: 1px solid var(--mpg-line); }
.mpg-toolbar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mpg-toolbar__count { color: var(--mpg-muted); font-size: .92rem; }
.mpg-toolbar__count b { color: inherit; font-weight: 800; font-variant-numeric: tabular-nums; }
.mpg-toolbar__count b { color: var(--mpg-accent-text); }
.mpg .mpg-ftag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--mpg-tint-2); text-decoration: none; font-size: .85rem; font-weight: 700; }
.mpg-ftag span { color: var(--mpg-muted); font-weight: 500; }
.mpg-ftag .mpg-svg { width: 14px; height: 14px; }
.mpg .mpg-ftag--clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
.mpg-sortbar { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.mpg-sortbar::-webkit-scrollbar { display: none; }
.mpg-sortbar__label { font-size: .85rem; color: var(--mpg-muted); margin-right: 6px; white-space: nowrap; }
.mpg .mpg-sortbar__opt { padding: 6px 11px; border-radius: 8px; font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.mpg .mpg-sortbar__opt:hover { background: var(--mpg-tint-2); }
.mpg .mpg-sortbar__opt.is-active { background: var(--mpg-tint-3); font-weight: 800; }

.mpg-empty { padding: 40px 0; text-align: center; color: var(--mpg-muted); }
.mpg-empty b { color: inherit; font-size: 1.1rem; }

.mpg-more { display: grid; justify-items: center; gap: 8px; margin: 32px 0 0; }
.mpg .mpg-more__btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 1px solid var(--mpg-line-2);
	font-weight: 800; text-decoration: none;
}
.mpg .mpg-more__btn:hover { background: var(--mpg-tint-2); }
.mpg-more__btn .mpg-svg { width: 18px; height: 18px; }
.mpg-more__btn.is-loading { opacity: .6; cursor: progress; }
.mpg-more__count { margin: 0; font-size: .85rem; color: var(--mpg-muted); }
.mpg .mpg-more__prev { font-size: .85rem; color: var(--mpg-muted); }

.mpg-rows { margin: 56px 0 0; }
.mpg .mpg-rows__title { font-size: 1.45rem; font-weight: 800; letter-spacing: -.015em; margin: 0 0 6px; color: inherit; }
.mpg-row { margin: 26px 0 0; }
.mpg-row__head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.mpg-row__name { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex: 1; }
.mpg .mpg-row__name h3 { margin: 0; font-size: 1.1rem; font-weight: 800; color: inherit; }
.mpg-row__name h3 a { text-decoration: none; }
.mpg-row__name span { font-size: .85rem; color: var(--mpg-muted); white-space: nowrap; }
.mpg-row__nav { display: flex; gap: 6px; }
.mpg .mpg-row__btn { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--mpg-line-2); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.mpg .mpg-row__btn:disabled { opacity: .35; cursor: default; }
.mpg-row__btn .mpg-svg { width: 18px; height: 18px; }
.mpg .mpg-row__all { display: inline-flex; align-items: center; gap: 2px; font-size: .9rem; font-weight: 700; color: var(--mpg-accent-text); text-decoration: none; white-space: nowrap; }
.mpg-row__all .mpg-svg { width: 17px; height: 17px; }
.mpg-row__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 6px; margin: -4px; }
.mpg-row__track::-webkit-scrollbar { display: none; }
.mpg-card--row { flex: none; width: 212px; scroll-snap-align: start; }
@media (max-width: 480px) { .mpg-card--row { width: 172px; } }

.mpg-az { display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 48px 0 0; padding: 16px 0 4px; border-top: 1px solid var(--mpg-line); }
.mpg-az::-webkit-scrollbar { display: none; }
.mpg .mpg-az__l {
	flex: none; display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 9px;
	font-weight: 750; font-size: .9rem; text-decoration: none;
}
.mpg .mpg-az a.mpg-az__l:hover { background: var(--mpg-tint-2); }
.mpg .mpg-az__l.is-active { background: var(--mpg-accent); color: var(--mpg-accent-ink); }
.mpg .mpg-az__l.is-empty { color: var(--mpg-faint); opacity: .55; }

/* Live suggestions */
.mpg-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; max-height: 70vh; overflow-y: auto; padding: 6px;
	background: var(--mpg-surface); color: var(--mpg-surface-ink); border: 1px solid var(--mpg-line-2); border-radius: 14px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}
.mpg-suggest__group { padding: 8px 10px 4px; font-size: .75rem; font-weight: 700; color: var(--mpg-muted); }
.mpg .mpg-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: inherit; }
.mpg .mpg-suggest__item:hover, .mpg .mpg-suggest__item.is-on { background: var(--mpg-tint-2); }
.mpg-suggest__item img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; }
.mpg-suggest__ico { display: grid; place-items: center; flex: none; width: 64px; height: 36px; border-radius: 6px; color: #fff; font-weight: 800; background: hsl(var(--mpg-hue, 210) 55% 42%); }
.mpg-suggest__ico--cat { background: var(--mpg-tint-2); color: inherit; }
.mpg-suggest__txt { display: grid; min-width: 0; flex: 1; }
.mpg-suggest__txt b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpg-suggest__txt span { font-size: .8rem; color: var(--mpg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpg-suggest mark { background: color-mix(in srgb, var(--mpg-accent) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.mpg-suggest__rate { font-size: .82rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.mpg-suggest__none { padding: 14px 10px; color: var(--mpg-muted); font-size: .9rem; }
.mpg .mpg-suggest__all { display: block; padding: 10px; margin-top: 4px; border-top: 1px solid var(--mpg-line); font-weight: 700; font-size: .9rem; text-decoration: none; color: inherit; }

/* Homepage shortcode */
.mpg-home__hero { display: grid; gap: 14px; margin: 0 0 18px; max-width: 760px; }
.mpg .mpg-home__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; margin: 0; color: inherit; }
.mpg-home__text { margin: 0; color: var(--mpg-muted); font-size: 1.05rem; }

/* Favorites */
.mpg-wishlist__head { display: flex; align-items: baseline; gap: 12px; }
.mpg-wishlist__count { color: var(--mpg-muted); font-size: .9rem; }
.mpg-wishlist__empty { display: grid; justify-items: center; gap: 12px; padding: 36px 16px; text-align: center; border: 1px dashed var(--mpg-line-2); border-radius: var(--mpg-r-lg); }
.mpg-wishlist__empty p { margin: 0; color: var(--mpg-muted); }
.mpg-wishlist__empty b { color: inherit; }
.mpg-wishlist__emptyicon .mpg-svg { width: 34px; height: 34px; color: var(--mpg-dislike); }
.mpg-skel { aspect-ratio: 16 / 9; border-radius: var(--mpg-r); background: var(--mpg-tint-2); }
.mpg.mpg-wl-link { display: inline-flex; align-items: center; gap: 6px; width: auto; text-decoration: none; font-weight: 700; }
.mpg-wl-link .mpg-svg { width: 18px; height: 18px; }
.mpg-wl-link b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; font-size: .75rem; background: var(--mpg-accent); color: var(--mpg-accent-ink); }

/* ------------------------------------------------------------------ */
/* Play page                                                           */
/* ------------------------------------------------------------------ */
.mpg-launch { display: grid; justify-items: center; text-align: center; gap: 14px; margin: 8px 0 0; }
.mpg-launch--embed { justify-items: stretch; text-align: left; }
.mpg-launch__cover { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--mpg-r-lg); overflow: hidden; background: var(--mpg-tint-2); }
.mpg-launch__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpg-launch .mpg-title { margin: 6px 0 0; }
.mpg-launch__where { margin: 0; color: var(--mpg-muted); font-size: 1.02rem; }
.mpg-launch__bar { width: min(100%, 420px); height: 8px; border-radius: 99px; background: var(--mpg-tint-3); overflow: hidden; }
.mpg-launch__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--mpg-accent); }
.mpg-launch__count { margin: 0; font-size: .9rem; color: var(--mpg-muted); font-variant-numeric: tabular-nums; }
.mpg-launch__again { margin: 0; font-size: .9rem; color: var(--mpg-muted); }
.mpg-launch__again a { color: var(--mpg-accent-text); font-weight: 700; }
.mpg-launch__src { display: flex; gap: 8px; align-items: flex-start; justify-content: center; margin: 4px 0 0; font-size: .86rem; color: var(--mpg-muted); max-width: 52ch; text-align: left; }
.mpg-launch__src .mpg-svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--mpg-like); }
.mpg-back { margin: 34px 0 0; }
.mpg-back a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.mpg-back a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mpg-back .mpg-svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ */
/* Floating layers: loader, share sheet, sticky bar, toast, lightbox  */
/* ------------------------------------------------------------------ */
.mpg-loader, .mpg-sheet {
	position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; padding: 16px;
	background: rgba(6, 6, 12, .62); opacity: 0; transition: opacity .2s ease;
}
.mpg-loader.is-on, .mpg-sheet.is-on { opacity: 1; }
.mpg-loader__panel, .mpg-sheet__panel {
	width: min(100%, 420px); max-height: calc(100vh - 32px); overflow-y: auto; padding: 18px; border-radius: 20px;
	background: var(--mpg-surface); color: var(--mpg-surface-ink); box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
	transform: translateY(10px) scale(.98); transition: transform .2s ease;
}
.mpg-loader.is-on .mpg-loader__panel, .mpg-sheet.is-on .mpg-sheet__panel { transform: none; }
.mpg-loader__panel { display: grid; gap: 10px; text-align: center; justify-items: center; }
.mpg-loader__cover { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--mpg-tint-2); }
.mpg-loader__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpg-loader__title { margin: 6px 0 0; font-size: 1.22rem; font-weight: 800; line-height: 1.2; }
.mpg-loader__where { margin: 0; color: var(--mpg-muted); font-size: .92rem; }
.mpg-loader .mpg-launch__bar { width: 100%; margin-top: 4px; }
.mpg-loader__count { margin: 0; font-size: .88rem; color: var(--mpg-muted); font-variant-numeric: tabular-nums; }
.mpg-loader__btns { display: flex; gap: 10px; width: 100%; margin-top: 6px; }
.mpg-loader__btns > * { flex: 1; }
.mpg-loader__btns .mpg-btn { min-height: 52px; }
.mpg-loader:not(.is-ready) [data-mpg-now] { filter: grayscale(.6); opacity: .6; }

.mpg-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.mpg .mpg-sheet__title { margin: 0; font-size: 1.15rem; font-weight: 800; color: inherit; }
.mpg-sheet__head .mpg-iconbtn { width: 40px; height: 40px; border-radius: 50%; }
.mpg-sheet__game { display: flex; align-items: center; gap: 12px; padding: 0 0 14px; border-bottom: 1px solid var(--mpg-line); }
.mpg-sheet__game span { display: grid; min-width: 0; }
.mpg-sheet__game small { color: var(--mpg-muted); }
.mpg-sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.mpg .mpg-sheet__target { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; text-decoration: none; color: inherit; }
.mpg .mpg-sheet__target:hover { background: var(--mpg-tint-2); }
.mpg-sheet__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; }
.mpg-sheet__ico .mpg-svg { width: 22px; height: 22px; }
.mpg-sheet__target--whatsapp .mpg-sheet__ico { background: #25d366; }
.mpg-sheet__target--facebook .mpg-sheet__ico { background: #1877f2; }
.mpg-sheet__target--x .mpg-sheet__ico { background: #111; }
.mpg-sheet__target--telegram .mpg-sheet__ico { background: #229ed9; }
.mpg-sheet__target--reddit .mpg-sheet__ico { background: #ff4500; }
.mpg-sheet__target--mail .mpg-sheet__ico { background: #5f6368; }
.mpg-sheet__target small { font-size: .8rem; }
.mpg-sheet__copy { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border: 1px solid var(--mpg-line-2); border-radius: 12px; }
.mpg-sheet__copy .mpg-svg { width: 18px; height: 18px; color: var(--mpg-muted); }
.mpg .mpg-sheet__copy input { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: .88rem; padding: 0; box-shadow: none; outline: none; }
@media (max-width: 560px) {
	.mpg-sheet { place-items: end stretch; padding: 0; }
	.mpg-sheet__panel { width: 100%; border-radius: 20px 20px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}

.mpg-sticky {
	position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 9990;
	display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 16px;
	background: var(--mpg-surface); color: var(--mpg-surface-ink); border: 1px solid var(--mpg-line-2); box-shadow: 0 10px 32px rgba(0, 0, 0, .28);
	transform: translateY(160%); transition: transform .25s ease;
}
.mpg-sticky.is-visible { transform: none; }
.mpg-sticky__text { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.mpg-sticky__text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; font-weight: 800; }
.mpg-sticky__text small { display: inline-flex; align-items: center; gap: 4px; color: var(--mpg-muted); font-size: .8rem; }
.mpg-sticky__text small .mpg-svg { width: 13px; height: 13px; color: var(--mpg-like); }
.mpg-sticky .mpg-play { margin: 0 0 3px; }
@media (min-width: 768px) { .mpg-sticky { display: none !important; } }

.mpg-toast {
	position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 100002; width: auto; max-width: calc(100% - 32px);
	display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: .92rem;
	background: var(--mpg-page-ink, #111); color: var(--mpg-page, #fff); box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.mpg-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.mpg-toast a { color: inherit; font-weight: 800; }

.mpg-lightbox { position: fixed; inset: 0; z-index: 100003; display: grid; place-items: center; background: rgba(0, 0, 0, .92); padding: 48px 12px; }
.mpg-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.mpg-lightbox__count { position: absolute; top: 14px; left: 16px; color: #fff; font-size: .9rem; font-variant-numeric: tabular-nums; }
.mpg-lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.mpg-lightbox__close { top: 10px; right: 12px; }
.mpg-lightbox__prev { left: 12px; top: 50%; margin-top: -23px; }
.mpg-lightbox__next { right: 12px; top: 50%; margin-top: -23px; }

@media (prefers-reduced-motion: reduce) {
	.mpg *, .mpg *::before, .mpg *::after, .mpg-loader, .mpg-sheet, .mpg-sticky, .mpg-toast { transition: none !important; animation: none !important; }
	.mpg-loader .mpg-launch__bar span, .mpg-launch__bar span { transition: none; }
}
