/*
Theme Name: TG88 Enterprise
Theme URI: https://example.com/tg88-enterprise
Author: OpenAI
Description: Giao diện WordPress TG88 dạng desktop ngang, sidebar cố định, khu vực sản phẩm, khuyến mãi, SEO accordion, FAQ và footer đầy đủ.
Version: 2.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: tg88-enterprise
*/

/* ==========================================================================
   TG88 CUSTOM CSS OVERRIDES
   ==========================================================================

   File này được tải SAU assets/css/theme.css.
   Hãy thêm hoặc chỉnh sửa CSS tùy biến bên dưới để ghi đè giao diện mặc định.

   Lưu ý:
   - Giữ nguyên phần thông tin theme ở đầu file.
   - Không cần sửa assets/css/theme.css.
   - Với quy tắc có độ ưu tiên cao hơn hoặc dùng !important, hãy dùng selector
     cụ thể tương đương hoặc thêm !important khi thực sự cần thiết.
   - Phiên bản file được tạo tự động bằng filemtime để giảm lỗi cache CSS.

   Ví dụ:

   .site-header {
       background: #000;
   }

   .tg88-button {
       border-radius: 8px;
   }

   ========================================================================== */

/* Thêm CSS tùy biến của bạn từ dòng này trở xuống. */

.tg88-content-entry h1 {
    font-size: 32px;
    color:#fff
}
/* ==========================================================
   TG88 Footer Trust
========================================================== */

.tg88-trust{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:36px;
    padding:18px 0;
    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.tg88-trust span{
    color:#8b8b8b;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:
        color .25s ease,
        text-shadow .25s ease,
        transform .25s ease,
        filter .25s ease;
}

.tg88-trust span:hover{
    color:#f5bf3d;
    text-shadow:
        0 0 6px rgba(245,191,61,.9),
        0 0 12px rgba(245,191,61,.65),
        0 0 20px rgba(245,191,61,.45);
    transform:translateY(-2px);
    filter:brightness(1.15);
}
.tg88-trust img{
    height:22px;
    opacity:.55;
    transition:.25s;
}

.tg88-trust img:hover{
    opacity:1;
    transform:translateY(-2px);
    filter:
        brightness(1.2)
        drop-shadow(0 0 6px rgba(245,191,61,.9))
        drop-shadow(0 0 16px rgba(245,191,61,.5));

}
/* TG88 dynamic panel + FAQ compatibility. Append to the end of style.css. */
.tg88-knowledge__nav button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	text-align: left;
}

.tg88-seo-panel[hidden] {
	display: none !important;
}

.tg88-seo-panel.is-active {
	display: block;
}

.tg88-seo-panel > :first-child,
.accordion__content > :first-child {
	margin-top: 0;
}

.tg88-seo-panel > :last-child,
.accordion__content > :last-child {
	margin-bottom: 0;
}

.tg88-faq .accordion {
	margin: 0 0 10px;
}

.tg88-faq .accordion summary {
	cursor: pointer;
}

.tg88-faq .accordion__content {
	padding-top: 10px;
}
.tg88-knowledge__content {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    min-width: 0 !important;
}

.tg88-seo-panel {
    width: 100% !important;
    max-width: none !important;
    columns: auto !important;
    column-count: 1 !important;
}
/* Khung cuộn cho bảng trên màn hình nhỏ */
.tg88-seo-panel .table-responsive,
.tg88-home-editor-content .table-responsive,
.entry-content .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border: 1px solid #d8c69f;
    border-radius: 10px;
    background: #fffdf8;
}

/* Bảng mặc định */
.tg88-seo-panel table,
.tg88-home-editor-content table,
.entry-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 20px 0;
    background: #fffdf8;
    color: #231f18;
    font-size: 15px;
    line-height: 1.55;
}
.tg88-category-label, .tg88-category-eyebrow {
    text-transform: none;
}

/* Nếu bảng đã nằm trong wrapper thì bỏ margin thừa */
.tg88-seo-panel .table-responsive table,
.tg88-home-editor-content .table-responsive table,
.entry-content .table-responsive table {
    margin: 0;
}

