body .be-app{background:#241336;color:#fff;padding:24px;border-radius:16px;max-width:1100px;margin:20px auto;font-family:Arial,sans-serif}.be-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:20px}.be-card{display:block;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:14px;padding:18px;color:#fff;text-decoration:none}.be-card:hover{background:rgba(255,255,255,.14)}.be-box{padding:20px;border-radius:12px;background:#241336;color:#fff}

.be-form input,
.be-form select {
    width: 100%;
    max-width: 420px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.be-form label {
    font-weight: bold;
}

.be-button {
    display: inline-block;
    background: #03918B;
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 10px;
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

.be-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.be-table th,
.be-table td {
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding: 10px;
    text-align: left;
}

.be-notice {
    padding: 12px;
    border-radius: 10px;
    margin: 12px 0;
}

.be-success {
    background: rgba(3,145,139,0.3);
}

.be-error {
    background: rgba(190,40,40,0.35);
}

.be-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    align-items: end;
}

.be-slot-card {
    display: none;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    padding: 16px;
    margin: 14px 0;
}

.be-slot-card.be-slot-active {
    display: block;
}

.be-slot-title {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 10px;
    color: #f8d56b;
}

.be-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.be-button-secondary {
    background: rgba(255,255,255,0.14);
}

.be-slot-summary {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.be-slot-summary span {
    display: inline-block;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
}

.be-form small,
.be-slot-card small {
    display: block;
    opacity: 0.82;
    margin-top: 8px;
}


/* =========================================
   Business Empire v1.0.5 - Visibility Fix
   Fix dark text on dark purple panels caused by theme styles.
========================================= */
.be-app,
.be-app * {
    color: #ffffff !important;
    box-sizing: border-box;
}

.be-app h1,
.be-app h2,
.be-app h3,
.be-app h4,
.be-app h5,
.be-app h6,
.be-app label,
.be-app p,
.be-app span,
.be-app strong,
.be-app small,
.be-app th,
.be-app td {
    color: #ffffff !important;
}

.be-app .be-slot-title {
    color: #f8d56b !important;
}

.be-app .be-form label,
.be-app .be-form-grid label,
.be-app .be-slot-card label {
    color: #f3ecff !important;
    opacity: 1 !important;
}

.be-app input,
.be-app select,
.be-app textarea {
    background: rgba(255,255,255,0.10) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
}

.be-app input::placeholder,
.be-app textarea::placeholder {
    color: rgba(255,255,255,0.70) !important;
    opacity: 1 !important;
}

.be-app select option {
    color: #111111 !important;
    background: #ffffff !important;
}

.be-app a {
    color: #7ee7ff !important;
}

.be-app a:hover,
.be-app a:focus {
    color: #ffffff !important;
}

.be-app .be-table,
.be-app .be-table th,
.be-app .be-table td {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.22) !important;
}

.be-app .be-slot-summary span {
    color: #ffffff !important;
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.18) !important;
}

.be-app .be-button,
.be-app button,
.be-app input[type="submit"] {
    color: #ffffff !important;
}

/* =========================================
   Business Empire v1.0.6 - Invitations UI
========================================= */
.be-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.be-inline-form {
    display: inline-block;
    margin: 3px 4px 3px 0;
}

.be-button-small {
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
}

.be-button-danger {
    background: #9b1c31 !important;
}

.be-action-note {
    display: inline-block;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 12px;
}
/* Business Empire v1.0.7 - Foundation round */
.be-game-meta{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 18px}.be-game-meta span,.be-player-status{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15);border-radius:10px;padding:10px}.be-foundation-intro{background:rgba(3,145,139,.18);border:1px solid rgba(126,231,255,.28);border-radius:14px;padding:16px;margin:14px 0}.be-player-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.be-foundation-form{background:rgba(255,255,255,.06);padding:16px;border-radius:14px}


/* Business category grouping in Foundation Round */
.be-field-help { display:block; margin-top:8px; color:rgba(255,255,255,.78) !important; font-size:13px; }

