/**
 * FlashVue Partner Marketing Toolkit – Phase 1 (Quick Share)
 * All selectors use gp-mkt- prefix to avoid conflicts with existing dashboard styles.
 */

.gp-mkt-section {
	margin-bottom: 1.5em;
}

.gp-mkt-getting-started {
	margin-bottom: 1.5em;
	padding: 0.75em 1em;
	padding-top: 2.2em;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fafafa;
	position: relative;
}

.gp-mkt-accordion {
	margin-top: 1.5em;
	border-top: 1px solid #e2e2e2;
}

.gp-mkt-accordion-item {
	border-bottom: 1px solid #e2e2e2;
}

.gp-mkt-accordion-header {
	margin: 0;
}

.gp-mkt-accordion-button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0.65em 0.5em;
	background: none;
	border: 0;
	font-size: 1.05em;
	font-weight: 600;
	color: #1F3A5F;
	text-align: left;
	cursor: pointer;
	border-radius: 6px;
}

.gp-mkt-accordion-button:hover,
.gp-mkt-accordion-button:focus {
	background: #1F3A5F;
	color: #fff;
	outline: none;
}

.gp-mkt-accordion-button:focus {
	/* handled above */
}

.gp-mkt-accordion-chevron {
	font-size: 1.05em;
	color: #6b7280;
	margin-left: 0.5em;
}

.gp-mkt-accordion-button:hover .gp-mkt-accordion-chevron,
.gp-mkt-accordion-button:focus .gp-mkt-accordion-chevron,
.gp-mkt-accordion-item.is-open .gp-mkt-accordion-button .gp-mkt-accordion-chevron {
	color: #fff;
}

.gp-mkt-accordion-item.is-open .gp-mkt-accordion-button {
	background: #1F3A5F;
	color: #fff;
}

.gp-mkt-accordion-panel {
	display: none;
	padding-bottom: 1em;
}

.gp-mkt-accordion-item.is-open .gp-mkt-accordion-panel {
	display: block;
}

.gp-mkt-gs-toggle {
	margin: 0;
	padding: 0;
	position: absolute;
	right: 1em;
	top: 0.85em;
	border: 0;
	background: none;
	color: #666;
	font-size: 0.85em;
	cursor: pointer;
	text-decoration: underline;
}

.gp-mkt-gs-toggle:focus {
	outline: 1px dotted #666;
	outline-offset: 2px;
}

.gp-mkt-getting-started.is-collapsed .gp-mkt-getting-started-intro,
.gp-mkt-getting-started.is-collapsed .gp-mkt-getting-started-list {
	display: none;
}

@media (max-width: 600px) {
	/* On small screens, avoid overlapping the heading */
	.gp-mkt-gs-toggle {
		position: static;
		display: inline-block;
		margin-top: 0.25em;
	}
	.gp-mkt-getting-started {
		padding-top: 0.75em;
	}
}

.gp-mkt-getting-started-intro {
	margin-top: 1.5em;
}

.gp-mkt-getting-started-list {
	margin: 0.25em 0 0;
	padding-left: 1.2em;
	font-size: 0.9em;
	color: #555;
}

.gp-mkt-getting-started-list li {
	margin: 0.15em 0;
}

.gp-mkt-getting-started-list a {
	color: #1F3A5F;
	text-decoration: none;
}

.gp-mkt-getting-started-list a:hover,
.gp-mkt-getting-started-list a:focus {
	text-decoration: underline;
}

.gp-mkt-subheading {
	font-size: 1em;
	font-weight: 600;
	margin: 0 0 0.75em;
}

.gp-mkt-note {
	margin: 0.5em 0;
	color: #666;
}

.gp-mkt-intro {
	margin-bottom: 1em;
}

