
/* ================================================================
   ZILLA TOWNSHIP — BUILDER BRANDING
   ================================================================ */

.builder-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 64px;

    margin: 5px 0 7px;
    padding: 7px 12px;

    border-radius: 7px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.99),
            rgba(238,240,236,.98)
        );

    border:
        1px solid rgba(0,0,0,.24);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.8),
        0 3px 8px rgba(0,0,0,.25);
}

.builder-brand-card img {
    display: block;

    width: auto;
    max-width: 190px;

    height: auto;
    max-height: 48px;

    object-fit: contain;
}

.builder-logo-missing {
    color: #26322a;
    font-size: 14px;
    font-weight: 900;
}

.builder-map-logo {
    pointer-events: none;
}

.builder-map-logo-bg {
    fill: rgba(255,255,255,.97);
    stroke: #303030;
    stroke-width: 2;
}

.builder-source-note {
    margin-top: 7px;
    padding-top: 6px;

    border-top:
        1px solid rgba(255,255,255,.08);

    color: #87948a;

    font-size: 9px;
    line-height: 1.35;
}


/* ================================================================
   INSTRUCTIONS BUTTON
   ================================================================ */

.zilla-help-button {
    min-height: 44px;

    padding: 9px 16px;

    border: 1px solid #f0d47c;
    border-radius: 7px;

    background:
        linear-gradient(
            #efd37d,
            #b98b32
        );

    color: #172016;

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(0,0,0,.32);

    white-space: nowrap;
}

.zilla-help-button:hover {
    filter: brightness(1.08);
}


/* ================================================================
   INSTRUCTIONS MODAL
   ================================================================ */

.zilla-help-overlay {
    position: fixed;
    inset: 0;

    z-index: 100000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        rgba(4,10,6,.84);

    backdrop-filter: blur(7px);
}

.zilla-help-overlay.open {
    display: flex;
}

.zilla-help-window {
    position: relative;

    width: min(1050px, 96vw);
    max-height: 91vh;

    overflow: auto;

    border-radius: 14px;

    border:
        2px solid rgba(225,186,98,.85);

    color: #f6efd9;

    background:
        linear-gradient(
            rgba(12,24,16,.94),
            rgba(12,24,16,.96)
        ),
        url("/static/ztwall.png");

    background-size: cover;
    background-position: center;

    box-shadow:
        0 20px 70px rgba(0,0,0,.65);
}

.zilla-help-header {
    position: sticky;
    top: 0;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 15px 18px;

    background:
        rgba(8,17,11,.96);

    border-bottom:
        2px solid #cfa94e;
}

.zilla-help-logo {
    display: block;

    width: 190px;
    max-height: 82px;

    object-fit: contain;
}

.zilla-help-close {
    width: 44px;
    height: 44px;

    border: 1px solid #806f43;
    border-radius: 50%;

    background: #26372a;
    color: white;

    cursor: pointer;

    font-size: 25px;
    line-height: 1;
}

.zilla-help-content {
    padding: 20px;
}

.zilla-help-title {
    margin: 0 0 4px;

    color: #f1d27b;

    font-size: 29px;
}

.zilla-help-intro {
    margin-bottom: 18px;

    color: #d1dbcf;

    font-size: 14px;
    line-height: 1.55;
}

.zilla-guide-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 12px;
}

.zilla-guide-section {
    padding: 14px 15px;

    border:
        1px solid rgba(205,181,108,.30);

    border-radius: 9px;

    background:
        rgba(18,33,22,.91);

    box-shadow:
        0 4px 13px rgba(0,0,0,.18);
}

.zilla-guide-section h3 {
    margin: 0 0 8px;

    color: #e8c86c;

    font-size: 15px;
}

.zilla-guide-section p {
    margin: 0 0 7px;

    color: #cbd5ca;

    font-size: 12px;
    line-height: 1.5;
}

.zilla-guide-section ul {
    margin: 8px 0 0;
    padding-left: 20px;

    color: #cbd5ca;

    font-size: 12px;
    line-height: 1.55;
}

.zilla-guide-tip {
    margin-top: 14px;

    padding: 13px 15px;

    border-left:
        4px solid #ddb955;

    background:
        rgba(28,39,24,.94);

    color: #e5e5d6;

    font-size: 12px;
    line-height: 1.55;
}

@media(max-width: 760px) {

    .zilla-guide-grid {
        grid-template-columns: 1fr;
    }

    .zilla-help-header {
        align-items: flex-start;
    }

    .zilla-help-logo {
        width: 145px;
    }

}



/* ================================================================
   LGI VISIBILITY FIX
   ================================================================ */

.builder-brand-card img[src*="lgi-game.svg"] {
    max-height: 52px;
}

#builderSign rect {
    fill: #f7f9fb !important;
}