/* Business Empire v1.0.11 - Align Foundation Round fields */
.be-foundation-form .be-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}
.be-foundation-form .be-form-grid > p {
    margin: 0;
}
.be-foundation-form .be-form-grid label,
.be-foundation-form .be-form-grid select {
    width: 100%;
}
@media (max-width: 760px) {
    .be-foundation-form .be-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Business Empire v1.0.12 - Player profile basics */
.be-profile-intro { margin-bottom: 18px; }
.be-profile-form { max-width: 900px; }
.be-profile-form .be-form-grid { align-items: start; }
.be-profile-form .be-form-grid > p { margin: 0; }
.be-profile-form input { max-width: none; }
.be-profile-email { margin: 18px 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }


/* Business Empire v1.0.17 - city category-first selector */
.be-foundation-form .be-form-grid { grid-template-columns: 1fr 1fr; }
.be-city-picker-wrap { grid-column: 1 / -1; margin: 0 0 8px; }
.be-city-picker-label { display:block; margin-bottom: 10px; }
.be-city-category-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:10px; }
.be-city-category-tab { border:1px solid rgba(255,255,255,.20); background:rgba(255,255,255,.07); color:#fff !important; border-radius:10px; padding:10px 14px; cursor:pointer; font-weight:700; }
.be-city-category-tab span { display:block; font-size:12px; opacity:.78; margin-top:2px; }
.be-city-category-tab.is-active { background:#03918B; border-color:#7ee7ff; }
.be-city-picker-help { font-size:13px; margin:0 0 12px; opacity:.86; }
.be-city-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.be-city-card { min-height:120px; text-align:left; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.07); border-radius:12px; padding:12px; cursor:pointer; color:#fff !important; transition:transform .12s ease, background .12s ease, border-color .12s ease; }
.be-city-card:hover { transform:translateY(-2px); background:rgba(255,255,255,.13); border-color:#7ee7ff; }
.be-city-card.is-selected { background:rgba(3,145,139,.34); border-color:#7ee7ff; box-shadow:0 0 0 2px rgba(126,231,255,.20); }
.be-city-card strong,.be-city-card span { display:block; color:#fff !important; }
.be-city-country { margin-top:4px; font-size:12px; opacity:.78; }
.be-city-type { margin-top:8px; color:#f8d56b !important; font-size:12px; font-weight:700; }
.be-city-bonus { margin-top:6px; font-size:12px; line-height:1.35; }
.be-selected-city { margin:12px 0 0; padding:10px 12px; border-radius:10px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); }
.be-selected-city.has-selection { background:rgba(3,145,139,.25); border-color:rgba(126,231,255,.35); }
@media (max-width: 980px) { .be-city-grid{grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width: 680px) { .be-foundation-form .be-form-grid{grid-template-columns:1fr;} .be-city-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }

/* City cards appear only after the player selects a category. */
.be-city-grid[hidden] { display:none !important; }

/* v1.0.16 — Κανονικός γύρος */
.be-round-header{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 20px;margin:18px 0;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);border-radius:14px}.be-round-header h3{margin:3px 0 0}.be-round-header span{color:#efe5ff}.be-round-progress{text-align:right;display:flex;flex-direction:column}.be-round-progress strong{font-size:1.35em}.be-round-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.be-round-card{border:1px solid rgba(255,255,255,.15);background:rgba(0,0,0,.13);border-radius:14px;padding:18px}.be-round-card h3{margin-top:0}.be-business-list{margin:0;padding-left:18px}.be-business-list li{margin:0 0 10px}.be-business-list li span{display:block;font-size:.9em;opacity:.82}.be-turn-action{margin:18px 0}.be-turn-action .be-form{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.be-turn-action .be-field-help{margin:0}@media(max-width:700px){.be-round-header{align-items:flex-start;flex-direction:column}.be-round-progress{text-align:left}.be-round-grid{grid-template-columns:1fr}}


/* v1.0.18 — Αγορά επιχειρήσεων */
.be-purchase-card{margin:18px 0;padding:18px;border:1px solid rgba(126,231,255,.28);background:rgba(3,145,139,.10);border-radius:14px}.be-purchase-card h3{margin-top:0}.be-purchase-city-categories{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.be-purchase-city-category{border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.07);border-radius:10px;padding:9px 12px;color:#fff !important;cursor:pointer;font-weight:700}.be-purchase-city-category span{display:block;font-size:11px;opacity:.8;margin-top:2px}.be-purchase-city-category.is-active{background:#03918B;border-color:#7ee7ff}.be-purchase-city-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:10px 0}.be-purchase-city-grid[hidden]{display:none !important}.be-purchase-city-card{padding:11px;text-align:left;min-height:96px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:10px;color:#fff !important;cursor:pointer}.be-purchase-city-card:hover,.be-purchase-city-card.is-selected{border-color:#7ee7ff;background:rgba(3,145,139,.28)}.be-purchase-city-card strong,.be-purchase-city-card span,.be-purchase-city-card small{display:block;color:#fff !important}.be-purchase-city-card span{font-size:12px;opacity:.78;margin-top:4px}.be-purchase-city-card small{font-size:11px;color:#f8d56b !important;margin-top:7px}@media(max-width:980px){.be-purchase-city-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.be-purchase-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v1.0.19: monthly income line */
.be-income-line { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.16); color: #bff8d0 !important; }

/* v1.0.21 — Group score and winner board */
.be-scoreboard { margin: 20px 0; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.05); }
.be-scoreboard h3 { margin-top: 0; }
.be-score-list { list-style: none; padding: 0; margin: 14px 0 0; }
.be-score-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.12); }
.be-score-list li:first-child { border-top: 0; }
.be-score-list .is-current-player { background: rgba(255,255,255,.12); border-radius: 8px; }
.be-score-rank { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); font-weight: 700; }
@media (max-width: 640px) { .be-score-list li { grid-template-columns: 28px 1fr; } .be-score-list li > span:last-child { grid-column: 2; } }

/* v1.0.22 – Bank sale action */
.be-business-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.be-business-list li > div { display:flex; flex-direction:column; gap:3px; }
.be-sale-form { margin:0; flex:0 0 auto; }
.be-button-small { padding:7px 10px; font-size:12px; line-height:1.15; }
.be-button-small small { color:inherit !important; font-size:11px; }
.be-button-danger { background:#7d2648 !important; border-color:#b95179 !important; }
.be-button-danger:hover { background:#9b315c !important; }
@media (max-width: 640px) { .be-business-list li { align-items:flex-start; flex-direction:column; } }

/* v1.0.23 – Business auctions */
.be-sale-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.be-sale-actions input,.be-bid-form input{max-width:120px;padding:7px 8px}.be-auction-list{display:grid;gap:10px}.be-auction-item{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.04)}.be-auction-item span,.be-auction-item small{display:block;margin-top:3px}.be-bid-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}@media(max-width:700px){.be-auction-item{align-items:flex-start;flex-direction:column}}
/* v1.0.24 Bank loans */
.be-loan-card { border-left: 4px solid #f1c55a; }


/* Market event card */
.be-event-card{display:flex;align-items:center;gap:16px;margin:18px 0;padding:18px 20px;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(126,231,255,.10));color:#fff}.be-event-icon{font-size:34px;line-height:1}.be-event-card h3{margin:3px 0 5px;color:#fff!important}.be-event-card p{margin:0;color:#f4edff!important}.be-event-kicker{display:block;font-size:11px;letter-spacing:.08em;font-weight:700;color:#7ee7ff!important}.be-event-modifier{margin-left:auto;white-space:nowrap;font-size:18px;color:#a9f6b8!important}@media(max-width:700px){.be-event-card{align-items:flex-start}.be-event-modifier{font-size:14px}}

/* v1.0.26 – Profile avatar selector and player stats */
.be-profile-summary{display:flex;align-items:center;gap:22px;margin:18px 0 24px;padding:18px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.06)}
.be-avatar-current{width:118px;min-height:118px;border:1px solid rgba(255,255,255,.25);border-radius:14px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:48px}
.be-avatar-current small{font-size:12px;color:#f3ecff}.be-profile-stats{display:flex;gap:12px;flex-wrap:wrap}.be-profile-stats>div{min-width:104px;padding:14px 18px;text-align:center;border-radius:12px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15)}.be-profile-stats strong{display:block;font-size:27px;color:#fff}.be-profile-stats span{font-size:13px;color:#f3ecff}
.be-avatar-modal[hidden]{display:none}.be-avatar-modal{position:fixed;z-index:99999;inset:0;display:flex;align-items:center;justify-content:center;padding:18px}.be-avatar-modal-backdrop{position:absolute;inset:0;background:rgba(15,4,26,.76)}.be-avatar-modal-dialog{position:relative;z-index:1;width:min(560px,100%);padding:26px;border-radius:16px;background:#3b1c56;color:#fff;box-shadow:0 18px 60px rgba(0,0,0,.45)}.be-avatar-modal-dialog h3{margin:0 0 8px;color:#fff}.be-avatar-modal-dialog p{margin:0 0 18px;color:#f3ecff}.be-avatar-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#fff;font-size:30px;cursor:pointer}.be-avatar-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.be-avatar-choice{min-height:70px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.08);font-size:33px;cursor:pointer}.be-avatar-choice:hover,.be-avatar-choice.is-selected{outline:2px solid #7ee7ff;background:rgba(126,231,255,.16)}
@media(max-width:560px){.be-profile-summary{align-items:flex-start;flex-direction:column}.be-avatar-grid{grid-template-columns:repeat(3,1fr)}}


/* v1.0.27 – End turn confirmation and automatic refresh */
.be-waiting-turn { display:flex; flex-direction:column; gap:4px; }
.be-waiting-turn span { font-size:13px; opacity:.9; }
.be-confirm-modal[hidden] { display:none !important; }
.be-confirm-modal { position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:18px; }
.be-confirm-backdrop { position:absolute; inset:0; background:rgba(13,4,24,.78); }
.be-confirm-dialog { position:relative; width:min(500px,100%); padding:25px; border-radius:16px; background:#3b1c56; border:1px solid rgba(255,255,255,.22); box-shadow:0 20px 70px rgba(0,0,0,.5); }
.be-confirm-dialog h3 { margin:0 0 10px; color:#fff !important; }
.be-confirm-dialog p { margin:0; color:#f3ecff !important; line-height:1.55; }
.be-confirm-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; flex-wrap:wrap; }
.be-button-secondary { background:rgba(255,255,255,.10) !important; border-color:rgba(255,255,255,.24) !important; }
.be-button-secondary:hover { background:rgba(255,255,255,.18) !important; }

/* v1.0.28 notifications */
.be-notifications-card{margin:18px 0 24px;padding:16px;border:1px solid rgba(255,255,255,.17);border-radius:14px;background:rgba(255,255,255,.06)}.be-notifications-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.be-notifications-heading h3{margin:0;color:#fff!important}.be-notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#7ee7ff;color:#2a0c42!important;font-size:12px}.be-notifications-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}.be-notifications-list li{padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.04);border-left:3px solid rgba(255,255,255,.20)}.be-notifications-list li.is-unread{border-left-color:#7ee7ff;background:rgba(126,231,255,.10)}.be-notifications-list strong,.be-notifications-list span,.be-notifications-list small{display:block;color:#fff!important}.be-notifications-list span{margin-top:3px;color:#eee4ff!important}.be-notifications-list small{margin-top:5px;opacity:.7}.be-text-button{background:transparent;border:0;color:#7ee7ff!important;cursor:pointer;padding:0}.be-empty-notifications{margin:10px 0 0}


/* v1.0.29 – Instructions popup */
.be-guide-card{font:inherit;text-align:left;cursor:pointer}.be-guide-card span,.be-guide-card small{display:block;color:#fff!important}.be-guide-card small{margin-top:5px;color:#efe5ff!important}.be-guide-modal[hidden]{display:none!important}.be-guide-modal{position:fixed;z-index:100001;inset:0;display:flex;align-items:center;justify-content:center;padding:18px}.be-guide-backdrop{position:absolute;inset:0;background:rgba(13,4,24,.80)}.be-guide-dialog{position:relative;z-index:1;width:min(700px,100%);max-height:calc(100vh - 36px);overflow:auto;padding:26px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:#3b1c56;box-shadow:0 20px 70px rgba(0,0,0,.52)}.be-guide-dialog h3{margin:0 36px 18px 0;color:#fff!important}.be-guide-close{position:absolute;right:14px;top:9px;border:0;background:transparent;color:#fff!important;font-size:31px;cursor:pointer}.be-guide-steps{display:grid;gap:10px}.be-guide-steps article{padding:13px 14px;border-radius:11px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06)}.be-guide-steps strong,.be-guide-steps span{display:block;color:#fff!important}.be-guide-steps span{margin-top:4px;color:#f3ecff!important;line-height:1.5}.be-guide-footer{display:flex;justify-content:flex-end;margin-top:20px}.be-modal-open{overflow:hidden}

/* Recent income history */
.be-income-history-card { margin: 18px 0; }
.be-income-history-list { list-style:none; margin:0; padding:0; }
.be-income-history-list li { display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.be-income-history-list li:last-child { border-bottom:0; }
.be-income-history-list span { color:#fff; }
.be-income-history-list small { color:#e9dcff; white-space:nowrap; }

/* v1.0.33 – Shared game activity log */
.be-activity-log-card { margin: 18px 0; border-left: 4px solid #7ee7ff; }
.be-activity-log-card h3 { margin-top: 0; }
.be-activity-log-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.be-activity-log-list li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.be-log-message { color: #ffffff !important; line-height: 1.45; }
.be-activity-log-list small { color: #e9dcff !important; white-space: nowrap; opacity: .78; }
.be-log-type-purchase, .be-log-type-upgrade { border-left: 3px solid rgba(169,246,184,.75) !important; }
.be-log-type-auction, .be-log-type-bid { border-left: 3px solid rgba(248,213,107,.85) !important; }
.be-log-type-loan, .be-log-type-bank_sale { border-left: 3px solid rgba(255,150,150,.85) !important; }
.be-log-type-round, .be-log-type-status { border-left: 3px solid rgba(126,231,255,.85) !important; }
@media (max-width: 640px) { .be-activity-log-list li { flex-direction: column; gap: 4px; } .be-activity-log-list small { white-space: normal; } }


/* v1.0.34 - Team active-player lock */
.be-team-control-card {
    border: 1px solid rgba(255,255,255,0.20);
}
.be-inline-form {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* v1.0.35 - Group identity */
.be-group-identity{grid-column:1/-1;margin:0 0 18px;padding:18px;border:1px solid rgba(126,231,255,.25);background:rgba(255,255,255,.06);border-radius:14px}.be-group-identity h3{margin:0 0 14px}.be-group-identity-grid{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;gap:22px;align-items:start}.be-color-picker{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}.be-color-picker legend{width:100%;font-weight:700;margin-bottom:8px;color:#fff}.be-color-choice{display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer}.be-color-choice input{position:absolute;opacity:0;pointer-events:none}.be-color-choice span{width:34px;height:34px;border-radius:50%;background:var(--be-group-color);border:3px solid rgba(255,255,255,.35);box-shadow:0 0 0 2px transparent}.be-color-choice input:checked+span{box-shadow:0 0 0 3px #fff;transform:scale(1.08)}.be-color-choice small{font-size:10px;color:#eee!important}.be-group-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--be-group-color);margin-right:7px;vertical-align:middle;box-shadow:0 0 0 2px rgba(255,255,255,.25)}.be-my-group-card{border-left:5px solid var(--be-group-color)!important}.be-player-status{border-left:4px solid var(--be-group-color)!important}@media(max-width:720px){.be-group-identity-grid{grid-template-columns:1fr}}


/* v1.0.38 - Turn progress and player readiness */
.be-turn-progress-card{margin:18px 0;padding:18px;border:1px solid rgba(255,255,255,.17);border-radius:14px;background:rgba(255,255,255,.06)}
.be-turn-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.be-turn-progress-heading h3{margin:3px 0 0;color:#fff!important}.be-turn-progress-heading>strong{font-size:22px;color:#fff!important}.be-turn-kicker{display:block;font-size:11px;letter-spacing:.09em;font-weight:800;color:#7ee7ff!important}
.be-turn-progress-bar{height:9px;margin:14px 0 16px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.12)}.be-turn-progress-bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7ee7ff,#a9f6b8);transition:width .25s ease}
.be-turn-player-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.be-turn-player{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(255,255,255,.13);border-left:4px solid var(--be-group-color);border-radius:10px;background:rgba(255,255,255,.04)}.be-turn-player>div{min-width:0;flex:1}.be-turn-player strong,.be-turn-player small{display:block;color:#fff!important}.be-turn-player strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.be-turn-player small{margin-top:2px;font-size:12px;color:#eadfff!important}.be-turn-player.is-ready{background:rgba(169,246,184,.09);border-color:rgba(169,246,184,.25)}.be-turn-player.is-waiting{background:rgba(248,213,107,.06)}.be-turn-state{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-weight:800;color:#fff!important;background:rgba(255,255,255,.12)}.be-turn-player.is-ready .be-turn-state{background:rgba(169,246,184,.22);color:#caffd4!important}

/* v1.0.39 — Auction bid withdrawal */
.be-auction-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.be-auction-actions form{margin:0}.be-my-bid{display:block;margin-top:5px;font-weight:700}.be-bid-withdraw-form .be-button{white-space:nowrap}


/* v1.0.40 - Player event cards */
.be-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:10px}.be-section-heading h3{margin:2px 0 0}.be-player-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:14px}.be-player-event-item{position:relative;display:flex;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(255,255,255,.06)}.be-player-event-item.is-active{box-shadow:0 0 0 2px rgba(126,231,255,.5) inset}.be-player-event-icon{font-size:30px;line-height:1}.be-player-event-item h4{margin:0 0 6px}.be-player-event-item p{margin:0 0 8px}.be-event-status{position:absolute;top:10px;right:10px;font-size:11px;font-weight:800;letter-spacing:.06em;padding:4px 8px;border-radius:999px;background:rgba(126,231,255,.16);color:#fff}

/* v1.0.42 - Registration & approval */
.be-registration-form { max-width: 620px; }
.be-registration-form p { margin: 0 0 16px; }
.be-registration-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.be-registration-form input { width: 100%; box-sizing: border-box; }
.be-notice { padding: 12px 14px; border-radius: 10px; margin: 14px 0 18px; }
.be-notice-success { background: rgba(40, 167, 69, .16); border: 1px solid rgba(40, 167, 69, .45); color: #fff; }
.be-notice-error { background: rgba(220, 53, 69, .16); border: 1px solid rgba(220, 53, 69, .45); color: #fff; }


/* v1.0.43 - Final game results */
.be-final-results{margin-top:24px;padding:20px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.055)}
.be-final-hero{display:flex;align-items:center;gap:18px;padding:20px;margin-bottom:20px;border-radius:16px;background:linear-gradient(135deg,rgba(255,215,0,.16),rgba(255,255,255,.04));border:1px solid rgba(255,215,0,.28)}
.be-final-hero h2{margin:2px 0 6px;color:#fff!important}.be-final-hero p{margin:0}.be-final-trophy{font-size:48px;line-height:1}
.be-final-table-wrap{overflow-x:auto}.be-final-table{width:100%;border-collapse:collapse;min-width:760px}.be-final-table th,.be-final-table td{padding:11px 10px;text-align:left;border-bottom:1px solid rgba(255,255,255,.11);vertical-align:middle}.be-final-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:rgba(255,255,255,.75)!important}.be-final-table tr.is-winner td{background:rgba(255,215,0,.07)}.be-final-table td small{display:block;margin-top:2px;color:rgba(255,255,255,.65)!important}.be-final-table .be-group-dot{display:inline-block;margin-right:7px}
@media (max-width:700px){.be-final-results{padding:14px}.be-final-hero{align-items:flex-start}.be-final-trophy{font-size:38px}}

/* v1.0.45 - City market overview */
.be-market-overview-card{margin:22px 0;padding:20px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.045)}
.be-market-overview-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:6px}.be-market-overview-head h3{margin:4px 0 0}.be-market-overview-head>span{font-size:13px;opacity:.78}
.be-market-category-list{display:grid;gap:10px;margin-top:16px}.be-market-category{border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(0,0,0,.10);overflow:hidden}.be-market-category summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;list-style:none}.be-market-category summary::-webkit-details-marker{display:none}.be-market-category summary span{font-size:13px;opacity:.72}.be-market-category[open] summary{border-bottom:1px solid rgba(255,255,255,.10)}
.be-market-city-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;padding:14px}.be-market-city-card{padding:14px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(255,255,255,.055)}
.be-market-city-title{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.be-market-city-title>div{display:flex;flex-direction:column}.be-market-city-title small{opacity:.68;margin-top:2px}.be-competition{font-size:11px;font-weight:700;padding:5px 8px;border-radius:999px;white-space:nowrap;background:rgba(255,255,255,.10)}.be-competition-none{outline:1px solid rgba(90,220,140,.35)}.be-competition-low{outline:1px solid rgba(120,190,255,.35)}.be-competition-medium{outline:1px solid rgba(255,205,80,.35)}.be-competition-high{outline:1px solid rgba(255,100,100,.4)}
.be-market-city-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.be-market-city-stats span{display:flex;flex-direction:column;padding:9px 10px;border-radius:10px;background:rgba(0,0,0,.14)}.be-market-city-stats small{font-size:11px;opacity:.7}.be-market-city-stats strong{font-size:16px;margin-top:2px}.be-market-bonus{font-size:12px;opacity:.84;margin:8px 0 10px}
.be-market-business-list{display:grid;gap:7px}.be-market-business-row{display:flex;align-items:center;gap:8px;padding-top:7px;border-top:1px solid rgba(255,255,255,.08)}.be-market-business-row>span:last-child{display:flex;flex-direction:column}.be-market-business-row small{font-size:11px;opacity:.7}.be-market-owner-dot{width:10px;height:10px;border-radius:50%;background:var(--be-owner-color,#9ca3af);flex:0 0 10px}.be-market-empty{font-size:12px;opacity:.7;margin:8px 0 0;font-style:italic}
@media(max-width:700px){.be-market-overview-head{flex-direction:column}.be-market-city-grid{grid-template-columns:1fr;padding:10px}.be-market-city-title{flex-direction:column}.be-competition{white-space:normal}}

/* Business Empire v1.0.49 - single page + local mode */
.be-single-page-shell{max-width:1180px;margin:0 auto}.be-app-nav{display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:1100px;margin:18px auto 0;padding:10px 12px;background:#1b0d2a;border:1px solid rgba(255,255,255,.12);border-radius:14px}.be-app-nav a{display:inline-block;padding:9px 12px;border-radius:9px;text-decoration:none;background:rgba(255,255,255,.08);color:#fff!important}.be-app-nav a:hover{background:rgba(255,255,255,.16)}.be-mode-help{margin:12px 0;padding:12px 14px;border-radius:10px;background:rgba(126,231,255,.1);border:1px solid rgba(126,231,255,.22)}.be-local-player-switcher{margin:12px 0 18px;padding:14px;border-radius:14px;background:rgba(3,145,139,.13);border:1px solid rgba(126,231,255,.24)}.be-local-player-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.be-local-player-switcher .is-active-local{box-shadow:0 0 0 2px rgba(255,255,255,.45) inset}.be-local-player-switcher small{display:block;opacity:.82}
@media(max-width:700px){.be-app-nav{margin-left:8px;margin-right:8px}.be-app-nav a{flex:1 1 calc(50% - 8px);text-align:center}.be-table{min-width:760px}.be-game-room{padding:14px}.be-local-player-buttons .be-button{flex:1 1 calc(50% - 8px);text-align:center}}

/* Business Empire v1.0.50 - responsive / final frontend polish */
.be-single-page-shell,
.be-app,
.be-game-room{box-sizing:border-box;width:100%}
.be-app *,
.be-game-room *{box-sizing:border-box}
.be-table-wrap,
.be-final-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:10px}
.be-final-table{min-width:760px;width:100%;border-collapse:collapse}
.be-final-table th,.be-final-table td{padding:10px 12px;white-space:nowrap}
.be-form-grid,.be-foundation-grid{align-items:start}
.be-button,button.be-button,input[type="submit"].be-button{max-width:100%;white-space:normal;text-align:center}
.be-app input:not([type="checkbox"]):not([type="radio"]),
.be-app select,
.be-app textarea{width:100%;max-width:100%;min-width:0}
.be-app img,.be-game-room img{max-width:100%;height:auto}
.be-market-category summary{min-height:48px}
.be-local-player-buttons .be-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.be-app-nav a{min-height:42px;display:inline-flex;align-items:center;justify-content:center}

@media(max-width:900px){
  .be-app{padding:18px}
  .be-grid,.be-form-grid,.be-foundation-grid,.be-market-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .be-score-list li{gap:8px;flex-wrap:wrap}
  .be-final-hero{align-items:flex-start}
}

@media(max-width:700px){
  .be-single-page-shell{padding:0 8px}
  .be-app{margin:10px auto;padding:14px;border-radius:12px}
  .be-app-nav{position:sticky;top:0;z-index:30;margin:8px 0;padding:8px;border-radius:12px;backdrop-filter:blur(8px)}
  .be-app-nav a{flex:1 1 calc(50% - 6px);font-size:14px;padding:9px 8px}
  .be-grid,.be-form-grid,.be-foundation-grid,.be-market-city-grid,.be-market-city-stats{grid-template-columns:1fr}
  .be-card,.be-box,.be-slot-card,.be-market-city-card{padding:13px}
  .be-table{min-width:680px}
  .be-final-table{min-width:720px}
  .be-local-player-buttons{display:grid;grid-template-columns:1fr 1fr}
  .be-local-player-buttons .be-button{width:100%}
  .be-market-category summary{align-items:flex-start;flex-direction:column}
  .be-market-city-title{gap:6px}
  .be-score-list{padding-left:0;list-style:none}
  .be-score-list li{display:grid;grid-template-columns:auto 1fr;align-items:center}
  .be-score-list li>span:last-child{grid-column:2}
  .be-final-hero{flex-direction:column;gap:8px}
  .be-final-trophy{font-size:42px}
  .be-app h1{font-size:26px;line-height:1.15}
  .be-app h2{font-size:22px;line-height:1.2}
  .be-app h3{font-size:18px;line-height:1.25}
}

@media(max-width:430px){
  .be-single-page-shell{padding:0 5px}
  .be-app{padding:11px}
  .be-app-nav{gap:6px}
  .be-app-nav a{flex:1 1 100%}
  .be-local-player-buttons{grid-template-columns:1fr}
  .be-button,button.be-button,input[type="submit"].be-button{width:100%}
  .be-market-city-card,.be-card,.be-box{border-radius:11px}
  .be-market-business-row{align-items:flex-start}
}


/* v1.0.52 - searchable WordPress user picker */
.be-user-picker{position:relative}.be-user-search{width:100%}.be-user-results{position:absolute;z-index:80;left:0;right:0;top:calc(100% - 17px);max-height:360px;overflow:auto;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:#fff;box-shadow:0 16px 38px rgba(0,0,0,.28)}.be-user-result{display:flex;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #e8e8ee;background:#fff;text-align:left;cursor:pointer;align-items:center;justify-content:space-between;gap:10px}.be-user-result:last-child{border-bottom:0}.be-user-result:hover,.be-user-result:focus{background:#f1f5ff;outline:none}.be-user-result strong{color:#172033!important}.be-user-result small{color:#667085!important}.be-user-result-empty{padding:12px;color:#667085!important;background:#fff}.be-user-picker-help{display:block;margin-top:6px;color:#e8ddf6!important}

/* v1.0.52 - uploaded profile avatar */
.be-avatar-current-display{display:flex!important;align-items:center;justify-content:center;width:74px;height:74px}.be-avatar-current-display img{width:74px;height:74px;object-fit:cover;border-radius:50%;display:block}.be-custom-avatar-box{margin-top:20px;padding:16px;border:1px solid rgba(255,255,255,.16);border-radius:13px;background:rgba(255,255,255,.05)}.be-custom-avatar-box h4{margin:0 0 8px;color:#fff!important}.be-custom-avatar-box p{margin:0 0 12px}.be-custom-avatar-preview{margin-top:12px}.be-custom-avatar-preview img{width:96px;height:96px;object-fit:cover;border-radius:50%;border:3px solid rgba(255,255,255,.45)}


/* v1.0.53 - profile refresh, general chat, online/local field fix */
.be-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 24px;padding:22px;border:1px solid rgba(255,255,255,.15);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(126,231,255,.045))}
.be-profile-hero .be-profile-summary{margin:0;padding:0;border:0;background:transparent;display:flex;align-items:center;gap:16px}
.be-profile-identity{display:flex;flex-direction:column;gap:3px}.be-profile-identity strong{font-size:21px;color:#fff!important}.be-profile-identity span{color:#7ee7ff!important;font-size:13px}.be-profile-identity small{color:rgba(255,255,255,.7)!important}
.be-profile-hero .be-profile-stats{margin-left:auto}.be-profile-hero .be-profile-stats>div{min-width:110px;padding:15px 18px;background:rgba(0,0,0,.16)}
.be-profile-details-card{padding:20px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.045)}.be-profile-details-card h3{margin:0 0 16px}.be-profile-account-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.be-profile-account-row>span{display:flex;flex-direction:column;padding:12px 14px;border-radius:11px;background:rgba(0,0,0,.13)}.be-profile-account-row small{margin-top:3px;color:rgba(255,255,255,.75)!important}.be-profile-save{margin:16px 0 0}
.be-slot-human[hidden],.be-online-human[hidden],.be-local-human[hidden],.be-slot-ai[hidden]{display:none!important}

.be-chat-app{max-width:1000px}.be-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.be-chat-head h2{margin-bottom:5px}.be-chat-head p{margin:0;opacity:.82}.be-chat-head>span{font-size:12px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.08);white-space:nowrap}
.be-chat-messages{height:min(58vh,620px);min-height:360px;overflow-y:auto;padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(0,0,0,.14);display:flex;flex-direction:column;gap:12px}.be-chat-empty{margin:auto;opacity:.7;text-align:center}
.be-chat-row{display:flex;align-items:flex-end;gap:9px;max-width:82%}.be-chat-row.is-mine{align-self:flex-end;flex-direction:row-reverse}.be-chat-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.09);overflow:hidden}.be-chat-avatar img{width:100%;height:100%;object-fit:cover}.be-chat-avatar span{font-size:21px}.be-chat-bubble{min-width:150px;padding:10px 12px;border-radius:14px 14px 14px 4px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1)}.be-chat-row.is-mine .be-chat-bubble{border-radius:14px 14px 4px 14px;background:rgba(0,170,165,.18);border-color:rgba(126,231,255,.18)}.be-chat-meta{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:5px}.be-chat-meta strong{font-size:13px;color:#fff!important}.be-chat-meta time{font-size:10px;opacity:.58;white-space:nowrap}.be-chat-text{white-space:normal;overflow-wrap:anywhere;line-height:1.45}.be-chat-form{margin-top:14px}.be-chat-form>label{display:block;margin-bottom:6px;font-weight:700}.be-chat-compose{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:stretch}.be-chat-compose textarea{resize:vertical;min-height:54px}.be-chat-compose .be-button{min-width:120px}.be-chat-form>small{display:block;margin-top:6px;opacity:.65}
@media(max-width:700px){.be-profile-hero{align-items:stretch;flex-direction:column}.be-profile-hero .be-profile-stats{margin-left:0}.be-profile-account-row{grid-template-columns:1fr}.be-chat-head{flex-direction:column}.be-chat-row{max-width:94%}.be-chat-compose{grid-template-columns:1fr}.be-chat-compose .be-button{width:100%}}

/* v1.0.56 - redesigned active game dashboard */
.be-game-room.be-status-active{max-width:1320px;background:linear-gradient(180deg,#22071d 0%,#2a0b22 100%);border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 50px rgba(0,0,0,.28);display:grid;grid-template-columns:280px minmax(0,1fr) 300px;gap:18px;align-items:start}.be-game-room.be-status-active>.be-game-backlink,.be-game-room.be-status-active>.be-game-title,.be-game-room.be-status-active>.be-local-player-switcher,.be-game-room.be-status-active>.be-game-meta,.be-game-room.be-status-active>.be-season-calendar,.be-game-room.be-status-active>.be-event-card,.be-game-room.be-status-active>.be-notice,.be-game-room.be-status-active>.be-error,.be-game-room.be-status-active>.be-success{grid-column:1/-1}.be-game-room.be-status-active>.be-game-title{margin:0;font-size:34px;line-height:1.1}.be-game-room.be-status-active>.be-game-backlink{margin:0}.be-game-room.be-status-active>.be-game-backlink a{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.07);text-decoration:none}.be-game-room.be-status-active>.be-game-meta{margin:0;gap:14px}.be-game-room.be-status-active>.be-game-meta span{background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.05));border-color:rgba(255,255,255,.1);border-radius:14px;padding:12px 14px}.be-game-room.be-status-active>.be-season-calendar span{background:rgba(123,9,54,.45)}.be-game-room.be-status-active>.be-local-player-switcher,.be-game-room.be-status-active>.be-event-card,.be-game-room.be-status-active>.be-round-card,.be-game-room.be-status-active>.be-turn-progress-card,.be-game-room.be-status-active>.be-scoreboard{background:linear-gradient(180deg,rgba(88,15,44,.72),rgba(57,8,30,.92));border:1px solid rgba(255,255,255,.1);border-radius:18px;box-shadow:0 10px 22px rgba(0,0,0,.14)}.be-game-room.be-status-active>.be-round-header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-radius:18px;background:linear-gradient(135deg,#6b1232 0%,#40101f 100%);border:1px solid rgba(255,255,255,.12);box-shadow:0 14px 30px rgba(0,0,0,.18)}.be-game-room.be-status-active>.be-round-header span{color:#f6dce7!important;opacity:1}.be-game-room.be-status-active>.be-round-header h3{font-size:26px;margin:5px 0 0}.be-game-room.be-status-active>.be-round-header .be-round-progress{padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.08);min-width:210px}.be-game-room.be-status-active>.be-round-grid{display:contents}.be-game-room.be-status-active>.be-round-grid>.be-my-group-card,.be-game-room.be-status-active>.be-player-events-card,.be-game-room.be-status-active>.be-income-history-card,.be-game-room.be-status-active>.be-loan-card,.be-game-room.be-status-active>.be-team-control-card{grid-column:1}.be-game-room.be-status-active>.be-round-grid>section:not(.be-my-group-card),.be-game-room.be-status-active>.be-auctions-card,.be-game-room.be-status-active>.be-market-overview-card,.be-game-room.be-status-active>.be-purchase-card{grid-column:2}.be-game-room.be-status-active>.be-turn-action,.be-game-room.be-status-active>.be-turn-progress-card,.be-game-room.be-status-active>.be-scoreboard,.be-game-room.be-status-active>.be-activity-log-card{grid-column:3}.be-game-room.be-status-active>.be-turn-action{position:sticky;top:90px;align-self:start;margin:0;padding:18px;border-radius:18px;background:linear-gradient(180deg,rgba(109,18,50,.85),rgba(72,11,33,.95));border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 28px rgba(0,0,0,.18)}.be-game-room.be-status-active>.be-turn-action .be-form{display:block}.be-game-room.be-status-active>.be-turn-action .be-button{width:100%;padding:14px 18px;font-size:16px;font-weight:700;border-radius:14px;background:#0f9d95}.be-game-room.be-status-active>.be-turn-action .be-field-help{margin-top:10px;display:block;text-align:left}.be-game-room.be-status-active>.be-turn-action .be-notice{margin:0;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1)}.be-game-room.be-status-active>.be-round-card h3,.be-game-room.be-status-active>.be-scoreboard h3,.be-game-room.be-status-active>.be-turn-progress-card h3{font-size:21px;margin-bottom:12px}.be-game-room.be-status-active .be-my-group-card{background:linear-gradient(180deg,rgba(116,21,59,.88),rgba(67,9,33,.95));border-color:rgba(255,255,255,.12)}.be-game-room.be-status-active .be-my-group-card h3{display:flex;align-items:center;gap:10px;font-size:23px}.be-game-room.be-status-active .be-business-list li,.be-game-room.be-status-active .be-auction-item,.be-game-room.be-status-active .be-turn-player,.be-game-room.be-status-active .be-market-city-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:12px}.be-game-room.be-status-active .be-sale-actions input,.be-game-room.be-status-active .be-bid-form input{background:rgba(255,255,255,.08)!important;border-radius:10px}.be-game-room.be-status-active .be-market-category summary{background:rgba(255,255,255,.05);border-radius:14px;padding:12px 14px;border:1px solid rgba(255,255,255,.08)}.be-game-room.be-status-active .be-turn-progress-card.be-card{padding:18px}.be-game-room.be-status-active .be-score-list li{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;margin-top:8px}.be-game-room.be-status-active .be-score-list li:first-child{margin-top:0}.be-game-room.be-status-active .be-activity-log-card ul{margin:0;padding-left:18px}.be-game-room.be-status-active .be-activity-log-card li{margin:0 0 10px}.be-game-room.be-status-active .be-button-secondary{background:rgba(255,255,255,.1)!important}.be-game-room.be-status-active .be-button-danger{background:#8f284c!important}.be-game-room.be-status-active .be-button-danger:hover{background:#a6325c!important}.be-game-room.be-status-active .be-local-player-switcher strong,.be-game-room.be-status-active .be-event-kicker{letter-spacing:.04em}.be-game-room.be-status-active .be-event-card{background:linear-gradient(135deg,rgba(106,16,49,.88),rgba(71,9,34,.96));border-color:rgba(255,255,255,.12)}.be-game-room.be-status-active .be-event-modifier{color:#d1ffdc!important}.be-game-room.be-status-active .be-market-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(max-width:1200px){.be-game-room.be-status-active{grid-template-columns:250px minmax(0,1fr) 280px}}
@media(max-width:980px){.be-game-room.be-status-active{grid-template-columns:1fr 1fr}.be-game-room.be-status-active>.be-turn-action,.be-game-room.be-status-active>.be-turn-progress-card,.be-game-room.be-status-active>.be-scoreboard,.be-game-room.be-status-active>.be-activity-log-card{grid-column:1/-1}.be-game-room.be-status-active>.be-turn-action{position:static}.be-game-room.be-status-active>.be-round-grid>.be-my-group-card,.be-game-room.be-status-active>.be-player-events-card,.be-game-room.be-status-active>.be-income-history-card,.be-game-room.be-status-active>.be-loan-card,.be-game-room.be-status-active>.be-team-control-card{grid-column:1}.be-game-room.be-status-active>.be-round-grid>section:not(.be-my-group-card),.be-game-room.be-status-active>.be-auctions-card,.be-game-room.be-status-active>.be-market-overview-card,.be-game-room.be-status-active>.be-purchase-card{grid-column:2}}
@media(max-width:700px){.be-game-room.be-status-active{grid-template-columns:1fr;padding:14px}.be-game-room.be-status-active>.be-round-header{flex-direction:column;align-items:flex-start}.be-game-room.be-status-active>.be-round-grid>.be-my-group-card,.be-game-room.be-status-active>.be-player-events-card,.be-game-room.be-status-active>.be-income-history-card,.be-game-room.be-status-active>.be-loan-card,.be-game-room.be-status-active>.be-team-control-card,.be-game-room.be-status-active>.be-round-grid>section:not(.be-my-group-card),.be-game-room.be-status-active>.be-auctions-card,.be-game-room.be-status-active>.be-market-overview-card,.be-game-room.be-status-active>.be-purchase-card,.be-game-room.be-status-active>.be-turn-action,.be-game-room.be-status-active>.be-turn-progress-card,.be-game-room.be-status-active>.be-scoreboard,.be-game-room.be-status-active>.be-activity-log-card{grid-column:1}.be-game-room.be-status-active>.be-game-title{font-size:28px}.be-game-room.be-status-active .be-market-city-grid{grid-template-columns:1fr}}

/* v1.0.57 - tabs, enhanced city cards, inline game chat */
.be-game-room.be-status-active>.be-game-tabs{grid-column:2;display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 -4px}.be-game-tab{appearance:none;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:#fff;padding:11px 16px;border-radius:999px;font-weight:700;cursor:pointer;transition:.2s ease}.be-game-tab:hover{background:rgba(255,255,255,.1)}.be-game-tab.is-active{background:linear-gradient(180deg,#11a89f,#0a7f79);border-color:rgba(104,245,228,.35);box-shadow:0 10px 24px rgba(0,0,0,.18)}.be-game-room.be-status-active .be-tab-panel[hidden]{display:none!important}.be-game-room.be-status-active .be-tab-panel.is-active-panel{animation:beFadePanel .18s ease}@keyframes beFadePanel{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:none}}

.be-game-room.be-status-active>.be-mini-chat-card{grid-column:3;padding:18px;display:flex;flex-direction:column;min-height:440px}.be-mini-chat-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.be-mini-chat-head h3{margin:4px 0 0}.be-mini-chat-messages{flex:1;max-height:360px;overflow:auto;padding:6px 4px 6px 0;display:flex;flex-direction:column;gap:10px}.be-mini-chat-card .be-chat-row{max-width:100%}.be-mini-chat-card .be-chat-bubble{width:100%}.be-mini-chat-form{margin-top:10px}.be-mini-chat-form .be-chat-compose textarea{min-height:72px;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.1)!important;border-radius:12px}.be-mini-chat-form .be-chat-compose .be-button{min-width:100px}.be-mini-chat-card .be-chat-empty{padding:30px 10px}

.be-city-category-tabs,.be-purchase-city-categories{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 16px}.be-city-category-tab,.be-purchase-city-category{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);padding:10px 14px;border-radius:999px;font-weight:700;cursor:pointer;transition:.2s ease}.be-city-category-tab.is-active,.be-purchase-city-category.is-active{background:linear-gradient(180deg,rgba(196,53,104,.9),rgba(119,20,57,.9));border-color:rgba(255,255,255,.18);box-shadow:0 8px 22px rgba(0,0,0,.16)}
.be-city-grid,.be-purchase-city-grid,.be-market-city-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.be-city-card,.be-purchase-city-card,.be-market-city-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;padding:16px 16px 14px;border-radius:18px;border:1px solid rgba(255,255,255,.11);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));box-shadow:0 12px 22px rgba(0,0,0,.12);transition:.2s ease}.be-city-card strong,.be-purchase-city-card strong,.be-market-city-card strong{font-size:17px;line-height:1.25}.be-city-card span,.be-purchase-city-card span,.be-market-city-card span{opacity:.88}.be-city-card small,.be-purchase-city-card small,.be-market-city-card small{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;line-height:1.3}.be-city-card::after,.be-purchase-city-card::after,.be-market-city-card::after{content:'›';position:absolute;right:14px;top:14px;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.09);font-size:18px;opacity:.65}.be-city-card:hover,.be-purchase-city-card:hover,.be-market-city-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.18);background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.05))}.be-city-card.is-selected,.be-purchase-city-card.is-selected,.be-market-city-card.is-selected{border-color:#61f0d3;box-shadow:0 0 0 2px rgba(97,240,211,.2),0 16px 28px rgba(0,0,0,.18);background:linear-gradient(180deg,rgba(17,168,159,.25),rgba(255,255,255,.05))}.be-selected-city{padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.05);border:1px dashed rgba(255,255,255,.12)}.be-selected-city.has-selection{background:rgba(17,168,159,.14);border-style:solid;border-color:rgba(97,240,211,.25)}

@media(max-width:980px){.be-game-room.be-status-active>.be-game-tabs{grid-column:1/-1}.be-game-room.be-status-active>.be-mini-chat-card{grid-column:1/-1;min-height:0}.be-city-grid,.be-purchase-city-grid,.be-market-city-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.be-game-tab{width:100%;justify-content:center}.be-city-grid,.be-purchase-city-grid,.be-market-city-grid{grid-template-columns:1fr}.be-mini-chat-head{flex-direction:column}.be-mini-chat-form .be-chat-compose{grid-template-columns:1fr}}

/* v1.0.58 - overall frontend redesign */
.be-single-page-shell{max-width:1320px;margin:0 auto;padding:24px 18px 34px}.be-app-nav{display:flex;flex-wrap:wrap;gap:12px;padding:16px 18px;border-radius:20px;background:linear-gradient(135deg,#2a0821,#140412);border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 46px rgba(0,0,0,.18);margin-bottom:18px}.be-app-nav a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#f9edf2;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.06);font-weight:700}.be-app-nav a:hover{background:rgba(255,255,255,.12)}
.be-app,.be-box{background:linear-gradient(180deg,#25071c 0%,#2d0b23 100%);border:1px solid rgba(255,255,255,.08);border-radius:24px;box-shadow:0 22px 50px rgba(0,0,0,.16);padding:26px;color:#fff}.be-app h2,.be-box h2{font-size:40px;line-height:1.1;margin:0 0 10px;color:#fff}.be-app p,.be-box p{color:#e8d8df}.be-grid{gap:16px}.be-card{border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.1);color:#fff;padding:18px 20px;min-height:90px;display:flex;flex-direction:column;justify-content:center;font-weight:700;box-shadow:0 12px 24px rgba(0,0,0,.12)}.be-card small{font-weight:400;color:#e4d3da;margin-top:4px}.be-card:hover{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.05));transform:translateY(-2px)}
.be-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.be-page-kicker{display:inline-block;padding:6px 10px;border-radius:999px;background:rgba(17,168,159,.16);border:1px solid rgba(97,240,211,.25);color:#9ff4e1;font-size:12px;font-weight:800;letter-spacing:.08em}.be-page-head h2{margin-top:10px}.be-page-head p{margin:8px 0 0}
.be-games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}.be-game-card{display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.1);box-shadow:0 14px 30px rgba(0,0,0,.14)}.be-game-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.be-game-card-top h3{margin:10px 0 6px;font-size:25px}.be-game-card-top h3 a{text-decoration:none;color:#fff}.be-game-card-top p{margin:0;color:#d8c5cd}.be-game-card-icon{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);font-size:28px}.be-status-pill{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;font-weight:800;letter-spacing:.04em}.be-status-pill.be-status-active{background:rgba(17,168,159,.22);color:#98f1e3}.be-status-pill.be-status-foundation{background:rgba(255,173,51,.22);color:#ffd89e}.be-status-pill.be-status-waiting{background:rgba(150,150,255,.15);color:#dbd8ff}.be-status-pill.be-status-finished{background:rgba(230,230,230,.12);color:#f4f4f4}
.be-game-card-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.be-game-card-stats>div{padding:14px 12px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.be-game-card-stats strong{display:block;font-size:22px;line-height:1.1}.be-game-card-stats span{display:block;margin-top:6px;font-size:12px;color:#d8c5cd}.be-slot-summary-cards{display:flex;flex-wrap:wrap;gap:8px}.be-slot-summary-cards span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:12px}.be-game-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:auto}.be-empty-state-card{padding:34px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.1);text-align:center}
.be-notifications-card,.be-profile-card,.be-profile-details-card,.be-chat-app,.be-register-box,.be-create-game-form{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.08);border-radius:22px;box-shadow:0 14px 30px rgba(0,0,0,.12)}.be-notifications-card,.be-profile-card,.be-profile-details-card,.be-chat-app,.be-register-box{padding:22px}.be-create-game-form{padding:20px}
.be-chat-app .be-chat-head{padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:16px}.be-chat-app .be-chat-head span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.08)}.be-chat-messages{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:14px}.be-chat-bubble{background:rgba(255,255,255,.08)!important}
.be-form-grid p,.be-registration-form p{margin-bottom:16px}.be-form-grid label,.be-registration-form label,.be-profile-form label{font-weight:700;color:#fff}.be-form input,.be-form select,.be-form textarea,.be-registration-form input{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#fff;border-radius:14px}.be-form input::placeholder,.be-form textarea::placeholder,.be-registration-form input::placeholder{color:#cfbcc4}
.be-create-game-form>h3{margin-top:24px;font-size:26px}.be-slot-card{border-radius:20px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);padding:18px}.be-slot-title{font-size:22px;font-weight:800;margin-bottom:10px}.be-mode-help{border-radius:14px;padding:14px 16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);margin:16px 0}.be-user-results{background:#351128;border:1px solid rgba(255,255,255,.1);border-radius:12px}.be-user-result{padding:10px 12px;color:#fff}
.be-profile-header{background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.03));border-radius:22px;padding:18px}.be-profile-identity strong{font-size:26px}.be-profile-stats div{background:rgba(255,255,255,.06);border-radius:18px;padding:18px}.be-profile-account-row{display:flex;gap:18px;flex-wrap:wrap;padding:14px 0 4px}.be-profile-save{margin-top:18px}.be-custom-avatar-box{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);padding:18px;border-radius:18px}
.be-guide-dialog{background:linear-gradient(180deg,#2e0a23,#230819)!important;color:#fff}.be-guide-steps article{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:14px}
@media(max-width:840px){.be-page-head{flex-direction:column;align-items:flex-start}.be-app h2,.be-box h2{font-size:32px}.be-game-card-stats{grid-template-columns:1fr}.be-app-nav{padding:12px}.be-single-page-shell{padding:14px 12px 24px}}

/* v1.0.59 - fix active game layout / remove giant empty rows */
.be-game-room.be-status-active{display:block!important;max-width:1320px}.be-game-room.be-status-active>.be-round-header{margin:18px 0}.be-game-dashboard-layout{display:grid;grid-template-columns:260px minmax(0,1fr) 285px;gap:16px;align-items:start;margin-top:18px}.be-dashboard-left,.be-dashboard-center,.be-dashboard-right{display:flex;flex-direction:column;gap:16px;min-width:0}.be-dashboard-left>*,.be-dashboard-center>*,.be-dashboard-right>*{margin:0!important;width:100%}.be-dashboard-center .be-game-tabs{display:flex;flex-wrap:wrap;gap:9px;padding:0 0 2px}.be-dashboard-center .be-game-tab{flex:0 0 auto}.be-dashboard-center .be-tab-panel{width:100%}.be-dashboard-right .be-turn-action{position:static!important;top:auto!important}.be-dashboard-right .be-mini-chat-card{min-height:0!important}.be-dashboard-right .be-mini-chat-messages{max-height:260px}.be-dashboard-right .be-scoreboard{padding:16px}.be-dashboard-right .be-scoreboard .be-field-help{max-height:90px;overflow:auto;padding-right:4px}.be-dashboard-left .be-activity-log-card{max-height:430px;overflow:hidden}.be-dashboard-left .be-activity-log-list,.be-scroll-panel{max-height:330px;overflow:auto;padding-right:6px}.be-dashboard-left .be-player-events-card{max-height:520px;overflow:auto}.be-dashboard-left .be-my-group-card{position:sticky;top:84px;z-index:2}.be-dashboard-right .be-turn-action{order:-1}.be-dashboard-right .be-mini-chat-card{order:0}.be-dashboard-right .be-turn-progress-card{order:1}.be-dashboard-right .be-scoreboard{order:2}.be-dashboard-center .be-market-overview-card,.be-dashboard-center .be-purchase-card,.be-dashboard-center .be-auctions-card,.be-dashboard-center .be-loan-card,.be-dashboard-center [data-be-game-panel="businesses"]{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:18px}.be-dashboard-center .be-business-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.be-dashboard-center .be-sale-actions{justify-content:flex-end}.be-dashboard-center .be-sale-actions input{max-width:135px}.be-dashboard-center .be-market-city-grid,.be-dashboard-center .be-purchase-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.be-game-room.be-status-active>.be-player-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.be-game-room.be-status-active>h3:last-of-type{margin-top:28px}
@media(max-width:1100px){.be-game-dashboard-layout{grid-template-columns:230px minmax(0,1fr)}.be-dashboard-right{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.be-dashboard-right .be-turn-action,.be-dashboard-right .be-mini-chat-card,.be-dashboard-right .be-turn-progress-card,.be-dashboard-right .be-scoreboard{width:100%}.be-dashboard-left .be-my-group-card{position:static}.be-game-room.be-status-active>.be-player-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.be-game-dashboard-layout{grid-template-columns:1fr}.be-dashboard-right{grid-column:auto;display:flex}.be-dashboard-center .be-market-city-grid,.be-dashboard-center .be-purchase-city-grid{grid-template-columns:1fr}.be-game-room.be-status-active>.be-player-list{grid-template-columns:1fr}.be-dashboard-center .be-business-list li{grid-template-columns:1fr}.be-dashboard-center .be-sale-actions{justify-content:flex-start}.be-dashboard-center .be-game-tabs{display:grid;grid-template-columns:1fr 1fr}.be-dashboard-center .be-game-tab{width:100%}}


/* v1.0.60 - left column overlap fix */
.be-game-room.be-status-active .be-dashboard-left .be-my-group-card{
    position:static!important;
    top:auto!important;
    z-index:auto!important;
}
.be-game-room.be-status-active .be-dashboard-left{
    align-self:start;
}
.be-game-room.be-status-active .be-dashboard-left>*{
    position:relative;
    z-index:1;
    overflow:visible;
}
.be-game-room.be-status-active .be-dashboard-left .be-player-events-card{
    max-height:none!important;
    overflow:visible!important;
}
.be-game-room.be-status-active .be-dashboard-left .be-my-group-card,
.be-game-room.be-status-active .be-dashboard-left .be-player-events-card,
.be-game-room.be-status-active .be-dashboard-left .be-activity-log-card{
    margin:0!important;
}
.be-game-room.be-status-active .be-dashboard-left .be-activity-log-card{
    max-height:none!important;
    overflow:visible!important;
}
.be-game-room.be-status-active .be-dashboard-left .be-activity-log-list,
.be-game-room.be-status-active .be-dashboard-left .be-scroll-panel{
    max-height:340px;
    overflow:auto;
    padding-right:6px;
}
.be-game-room.be-status-active .be-dashboard-left .be-my-group-card p,
.be-game-room.be-status-active .be-dashboard-left .be-player-events-card p{
    margin:0 0 12px;
    line-height:1.55;
}
.be-game-room.be-status-active .be-dashboard-left .be-my-group-card p:last-child,
.be-game-room.be-status-active .be-dashboard-left .be-player-events-card p:last-child{
    margin-bottom:0;
}
.be-game-room.be-status-active .be-dashboard-left .be-player-events-card .be-section-heading{
    display:block;
}
.be-game-room.be-status-active .be-dashboard-left .be-player-events-card .be-section-heading>strong{
    display:block;
    margin-top:8px;
}
.be-game-room.be-status-active .be-dashboard-left .be-player-event-grid{
    grid-template-columns:1fr;
}
.be-game-room.be-status-active .be-dashboard-left .be-player-event-item{
    min-width:0;
}


/* v1.0.61 - history + city card visual refresh */
.be-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.be-section-kicker{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.08);color:#f4d8e5!important;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px}.be-card-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;background:rgba(97,240,211,.12);border:1px solid rgba(97,240,211,.22);color:#bffcef!important;font-size:12px;font-weight:700;white-space:nowrap}.be-activity-log-card{border-left:0!important;background:linear-gradient(180deg,rgba(96,14,43,.84),rgba(53,9,28,.94))!important;}.be-activity-log-list{list-style:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:10px!important}.be-activity-log-list li{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:flex-start;padding:12px 12px 12px 10px!important;border-radius:16px;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 8px 16px rgba(0,0,0,.08)}.be-log-icon-wrap{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)}.be-log-icon{font-size:20px;line-height:1}.be-log-body{display:flex;flex-direction:column;gap:4px;min-width:0}.be-log-label{display:inline-flex;align-self:flex-start;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.07);font-size:11px;font-weight:700;letter-spacing:.03em;color:#f7dfe9!important}.be-log-message{display:block;color:#fff!important;line-height:1.5;word-break:break-word}.be-log-time{display:block;color:#f3dbe8!important;white-space:nowrap;opacity:.75;padding-top:3px}.be-log-type-foundation{border-left:3px solid #6ee7b7}.be-log-type-purchase,.be-log-type-bid{border-left:3px solid #67e8f9}.be-log-type-upgrade,.be-log-type-season_score{border-left:3px solid #fcd34d}.be-log-type-auction,.be-log-type-bid_withdrawn{border-left:3px solid #fda4af}.be-log-type-bank_sale,.be-log-type-loan{border-left:3px solid #c4b5fd}.be-log-type-round,.be-log-type-status,.be-log-type-turn{border-left:3px solid #7ee7ff}.be-city-icon{width:42px;height:42px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.08);font-size:22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}.be-city-country{font-size:12px;opacity:.82}.be-city-type{color:#ffe5af!important}.be-city-bonus{font-size:12px;line-height:1.45;color:#f2eaf9!important;opacity:.95}.be-market-city-main{display:flex;align-items:flex-start;gap:10px}.be-market-city-main>div{display:flex;flex-direction:column}.be-market-city-card .be-city-icon,.be-purchase-city-card .be-city-icon,.be-city-card .be-city-icon{margin-bottom:2px}.be-city-theme-tourism{border-color:rgba(100,221,255,.22)!important;background:linear-gradient(180deg,rgba(70,128,175,.18),rgba(255,255,255,.03))!important}.be-city-theme-food{border-color:rgba(255,190,92,.22)!important;background:linear-gradient(180deg,rgba(148,81,20,.16),rgba(255,255,255,.03))!important}.be-city-theme-technology{border-color:rgba(102,255,214,.20)!important;background:linear-gradient(180deg,rgba(21,109,108,.18),rgba(255,255,255,.03))!important}.be-city-theme-transport_logistics{border-color:rgba(111,182,255,.2)!important;background:linear-gradient(180deg,rgba(28,74,138,.18),rgba(255,255,255,.03))!important}.be-city-theme-trade{border-color:rgba(216,160,255,.22)!important;background:linear-gradient(180deg,rgba(100,47,124,.18),rgba(255,255,255,.03))!important}.be-city-theme-media_marketing{border-color:rgba(255,120,188,.22)!important;background:linear-gradient(180deg,rgba(127,36,83,.18),rgba(255,255,255,.03))!important}.be-city-theme-industry{border-color:rgba(178,201,255,.20)!important;background:linear-gradient(180deg,rgba(62,76,118,.18),rgba(255,255,255,.03))!important}.be-city-theme-energy{border-color:rgba(255,222,89,.28)!important;background:linear-gradient(180deg,rgba(132,89,9,.18),rgba(255,255,255,.03))!important}.be-dashboard-right .be-scoreboard,.be-dashboard-right .be-turn-progress-card,.be-dashboard-right .be-mini-chat-card{background:linear-gradient(180deg,rgba(102,15,46,.80),rgba(58,9,31,.95))!important}.be-dashboard-right .be-score-list li,.be-game-room.be-status-active>.be-player-list .be-player-status{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:14px;box-shadow:0 10px 18px rgba(0,0,0,.08)}.be-game-room.be-status-active>.be-player-list .be-player-status{padding:14px 16px}.be-market-bonus{color:#ffecbf!important;font-size:12px}.be-income-history-card .be-scroll-panel{max-height:290px;overflow:auto;padding-right:6px}@media(max-width:760px){.be-card-head{flex-direction:column}.be-activity-log-list li{grid-template-columns:44px minmax(0,1fr)}.be-log-time{grid-column:2}.be-market-city-main{align-items:center}}


/* v1.0.62 - consistent burgundy palette + history readability fix */
.be-app,
.be-box,
.be-chat-app,
.be-profile-card,
.be-profile-details-card,
.be-notifications-card,
.be-create-game-form,
.be-register-box{background:linear-gradient(180deg,#3a0b24 0%,#240613 100%)!important;border-color:rgba(255,255,255,.09)!important;}

.be-game-room.be-status-active>.be-round-header,
.be-round-card,
.be-dashboard-left .be-my-group-card,
.be-dashboard-left .be-player-events-card,
.be-dashboard-left .be-activity-log-card,
.be-dashboard-center .be-market-overview-card,
.be-dashboard-center .be-purchase-card,
.be-dashboard-center .be-auctions-card,
.be-dashboard-center .be-loan-card,
.be-dashboard-center [data-be-game-panel="businesses"],
.be-dashboard-right .be-scoreboard,
.be-dashboard-right .be-turn-progress-card,
.be-dashboard-right .be-mini-chat-card,
.be-game-room.be-status-active>.be-player-list .be-player-status,
.be-slot-card,
.be-mode-help,
.be-profile-header,
.be-profile-summary{background:linear-gradient(180deg,rgba(122,21,58,.42),rgba(66,10,31,.94))!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 10px 26px rgba(0,0,0,.12)!important;}

.be-dashboard-right .be-score-list li,
.be-business-card,
.be-auction-item,
.be-profile-stats>div,
.be-avatar-current,
.be-user-results,
.be-city-card,
.be-purchase-city-card,
.be-market-city-card{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.12)!important;}

.be-game-meta span,
.be-status-badge,
.be-season-badge,
.be-card-badge,
.be-section-kicker,
.be-game-pill,
.be-player-tag{background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.10)!important;color:#f6dbe6!important;}

.be-dashboard-center .be-game-tab,
.be-city-category-tab,
.be-purchase-city-category{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.12)!important;color:#fff!important;}
.be-dashboard-center .be-game-tab.is-active,
.be-city-category-tab.is-active,
.be-purchase-city-category.is-active{background:linear-gradient(180deg,rgba(150,22,72,.95),rgba(113,16,54,.95))!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important;box-shadow:0 0 0 1px rgba(255,255,255,.06) inset;}

.be-event-card{background:linear-gradient(135deg,rgba(146,20,67,.82),rgba(98,12,44,.94))!important;border-color:rgba(255,255,255,.12)!important;}
.be-event-kicker,.be-event-card p,.be-event-card h3,.be-event-modifier{color:#fff!important;}
.be-event-modifier{color:#d5ffd9!important;}

.be-city-theme-tourism,
.be-city-theme-food,
.be-city-theme-technology,
.be-city-theme-transport_logistics,
.be-city-theme-trade,
.be-city-theme-media_marketing,
.be-city-theme-industry,
.be-city-theme-energy{background:linear-gradient(180deg,rgba(124,20,61,.22),rgba(255,255,255,.03))!important;border-color:rgba(255,255,255,.14)!important;}

.be-activity-log-card{background:linear-gradient(180deg,rgba(132,21,64,.74),rgba(77,10,37,.95))!important;}
.be-activity-log-list{gap:12px!important;}
.be-activity-log-list li{grid-template-columns:44px minmax(0,1fr)!important;grid-template-areas:"icon body" "icon time"!important;gap:10px 12px!important;background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.11)!important;}
.be-log-icon-wrap{grid-area:icon!important;}
.be-log-body{grid-area:body!important;min-width:0!important;}
.be-log-time{grid-area:time!important;white-space:normal!important;display:block!important;padding-top:0!important;font-size:11px!important;}
.be-log-message{white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.45!important;}
.be-log-label{margin-bottom:2px!important;}
.be-dashboard-left .be-activity-log-card{max-height:none!important;}
.be-dashboard-left .be-activity-log-list,.be-scroll-panel{max-height:360px!important;overflow:auto!important;}

.be-scoreboard .be-field-help,
.be-field-help,
.be-income-line,
.be-market-bonus,
.be-city-bonus,
.be-city-country{color:#f2d9e5!important;}

.be-button,
.be-button-primary,
.be-app .button,
.be-app button[type=submit]{background:#11b8b0!important;border-color:#11b8b0!important;color:#fff!important;}
.be-button:hover,
.be-button-primary:hover,
.be-app .button:hover,
.be-app button[type=submit]:hover{background:#0f9f98!important;border-color:#0f9f98!important;}

.be-button-danger{background:#8d234d!important;border-color:#c65d88!important;}
.be-button-danger:hover{background:#a82a5c!important;}

.be-score-list .is-current-player,
.be-city-card:hover,
.be-purchase-city-card:hover,
.be-city-card.is-selected,
.be-purchase-city-card.is-selected{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.22)!important;box-shadow:0 0 0 1px rgba(255,255,255,.05) inset!important;}

@media(max-width:760px){
  .be-activity-log-list li{grid-template-columns:44px minmax(0,1fr)!important;grid-template-areas:"icon body" "time time"!important;}
}


/* v1.0.63 - profile details matches header + single-line game overview */
.be-profile-details-card{
  margin-top:6px!important;
  padding:22px 20px!important;
  background:linear-gradient(180deg,rgba(122,21,58,.42),rgba(66,10,31,.94))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:18px!important;
  box-shadow:0 10px 26px rgba(0,0,0,.12)!important;
}
.be-profile-details-card h3{font-size:18px;margin:0 0 18px!important;}
.be-profile-details-card .be-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start;}
.be-profile-details-card .be-form-grid p{margin:0;}
.be-profile-details-card .be-form-grid input{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.14)!important;}
.be-profile-account-row{margin-top:18px!important;}
.be-profile-account-row>span{background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:14px!important;padding:14px 16px!important;}
.be-profile-save{margin-top:18px!important;}

.be-game-meta-overview{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px!important;align-items:stretch;}
.be-game-meta-overview span{display:flex!important;align-items:center;justify-content:flex-start;min-height:54px;}
.be-game-room.be-status-active>.be-game-meta.be-game-meta-overview span{background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.05))!important;}

@media(max-width:1100px){
  .be-game-meta-overview{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:780px){
  .be-profile-details-card .be-form-grid{grid-template-columns:1fr!important;}
  .be-game-meta-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:520px){
  .be-game-meta-overview{grid-template-columns:1fr!important;}
}


/* v1.0.64 - target line, businesses panel, profile hero fill */
.be-game-meta-overview span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:15px!important;
}
.be-game-meta-overview .be-meta-target strong{white-space:nowrap;}

.be-business-list{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:14px!important;}
.be-business-list li{
  padding:16px 16px 14px!important;
  border-radius:16px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:rgba(255,255,255,.055)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.10)!important;
  align-items:flex-start!important;
}
.be-business-list li>div:first-child{flex:1 1 230px;min-width:200px;}
.be-business-list li>div:first-child strong{display:block;font-size:24px;line-height:1.15;margin-bottom:6px;color:#fff!important;}
.be-business-list li>div:first-child span{font-size:14px!important;color:#ead9e2!important;opacity:1!important;}
.be-sale-actions{gap:10px!important;justify-content:flex-end;flex:1 1 420px;}
.be-sale-form{display:flex;align-items:center;gap:8px;padding:0;margin:0;}
.be-sale-form input{
  width:120px;
  max-width:120px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:10px!important;
}
.be-button-small{border-radius:12px!important;padding:9px 12px!important;min-height:42px;}
.be-button-small small{display:block;margin-top:2px;line-height:1.2;}

.be-profile-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;
  gap:18px!important;
}
.be-profile-hero .be-profile-summary{
  width:100%!important;
  min-height:140px;
  justify-content:flex-start!important;
  padding:20px!important;
}
.be-profile-hero .be-profile-identity{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;}
.be-profile-hero .be-profile-identity strong{font-size:22px;line-height:1.1;}
.be-profile-hero .be-profile-identity span,.be-profile-hero .be-profile-identity small{overflow-wrap:anywhere;}
.be-profile-hero .be-profile-stats{
  margin-left:0!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(108px,1fr));
  gap:12px!important;
  align-content:stretch;
}
.be-profile-hero .be-profile-stats>div{display:flex;flex-direction:column;justify-content:center;min-height:140px;}
.be-profile-account-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}

@media(max-width:980px){
  .be-sale-actions{justify-content:flex-start;flex-basis:100%;}
}
@media(max-width:860px){
  .be-profile-hero{grid-template-columns:1fr!important;}
}
@media(max-width:640px){
  .be-business-list li>div:first-child strong{font-size:20px;}
  .be-sale-form{flex-wrap:wrap;}
  .be-sale-form input{width:100%;max-width:100%!important;}
  .be-profile-account-row{grid-template-columns:1fr;}
  .be-profile-hero .be-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* v1.0.65 - profile width, meta spacing, centered end-turn, one-row business actions */
.be-profile-form{max-width:none!important;width:100%!important;}
.be-profile-details-card{width:100%!important;max-width:none!important;}

.be-game-meta-overview span{
  gap:6px!important;
  padding-left:14px!important;
  padding-right:14px!important;
}
.be-game-meta-overview strong{display:inline-block;}

.be-dashboard-right .be-turn-action,
.be-game-room.be-status-active>.be-turn-action{
  text-align:center!important;
}
.be-dashboard-right .be-turn-action .be-button,
.be-game-room.be-status-active>.be-turn-action .be-button{
  width:auto!important;
  min-width:170px;
  display:block!important;
  margin:0 auto!important;
}
.be-dashboard-right .be-turn-action .be-field-help,
.be-game-room.be-status-active>.be-turn-action .be-field-help{
  text-align:center!important;
}

.be-dashboard-center .be-business-list li,
.be-game-room.be-status-active .be-business-list li{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
}
.be-sale-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  gap:10px!important;
}
.be-sale-form{display:flex!important;flex-wrap:nowrap!important;align-items:flex-end!important;gap:8px!important;}
.be-sale-form .be-button-small{white-space:nowrap!important;}
.be-sale-form input{margin:0!important;}

@media(max-width:1180px){
  .be-sale-actions{flex-wrap:wrap!important;justify-content:flex-start!important;}
}


/* v1.0.66 - force business action buttons into one horizontal row */
.be-dashboard-center .be-business-list li,
.be-game-room.be-status-active .be-business-list li{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  align-items:start!important;
}
.be-dashboard-center .be-business-list li>div:first-child,
.be-game-room.be-status-active .be-business-list li>div:first-child{
  min-width:0!important;
}
.be-dashboard-center .be-sale-actions,
.be-game-room.be-status-active .be-sale-actions{
  width:100%!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  justify-content:flex-start!important;
  align-items:flex-end!important;
  gap:10px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding-bottom:4px!important;
  scrollbar-width:thin;
}
.be-dashboard-center .be-sale-actions>* ,
.be-game-room.be-status-active .be-sale-actions>*{
  flex:0 0 auto!important;
}
.be-dashboard-center .be-sale-form,
.be-game-room.be-status-active .be-sale-form{
  flex:0 0 auto!important;
  align-items:flex-end!important;
  white-space:nowrap!important;
}
.be-dashboard-center .be-sale-form input,
.be-game-room.be-status-active .be-sale-form input{
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
}
.be-dashboard-center .be-button-small,
.be-game-room.be-status-active .be-button-small{
  padding:8px 10px!important;
  min-height:40px!important;
}
.be-dashboard-center .be-button-small small,
.be-game-room.be-status-active .be-button-small small{
  font-size:11px!important;
  line-height:1.1!important;
}
@media(max-width:640px){
  .be-dashboard-center .be-sale-actions,
  .be-game-room.be-status-active .be-sale-actions{
    justify-content:flex-start!important;
  }
}


/* v1.0.67 - true one-row business actions */
.be-dashboard-center .be-business-list li,
.be-game-room.be-status-active .be-business-list li{
  display:block!important;
}

.be-business-info{
  margin-bottom:14px!important;
}

.be-dashboard-center .be-sale-actions,
.be-game-room.be-status-active .be-sale-actions{
  display:grid!important;
  grid-template-columns:auto minmax(210px,1fr) auto!important;
  gap:10px!important;
  align-items:end!important;
  width:100%!important;
  overflow:visible!important;
}

.be-dashboard-center .be-sale-form,
.be-game-room.be-status-active .be-sale-form{
  display:flex!important;
  align-items:end!important;
  gap:8px!important;
  min-width:0!important;
}

.be-action-upgrade,
.be-action-bank{
  display:block!important;
}

.be-action-auction{
  display:grid!important;
  grid-template-columns:minmax(90px,1fr) auto!important;
  gap:8px!important;
}

.be-action-auction input[type="number"]{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}

.be-sale-actions .be-button-small{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}

.be-action-auction .be-button-small{
  width:auto!important;
  min-width:110px!important;
}

@media(max-width:760px){
  .be-dashboard-center .be-sale-actions,
  .be-game-room.be-status-active .be-sale-actions{
    grid-template-columns:1fr!important;
  }
  .be-action-auction{
    grid-template-columns:1fr!important;
  }
  .be-action-auction .be-button-small{
    width:100%!important;
  }
}


/* v1.0.69 - fixed visible scroll for city market overview */
.be-dashboard-center .be-market-overview-card{
  overflow:hidden!important;
}

.be-dashboard-center .be-market-overview-card .be-market-category-list{
  height:360px!important;
  max-height:360px!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  padding-right:10px!important;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.32) rgba(255,255,255,.06);
}

.be-dashboard-center .be-market-overview-card .be-market-category-list::-webkit-scrollbar{
  width:10px;
}
.be-dashboard-center .be-market-overview-card .be-market-category-list::-webkit-scrollbar-track{
  background:rgba(255,255,255,.05);
  border-radius:999px;
}
.be-dashboard-center .be-market-overview-card .be-market-category-list::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.28);
  border-radius:999px;
}
.be-dashboard-center .be-market-overview-card .be-market-category-list::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,.38);
}

@media(max-width:760px){
  .be-dashboard-center .be-market-overview-card .be-market-category-list{
    height:320px!important;
    max-height:320px!important;
  }
}


/* v1.0.70 - scroll both market overview and business purchase city area */
.be-dashboard-center .be-market-overview-card,
.be-dashboard-center .be-purchase-card{
  overflow:hidden!important;
}

/* Overview categories */
.be-dashboard-center .be-market-overview-card .be-market-category-list{
  height:330px!important;
  max-height:330px!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  padding-right:10px!important;
}

/* Purchase city chooser: categories + city lists scroll inside the card */
.be-dashboard-center .be-purchase-card{
  max-height:560px!important;
}

.be-dashboard-center .be-purchase-card .be-purchase-scroll{
  height:430px!important;
  max-height:430px!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  padding-right:10px!important;
}

.be-dashboard-center .be-purchase-card .be-purchase-scroll,
.be-dashboard-center .be-market-overview-card .be-market-category-list{
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.34) rgba(255,255,255,.06);
}

.be-dashboard-center .be-purchase-card .be-purchase-scroll::-webkit-scrollbar,
.be-dashboard-center .be-market-overview-card .be-market-category-list::-webkit-scrollbar{
  width:10px;
}
.be-dashboard-center .be-purchase-card .be-purchase-scroll::-webkit-scrollbar-track,
.be-dashboard-center .be-market-overview-card .be-market-category-list::-webkit-scrollbar-track{
  background:rgba(255,255,255,.05);
  border-radius:999px;
}
.be-dashboard-center .be-purchase-card .be-purchase-scroll::-webkit-scrollbar-thumb,
.be-dashboard-center .be-market-overview-card .be-market-category-list::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.30);
  border-radius:999px;
}
.be-dashboard-center .be-purchase-card .be-purchase-scroll::-webkit-scrollbar-thumb:hover,
.be-dashboard-center .be-market-overview-card .be-market-category-list::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,.40);
}

@media(max-width:760px){
  .be-dashboard-center .be-market-overview-card .be-market-category-list{
    height:300px!important;
    max-height:300px!important;
  }
  .be-dashboard-center .be-purchase-card .be-purchase-scroll{
    height:360px!important;
    max-height:360px!important;
  }
}


/* v1.0.71 - separate scroll for city categories and city list */
.be-dashboard-center .be-purchase-card{
  max-height:none!important;
  overflow:visible!important;
}

.be-dashboard-center .be-purchase-card .be-purchase-scroll{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  padding-right:0!important;
}

.be-purchase-selector{
  display:grid;
  gap:16px;
  margin:16px 0;
}

.be-purchase-selector-section{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.09);
}

