.content.om-gate {
    max-width: 860px;
    padding: 3.5rem 1.5rem 5rem;
}

.om-gate-hero {
    text-align: left;
}

.om-gate-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d16487;
    margin: 0 0 0.75rem;
}

.om-gate-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 0.75rem;
    line-height: 1.1;
}

.om-gate-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 0 2rem;
    max-width: 640px;
}

.om-gate-card {
    background: #fdf3f7;
    border: 1px solid #f7d9e4;
    color: var(--text-primary);
    border-radius: 12px;
    padding: 2rem;
}

.om-gate-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    letter-spacing: -0.3px;
}

.om-gate-card p {
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.om-gate-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.om-gate-row input[type="email"],
.om-gate-row input[type="text"] {
    flex: 1;
    min-width: 220px;
    width: auto;
    background: #ffffff;
    border: 1px solid #e6c3d1;
    color: var(--text-primary);
    padding: 0.85rem 1rem;
}

.om-gate-row input[type="email"]:focus,
.om-gate-row input[type="text"]:focus {
    border-color: #d16487;
    box-shadow: 0 0 0 3px rgba(209, 100, 135, 0.12);
}

.om-gate-row button,
.om-gate-button {
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    background: #000000;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.om-gate-row button:hover,
.om-gate-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(209, 100, 135, 0.25);
}

.om-gate-error {
    color: #b3405f;
    font-size: 0.9rem;
    margin: 0.75rem 0 0;
}

.om-gate-welcome {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.om-gate-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.om-gate-switch {
    margin: 0;
}

.om-gate-switch button {
    background: none;
    border: none;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.om-gate-switch button:hover {
    color: #d16487;
}

.om-gate-section {
    margin-top: 3.5rem;
}

.om-gate-section h2 {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #f7cede;
    padding-bottom: 0.3rem;
    margin: 0 0 1.25rem;
}

.om-gate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.om-gate-tile {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    background: var(--bg-card);
}

.om-gate-tile h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    letter-spacing: -0.2px;
}

.om-gate-tile p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.om-gate-steps {
    padding-left: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.om-gate-steps li {
    margin-bottom: 0.75rem;
}

.om-gate-steps strong {
    color: var(--text-primary);
}

.om-gate-board {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.om-gate-board th,
.om-gate-board td {
    text-align: left;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.om-gate-board th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .om-gate-hero h1 {
        font-size: 2rem;
    }

    .om-gate-row input[type="email"],
    .om-gate-row button {
        width: 100%;
        min-width: 100%;
    }
}

/* ---------- Ranking ---------- */

.om-ranking-hero .om-gate-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.om-ranking-filter { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #555555; }
.om-ranking-filter select { font: inherit; font-size: 0.85rem; padding: 0.45rem 0.6rem; border: 1px solid #cfcfcf; border-radius: 8px; background: #ffffff; color: #000000; }
.om-ranking-note { font-size: 0.85rem; color: #555555; max-width: 760px; margin: 0 auto 0.8rem; text-align: center; }
.om-ranking-scroll { overflow-x: auto; }
.om-ranking-table { min-width: 720px; }
.om-ranking-table th.num, .om-ranking-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.om-ranking-table tr.you td { background: #fdf3f7; }
.om-ranking-you { display: inline-block; margin-left: 0.3rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: #e6f4ec; color: #1a7a4a; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.om-ranking-dash { color: #bdbdbd; }
.om-ranking-status, .om-ranking-arch { color: #555555; font-size: 0.82rem; white-space: nowrap; }
.om-ranking-final strong { color: #000000; }

.om-gate-row-name { margin-top: 0.5rem; }
.om-gate-row-name input { flex: 1; }
.om-gate-hint { font-size: 0.78rem; color: #555555; margin: 0.5rem 0 0; }
.om-gate-link { display: inline-flex; align-items: center; padding: 0.55rem 0.9rem; font-weight: 600; font-size: 0.85rem; color: #000000; text-decoration: underline; text-decoration-color: #f7d9e4; text-underline-offset: 3px; }
.om-gate-link:hover { text-decoration-color: #d16487; }
.om-ranking-table { margin-bottom: 0.9rem; }
