/*
 * Inherits the host design tokens where they exist (the kamikey account app defines --p68-*),
 * and falls back to the same dark palette everywhere else, so the block reads as part of the
 * theme instead of a pasted-in panel.
 */

.p68lc-actions,
.p68lc-library,
.p68lc-compare-mount,
.p68lc-modal,
.p68lc-thankyou,
.p68lc-download {
	--lc-card: var(--p68-card, #16181d);
	--lc-card-2: var(--p68-card-2, #1c1f25);
	--lc-hover: var(--p68-card-hover, #20242b);
	--lc-border: var(--p68-border, #262a31);
	--lc-border-soft: var(--p68-border-soft, #1f2228);
	--lc-text: var(--p68-text, #e7e9ee);
	--lc-strong: var(--p68-text-strong, #fff);
	--lc-muted: var(--p68-muted, #8a8f9a);
	--lc-primary: var(--p68-primary, var(--primary-color, #ec1845));
	--lc-warning: var(--p68-warning, #f59e0b);
	--lc-danger: var(--p68-danger, #ef4444);
	--lc-success: var(--p68-success, #22c55e);
	--lc-radius: var(--p68-radius, 6px);
	--lc-shadow: var(--p68-shadow, 0 1px 2px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .25));
}

/*
 * Flatsome styles bare buttons and inputs site wide, with rules that beat a plain class on
 * source order alone. The stylesheet is queued after the theme's, and every property the
 * theme is known to force is restated here for the elements this plugin creates, so nothing
 * below needs !important.
 */
/*
 * Layout-critical resets sit on the component classes, not on the bare element, so a theme
 * rule like `button { margin-bottom: 1em }` loses on specificity no matter which stylesheet
 * the site prints last. Flatsome's bottom margin was pushing every chip half a row down.
 */
.p68lc-btn,
.p68lc-chip,
.p68lc-copy,
.p68lc-card__fav,
.p68lc-modal__close,
.p68lc-modal__tabs button,
.p68lc-pager__page,
.p68lc-pager__arrow,
.p68lc-search__input {
	margin: 0;
	min-height: 0;
	min-width: 0;
	vertical-align: middle;
	box-shadow: none;
	text-shadow: none;
}

:where(.p68lc-actions, .p68lc-library, .p68lc-modal) button,
:where(.p68lc-library, .p68lc-modal) input {
	min-height: 0;
	min-width: 0;
	height: auto;
	margin: 0;
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font-family: inherit;
	line-height: 1.2;
	transform: none;
}

:where(.p68lc-actions, .p68lc-library, .p68lc-modal) button {
	text-align: center;
}

:where(.p68lc-actions, .p68lc-library, .p68lc-modal) button:hover {
	box-shadow: none;
	transform: none;
}

:where(.p68lc-actions, .p68lc-library, .p68lc-modal) svg {
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: middle;
	max-width: none;
}

.p68lc-actions {
	margin: 18px 0;
	font-size: 14px;
	color: var(--lc-text);
}

.p68lc-actions__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.p68lc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 18px;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card-2);
	color: var(--lc-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, border-color .15s, opacity .15s;
}

.p68lc-btn:hover:not(:disabled) {
	background: var(--lc-hover);
	border-color: var(--lc-primary);
	color: var(--lc-strong);
}

.p68lc-btn:disabled {
	opacity: .5;
	cursor: progress;
}

.p68lc-btn--primary {
	background: var(--lc-primary);
	border-color: var(--lc-primary);
	color: #fff;
}

.p68lc-btn--primary:hover:not(:disabled) {
	background: color-mix(in srgb, var(--lc-primary) 82%, #000);
	border-color: color-mix(in srgb, var(--lc-primary) 82%, #000);
	color: #fff;
}

.p68lc-play {
	position: relative;
	display: inline-flex;
	gap: 0;
}

/* Themes give buttons their own margins; the two halves have to touch. */
.p68lc-play > .p68lc-btn {
	margin: 0;
}

.p68lc-play .p68lc-btn--primary:first-child {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.p68lc-play__toggle {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left-color: rgba(0, 0, 0, .25);
	padding: 0 10px;
}

.p68lc-play__toggle svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.p68lc-play__menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 30;
	min-width: 210px;
	background: var(--lc-card);
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	box-shadow: var(--lc-shadow);
	overflow: hidden;
}

.p68lc-play__menu button {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: 0;
	background: none;
	color: var(--lc-text);
	text-align: left;
	font-size: 13px;
	cursor: pointer;
}

.p68lc-play__menu button:hover {
	background: var(--lc-hover);
}

.p68lc-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 3px;
	border: 1px solid var(--lc-border);
	background: var(--lc-card-2);
	color: var(--lc-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
}

.p68lc-badge--warn {
	border-color: color-mix(in srgb, var(--lc-warning) 45%, transparent);
	background: color-mix(in srgb, var(--lc-warning) 14%, transparent);
	color: var(--lc-warning);
}

.p68lc-download {
	display: inline-block;
}

.p68lc-download .p68lc-btn {
	gap: 8px;
	padding: 11px 20px;
	font-size: 14px;
	text-decoration: none;
}

.p68lc-badge--ok {
	border-color: color-mix(in srgb, var(--lc-success) 45%, transparent);
	background: color-mix(in srgb, var(--lc-success) 12%, transparent);
	color: var(--lc-success);
}

.p68lc-play__menu [data-mode]::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 9px;
	border-radius: 50%;
	background: var(--lc-muted);
	vertical-align: 1px;
}

.p68lc-play__menu [data-mode="online"]::before {
	background: var(--lc-success);
}

/* Order-received page --------------------------------------------------- */

.p68lc-thankyou {
	margin: 0 0 16px;
	padding: 20px;
	background: var(--lc-card);
	border: 1px solid var(--lc-border);
	border-radius: var(--p68t-radius, 12px);
	color: var(--lc-text);
	font-size: 14px;
}

.p68lc-thankyou__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 4px;
}

.p68lc-thankyou__icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	color: var(--lc-strong);
}

/* Scoped twice: the theme's `.dark p` and `.dark h2` outrank a lone class. */
.p68lc-thankyou .p68lc-thankyou__title {
	margin: 0 0 2px;
	color: var(--lc-strong);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
}

.p68lc-thankyou .p68lc-thankyou__lead {
	margin: 0;
	color: var(--lc-muted);
	font-size: 13px;
}

.p68lc-thankyou__row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px 16px;
	margin: 0;
	padding: 16px 0;
}

.p68lc-thankyou__row + .p68lc-thankyou__row {
	border-top: 1px solid var(--lc-border-soft);
}

.p68lc-thankyou__thumb {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 4px;
	object-fit: cover;
}

.p68lc-thankyou__name {
	color: var(--lc-strong);
	font-weight: 700;
	line-height: 1.35;
}

.p68lc-thankyou__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.p68lc-thankyou__row .p68lc-actions__status {
	grid-column: 2 / -1;
	margin: 0;
	min-height: 0;
	color: var(--lc-muted);
}

.p68lc-thankyou__row .p68lc-actions__status[data-tone="error"] {
	color: var(--lc-danger);
}

.p68lc-thankyou__row .p68lc-actions__status:empty {
	display: none;
}

.p68lc-thankyou .p68lc-thankyou__foot {
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid var(--lc-border-soft);
	color: var(--lc-muted);
	font-size: 13px;
}

.p68lc-thankyou__foot a {
	color: var(--lc-primary);
	font-weight: 600;
	text-decoration: underline;
}

@media (max-width: 640px) {
	.p68lc-thankyou {
		padding: 16px;
	}

	.p68lc-thankyou__row {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.p68lc-thankyou__thumb {
		width: 52px;
		height: 52px;
	}

	.p68lc-thankyou__row .p68lc-actions__buttons {
		grid-column: 1 / -1;
	}
}

.p68lc-compare {
	margin: 0 0 14px;
	padding: 0;
	border: 1px solid var(--lc-border);
	border-radius: 4px;
	background: var(--lc-card);
	font-size: 13px;
	color: var(--lc-text);
	overflow: hidden;
}

.p68lc-compare summary {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 13px 18px;
	cursor: pointer;
	color: var(--lc-text);
	list-style: none;
}

.p68lc-compare summary > svg {
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--lc-muted);
}

.p68lc-compare summary::-webkit-details-marker {
	display: none;
}

.p68lc-compare__heading {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.p68lc-compare__heading strong {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--lc-strong);
}

.p68lc-compare__sub {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--lc-muted);
}

.p68lc-compare summary::after {
	content: '';
	flex: 0 0 auto;
	margin-left: auto;
	margin-top: 5px;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--lc-muted);
	border-bottom: 2px solid var(--lc-muted);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .15s;
}

.p68lc-compare[open] summary::after {
	transform: rotate(-135deg) translate(-2px, -2px);
}

.p68lc-compare summary:hover .p68lc-compare__heading strong {
	color: var(--lc-primary);
}

/* Panel bo goc nen phai `overflow: hidden`; khong co vung cuon nay thi man hep cat mat cot cuoi. */
.p68lc-compare__scroll {
	overflow-x: auto;
	border-top: 1px solid var(--lc-border);
}

.p68lc-compare table {
	min-width: 420px;
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	background: var(--lc-card);
}

.p68lc-compare th,
.p68lc-compare td {
	padding: 11px 16px;
	border-bottom: 1px solid var(--lc-border-soft);
	color: var(--lc-text);
	text-align: left;
	font-size: 13px;
	font-weight: 400;
	vertical-align: middle;
}

/* Icon nằm cùng dòng với chữ mà không phá bố cục bảng — nên bọc trong một span riêng. */
.p68lc-compare__cell {
	display: flex;
	align-items: center;
	gap: 9px;
}

.p68lc-compare__icon {
	flex: 0 0 auto;
	color: var(--lc-muted);
}

.p68lc-compare__headicon {
	flex: 0 0 auto;
}

.p68lc-compare__mark {
	flex: 0 0 auto;
	color: var(--lc-success);
}

.p68lc-compare__mark.is-no {
	color: var(--lc-muted);
}

.p68lc-compare thead th {
	padding-top: 13px;
	padding-bottom: 13px;
	background: var(--lc-card-2);
	border-bottom: 1px solid var(--lc-border);
	color: var(--lc-strong);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 12px;
}

/* Cột tiêu chí là nhãn của bảng, không phải một lựa chọn — đừng hét lên như hai cột kia. */
.p68lc-compare thead th.p68lc-compare__criteria {
	text-transform: none;
	letter-spacing: 0;
	font-size: 13px;
}

.p68lc-compare tbody tr:last-child td {
	border-bottom: 0;
}

.p68lc-compare tbody tr:hover td {
	background: color-mix(in srgb, var(--lc-hover) 55%, transparent);
}

/* Cột Launcher là cách shop muốn khách chơi, nên nó đọc như câu trả lời. */
.p68lc-compare th.is-hero,
.p68lc-compare td.is-hero {
	background: color-mix(in srgb, var(--lc-primary) 9%, transparent);
	border-left: 1px solid color-mix(in srgb, var(--lc-primary) 32%, transparent);
	border-right: 1px solid color-mix(in srgb, var(--lc-primary) 32%, transparent);
	color: var(--lc-strong);
}

.p68lc-compare tbody tr:hover td.is-hero {
	background: color-mix(in srgb, var(--lc-primary) 15%, transparent);
}

.p68lc-compare thead th.is-hero {
	background: linear-gradient(90deg, color-mix(in srgb, var(--lc-primary) 30%, transparent), color-mix(in srgb, var(--lc-primary) 12%, transparent));
	color: var(--lc-primary);
}

.p68lc-compare thead th.is-hero .p68lc-compare__headicon {
	color: var(--lc-primary);
}

.p68lc-compare__name {
	white-space: nowrap;
}

.p68lc-compare__badge {
	display: inline-block;
	flex: 0 0 auto;
	padding: 2px 8px;
	border-radius: 3px;
	background: var(--lc-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

@media (max-width: 560px) {
	.p68lc-compare th,
	.p68lc-compare td {
		padding: 10px 11px;
		font-size: 12.5px;
	}

	.p68lc-compare__name {
		white-space: normal;
	}
}

.p68lc-actions__status {
	margin: 10px 0 0;
	min-height: 18px;
	font-size: 12px;
	color: var(--lc-muted);
}

.p68lc-actions__status[data-tone="error"] {
	color: var(--lc-danger);
}

/* Library ------------------------------------------------------------- */

.p68lc-library {
	margin: 0 0 26px;
	color: var(--lc-text);
}

.p68lc-library__title {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--lc-strong);
}

.p68lc-library__loading,
.p68lc-library__empty {
	margin: 0;
	padding: 18px;
	border: 1px dashed var(--lc-border);
	border-radius: 4px;
	font-size: 13px;
	color: var(--lc-muted);
}

.p68lc-library__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
}

/* Toolbar ------------------------------------------------------------- */

.p68lc-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
}

.p68lc-search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 210px;
	max-width: 390px;
	min-width: 180px;
}

.p68lc-search > svg {
	position: absolute;
	left: 12px;
	color: var(--lc-muted);
	pointer-events: none;
}

/*
 * Flatsome targets inputs by attribute (input[type="search"]), which outranks a bare class,
 * so the type is named here too and the class carries the win.
 */
.p68lc-search input.p68lc-search__input,
.p68lc-search input[type="search"].p68lc-search__input {
	width: 100%;
	height: 36px;
	margin: 0;
	padding: 0 12px 0 36px;
	box-sizing: border-box;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card);
	background-image: none;
	color: var(--lc-text);
	font-size: 13px;
	line-height: 1.2;
	text-align: left;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.p68lc-search input.p68lc-search__input:focus {
	outline: none;
	border-color: var(--lc-primary);
	background: var(--lc-card);
	color: var(--lc-text);
}

.p68lc-search input.p68lc-search__input::placeholder {
	color: var(--lc-muted);
	text-align: left;
}

.p68lc-search input.p68lc-search__input::-webkit-search-cancel-button {
	filter: invert(60%);
}

.p68lc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.p68lc-chip {
	height: 36px;
	padding: 0 13px;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card);
	color: var(--lc-text);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: color .15s, border-color .15s, background .15s;
}

.p68lc-chip:hover {
	color: var(--lc-strong);
	border-color: color-mix(in srgb, var(--lc-primary) 55%, var(--lc-border));
}

.p68lc-chip[aria-selected="true"] {
	background: var(--lc-primary);
	border-color: var(--lc-primary);
	color: #fff;
}

.p68lc-toolbar__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
	font-size: 13px;
	color: var(--lc-muted);
	white-space: nowrap;
}

.p68lc-toolbar__count {
	color: var(--lc-primary);
	font-weight: 700;
}

.p68lc-toolbar__presence {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.p68lc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lc-muted);
	opacity: .6;
}

.p68lc-dot[data-online="1"] {
	background: #22c55e;
	opacity: 1;
}

/* Card ---------------------------------------------------------------- */

.p68lc-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--lc-card);
	border: 1px solid var(--lc-border);
	border-radius: 4px;
	overflow: hidden;
	transition: border-color .15s, transform .15s;
}