.gp-mkt-competition-list {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.gp-mkt-competition-item {
	padding: 1em;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.gp-mkt-item-title {
	margin: 0 0 0.75em;
	font-size: 0.95em;
	font-weight: 600;
}

.gp-mkt-item-game {
	font-weight: 400;
	color: #666;
}

.gp-mkt-label {
	display: block;
	margin-bottom: 0.25em;
	font-size: 0.9em;
	font-weight: 500;
}

.gp-mkt-word-count {
	font-weight: normal;
	color: #888;
	font-size: 0.9em;
}

.gp-mkt-desc-warning {
	color: #c00;
	font-size: 0.85em;
	margin: 0.25em 0 0.5em;
}

.gp-mkt-desc-warning-hidden {
	display: none;
}

.gp-mkt-url-row,
.gp-mkt-promo-row {
	margin-bottom: 1em;
}

.gp-mkt-url-wrap {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
	align-items: center;
}

.gp-mkt-url-input {
	flex: 1;
	min-width: 200px;
	padding: 0.4em 0.6em;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 0.95em;
	background: #f9f9f9;
}

.gp-mkt-promo-input {
	width: 100%;
	max-width: 36em;
	padding: 0.5em 0.6em;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 0.95em;
	resize: vertical;
	margin-bottom: 0.5em;
}

.gp-mkt-btn-row {
	margin-top: 0.25em;
}

.gp-mkt-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-top: 0.75em;
	padding-top: 0.75em;
	border-top: 1px solid #eee;
}

.gp-mkt-btn {
	display: inline-block;
	padding: 0.45em 0.9em;
	background: #1F3A5F;
	border: 1px solid #1F3A5F;
	border-radius: 3px;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	font-size: 0.9em;
	line-height: 1.4;
}

.gp-mkt-btn:hover,
.gp-mkt-btn:focus {
	background: #2a4a72;
	border-color: #2a4a72;
	color: #fff;
	text-decoration: none;
}

.gp-mkt-btn-copy-link,
.gp-mkt-btn-copy-promo,
.gp-mkt-btn-copy-post {
	background: #f0f0f0;
	border-color: #ccc;
	color: #333;
}

.gp-mkt-btn-reset {
	background: #ffffff;
	border-color: #2E9FA4;
	color: #2E9FA4;
}

.gp-mkt-btn-reset:hover,
.gp-mkt-btn-reset:focus {
	background: #2E9FA4;
	border-color: #2E9FA4;
	color: #fff;
}

.gp-mkt-btn-copy-link:hover,
.gp-mkt-btn-copy-promo:hover,
.gp-mkt-btn-copy-post:hover,
.gp-mkt-btn-copy-link:focus,
.gp-mkt-btn-copy-promo:focus,
.gp-mkt-btn-copy-post:focus {
	background: #e8e8e8;
	border-color: #999;
	color: #333;
}

.gp-mkt-btn-whatsapp {
	background: #25D366;
	border-color: #25D366;
	text-decoration: none !important;
}

.gp-mkt-btn-whatsapp:hover,
.gp-mkt-btn-whatsapp:focus {
	background: #20bd5a;
	border-color: #20bd5a;
	color: #fff;
}

.gp-mkt-btn-copied {
	background: #00875a !important;
	border-color: #00875a !important;
	color: #fff !important;
}

/* Phase 2 – Print Materials (poster) */
.gp-mkt-print-materials {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid #ddd;
}

.gp-mkt-poster-list {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.gp-mkt-poster-item {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	align-items: flex-start;
	padding: 1em;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fafafa;
}

.gp-mkt-poster-editor {
	flex: 1;
	min-width: 200px;
	max-width: 280px;
}

.gp-mkt-poster-editor .gp-mkt-poster-field {
	width: 100%;
	padding: 0.4em 0.5em;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 0.75em;
	font-size: 0.95em;
}

.gp-mkt-poster-editor textarea.gp-mkt-poster-field {
	resize: vertical;
	min-height: 2.5em;
}

.gp-mkt-poster-preview-wrap {
	flex: 1;
	min-width: 280px;
}

.gp-mkt-poster {
	/* A4 proportion: 210/297 ≈ 0.707 */
	width: 100%;
	max-width: 350px;
	aspect-ratio: 210 / 297;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	overflow: hidden;
	position: relative;
}

.gp-mkt-poster-inner {
	padding: 0.4em 1.25em 0.3em;
	height: 100%;
	display: flex;
	flex-direction: column;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	position: relative;
	z-index: 1;
}

.gp-mkt-poster.gp-mkt-poster-has-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--gp-mkt-bg-image);
	background-size: cover;
	background-position: center;
	opacity: 0.12;
	pointer-events: none;
	z-index: 0;
}