.be-purchase-selector-title{
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#f6dce7;
  margin-bottom:10px;
}

/* Category list has its OWN scroll */
.be-purchase-category-scroll{
  height:150px;
  max-height:150px;
  overflow-y:scroll;
  overflow-x:hidden;
  padding-right:8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.34) rgba(255,255,255,.05);
}

.be-purchase-category-scroll .be-purchase-city-categories{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin:0!important;
}

.be-purchase-category-scroll .be-purchase-city-category{
  width:100%!important;
  text-align:left!important;
  border-radius:12px!important;
  padding:10px 12px!important;
}

/* Cities shown BELOW, with a separate scroll */
.be-purchase-cities-scroll{
  height:310px;
  max-height:310px;
  overflow-y:scroll;
  overflow-x:hidden;
  padding-right:8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.34) rgba(255,255,255,.05);
}

.be-purchase-cities-scroll .be-purchase-city-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}

.be-purchase-city-placeholder{
  min-height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
  color:#e8cfd9;
  border:1px dashed rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}

.be-purchase-city-placeholder[hidden]{
  display:none!important;
}

.be-purchase-category-scroll::-webkit-scrollbar,
.be-purchase-cities-scroll::-webkit-scrollbar{
  width:9px;
}
.be-purchase-category-scroll::-webkit-scrollbar-track,
.be-purchase-cities-scroll::-webkit-scrollbar-track{
  background:rgba(255,255,255,.04);
  border-radius:999px;
}
.be-purchase-category-scroll::-webkit-scrollbar-thumb,
.be-purchase-cities-scroll::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.28);
  border-radius:999px;
}

