.gdvvs-app {
    --gdvvs-primary: #5b45f5;
    --gdvvs-primary-dark: #3f2fc7;
    --gdvvs-accent: #ef4b7b;
    --gdvvs-ink: #172033;
    --gdvvs-muted: #677188;
    --gdvvs-border: #e3e7ef;
    --gdvvs-surface: #ffffff;
    --gdvvs-bg: #f6f7fb;
    --gdvvs-success: #137a51;
    font-family: inherit;
    color: var(--gdvvs-ink);
    max-width: 1280px;
    margin: 0 auto;
}

.gdvvs-app *, .gdvvs-app *::before, .gdvvs-app *::after { box-sizing: border-box; }

.gdvvs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 4vw, 48px);
    color: #fff;
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255,255,255,.2), transparent 24%),
        radial-gradient(circle at 72% 120%, rgba(239,75,123,.55), transparent 32%),
        linear-gradient(135deg, #21165f, #5740df 62%, #765df4);
    box-shadow: 0 24px 60px rgba(40, 31, 117, .24);
}
.gdvvs-header::after { content: ''; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -100px; top: -110px; }
.gdvvs-header-copy { position: relative; z-index: 1; max-width: 760px; }
.gdvvs-kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: rgba(255,255,255,.78); margin-bottom: 10px; }
.gdvvs-header h2 { color: #fff; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 14px; }
.gdvvs-header p { color: rgba(255,255,255,.82); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; margin: 0; max-width: 680px; }
.gdvvs-contest-status { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 14px; border-radius: 30px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 700; }
.gdvvs-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #b6becf; box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.gdvvs-contest-status.is-open .gdvvs-status-dot { background: #43e6a1; }
.gdvvs-contest-status.is-closed .gdvvs-status-dot { background: #ffb04b; }

.gdvvs-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 28px 0 20px; }
.gdvvs-search { position: relative; display: block; flex: 1; max-width: 680px; }
.gdvvs-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: #8992a6; stroke-width: 2; stroke-linecap: round; }
.gdvvs-search-input { width: 100%; min-height: 54px; border: 1px solid var(--gdvvs-border) !important; border-radius: 16px !important; padding: 0 48px 0 52px !important; background: #fff !important; color: var(--gdvvs-ink) !important; font-size: 16px !important; box-shadow: 0 8px 26px rgba(25, 34, 51, .06) !important; outline: none; transition: border-color .2s, box-shadow .2s; }
.gdvvs-search-input:focus { border-color: #a99df8 !important; box-shadow: 0 0 0 4px rgba(91,69,245,.1), 0 8px 26px rgba(25,34,51,.06) !important; }
.gdvvs-search-clear { opacity: 0; pointer-events: none; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eef0f5; color: #596274; font-size: 22px; line-height: 1; cursor: pointer; transition: opacity .2s; }
.gdvvs-search-clear.is-visible { opacity: 1; pointer-events: auto; }
.gdvvs-entry-count { color: var(--gdvvs-muted); font-size: 14px; white-space: nowrap; }
.gdvvs-entry-count strong { color: var(--gdvvs-ink); }

.gdvvs-message { display: none; margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.gdvvs-message:not(:empty) { display: block; }
.gdvvs-message.is-success { color: #0d6543; background: #e9fbf3; border: 1px solid #b9eed7; }
.gdvvs-message.is-warning { color: #8a5200; background: #fff7e6; border: 1px solid #f2d899; }
.gdvvs-message.is-error { color: #9a2638; background: #fff0f2; border: 1px solid #f3c0c8; }

.gdvvs-group-list { display: flex; flex-direction: column; gap: 38px; }
.gdvvs-group-section { min-width: 0; }
.gdvvs-group-section[hidden] { display: none !important; }
.gdvvs-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 20px; padding: 18px 20px; background: var(--gdvvs-surface); border: 1px solid var(--gdvvs-border); border-left: 5px solid var(--gdvvs-primary); border-radius: 16px; box-shadow: 0 8px 24px rgba(22, 32, 51, .055); }
.gdvvs-group-heading h3 { color: var(--gdvvs-ink); font-size: clamp(22px, 2.5vw, 30px); line-height: 1.15; letter-spacing: -.025em; margin: 2px 0 0; }
.gdvvs-group-heading p { color: var(--gdvvs-muted); font-size: 14px; line-height: 1.55; margin: 7px 0 0; }
.gdvvs-group-kicker { display: block; color: var(--gdvvs-primary-dark); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gdvvs-group-count { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 5px; padding: 9px 13px; border-radius: 999px; color: var(--gdvvs-muted); background: #f1f0ff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.gdvvs-group-count strong { color: var(--gdvvs-primary-dark); font-size: 17px; }

.gdvvs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.gdvvs-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: var(--gdvvs-surface); border: 1px solid var(--gdvvs-border); border-radius: 20px; box-shadow: 0 12px 34px rgba(22, 32, 51, .08); transition: transform .25s, box-shadow .25s, border-color .25s; }
.gdvvs-card:hover { transform: translateY(-4px); border-color: #d2ccf9; box-shadow: 0 20px 45px rgba(22, 32, 51, .12); }
.gdvvs-card[hidden] { display: none !important; }
.gdvvs-video-shell { position: relative; overflow: hidden; background: #111827; line-height: 0; }
.gdvvs-video-shell video { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; background: #080b12; }
.gdvvs-video-missing { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 180px; color: #b8c0cf; line-height: 1.4; }
.gdvvs-rank-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 34px; padding: 0 10px; border-radius: 10px; color: #fff; background: rgba(18, 22, 35, .72); backdrop-filter: blur(9px); font-size: 13px; font-weight: 800; box-shadow: 0 5px 16px rgba(0,0,0,.18); }
.gdvvs-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.gdvvs-creator-row { margin-bottom: 12px; }
.gdvvs-creator-label { display: block; color: var(--gdvvs-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.gdvvs-creator-name { display: block; color: var(--gdvvs-primary-dark); font-size: 15px; margin-top: 2px; }
.gdvvs-card h3 { color: var(--gdvvs-ink); font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 10px; }
.gdvvs-description { color: var(--gdvvs-muted); font-size: 14px; line-height: 1.65; }
.gdvvs-description p { margin: 0; }
.gdvvs-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 20px; }
.gdvvs-vote-total { display: flex; flex-direction: column; line-height: 1.1; color: var(--gdvvs-muted); font-size: 12px; }
.gdvvs-vote-number { color: var(--gdvvs-ink); font-size: 23px; font-weight: 800; }
.gdvvs-vote-button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 112px; min-height: 46px; border: 0; border-radius: 13px; padding: 0 18px; color: #fff; background: linear-gradient(135deg, var(--gdvvs-primary), #7662f8); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 22px rgba(91, 69, 245, .25); transition: transform .2s, box-shadow .2s, filter .2s; }
.gdvvs-vote-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 27px rgba(91,69,245,.32); filter: saturate(1.1); }
.gdvvs-vote-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.gdvvs-vote-button:disabled { cursor: not-allowed; color: #838b9b; background: #e8eaf0; box-shadow: none; }
.gdvvs-vote-button.is-selected { color: #fff; background: linear-gradient(135deg, #138059, #2ca876); }
.gdvvs-vote-button.is-loading svg { animation: gdvvs-pulse .8s infinite alternate; }
.gdvvs-no-results, .gdvvs-empty-state { padding: 42px; text-align: center; color: var(--gdvvs-muted); background: #fff; border: 1px dashed #cfd4df; border-radius: 16px; }

@keyframes gdvvs-pulse { to { transform: scale(.75); opacity: .45; } }

@media (max-width: 1180px) {
    .gdvvs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .gdvvs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .gdvvs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .gdvvs-header { flex-direction: column; border-radius: 18px; }
    .gdvvs-contest-status { align-self: flex-start; }
    .gdvvs-toolbar { align-items: stretch; flex-direction: column; }
    .gdvvs-search { max-width: none; }
    .gdvvs-entry-count { padding-left: 4px; }
    .gdvvs-group-list { gap: 30px; }
    .gdvvs-group-heading { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px; }
    .gdvvs-group-count { margin-top: 2px; }
    .gdvvs-grid { grid-template-columns: 1fr; gap: 18px; }
    .gdvvs-card-body { padding: 18px; }
}