.gp-mkt-poster-branding {
	font-size: 0.3em;
	font-weight: 600;
	color: #1F3A5F;
	letter-spacing: 0.03em;
	margin-top: auto;
	padding-top: 0.5em;
	border-top: 1px solid #e5e5e5;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5em;
}

.gp-mkt-poster-branding-left {
	text-align: left;
}

.gp-mkt-poster-branding-right {
	text-align: right;
}

.gp-mkt-poster-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	margin-top: 0;
	gap: 1em;
	flex-shrink: 0;
}

.gp-mkt-poster-headline-wrap {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.gp-mkt-poster-partner-logo {
	width: 22%;
	height: 80px;
	flex-shrink: 0;
	z-index: 10;
	margin-left: 0;
	margin-top: 0.2em;
	margin-right: -0.3em;
}

.gp-mkt-poster-headline {
	font-size: 1em;
	font-weight: 700;
	margin: 0 0 0.35em;
	line-height: 1.2;
	color: #262626;
}

.gp-mkt-poster-headline-wrap .gp-mkt-poster-headline {
	margin: 0;
}

.gp-mkt-poster-end {
	font-size: 0.7em;
	color: #666;
	text-align: center;
	margin: 0.15em 0 0.1em;
	font-style: italic;
}

.gp-mkt-poster-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	gap: 0.5em;
	margin-top: 0.3em;
}

.gp-mkt-poster-description-wrap {
	flex: 1.2;
	min-height: 0;
	overflow: hidden;
}

.gp-mkt-poster-description {
	font-size: 1.25em;
	margin: 0;
	line-height: 1.35;
	color: #444;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
}

.gp-mkt-poster-prize-image {
	flex: 1.4;
	max-height: 65%;
	min-height: 90px;
	padding-bottom: 10px;
	margin-top: 0.35em;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	border: 1px dashed #ddd;
}

.gp-mkt-poster-prize-image img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.gp-mkt-poster-prize-image:has(img) {
	background: transparent;
	border: none;
}

.gp-mkt-poster-qr-block {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 1em;
	margin-top: auto;
	margin-bottom: 4px;
	width: 100%;
}

.gp-mkt-poster-qr-left {
	flex-shrink: 0;
	width: 30%;
}

.gp-mkt-poster-qr-legal {
	font-size: 0.42em;
	line-height: 1.2;
	color: #666;
	margin: 0.25em 0 0;
	max-width: 70px;
	text-align: center;
}

.gp-mkt-poster-cta-wrap .gp-mkt-poster-link {
	font-size: 0.6em;
	color: #666;
	word-break: break-all;
	margin: 0.5em 0 0;
	text-align: center;
}

.gp-mkt-poster-qr {
	display: flex;
	justify-content: flex-start;
	margin: 0;
}

.gp-mkt-poster-cta-wrap {
	flex: 1;
	width: 70%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-width: 0;
}

.gp-mkt-poster-cta-wrap .gp-mkt-poster-cta {
	margin: 0;
}

.gp-mkt-poster-qr-canvas {
	width: 70px;
	height: 70px;
	max-width: 70px;
	max-height: 70px;
	padding: 4px;
	background: #fff;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,0.06);
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.gp-mkt-poster-qr-canvas canvas,
.gp-mkt-poster-qr-canvas img,
.gp-mkt-poster-qr-canvas table {
	border: none !important;
}
.gp-mkt-poster-qr-canvas canvas,
.gp-mkt-poster-qr-canvas img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain;
}

.gp-mkt-poster-cta {
	font-size: 0.8em;
	font-weight: 600;
	color: #1F3A5F;
	margin: 0;
}

.gp-mkt-cta-free {
	font-style: italic;
	font-weight: 700;
}