@media(max-width:760px){
  .be-purchase-category-scroll .be-purchase-city-categories{
    grid-template-columns:1fr!important;
  }
  .be-purchase-cities-scroll .be-purchase-city-grid{
    grid-template-columns:1fr!important;
  }
  .be-purchase-category-scroll{
    height:170px;
    max-height:170px;
  }
  .be-purchase-cities-scroll{
    height:300px;
    max-height:300px;
  }
}


/* v1.0.72 - no overview, one category at a time, horizontal left-right carousel */
.be-market-overview-card{
  display:none!important;
}

.be-purchase-category-carousel{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 40px;
  gap:8px;
  align-items:center;
}

.be-carousel-arrow{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.be-carousel-arrow:hover{
  background:rgba(255,255,255,.14);
}

.be-purchase-category-scroll{
  height:auto!important;
  max-height:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0!important;
  scrollbar-width:none!important;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
}

.be-purchase-category-scroll::-webkit-scrollbar{
  display:none!important;
}

.be-purchase-category-scroll .be-purchase-city-categories{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:10px!important;
  margin:0!important;
}

.be-purchase-category-scroll .be-purchase-city-category{
  flex:0 0 100%!important;
  width:100%!important;
  min-width:100%!important;
  text-align:center!important;
  scroll-snap-align:start;
  font-size:18px!important;
  padding:14px 16px!important;
  border-radius:14px!important;
}

/* city list remains below with its own vertical scroll */
.be-purchase-cities-scroll{
  height:310px!important;
  max-height:310px!important;
  overflow-y:auto!important;
}

@media(max-width:760px){
  .be-purchase-category-carousel{
    grid-template-columns:36px minmax(0,1fr) 36px;
  }
  .be-carousel-arrow{
    width:36px;
    height:36px;
  }
}


/* v1.0.73 - compact ‹ category › selector, cities below */
.be-purchase-selector-compact{
  display:grid!important;
  gap:14px!important;
  margin:14px 0 0!important;
}

.be-purchase-category-control{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 42px!important;
  gap:10px!important;
  align-items:center!important;
}

.be-purchase-category-viewport{
  min-width:0!important;
  height:54px!important;
}

.be-purchase-category-viewport .be-purchase-city-category{
  display:none!important;
  width:100%!important;
  height:54px!important;
  margin:0!important;
  padding:7px 14px!important;
  border-radius:14px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:2px!important;
}

.be-purchase-category-viewport .be-purchase-city-category.is-carousel-active{
  display:flex!important;
}

.be-purchase-category-viewport .be-purchase-city-category strong{
  font-size:17px!important;
  line-height:1.1!important;
}

.be-purchase-category-viewport .be-purchase-city-category small{
  font-size:11px!important;
  opacity:.8!important;
}

.be-purchase-category-control .be-carousel-arrow{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:26px!important;
  line-height:1!important;
}

.be-purchase-cities-scroll{
  height:300px!important;
  max-height:300px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-right:8px!important;
}

.be-purchase-cities-scroll .be-purchase-city-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}

@media(max-width:760px){
  .be-purchase-category-control{
    grid-template-columns:38px minmax(0,1fr) 38px!important;
  }
  .be-purchase-category-control .be-carousel-arrow{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }
  .be-purchase-cities-scroll .be-purchase-city-grid{
    grid-template-columns:1fr!important;
  }
}


/* v1.0.74 - category count + one city at a time with thumbnail */
.be-category-progress,
.be-city-progress{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:2px 0 8px;
  padding:0 2px;
  color:#ead8e1;
  font-size:12px;
}

.be-category-progress strong,
.be-city-progress strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
}

.be-city-carousel-wrap{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 42px!important;
  gap:10px!important;
  align-items:center!important;
}

.be-city-arrow{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
  font-size:26px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
}

.be-city-arrow:hover{
  background:rgba(255,255,255,.14)!important;
}

.be-purchase-cities-scroll{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  padding:0!important;
}

.be-purchase-cities-scroll .be-purchase-city-grid{
  display:block!important;
  margin:0!important;
}

.be-purchase-city-card{
  width:100%!important;
  min-height:158px!important;
  margin:0!important;
  display:none!important;
  grid-template-columns:132px minmax(0,1fr)!important;
  align-items:center!important;
  gap:16px!important;
  padding:14px!important;
  text-align:left!important;
}

.be-purchase-city-card.is-city-active{
  display:grid!important;
}

.be-city-thumb{
  position:relative;
  width:132px;
  height:112px;
  border-radius:14px;
  overflow:hidden;
  background:
    linear-gradient(180deg,
      hsl(var(--city-hue) 55% 48%) 0%,
      hsl(var(--city-hue) 50% 26%) 100%);
  border:1px solid rgba(255,255,255,.10);
}

.be-city-thumb-sky{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 75% 24%, rgba(255,255,255,.65) 0 7px, transparent 8px),
    linear-gradient(180deg, rgba(255,255,255,.20), transparent 58%);
}

