
/* HEYPOKIES GOLD/MAROON TIGER GAME SEARCH THEME */
#heypokies-main-game-search,
#heypokies-main-game-search * { box-sizing: border-box; }

.heypokies-game-search {
    --hp-gold: #ffcc00;
    --hp-maroon: #800000;
    --hp-black: #080404;
    --hp-text: #ffffff;
    --hp-muted: #ffe680;

    width: min(1180px, calc(100% - 20px));
    margin: 12px auto;
    padding: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid #660000;
    border-top: 3px solid var(--hp-gold);
    border-radius: 2px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255,204,0,.16), transparent 35%),
        linear-gradient(180deg, rgba(51,13,13,.96), rgba(8,4,4,.98) 42%, #080404 100%);
    box-shadow:
        0 5px 16px rgba(0,0,0,.58),
        inset 0 1px rgba(255,255,255,.06),
        inset 0 -1px rgba(102,0,0,.4);
    color: var(--hp-text);
    font-family: Arial, Helvetica, sans-serif;
    container-type: inline-size;
}

.heypokies-search-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    margin: 0 0 8px;
    padding: 2px 3px 3px;
}

.heypokies-search-heading-icon {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 2px solid #ffcc80;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, #ffcc00 0deg 14deg, #800000 14deg 28deg);
    box-shadow: 0 0 0 2px #660000, 0 0 10px rgba(255,204,0,.45);
}

.heypokies-search-heading-icon::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 2px solid #080404;
    border-radius: 50%;
    background: #fffbe6;
}

.heypokies-search-heading strong {
    display: block;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #000, 0 0 7px rgba(255,204,0,.6);
}

.heypokies-search-heading small {
    display: block;
    margin-top: 3px;
    color: #ffd633;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.05px;
}

.heypokies-heading-rule {
    height: 1px;
    flex: 1 1 auto;
    margin-left: 4px;
    background: linear-gradient(90deg, #ffcc00, rgba(255,204,0,.08));
}

.heypokies-search-box {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 39px;
    border: 1px solid #ffcc00;
    border-radius: 1px;
    background: #fffbe6;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.25);
}

.heypokies-search-box:focus-within {
    border-color: #ffe680;
    box-shadow: 0 0 0 1px #ffe680, 0 0 12px rgba(255,204,0,.3);
}

.heypokies-search-icon {
    position: absolute;
    left: 14px;
    width: 13px;
    height: 13px;
    border: 2px solid #800000;
    border-radius: 50%;
    pointer-events: none;
}

.heypokies-search-icon::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    border-radius: 1px;
    background: #800000;
    transform: rotate(45deg);
}

#heypokies-game-search-input {
    width: 100%;
    height: 37px;
    padding: 0 45px 0 40px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #1a0500 !important;
    font: 12px Arial, Helvetica, sans-serif;
}

.heypokies-search-clear {
    position: absolute;
    right: 5px;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid #660000;
    border-radius: 1px;
    background: linear-gradient(#ffcc00, #800000);
    color: #fff;
    font-size: 19px;
    cursor: pointer;
}

.heypokies-search-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 6px;
    padding: 3px;
    border: 1px solid #3d0808;
    background: #080404;
}

.heypokies-search-filter {
    min-height: 31px;
    padding: 5px 8px;
    border: 1px solid #570d0d;
    border-radius: 1px;
    background: linear-gradient(#2b0505, #0a0101);
    color: #fffae6;
    font-family: Georgia, serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .45px;
    text-transform: uppercase;
    cursor: pointer;
}

.heypokies-search-filter.active {
    border-color: #ffe680;
    background: linear-gradient(180deg, #ffcc00 0%, #b30000 58%, #800000 100%);
    color: #fff;
    text-shadow: 0 1px 1px #3d0808;
}

.heypokies-search-status {
    margin-top: 8px;
    padding: 11px;
    border: 1px solid #800000;
    border-left: 3px solid #ffcc00;
    background: #190505;
    color: #ffe6b3;
    font-size: 11px;
    text-align: center;
}

.heypokies-search-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 9px;
}

.heypokies-game-result {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #570d0d;
    border-radius: 2px;
    background: #070404;
    transition: transform .15s ease, border-color .15s ease;
}

.heypokies-game-result:hover {
    transform: translateY(-1px);
    border-color: #ffcc00;
}

.heypokies-game-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.67 / 1;
    overflow: hidden;
    background: #190505;
    border-bottom: 1px solid #3d0808;
}

.heypokies-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heypokies-game-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 8px;
    padding: 8px;
    background: linear-gradient(180deg, #2b0808, #070404);
}

.heypokies-game-name {
    grid-column: 1 / -1;
    margin: 0;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 800;
}

.heypokies-game-meta {
    margin: 0;
    color: #e0ab88;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.heypokies-provider-row {
    display: flex;
    justify-content: flex-end;
}

.heypokies-provider-logo {
    width: 56px;
    height: 18px;
    object-fit: contain;
    object-position: right center;
}

.heypokies-provider-badge {
    padding: 2px 6px;
    border: 1px solid #800000;
    background: #330808;
    color: #fffae6;
    font-size: 7px;
    font-weight: 800;
}

.heypokies-credit-badge {
    grid-column: 1 / -1;
    justify-self: start;
    padding: 2px 6px;
    font-size: 7px;
    font-weight: 900;
    text-transform: uppercase;
}

.heypokies-credit-badge.is-pokies {
    border: 1px solid #990000;
    background: linear-gradient(#4d0808, #2b0808);
    color: #fff;
}

.heypokies-credit-badge.is-free-credit {
    border: 1px solid #ffcc00;
    background: linear-gradient(#b30000, #4d0000);
    color: #fff;
}

.heypokies-play-game {
    grid-column: 1 / -1;
    width: calc(100% + 16px);
    min-height: 27px;
    margin: 3px -8px -7px;
    border: 0;
    border-top: 1px solid #ffe680;
    background: linear-gradient(180deg, #ffcc00 0%, #b30000 48%, #800000 100%);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
    text-shadow: 0 1px 1px #3d0808;
}

.heypokies-play-game:hover,
.heypokies-play-game:focus-visible {
    background: linear-gradient(180deg, #ffe680 0%, #ffcc00 50%, #b30000 100%);
    outline: none;
}

.heypokies-search-highlight {
    color: #ffd633;
}

.heypokies-search-more {
    grid-column: 1 / -1;
    padding: 8px;
    border-top: 1px solid #3d0808;
    color: #e0ab88;
    font-size: 9px;
    text-align: center;
}

.heypokies-search-results[hidden],
.heypokies-search-status[hidden],
.heypokies-search-clear[hidden] { display: none !important; }

@container (min-width: 620px) {
    .heypokies-search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 900px) {
    .heypokies-search-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (min-width: 1120px) {
    .heypokies-search-results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