/* Đường kẻ cột và hàng rõ ràng */
.tg88-seo-panel th,
.tg88-seo-panel td,
.tg88-home-editor-content th,
.tg88-home-editor-content td,
.entry-content th,
.entry-content td {
    padding: 12px 14px;
    border: 1px solid #d8c69f !important;
    text-align: left;
    vertical-align: top;
    background: #fffdf8;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Header bảng */
.tg88-seo-panel thead th,
.tg88-home-editor-content thead th,
.entry-content thead th {
    background: #f6c33b;
    color: #16120b;
    font-weight: 700;
}

/* Zebra rows để dễ đọc */
.tg88-seo-panel tbody tr:nth-child(even) td,
.tg88-home-editor-content tbody tr:nth-child(even) td,
.entry-content tbody tr:nth-child(even) td {
    background: #fff8e8;
}

/* Hover desktop */
@media (hover: hover) {
    .tg88-seo-panel tbody tr:hover td,
    .tg88-home-editor-content tbody tr:hover td,
    .entry-content tbody tr:hover td {
        background: #fff1c7;
    }
}

/* Bảng không phá layout */
.tg88-seo-panel,
.tg88-home-editor-content,
.entry-content {
    min-width: 0;
}

.tg88-seo-panel table,
.tg88-home-editor-content table,
.entry-content table {
    table-layout: auto;
}

/* Mobile: cuộn ngang, không làm tràn toàn trang */
@media (max-width: 768px) {
    .tg88-seo-panel table,
    .tg88-home-editor-content table,
    .entry-content table {
        display: block;
        width: max-content;
        min-width: 100%;
        max-width: none;
        overflow-x: auto;
        white-space: nowrap;
        margin: 16px 0;
        border: 1px solid #d8c69f;
        border-radius: 8px;
    }

    .tg88-seo-panel thead,
    .tg88-seo-panel tbody,
    .tg88-seo-panel tr,
    .tg88-home-editor-content thead,
    .tg88-home-editor-content tbody,
    .tg88-home-editor-content tr,
    .entry-content thead,
    .entry-content tbody,
    .entry-content tr {
        width: max-content;
    }

    .tg88-seo-panel th,
    .tg88-seo-panel td,
    .tg88-home-editor-content th,
    .tg88-home-editor-content td,
    .entry-content th,
    .entry-content td {
        min-width: 140px;
        padding: 10px 12px;
        white-space: normal;
    }

    /* Cột đầu tiên gọn hơn */
    .tg88-seo-panel th:first-child,
    .tg88-seo-panel td:first-child,
    .tg88-home-editor-content th:first-child,
    .tg88-home-editor-content td:first-child,
    .entry-content th:first-child,
    .entry-content td:first-child {
        min-width: 110px;
    }
}

/* Mobile nhỏ */
@media (max-width: 480px) {
    .tg88-seo-panel th,
    .tg88-seo-panel td,
    .tg88-home-editor-content th,
    .tg88-home-editor-content td,
    .entry-content th,
    .entry-content td {
        min-width: 125px;
        padding: 9px 10px;
        font-size: 14px;
    }
}
.tg88-cta{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:24px;

    padding:18px 130px 18px 180px;

    overflow:hidden;

    border:1px solid #f2d8a0;
    border-radius:14px;

    background:linear-gradient(
        90deg,
        #fffaf2 0%,
        #fff8e8 45%,
        #ffeeb7 100%
    );
}
.tg88-cta__gift{
    position:absolute;
    left:18px;
    bottom:0;

    width:170px;
    height:auto;
}

.tg88-cta__chips{
    position:absolute;
    right:0;
    bottom:0;

    width:118px;
    height:auto;
}

.tg88-cta__content{
    flex:1;
}

.tg88-cta__content strong{
    display:block;
    font-size:32px;
    font-weight:800;
    text-transform:uppercase;
    line-height:1.2;
}

.tg88-cta__content span{
    display:block;
    margin-top:6px;
    color:#555;
}

.tg88-cta__buttons{
    display:flex;
    gap:16px;
    align-items:center;
}

.tg88-btn--dark span{
    margin-left:8px;
}

* ==========================================================
   TG88 SINGLE POST SIDEBAR
   Chỉ áp dụng cho single.php.
========================================================== */
.single-post .tg88-single-page {
	padding: 25px 0;
}

.single-post .tg88-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: 24px;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.single-post .tg88-single-main {
	min-width: 0;
	max-width: none;
	margin: 0;
}

.single-post .tg88-single-sidebar {
	position: sticky;
	top: 68px;
	display: grid;
	gap: 18px;
	min-width: 0;
}

.single-post .tg88-single-sidebar__card {
	margin: 0;
	padding: 20px;
	background: #fffdf8;
	border: 1px solid #ead7ad;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(87, 60, 0, 0.10);
}

.single-post .tg88-single-sidebar__card h2 {
	position: relative;
	margin: 0 0 16px;
	padding-left: 16px;
	color: #19150d;
	font: 700 19px/1.2 "Roboto Condensed", Arial, sans-serif;
	text-transform: uppercase;
}

.single-post .tg88-single-sidebar__card h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	border-radius: 4px;
	background: #f5b312;
}