.be-city-thumb-buildings{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:58%;
  background:
    linear-gradient(90deg,
      rgba(30,16,28,.78) 0 12%,
      transparent 12% 16%,
      rgba(39,18,34,.9) 16% 30%,
      transparent 30% 34%,
      rgba(26,14,25,.82) 34% 46%,
      transparent 46% 50%,
      rgba(42,19,37,.9) 50% 68%,
      transparent 68% 72%,
      rgba(29,14,27,.84) 72% 88%,
      transparent 88%);
  clip-path:polygon(0 45%,12% 45%,12% 18%,26% 18%,26% 35%,39% 35%,39% 8%,54% 8%,54% 28%,69% 28%,69% 0,83% 0,83% 38%,100% 38%,100% 100%,0 100%);
}

.be-city-thumb-label{
  position:absolute;
  left:10px;
  top:8px;
  width:30px;
  height:30px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(20,7,14,.55);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:16px;
  font-weight:800;
}

.be-city-card-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.be-city-card-copy strong{
  font-size:22px!important;
  line-height:1.1!important;
}

.be-city-card-copy span{
  color:#ead9e2!important;
}

.be-city-card-copy small{
  align-self:flex-start;
  margin-top:4px;
  color:#ffe7ad!important;
}

@media(max-width:760px){
  .be-city-carousel-wrap{
    grid-template-columns:38px minmax(0,1fr) 38px!important;
  }
  .be-city-arrow{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }
  .be-purchase-city-card{
    grid-template-columns:1fr!important;
  }
  .be-city-thumb{
    width:100%;
    height:130px;
  }
}

/* v1.0.75 - geographic city flow + two city bonuses */
.be-purchase-flow{display:grid;gap:14px;margin-top:16px}.be-purchase-step-card{padding:14px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09)}.be-purchase-step-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#f6dce7;font-size:13px;font-weight:800}.be-purchase-step-head strong{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);font-size:12px;color:#fff}.be-purchase-geo-control{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:10px;align-items:center}.be-purchase-geo-viewport{height:58px;min-width:0}.be-purchase-geo-option{display:none!important;width:100%;height:58px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:#fff;text-align:center;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:7px 14px;cursor:pointer}.be-purchase-geo-option.is-carousel-active{display:flex!important}.be-purchase-geo-option strong{font-size:17px;line-height:1.1}.be-purchase-geo-option small{font-size:11px;opacity:.8}.be-purchase-city-viewport{min-width:0}.be-purchase-city-panel{display:block}.be-purchase-city-panel[hidden]{display:none!important}.be-purchase-city-panel .be-purchase-city-card{display:none!important;width:100%!important;grid-template-columns:132px minmax(0,1fr)!important;align-items:center!important;gap:16px!important;min-height:160px!important;padding:14px!important;border-radius:16px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.11)!important;text-align:left!important}.be-purchase-city-panel .be-purchase-city-card.is-city-active{display:grid!important}.be-city-bonus-pills{display:flex!important;flex-wrap:wrap;gap:6px;margin-top:4px}.be-city-bonus-pills small{display:inline-flex!important;align-items:center;padding:5px 8px;border-radius:999px;background:rgba(17,184,176,.14)!important;border:1px solid rgba(97,240,211,.20)!important;color:#c9fff6!important;font-size:11px!important}.be-category-bonus-note{display:block;margin-top:8px;color:#ead8e1!important}.be-category-bonus-note.has-bonus{color:#bfffd5!important;font-weight:700}.be-purchase-submit{margin-top:14px;width:100%;justify-content:center}.be-purchase-step-card select{width:100%!important;max-width:none!important}.be-purchase-card .be-city-carousel-wrap{display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;gap:10px!important;align-items:center!important}.be-purchase-card .be-city-arrow,.be-purchase-card .be-carousel-arrow{width:42px!important;height:42px!important;min-width:42px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:26px!important}.be-purchase-card .be-selected-city{margin:10px 0 0!important}.be-city-card .be-city-bonus{display:block!important}.be-city-card .be-city-type{color:#f7dce8!important}

@media(max-width:760px){.be-purchase-geo-control,.be-purchase-card .be-city-carousel-wrap{grid-template-columns:38px minmax(0,1fr) 38px!important}.be-purchase-card .be-city-arrow,.be-purchase-card .be-carousel-arrow{width:38px!important;height:38px!important;min-width:38px!important}.be-purchase-city-panel .be-purchase-city-card{grid-template-columns:1fr!important}.be-city-thumb{width:100%!important;height:130px!important}}


/* v1.0.76 - real lightweight city WebP artwork */
.be-city-thumb{
  display:block!important;
  width:132px!important;
  height:92px!important;
  border-radius:14px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:#24121f!important;
}
.be-city-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.be-city-thumb-sky,
.be-city-thumb-buildings,
.be-city-thumb-label{
  display:none!important;
}
@media(max-width:760px){
  .be-city-thumb{
    width:100%!important;
    height:130px!important;
  }
}


/* v1.0.77 - player color outline on owned businesses */
.be-business-list > li.be-owned-business-card{
  border:2px solid var(--be-owner-color, #6f42c1)!important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 0 14px color-mix(in srgb, var(--be-owner-color, #6f42c1) 20%, transparent)!important;
  border-radius:14px!important;
}

.be-business-list > li.be-owned-business-card::before{
  content:"";
  display:block;
  width:8px;
  align-self:stretch;
  border-radius:999px;
  background:var(--be-owner-color, #6f42c1);
  flex:0 0 8px;
}

@supports not (color: color-mix(in srgb, red 20%, transparent)){
  .be-business-list > li.be-owned-business-card{
    box-shadow:0 0 0 1px rgba(255,255,255,.03) inset!important;
  }
}


/* v1.0.79 - business category carousel */
.be-business-category-carousel{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 42px!important;
  gap:10px!important;
  align-items:center!important;
  margin-top:8px!important;
}

.be-business-category-viewport{
  min-width:0!important;
  height:58px!important;
}

.be-business-category-option{
  display:none!important;
  width:100%!important;
  height:58px!important;
  margin:0!important;
  padding:7px 14px!important;
  border-radius:14px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:3px!important;
  cursor:pointer!important;
}

.be-business-category-option.is-carousel-active{
  display:flex!important;
}

.be-business-category-option strong{
  font-size:17px!important;
  line-height:1.1!important;
}

.be-business-category-option small{
  font-size:11px!important;
  opacity:.78!important;
}

@media(max-width:760px){
  .be-business-category-carousel{
    grid-template-columns:38px minmax(0,1fr) 38px!important;
  }
}

/* v1.0.80 - improved city card and business carousel */
.be-purchase-city-card{
  min-height:176px!important;
  grid-template-columns:160px minmax(0,1fr)!important;
  gap:18px!important;
  padding:14px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;
  border:1px solid rgba(255,255,255,.12)!important;
}
.be-purchase-city-card .be-city-thumb{
  width:160px!important;
  height:118px!important;
  border-radius:16px!important;
  overflow:hidden!important;
  position:relative!important;
}
.be-purchase-city-card .be-city-thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.be-purchase-city-card .be-city-card-copy>strong{
  font-size:22px!important;
}
.be-city-bonus-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
}
.be-city-bonus-pills small{
  padding:5px 8px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.be-business-carousel{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 42px!important;
  gap:10px!important;
  align-items:center!important;
  margin-top:8px!important;
}
.be-business-viewport{min-width:0!important;min-height:84px!important;}
.be-business-choice{
  display:none!important;
  width:100%!important;
  min-height:84px!important;
  padding:12px 14px!important;
  border-radius:15px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.065)!important;
  color:#fff!important;
  align-items:center!important;
  gap:12px!important;
  text-align:left!important;
}
.be-business-choice.is-carousel-active{display:flex!important;}
.be-business-choice-icon{
  width:44px;height:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:center;
  border-radius:12px;background:rgba(255,255,255,.08);font-size:22px;
}
.be-business-choice-copy{display:flex;flex-direction:column;gap:5px;min-width:0;}
.be-business-carousel.is-disabled{opacity:.48;pointer-events:none;}
@media(max-width:760px){
  .be-purchase-city-card{grid-template-columns:1fr!important;}
  .be-purchase-city-card .be-city-thumb{width:100%!important;height:145px!important;}
  .be-business-carousel{grid-template-columns:38px minmax(0,1fr) 38px!important;}
}


/* v1.0.81 - city card cleanup: one image, visible name, two bonuses */
.be-purchase-city-card{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  min-height:0!important;
  padding:12px!important;
  text-align:center!important;
  overflow:hidden!important;
}

.be-purchase-city-card .be-city-thumb{
  width:100%!important;
  height:135px!important;
  margin:0!important;
  border-radius:14px!important;
  overflow:hidden!important;
}

.be-purchase-city-card .be-city-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

.be-purchase-city-card .be-city-card-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  width:100%!important;
}

.be-purchase-city-card .be-city-card-copy > strong{
  display:block!important;
  width:100%!important;
  font-size:21px!important;
  line-height:1.15!important;
  color:#fff!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:center!important;
}

.be-purchase-city-card .be-city-card-copy > span:not(.be-city-bonus-pills){
  display:block!important;
  width:100%!important;
  text-align:center!important;
  color:#ead8e1!important;
}

.be-city-bonus-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  margin-top:3px!important;
}

.be-city-bonus-pills small{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:26px!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  white-space:normal!important;
  text-align:center!important;
}

/* Center the selected business inside its carousel */
.be-business-choice{
  justify-content:center!important;
  text-align:center!important;
}

.be-business-choice-icon{
  margin:0!important;
}

.be-business-choice-copy{
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

.be-business-choice-copy strong,
.be-business-choice-copy small{
  width:100%!important;
  text-align:center!important;
}

@media(max-width:760px){
  .be-purchase-city-card .be-city-thumb{
    height:145px!important;
  }
}


/* v1.0.82 - clearly show both city bonuses */
.be-city-bonus-pills{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:7px!important;
  width:100%!important;
  margin-top:5px!important;
}

.be-city-bonus-pills .be-city-bonus-pill{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:31px!important;
  padding:6px 8px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.085)!important;
  border:1px solid rgba(255,255,255,.11)!important;
  color:#f4e8ee!important;
  font-size:11px!important;
  line-height:1.2!important;
  white-space:normal!important;
  text-align:center!important;
}

@media(max-width:760px){
  .be-city-bonus-pills{
    grid-template-columns:1fr!important;
  }
}


/* v1.0.83 - approved category icon set */
.be-purchase-city-card::after{
  display:none!important;
  content:none!important;
}

.be-category-carousel-icon{
  width:52px!important;
  height:46px!important;
  object-fit:cover!important;
  border-radius:11px!important;
  flex:0 0 52px!important;
  box-shadow:0 5px 12px rgba(0,0,0,.18)!important;
}

.be-business-category-option{
  flex-direction:row!important;
  justify-content:center!important;
  gap:10px!important;
}

.be-category-carousel-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  min-width:0!important;
}

.be-city-bonus-pills{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
}

.be-city-bonus-pills .be-city-bonus-pill{
  min-height:46px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  gap:7px!important;
  align-items:center!important;
  justify-content:center!important;
  padding:7px 9px!important;
  border-radius:12px!important;
}

.be-city-bonus-pills .be-city-bonus-pill img{
  width:30px!important;
  height:27px!important;
  object-fit:cover!important;
  border-radius:7px!important;
}

.be-city-bonus-pills .be-city-bonus-pill span{
  display:block!important;
  opacity:1!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:center!important;
}

.be-business-choice-icon{
  overflow:hidden!important;
  padding:4px!important;
}

.be-business-choice-icon img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:9px!important;
}

@media(max-width:760px){
  .be-city-bonus-pills{
    grid-template-columns:1fr 1fr!important;
  }
  .be-category-carousel-icon{
    width:46px!important;
    height:41px!important;
    flex-basis:46px!important;
  }
}


/* v1.0.84 - final city-card layout: wide photo left, equal vertical bonuses right */
.be-purchase-city-card{
  display:grid!important;
  grid-template-columns:minmax(150px,1.15fr) minmax(145px,.85fr)!important;
  gap:12px!important;
  align-items:stretch!important;
  min-height:178px!important;
  padding:11px!important;
  text-align:left!important;
  overflow:hidden!important;
}

.be-purchase-city-card .be-city-thumb{
  width:100%!important;
  height:100%!important;
  min-height:156px!important;
  max-height:178px!important;
  margin:0!important;
  border-radius:14px!important;
  overflow:hidden!important;
}

.be-purchase-city-card .be-city-thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}

.be-purchase-city-card .be-city-card-copy{
  display:grid!important;
  grid-template-rows:auto auto 1fr!important;
  align-content:center!important;
  align-items:center!important;
  justify-items:center!important;
  gap:4px!important;
  min-width:0!important;
  width:100%!important;
  padding:2px 0!important;
}

.be-purchase-city-card .be-city-card-copy > strong{
  width:100%!important;
  text-align:center!important;
  font-size:19px!important;
  line-height:1.1!important;
  white-space:normal!important;
  color:#fff!important;
}

.be-purchase-city-card .be-city-card-copy > span:not(.be-city-bonus-pills){
  width:100%!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1.15!important;
  color:#ead8e1!important;
}

.be-city-bonus-pills{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:repeat(2,48px)!important;
  gap:7px!important;
  width:100%!important;
  margin-top:5px!important;
  align-self:end!important;
}

.be-city-bonus-pills .be-city-bonus-pill{
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  align-items:center!important;
  gap:7px!important;
  padding:6px 8px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}

.be-city-bonus-pills .be-city-bonus-pill img{
  width:32px!important;
  height:32px!important;
  object-fit:cover!important;
  border-radius:8px!important;
}

.be-city-bonus-pills .be-city-bonus-pill span{
  width:100%!important;
  font-size:10.5px!important;
  font-weight:700!important;
  line-height:1.12!important;
  text-align:center!important;
  color:#f6ebf0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

@media(max-width:760px){
  .be-purchase-city-card{
    grid-template-columns:1fr!important;
  }
  .be-purchase-city-card .be-city-thumb{
    height:150px!important;
    min-height:150px!important;
    max-height:150px!important;
  }
  .be-city-bonus-pills{
    grid-template-columns:1fr!important;
    grid-template-rows:repeat(2,48px)!important;
  }
}


/* v1.0.87 - individual icon for every business */
.be-business-specific-icon{
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.085)!important;
  border:1px solid rgba(255,255,255,.09)!important;
  font-size:25px!important;
  line-height:1!important;
  overflow:visible!important;
}

.be-business-specific-icon img{
  display:none!important;
}

@media(max-width:760px){
  .be-business-specific-icon{
    width:42px!important;
    height:42px!important;
    flex-basis:42px!important;
    font-size:23px!important;
  }
}


/* v1.0.88 - reliable image icons for individual businesses */
.be-business-specific-icon{
  overflow:hidden!important;
  padding:0!important;
}
.be-business-specific-icon img{
  display:block!important;
  width:46px!important;
  height:46px!important;
  object-fit:cover!important;
  border-radius:11px!important;
}
@media(max-width:760px){
  .be-business-specific-icon img{
    width:42px!important;
    height:42px!important;
  }
}


/* v1.0.89 - approved business icon artwork */
.be-business-specific-icon{
  width:54px!important;
  height:48px!important;
  flex:0 0 54px!important;
  background:transparent!important;
  border:0!important;
  border-radius:10px!important;
  overflow:hidden!important;
}
.be-business-specific-icon img{
  display:block!important;
  width:54px!important;
  height:48px!important;
  object-fit:cover!important;
  border-radius:10px!important;
}
@media(max-width:760px){
  .be-business-specific-icon,
  .be-business-specific-icon img{
    width:48px!important;
    height:43px!important;
  }
  .be-business-specific-icon{
    flex-basis:48px!important;
  }
}


/* v1.0.90 - clearer round completion indicator */
.be-round-progress{
  width:min(100%,320px)!important;
  text-align:left!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  padding:11px 13px!important;
  border:1px solid rgba(126,231,255,.24)!important;
  background:rgba(3,145,139,.10)!important;
  border-radius:12px!important;
}
.be-round-progress-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.be-round-progress-label{
  color:#f7f2f5!important;
  font-size:.86rem!important;
  font-weight:700!important;
  line-height:1.2!important;
}
.be-round-progress strong{
  font-size:1.05rem!important;
  line-height:1!important;
  color:#7ee7ff!important;
  white-space:nowrap!important;
}
.be-round-progress-track{
  width:100%!important;
  height:8px!important;
  display:block!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)!important;
}
.be-round-progress-track > span{
  display:block!important;
  height:100%!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,#03918B,#7ee7ff)!important;
  transition:width .25s ease!important;
}
.be-round-progress small{
  margin:0!important;
  text-align:right!important;
  color:rgba(255,255,255,.72)!important;
  font-size:.72rem!important;
}
@media(max-width:700px){
  .be-round-progress{width:100%!important;}
}

/* v1.0.92 - round title one line + help card directly after chat */
.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:6px!important;
}
.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading > div{
    min-width:0!important;
}
.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading h3{
    margin:3px 0 0!important;
    white-space:nowrap!important;
    font-size:15px!important;
    line-height:1.1!important;
    letter-spacing:-.025em!important;
}
.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading > strong{
    flex:0 0 auto!important;
    white-space:nowrap!important;
    font-size:18px!important;
    line-height:1.1!important;
    margin-top:18px!important;
}

.be-game-room.be-status-active > .be-how-to-play-card{
    grid-column:3!important;
    width:auto!important;
    margin:0!important;
    padding:16px!important;
    display:block!important;
    border:1px solid rgba(126,231,255,.18)!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,rgba(88,15,44,.72),rgba(57,8,30,.92))!important;
    box-shadow:0 10px 22px rgba(0,0,0,.14)!important;
}
.be-how-to-play-head{
    margin:0 0 10px!important;
}
.be-how-to-play-head .be-event-kicker{
    display:block!important;
    margin-bottom:4px!important;
}
.be-how-to-play-head h3{
    margin:0!important;
    color:#fff!important;
    font-size:19px!important;
    line-height:1.2!important;
}
.be-how-to-play-body{
    max-height:280px!important;
    overflow-y:auto!important;
    padding-right:6px!important;
}
.be-how-to-play-steps{
    margin:0!important;
    padding-left:20px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
}
.be-how-to-play-steps li{
    color:#f7eef3!important;
    font-size:12.5px!important;
    line-height:1.42!important;
}
.be-how-to-play-steps strong{
    color:#7ee7ff!important;
}
@media(max-width:980px){
    .be-game-room.be-status-active > .be-how-to-play-card{
        grid-column:1/-1!important;
    }
}
@media(max-width:700px){
    .be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading h3{
        font-size:15px!important;
    }
}


/* v1.0.93 - single round-progress card + instructions directly under chat */
.be-game-room.be-status-active > .be-round-header{justify-content:flex-start!important;}
.be-game-room.be-status-active > .be-round-header .be-round-progress{display:none!important;}

.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  column-gap:8px!important;
}
.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading h3{
  white-space:nowrap!important;
  font-size:14px!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
  margin:3px 0 0!important;
}
.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading > strong{
  white-space:nowrap!important;
  font-size:17px!important;
  line-height:1.1!important;
  margin-top:18px!important;
}