.p68lc-card:hover {
	border-color: color-mix(in srgb, var(--lc-primary) 45%, var(--lc-border));
}

.p68lc-card__media {
	position: relative;
	aspect-ratio: 460 / 215;
	background: var(--lc-card-2);
}

.p68lc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.p68lc-card__noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(140deg, var(--lc-card-2), var(--lc-card));
	color: var(--lc-muted);
	opacity: .55;
}

.p68lc-card__badges {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 60px);
}

.p68lc-card__fav {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: none;
	color: #fff;
	cursor: pointer;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6));
	transition: background .15s, color .15s;
}

.p68lc-card__fav:hover {
	background: rgba(0, 0, 0, .45);
}

.p68lc-card__fav[aria-pressed="true"] {
	color: var(--lc-warning);
}

.p68lc-card__fav[aria-pressed="true"] svg {
	fill: var(--lc-warning);
}

.p68lc-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 10px;
	padding: 16px;
}

.p68lc-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--lc-strong);
	line-height: 1.35;
}

.p68lc-card__edition {
	margin: -2px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--lc-muted);
	line-height: 1.35;
}

.p68lc-card__meta {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-size: 13px;
	color: var(--lc-muted);
}

/*
 * One row on desktop no matter how long the labels are: equal grid tracks cannot wrap the
 * way flex items do, and the label itself is allowed to ellipsis instead of pushing out.
 */