.single-post .tg88-single-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0;
}

.single-post .tg88-single-search label {
	min-width: 0;
}

.single-post .tg88-single-search__field {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	color: #241e13;
	background: #fff;
	border: 1px solid #d8c69f;
	border-right: 0;
	border-radius: 7px 0 0 7px;
	outline: 0;
}

.single-post .tg88-single-search__field:focus {
	border-color: #e9a700;
	box-shadow: inset 0 0 0 1px #e9a700;
}

.single-post .tg88-single-search__submit {
	height: 44px;
	padding: 0 16px;
	border: 1px solid #e9a700;
	border-radius: 0 7px 7px 0;
	background: linear-gradient(180deg, #ffd868, #f5a900);
	color: #1b1508;
	font: 700 13px "Roboto Condensed", Arial, sans-serif;
	text-transform: uppercase;
	cursor: pointer;
}

.single-post .tg88-single-promo {
	position: relative;
	display: block;
	min-height: 380px;
	overflow: hidden;
	border: 1px solid #d79d15;
	border-radius: 12px;
	background: #15130f;
	box-shadow: 0 12px 30px rgba(46, 30, 0, 0.24);
}

.single-post .tg88-single-promo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 18%, rgba(0, 0, 0, 0.40) 55%, rgba(0, 0, 0, 0.94) 100%);
}

.single-post .tg88-single-promo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 51% center;
}

.single-post .tg88-single-promo__content {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	gap: 6px;
	padding: 24px 20px 20px;
	color: #fff;
}

.single-post .tg88-single-promo__content small {
	color: #ffd768;
	font: 700 12px "Roboto Condensed", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.single-post .tg88-single-promo__content strong {
	font: 700 28px/1.05 "Roboto Condensed", Arial, sans-serif;
	text-transform: uppercase;
}

.single-post .tg88-single-promo__content em {
	font-style: normal;
	font-size: 14px;
}

.single-post .tg88-single-promo__content b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	min-height: 36px;
	margin-top: 8px;
	padding: 7px 16px;
	border-radius: 6px;
	background: linear-gradient(180deg, #ffd868, #f5a900);
	color: #1b1508;
	font: 800 12px "Roboto Condensed", Arial, sans-serif;
	text-transform: uppercase;
}

.single-post .tg88-single-recent-list {
	display: grid;
	gap: 14px;
}

.single-post .tg88-single-recent-item {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0 0 14px;
	border-bottom: 1px solid #eadfc8;
}

.single-post .tg88-single-recent-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.single-post .tg88-single-recent-item__thumb {
	display: block;
	width: 82px;
	height: 66px;
	overflow: hidden;
	border-radius: 8px;
	background: #1b1812;
}

.single-post .tg88-single-recent-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-post .tg88-single-recent-item__thumb img[src*="tg88-logo"] {
	padding: 12px 8px;
	object-fit: contain;
}

.single-post .tg88-single-recent-item__content {
	min-width: 0;
}

.single-post .tg88-single-recent-item time {
	display: block;
	margin-bottom: 4px;
	color: #8a7d67;
	font-size: 11px;
}

.single-post .tg88-single-recent-item h3 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin: 0;
	color: #211c13;
	font: 700 14px/1.35 "Roboto Condensed", Arial, sans-serif;
}

.single-post .tg88-single-recent-item h3 a:hover {
	color: #bc7f00;
}

@media (max-width: 900px) {
	.single-post .tg88-single-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.single-post .tg88-single-sidebar {
		position: static;
	}

	.single-post .tg88-single-promo {
		min-height: 340px;
	}
}

@media (max-width: 520px) {
	.single-post .tg88-single-page {
		padding-top: 12px;
	}

	.single-post .tg88-single-sidebar__card {
		padding: 16px;
	}

	.single-post .tg88-single-promo {
		min-height: 320px;
	}

	.single-post .tg88-single-recent-item {
		grid-template-columns: 76px minmax(0, 1fr);
	}

	.single-post .tg88-single-recent-item__thumb {
		width: 76px;
		height: 62px;
	}
}
/* Fix ảnh trong Single Post bị tràn khung */
.single-post .tg88-content-entry,
.single-post .tg88-content-entry .entry-content {
	min-width: 0;
	max-width: 100%;
}

