﻿body {
}

.homepage-shell-clean {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px;
}

.home-tile-grid {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 6px;
}

.home-tile {
    min-height: 54px;
    border: 1px solid #bfc9d8;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .home-tile::before,
    .home-tile::after {
        content: none !important;
    }

    .home-tile * {
        background-image: none !important;
    }

.tile::before {
    content: "+" !important;
    font-size: 18px;
    color: #4d86d8;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.tile {
    position: relative;
}

.tile-label-main {
    display: none;
}

.tile::after {
    content: none !important;
    display: none !important;
}

.tile-community-tile {
    font-size: 34px !important;
    font-weight: 700 !important;
    color: #3f6b36 !important;
    text-align: center !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
}

.tile-status-row {
    margin-top: 10px !important;
}

div.tile-community-tile {
    font-size: 36px !important;
    font-weight: bold !important;
    color: #3f6b36 !important;
    text-align: center !important;
    display: block !important;
    margin: 12px 0 !important
}

body {
    background: #dfeaf6;
}

.homepage-shell-clean {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px;
}

.boxed-panel {
    background: #ffffff;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    padding: 14px;
    margin-bottom: 18px;
}

.tile-status-row {
    text-align: center;
    margin: 4px 0 6px;
}

.tile-status-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.tile-community-title {
    font-size: 30px;
    font-weight: 700;
    color: #3f6b42;
    margin: 0 line-height: 1.1;
}

.tile-counter-note {
    color: #4f6476;
    font-size: 15px;
    margin: 0 line-height: 1.1;
}

.tile-counter {
    font-size: 22px;
    font-weight: 700;
    color: #2f5f9c;
    margin: 0;
    line-height: 1.1
}

.tile-status-row::after {
    content: "";
    display: block;
    width: 60%;
    height: 1px;
    margin: 10px auto 6px;
    background: rgba(0,0,0,0.08);
}

.home-tile-grid {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 5px;
    background: linear-gradient(to bottom, #8c959f 0%, #79828c 100%);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #6f7882;
    box-shadow: inset 0 1px 2px rgba(255,255,255,.18);
}

.home-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-height: 48px;
    border: 1px solid #cfc7b6;
    border-radius: 4px;
    text-decoration: none;
    background: linear-gradient(to bottom, #f8f4e8 0%, #eee7d6 100%);
    color: #5d74bf;
    text-align: center;
    padding: 2px;
    overflow: hidden;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 1px 1px rgba(0,0,0,.06);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .home-tile:hover {
        transform: translateY(-1px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 2px 5px rgba(0,0,0,.12);
    }

.available-tile {
    background: linear-gradient(to bottom, #f7f2e5 0%, #eee6d3 100%);
    color: #6580cf;
    font-weight: 700;
}

    .available-tile:hover {
        border-color: #95a8d8;
        background: linear-gradient(to bottom, #fbf7ed 0%, #f2ebdb 100%);
    }

.reserved-tile {
    background: linear-gradient(to bottom, #e5dece 0%, #d8d0bf 100%);
    color: #4c5ea3;
    font-weight: 700;
}

    .reserved-tile:hover {
        border-color: #8d95b6;
    }

.tile-label-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tile-label-main {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1px;
}

.available-tile .tile-label-main {
    font-size: 18px;
    line-height: 1;
    color: #6d84cf;
}

.reserved-tile .tile-label-main {
    font-size: 10px;
    line-height: 1.05;
}

.tile-help-text {
    text-align: center;
    margin: 12px 0 0;
    color: #5f6670;
    font-size: 13px;
}

.promo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

    .promo-strip span {
        position: relative;
        top: -2px;
    }

.promo-ball-wrap {
    margin-bottom: 8px;
}

.promo-ball {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.promo-red {
    color: #b25a5a;
    margin-right: 8px;
}

.promo-blue {
    color: #5d85d8;
}

.home-link-columns {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 0.9fr;
    gap: 18px;
    margin-bottom: 18px;
}

.link-panel h3 {
    margin-top: 0;
    font-size: 20px;
    color: #444;
}

.link-panel ul {
    margin: 0;
    padding-left: 18px;
}

.link-panel li {
    margin-bottom: 8px;
}

.events-mini-box {
    margin-top: 14px;
    background: #C6F4EE;
    border: 1px solid #b8d6de;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.scroll-news-box strong {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.news-scroll-content {
    max-height: 140px;
    overflow-y: auto;
    padding-right: 6px;
    text-align: center;
}

.panel-main-link {
    color: #4f79d8;
    text-decoration: underline;
    font-weight: 700;
}

    .panel-main-link:hover {
        color: #3f68c8;
    }

.plain-list li {
    color: #444;
}

.plain-list a {
    text-decoration: none;
}

.subhead {
    margin-top: 18px;
}

.home-bottom-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

    .home-bottom-columns h4 {
        margin-top: 0;
        margin-bottom: 10px;
        color: #444;
        font-size: 18px;
    }

    .home-bottom-columns ul {
        margin: 0;
        padding-left: 18px;
    }

    .home-bottom-columns li {
        margin-bottom: 8px;
    }



@media (max-width: 1100px) {
    .home-link-columns,
    .home-bottom-columns {
        grid-template-columns: 1fr;
    }

    .home-tile-grid {
        grid-template-columns: repeat(10, 1fr);
    }
}

@media (max-width: 700px) {
    .home-tile-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

a {
    color: #1a73e8;
}

    a:visited {
        color: #1a73e8;
    }

.promo-ball-inline {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0;
    vertical-align: middle;
    position: static;
    padding: 0;
    display: inline-block;
}

.affiliates-banner {
    background: #eef7fb;
    border: 1px solid #d7e7ee;
    border-radius: 10px;
    padding: 14px 16px 16px;
    margin-top: 18px;
    text-align: center;
}

.affiliates-main-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer-ball-link,
.footer-localpro-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-ball-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    transition: transform .18s ease, filter .18s ease;
}

.footer-localpro-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform .18s ease, filter .18s ease;
}

.footer-ball-link:hover .footer-ball-logo,
.footer-localpro-link:hover .footer-localpro-logo {
    transform: translateY(-1px) scale(1.03);
    filter: brightness(1.03);
}

.footer-affiliate-link {
    color: #2460b8;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.3px;
}

    .footer-affiliate-link:hover {
        text-decoration: underline;
        color: #1a4fa3;
    }

.footer-affiliate-text {
    color: #4CAF50;
    font-size: 16px;
    font-weight: 600;
}

.affiliate-icon-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.affiliate-icon-box {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #d7e1ea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

    .affiliate-icon-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(0,0,0,.14);
        border-color: #9fc3ea;
        background: #f8fbff;
    }

    .affiliate-icon-box img {
        max-width: 72%;
        max-height: 72%;
        object-fit: contain;
        display: block;
    }
}
.tile-label-main {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: inherit;


    .home-tile {
        color: #2d72b8 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    .reserved-tile {
        color: #555 !important;
    }

    .reference-menu {
        background: #f8ffff;
        border: 1px solid #cdeef7;
        border-radius: 6px;
        padding: 10px;
        text-align: center;
        margin: 14px 0 18px 0;
    }

    .reference-box {
        background: #ffffff;
        border: 1px solid #cdeef7;
        border-radius: 8px;
        padding: 18px 22px;
        margin-bottom: 18px;
    }

        .reference-box h2 {
            color: #1f5f8f;
            margin-top: 0;
            margin-bottom: 14px;
        }

    .reference-row {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 12px;
        padding: 7px 0;
        border-bottom: 1px solid #edf3f5;
    }

        .reference-row:last-child {
            border-bottom: none;
        }

    .rolling-news-box {
        position: relative;
        overflow: hidden;
        background: #f8fcff;
    }

    .rolling-news-help {
        position: absolute;
        bottom: 6px;
        left: 10px;
        font-size: 12px;
        color: #777;
        background: rgba(255,255,255,0.85);
        padding: 2px 6px;
        border-radius: 4px;
    } 