.p68lc-card__actions {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 2px;
}

.p68lc-card__actions .p68lc-btn {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: center;
	gap: 3px;
	height: 34px;
	padding: 0 4px;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
}

.p68lc-card__actions .p68lc-btn span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Busy state: the pressed button keeps its size and spins in place. */
.p68lc-spin {
	display: inline-block;
	width: 13px;
	height: 13px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	opacity: .85;
	animation: p68lc-spin .7s linear infinite;
}

.p68lc-btn[data-busy] > svg {
	display: none;
}

.p68lc-btn[data-busy]:disabled {
	opacity: .85;
	cursor: progress;
}

@keyframes p68lc-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 360px) {
	.p68lc-card__actions {
		flex-wrap: wrap;
	}

	.p68lc-card__actions .p68lc-btn {
		flex: 1 1 100%;
	}
}

.p68lc-card .p68lc-actions__status {
	margin: 0;
	min-height: 0;
}

.p68lc-card .p68lc-actions__status:empty {
	display: none;
}

/* Pager --------------------------------------------------------------- */

.p68lc-pager,
.p68lc-library .p68-pg {
	display: flex;
	align-items: center;
	gap: 4px;
	width: fit-content;
	margin: 18px auto 0;
	flex-wrap: wrap;
	justify-content: center;
}