.single-post .tg88-content-entry .entry-content figure,
.single-post .tg88-content-entry .entry-content .wp-caption,
.single-post .tg88-content-entry .entry-content .wp-block-image,
.single-post .tg88-content-entry .entry-content .aligncenter,
.single-post .tg88-content-entry .entry-content .alignwide,
.single-post .tg88-content-entry .entry-content .alignfull {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.single-post .tg88-content-entry .entry-content img {
	display: block;
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
	margin-left: auto;
	margin-right: auto;
}

.single-post .tg88-content-entry .wp-caption-text,
.single-post .tg88-content-entry figcaption {
	max-width: 100%;
}
/* ==================================================
   HOMEPAGE INFORMATION INTRO
================================================== */

.tg88-info-intro {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 18px 20px;
	overflow: hidden;
	background:
		linear-gradient(
			135deg,
			rgba(255, 193, 7, 0.16) 0%,
			rgba(255, 255, 255, 0.96) 45%,
			rgba(255, 247, 224, 0.96) 100%
		);
	border: 1px solid rgba(218, 158, 0, 0.42);
	border-radius: 14px;
	box-shadow:
		0 8px 25px rgba(35, 28, 10, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.tg88-info-intro::before {
	content: "";
	position: absolute;
	top: -70px;
	right: 90px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255, 184, 0, 0.12);
	filter: blur(4px);
	pointer-events: none;
}

.tg88-info-intro__icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	color: #ffc107;
	background: #151515;
	border: 2px solid #e9ac00;
	border-radius: 14px;
	box-shadow:
		0 6px 15px rgba(0, 0, 0, 0.16),
		inset 0 0 0 3px rgba(255, 193, 7, 0.08);
}

.tg88-info-intro__content {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.tg88-info-intro__eyebrow {
	display: block;
	margin-bottom: 3px;
	color: #a66e00;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.tg88-info-intro__title {
	display: block;
	margin: 0;
	color: #171717;
	font-family: var(--font-heading, inherit);
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 800;
	line-height: 1.2;
}

.tg88-info-intro__content p {
	max-width: 820px;
	margin: 5px 0 0;
	color: #665e50;
	font-size: 14px;
	line-height: 1.55;
}

.tg88-info-intro__button {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	padding: 10px 17px;
	color: #171717;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(180deg, #ffd75a 0%, #f3ad00 100%);
	border: 1px solid #d99500;
	border-radius: 10px;
	box-shadow:
		0 5px 12px rgba(198, 133, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
}

.tg88-info-intro__button:hover {
	color: #000;
	filter: brightness(1.04);
	transform: translateY(-2px);
	box-shadow:
		0 8px 17px rgba(198, 133, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tg88-info-intro__button:focus-visible {
	outline: 3px solid rgba(255, 174, 0, 0.35);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.tg88-info-intro {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 12px;
		padding: 15px;
		border-radius: 12px;
	}

	.tg88-info-intro__icon {
		width: 46px;
		height: 46px;
		border-radius: 12px;
	}

	.tg88-info-intro__title {
		font-size: 20px;
	}

	.tg88-info-intro__content p {
		font-size: 13px;
	}

	.tg88-info-intro__button {
		grid-column: 1 / -1;
		width: 100%;
		margin-top: 2px;
	}
}
/* ==================================================
   HOMEPAGE INFORMATION INTRO
================================================== */

.tg88-info-intro {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 18px 20px;
	overflow: hidden;
	background:
		linear-gradient(
			135deg,
			rgba(255, 193, 7, 0.16) 0%,
			rgba(255, 255, 255, 0.96) 45%,
			rgba(255, 247, 224, 0.96) 100%
		);
	border: 1px solid rgba(218, 158, 0, 0.42);
	border-radius: 14px;
	box-shadow:
		0 8px 25px rgba(35, 28, 10, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.tg88-info-intro::before {
	content: "";
	position: absolute;
	top: -70px;
	right: 90px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255, 184, 0, 0.12);
	filter: blur(4px);
	pointer-events: none;
}

.tg88-info-intro__icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	color: #ffc107;
	background: #151515;
	border: 2px solid #e9ac00;
	border-radius: 14px;
	box-shadow:
		0 6px 15px rgba(0, 0, 0, 0.16),
		inset 0 0 0 3px rgba(255, 193, 7, 0.08);
}

.tg88-info-intro__content {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.tg88-info-intro__eyebrow {
	display: block;
	margin-bottom: 3px;
	color: #a66e00;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.tg88-info-intro__title {
	display: block;
	margin: 0;
	color: #171717;
	font-family: var(--font-heading, inherit);
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 800;
	line-height: 1.2;
}

.tg88-info-intro__content p {
	max-width: 820px;
	margin: 5px 0 0;
	color: #665e50;
	font-size: 14px;
	line-height: 1.55;
}

.tg88-info-intro__button {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	padding: 10px 17px;
	color: #171717;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(180deg, #ffd75a 0%, #f3ad00 100%);
	border: 1px solid #d99500;
	border-radius: 10px;
	box-shadow:
		0 5px 12px rgba(198, 133, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
}

.tg88-info-intro__button:hover {
	color: #000;
	filter: brightness(1.04);
	transform: translateY(-2px);
	box-shadow:
		0 8px 17px rgba(198, 133, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tg88-info-intro__button:focus-visible {
	outline: 3px solid rgba(255, 174, 0, 0.35);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.tg88-info-intro {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 12px;
		padding: 15px;
		border-radius: 12px;
	}

	.tg88-info-intro__icon {
		width: 46px;
		height: 46px;
		border-radius: 12px;
	}

	.tg88-info-intro__title {
		font-size: 20px;
	}

	.tg88-info-intro__content p {
		font-size: 13px;
	}

	.tg88-info-intro__button {
		grid-column: 1 / -1;
		width: 100%;
		margin-top: 2px;
	}
}
/* ==================================================
   TG88 RUNNING INFORMATION BAR
================================================== */

.tg88-running-bar {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 52px;
	overflow: hidden;
	background:
		linear-gradient(
			90deg,
			#121212 0%,
			#1c1c1c 55%,
			#111111 100%
		);
	border: 1px solid rgba(230, 171, 0, 0.48);
	border-radius: 10px;
	box-shadow:
		0 5px 18px rgba(0, 0, 0, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tg88-running-bar__label {
	position: relative;
	z-index: 3;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	padding: 0 19px;
	color: #171717;
	font-family: var(--font-heading, inherit);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	background:
		linear-gradient(
			180deg,
			#ffd95c 0%,
			#ffbb09 55%,
			#e9a000 100%
		);
	border-right: 1px solid rgba(255, 218, 91, 0.7);
	box-shadow: 8px 0 18px rgba(0, 0, 0, 0.24);
}

.tg88-running-bar__label::after {
	content: "";
	position: absolute;
	top: 0;
	right: -14px;
	width: 28px;
	height: 100%;
	background: #eda500;
	clip-path: polygon(0 0, 52% 50%, 0 100%);
}

.tg88-running-bar__icon {
	display: grid;
	place-items: center;
	width: 29px;
	height: 29px;
	color: #ffc107;
	background: #171717;
	border: 1px solid rgba(0, 0, 0, 0.45);
	border-radius: 50%;
}

.tg88-running-bar__viewport {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.tg88-running-bar__viewport::before,
.tg88-running-bar__viewport::after {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	width: 38px;
	pointer-events: none;
}

.tg88-running-bar__viewport::before {
	left: 0;
	background: linear-gradient(90deg, #1a1a1a, transparent);
}

.tg88-running-bar__viewport::after {
	right: 0;
	background: linear-gradient(270deg, #121212, transparent);
}

.tg88-running-bar__track {
	display: flex;
	align-items: center;
	width: max-content;
	min-height: 52px;
	will-change: transform;
	animation: tg88-running-text 30s linear infinite;
}

.tg88-running-bar__group {
	display: flex;
	flex: none;
	align-items: center;
	padding-right: 34px;
}

.tg88-running-bar__group a {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 18px;
	color: #f7f3e9;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.tg88-running-bar__group a:hover {
	color: #ffc107;
}

.tg88-running-bar__separator {
	color: #e6aa00;
	font-size: 8px;
	line-height: 1;
}

.tg88-running-bar:hover .tg88-running-bar__track {
	animation-play-state: paused;
}

@keyframes tg88-running-text {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (max-width: 767px) {
	.tg88-running-bar {
		min-height: 46px;
		border-radius: 8px;
	}

	.tg88-running-bar__label {
		padding: 0 12px;
		font-size: 12px;
	}

	.tg88-running-bar__label > span:last-child {
		display: none;
	}

	.tg88-running-bar__icon {
		width: 27px;
		height: 27px;
	}

	.tg88-running-bar__track,
	.tg88-running-bar__group a {
		min-height: 46px;
	}

	.tg88-running-bar__group a {
		padding: 0 14px;
		font-size: 13px;
	}

	.tg88-running-bar__track {
		animation-duration: 24s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tg88-running-bar__track {
		animation-play-state: paused;
	}
}