/* Minimal styles for Update Log popup */

.updatelog, .updatelog * {
    box-sizing: border-box;
}

/* Global page background - desktop and mobile */
html, body {
    min-height: 100vh;
    background-color: #0f131a; /* fallback color */
    background-image: url('IMG_202510073377_1135x638.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    html, body {
        background-attachment: scroll; /* better behavior on mobile */
    }
}

.updatelog {
    position: fixed;
	background-image: url(pop_bg_texture.d7e8298c.png);
	    background-repeat: no-repeat;
    background-size: 100% 100%;
	background-color: #3b4354;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 520px;
    max-height: 50vh;
    background-color: #3b4354;
    display: flex;
    flex-direction: column;
    overflow: visible; /* allow decorative corners outside */
    z-index: 1000;
}

@media (min-width: 900px) {
    .updatelog {
        width: 520px;
        max-width: 90vw; /* never exceed 90% viewport width */
          background-size: cover; /* avoid distortion on desktop */
        background-position: center center;
    }
}

.updatelog__header {
    position: relative;
    padding: 14px 16px; /* reduced header height */
    border-bottom: 1px solid rgba(211, 188, 142, 0.32);
    background: transparent;
}

.updatelog__title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #d3bc8e;
    line-height: 1.2;
	font-weight: bold;
}

.updatelog__close {
    position: absolute;
    top: 14px;
    right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-image: url(/login/images/x.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.updatelog__content {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA5kAAARNAQMAAADikBbSAAAABlBMVEVHcEzRu42HWVO4AAAAAnRSTlMAgJsrThgAAAIXSURBVHja7dSxDcMwDERRAincSetoLG9gj5ox1DELpDQIGHx/gVfdRcysbUdEI3REbQsKhb4CzcxS88q8G6HfcZSi5/pAoU+hs3gyuxca1UGhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKBQKhUKhUCgUCoVCoVAoFAqFQqFQKPQ/OrOUvHYvdByl6Lmg0KfQzOLJZHZCYxT//YqAQqFvQGfWtjuhP3cZq/iY7bYYAAAAAElFTkSuQmCC);
        background-repeat: no-repeat;
        background-size: 98% 98%; /* slightly inset to avoid flush corners */
        background-position: 50% 50%;
    background-color: #ece5d8;
    padding: 12px 16px 40px 16px; /* extra bottom space to avoid overlap with bottom bar */
    display: flex;
    position: relative; /* anchor bottom bar inside content */
    flex-direction: column;
    flex: 1;
    min-height: 0; /* allow inner scroll */
}

.updatelog__content-tab {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.updatelog__content-tab-title {
    flex: 1;
    min-width: 0; /* prevent overflow */
    border: 1px solid #dbd1bf;
    background: #f4efe8;
    border-radius: 2px;
    height: 36px;
}

@media (min-width: 900px) {
    .updatelog__content-tab-title {
        height: 40px;
    }
}

.updatelog__content-tab-title--active {
    background: #dbd1bf;
}

.updatelog__content-tab-title-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px solid #ece5d8;
}

.updatelog__content-tab-title-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    flex: 0 0 auto;
}

.updatelog__content-tab-title-item-text-container {
    position: relative;
    max-width: 100%;
}

.updatelog__content-tab-title-item-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    color: #3b4252;
}

.updatelog__content-tab-title-item-point {
    display: none;
}

.updatelog__content-text {
    color: #5d646a;
    font-size: 14px;
    line-height: 1.7;
    overflow-y: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    flex: 1;
    min-height: 0;
    padding-top: 1px;
    padding-bottom: 15px; /* increased gap from bottom decorative bar */
    word-wrap: break-word;
    word-break: break-word;
}

.updatelog__content-text::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

.updatelog__content-text img {
    max-width: 100% !important;
    height: auto;
}

/* Bottom decorative line under content */
.updatelog__content-line[data-v-32ee8cff] {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 18px; /* slightly higher from bottom */
    width: calc(100% - 32px); /* fit inside horizontal padding */
    height: 8px; /* visible thickness */
    display: block;
    z-index: 1;
    pointer-events: none;
}

/* Corner decorations - re-enabled inside container without overflow */
.updatelog__corner {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none; /* decorative only */
}

.updatelog__corner--tl {
    top: -12px;
    left: -12px;
    transform: rotate(0deg);
}

.updatelog__corner--tr {
    top: -12px;
    right: -12px;
    transform: rotate(90deg);
}

.updatelog__corner--bl {
    bottom: -12px;
    left: -12px;
    transform: rotate(270deg);
}

.updatelog__corner--br {
    bottom: -12px;
    right: -12px;
    transform: rotate(180deg);
}