.p68lc-pager__page,
.p68lc-pager__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 7px;
	border: 0;
	border-radius: 3px;
	background: none;
	color: var(--lc-text);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, color .15s;
}

.p68lc-pager__arrow {
	color: var(--lc-muted);
}

.p68lc-pager__page:hover:not(.is-current),
.p68lc-pager__arrow:hover:not(:disabled) {
	background: var(--lc-hover);
	color: var(--lc-strong);
}

.p68lc-pager__page.is-current {
	background: var(--lc-primary);
	color: #fff;
	cursor: default;
}

.p68lc-pager__arrow:disabled {
	opacity: .35;
	cursor: default;
}

.p68lc-pager__gap {
	min-width: 24px;
	text-align: center;
	color: var(--lc-muted);
	font-size: 13px;
}

@media (max-width: 640px) {
	.p68lc-toolbar__meta {
		margin-left: 0;
		width: 100%;
		justify-content: space-between;
	}

	.p68lc-search {
		flex: 1 1 100%;
		max-width: none;
	}

	/* Filters stay on one line and scroll sideways instead of stacking into a tall block. */
	.p68lc-chips {
		flex-wrap: nowrap;
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.p68lc-chips::-webkit-scrollbar {
		display: none;
	}

	.p68lc-chip {
		flex: 0 0 auto;
	}
}

/* Dialog -------------------------------------------------------------- */

.p68lc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(6, 8, 11, .78);
	color: var(--lc-text);
}

