.games-table-wrapper {
    margin: 20px 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.table-controls {
	padding-left: calc(var(--wp--preset--spacing--80)*1.15);
	margin-bottom: 20px;
}
#games-search {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 300px;
}
/* Table */
#games-table {
    min-width: 85%;
	max-width: 85%;
    border-collapse: collapse;
    margin: auto;
	table-layout: auto;
	background: rgba(255,255,255,0.4);
}
#games-table thead th {
    background: #f7f7f7;
    text-align: center;
	height: 50px;
}
#games-table tbody tr {
	height: 150px;
}
/* Title cell fixed width */
#games-table td.tablecol-game-title {
    position: relative;
	overflow: visible;
	z-index: 1;
	margin-bottom: 5px;
	vertical-align: bottom;
	padding: 20px 10px;
	/*width: 530px;*/
}
/* Title cell overflowing div container for img */
#games-table td.tablecol-game-title .prod-banner {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 600px;
	height: auto;
	z-index: -1;
	padding: 0px;
	margin: 0px;
}
/* banner img */
#games-table td.tablecol-game-title .prod-banner .prod-banner-img {
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0px 15px 15px 0px;
}
#games-table td.tablecol-game-title .title-text {
	text-align: left;
}
#games-table td.tablecol-game-price {
	vertical-align: bottom;
	color: green;
	font-weight: 600;
	font-size: 1.2em;
	padding: 20px 0px;
}
.owned-tag {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 2px 4px;
	font-size: 0.85em;
    border-radius: 4px;
    font-weight: 600;
}
#games-table td.tablecol-game-type {
	vertical-align: center;
	max-width: 140px;
}
#games-table td.tablecol-game-size {
	vertical-align: center;
}
#games-table td.tablecol-game-time {
	vertical-align: center;
}
#games-table td.tablecol-game-complexity {
	max-width: 120px;
}
#games-table td.tablecol-game-setup {
	max-width: 120px;
}
,#games-table td.tablecol-game-printing {
	max-width: 120px;	
}
#games-table td.tablecol-game-tags {
	display: none;
}
.tag-badge {
	display: inline-block;
	background-color: #f1f1f1;
	color: #333;
	font-size: 0.6em;   /* smaller text */
	padding: 2px 6px;
	margin: 2px;
	border-radius: 6px; /* pill shape */
	border: 1px solid #ddd;
	white-space: nowrap;
}
.attribute-bar {
    position: relative;
    background: #f7f7f7;
    border-radius: 5px;
    height: 15px;
    width: 100px;
	z-index: 9998;
	align-items: right;
    overflow: hidden;
    margin-bottom: 4px;
	cursor: pointer;
}
.bar-fill-1 {
    background: #44bd49;
    position: absolute;
	z-index: 9999;
	left: 0;
	width: 20px;
	height: 15px;
    transition: width 0.4s ease;
	cursor: pointer;
}
.bar-fill-2 {
    background: linear-gradient(90deg, #4caf50, #81c784);
    position: absolute;
	z-index: 9999;
	left: 0;
	width: 40px;
	height: 15px;
    transition: width 0.4s ease;
	cursor: pointer;
}
.bar-fill-3 {
    background: linear-gradient(90deg, #4caf50, #81c784, #d6d793);
    position: absolute;
	z-index: 9999;
	left: 0;
	width: 60px;
	height: 15px;
    transition: width 0.4s ease;
	cursor: pointer;
}
.bar-fill-4 {
    background: linear-gradient(90deg, #4caf50, #81c784, #ffa62f);
    position: absolute;
	z-index: 9999;
	left: 0;
	width: 80px;
	height: 15px;
    transition: width 0.4s ease;
	cursor: pointer;
}
.bar-fill-5 {
    background: linear-gradient(90deg, #4caf50, #81c784, #d9db42, #f28e50);
    position: absolute;
	z-index: 9999;
	left: 0;
	width: 100px;
	height: 15px;
    transition: width 0.4s ease;
	cursor: pointer;
}
#games-table td.tablecol-game-host p {
	cursor: pointer;
}
.attribute-popup {
	display: none;
	position: absolute;
	z-index: 10000;
	max-width: 300px;
	margin-bottom: 10px;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	border-radius: 6px;
	padding: 10px;
	font-size: 0.9em;
	white-space: pre-wrap;
}
.attribute-popup.active {
	display: block;
}
.attribute-popup-content {
	margin-top: 10px;
	margin-bottom: 20px;
}
.table-att-text {
	font-size: 0.85em;
}