:root {
    --bg: #fff7fb;
    --bg-soft: #fdeef6;
    --card: #ffffff;
    --card-2: #fff0f7;
    --border: #f0d9e8;
    --ink: #2a1d33;
    --text: #3a2c44;
    --muted: #8c7d97;
    --accent: #7c3aed;     /* violeta */
    --accent-2: #ec4899;   /* rosa */
    --accent-3: #fb923c;   /* naranja */
    --ok: #16a34a;
    --warn: #d97706;
    --bad: #e11d48;
    --grad: linear-gradient(120deg, #7c3aed 0%, #ec4899 55%, #fb923c 100%);
    --shadow: 0 18px 40px rgba(124, 58, 237, .14);
    --shadow-sm: 0 8px 22px rgba(124, 58, 237, .10);
    --radius: 22px;
    --radius-sm: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---------- Blobs de fondo ---------- */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; filter: blur(70px); }
.blob { position: absolute; border-radius: 50%; opacity: .42; }
.blob-1 { width: 420px; height: 420px; background: #c4b5fd; top: -120px; left: -80px; }
.blob-2 { width: 380px; height: 380px; background: #fbcfe8; top: 10%; right: -100px; }
.blob-3 { width: 360px; height: 360px; background: #fed7aa; bottom: -120px; left: 30%; }

.app {
    max-width: 900px;
    margin: 0 auto;
    padding: 44px 20px 80px;
}

/* ---------- Topbar (login) ---------- */
.topbar { display: flex; justify-content: flex-end; align-items: center; min-height: 44px; margin-bottom: 8px; }

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform .12s ease, box-shadow .12s ease;
}
.btn-login:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-login:active { transform: scale(.97); }

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 5px 6px 5px 6px;
    box-shadow: 3px 3px 0 var(--ink);
}
.user-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.user-chip .user-name { font-weight: 700; font-size: 14px; color: var(--ink); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 2px; }
.user-chip .logout {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--ink);
    border-radius: 999px;
    padding: 5px 12px;
    text-decoration: none;
}
.user-chip .user-cuenta {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    padding: 5px 12px;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
}
.user-chip .user-cuenta:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.user-chip .logout:hover { background: var(--accent); }

/* ---------- Panel Mi cuenta ---------- */
.modal-cuenta { max-width: 520px; }
.cuenta-sub { color: var(--muted); font-size: 14.5px; margin: -8px 0 18px; }
.cuenta-error {
    background: #ffe4e6;
    border: 2px solid var(--ink);
    color: #9f1239;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}
.cuenta-error[hidden] { display: none !important; }
.cuenta-lista { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; }
.cuenta-loading, .cuenta-vacio { color: var(--muted); font-size: 14.5px; text-align: center; padding: 24px 12px; }
.informe-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: var(--bg-soft);
    border: 2px solid var(--ink);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform .1s ease, box-shadow .1s ease;
}
.informe-item:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.informe-item-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.informe-item-tit { font-weight: 800; font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.informe-item-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.informe-item-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.informe-item-tipo {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    background: #fff;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    padding: 2px 8px;
    color: var(--ink);
}
.informe-item-fecha { font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }

.hist-badge {
    background: #fff;
    border: 2px dashed var(--accent);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
}
.hist-badge--new {
    border-style: solid;
    border-color: var(--ok);
    background: #dcfce7;
    color: #166534;
}

/* ---------- Modal de autenticación ---------- */
.modal-overlay[hidden],
.modal-form[hidden] { display: none !important; }

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(42, 29, 51, .55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn .18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--card);
    border: 2.5px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 8px 8px 0 var(--ink);
    padding: 28px 26px 26px;
    animation: popIn .2s ease;
}
@keyframes popIn { from { transform: translateY(10px) scale(.98); opacity: .6; } to { transform: none; opacity: 1; } }

.modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 30px; height: 30px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}
.modal-close:hover { background: var(--bg-soft); }

.modal-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.modal-logo img {
    height: 69px;
    width: auto;
    display: block;
}

.modal-tabs {
    display: flex;
    gap: 6px;
    background: var(--bg-soft);
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 20px;
    width: fit-content;
}
.modal-tab {
    border: none;
    background: transparent;
    padding: 7px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
}
.modal-tab.is-active { background: var(--ink); color: #fff; }

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 18px;
}