.p68lc-modal__box {
	width: 100%;
	max-width: 620px;
	max-height: 88vh;
	overflow-y: auto;
	padding: 8px;
	background: var(--lc-card);
	border: 1px solid var(--lc-border);
	border-radius: 4px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}

.p68lc-modal__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 16px 18px;
}

.p68lc-modal__brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 4px;
	border: 1px solid color-mix(in srgb, var(--lc-primary) 35%, transparent);
	background: color-mix(in srgb, var(--lc-primary) 14%, transparent);
	color: var(--lc-primary);
}

.p68lc-modal__heading {
	flex: 1 1 auto;
	min-width: 0;
}

.p68lc-modal__head h2 {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	color: var(--lc-strong);
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
}

.p68lc-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card-2);
	color: var(--lc-muted);
	cursor: pointer;
	transition: color .15s, border-color .15s;
}

.p68lc-modal__close:hover {
	color: var(--lc-strong);
	border-color: var(--lc-primary);
}

.p68lc-modal__tabs {
	display: flex;
	gap: 0;
	margin: 0 8px;
	padding: 0;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card-2);
	overflow: hidden;
}

.p68lc-modal__tabs button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	flex: 1 1 50%;
	padding: 11px 10px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	color: var(--lc-muted);
	transition: color .15s, border-color .15s;
}

.p68lc-modal__tabs button:hover {
	color: var(--lc-text);
}

.p68lc-modal__tabs button[aria-selected="true"] {
	color: var(--lc-primary);
	border-bottom-color: var(--lc-primary);
}

.p68lc-modal__body {
	padding: 16px 8px 8px;
}

.p68lc-group {
	margin-bottom: 14px;
	border: 1px solid var(--lc-border);
	border-radius: 4px;
	background: var(--lc-card-2);
	overflow: hidden;
}

.p68lc-group:last-child {
	margin-bottom: 0;
}

.p68lc-group__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-bottom: 1px solid var(--lc-border);
}

.p68lc-group__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 3px;
	border: 1px solid var(--lc-border);
	background: var(--lc-card);
	color: var(--lc-text);
}

.p68lc-group__title {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--lc-strong);
}

.p68lc-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 14px;
	border-bottom: 1px solid var(--lc-border-soft);
}

.p68lc-field:last-child {
	border-bottom: 0;
}

.p68lc-field__label {
	color: var(--lc-muted);
	font-size: 13.5px;
}

