/**
 * Game Types Styles - 10 Variants
 * White background, colored borders only
 * Available = green border, Unavailable = red border
 */

/* Common */
.hgt { margin-bottom: 20px; }
.hgt__emoji { font-size: 22px; line-height: 1; }
.hgt__img { width: 26px; height: 26px; object-fit: contain; }
.games-count { font-weight: 400; color: #888; font-size: 0.85em; }

/* ============================================
   STYLE 1: Grid Cards
============================================ */
.hgt--1 .hgt__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.hgt--1 .hgt__card {
  background: #fff;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid;
}
.hgt--1 .hgt__card.available {
  border-color: #22c55e;
}
.hgt--1 .hgt__card.unavailable {
  border-color: #ef4444;
}
.hgt--1 .hgt__icon { margin-bottom: 10px; }
.hgt--1 .hgt__icon .hgt__img { width: 38px; height: 38px; }
.hgt--1 .hgt__icon .hgt__emoji { font-size: 32px; }
.hgt--1 .hgt__name {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}
.hgt--1 .hgt__status {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hgt--1 .hgt__card.available .hgt__status { color: #16a34a; }
.hgt--1 .hgt__card.available .hgt__status svg { stroke: #16a34a; width: 14px; height: 14px; }
.hgt--1 .hgt__card.unavailable .hgt__status { color: #dc2626; }
.hgt--1 .hgt__card.unavailable .hgt__status svg { stroke: #dc2626; width: 14px; height: 14px; }

/* ============================================
   STYLE 2: Horizontal Pills
============================================ */
.hgt--2 .hgt__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hgt--2 .hgt__pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 50px;
  padding: 8px 16px 8px 8px;
  transition: all 0.2s;
  border: 1px solid;
}
.hgt--2 .hgt__pill.available {
  border-color: #22c55e;
}
.hgt--2 .hgt__pill.unavailable {
  border-color: #ef4444;
}
.hgt--2 .hgt__pill.unavailable .hgt__name {
  text-decoration: line-through;
  color: #999;
}
.hgt--2 .hgt__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}
.hgt--2 .hgt__icon .hgt__emoji { font-size: 18px; }
.hgt--2 .hgt__icon .hgt__img { width: 20px; height: 20px; border-radius: 50%; }
.hgt--2 .hgt__name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* ============================================
   STYLE 3: Table
============================================ */
.hgt--3 {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.hgt--3 .hgt__table {
  width: 100%;
  border-collapse: collapse;
}
.hgt--3 .hgt__table th,
.hgt--3 .hgt__table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.hgt--3 .hgt__table th {
  background: #f9fafb;
  color: #666;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px;
}
.hgt--3 .hgt__table td { color: #111; }
.hgt--3 .hgt__table tr:last-child td { border-bottom: none; }
.hgt--3 .hgt__table tr.available td { border-left: 3px solid #22c55e; }
.hgt--3 .hgt__table tr.unavailable td { border-left: 3px solid #ef4444; }
.hgt--3 .hgt__game-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hgt--3 .hgt__icon .hgt__emoji { font-size: 24px; }
.hgt--3 .hgt__icon .hgt__img { width: 28px; height: 28px; }
.hgt--3 .hgt__name { font-weight: 600; font-size: 14px; color: #111; }
.hgt--3 .hgt__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: #fff;
  border: 1px solid;
}
.hgt--3 .hgt__badge.yes { border-color: #22c55e; color: #16a34a; }
.hgt--3 .hgt__badge.yes svg { stroke: #16a34a; width: 12px; height: 12px; }
.hgt--3 .hgt__badge.no { border-color: #ef4444; color: #dc2626; }
.hgt--3 .hgt__badge.no svg { stroke: #dc2626; width: 12px; height: 12px; }

/* ============================================
   STYLE 4: Compact Grid
============================================ */
.hgt--4 .hgt__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hgt--4 .hgt__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  position: relative;
  transition: all 0.2s;
  min-width: 85px;
  border: 1px solid;
}
.hgt--4 .hgt__item.available {
  border-color: #22c55e;
}
.hgt--4 .hgt__item.unavailable {
  border-color: #ef4444;
}
.hgt--4 .hgt__icon .hgt__emoji { font-size: 28px; }
.hgt--4 .hgt__icon .hgt__img { width: 32px; height: 32px; }
.hgt--4 .hgt__name {
  font-size: 11px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.3px;
}
.hgt--4 .hgt__item.unavailable .hgt__name { 
  text-decoration: line-through;
  color: #999;
}
.hgt--4 .hgt__check {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hgt--4 .hgt__item.available .hgt__check { background: #22c55e; }
.hgt--4 .hgt__item.unavailable .hgt__check { background: #ef4444; }
.hgt--4 .hgt__check svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; }

/* ============================================
   STYLE 5: Split Available/Unavailable
============================================ */
.hgt--5 .hgt__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .hgt--5 .hgt__split { grid-template-columns: 1fr; }
}
.hgt--5 .hgt__column {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid;
}
.hgt--5 .hgt__column.available { 
  border-color: #22c55e;
}
.hgt--5 .hgt__column.unavailable { 
  border-color: #ef4444;
}
.hgt--5 .hgt__column-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.hgt--5 .hgt__column.available .hgt__column-title { color: #16a34a; }
.hgt--5 .hgt__column.available .hgt__column-title svg { stroke: #16a34a; width: 20px; height: 20px; }
.hgt--5 .hgt__column.unavailable .hgt__column-title { color: #dc2626; }
.hgt--5 .hgt__column.unavailable .hgt__column-title svg { stroke: #dc2626; width: 20px; height: 20px; }
.hgt--5 .hgt__list { 
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hgt--5 .hgt__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
}
.hgt--5 .hgt__column.unavailable .hgt__item {
  color: #666;
  text-decoration: line-through;
}
.hgt--5 .hgt__icon .hgt__emoji { font-size: 20px; }
.hgt--5 .hgt__icon .hgt__img { width: 24px; height: 24px; }

/* ============================================
   STYLE 6: Tags
============================================ */
.hgt--6 .hgt__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hgt--6 .hgt__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.2s;
  background: #fff;
  border: 1px solid;
}
.hgt--6 .hgt__tag.available {
  border-color: #22c55e;
}
.hgt--6 .hgt__tag.unavailable {
  border-color: #ef4444;
}
.hgt--6 .hgt__icon .hgt__emoji { font-size: 18px; }
.hgt--6 .hgt__icon .hgt__img { width: 22px; height: 22px; }
.hgt--6 .hgt__name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}
.hgt--6 .hgt__tag.unavailable .hgt__name { color: #999; text-decoration: line-through; }
.hgt--6 .hgt__status-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hgt--6 .hgt__tag.available .hgt__status-icon { background: #22c55e; }
.hgt--6 .hgt__tag.available .hgt__status-icon svg { stroke: #fff; width: 12px; height: 12px; }
.hgt--6 .hgt__tag.unavailable .hgt__status-icon { background: #ef4444; }
.hgt--6 .hgt__tag.unavailable .hgt__status-icon svg { stroke: #fff; width: 12px; height: 12px; }

/* ============================================
   STYLE 7: Card Flip (3D)
============================================ */
.hgt--7 .hgt__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hgt--7 .hgt__flip-card {
  width: 100px;
  height: 100px;
  perspective: 1000px;
}
.hgt--7 .hgt__flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.hgt--7 .hgt__flip-card:hover .hgt__flip-inner {
  transform: rotateY(180deg);
}
.hgt--7 .hgt__front,
.hgt--7 .hgt__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.hgt--7 .hgt__back {
  transform: rotateY(180deg);
}
.hgt--7 .hgt__flip-card.available .hgt__back {
  border-color: #22c55e;
}
.hgt--7 .hgt__flip-card.unavailable .hgt__back {
  border-color: #ef4444;
}
.hgt--7 .hgt__icon .hgt__emoji { font-size: 30px; margin-bottom: 6px; }
.hgt--7 .hgt__icon .hgt__img { width: 34px; height: 34px; margin-bottom: 6px; }
.hgt--7 .hgt__name { font-size: 11px; font-weight: 700; color: #111; }
.hgt--7 .hgt__flip-card.available .hgt__back svg { width: 28px; height: 28px; stroke: #22c55e; margin-bottom: 4px; }
.hgt--7 .hgt__flip-card.unavailable .hgt__back svg { width: 28px; height: 28px; stroke: #ef4444; margin-bottom: 4px; }
.hgt--7 .hgt__flip-card.available .hgt__back-text { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #16a34a; }
.hgt--7 .hgt__flip-card.unavailable .hgt__back-text { font-size: 11px; font-weight: 800; text-transform: uppercase; color: #dc2626; }

/* ============================================
   STYLE 8: Horizontal Scroll Carousel
============================================ */
.hgt--8 .hgt__carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.hgt--8 .hgt__carousel::-webkit-scrollbar { height: 6px; }
.hgt--8 .hgt__carousel::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.hgt--8 .hgt__carousel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.hgt--8 .hgt__slide {
  flex: 0 0 135px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid;
}
.hgt--8 .hgt__slide.available {
  border-color: #22c55e;
}
.hgt--8 .hgt__slide.unavailable {
  border-color: #ef4444;
}
.hgt--8 .hgt__icon { margin-bottom: 10px; }
.hgt--8 .hgt__icon .hgt__emoji { font-size: 34px; }
.hgt--8 .hgt__icon .hgt__img { width: 40px; height: 40px; }
.hgt--8 .hgt__name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.hgt--8 .hgt__tag-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: #fff;
  border: 1px solid;
}
.hgt--8 .hgt__slide.available .hgt__tag-status { border-color: #22c55e; color: #16a34a; }
.hgt--8 .hgt__slide.unavailable .hgt__tag-status { border-color: #ef4444; color: #dc2626; }

/* ============================================
   STYLE 9: Checklist Style
============================================ */
.hgt--9 .hgt__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 500px) {
  .hgt--9 .hgt__grid { grid-template-columns: 1fr; }
}
.hgt--9 .hgt__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 10px;
  transition: all 0.2s;
  border: 1px solid;
}
.hgt--9 .hgt__item.available {
  border-color: #22c55e;
}
.hgt--9 .hgt__item.unavailable {
  border-color: #ef4444;
}
.hgt--9 .hgt__checkbox {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hgt--9 .hgt__item.available .hgt__checkbox {
  background: #22c55e;
}
.hgt--9 .hgt__item.available .hgt__checkbox svg { stroke: #fff; width: 14px; height: 14px; stroke-width: 3; }
.hgt--9 .hgt__item.unavailable .hgt__checkbox {
  background: #ef4444;
}
.hgt--9 .hgt__item.unavailable .hgt__checkbox svg { stroke: #fff; width: 14px; height: 14px; stroke-width: 3; }
.hgt--9 .hgt__icon .hgt__emoji { font-size: 22px; }
.hgt--9 .hgt__icon .hgt__img { width: 26px; height: 26px; }
.hgt--9 .hgt__name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  flex: 1;
}
.hgt--9 .hgt__item.unavailable .hgt__name {
  text-decoration: line-through;
  color: #999;
}

/* ============================================
   STYLE 10: Stat Cards
============================================ */
.hgt--10 .hgt__stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.hgt--10 .hgt__stat {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
  border: 1px solid;
}
.hgt--10 .hgt__stat.available {
  border-color: #22c55e;
}
.hgt--10 .hgt__stat.unavailable {
  border-color: #ef4444;
}
.hgt--10 .hgt__icon-wrap {
  width: 48px;
  height: 48px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hgt--10 .hgt__icon-wrap .hgt__emoji { font-size: 26px; }
.hgt--10 .hgt__icon-wrap .hgt__img { width: 30px; height: 30px; }
.hgt--10 .hgt__info { flex: 1; min-width: 0; }
.hgt--10 .hgt__name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hgt--10 .hgt__meta {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hgt--10 .hgt__meta svg { width: 14px; height: 14px; }
.hgt--10 .hgt__stat.available .hgt__meta { color: #16a34a; }
.hgt--10 .hgt__stat.available .hgt__meta svg { stroke: #16a34a; }
.hgt--10 .hgt__stat.unavailable .hgt__meta { color: #dc2626; }
.hgt--10 .hgt__stat.unavailable .hgt__meta svg { stroke: #dc2626; }

/* ============================================
   Theme 2 Dark Mode Overrides
============================================ */
.uac-theme-2 .hgt--1 .hgt__card,
.uac-theme-2 .hgt--2 .hgt__pill,
.uac-theme-2 .hgt--4 .hgt__item,
.uac-theme-2 .hgt--5 .hgt__column,
.uac-theme-2 .hgt--6 .hgt__tag,
.uac-theme-2 .hgt--7 .hgt__front,
.uac-theme-2 .hgt--7 .hgt__back,
.uac-theme-2 .hgt--8 .hgt__slide,
.uac-theme-2 .hgt--9 .hgt__item,
.uac-theme-2 .hgt--10 .hgt__stat {
  background: #fff;
}

.uac-theme-2 .hgt--3 {
  background: #fff;
  border-color: #3a3a50;
}
.uac-theme-2 .hgt--3 .hgt__table th {
  background: #252538;
  color: #999;
}
.uac-theme-2 .hgt--3 .hgt__table td {
  color: #ddd;
  border-color: #3a3a50;
}
.uac-theme-2 .hgt--3 .hgt__badge { background: #fff; }

.uac-theme-2 .hgt--1 .hgt__name,
.uac-theme-2 .hgt--2 .hgt__name,
.uac-theme-2 .hgt--3 .hgt__name,
.uac-theme-2 .hgt--4 .hgt__name,
.uac-theme-2 .hgt--5 .hgt__item,
.uac-theme-2 .hgt--6 .hgt__name,
.uac-theme-2 .hgt--7 .hgt__name,
.uac-theme-2 .hgt--8 .hgt__name,
.uac-theme-2 .hgt--9 .hgt__name,
.uac-theme-2 .hgt--10 .hgt__name {
  color: #111;
}

.uac-theme-2 .hgt--2 .hgt__icon,
.uac-theme-2 .hgt--10 .hgt__icon-wrap {
  background: #2a2a3e;
}

.uac-theme-2 .hgt--5 .hgt__column-title { border-color: #3a3a50; }
.uac-theme-2 .hgt--7 .hgt__front { border-color: #3a3a50; }
.uac-theme-2 .hgt--8 .hgt__tag-status { background: #fff; }
