* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: white;
}

.world-header {
    background: #179DF4;
    padding: 12px 20px;

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

    gap: 20px;
}

.world-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.world-brand img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

.world-brand h1 {
    margin: 0;
    font-size: 26px;
    color: white;
}

.world-controls {
    display: flex;
    gap: 10px;
}

.world-controls button {
    border: none;
    background: white;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.world-main {
    padding: 24px;
}

.world-info {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;

    background: #f2f9ff;
    border: 2px solid #179DF4;
    border-radius: 16px;

    text-align: center;
}

.world-info h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.world-info p {
    margin: 0;
    line-height: 1.5;
    font-size: 16px;
}

.app-launcher {
    max-width: 900px;
    margin: 35px auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.app-card {
    position: relative;

    padding: 20px;
    height: 230px;

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

    text-align: center;

    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 18px;

    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.app-card img {
    width: 150px;
    height: 150px;

    object-fit: contain;
    border-radius: 24px;
}

.app-card h2 {
    margin: 14px 0 8px;
    font-size: 21px;
}

.app-card p {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.app-card {
    position: relative;
}

.directory-overlay {
    position: fixed;
    inset: 0;

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

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);

    z-index: 1000;
}

.directory-overlay.show {
    display: flex;
}

.directory-popup {
    position: relative;

    width: 100%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;

    padding: 25px;

    background: white;
    border: 2px solid #179DF4;
    border-radius: 18px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.directory-popup > h2 {
    margin: 0 35px 20px;
    text-align: center;
}

.directory-close {
    position: absolute;
    top: 10px;
    right: 12px;

    border: none;
    background: transparent;

    font-size: 28px;
    cursor: pointer;
}

.directory-app {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 14px 0;

    border-bottom: 1px solid #ddd;
}

.directory-app:last-child {
    border-bottom: none;
}

.directory-app img {
    width: 75px;
    height: 75px;

    object-fit: contain;
    border-radius: 14px;

    flex-shrink: 0;
}

.directory-app h3 {
    margin: 0 0 5px;
}

.directory-app p {
    margin: 0;

    color: #555;
    line-height: 1.4;
}

@media (max-width: 700px) {

    body {
        width: 100vw;
        min-width: 0;
        overflow-x: hidden;
    }

    /* HEADER */

    .world-header {
    width: 100vw;
    padding: 12px 8px 14px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.world-brand {
    width: 100%;
    justify-content: center;
    gap: 9px;
}

.world-brand img {
    width: 58px;
    height: 58px;
}

.world-brand h1 {
    font-size: 25px;
    white-space: normal;
    text-align: center;
}

.world-controls {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.world-controls button {
    width: 100%;
    min-width: 0;

    padding: 11px 5px;

    font-size: 12px;
    line-height: 1.15;

    border-radius: 10px;
}

    /* MAIN */

    .world-main {
        width: 100%;
        padding: 8px;
    }

    /* WELCOME */

    .world-info {
        width: 100%;
        max-width: 100%;
        margin: 8px 0 0;
        padding: 10px 8px;
        border-radius: 12px;
    }

    .world-info h2 {
        margin: 0 0 5px;
        font-size: 16px;
        line-height: 1.15;
    }

    .world-info p {
        margin: 0;
        font-size: 11px;
        line-height: 1.25;
    }

    /* APP LAUNCHER */

    .app-launcher {
    width: 100%;
    max-width: 100%;
    margin: 14px 0 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

/* MOBILE: descriptions belong in the info popup, NOT the cards */
.app-card p {
    display: none;
}

/* Keep everything neatly inside each app tile */
.app-card {
    position: relative;
    height: 125px;
    padding: 12px 4px 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* Larger mobile app icons */
.app-card img,
.app-card img.chorez-icon {
    width: 72px;
    height: 72px;
    margin: 0;

    object-fit: contain;
    border-radius: 13px;
}

/* App name */
.app-card h2 {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.05;
}

/* Tiny info button in corner */
.app-info-button {
    position: absolute;
    top: 5px;
    right: 5px;

    width: 17px;
    height: 17px;

    padding: 0;
    margin: 0;

    font-size: 10px;
}

/* Hide app names on mobile */
.app-card h2 {
    display: none;
}

/* Give the icons more room */
.app-card {
    height: 125px;
    padding: 8px;
}

.app-card img,
.app-card img.chorez-icon {
    width: 95px;
    height: 95px;
    margin: 0;

    object-fit: contain;
    border-radius: 16px;
}

/* Keep info button in top-right */
.app-info-button {
    position: absolute;
    top: 5px;
    right: 5px;

    width: 17px;
    height: 17px;

    padding: 0;
    margin: 0;

    font-size: 10px;
}

.directory-overlay {
    padding: 12px;
}

.directory-popup {
    padding: 20px 14px;
    border-radius: 14px;
}

.directory-popup > h2 {
    font-size: 19px;
    margin-bottom: 15px;
}

.directory-app {
    gap: 10px;
    padding: 10px 0;
}

.directory-app img {
    width: 58px;
    height: 58px;
}

.directory-app h3 {
    font-size: 14px;
}

.directory-app p {
    font-size: 11px;
    line-height: 1.3;
}

.directory-subheading {
    margin: -5px 5px 12px;
    font-size: 11px;
    line-height: 1.3;
}

.help-overlay {
    padding: 12px;
}

.help-popup {
    padding: 20px 14px;
    border-radius: 14px;
}

.help-popup > h2 {
    font-size: 19px;
    margin-bottom: 12px;
}

.help-section {
    padding: 9px 0;
}

.help-section h3 {
    font-size: 14px;
}

.help-section p {
    font-size: 11px;
    line-height: 1.35;
}

.bulletin-overlay {
    padding: 12px;
}

.bulletin-popup {
    padding: 20px 14px;
    border-radius: 14px;
}

.bulletin-popup > h2 {
    font-size: 19px;
    margin-bottom: 5px;
}

.bulletin-intro {
    font-size: 11px;
    margin-bottom: 12px;
}

.bulletin-post {
    padding: 12px;
}

.bulletin-post h3 {
    font-size: 14px;
}

.bulletin-post p {
    font-size: 11px;
    line-height: 1.35;
}

.settings-overlay {
    padding: 12px;
}

.settings-popup {
    padding: 20px 14px;
    border-radius: 14px;
}

.settings-popup > h2 {
    font-size: 19px;
    margin-bottom: 15px;
}

.settings-section {
    padding: 12px;
}

.settings-section h3 {
    font-size: 14px;
}

.settings-section p {
    font-size: 11px;
}

.account-buttons button {
    padding: 10px 5px;
    font-size: 12px;
}

.welcome-screen {
    padding: 18px;
}

.welcome-card {
    padding: 28px 20px;
    border-radius: 18px;
}

.welcome-logo {
    width: 110px;
    height: 110px;
}

.welcome-card h1 {
    font-size: 25px;
}

.welcome-message {
    font-size: 13px;
}

.welcome-buttons {
    flex-direction: column;
}

.welcome-buttons button {
    width: 100%;
    padding: 12px;
}

.account-overlay {
    padding: 15px;
}

.account-popup {
    padding: 25px 18px;
    border-radius: 16px;
}

.account-popup h2 {
    font-size: 20px;
}

.account-intro {
    font-size: 12px;
}

.account-popup label {
    font-size: 13px;
}

.world-brand-text {
    text-align: left;
}

#welcomeBackMessage {
    font-size: 12px;
}

.settings-subheader {
    margin: -5px 5px 14px;
    font-size: 11px;
    line-height: 1.35;
}

}
/*------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------*/

/* SETTINGS */

.settings-subheader {
    margin: -8px 10px 18px;
    text-align: center;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.settings-account-name {
    margin: 0 0 15px;
    color: #555;
    font-size: 14px;
}

.settings-option {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px;

    border: none;
    border-radius: 10px;

    background: #179DF4;
    color: white;

    font-weight: bold;
    cursor: pointer;
}

.settings-option:hover {
    opacity: 0.85;
}

.danger-section {
    margin-top: 15px;
}

.logout-button {
    background: #555;
}

.delete-button {
    background: #c62828;
}


/* CONFIRMATION POPUPS */

.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 7000;

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

    padding: 20px;

    background: rgba(0, 0, 0, 0.55);
}

.confirm-overlay.show {
    display: flex;
}

.confirm-popup {
    width: 100%;
    max-width: 420px;

    padding: 25px;

    background: white;
    border: 2px solid #179DF4;
    border-radius: 18px;

    text-align: center;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.confirm-popup h2 {
    margin-top: 0;
}

.confirm-popup p {
    color: #555;
    line-height: 1.4;
}

.confirm-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.confirm-buttons button {
    flex: 1;
    padding: 11px;

    border: none;
    border-radius: 10px;

    font-weight: bold;
    cursor: pointer;
}

.cancel-button {
    background: #ddd;
    color: #222;
}

.confirm-logout-button {
    background: #179DF4;
    color: white;
}

.confirm-delete-button {
    background: #c62828;
    color: white;
}

.world-brand-text h1 {
    margin: 0;
}

#welcomeBackMessage {
    margin: 3px 0 0;
    color: white;
    font-size: 14px;
    font-weight: bold;
}
/* ACCOUNT POPUPS */

.account-overlay {
    position: fixed;
    inset: 0;
    z-index: 6000;

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

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);
}

.account-overlay.show {
    display: flex;
}

.account-popup {
    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 30px;

    background: white;
    border: 2px solid #179DF4;
    border-radius: 20px;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.account-popup h2 {
    margin: 0 30px 8px;
    text-align: center;
}

.account-intro {
    margin: 0 0 22px;

    text-align: center;
    color: #555;
}

.account-close {
    position: absolute;
    top: 10px;
    right: 12px;

    border: none;
    background: transparent;

    font-size: 28px;
    cursor: pointer;
}

.account-popup form {
    display: flex;
    flex-direction: column;
}

.account-popup label {
    margin: 10px 0 5px;
    font-weight: bold;
}

.account-popup input {
    width: 100%;

    padding: 12px;

    border: 2px solid #ddd;
    border-radius: 10px;

    font-size: 16px;
}

.account-popup input:focus {
    outline: none;
    border-color: #179DF4;
}

.account-submit {
    margin-top: 18px;
    padding: 13px;

    border: none;
    border-radius: 10px;

    background: #179DF4;
    color: white;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
}

.account-error {
    display: none;

    margin: 10px 0 0;

    color: #c62828;
    font-size: 13px;
}


/* WELCOME / LOGIN SCREEN */

.welcome-screen {
    position: fixed;
    inset: 0;
    z-index: 5000;

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

    padding: 20px;

    background: #179DF4;
}

.welcome-card {
    width: 100%;
    max-width: 430px;

    padding: 35px 30px;

    background: white;

    border-radius: 22px;

    text-align: center;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.welcome-logo {
    width: 130px;
    height: 130px;

    object-fit: contain;

    border-radius: 24px;
}

.welcome-card h1 {
    margin: 15px 0 5px;

    font-size: 30px;
}

.welcome-message {
    margin: 0 0 25px;

    color: #555;
    line-height: 1.4;
}

.welcome-buttons {
    display: flex;
    gap: 12px;
}

.welcome-buttons button {
    flex: 1;

    padding: 13px 10px;

    border: none;
    border-radius: 11px;

    background: #179DF4;
    color: white;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
}

.welcome-buttons button:hover {
    opacity: 0.85;
}

/* SETTINGS */

.settings-option {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px;

    border: none;
    border-radius: 10px;

    background: #179DF4;
    color: white;

    font-weight: bold;
    cursor: pointer;
}

.settings-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.settings-overlay.show {
    display: flex;
}

.settings-popup {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 25px;
    background: white;
    border: 2px solid #179DF4;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.settings-popup > h2 {
    margin: 0 35px 20px;
    text-align: center;
}

.settings-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.settings-section {
    padding: 16px;
    background: #f2f9ff;
    border: 1px solid #179DF4;
    border-radius: 12px;
}

.settings-section h3 {
    margin: 0 0 8px;
}

.settings-section p {
    margin: 0 0 15px;
    color: #555;
    line-height: 1.4;
}

.account-buttons {
    display: flex;
    gap: 10px;
}

.account-buttons button {
    flex: 1;
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: #179DF4;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* UPDATE BULLETIN BOARD */

.bulletin-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.bulletin-overlay.show {
    display: flex;
}

.bulletin-popup {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 25px;
    background: white;
    border: 2px solid #179DF4;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.bulletin-popup > h2 {
    margin: 0 35px 5px;
    text-align: center;
}

.bulletin-intro {
    margin: 0 0 20px;
    text-align: center;
    color: #555;
}

.bulletin-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.bulletin-post {
    padding: 16px;
    background: #f2f9ff;
    border: 1px solid #179DF4;
    border-radius: 12px;
}

.bulletin-date {
    margin-bottom: 5px;
    color: #666;
    font-size: 13px;
    font-weight: bold;
}

.bulletin-post h3 {
    margin: 0 0 8px;
}

.bulletin-post p {
    margin: 0;
    line-height: 1.45;
    color: #444;
}

.tutorial-button {
    display: block;
    width: fit-content;

    margin: 0 auto 18px;
    padding: 10px 18px;

    background: #179DF4;
    color: white;

    border-radius: 10px;

    font-weight: bold;
    text-decoration: none;

    cursor: pointer;
}

.tutorial-button:hover {
    opacity: 0.85;
}

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

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

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);

    z-index: 1000;
}

.help-overlay.show {
    display: flex;
}

.help-popup {
    position: relative;

    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;

    padding: 25px;

    background: white;
    border: 2px solid #179DF4;
    border-radius: 18px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.help-popup > h2 {
    margin: 0 35px 20px;
    text-align: center;
}

.help-close {
    position: absolute;
    top: 10px;
    right: 12px;

    border: none;
    background: transparent;

    font-size: 28px;
    cursor: pointer;
}

.help-section {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.help-section:last-child {
    border-bottom: none;
}

.help-section h3 {
    margin: 0 0 5px;
}

.help-section p {
    margin: 0;
    line-height: 1.45;
    color: #555;
}

.app-card h2,
.app-card p {
    display: none;
}

.directory-subheading {
    margin: -8px 15px 15px;
    text-align: center;

    font-size: 14px;
    line-height: 1.4;
    color: #555;
}


/* =========================================
   WORLD CLOUD UPGRADE POPUP FIX
   ========================================= */

#cloudVerifyOverlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

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

    padding: 16px;
    box-sizing: border-box;

    overflow-y: auto;
}

#cloudVerifyOverlay.show {
    display: flex;
}

#cloudVerifyOverlay .account-popup {
    width: 100%;
    max-width: 390px;
    max-height: calc(100dvh - 32px);

    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;

    margin: auto;
    padding: 24px 20px;
}

#cloudVerifyForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#cloudVerifyForm input {
    width: 100%;
    box-sizing: border-box;
}

#cloudVerifyForm .account-submit {
    width: 100%;
    margin-top: 8px;
}

#cloudVerifyError:empty {
    display: none !important;
}

@media (max-width: 480px) {
    #cloudVerifyOverlay {
        padding: 10px;
    }

    #cloudVerifyOverlay .account-popup {
        max-height: calc(100dvh - 20px);
        padding: 20px 16px;
    }
}


/* Step 3: disabled cloud account editing controls */
.settings-option:disabled { opacity: .55; cursor: not-allowed; }

/* Cloud deletion confirmation */
#cloudDeleteFields[hidden] { display: none; }
#cloudDeleteFields { text-align:left; margin-top:16px; }
#cloudDeleteFields label { display:block; margin:10px 0 5px; font-weight:bold; }
#cloudDeleteFields input { display:block; width:100%; padding:11px; border:2px solid #ddd; border-radius:10px; font-size:16px; }

/* =========================================================
   WORLD APP EXPANSION: USE NOW / COMING SOON
   ========================================================= */
.app-section-title {
  max-width: 900px;
  margin: 28px auto 0;
  color: #176a9e;
  font-size: 22px;
  text-align: left;
}
.app-section-title + .app-launcher { margin-top: 15px; }
.future-app-card {
  font: inherit;
  color: inherit;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  flex-direction: column;
}
.future-app-card:focus-visible { outline: 3px solid #179DF4; outline-offset: 3px; }
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.55);
}
.coming-soon-overlay.show { display: flex; }
.coming-soon-popup {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 25px;
  background: white;
  border: 2px solid #179DF4;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.coming-soon-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}
.coming-soon-icon { width: 110px; height: 110px; object-fit: contain; border-radius: 16px; }
.coming-soon-popup h2 { color: #176a9e; font-size: 22px; }
.coming-soon-description p { line-height: 1.5; color: #444; }
.coming-soon-label { font-size: 20px; font-weight: bold; color: #176a9e; }
.coming-soon-done {
  border: 0;
  border-radius: 10px;
  padding: 12px 25px;
  background: #179DF4;
  color: white;
  font-weight: bold;
  cursor: pointer;
}
@media (max-width: 700px) {
  .app-section-title { margin: 18px 3px 0; font-size: 18px; }
  .app-section-title + .app-launcher { margin-top: 10px; }
  .future-app-card { padding: 8px; }
  .coming-soon-popup { padding: 22px 15px; }
}


/* ==========================================
   ESSAzLife World - New Update Notification
========================================== */

.new-update-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.new-update-popup {
    position: relative;
    background: white;
    border-radius: 22px;
    padding: 35px 25px 28px;
    width: 100%;
    max-width: 390px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.new-update-close {
    position: absolute;
    top: 10px;
    right: 16px;
    border: none;
    background: transparent;
    color: #555;
    font-size: 30px;
    cursor: pointer;
}

.new-update-envelope {
    font-size: 55px;
    margin-bottom: 12px;
}

.new-update-popup h2 {
    color: #179DF4;
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.new-update-popup p {
    color: #344349;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.new-update-show {
    background: #179DF4;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 13px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.new-update-show:hover {
    background: #087bc6;
}


/* ==========================================
   ESSAzLife World - Unread Bulletin Posts
========================================== */

.bulletin-post.unread-update {
    border: 3px solid #e52335 !important;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(229, 35, 53, 0.18);
    position: relative;
}

.bulletin-post.unread-update::before {
    content: "💌 NEW";
    display: inline-block;
    background: #e52335;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}


/* Keep all bulletin post text readable */

.bulletin-post {
    font-size: 15px;
    line-height: 1.6;
}

.bulletin-post p,
.bulletin-post strong,
.bulletin-post b {
    font-size: inherit;
    line-height: inherit;
}

.bulletin-post h3 {
    font-size: 17px;
    line-height: 1.4;
}
/* ESSAzLife World: horizontal section layout */
.world-paged-main{max-width:1120px;margin:0 auto;padding:18px 12px;overflow:hidden}
.world-page-navigation{display:flex;align-items:center;justify-content:center;gap:18px;margin:8px auto 18px}
.world-page-navigation button,.world-favorites-actions button{border:0;border-radius:12px;padding:12px 18px;background:#179DF4;color:white;font-weight:bold;cursor:pointer}
.world-page-navigation button:disabled{opacity:.35;cursor:default}
#worldPageIndicator{min-width:135px;text-align:center;font-weight:700;color:#167bc0}
.world-page-viewport{overflow:hidden;touch-action:pan-y;outline-offset:-3px}
.world-page-track{display:flex;transition:transform .28s ease;align-items:stretch}
.world-page{flex:0 0 100%;width:100%;min-width:0;padding:4px 8px 28px;text-align:center;min-height:380px}
.world-page>h2{margin:8px 0 16px;color:#179DF4;font-size:26px}
.world-page .app-launcher{margin:14px auto;max-width:900px;grid-template-columns:repeat(3,minmax(0,1fr))}
.world-page .app-card{flex-direction:column;gap:8px;min-width:0}
.world-page-hint{font-size:14px;color:#64748b}
.world-empty-message{grid-column:1/-1;text-align:center;color:#667085;padding:32px 10px}
.world-favorites-heading{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.world-favorites-heading:focus-visible{outline:2px solid #179DF4;border-radius:8px}
#worldLegacyApps,#worldLegacyApps *{display:none!important}
.world-favorites-overlay[hidden]{display:none!important}
.world-favorites-overlay{position:fixed;inset:0;z-index:110000;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.world-favorites-dialog{width:min(100%,520px);max-height:85vh;overflow:auto;background:white;border-radius:20px;padding:24px;text-align:center}
.world-favorites-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.world-favorites-choices button{padding:13px 8px;border:0;border-radius:12px;color:white;font-weight:bold;cursor:pointer}
.world-favorites-choices .is-favorite{background:#18834a}
.world-favorites-choices .not-favorite{background:#bf3e3e}
.world-favorites-actions{display:flex;justify-content:center;gap:12px}
@media(max-width:700px){.world-paged-main{padding:8px 3px}.world-page{padding:4px 3px 22px;min-height:420px}.world-page>h2{font-size:21px}.world-page .app-launcher{gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.world-page .app-card{height:125px;padding:8px}.world-page-navigation{gap:8px}.world-page-navigation button{padding:10px 12px;font-size:12px}#worldPageIndicator{min-width:95px;font-size:13px}}

/* Friday Backup Day popup */
#worldBackupFridayOverlay[hidden] { display:none !important; }
#worldBackupFridayOverlay { position:fixed; inset:0; z-index:120000; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.65); padding:18px; }
.world-backup-friday-dialog { width:min(100%,440px); padding:28px 24px; border-radius:20px; background:#fff; color:#263742; text-align:center; box-shadow:0 16px 48px rgba(0,0,0,.3); }
.world-backup-friday-dialog h2 { color:#179DF4; margin:0 0 16px; }
.world-backup-friday-dialog p { line-height:1.55; }
#worldBackupFridayDismiss { background:#179DF4; color:white; border:0; border-radius:12px; padding:12px 28px; font-size:16px; font-weight:bold; cursor:pointer; }
/* Holiday countdown and horizontal page dots */
.christmas-banner[hidden],.christmas-event-overlay[hidden]{display:none!important}
.christmas-banner{position:sticky;top:0;z-index:1500;background:#174d53;color:white;padding:8px 12px;box-shadow:0 3px 12px #0002}
.christmas-banner-inner{max-width:1120px;margin:auto;display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;text-align:center}
.christmas-banner-inner strong{font-size:14px}.christmas-banner-inner span{font-variant-numeric:tabular-nums;font-size:14px}
#christmasWhatsComing{background:#179df4;color:white;border:0;border-radius:9px;padding:8px 14px;font-weight:bold;cursor:pointer}
.christmas-event-overlay{position:fixed;inset:0;background:#0009;z-index:120000;display:flex;align-items:center;justify-content:center;padding:16px}
.christmas-event-dialog{background:white;color:#233746;border-radius:20px;max-width:460px;width:100%;max-height:85dvh;overflow:auto;padding:24px;position:relative}
.christmas-event-dialog h2{text-align:center;color:#179df4;margin:0 24px 20px}.christmas-event-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:30px;cursor:pointer}
.christmas-event-app{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #dce8ee}.christmas-event-app:last-child{border:0}.christmas-event-app img{width:66px;height:66px;object-fit:contain;border-radius:12px;flex-shrink:0}.christmas-event-app p{margin:5px 0 0;line-height:1.4;font-size:13px}
.world-page-dots{position:fixed;bottom:0;left:0;right:0;z-index:1400;display:flex;justify-content:center;align-items:center;gap:7px;padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#ffffffed;box-shadow:0 -2px 10px #0001;flex-wrap:wrap}
.world-page-dot{width:9px;height:9px;flex-shrink:0;border:0;border-radius:99px;background:#a7b8c5;padding:0;cursor:pointer}.world-page-dot.active{width:21px;background:#179df4}
.world-paged-main{padding-bottom:65px!important}
@media(max-width:700px){.christmas-banner-inner{gap:5px 10px}.christmas-banner-inner strong{width:100%}.christmas-event-app img{width:55px;height:55px}.world-page-dots{gap:6px}.world-page-dot{width:7px;height:7px}.world-page-dot.active{width:16px}}
/* Popup layering repair: overlays always sit above the sticky banner and dots. */
.christmas-banner{z-index:100!important}
.world-page-dots{z-index:100!important}
.directory-overlay,.help-overlay,.bulletin-overlay,.settings-overlay,
.account-overlay,.confirm-overlay,.coming-soon-overlay,
.christmas-event-overlay,.world-favorites-overlay,
#worldBackupFridayOverlay,.app-info-overlay,
[class$="-overlay"].show{z-index:20000!important}
.welcome-screen{z-index:30000!important}
#forgotLoginOverlay{z-index:40000!important}

.account-overlay.show,.confirm-overlay.show{z-index:35000!important}