.be-mini-chat-card .be-how-to-play-card-inline{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  margin:16px 0 0!important;
  padding:14px!important;
  border:1px solid rgba(126,231,255,.22)!important;
  border-radius:14px!important;
  background:rgba(3,145,139,.10)!important;
}
.be-mini-chat-card .be-how-to-play-head{display:block!important;margin:0 0 10px!important;}
.be-mini-chat-card .be-how-to-play-head h3{margin:4px 0 0!important;font-size:18px!important;line-height:1.2!important;}
.be-mini-chat-card .be-how-to-play-body{display:block!important;max-height:245px!important;overflow-y:auto!important;padding-right:5px!important;}
.be-mini-chat-card .be-how-to-play-steps{margin:0!important;padding-left:19px!important;display:flex!important;flex-direction:column!important;gap:7px!important;}
.be-mini-chat-card .be-how-to-play-steps li{color:#f7eef3!important;font-size:12px!important;line-height:1.4!important;}
.be-mini-chat-card .be-how-to-play-steps strong{color:#7ee7ff!important;}


/* v1.0.94 - end turn inside round header + visible instructions card */
.be-game-room.be-status-active > .be-round-header{
  grid-column:1/-1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
}
.be-round-end-turn{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:190px!important;
}
.be-round-end-turn .be-form{
  margin:0!important;
  display:block!important;
}
.be-round-end-turn .be-button{
  min-width:170px!important;
  padding:11px 18px!important;
  border-radius:12px!important;
  font-weight:800!important;
  background:#12b8ae!important;
}
.be-round-end-turn-done{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:2px!important;
  text-align:right!important;
}
.be-round-end-turn-done strong{
  color:#7ee7ff!important;
  font-size:13px!important;
}
.be-round-end-turn-done small{
  color:rgba(255,255,255,.74)!important;
  font-size:11px!important;
}

/* Old separate end-turn card is no longer used. */
.be-game-room.be-status-active > .be-turn-action{
  display:none!important;
}

/* Dedicated instructions card immediately after Chat in the right column. */
.be-game-room.be-status-active > .be-how-to-play-card-sidebar{
  grid-column:3!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:auto!important;
  margin:0!important;
  padding:16px!important;
  border:1px solid rgba(126,231,255,.24)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(88,15,44,.86),rgba(57,8,30,.96))!important;
  box-shadow:0 10px 22px rgba(0,0,0,.16)!important;
}
.be-how-to-play-card-sidebar .be-how-to-play-head{
  display:block!important;
  margin:0 0 10px!important;
}
.be-how-to-play-card-sidebar .be-how-to-play-head h3{
  margin:4px 0 0!important;
  font-size:20px!important;
  line-height:1.2!important;
  color:#fff!important;
}
.be-how-to-play-card-sidebar .be-how-to-play-body{
  display:block!important;
  max-height:300px!important;
  overflow-y:auto!important;
  padding-right:6px!important;
}
.be-how-to-play-card-sidebar .be-how-to-play-steps{
  margin:0!important;
  padding-left:20px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
.be-how-to-play-card-sidebar .be-how-to-play-steps li{
  color:#f8eef3!important;
  font-size:12.5px!important;
  line-height:1.45!important;
}
.be-how-to-play-card-sidebar .be-how-to-play-steps strong{
  color:#7ee7ff!important;
}

@media(max-width:1100px){
  .be-game-room.be-status-active > .be-how-to-play-card-sidebar{
    grid-column:1/-1!important;
  }
}
@media(max-width:700px){
  .be-game-room.be-status-active > .be-round-header{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .be-round-end-turn{
    width:100%!important;
    min-width:0!important;
  }
  .be-round-end-turn .be-form,
  .be-round-end-turn .be-button{
    width:100%!important;
  }
  .be-round-end-turn-done{
    align-items:flex-start!important;
    text-align:left!important;
  }
}

/* v1.0.95 - dedicated top navigation instructions page */
.be-instructions-page{padding:22px!important}
.be-instructions-hero{padding:20px 22px!important;margin-bottom:16px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(106,16,49,.92),rgba(56,7,29,.98))!important}
.be-instructions-hero h2{margin:5px 0 7px!important;font-size:27px!important}
.be-instructions-hero p{margin:0!important;color:rgba(255,255,255,.8)!important}
.be-instructions-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.be-instruction-card{display:flex!important;gap:14px!important;align-items:flex-start!important;padding:16px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:16px!important;background:rgba(255,255,255,.045)!important}
.be-instruction-number{width:32px!important;height:32px!important;flex:0 0 32px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#0f9d95!important;color:#fff!important;font-weight:800!important}
.be-instruction-card h3{margin:1px 0 6px!important;font-size:18px!important}
.be-instruction-card p{margin:0!important;color:rgba(255,255,255,.82)!important;line-height:1.5!important}
@media(max-width:760px){.be-instructions-grid{grid-template-columns:1fr!important}.be-instructions-page{padding:14px!important}}


/* v1.0.96 - maintenance polish */
.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading h3{
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1.1!important;
  margin:3px 0 0!important;
}
.be-game-room.be-status-active > .be-turn-progress-card .be-turn-progress-heading{
  grid-template-columns:minmax(0,1fr) auto!important;
  column-gap:6px!important;
}
.be-app-nav a{white-space:nowrap}
.be-instructions-grid strong{color:#7ee7ff}
@media(max-width:760px){
  .be-app-nav{overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:6px}
  .be-app-nav a{flex:0 0 auto}
}

/* v1.0.97 locked rules UI */
.be-upgrade-benefit-box{min-width:185px;padding:8px 10px;border:1px solid rgba(126,231,255,.20);border-radius:10px;background:rgba(3,145,139,.10);display:flex;flex-direction:column;gap:2px;line-height:1.25}
.be-upgrade-benefit-box strong{color:#7ee7ff;font-size:12px}.be-upgrade-benefit-box span{font-size:11.5px}.be-upgrade-benefit-box small{font-size:10.5px;color:rgba(255,255,255,.78)}.be-upgrade-benefit-box.is-max{opacity:.82}
.be-loan-repay-form{display:flex!important;gap:10px!important;align-items:end!important;flex-wrap:wrap!important}.be-loan-repay-form label{display:flex!important;flex-direction:column!important;gap:5px!important}.be-loan-repay-form input{max-width:180px!important}

/* v1.0.99 - repaired compact owned-business carousel */
.be-owned-business-carousel{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.be-owned-business-carousel-head{
  display:grid;
  grid-template-columns:42px auto 42px;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.be-owned-business-carousel-head .be-carousel-arrow{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:24px!important;
}
.be-owned-business-carousel-head .be-carousel-arrow:disabled{
  opacity:.35!important;
  cursor:not-allowed!important;
}
.be-owned-business-counter{
  min-width:66px;
  text-align:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  font-size:12px;
  font-weight:800;
}
.be-owned-business-track{
  min-width:0;
}
.be-owned-business-card{
  display:none;
  padding:14px!important;
  border:1px solid var(--be-owner-color,#6f42c1)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.035)!important;
  box-shadow:inset 3px 0 0 var(--be-owner-color,#6f42c1);
}
.be-owned-business-card.is-active{
  display:block;
}
.be-owned-business-main{
  display:flex;
  flex-direction:column;
  gap:11px;
}
.be-owned-business-card .be-business-info strong{
  display:block;
  margin:0 0 3px;
  font-size:20px;
  line-height:1.15;
}
.be-owned-business-card .be-business-info span{
  display:block;
  font-size:11.5px;
  color:rgba(255,255,255,.74);
}
.be-owned-business-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
}
.be-owned-business-stats>div{
  padding:8px 9px;
  border-radius:10px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
}
.be-owned-business-stats small{
  display:block;
  margin-bottom:2px;
  font-size:9.5px;
  color:rgba(255,255,255,.60);
}
.be-owned-business-stats strong{
  font-size:11.5px;
}
.be-owned-business-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.be-owned-business-primary-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.be-owned-action-block{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.be-owned-action-block .be-sale-form{
  margin:0!important;
}
.be-owned-action-block .be-action-upgrade{
  display:block!important;
}
.be-owned-action-block .be-action-auction{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:6px!important;
  align-items:stretch!important;
}
.be-owned-action-block .be-action-auction input{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
.be-owned-action-button{
  width:100%!important;
  min-height:38px!important;
  padding:9px 11px!important;
  border-radius:10px!important;
  font-weight:800!important;
}
.be-owned-action-button.is-disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
}
.be-upgrade-benefit-box,
.be-auction-help-box{
  min-height:50px;
  box-sizing:border-box;
  padding:7px 9px;
  border-radius:9px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
}
.be-upgrade-benefit-box{
  border:1px solid rgba(126,231,255,.18);
  background:rgba(3,145,139,.08);
}
.be-auction-help-box{
  border:1px solid rgba(255,196,66,.17);
  background:rgba(255,196,66,.055);
}
.be-upgrade-benefit-box strong,
.be-auction-help-box strong{
  font-size:10.5px;
}
.be-upgrade-benefit-box strong{color:#7ee7ff}
.be-auction-help-box strong{color:#ffd27a}
.be-upgrade-benefit-box span,
.be-upgrade-benefit-box small,
.be-auction-help-box small{
  font-size:9.5px;
  color:rgba(255,255,255,.76);
}
.be-owned-bank-action{
  display:flex!important;
  justify-content:center!important;
  margin:0!important;
}
.be-owned-bank-action .be-button{
  width:auto!important;
  min-width:205px!important;
  padding:8px 12px!important;
}
@media(max-width:760px){
  .be-owned-business-primary-actions{
    grid-template-columns:1fr;
  }
  .be-owned-business-stats{
    grid-template-columns:1fr;
  }
  .be-owned-action-block .be-action-auction{
    grid-template-columns:1fr!important;
  }
  .be-owned-bank-action .be-button{
    width:100%!important;
  }
}

/* v1.0.100 - move auction creation to Auctions tab */
.be-owned-business-primary-actions{grid-template-columns:1fr!important}
.be-auction-sell-panel{margin:0 0 16px;padding:14px;border:1px solid rgba(255,196,66,.20);border-radius:14px;background:rgba(255,196,66,.055)}
.be-auction-sell-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}
.be-auction-sell-head h4{margin:3px 0 0;font-size:17px}
.be-auction-sell-head small{color:#ffd27a;font-size:11px;text-align:right}
.be-auction-sell-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(150px,.7fr) auto;gap:10px;align-items:end}
.be-auction-sell-form label{display:flex;flex-direction:column;gap:5px;margin:0}
.be-auction-sell-form label>span{font-size:11px;color:rgba(255,255,255,.72)}
.be-auction-sell-form select,.be-auction-sell-form input{width:100%;min-height:40px;box-sizing:border-box}
.be-auction-create-button{min-height:40px;white-space:nowrap}
@media(max-width:760px){.be-auction-sell-form{grid-template-columns:1fr}.be-auction-sell-head{flex-direction:column}.be-auction-sell-head small{text-align:left}.be-auction-create-button{width:100%}}

/* v1.0.101 - auction business selector full row */
.be-auction-sell-form{
  grid-template-columns:minmax(0,1fr) auto!important;
}
.be-auction-sell-form label:first-of-type{
  grid-column:1 / -1!important;
}
.be-auction-sell-form label:first-of-type select{
  width:100%!important;
  max-width:none!important;
}
.be-auction-sell-form label:nth-of-type(2){
  min-width:0!important;
}
.be-auction-sell-form label:nth-of-type(2) input{
  width:100%!important;
}
.be-auction-create-button{
  align-self:end!important;
}
@media(max-width:760px){
  .be-auction-sell-form{
    grid-template-columns:1fr!important;
  }
  .be-auction-sell-form label:first-of-type{
    grid-column:1!important;
  }
}

/* v1.0.102 - real business graphics in owned-business carousel */
.be-owned-business-heading{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
}
.be-owned-business-icon{
  width:58px!important;
  height:58px!important;
  flex:0 0 58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
.be-owned-business-icon img{
  width:54px!important;
  height:54px!important;
  object-fit:contain!important;
  display:block!important;
}
.be-owned-business-heading .be-business-info{
  min-width:0!important;
  flex:1!important;
}
.be-owned-business-heading .be-business-info strong{
  font-size:20px!important;
  line-height:1.15!important;
}
@media(max-width:520px){
  .be-owned-business-icon{
    width:50px!important;
    height:50px!important;
    flex-basis:50px!important;
  }
  .be-owned-business-icon img{
    width:46px!important;
    height:46px!important;
  }
}

/* v1.0.103 - market event graphics */
.be-event-card{display:grid!important;grid-template-columns:82px minmax(0,1fr) auto!important;align-items:center!important;gap:16px!important}
.be-event-graphic{width:74px!important;height:74px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:16px!important;background:rgba(255,255,255,.92)!important;border:1px solid rgba(255,255,255,.16)!important;overflow:hidden!important;box-shadow:0 8px 18px rgba(0,0,0,.16)!important}
.be-event-graphic img{width:68px!important;height:68px!important;object-fit:contain!important;display:block!important}
.be-event-graphic span{font-size:34px!important;line-height:1!important}
.be-event-copy{min-width:0!important}
.be-event-modifier{margin-left:0!important;padding:8px 11px!important;border-radius:999px!important;background:rgba(73,190,118,.15)!important;border:1px solid rgba(117,238,156,.20)!important;font-size:16px!important}
.be-event-modifier.is-negative{color:#ffd0d5!important;background:rgba(210,66,86,.15)!important;border-color:rgba(255,139,153,.22)!important}
.be-event-modifier.is-positive{color:#d5ffd9!important}
@media(max-width:700px){.be-event-card{grid-template-columns:64px minmax(0,1fr)!important}.be-event-graphic{width:58px!important;height:58px!important}.be-event-graphic img{width:54px!important;height:54px!important}.be-event-modifier{grid-column:1/-1!important;justify-self:start!important;font-size:13px!important}}

/* v1.0.104 - special card graphics */
.be-player-events-card .be-section-heading{
  align-items:flex-start!important;
}
.be-player-event-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:12px!important;
  margin-top:14px!important;
}
.be-player-event-item{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  padding:14px!important;
  border-radius:16px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.035))!important;
  position:relative!important;
  overflow:hidden!important;
}
.be-player-event-item.is-active{
  border-color:rgba(126,231,255,.38)!important;
  box-shadow:0 0 0 1px rgba(126,231,255,.14) inset, 0 10px 26px rgba(0,0,0,.16)!important;
}
.be-player-event-item::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,#7ee7ff,#27d3ae);
  opacity:.88;
}
.be-player-event-media{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.be-player-event-icon{
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  font-size:30px!important;
}
.be-player-event-icon img{
  width:58px!important;
  height:58px!important;
  object-fit:contain!important;
  display:block!important;
}
.be-player-event-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.be-player-event-content{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
}
.be-player-event-copy h4{
  margin:2px 0 5px!important;
  font-size:17px!important;
  line-height:1.2!important;
}
.be-player-event-copy p{
  margin:0!important;
  font-size:12px!important;
  line-height:1.45!important;
  color:rgba(255,255,255,.80)!important;
}
.be-player-event-kicker{
  display:inline-block!important;
  font-size:10px!important;
  letter-spacing:.08em!important;
  font-weight:800!important;
  color:#ffd27a!important;
}
.be-player-event-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.be-player-event-category{
  display:inline-flex!important;
  align-items:center!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.09)!important;
  font-size:11px!important;
  color:#fff!important;
}
.be-player-event-modifier{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:58px!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  background:rgba(126,231,255,.14)!important;
  border:1px solid rgba(126,231,255,.22)!important;
  color:#7ee7ff!important;
  font-size:13px!important;
}
.be-player-event-item .be-event-status{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  font-size:10.5px!important;
  font-weight:800!important;
  letter-spacing:.05em!important;
  background:rgba(40,167,69,.18)!important;
  border:1px solid rgba(40,167,69,.34)!important;
  color:#d8ffe1!important;
}
.be-player-event-item form{
  grid-column:2!important;
}
.be-player-event-item .be-button{
  min-height:36px!important;
}
@media(max-width:560px){
  .be-player-event-item{
    grid-template-columns:60px minmax(0,1fr)!important;
    gap:10px!important;
    padding:12px!important;
  }
  .be-player-event-icon{
    width:56px!important;
    height:56px!important;
    min-width:56px!important;
  }
  .be-player-event-icon img{
    width:50px!important;
    height:50px!important;
  }
  .be-player-event-item .be-event-status{
    position:static!important;
    justify-self:start!important;
    margin-top:2px!important;
  }
  .be-player-event-item form{
    grid-column:1 / -1!important;
  }
}

/* v1.0.105 - season graphics */
.be-meta-season{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
}
.be-meta-season img{
  width:24px!important;
  height:24px!important;
  object-fit:contain!important;
  border-radius:7px!important;
  flex:0 0 24px!important;
}
.be-event-season-kicker{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
.be-event-season-kicker img{
  width:20px!important;
  height:20px!important;
  object-fit:contain!important;
  border-radius:6px!important;
  flex:0 0 20px!important;
}

/* v1.0.106 - ranking medals and progress */
.be-score-list-visual{
  list-style:none!important;
  margin:12px 0 0!important;
  padding:0!important;
  display:grid!important;
  gap:8px!important;
}
.be-score-list-visual li{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.07)!important;
}
.be-score-list-visual li.is-current-player{
  border-color:rgba(126,231,255,.28)!important;
  background:rgba(126,231,255,.07)!important;
}
.be-score-rank-visual{
  width:40px!important;
  height:40px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.be-score-rank-visual img{
  width:38px!important;
  height:38px!important;
  object-fit:contain!important;
  display:block!important;
}
.be-score-rank-visual .be-score-rank{
  width:32px!important;
  height:32px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.09)!important;
  font-size:12px!important;
  font-weight:800!important;
}
.be-score-main{
  min-width:0!important;
}
.be-score-topline{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:10px!important;
  margin-bottom:6px!important;
}
.be-score-topline strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.be-score-topline span{
  flex:0 0 auto!important;
  font-size:11px!important;
  color:rgba(255,255,255,.76)!important;
}
.be-score-progress{
  height:8px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.05)!important;
}
.be-score-progress>span{
  display:block!important;
  height:100%!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#27d3ae,#7ee7ff)!important;
}
@media(max-width:520px){
  .be-score-list-visual li{
    grid-template-columns:38px minmax(0,1fr)!important;
    padding:9px 10px!important;
  }
  .be-score-rank-visual,
  .be-score-rank-visual img{
    width:34px!important;
    height:34px!important;
  }
  .be-score-topline{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:2px!important;
  }
}

/* v1.0.107 - final winner presentation */
.be-final-results{
  position:relative!important;
  overflow:hidden!important;
}
.be-final-results::before,
.be-final-results::after{
  content:"";
  position:absolute;
  width:10px;
  height:10px;
  border-radius:2px;
  background:#ffd66b;
  opacity:.75;
  box-shadow:
    38px 28px 0 #7ee7ff,
    92px 10px 0 #ff8fb3,
    148px 42px 0 #9cf0b3,
    214px 18px 0 #ffd66b,
    276px 46px 0 #7ee7ff,
    332px 14px 0 #ff8fb3;
  transform:rotate(18deg);
  pointer-events:none;
}
.be-final-results::before{top:8px;left:22px}
.be-final-results::after{top:18px;right:340px;transform:rotate(-16deg)}
.be-final-hero{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:128px minmax(0,1fr)!important;
  align-items:center!important;
  gap:22px!important;
  padding:22px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,rgba(255,215,0,.16),rgba(126,231,255,.07),rgba(255,255,255,.035))!important;
  border:1px solid rgba(255,215,0,.30)!important;
}
.be-final-trophy-wrap{
  width:120px!important;
  height:120px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:24px!important;
  background:rgba(0,0,0,.10)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.be-final-trophy-wrap img{
  width:112px!important;
  height:112px!important;
  object-fit:contain!important;
  display:block!important;
}
.be-final-kicker{
  display:block!important;
  margin-bottom:4px!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.09em!important;
  color:#ffd66b!important;
}
.be-final-winner-copy h2{
  margin:0 0 3px!important;
  font-size:30px!important;
  line-height:1.08!important;
}
.be-final-winner-copy>p{
  margin:0 0 14px!important;
  color:rgba(255,255,255,.78)!important;
}
.be-final-winner-stats{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
.be-final-winner-stats>div{
  padding:9px 10px!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.be-final-winner-stats small{
  display:block!important;
  margin-bottom:2px!important;
  font-size:9.5px!important;
  color:rgba(255,255,255,.62)!important;
}
.be-final-winner-stats strong{
  display:block!important;
  font-size:13px!important;
}
.be-final-podium{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin:14px 0 20px!important;
}
.be-final-podium-item{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:9px!important;
  align-items:center!important;
  padding:10px 12px!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.be-final-podium-item img{
  grid-row:1 / 3!important;
  width:46px!important;
  height:46px!important;
  object-fit:contain!important;
}
.be-final-podium-item strong{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.be-final-podium-item span{
  font-size:11px!important;
  color:rgba(255,255,255,.68)!important;
}
.be-final-rank-cell{
  width:46px!important;
  text-align:center!important;
}
.be-final-rank-cell img{
  width:30px!important;
  height:30px!important;
  object-fit:contain!important;
  vertical-align:middle!important;
}
@media(max-width:760px){
  .be-final-hero{
    grid-template-columns:1fr!important;
    text-align:center!important;
  }
  .be-final-trophy-wrap{
    margin:0 auto!important;
  }
  .be-final-winner-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    text-align:left!important;
  }
  .be-final-podium{
    grid-template-columns:1fr!important;
  }
}

/* v1.0.108 - standalone Business Empire shell */
body.be-game-page #wpadminbar{
  display:none!important;
}
html:has(body.be-game-page){
  margin-top:0!important;
}
body.be-game-page{
  margin-top:0!important;
  padding-top:0!important;
}
body.be-game-page header#masthead,
body.be-game-page .site-header,
body.be-game-page .wp-site-blocks > header,
body.be-game-page .wp-block-template-part:has(nav.wp-block-navigation),
body.be-game-page .page-header,
body.be-game-page .entry-header,
body.be-game-page .entry-title,
body.be-game-page h1.wp-block-post-title,
body.be-game-page .wp-block-post-title{
  display:none!important;
}
body.be-game-page .site,
body.be-game-page .site-content,
body.be-game-page .content-area,
body.be-game-page #content,
body.be-game-page main.site-main,
body.be-game-page .wp-site-blocks,
body.be-game-page .wp-block-group.is-layout-constrained{
  margin-top:0!important;
  padding-top:0!important;
}
body.be-game-page .entry-content{
  margin-top:0!important;
  padding-top:0!important;
}
body.be-game-page .be-single-page-shell{
  margin-top:0!important;
}
@media(max-width:782px){
  html:has(body.be-game-page){
    margin-top:0!important;
  }
}


.be-new-game-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:stretch;margin-top:6px}
.be-new-game-actions .be-button{display:inline-flex;align-items:center;justify-content:center;min-width:220px;min-height:48px;padding:12px 18px;font-weight:700;text-align:center}
@media(max-width:700px){.be-new-game-actions{display:grid;grid-template-columns:1fr}.be-new-game-actions .be-button{width:100%;min-width:0}}


/* v1.0.114 - readable status/target + Foundation CTA */
.be-game-meta-overview{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(220px,1fr))!important;
  gap:12px!important;
}
.be-game-meta-overview .be-meta-card{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  white-space:normal!important;
  overflow:visible!important;
}
.be-game-meta-overview .be-meta-card small{
  font-size:10px!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
  color:rgba(255,255,255,.62)!important;
}
.be-game-meta-overview .be-meta-card strong{
  display:block!important;
  width:100%!important;
  font-size:14px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.be-foundation-cta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:14px 0!important;
  padding:14px 16px!important;
  border-radius:14px!important;
  border:1px solid rgba(126,231,255,.25)!important;
  background:rgba(3,145,139,.13)!important;
}
.be-foundation-cta>div{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}
.be-foundation-cta strong{
  font-size:15px!important;
}
.be-foundation-cta small{
  color:rgba(255,255,255,.75)!important;
  line-height:1.35!important;
}
.be-foundation-cta .be-button{
  flex:0 0 auto!important;
  min-width:190px!important;
}
.be-foundation-cta.is-waiting{
  border-color:rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.045)!important;
}
.be-foundation-cta .is-disabled{
  opacity:.52!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
}
#be-foundation-section{
  scroll-margin-top:24px!important;
}
@media(max-width:700px){
  .be-game-meta-overview{
    grid-template-columns:1fr!important;
  }
  .be-foundation-cta{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .be-foundation-cta .be-button{
    width:100%!important;
    min-width:0!important;
  }
}


/* v1.0.115 - Foundation one-by-one carousels */
.be-foundation-form{overflow:hidden!important}
.be-foundation-carousel{width:100%!important;max-width:680px!important;margin:10px auto 14px!important;padding:12px!important;box-sizing:border-box!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.10)!important;background:rgba(255,255,255,.035)!important}
.be-foundation-carousel[hidden]{display:none!important}
.be-foundation-carousel-head{display:grid!important;grid-template-columns:44px minmax(70px,auto) 44px!important;align-items:center!important;justify-content:center!important;gap:12px!important;margin-bottom:10px!important}
.be-foundation-carousel-head strong{min-width:72px!important;text-align:center!important;padding:7px 12px!important;border-radius:999px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.08)!important;font-size:12px!important}
.be-foundation-arrow{width:44px!important;height:44px!important;padding:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.15)!important;background:#0f9d95!important;color:#fff!important;font-size:28px!important;font-weight:700!important;cursor:pointer!important}
.be-foundation-arrow:hover{background:#11b8b0!important}
.be-foundation-arrow:disabled{opacity:.38!important;cursor:not-allowed!important}
.be-foundation-carousel-track{width:100%!important;min-width:0!important}
.be-foundation-carousel-track [hidden]{display:none!important}
.be-foundation-choice{width:100%!important;max-width:none!important;min-height:180px!important;box-sizing:border-box!important;border-radius:15px!important;border:1px solid rgba(255,255,255,.13)!important;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.035))!important;color:#fff!important;padding:18px!important;text-align:center!important;cursor:pointer!important}
.be-foundation-choice:hover,.be-foundation-choice.is-selected{border-color:#7ee7ff!important;background:rgba(3,145,139,.22)!important}
.be-foundation-choice.is-selected{box-shadow:0 0 0 2px rgba(126,231,255,.16) inset!important}
.be-city-carousel .be-city-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important}
.be-city-carousel .be-city-icon{font-size:34px!important}
.be-city-carousel .be-city-card strong{font-size:22px!important}
.be-city-carousel .be-city-country{font-size:13px!important}
.be-city-carousel .be-city-bonus{max-width:520px!important;line-height:1.45!important}
.be-foundation-select-hint,.be-foundation-category-card small,.be-foundation-business-card em{display:inline-flex!important;margin-top:8px!important;padding:6px 10px!important;border-radius:999px!important;background:rgba(126,231,255,.10)!important;border:1px solid rgba(126,231,255,.16)!important;color:#bff8ff!important;font-size:11px!important;font-style:normal!important}
.be-foundation-business-step{margin:16px 0!important}
.be-foundation-business-step>label{display:block!important;margin-bottom:7px!important;font-weight:700!important}
.be-foundation-category-card,.be-foundation-business-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important}
.be-foundation-category-card img{width:72px!important;height:72px!important;object-fit:contain!important}
.be-foundation-category-card strong{font-size:21px!important}
.be-foundation-business-card img{width:78px!important;height:78px!important;object-fit:contain!important}
.be-foundation-business-card strong{font-size:20px!important}
.be-foundation-business-card span{font-size:16px!important;font-weight:800!important;color:#ffd27a!important}
.be-foundation-business-card small{color:rgba(255,255,255,.72)!important}
.be-selected-foundation-choice{max-width:680px!important;margin:8px auto 0!important;padding:10px 12px!important;border-radius:10px!important;background:rgba(255,255,255,.055)!important;border:1px solid rgba(255,255,255,.09)!important}
.be-selected-foundation-choice.has-selection{border-color:rgba(126,231,255,.30)!important;background:rgba(3,145,139,.14)!important}
.be-business-carousel.is-disabled{opacity:.58!important}
@media(max-width:700px){.be-foundation-carousel{max-width:100%!important;padding:10px!important}.be-foundation-choice{min-height:165px!important;padding:14px!important}.be-city-category-tabs{display:grid!important;grid-template-columns:1fr 1fr!important}}


/* v1.0.116 - cleaner synchronized carousel controls */
.be-region-carousel{
  max-width:680px!important;
}
.be-foundation-carousel-nav,
.be-foundation-carousel-head{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  min-height:48px!important;
  margin-bottom:12px!important;
}
.be-foundation-counter,
.be-foundation-carousel-head>strong{
  order:2!important;
  min-width:68px!important;
  height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
}
.be-foundation-arrow{
  position:relative!important;
  z-index:2!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  flex:0 0 46px!important;
  border-radius:50%!important;
  background:#13aaa1!important;
  border:1px solid rgba(126,231,255,.42)!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(0,0,0,.18)!important;
  font-size:30px!important;
  line-height:1!important;
}
.be-foundation-arrow:first-child{
  order:1!important;
}
.be-foundation-arrow:last-child{
  order:3!important;
}
.be-foundation-arrow:hover{
  transform:translateY(-1px)!important;
  background:#18beb4!important;
}
.be-foundation-choice{
  min-height:164px!important;
}
.be-foundation-region-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
}
.be-foundation-region-card .be-region-kicker{
  font-size:10px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  color:rgba(255,255,255,.58)!important;
}
.be-foundation-region-card strong{
  font-size:23px!important;
}
.be-foundation-region-card>span:last-child{
  font-size:13px!important;
  color:#ffd27a!important;
}
.be-foundation-carousel-track{
  max-width:560px!important;
  margin:0 auto!important;
}
.be-city-carousel .be-foundation-carousel-track,
.be-business-category-carousel .be-foundation-carousel-track,
.be-business-carousel .be-foundation-carousel-track{
  max-width:520px!important;
}
@media(max-width:700px){
  .be-foundation-carousel-nav,
  .be-foundation-carousel-head{
    gap:10px!important;
  }
  .be-foundation-arrow{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    flex-basis:42px!important;
    font-size:27px!important;
  }
  .be-foundation-carousel-track{
    max-width:100%!important;
  }
}


/* v1.0.117 - exactly one city visible + real city images */
.be-city-carousel .be-city-card[hidden]{
  display:none!important;
}
.be-city-carousel .be-foundation-carousel-track{
  overflow:hidden!important;
}
.be-city-carousel .be-city-card{
  min-height:0!important;
  padding:0 0 18px!important;
  overflow:hidden!important;
}
.be-city-photo{
  display:block!important;
  width:100%!important;
  aspect-ratio:16 / 9!important;
  margin:0 0 15px!important;
  overflow:hidden!important;
  border-radius:14px 14px 0 0!important;
  background:rgba(0,0,0,.18)!important;
}
.be-city-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.be-city-carousel .be-city-card>strong,
.be-city-carousel .be-city-card>.be-city-country,
.be-city-carousel .be-city-card>.be-city-type,
.be-city-carousel .be-city-card>.be-city-bonus,
.be-city-carousel .be-city-card>.be-foundation-select-hint{
  margin-left:18px!important;
  margin-right:18px!important;
}
.be-city-carousel .be-city-card>strong{
  font-size:23px!important;
}
.be-city-carousel .be-city-bonus{
  margin-top:8px!important;
}


/* v1.0.118 - foundation carousel polish + bonus icons */
.be-city-carousel .be-foundation-carousel-head,
.be-business-category-carousel .be-foundation-carousel-head,
.be-business-carousel .be-foundation-carousel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
}
.be-city-carousel .be-foundation-carousel-track,
.be-business-category-carousel .be-foundation-carousel-track,
.be-business-carousel .be-foundation-carousel-track{
  max-width:520px!important;
  margin:0 auto!important;
  overflow:hidden!important;
}
.be-business-category-carousel .be-foundation-choice,
.be-business-carousel .be-foundation-choice{
  min-height:0!important;
  padding:18px!important;
}
.be-city-carousel .be-city-card>.be-city-bonus-pills{
  margin:8px 18px 0!important;
  justify-content:center!important;
}
.be-city-carousel .be-city-bonus-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}
.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:rgba(17,184,176,.14)!important;
  border:1px solid rgba(97,240,211,.20)!important;
  color:#c9fff6!important;
  font-size:11px!important;
  line-height:1.2!important;
}
.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill img{
  width:20px!important;
  height:20px!important;
  object-fit:contain!important;
}
.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill span{
  display:block!important;
}
.be-city-carousel .be-foundation-select-hint,
.be-business-category-carousel .be-foundation-select-hint,
.be-business-carousel .be-foundation-select-hint,
.be-foundation-category-card small,
.be-foundation-business-card em{
  align-self:center!important;
}


/* v1.0.119 - foundation carousel controls top + compact city bonus pills */
.be-business-category-carousel,
.be-business-carousel,
.be-city-carousel{
  display:block!important;
}

.be-city-carousel .be-foundation-carousel-head,
.be-business-category-carousel .be-foundation-carousel-head,
.be-business-carousel .be-foundation-carousel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  margin:0 0 12px!important;
}

.be-city-carousel .be-foundation-carousel-track,
.be-business-category-carousel .be-foundation-carousel-track,
.be-business-carousel .be-foundation-carousel-track{
  max-width:520px!important;
  margin:0 auto!important;
  overflow:hidden!important;
}

.be-city-carousel .be-city-bonus-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  align-self:center!important;
  width:auto!important;
  max-width:calc(100% - 36px)!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  margin:10px auto 0!important;
  gap:8px!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  grid-template-columns:none!important;
  gap:6px!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  font-size:10.5px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill img{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill span{
  display:inline!important;
}


/* v1.0.120 - foundation cleanup, larger city bonus pills, tighter image crop */
.be-city-picker-help,
#be-selected-city,
#be-selected-business-category{
  display:none!important;
}

.be-city-photo img{
  object-fit:cover!important;
  object-position:center center!important;
  transform:scale(1.08)!important;
  transform-origin:center center!important;
}

.be-city-carousel .be-city-bonus-pills{
  gap:10px!important;
  margin:14px auto 4px!important;
  max-width:calc(100% - 24px)!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill{
  padding:8px 12px!important;
  font-size:12.5px!important;
  line-height:1.2!important;
  gap:7px!important;
  background:rgba(17,184,176,.16)!important;
  border:1px solid rgba(97,240,211,.28)!important;
  color:#d8fff8!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill img{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
}


/* v1.0.122 - foundation cleanup, consistent buttons, cleaned city images */
.be-city-picker-help,
#be-selected-city,
#be-selected-business-category{
  display:none!important;
}

.be-city-photo img{
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
}

.be-game-card-actions .be-button,
.be-game-card-actions .be-button.be-button-secondary{
  min-height:42px!important;
  padding:10px 16px!important;
  font-size:15px!important;
}


/* v1.0.123 - remove redundant small city-card arrow in Foundation */
.be-city-carousel .be-city-card::after{
  display:none!important;
  content:none!important;
}

/* v1.0.124 - city image cleanup */
.be-city-carousel .be-city-card::before,
.be-city-carousel .be-city-card::after,
.be-city-carousel .be-city-photo::before,
.be-city-carousel .be-city-photo::after{
  display:none!important;
  content:none!important;
}


/* v1.0.125 - simplify city title + larger bonus text */
.be-city-carousel .be-city-card>.be-city-country,
.be-city-carousel .be-city-card>.be-city-type{
  display:none!important;
}
.be-city-carousel .be-city-card>strong{
  font-size:28px!important;
  line-height:1.2!important;
  text-align:center!important;
  width:calc(100% - 36px)!important;
  margin:14px 18px 2px!important;
}
.be-city-carousel .be-city-bonus-pills{
  gap:12px!important;
  margin:16px auto 6px!important;
}
.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill{
  padding:10px 15px!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:700!important;
  gap:8px!important;
}
.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill img{
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
}
.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill span{
  font-size:14px!important;
  line-height:1.25!important;
}


/* v1.0.126 - city card polish */
.be-city-carousel .be-city-card>strong{
  font-size:26px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
}

.be-city-carousel .be-city-bonus-pills{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:calc(100% - 36px)!important;
  max-width:460px!important;
  margin:16px auto 8px!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill{
  width:100%!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  justify-content:center!important;
  padding:10px 12px!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:center!important;
  white-space:normal!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill span{
  font-size:14px!important;
  line-height:1.25!important;
  white-space:normal!important;
}

.be-city-carousel .be-foundation-select-hint{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  min-width:150px!important;
  margin:12px auto 2px!important;
  padding:10px 16px!important;
  border-radius:12px!important;
  background:#13aaa1!important;
  border:1px solid rgba(126,231,255,.35)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  box-shadow:0 5px 14px rgba(0,0,0,.18)!important;
}

.be-city-carousel .be-city-card:hover .be-foundation-select-hint{
  background:#18beb4!important;
}

.be-city-carousel .be-city-card.is-selected .be-foundation-select-hint{
  background:#0f766e!important;
}

@media(max-width:700px){
  .be-city-carousel .be-city-bonus-pills{
    grid-template-columns:1fr!important;
    width:calc(100% - 24px)!important;
  }
}


/* v1.0.127 - final city card title and bonus sizing */
.be-city-carousel .be-city-country,
.be-city-carousel .be-city-type{
  display:none!important;
}

.be-city-carousel .be-city-card>.be-city-title{
  display:block!important;
  width:calc(100% - 36px)!important;
  margin:16px 18px 4px!important;
  font-size:27px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-align:center!important;
  letter-spacing:.01em!important;
}

.be-city-carousel .be-city-bonus-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:12px!important;
  margin:17px auto 8px!important;
  max-width:calc(100% - 28px)!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:10px 15px!important;
  gap:8px!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:800!important;
  white-space:normal!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill img{
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
}

.be-city-carousel .be-city-bonus-pills .be-city-bonus-pill span{
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:800!important;
}

@media(max-width:700px){
  .be-city-carousel .be-city-card>.be-city-title{
    font-size:23px!important;
  }
  .be-city-carousel .be-city-bonus-pills .be-city-bonus-pill,
  .be-city-carousel .be-city-bonus-pills .be-city-bonus-pill span{
    font-size:13px!important;
  }
}


/* v1.0.128 - 20 Special Cards + 24 Market Events */
.be-special-card-activate{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:center!important;
}
.be-special-card-activate select{
  min-width:170px!important;
  max-width:260px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
}
.be-player-event-modifier{
  white-space:normal!important;
  text-align:right!important;
  line-height:1.25!important;
}
.be-event-card .be-event-modifier{
  max-width:300px!important;
  white-space:normal!important;
  line-height:1.35!important;
  text-align:center!important;
}

/* v1.0.129 */
.be-local-handoff-screen{max-width:760px;margin:18px auto;padding:26px;border-radius:20px;text-align:center;background:linear-gradient(180deg,rgba(76,12,38,.97),rgba(40,7,22,.98));border:1px solid rgba(126,231,255,.22)}.be-local-handoff-icon{font-size:42px}.be-local-handoff-screen>strong{display:block;font-size:22px;margin:14px 0;color:#bffcef}.be-log-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.be-log-filters a{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#f6e7ef;text-decoration:none;font-size:12px;font-weight:700}.be-log-filters a.is-active{background:rgba(17,170,161,.22);border-color:rgba(126,231,255,.35);color:#cffff8}.be-notifications-list li.is-important{border-left:3px solid #f6c453!important;background:rgba(246,196,83,.08)!important}.be-final-awards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:18px}.be-final-awards>div{padding:14px 10px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);text-align:center}.be-final-awards span{display:block;font-size:24px}.be-final-awards small{display:block;margin:5px 0;color:#decbd5}@media(max-width:900px){.be-final-awards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.be-final-awards{grid-template-columns:1fr}}

/* v1.0.130 - final systems audit */
.be-event-modifier{white-space:normal!important;line-height:1.3!important}


/* =========================================================
   v1.0.132 — Dedicated Desktop / Tablet / Mobile layouts
   Desktop keeps the 3-column dashboard.
   Touch tablets get a 2-column main layout.
   Phones / narrow touch screens use one column.
   ========================================================= */

/* Shared touch improvements */
@media (hover:none) and (pointer:coarse){
  .be-button,
  .be-game-tab,
  .be-carousel-arrow,
  .be-city-arrow{
    min-height:44px!important;
  }

  .be-game-room.be-status-active{
    width:100%!important;
    max-width:none!important;
  }

  /* Purchase carousels: controls ABOVE the card, never at the sides */
  .be-purchase-geo-control,
  .be-purchase-card .be-city-carousel-wrap,
  .be-business-category-carousel,
  .be-business-carousel{
    position:relative!important;
    display:grid!important;
    grid-template-columns:1fr 46px 46px 1fr!important;
    grid-template-rows:48px auto!important;
    gap:8px 10px!important;
    align-items:center!important;
  }

  .be-purchase-geo-control > .be-geo-prev,
  .be-purchase-card .be-city-carousel-wrap > .be-city-prev,
  .be-business-category-carousel > .be-business-category-prev,
  .be-business-carousel > .be-business-prev{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:center!important;
  }

  .be-purchase-geo-control > .be-geo-next,
  .be-purchase-card .be-city-carousel-wrap > .be-city-next,
  .be-business-category-carousel > .be-business-category-next,
  .be-business-carousel > .be-business-next{
    grid-column:3!important;
    grid-row:1!important;
    justify-self:center!important;
  }

  .be-purchase-geo-viewport,
  .be-purchase-city-viewport,
  .be-business-category-viewport,
  .be-business-viewport{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
  }

  .be-purchase-card .be-city-arrow,
  .be-purchase-card .be-carousel-arrow,
  .be-business-category-carousel .be-carousel-arrow,
  .be-business-carousel .be-carousel-arrow{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    padding:0!important;
    border-radius:50%!important;
    font-size:27px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .be-business-category-option,
  .be-business-choice{
    width:100%!important;
    max-width:none!important;
  }

  .be-purchase-city-card::after{
    display:none!important;
    content:none!important;
  }

  .be-city-bonus-pills{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }

  .be-city-bonus-pills small,
  .be-city-bonus-pill{
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    line-height:1.25!important;
  }

  .be-score-list li strong,
  .be-score-list li span,
  .be-turn-player strong,
  .be-turn-player span{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
  }
}

/* ---------------- TABLET LANDSCAPE / LARGE TOUCH ----------------
   Main game first + right utility rail.
   Left information panels move underneath at full width.
*/
@media (hover:none) and (pointer:coarse) and (min-width:900px){
  .be-single-page-shell{
    width:100%!important;
    max-width:none!important;
    padding:14px 18px 28px!important;
  }

  .be-game-room.be-status-active{
    padding:18px!important;
  }

  .be-game-dashboard-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(310px,.85fr)!important;
    grid-template-areas:
      "center right"
      "left left"!important;
    gap:18px!important;
    align-items:start!important;
  }

  .be-dashboard-center{
    grid-area:center!important;
    min-width:0!important;
  }

  .be-dashboard-right{
    grid-area:right!important;
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
  }

  .be-dashboard-left{
    grid-area:left!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
    min-width:0!important;
  }

  .be-dashboard-left > *{
    min-width:0!important;
    width:100%!important;
  }

  .be-dashboard-left .be-activity-log-card{
    grid-column:1/-1!important;
    max-height:none!important;
  }

  .be-dashboard-left .be-activity-log-list{
    max-height:360px!important;
  }

  .be-dashboard-left .be-player-events-card{
    max-height:none!important;
    overflow:visible!important;
  }

  .be-dashboard-center .be-purchase-card,
  .be-dashboard-center .be-auctions-card,
  .be-dashboard-center .be-loan-card,
  .be-dashboard-center .be-market-overview-card,
  .be-dashboard-center [data-be-game-panel="businesses"]{
    padding:18px!important;
  }

  .be-purchase-city-panel .be-purchase-city-card{
    grid-template-columns:minmax(190px,42%) minmax(0,1fr)!important;
    gap:16px!important;
  }

  .be-purchase-city-card .be-city-thumb{
    width:100%!important;
    height:170px!important;
  }

  .be-purchase-city-card .be-city-card-copy>strong{
    font-size:22px!important;
  }

  .be-city-bonus-pills small,
  .be-city-bonus-pill{
    font-size:12.5px!important;
    padding:7px 9px!important;
  }

  .be-dashboard-right .be-scoreboard .be-field-help{
    max-height:76px!important;
    overflow:auto!important;
    font-size:12.5px!important;
    line-height:1.4!important;
  }

  .be-dashboard-right .be-score-list li{
    grid-template-columns:32px minmax(0,1fr) auto!important;
    column-gap:10px!important;
  }

  .be-dashboard-right .be-score-list li strong{
    font-size:14px!important;
  }

  .be-dashboard-right .be-turn-player{
    min-width:0!important;
  }

  .be-dashboard-right .be-turn-player strong{
    font-size:14px!important;
  }

  .be-player-events-card p{
    line-height:1.45!important;
  }

  .be-app-nav{
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .be-app-nav a{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
}

/* ---------------- TABLET PORTRAIT + LARGE PHONE ---------------- */
@media (hover:none) and (pointer:coarse) and (max-width:899px){
  .be-single-page-shell{
    width:100%!important;
    max-width:none!important;
    padding:10px 10px 24px!important;
  }

  .be-game-room.be-status-active{
    padding:12px!important;
  }

  .be-game-dashboard-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:
      "center"
      "right"
      "left"!important;
    gap:14px!important;
  }

  .be-dashboard-center{grid-area:center!important}
  .be-dashboard-right{
    grid-area:right!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }
  .be-dashboard-left{
    grid-area:left!important;
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
  }

  .be-dashboard-left .be-activity-log-card,
  .be-dashboard-left .be-player-events-card{
    max-height:none!important;
    overflow:visible!important;
  }

  .be-dashboard-left .be-activity-log-list{
    max-height:320px!important;
  }

  .be-dashboard-center .be-game-tabs{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .be-dashboard-center .be-game-tab{
    width:100%!important;
    min-width:0!important;
    padding:11px 8px!important;
  }

  .be-purchase-city-panel .be-purchase-city-card{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  .be-purchase-city-card .be-city-thumb{
    width:100%!important;
    height:190px!important;
  }

  .be-dashboard-right .be-scoreboard .be-field-help{
    max-height:70px!important;
    overflow:auto!important;
    font-size:12px!important;
    line-height:1.4!important;
  }

  .be-score-list li{
    grid-template-columns:34px minmax(0,1fr) auto!important;
    gap:9px!important;
  }

  .be-turn-player{
    min-width:0!important;
  }

  .be-app-nav{
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    padding-bottom:6px!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .be-app-nav a{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
}

/* ---------------- MOBILE ---------------- */
@media (max-width:640px){
  .be-single-page-shell{
    padding:8px 6px 20px!important;
  }

  .be-app,
  .be-box,
  .be-game-room,
  .be-game-room.be-status-active{
    border-radius:14px!important;
  }

  .be-game-room.be-status-active{
    padding:9px!important;
  }

  .be-game-room.be-status-active>.be-game-title{
    font-size:25px!important;
  }

  .be-game-meta,
  .be-game-meta-overview{
    grid-template-columns:1fr!important;
  }

  .be-round-header{
    padding:14px!important;
  }

  .be-round-header h3{
    font-size:21px!important;
  }

  .be-dashboard-center .be-game-tabs{
    grid-template-columns:1fr 1fr!important;
  }

  .be-dashboard-center .be-purchase-card,
  .be-dashboard-center .be-auctions-card,
  .be-dashboard-center .be-loan-card,
  .be-dashboard-center .be-market-overview-card,
  .be-dashboard-center [data-be-game-panel="businesses"],
  .be-round-card,
  .be-turn-progress-card,
  .be-scoreboard,
  .be-player-events-card,
  .be-activity-log-card,
  .be-mini-chat-card{
    padding:13px!important;
    border-radius:14px!important;
  }

  .be-purchase-step-card{
    padding:11px!important;
  }

  .be-purchase-step-head{
    align-items:flex-start!important;
    gap:8px!important;
  }

  .be-purchase-step-head>span{
    font-size:12.5px!important;
  }

  .be-purchase-geo-control,
  .be-purchase-card .be-city-carousel-wrap,
  .be-business-category-carousel,
  .be-business-carousel{
    grid-template-columns:1fr 42px 42px 1fr!important;
    grid-template-rows:44px auto!important;
  }

  .be-purchase-card .be-city-arrow,
  .be-purchase-card .be-carousel-arrow,
  .be-business-category-carousel .be-carousel-arrow,
  .be-business-carousel .be-carousel-arrow{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    font-size:24px!important;
  }

  .be-purchase-city-card .be-city-thumb{
    height:155px!important;
  }

  .be-purchase-city-card .be-city-card-copy>strong{
    font-size:20px!important;
  }

  .be-city-bonus-pills{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
  }

  .be-city-bonus-pills small,
  .be-city-bonus-pill{
    width:100%!important;
    justify-content:center!important;
    font-size:12.5px!important;
    text-align:center!important;
  }

  .be-player-events-card p,
  .be-scoreboard .be-field-help{
    font-size:12.5px!important;
    line-height:1.45!important;
  }

  .be-score-list li{
    grid-template-columns:30px minmax(0,1fr)!important;
  }

  .be-score-list li > span:last-child{
    grid-column:2!important;
    justify-self:start!important;
    white-space:normal!important;
  }

  .be-activity-log-list li{
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:9px!important;
  }

  .be-log-icon-wrap{
    width:38px!important;
    height:38px!important;
  }

  .be-mini-chat-form .be-chat-compose,
  .be-loan-repay-form,
  .be-bid-form,
  .be-sale-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  .be-mini-chat-form .be-button,
  .be-loan-repay-form .be-button,
  .be-bid-form .be-button,
  .be-sale-actions .be-button,
  .be-sale-actions input,
  .be-bid-form input{
    width:100%!important;
    max-width:none!important;
  }

  .be-game-room.be-status-active>.be-player-list{
    grid-template-columns:1fr!important;
  }

  .be-final-table-wrap,
  .be-table-wrap{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
}


/* v1.0.133 - category/business arrows aligned like city carousel on all devices */
.be-business-category-carousel,
.be-business-carousel{
  display:grid!important;
  grid-template-columns:1fr 46px 72px 46px 1fr!important;
  grid-template-rows:48px auto!important;
  gap:10px!important;
  align-items:center!important;
  width:100%!important;
}

.be-business-category-carousel > .be-business-category-prev,
.be-business-carousel > .be-business-prev{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:center!important;
  align-self:center!important;
  position:static!important;
  margin:0!important;
}

.be-business-category-carousel > [data-be-category-index],
.be-business-carousel > [data-be-business-index]{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:center!important;
  align-self:center!important;
  position:static!important;
  margin:0!important;
}

.be-business-category-carousel > .be-business-category-next,
.be-business-carousel > .be-business-next{
  grid-column:4!important;
  grid-row:1!important;
  justify-self:center!important;
  align-self:center!important;
  position:static!important;
  margin:0!important;
}

.be-business-category-viewport,
.be-business-viewport{
  grid-column:1/-1!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
}

.be-business-category-carousel .be-carousel-arrow,
.be-business-carousel .be-carousel-arrow{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border-radius:50%!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:26px!important;
  line-height:1!important;
}

.be-business-category-carousel [data-be-category-index],
.be-business-carousel [data-be-business-index]{
  min-width:64px!important;
  height:34px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  font-weight:800!important;
  font-size:12px!important;
}

/* Neutralize older side-positioning rules */
.be-business-category-carousel .be-carousel-arrow,
.be-business-carousel .be-carousel-arrow{
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
}

@media(max-width:640px){
  .be-business-category-carousel,
  .be-business-carousel{
    grid-template-columns:1fr 42px 64px 42px 1fr!important;
    grid-template-rows:44px auto!important;
    gap:8px!important;
  }
  .be-business-category-carousel .be-carousel-arrow,
  .be-business-carousel .be-carousel-arrow{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    font-size:24px!important;
  }
}


/* v1.0.134 - Category & Business controls match Region/City exactly */
.be-business-category-carousel,
.be-business-carousel{
  position:relative!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 46px!important;
  grid-template-rows:auto!important;
  gap:12px!important;
  align-items:center!important;
  width:100%!important;
  padding-top:34px!important;
}

/* counter pill top-right, like Region / City */
.be-business-category-carousel > [data-be-category-index],
.be-business-carousel > [data-be-business-index]{
  position:absolute!important;
  top:0!important;
  right:0!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  margin:0!important;
  min-width:58px!important;
  height:30px!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  font-weight:800!important;
  font-size:12px!important;
  z-index:2!important;
}

/* arrows on the LEFT / RIGHT of the card */
.be-business-category-carousel > .be-business-category-prev,
.be-business-carousel > .be-business-prev{
  grid-column:1!important;
  grid-row:1!important;
  justify-self:center!important;
  align-self:center!important;
  position:static!important;
  margin:0!important;
  transform:none!important;
}

.be-business-category-carousel > .be-business-category-next,
.be-business-carousel > .be-business-next{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:center!important;
  align-self:center!important;
  position:static!important;
  margin:0!important;
  transform:none!important;
}

.be-business-category-viewport,
.be-business-viewport{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

.be-business-category-carousel .be-carousel-arrow,
.be-business-carousel .be-carousel-arrow{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  border-radius:50%!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:24px!important;
  line-height:1!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
}

/* touch/tablet/mobile: keep same Region/City pattern */
@media (hover:none) and (pointer:coarse){
  .be-business-category-carousel,
  .be-business-carousel{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) 46px!important;
    grid-template-rows:auto!important;
    gap:12px!important;
    padding-top:34px!important;
  }

  .be-business-category-carousel > .be-business-category-prev,
  .be-business-carousel > .be-business-prev{
    grid-column:1!important;
    grid-row:1!important;
  }

  .be-business-category-carousel > .be-business-category-next,
  .be-business-carousel > .be-business-next{
    grid-column:3!important;
    grid-row:1!important;
  }

  .be-business-category-viewport,
  .be-business-viewport{
    grid-column:2!important;
    grid-row:1!important;
  }
}

@media(max-width:640px){
  .be-business-category-carousel,
  .be-business-carousel{
    grid-template-columns:42px minmax(0,1fr) 42px!important;
    gap:8px!important;
    padding-top:32px!important;
  }

  .be-business-category-carousel .be-carousel-arrow,
  .be-business-carousel .be-carousel-arrow{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    font-size:22px!important;
  }
}


/* v1.0.135 - main game tabs: desktop 4 in one row, tablet/mobile 2x2 */
.be-dashboard-center .be-game-tabs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 14px!important;
}

.be-dashboard-center .be-game-tab{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  padding:10px 12px!important;
  margin:0!important;
  border-radius:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  text-align:center!important;
  white-space:nowrap!important;
  font-size:14px!important;
  font-weight:800!important;
  box-sizing:border-box!important;
}

.be-dashboard-center .be-game-tab.is-active,
.be-dashboard-center .be-game-tab[aria-selected="true"]{
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 5px 14px rgba(0,0,0,.16)!important;
}

@media (hover:none) and (pointer:coarse) and (min-width:900px){
  .be-dashboard-center .be-game-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .be-dashboard-center .be-game-tab{
    font-size:13px!important;
    padding:10px 8px!important;
  }
}

@media (hover:none) and (pointer:coarse) and (max-width:899px){
  .be-dashboard-center .be-game-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .be-dashboard-center .be-game-tab{
    min-height:46px!important;
    font-size:14px!important;
    white-space:normal!important;
  }
}

@media(max-width:640px){
  .be-dashboard-center .be-game-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .be-dashboard-center .be-game-tab{
    min-height:48px!important;
    padding:10px 8px!important;
    font-size:13.5px!important;
    line-height:1.2!important;
  }
}


/* v1.0.136 - game tabs live directly above "Οι Επιχειρήσεις μου" */
.be-game-room.be-status-active > .be-round-grid > .be-game-tabs-center{
  grid-column:2!important;
  align-self:end!important;
  width:100%!important;
  margin:0 0 10px!important;
  z-index:2!important;
}

.be-game-room.be-status-active > .be-round-grid > .be-game-tabs-center + [data-be-game-panel="businesses"]{
  grid-column:2!important;
}

/* desktop: four equal tabs in the center column */
.be-game-tabs-center{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}

.be-game-tabs-center .be-game-tab{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}

/* tablet/mobile retain clean 2x2 where needed */
@media (hover:none) and (pointer:coarse) and (max-width:899px){
  .be-game-room.be-status-active > .be-round-grid > .be-game-tabs-center{
    grid-column:1!important;
  }
  .be-game-tabs-center{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:640px){
  .be-game-tabs-center{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* v1.0.137 - Business Empire custom login */
.be-login-box{
  max-width:620px!important;
  margin:22px auto!important;
  padding:30px!important;
  background:linear-gradient(180deg,rgba(80,12,39,.97),rgba(55,7,28,.98))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:20px!important;
  box-shadow:0 18px 45px rgba(0,0,0,.22)!important;
}

.be-auth-brand{
  display:flex!important;
  gap:16px!important;
  align-items:center!important;
  margin-bottom:24px!important;
}

.be-auth-icon{
  width:62px!important;
  height:62px!important;
  flex:0 0 62px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:31px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}

.be-auth-kicker{
  display:block!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  opacity:.72!important;
  margin-bottom:3px!important;
}

.be-auth-brand h2{
  margin:0 0 5px!important;
  font-size:30px!important;
}

.be-auth-brand p{
  margin:0!important;
  opacity:.82!important;
}

.be-login-form{
  display:grid!important;
  gap:15px!important;
}

.be-auth-field{
  display:grid!important;
  gap:7px!important;
  font-weight:800!important;
}

.be-auth-field input{
  width:100%!important;
  min-height:50px!important;
  padding:12px 14px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
  box-sizing:border-box!important;
}

.be-auth-field input:focus{
  outline:none!important;
  border-color:#20c7bd!important;
  box-shadow:0 0 0 3px rgba(32,199,189,.15)!important;
}

.be-auth-remember{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  cursor:pointer!important;
}

.be-auth-remember input{
  width:18px!important;
  height:18px!important;
}

.be-auth-submit{
  width:100%!important;
  min-height:50px!important;
  font-size:16px!important;
  font-weight:900!important;
  margin-top:2px!important;
}

.be-auth-links{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:9px!important;
  margin-top:18px!important;
  font-size:13px!important;
}

.be-auth-links a{
  color:#6fe9e2!important;
  font-weight:800!important;
}

.be-guest-actions{
  display:flex!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}

@media(max-width:640px){
  .be-login-box{
    margin:12px auto!important;
    padding:20px!important;
  }
  .be-auth-brand{
    align-items:flex-start!important;
  }
  .be-auth-brand h2{
    font-size:26px!important;
  }
  .be-auth-icon{
    width:52px!important;
    height:52px!important;
    flex-basis:52px!important;
    font-size:26px!important;
  }
  .be-guest-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .be-guest-actions .be-button{
    width:100%!important;
    text-align:center!important;
  }
}


/* v1.0.139 - inline guest login; never require a separate WordPress login page */
.be-auth-register-cta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:18px!important;
  padding-top:18px!important;
  border-top:1px solid rgba(255,255,255,.10)!important;
}
.be-auth-register-cta span{
  font-weight:700!important;
  opacity:.85!important;
}
@media(max-width:640px){
  .be-auth-register-cta{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .be-auth-register-cta .be-button{
    width:100%!important;
    text-align:center!important;
  }
}


/* v1.0.141 - force white text on custom login */
.be-login-box,
.be-login-box h1,
.be-login-box h2,
.be-login-box h3,
.be-login-box p,
.be-login-box label,
.be-login-box span,
.be-login-box div,
.be-auth-brand h2,
.be-auth-brand p,
.be-auth-kicker,
.be-auth-field,
.be-auth-field span,
.be-auth-remember,
.be-auth-remember span,
.be-auth-register-cta,
.be-auth-register-cta span,
.be-login-version{
  color:#ffffff!important;
}

.be-auth-field input::placeholder{
  color:rgba(255,255,255,.70)!important;
}

.be-auth-field input,
.be-auth-field input:-webkit-autofill,
.be-auth-field input:-webkit-autofill:hover,
.be-auth-field input:-webkit-autofill:focus,
.be-auth-field input:-webkit-autofill:active{
  -webkit-text-fill-color:#ffffff!important;
  caret-color:#ffffff!important;
  transition:background-color 5000s ease-in-out 0s!important;
}

.be-auth-links a,
.be-auth-register-cta a{
  color:#9ff7f1!important;
}


/* v1.0.143 - clean Foundation category/business carousel controls
   Match the working City carousel: controls in a centered row ABOVE the card. */
.be-foundation-carousel.be-business-category-carousel,
.be-foundation-carousel.be-business-carousel{
  display:block!important;
  position:static!important;
  width:100%!important;
  padding-top:0!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  gap:0!important;
}

.be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head,
.be-foundation-carousel.be-business-carousel .be-foundation-carousel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  width:100%!important;
  margin:0 0 12px!important;
  position:static!important;
  padding:0!important;
}

.be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head .be-foundation-arrow,
.be-foundation-carousel.be-business-carousel .be-foundation-carousel-head .be-foundation-arrow{
  position:static!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  margin:0!important;
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  padding:0!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:25px!important;
  line-height:1!important;
}

.be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head > strong,
.be-foundation-carousel.be-business-carousel .be-foundation-carousel-head > strong{
  position:static!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  margin:0!important;
  min-width:64px!important;
  height:34px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

.be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-track,
.be-foundation-carousel.be-business-carousel .be-foundation-carousel-track{
  display:block!important;
  width:100%!important;
  max-width:520px!important;
  margin:0 auto!important;
  overflow:hidden!important;
  grid-column:auto!important;
  grid-row:auto!important;
}

.be-foundation-carousel.be-business-category-carousel .be-foundation-choice,
.be-foundation-carousel.be-business-carousel .be-foundation-choice{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* Tablet / phone keep the same clean layout, only slightly smaller controls. */
@media(max-width:899px){
  .be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head,
  .be-foundation-carousel.be-business-carousel .be-foundation-carousel-head{
    gap:10px!important;
  }

  .be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head .be-foundation-arrow,
  .be-foundation-carousel.be-business-carousel .be-foundation-carousel-head .be-foundation-arrow{
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    font-size:23px!important;
  }
}

@media(max-width:640px){
  .be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head .be-foundation-arrow,
  .be-foundation-carousel.be-business-carousel .be-foundation-carousel-head .be-foundation-arrow{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    font-size:22px!important;
  }

  .be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head > strong,
  .be-foundation-carousel.be-business-carousel .be-foundation-carousel-head > strong{
    min-width:58px!important;
    height:32px!important;
    padding:0 10px!important;
  }
}


/* v1.0.144 - make Foundation selections unmistakable */
.be-selection-status{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:12px 0 0!important;
  padding:12px 14px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.055)!important;
  border:1px dashed rgba(255,255,255,.18)!important;
  color:rgba(255,255,255,.82)!important;
  font-size:13px!important;
  font-weight:700!important;
}

.be-selection-status.has-selection{
  background:rgba(16,185,129,.16)!important;
  border:1px solid rgba(94,234,212,.48)!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(94,234,212,.08) inset!important;
}

.be-selection-status-icon{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.10)!important;
  font-size:15px!important;
  font-weight:900!important;
}

.be-selection-status.has-selection .be-selection-status-icon{
  background:#14b8a6!important;
  color:#fff!important;
}

.be-foundation-choice.is-selected{
  position:relative!important;
  border:2px solid #5eead4!important;
  background:linear-gradient(180deg,rgba(13,148,136,.28),rgba(255,255,255,.045))!important;
  box-shadow:0 0 0 3px rgba(94,234,212,.13),0 14px 30px rgba(0,0,0,.18)!important;
}

.be-foundation-choice.is-selected::before{
  content:'✓ ΕΠΙΛΕΧΘΗΚΕ'!important;
  position:absolute!important;
  top:12px!important;
  left:12px!important;
  z-index:5!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:#0f766e!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  box-shadow:0 4px 12px rgba(0,0,0,.20)!important;
}

.be-foundation-select-hint.is-choice-confirmed,
.be-foundation-category-card small.is-choice-confirmed,
.be-foundation-business-card em.is-choice-confirmed{
  background:#0f766e!important;
  border-color:#5eead4!important;
  color:#fff!important;
  font-weight:900!important;
}

@media(max-width:640px){
  .be-selection-status{
    font-size:12.5px!important;
    padding:11px 12px!important;
  }
  .be-foundation-choice.is-selected::before{
    top:8px!important;
    left:8px!important;
    font-size:9px!important;
  }
}


/* v1.0.145 - foundation category/business counter must be ONE pill like City */
.be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head > strong,
.be-foundation-carousel.be-business-carousel .be-foundation-carousel-head > strong{
  min-width:68px!important;
  height:34px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  color:#fff!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

/* Remove the old extra pill from the inner number spans */
.be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head [data-be-category-index],
.be-foundation-carousel.be-business-carousel .be-foundation-carousel-head [data-be-business-index],
.be-foundation-carousel.be-business-carousel .be-foundation-carousel-head [data-be-business-total]{
  display:inline!important;
  min-width:0!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  position:static!important;
  transform:none!important;
  color:inherit!important;
  font:inherit!important;
  line-height:inherit!important;
}

/* Keep the three controls centered and matching the City control row */
.be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head,
.be-foundation-carousel.be-business-carousel .be-foundation-carousel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
}

@media(max-width:640px){
  .be-foundation-carousel.be-business-category-carousel .be-foundation-carousel-head > strong,
  .be-foundation-carousel.be-business-carousel .be-foundation-carousel-head > strong{
    min-width:62px!important;
    height:32px!important;
    padding:0 10px!important;
  }
}


/* v1.0.146 - center the foundation submit button */
.be-foundation-form > .be-button,
.be-foundation-form > button[type="submit"]{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:18px auto 0!important;
  min-width:220px;
}


/* v1.0.147 - robust centered Foundation submit */
.be-foundation-submit-wrap{
  width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  margin:20px 0 0!important;
  text-align:center!important;
}
.be-foundation-submit-wrap .be-foundation-submit{
  margin:0!important;
  min-width:220px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:640px){
  .be-foundation-submit-wrap .be-foundation-submit{
    width:min(100%,280px)!important;
  }
}