.gp-mkt-poster-partner-logo img {
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.gp-mkt-poster-size-row {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin-top: 0.75em;
	margin-bottom: 0.5em;
}

.gp-mkt-poster-bg-row .gp-mkt-label {
	font-weight: 400;
}

.gp-mkt-poster-bg-note {
	margin: 0.3em 0 0;
	padding-left: 1.1em;
	font-size: 0.8em;
	color: #666;
	list-style: disc;
}

.gp-mkt-poster-size-row .gp-mkt-label {
	margin-bottom: 0;
}

.gp-mkt-poster-size-select {
	padding: 0.35em 0.6em;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 0.95em;
}

.gp-mkt-poster-actions {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}

/* Phase 3 – Social Media */
.gp-mkt-social-media {
	margin-top: 0;
}

.gp-mkt-social-list {
	display: flex;
	flex-direction: column;
	gap: 2em;
}

.gp-mkt-social-item {
	padding: 1.5em;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.gp-mkt-social-posts {
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #eee;
}

.gp-mkt-post-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.5em;
	margin-bottom: 0.75em;
}

.gp-mkt-post-row .gp-mkt-label {
	flex: 0 0 100%;
	margin-bottom: 0.15em;
}

.gp-mkt-post-input {
	flex: 1;
	min-width: 200px;
	padding: 0.4em 0.5em;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 0.95em;
	resize: vertical;
}

.gp-mkt-btn-copy-post {
	align-self: flex-end;
}

.gp-mkt-social-graphics {
	margin-top: 1em;
}

.gp-mkt-graphic-editor {
	margin-bottom: 1em;
	max-width: 320px;
}

.gp-mkt-graphic-editor .gp-mkt-graphic-field {
	width: 100%;
	padding: 0.4em 0.5em;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 0.75em;
	font-size: 0.95em;
}

.gp-mkt-graphic-editor textarea.gp-mkt-graphic-field {
	resize: vertical;
	min-height: 2.5em;
}

.gp-mkt-graphic-size-row {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin-bottom: 0.75em;
}

.gp-mkt-graphic-size-row .gp-mkt-label {
	margin-bottom: 0;
}

.gp-mkt-graphic-size-select {
	padding: 0.35em 0.6em;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 0.95em;
}

.gp-mkt-graphic-preview-wrap {
	margin: 1em 0;
}

.gp-mkt-graphic-preview-row {
	display: flex;
	gap: 1.25em;
	align-items: flex-start;
}

.gp-mkt-graphic-preview-row .gp-mkt-graphic-preview-wrap {
	margin: 1em 0;
	flex: 0 0 350px;
	max-width: 350px;
	min-width: 220px;
}

.gp-mkt-graphic-preview-note {
	flex: 1;
	min-width: 16em;
	max-width: 28em;
	margin-top: 1em;
}

@media (max-width: 900px) {
	.gp-mkt-graphic-preview-row {
		flex-direction: column;
	}
	.gp-mkt-graphic-preview-note {
		max-width: 100%;
		margin-top: 0;
	}
}

/* Phase 4 – Email Promotion */
.gp-mkt-email-templates {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid #ddd;
}

.gp-mkt-email-intro {
	max-width: 46em;
}

.gp-mkt-email-list {
	display: flex;
	flex-direction: column;
	gap: 1.75em;
	margin-top: 1em;
}

.gp-mkt-email-item {
	padding: 1.25em;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.gp-mkt-email-title {
	margin: 0 0 0.35em;
	font-size: 0.95em;
	font-weight: 600;
}

.gp-mkt-email-url {
	margin: 0 0 0.75em;
	font-size: 0.9em;
	word-break: break-all;
}

.gp-mkt-email-tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 0.5em;
	border-bottom: 1px solid #ddd;
}

.gp-mkt-email-tab {
	border: 0;
	background: none;
	border-radius: 0;
	font-size: 0.85em;
	padding: 0 0.5em 0.3em;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	color: #555;
	font-weight: 500;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
}

.gp-mkt-email-tab.gp-mkt-email-tab-active {
	border-bottom-color: #1F3A5F;
	color: #1F3A5F;
	font-weight: 600;
}

.gp-mkt-email-panels {
	margin-top: 0.5em;
}

.gp-mkt-email-panel {
	display: none;
}

.gp-mkt-email-panel-active {
	display: block;
}

.gp-mkt-email-fields {
	max-width: 40em;
}

.gp-mkt-email-subject-input {
	width: 100%;
	padding: 0.4em 0.5em;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 0.75em;
	font-size: 0.95em;
}

.gp-mkt-email-body-input {
	width: 100%;
	padding: 0.5em 0.5em;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 0.75em;
	font-size: 0.95em;
	resize: vertical;
}

.gp-mkt-email-actions {
	margin-top: 0.5em;
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}

/* Phase 5 – Website Promotion */
.gp-mkt-website-promo {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid #ddd;
}

.gp-mkt-website-intro {
	max-width: 46em;
}

.gp-mkt-website-list {
	display: flex;
	flex-direction: column;
	gap: 1.75em;
	margin-top: 1em;
}

.gp-mkt-website-item {
	padding: 1.25em;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
}

.gp-mkt-website-title {
	margin: 0 0 0.35em;
	font-size: 0.95em;
	font-weight: 600;
}

.gp-mkt-website-url {
	margin: 0 0 0.75em;
	font-size: 0.9em;
	word-break: break-all;
}

.gp-mkt-website-section {
	margin-top: 1em;
}

.gp-mkt-website-subheading {
	margin: 0 0 0.25em;
	font-size: 0.9em;
	font-weight: 600;
}

.gp-mkt-website-preview {
	margin: 0.5em 0 0.75em;
}

.gp-mkt-website-html {
	width: 100%;
	max-width: 100%;
	padding: 0.5em 0.5em;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 0.9em;
	resize: vertical;
}

.gp-mkt-website-actions {
	margin-top: 0.5em;
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}

/* Phase 6 – Marketing Pack */
.gp-mkt-pack {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid #ddd;
}

.gp-mkt-pack-intro {
	max-width: 46em;
}

.gp-mkt-pack-list {
	display: flex;
	flex-direction: column;
	gap: 1.25em;
	margin-top: 1em;
}

.gp-mkt-pack-item {
	padding: 1.1em 1.25em;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75em;
}

.gp-mkt-pack-title {
	margin: 0 0 0.25em;
	font-size: 0.95em;
	font-weight: 600;
}

.gp-mkt-pack-url {
	margin: 0;
	font-size: 0.9em;
	word-break: break-all;
}

.gp-mkt-pack-actions {
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.gp-mkt-pack .gp-mkt-pack-btn {
	background: #2E9FA4 !important;
	border-color: #2E9FA4 !important;
	color: #ffffff !important;
}

.gp-mkt-pack .gp-mkt-pack-btn:hover,
.gp-mkt-pack .gp-mkt-pack-btn:focus {
	background: #ffffff !important;
	border-color: #2E9FA4 !important;
	color: #2E9FA4 !important;
}

.gp-mkt-social-graphic {
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	overflow: hidden;
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gp-mkt-social-graphic-has-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--gp-mkt-social-bg-image);
	background-size: cover;
	background-position: center;
	opacity: 0.15;
	z-index: 0;
}

.gp-mkt-social-graphic-has-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.35);
	z-index: 0;
}

