/* GroolGirls Video Gallery */
.ggv-wrap {
    --ggv-bg: #080808;
    --ggv-panel: #171717;
    --ggv-line: #303030;
    --ggv-text: #f5f5f5;
    --ggv-muted: #a3a3a3;
    color: var(--ggv-text);
    width: 100%;
    padding: 20px;
    border-radius: 8px;
    background: var(--ggv-bg);
    box-sizing: border-box;
}
.ggv-filters {
    display: grid;
    grid-template-columns: minmax(180px, 2fr) repeat(4, minmax(125px, 1fr)) auto;
    gap: 9px;
    margin: 0 0 22px;
    align-items: center;
}
.ggv-filters input,
.ggv-filters select {
    min-width: 0;
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid var(--ggv-line);
    border-radius: 5px;
    background: var(--ggv-panel);
    color: var(--ggv-text);
    font: inherit;
    font-size: 14px;
}
.ggv-filters button {
    min-height: 43px;
    padding: 10px 18px;
    border: 1px solid #fff;
    border-radius: 5px;
    background: #fff;
    color: #080808;
    font-weight: 700;
    cursor: pointer;
}
.ggv-filters button:hover { background: #dedede; }
.ggv-reset { color: var(--ggv-muted); font-size: 13px; text-decoration: underline; }
.ggv-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 14px;
}
.ggv-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 6px;
    overflow: hidden;
    background: transparent;
    color: var(--ggv-text);
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.ggv-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ggv-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: #202020;
}
.ggv-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease, opacity .2s ease;
}
.ggv-card:hover .ggv-thumb img { transform: scale(1.035); opacity: .82; }
.ggv-no-thumb {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #777;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15em;
}
.ggv-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding-left: 3px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-size: 17px;
    transform: translate(-50%, -50%);
    opacity: .92;
}
.ggv-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 6px;
    border-radius: 3px;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
}
.ggv-card-info { display: block; padding: 9px 1px 0; }
.ggv-card-title {
    display: block;
    overflow: hidden;
    color: var(--ggv-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ggv-card-meta {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: var(--ggv-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ggv-empty { padding: 35px 10px; color: var(--ggv-muted); text-align: center; }
.ggv-pagination { margin: 28px 0 8px; }
.ggv-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ggv-pagination a, .ggv-pagination span {
    display: block;
    min-width: 38px;
    padding: 9px 12px;
    border: 1px solid var(--ggv-line);
    border-radius: 4px;
    color: var(--ggv-text);
    text-align: center;
    text-decoration: none;
}
.ggv-pagination .current { background: #fff; color: #080808; border-color: #fff; }
.ggv-modal[hidden] { display: none !important; }
.ggv-modal { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 24px; }
.ggv-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.94); }
.ggv-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1100px, 96vw);
    max-height: 92vh;
    padding: 42px 0 0;
}
.ggv-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #555;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.ggv-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
    background: #000;
}
.ggv-player iframe { display: block; width: 100%; height: 100%; border: 0; }
body.ggv-modal-open { overflow: hidden; }
@media (max-width: 1050px) {
    .ggv-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ggv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .ggv-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ggv-filters input[type="search"] { grid-column: 1 / -1; }
    .ggv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 9px; }
    .ggv-card-title { font-size: 13px; }
    .ggv-modal { padding: 10px; }
    .ggv-modal-panel { width: 100%; }
}
@media (max-width: 360px) {
    .ggv-filters { grid-template-columns: 1fr; }
}

/* Front-end contributor submission form */
.ggv-submit-wrap { max-width: 720px; margin: 0 auto; color: #f5f5f5; }
.ggv-submit-form { padding: 24px; border: 1px solid #303030; border-radius: 8px; background: #101010; }
.ggv-submit-form p { margin: 0 0 18px; }
.ggv-submit-form label { display: block; margin: 0 0 7px; color: #f5f5f5; font-size: 14px; font-weight: 650; }
.ggv-submit-form input, .ggv-submit-form textarea, .ggv-submit-form select { display: block; width: 100%; min-height: 44px; box-sizing: border-box; padding: 11px 12px; border: 1px solid #383838; border-radius: 5px; background: #1b1b1b; color: #fff; font: inherit; font-size: 14px; }
.ggv-submit-form textarea { min-height: 90px; resize: vertical; }
.ggv-submit-form small, .ggv-submit-footnote { display: block; margin-top: 7px; color: #aaa; font-size: 12px; line-height: 1.5; }
.ggv-submit-form button { min-height: 44px; padding: 11px 18px; border: 1px solid #fff; border-radius: 5px; background: #fff; color: #080808; font-weight: 700; cursor: pointer; }
.ggv-submit-success, .ggv-submit-error, .ggv-submit-notice { margin: 0 0 16px; padding: 13px 15px; border: 1px solid #444; border-radius: 5px; background: #171717; color: #fff; }
.ggv-submit-success { border-color: #477a54; }
.ggv-submit-error { border-color: #995050; }

.ggv-submit-options { margin: 0 0 18px; padding: 14px; border: 1px solid #383838; border-radius: 5px; }
.ggv-submit-options legend { padding: 0 6px; color: #f5f5f5; font-size: 14px; font-weight: 650; }
.ggv-submit-options legend small { color: #aaa; font-size: 12px; font-weight: 400; }
.ggv-submit-form .ggv-submit-choice { display: inline-flex; align-items: center; gap: 7px; margin: 5px 16px 5px 0; color: #ddd; font-size: 13px; font-weight: 400; }
.ggv-submit-form .ggv-submit-choice input { display: inline-block; width: 16px; min-height: 16px; height: 16px; margin: 0; padding: 0; accent-color: #fff; }