.p68lc-field__value {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.p68lc-field__value code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	min-width: 130px;
	padding: 0 12px;
	overflow-wrap: anywhere;
	text-align: center;
	background: var(--lc-card);
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	color: var(--lc-strong);
	font-size: 13px;
	font-weight: 600;
}

.p68lc-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	border: 1px solid var(--lc-border);
	background: var(--lc-card);
	color: var(--lc-text);
	border-radius: 3px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	white-space: nowrap;
	transition: color .15s, border-color .15s;
}

.p68lc-copy:hover {
	border-color: var(--lc-primary);
	color: var(--lc-strong);
}

.p68lc-copy[data-copied] {
	border-color: #22c55e;
	color: #22c55e;
}

.p68lc-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	padding: 0 14px;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card);
	color: var(--lc-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
}

.p68lc-pill--ok {
	border-color: color-mix(in srgb, #22c55e 45%, transparent);
	background: color-mix(in srgb, #22c55e 12%, transparent);
	color: #22c55e;
}

.p68lc-group-title {
	margin: 14px 0 2px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--lc-muted);
}

.p68lc-modal__foot {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	padding: 8px 8px 12px;
}

.p68lc-modal__foot .p68lc-btn {
	flex: 1 1 0;
	min-width: 0;
	justify-content: center;
	gap: 8px;
	height: 42px;
	border-radius: 3px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
}

.p68lc-modal__foot .p68lc-btn span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.p68lc-modal__foot .p68lc-btn--primary {
	flex: 1.3 1 0;
}

.p68lc-modal__foot .p68lc-btn:only-child {
	flex: 0 1 auto;
	min-width: 190px;
	margin-inline: auto;
}

/* Three actions take a third each, two split the row in half, a lone one keeps a third in the middle. */
.p68lc-modal__foot--account {
	justify-content: center;
}

.p68lc-modal__foot--account .p68lc-foot-btn,
.p68lc-modal__foot--account .p68lc-foot-btn:only-child {
	flex: 0 0 calc((100% - 20px) / 3);
	min-width: 0;
	margin-inline: 0;
	justify-content: flex-start;
	gap: 10px;
	height: auto;
	min-height: 56px;
	padding: 9px 12px;
	text-align: left;
}

@media (min-width: 561px) {
	.p68lc-modal__foot--account .p68lc-foot-btn:first-child:nth-last-child(2),
	.p68lc-modal__foot--account .p68lc-foot-btn:first-child:nth-last-child(2) ~ .p68lc-foot-btn {
		flex: 1 1 0;
	}
}

.p68lc-foot-btn__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.p68lc-foot-btn__text strong {
	overflow: hidden;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.p68lc-foot-btn__text small {
	color: var(--lc-muted);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	white-space: normal;
}

.p68lc-foot-btn.p68lc-btn--primary .p68lc-foot-btn__text small {
	color: rgba(255, 255, 255, .78);
}

@media (max-width: 560px) {
	.p68lc-modal__foot--account {
		flex-direction: column;
	}

	.p68lc-modal__foot--account .p68lc-foot-btn,
	.p68lc-modal__foot--account .p68lc-foot-btn:only-child {
		flex: 0 0 auto;
		width: 100%;
	}
}

.p68lc-prose {
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--lc-text);
}

/* Xuong dong thuong trong van ban van phai thanh xuong dong that. */
.p68lc-prose > *:first-child { margin-top: 0; }
.p68lc-prose > *:last-child { margin-bottom: 0; }

.p68lc-prose p,
.p68lc-prose ul,
.p68lc-prose ol {
	margin: 0 0 10px;
}

.p68lc-prose ul,
.p68lc-prose ol {
	padding-left: 20px;
}

.p68lc-prose li {
	margin-bottom: 4px;
}

.p68lc-prose h1,
.p68lc-prose h2,
.p68lc-prose h3,
.p68lc-prose h4 {
	margin: 14px 0 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--lc-text);
}

.p68lc-prose strong,
.p68lc-prose b {
	font-weight: 700;
	color: var(--lc-text);
}

.p68lc-prose a {
	color: var(--lc-primary);
	text-decoration: underline;
}

.p68lc-prose code {
	padding: 1px 5px;
	border-radius: 3px;
	background: var(--lc-surface-2, rgb(255 255 255 / .07));
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12.5px;
}

.p68lc-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.p68lc-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 10px;
}