.modal-error {
    background: #fde8ee;
    border: 2px solid var(--bad);
    color: #9f1239;
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.modal-form input {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color .12s ease;
}
.modal-form input:focus { border-color: var(--accent); }

.modal-submit {
    margin-top: 4px;
    border: none;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    font-size: 15.5px;
    padding: 13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform .12s ease, filter .12s ease;
}
.modal-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.modal-submit:disabled { opacity: .65; cursor: progress; }

.modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin: 18px 0;
}
.modal-divider::before, .modal-divider::after {
    content: '';
    flex: 1;
    border-top: 2px dashed var(--border);
}
.modal-divider span { padding: 0 12px; font-weight: 700; }

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #fff;
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform .12s ease, box-shadow .12s ease;
}
.btn-google:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }

/* ---------- Hero ---------- */
.hero { text-align: center; }

.brand-logo {
    display: inline-flex;
    align-items: center;
}
.brand-logo img {
    height: 83px;
    width: auto;
    display: block;
}
.logo { font-size: 20px; line-height: 1; }

.hero h1 {
    margin: 22px 0 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(30px, 6.2vw, 52px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--ink);
}

.subtitle {
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 30px;
    font-size: 16.5px;
}
.subtitle strong { color: var(--accent); font-weight: 700; }

/* ---------- Search ---------- */
.search {
    display: flex;
    gap: 10px;
    max-width: 580px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 9px;
    box-shadow: 6px 6px 0 var(--ink);
}
.search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
    padding: 12px 16px;
    letter-spacing: .3px;
}
.search input::placeholder { color: #b6a6c0; font-weight: 500; }

.search button {
    border: none;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    font-size: 15.5px;
    padding: 0 26px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.search button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.search button:active { transform: scale(.97); }
.search button:disabled { opacity: .65; cursor: progress; }

.hint { color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* ---------- Resultado ---------- */
.resultado { margin-top: 40px; display: grid; gap: 18px; }

.identity-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    background: var(--grad);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 22px 24px;
    color: #fff;
    box-shadow: 6px 6px 0 var(--ink);
}
.identity-bar .name { font-size: 22px; font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.identity-bar .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; opacity: .95; }
.identity-bar .meta b { font-weight: 700; }

.card {
    background: var(--card);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 5px 5px 0 rgba(42, 29, 51, .9);
    transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(42, 29, 51, .9); }

.card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 2px dashed var(--border);
    background: var(--card-2);
}
.card-head h3 { font-size: 16px; font-weight: 800; flex: 1; color: var(--ink); font-family: 'Space Grotesk', sans-serif; }

.pill {
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
    border: 1.5px solid currentColor;
}
.pill.ok    { background: #dcfce7; color: var(--ok); }
.pill.vacio { background: #f1edf5; color: var(--muted); }
.pill.error { background: #ffe4e6; color: var(--bad); }

.card-body { padding: 20px; }
.card-body .empty { color: var(--muted); font-size: 14.5px; }

/* Tabla */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; }
tr:last-child td { border-bottom: none; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr { transition: background .12s ease; }
tbody tr:hover { background: var(--bg-soft); }

/* Badges de situación */
.sit { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.sit-1 { background: #dcfce7; color: var(--ok); }
.sit-2 { background: #fef3c7; color: var(--warn); }
.sit-3, .sit-4, .sit-5, .sit-6 { background: #ffe4e6; color: var(--bad); }

/* Grid de datos clave-valor */
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.kv .item label { display: block; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; font-weight: 700; }
.kv .item span { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.tag-ok { color: var(--ok); }
.tag-muted { color: var(--muted); font-weight: 500; }

.note { margin-top: 16px; font-size: 13px; color: var(--muted); border-top: 2px dashed var(--border); padding-top: 13px; }
.note code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: 12px; }

.subt { margin: 18px 0 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.subt small { text-transform: none; letter-spacing: 0; font-weight: 600; }
ul.lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
ul.lista li { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
ul.lista li small { color: var(--muted); font-weight: 500; }
ul.lista li .star { color: var(--accent); }

ul.menciones { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
ul.menciones .mencion { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.mencion-top { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.mencion-link { font-size: 15px; font-weight: 800; color: var(--accent); text-decoration: none; line-height: 1.3; }
.mencion-link:hover { text-decoration: underline; }
.mencion-tipo { flex: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 9px; }
.mencion-dom { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.mencion-snip { margin: 8px 0 0; font-size: 13.5px; color: var(--ink); line-height: 1.45; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.chip-emp { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 5px 13px; font-size: 13.5px; font-weight: 800; color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }

.perfiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.perfil { display: flex; align-items: center; gap: 11px; background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 13px; text-decoration: none; transition: transform .08s ease, border-color .08s ease; }
.perfil:hover { transform: translateY(-2px); border-color: var(--accent); }
.perfil-ico { font-size: 21px; line-height: 1; }
.perfil-txt { display: flex; flex-direction: column; min-width: 0; }
.perfil-red { font-size: 14px; font-weight: 800; color: var(--ink); }
.perfil-user { font-size: 12.5px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.foto { position: relative; display: block; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; box-shadow: 3px 3px 0 var(--ink); transition: transform .08s ease; }
.foto:hover { transform: translateY(-2px); }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-src { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Avatar en la barra de identidad */
.identity-avatar {
    width: 56px; height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 2.5px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    flex-shrink: 0;
}

/* Perfil de Gravatar */
.gravatar { display: flex; gap: 16px; align-items: flex-start; }
.gravatar-pic {
    width: 92px; height: 92px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2.5px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    flex-shrink: 0;
}
.gravatar-info { flex: 1; min-width: 0; }
.gravatar-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; }
.gravatar-name small { color: var(--muted); font-weight: 500; font-size: 13px; }
.gravatar-row { margin-top: 5px; font-size: 14px; color: var(--muted); }
.gravatar-row a { color: var(--accent); font-weight: 700; text-decoration: none; }
.gravatar-row a:hover { text-decoration: underline; }
.gravatar-bio { margin-top: 9px; font-size: 14px; line-height: 1.5; }

.redes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.red {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px;
    background: var(--bg-soft);
    border: 2px solid var(--ink);
    border-radius: 999px;
    box-shadow: 2px 2px 0 var(--ink);
    font-weight: 700; font-size: 13.5px;
    color: var(--ink); text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
}
.red:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.red img { width: 18px; height: 18px; }

/* Foto del frente (Google Street View) */
.streetview {
    margin: 18px 0 0;
    border: 2.5px solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 5px 5px 0 var(--ink);
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}
.streetview.ready { opacity: 1; transform: none; }
.streetview img { display: block; width: 100%; height: auto; }
.streetview figcaption {
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg-soft);
    border-top: 2px dashed var(--border);
}

/* Loader */
.loader { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 50px 0; color: var(--muted); font-weight: 600; }
.spinner {
    width: 42px; height: 42px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-right-color: var(--accent-2);
    border-radius: 50%;
    animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.alert {
    background: #ffe4e6;
    border: 2px solid var(--ink);
    color: #9f1239;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 4px 4px 0 var(--ink);
}

.footer { margin-top: 56px; text-align: center; color: var(--muted); font-size: 13px; }
.footer p { max-width: 620px; margin: 0 auto; }
.footer strong { color: var(--accent); }

.candidatos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.candidatos code { background: var(--bg-soft); border: 1.5px solid var(--border); padding: 5px 10px; border-radius: 999px; font-size: 13px; color: var(--accent); font-weight: 700; }

/* ---------- Muro de acceso (login para ver) ---------- */
.gate {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 2.5px dashed var(--accent);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
}
.gate-ico { font-size: 26px; line-height: 1; }
.gate-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.gate-txt strong { color: var(--ink); font-size: 15.5px; }
.gate-txt span { color: var(--muted); font-size: 13.5px; }
.gate-btn, .locked-btn {
    flex: none;
    border: none;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--ink);
    transition: transform .12s ease, filter .12s ease;
}
.gate-btn:hover, .locked-btn:hover { transform: translate(-1px, -1px); filter: brightness(1.05); }

/* Cuerpo de tarjeta bloqueada: contenido fantasma + overlay con candado */
.locked { position: relative; min-height: 130px; }
.locked-ghost { display: flex; flex-direction: column; gap: 12px; filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.locked-ghost .gl { height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--card-2), var(--bg-soft)); }
.locked-ghost .gl-1 { width: 70%; }
.locked-ghost .gl-2 { width: 92%; }
.locked-ghost .gl-3 { width: 55%; }
.locked-ghost .gl-4 { width: 80%; }
.locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 10px;
}
.locked-ico { font-size: 30px; line-height: 1; }
.locked-overlay p { color: var(--ink); font-weight: 700; font-size: 14.5px; max-width: 320px; }

@media (max-width: 560px) {
    .gate { flex-direction: column; text-align: center; }
    .search { flex-direction: column; }
    .search button { padding: 14px; }
    .kv { grid-template-columns: 1fr; }
    table { font-size: 13px; }
    th, td { padding: 9px 8px; }
    .card:hover { transform: none; }
}