/* Instagram 4:5 1080×1350 */
.gp-mkt-social-graphic-instagram {
	width: 100%;
	max-width: 350px;
	aspect-ratio: 1080 / 1350;
}

/* Facebook Feed Posts 1080×1350 (same size as Instagram in UI) */
.gp-mkt-social-graphic-facebook {
	width: 100%;
	max-width: 350px;
	aspect-ratio: 1080 / 1350;
}

/* Facebook Stories 1080×1920 */
.gp-mkt-social-graphic-stories {
	width: 100%;
	max-width: 180px;
	aspect-ratio: 1080 / 1920;
}

.gp-mkt-social-graphic-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	padding: 6% 6% 2%;
	box-sizing: border-box;
	z-index: 1;
}

/* Stories: taller format – more vertical spacing, slightly larger type */
.gp-mkt-social-graphic-stories .gp-mkt-social-graphic-inner {
	padding: 5% 6% 2%;
}
.gp-mkt-social-graphic-stories .gp-mkt-social-graphic-header {
	margin-bottom: 3%;
}
.gp-mkt-social-graphic-stories .gp-mkt-social-graphic-prize {
	margin-bottom: 3%;
}
.gp-mkt-social-graphic-stories .gp-mkt-social-graphic-headline {
	font-size: clamp(0.65em, 2.4vw, 0.95em);
}
.gp-mkt-social-graphic-stories .gp-mkt-social-graphic-subhead {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 13%;
	min-height: 0;
	margin: 0;
	font-size: clamp(0.55em, 2vw, 0.8em);
	text-align: center;
	white-space: normal;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.gp-mkt-social-graphic-stories .gp-mkt-social-graphic-cta {
	font-size: clamp(0.55em, 2vw, 0.8em);
}
.gp-mkt-social-graphic-stories .gp-mkt-social-graphic-cta-wrap {
	margin-top: 1%;
}

/* Nudge prize image further down on Stories without affecting other formats */
.gp-mkt-social-graphic-stories .gp-mkt-social-graphic-prize {
	margin-top: 36%;
}

.gp-mkt-social-graphic-header {
	display: flex;
	align-items: flex-start;
	gap: 2%;
	margin-bottom: 4%;
	flex-shrink: 0;
}

.gp-mkt-social-graphic-logo {
	width: 12%;
	max-height: 18%;
	flex-shrink: 0;
}

.gp-mkt-social-graphic-logo img {
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.gp-mkt-social-graphic-headline {
	flex: 1;
	font-size: clamp(0.6em, 2.2vw, 0.9em);
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
	color: #ffffff;
	text-align: center;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.gp-mkt-social-graphic-subhead {
	flex-shrink: 0;
	min-height: 1.25em;
	font-size: clamp(0.8em, 2.6vw, 1.05em);
	font-weight: 500;
	line-height: 1.25;
	color: #f0f0f0;
	text-align: center;
	margin: 0 0 3%;
	overflow: hidden;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	padding-bottom: 2px;
}

.gp-mkt-social-graphic-prize {
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4%;
	position: relative;
}

.gp-mkt-social-graphic-prize img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.gp-mkt-social-graphic-cta-wrap {
	flex-shrink: 0;
	text-align: center;
}

.gp-mkt-social-graphic-cta {
	font-size: clamp(0.5em, 1.8vw, 0.75em);
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 0.2em;
	line-height: 1.25;
	padding-bottom: 2px;
}


.gp-mkt-social-graphic-extra {
	font-size: clamp(0.4em, 1.4vw, 0.6em);
	color: #f0f0f0;
	margin: 0;
	line-height: 1.25;
	padding-bottom: 2px;
	min-height: 1.25em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gp-mkt-social-graphic-branding {
	font-size: clamp(0.35em, 1.2vw, 0.5em);
	font-weight: 600;
	color: #f5f5f5;
	letter-spacing: 0.03em;
	margin-top: auto;
	padding-top: 1.5%;
	border-top: 1px solid #e5e5e5;
	text-align: center;
}

.gp-mkt-graphic-actions {
	margin-top: 0.75em;
}

@media print {
	@page {
		size: A4;
		margin: 0;
	}
	body:not(.gp-mkt-print-page) * {
		visibility: hidden;
	}
	body.gp-mkt-print-page .gp-mkt-poster {
		width: 210mm !important;
		height: 297mm !important;
		max-width: none !important;
		overflow: hidden !important;
		page-break-inside: avoid;
		break-inside: avoid;
	}
	body.gp-mkt-print-page .gp-mkt-poster,
	body.gp-mkt-print-page .gp-mkt-poster * {
		page-break-inside: avoid;
		break-inside: avoid;
	}
}

/* Campaign Builder (gp-cb-) */
.gp-cb-section {
	margin-bottom: 1.5em;
}
.gp-cb-intro,
.gp-cb-note {
	margin: 0.5em 0 1em;
	color: #50575e;
}
.gp-cb-section > .gp-cb-intro:first-of-type {
	margin-bottom: 0.2em;
}
.gp-cb-section .gp-cb-intro + .gp-cb-intro {
	margin-top: 0;
	margin-bottom: 1em;
}
.gp-cb-output > .gp-cb-note:first-of-type {
	margin-bottom: 0.25em;
}
.gp-cb-output .gp-cb-note + .gp-cb-note {
	margin-top: 0;
}
.gp-cb-note-small {
	font-size: 0.9em;
	font-weight: 600;
}
.gp-cb-subheading {
	margin: 1.25em 0 0.5em;
	font-size: 1.1em;
}
.gp-cb-quick-load,
.gp-cb-form-wrap,
.gp-cb-language,
.gp-cb-actions {
	margin-bottom: 1.5em;
}
.gp-cb-load-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em 1em;
	margin: 0.5em 0;
}
.gp-cb-optional-group {
	margin: 1.25em 0;
	padding: 1em 1.25em;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 6px;
}
.gp-cb-optional-heading {
	margin: 0 0 0.25em 0;
	font-size: 1em;
	font-weight: 600;
	color: #1d2327;
}
.gp-cb-optional-note {
	margin: 0 0 1em 0;
	font-size: 0.9em;
	color: #50575e;
}
.gp-cb-optional-group .gp-cb-field:last-child {
	margin-bottom: 0;
}
.gp-cb-form .gp-cb-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 1em;
}
.gp-cb-form .gp-cb-field .gp-cb-label {
	display: block;
	margin: 0 0 0.35em 0;
	font-weight: 600;
}
.gp-cb-form .gp-cb-field .gp-cb-select,
.gp-cb-form .gp-cb-field .gp-cb-input,
.gp-cb-form .gp-cb-field .gp-cb-textarea {
	margin-top: 0;
}
.gp-cb-label {
	display: inline-block;
	margin: 0.25em 0;
	font-weight: 600;
}
.gp-cb-select,
.gp-cb-input,
.gp-cb-textarea {
	width: 100%;
	max-width: 480px;
	padding: 0.4em 0.6em;
	margin: 0.25em 0;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	box-sizing: border-box;
}
.gp-cb-textarea {
	min-height: 60px;
	resize: vertical;
}
.gp-cb-btn {
	display: inline-block;
	padding: 0.5em 1em;
	border: 1px solid #2E9FA4;
	border-radius: 3px;
	background: #2E9FA4;
	color: #fff;
	font-size: 1em;
	cursor: pointer;
	text-decoration: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.gp-cb-btn:hover {
	background: #fff;
	color: #2E9FA4;
}
.gp-cb-btn:focus,
.gp-cb-btn:focus-visible {
	outline: 2px solid rgba(46, 159, 164, 0.7);
	outline-offset: 2px;
}
.gp-cb-btn:active {
	background: #1F3A5F;
	border-color: #1F3A5F;
	color: #fff;
	transform: translateY(1px);
}
.gp-cb-btn-load {
	margin-left: 0.25em;
}
.gp-cb-btn-generate {
	margin: 1em 0;
}
.gp-cb-radio-group {
	display: flex;
	gap: 1em;
	margin: 0.5em 0;
}
.gp-cb-radio-label {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
}
.gp-cb-output {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 1px solid #e2e2e2;
}
.gp-cb-cards {
	display: flex;
	flex-direction: column;
	gap: 1.25em;
	margin-top: 1em;
}
.gp-cb-card {
	padding: 1em 1.25em;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fafafa;
}
.gp-cb-card-title {
	margin: 0 0 0.25em 0;
	font-size: 1em;
}
.gp-cb-card-desc {
	margin: 0 0 0.5em 0;
	font-size: 0.9em;
	color: #6c757d;
	font-weight: 400;
}
.gp-cb-card-prompt {
	display: block;
	width: 100%;
	margin: 0 0 0.75em;
	padding: 0.75em;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 0.9em;
	font-family: inherit;
	line-height: 1.4;
	min-height: 10em;
	max-height: 18em;
	overflow-y: auto;
	box-sizing: border-box;
	resize: vertical;
}
.gp-cb-card-prompt:focus {
	outline: 1px solid #2E9FA4;
	border-color: #2E9FA4;
}
.gp-cb-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}
.gp-cb-btn-use-chatgpt,
.gp-cb-btn-copy,
.gp-cb-btn-chat {
	font-size: 0.9em;
	padding: 0.4em 0.75em;
}
.gp-cb-btn-use-chatgpt,
.gp-cb-btn-chat {
	background: #fff;
	color: #2E9FA4;
	border-color: #2E9FA4;
}
.gp-cb-btn-use-chatgpt:hover,
.gp-cb-btn-chat:hover {
	background: #2E9FA4;
	color: #fff;
}
.gp-cb-btn-use-chatgpt:active,
.gp-cb-btn-chat:active {
	background: #1F3A5F;
	border-color: #1F3A5F;
	color: #fff;
}