.p68lc-prose th,
.p68lc-prose td {
	padding: 6px 8px;
	border: 1px solid var(--lc-border);
	text-align: left;
}

.p68lc-prose--error {
	color: var(--lc-danger);
}

/* Confirm / prompt / notice dialogs ------------------------------------ */

.p68lc-modal__box--sm {
	max-width: 420px;
}

.p68lc-modal__box--sm .p68lc-modal__body {
	padding: 4px 8px 12px;
}

.p68lc-textarea {
	display: block;
	width: 100%;
	margin: 8px 0 0;
	padding: 10px 12px;
	box-sizing: border-box;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card-2);
	color: var(--lc-text);
	font-family: inherit;
	font-size: 13.5px;
	line-height: 1.5;
	resize: vertical;
	box-shadow: none;
}

/*
 * The only !important in this file. Flatsome declares its own !important on textareas
 * (white background, 120px min-height, grey focus glow), and an inline style loses to it —
 * verified in the browser — so these four properties have to answer in kind.
 */
.p68lc-modal textarea.p68lc-textarea,
.p68lc-modal textarea.p68lc-textarea:focus {
	background-color: var(--lc-card-2) !important;
	color: var(--lc-text) !important;
	min-height: 110px !important;
	box-shadow: none !important;
}

.p68lc-textarea:focus {
	outline: none;
	border-color: var(--lc-primary);
}

.p68lc-textarea::placeholder {
	color: var(--lc-muted);
}

.p68lc-note {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid color-mix(in srgb, var(--lc-warning) 45%, transparent);
	border-radius: 4px;
	background: color-mix(in srgb, var(--lc-warning) 12%, transparent);
	color: var(--lc-warning);
	font-size: 12.5px;
	line-height: 1.6;
}

/* Steam Guard code dialog ---------------------------------------------- */

/* Flatsome styles input[type=text] and its :focus; element + two classes outrank both. */
.p68lc-modal input.p68lc-input,
.p68lc-modal input.p68lc-input:focus {
	display: block;
	width: 100%;
	height: 44px;
	margin: 8px 0 0;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card-2);
	color: var(--lc-strong);
	font-family: inherit;
	font-size: 15px;
	box-shadow: none;
}

.p68lc-modal input.p68lc-input:focus {
	outline: none;
	border-color: var(--lc-primary);
}

.p68lc-code__hint,
.p68lc-code__meta {
	margin: 10px 0 0;
	color: var(--lc-muted);
	font-size: 12.5px;
	line-height: 1.6;
}

.p68lc-code__meta {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--lc-border-soft);
}

.p68lc-code__error {
	margin: 10px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
}

.p68lc-code__wait {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 0 16px;
	border-bottom: 1px solid var(--lc-border-soft);
	text-align: center;
}

.p68lc-code__spinner {
	width: 34px;
	height: 34px;
	margin-bottom: 6px;
	border: 3px solid var(--lc-border);
	border-top-color: var(--lc-primary);
	border-radius: 50%;
	animation: p68lc-spin .9s linear infinite;
}

.p68lc-code__status {
	color: var(--lc-strong);
	font-size: 15px;
}

.p68lc-code__clock {
	color: var(--lc-primary);
	font-size: 26px;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.p68lc-code__steps {
	margin: 12px 0 0;
	padding-left: 20px;
	color: var(--lc-muted);
	font-size: 13px;
	line-height: 1.8;
}

.p68lc-code__late {
	color: var(--lc-warning);
}

.p68lc-code__box {
	display: flex;
	gap: 10px;
	align-items: stretch;
	margin-top: 6px;
}

.p68lc-code__value {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	border: 1px solid var(--lc-border);
	border-radius: 3px;
	background: var(--lc-card-2);
	color: var(--lc-strong);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .18em;
	text-indent: .18em;
	user-select: all;
}

.p68lc-code__box .p68lc-copy {
	flex: 0 0 auto;
	height: auto;
	padding: 0 16px;
}

.p68lc-modal__foot--wide .p68lc-btn:only-child {
	flex: 1 1 auto;
}

.p68lc-code__ok {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 14px 0 0;
	color: var(--lc-success);
	font-size: 13.5px;
	font-weight: 600;
}

@media (max-width: 600px) {
	.p68lc-actions__buttons {
		flex-direction: column;
	}

	.p68lc-play {
		width: 100%;
	}

	.p68lc-play .p68lc-btn--primary:first-child {
		flex: 1;
	}
}
