@font-face {
    font-family: 'Brando Arabic';
    src: url('fonts/BrandoArabicBold.eot');
    src: url('fonts/BrandoArabicBold.eot?#iefix') format('embedded-opentype'),
        url('fonts/BrandoArabicBold.woff2') format('woff2'),
        url('fonts/BrandoArabicBold.woff') format('woff'),
        url('fonts/BrandoArabicBold.svg#BrandoArabicBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Brando Arabic';
    src: url('fonts/BrandoArabicRegular.eot');
    src: url('fonts/BrandoArabicRegular.eot?#iefix') format('embedded-opentype'),
        url('fonts/BrandoArabicRegular.woff2') format('woff2'),
        url('fonts/BrandoArabicRegular.woff') format('woff'),
        url('fonts/BrandoArabicRegular.svg#BrandoArabicRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
  --default-clr:#FFCB00;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s;
}
body, html{
    width: 100%;
    height: 100%;
}
body{
    font-family: 'Brando Arabic';
    color: #fff;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: #000;
}
ul{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}
.animate__delay-6s {
  animation-delay: 6s;
}
.animate__delay-7s {
  animation-delay: 7s;
}
.animate__delay-8s {
  animation-delay: 8s;
}
.animate__delay-9s {
  animation-delay: 9s;
}
.animate__delay-10s {
  animation-delay: 10s;
}
.relative{
    position: relative;
}
.absolute{
    position: absolute;
}
.block{
    display: block;
}
.d-inline{
    display: inline-block;
}
.table{
    display: table;
}
.flex{
    display: flex;
}
.all-content{
    z-index: 9;
}
.image-area{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.image-area img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.image-area img.active {
  opacity: 1;
  z-index: 1;
}
.logo{
    top: 80px;
    right: 100px;
}
.logo img{
    width: 134px;
    height: auto;
}
.center-content{
    display: table;
    margin: auto;
    top: 75px;
    width: 39%;
    text-align: center;
}
.center-content h1{
    color: var(--default-clr);
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 15px;
}
.center-content p{
    font-size: 22px;
    margin-bottom: 25px;
}
.aboutus-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}
.aboutus-links li a,.copyright a{
    color: var(--default-clr);
    font-size: 22px;
}
.aboutus-links li a:hover,.copyright a:hover{
    color: #fff;
}

#slider-tou h1{
    text-align: center;
    color: var(--default-clr);
    margin-bottom: 30px;
}

.copyright.relative a {
    font-size: 14px;
}

#slider-tou .container {
    width: 50%;
    height: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

.apps{
    gap: 17px;
    justify-content: center;
}
.link-app img{
    width: auto;
    height: 54px;
}
.icon-apps img{
    width: 54px;
    height: 54px;
}
.app-btn-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.link-app.link-app-disabled {
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.72;
    filter: grayscale(0.2);
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.3s ease;
}
.badge-soon {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--default-clr, #FFCB00);
    color: #171717;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 9px;
    border-radius: 12px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    white-space: nowrap;
    line-height: 1.45;
    z-index: 5;
}
.btn{
    width: 40px;
    height: 40px;
    background: rgb(255 255 255 / 35%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.btn:hover , .btn.active{
    background: var(--default-clr);
}
.btn img{
    width: 16px;
    height: 16px;
}
.btn:hover img , .btn.active img{
    filter: brightness(0);
}
.btn-play{
    top: 7px;
    right: -50px;
}
.download-app{
    gap: 10px;
    margin-bottom: 30px;
}
.tabs{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 10px;
}
.tabs .div-tabs-mob{
    background: rgb(255 255 255 / 35%);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}
.tabs .tab-highlight {
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 33.333%;
  background: var(--default-clr);
  transition: all 0.3s ease;
  border-radius: 50px;
  z-index: 0;
    transform: translateX(100%);
}
.tabs .nav-link{
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    padding: 10px;
    border-radius: 50px;
    display: inline-block;
    width: 33.333%;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.tabs .nav-link.active{
    color: #272929;
}
.tabs .nav-link:hover{
    color: #272929;
}

.btn-hide.for-mob{
    display: none;
    margin: 0;
    height: 30px;
}

.switch-bg{
    margin-bottom: 30px;
    justify-content: space-between;
    align-items: baseline;
    flex-direction: row-reverse;
}
.switch-bg img{
    width: 270px;
}
.bar-bg{
    height: fit-content;
    position: relative;
    top: 3px;
}
.switch-bg svg{
    width: 300px;
}
.full-bar .st0{
  transition:
    stroke 1.5s ease,
    transform 1.5s ease;
}

.full-bar.active .st0{
    stroke:var(--default-clr);
}

.btn-hide{
    margin: 0 auto 30px ;
}
.btn-hide:hover #Aspect_Ratio_Fill{
    opacity: 1;
    fill: var(--default-clr);
}
.card{
    width: min(92vw, 470px);
    max-width: 470px;
    background: rgb(255 255 255 / 5%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    margin: 15px auto 0;
    display: none;
    position: relative;
    z-index: 10;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

/* Project cards must remain above the dimmed scene in every viewport. */
#main-content > #scene-cards {
    position: relative;
}

#main-content.scene-modal-open > #scene-cards {
    z-index: 45 !important;
}

.card.animate__animated {
  --animate-duration: 0.5s;
}
.card img{
    object-fit: contain;
    display: none;
    transition: transform 0.2s ease-out;
    will-change: transform;
    flex-shrink: 0;
}
.card img.active{
    display: block;
}
.card .text-info{
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 18px 16px 20px;
    text-align: right;
}
.card .text-info p{
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 8px;
    position: relative;
    color: #e5e5e5;
}
.card .text-info label{
    color: var(--default-clr);
    font-size: 18px;
    font-weight: bold;
}
#card-1 img{
    width: auto;
    height: 165px;
    max-width: 110px;
    margin: -55px 12px 0 0px;
    position: relative;
    z-index: 2;
}
#card-2 img{
    width: auto;
    height: 115px;
    max-width: 195px;
    margin: -35px 12px 0 0px;
    position: relative;
    z-index: 2;
}
#card-2 .text-info{
    padding: 16px 12px 16px 20px;
}
#card-3 img{
    width: auto;
    height: 135px;
    max-width: 135px;
    margin: -40px 12px 0 0px;
    position: relative;
    z-index: 2;
}
.social-link{
    top: 92px;
    left: 100px;
}
.social-link ul{
    display: flex;
    gap: 15px;
}
.social-link a img{
    height: 18px;
    width: auto;
}
.social-link a:hover img{
    filter: grayscale(1);
}
.footer{
    width: 100%;
    bottom: 80px;
    padding: 0 100px;
    z-index: 30;
    pointer-events: none;
}
.footer a,
.footer button,
.footer .download-app,
.footer .social-link,
.footer .copyright,
.footer .copyright label{
    pointer-events: auto;
}
.statistics{
    gap: 30px;
    justify-content: center;
    top: 50px;
}
.block-statistics{
    text-align: center;
}
.block-statistics label{
    font-size: 34px;
    font-weight: bold;
    color: var(--default-clr);
}
.block-statistics h3{
    font-size: 22px;
    font-weight: 400;
}
.copyright{
    float: left;
    z-index: 32;
    pointer-events: auto;
}
.copyright label{
    font-size: 14px;
    text-align: left;
}
.copyright a{
    position: relative;
    z-index: 33;
    pointer-events: auto;
}
.tellers-credit{
    float: right;
}
.tellers-credit a img{
    width: 80px;
}
.tellers-credit label{
    font-size: 14px;
}
.online-presence{
    float: right;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 31;
    pointer-events: none;
}
.online-presence__row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    pointer-events: none;
}
.online-presence__count{
    color: #FFCB00 !important;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}
.online-presence__label{
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}
.footer .social-link{
    display: none;
}
.btn-card{
    text-decoration: none;
    z-index: 10;
    flex-direction: column;
    align-items: center;
}
.btn-card label{
    color: #fff;
    font-size: 22px;
    margin-top: 5px;
}
.btn-card-1{
    top: 10%;
    right: 15.5%;
}
.btn-card-2{
    bottom: 32%;
    left: 20%;
}
.btn-card-3{
    bottom: 25%;
    left: 11.5%;
}
.btn-close label{
    text-decoration: underline;
}
.btn-card .btn.active img{
    rotate: 45deg;
}
.btn-close{
    z-index: 11;
    top: 80px;
    right: 100px;
    display: none;
}
#cancelButton{
    visibility: hidden;
}
#cancelButton.show{
    display: flex;
    visibility: visible;
}
.btn-close a{
    background: #fff;
}
.btn-close img {
    width: 23px;
    height: 23px;
}
.slider-pdf .item{
    display: flex;
    justify-content: center;
}
.slider-pdf .pdf-file{
    border: 1px solid transparent;
}
.slider-pdf .pdf-file img{
    height: auto !important;
    max-height: 100% !important;
}
.slider-pdf .pdf-file:hover{
    border-color: var(--default-clr);
}
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(23 23 23 / 90%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.custom-modal-content {
  padding: 20px;
  position: relative;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}
.custom-modal-close {
    position: absolute;
    top: 80px;
    right: 100px;
    cursor: pointer;
    z-index: 10;
    gap: 15px;
}
.custom-modal-close .btn{
    background: #fff;
}
.custom-modal-close img {
    width: 23px;
    height: 23px;
}
.custom-modal-close label {
    color: #fff;
    font-size: 22px;
    margin-top: 5px;
    text-decoration: underline;
}
.custom-modal.show {
  display: block;
  opacity: 1;
}
.custom-modal-close .btn:hover{
    background: var(--default-clr);
}
.mod-close{
    flex-direction: column;
    align-items: center;
}

.custom-modal-close .btn-download .btn img{
    width: 13px;
    height: auto;
}

.owl-carousel .owl-nav button{
    width: 40px;
    height: 40px;
    background: var(--default-clr) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
}
.owl-carousel .owl-nav button img {
    filter: brightness(0);
}
.owl-carousel .owl-nav button.disabled{
    opacity: 0;
}
.owl-carousel .owl-nav button.owl-prev{
    left: auto;
    right: 50px;
}
.video-modal .custom-modal-body {
  position: relative;
  overflow: hidden;
}
.video-modal .custom-modal-content {
  max-width: 900px;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-modal .custom-modal-content iframe,
.video-modal .custom-modal-content video {
  aspect-ratio: 16/9;
  width: 100%;
}
.video-modal.custom-modal{
  align-items: center;
}
.video-modal .custom-modal-content {
    top: 0;
    transform: translateY(0);
}

.video-modal .custom-modal-close{
    flex-direction: column;
    align-items: center;
    gap: 0;
}

#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #171717;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.9s ease;
}
.loader-content {
  text-align: center;
}
.loader-content .logo-app {
    width: 40px;
    max-width: 150px;
    margin-bottom: 35px;
}
.loader-content .progress-bar {
  width: 252px;
  height: 5px;
  background-color: #272929;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--default-clr);
  transition: width 0.9s ease;
}
.loader-content .progress-text {
  font-size: 18px;
  color: var(--default-clr);
  margin-bottom: 15px;
}
#video-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}
#video-overlay .btn-close{
    display: flex;
}
#video-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
#video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-video-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: black;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 1s ease;
}
.story-video-overlay.show {
  display: flex;
  opacity: 1;
}
.story-video-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.story-video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-video-overlay .btn-close {
  display: flex;
  z-index: 2;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}
.invisible{
    visibility: hidden;
}
#unmute-button{
    width: 40px;
    height: 40px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    bottom: 80px;
    right: 105px;
    border: 0;
    cursor: pointer;
    opacity: 0.3;
}
#unmute-button img {
  width: 23px;
  height: auto;
}
#unmute-button .sound-on-icon {
  display: none;
}
#unmute-button:hover{
    opacity: 1;
    background: var(--default-clr);
}

.footer .download-app, .center-content .logo{
    display: none;
}

.overlay-landscape{
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 40;
    pointer-events: none;
}
.overlay-landscape.active{
    display: block;
    opacity: 1;
    pointer-events: auto;
}
.overlay-landscape .btn-close{
    display: flex;
    position: fixed;
    top: clamp(14px, 2.5vh, 32px);
    right: clamp(14px, 3vw, 36px);
    z-index: 50;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.overlay-landscape .btn-close .btn{
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: background 0.3s;
}
.overlay-landscape .btn-close:hover .btn{
    background: var(--default-clr, #FFCB00);
}
.overlay-landscape .btn-close label{
    color: #fff;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
}

/* On desktop (> 1024px), overlay is strictly disabled */
@media (min-width: 1025px) {
    .overlay-landscape,
    .overlay-landscape.active,
    .overlay-landscape .btn-close {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}


/*Media Css*/

@media (min-width: 1920px){
    .all-content {
        margin-bottom: 70px;
    }
}

@media (width: 1536px), (width: 1706.67px), (max-width: 1440px) {
    .logo {
        top: 25px;
        right: 30px;
    }
    .social-link{
        top: 25px;
        left: 30px;
    }
    .footer{
        bottom: 20px;
        padding: 0 30px;
    }
    .center-content{
        top: 20px;
    }
    .center-content h1{
        font-size: 24px;
        margin-bottom: 7px;
    }
    .center-content p{
        font-size: 18px;
        margin-bottom: 10px;
    }
    .aboutus-links{
        margin-bottom: 15px;
    }
    .aboutus-links li a{
        font-size: 20px;
    }
    .link-app img{
        height: 45px;
    }
    .icon-apps img {
        width: auto;
        height: 45px;
    }
    .btn {
        width: 32px;
        height: 32px;
    }
    .btn img{
        width: 13px;
        height: 13px;
    }
    .btn-card label{
        font-size: 18px;
    }
    .download-app{
        margin-bottom: 7px;
    }
    .tabs .nav-link{
        font-size: 20px;
    }
    .switch-bg svg {
        width: 255px;
    }
    .bar-bg {
        top: 2px;
    }
    .switch-bg {
        margin-bottom: 7px;
    }
    .block-statistics label{
        font-size: 26px;
    }
    .block-statistics h3{
        font-size: 20px;
    }
    .card {
        width: min(90vw, 420px);
        max-width: 420px;
        margin-top: clamp(15px, 2.5vh, 30px);
    }
    .card .text-info p{
        font-size: 14px;
    }
    #card-1 img{
        height: 145px;
        max-width: 95px;
        margin-top: -45px;
    }
    #card-2 img{
        height: 105px;
        max-width: 175px;
        margin-top: -30px;
    }
    #card-3 img{
        height: 120px;
        max-width: 120px;
        margin-top: -32px;
    }
    .btn-close {
        top: 25px;
        right: 25px;
    }
    #unmute-button{
        width: 32px;
        height: 32px;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 1440px){
    .btn-card-1 {
        top: 14%;
    }
    .btn-card-2 {
        bottom: 35%;
        left: 18%;
    }
    .btn-card-3 {
        bottom: 29%;
    }
}

@media (max-width: 1399.98px) {
    .aboutus-links {
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .center-content{
        top: 80px;
        width: 50%;
    }
    .btn-card-1{
        top: 17%;
        right: 7%;
    }
    .btn-card-2 {
        bottom: 41%;
        left: 3%;
    }
    .btn-card-3 {
       bottom: 26%;
        left: 9%;
    }
    .card {
        margin-top: clamp(15px, 3vh, 40px);
        width: min(90vw, 440px);
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    .social-link{
        display: none;
    }
    .all-content{
        padding-top: 30px;
    }
    .center-content {
        top: 0;
        width: 90%;
    }
    .logo {
        position: static;
        display: table;
        margin: auto;
    }
    .footer .social-link{
        display: block;
        position: static;
        margin-bottom: 10px;
    }
    .tellers-credit , .copyright{
        float: none;
        display: table;
        margin: auto;
    }
    .statistics{
        position: static;
        margin-bottom: 10px;
    }
    .copyright{
        margin-bottom: 10px;
    }
    .tellers-credit a{
        margin: auto;
    }
    .card {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        width: min(90vw, 440px) !important;
        max-width: 440px !important;
        flex-direction: row !important;
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        border-radius: 24px !important;
        box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65) !important;
        z-index: 45 !important;
        pointer-events: auto !important;
    }
    #card-1 img {
        height: clamp(95px, 16vh, 125px) !important;
        width: auto !important;
        max-width: 90px !important;
        margin: -28px 12px 0 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    #card-2 img {
        height: clamp(75px, 13vh, 95px) !important;
        width: auto !important;
        max-width: 145px !important;
        margin: -20px 12px 0 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    #card-3 img {
        height: clamp(85px, 15vh, 110px) !important;
        width: auto !important;
        max-width: 110px !important;
        margin: -25px 12px 0 0 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    .card .text-info {
        padding: clamp(10px, 2vh, 16px) clamp(10px, 2.5vw, 18px) !important;
        text-align: right !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .card .text-info p {
        font-size: clamp(12px, 2.4vw, 14.5px) !important;
        line-height: 1.55 !important;
        margin-bottom: 6px !important;
        color: #fff !important;
    }
    .card .text-info label {
        font-size: clamp(15px, 3.2vw, 18px) !important;
        color: var(--default-clr, #FFCB00) !important;
        font-weight: bold !important;
    }
    .btn-hide {
        margin: 0 auto 5px;
    }
    .btn-card label {
        font-size: 15px;
    }
    .btn-card-1 {
        top: 32%;
        right: 5%;
    }
    .btn-card-2 {
        bottom: 46%;
        left: 7%;
    }
    .btn-card-3 {
        bottom: 38%;
        left: 19%;
    }
}


@media (max-width: 500px){

    #slider-tou .container {
        width: 80%;
    }

    .center-content {
        width: 95%;
    }
    .logo img {
        width: 100px;
    }
    .all-content {
        padding-top: 20px;
    }
    .center-content h1 {
        font-size: 18px;
    }
    .center-content p {
        font-size: 13px;
        margin-bottom: 5px;
    }
    .aboutus-links li a {
        font-size: 13px;
        white-space: nowrap;
    }
    .aboutus-links {
        gap: 6px 12px;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 10px;
    }
    .btn.btn-play {
        position: static;
        width: 35px;
        height: 35px;
    }
    .link-app img , .icon-apps img{
        height: 35px;
    }

    .download-app{
        justify-content: center;
    }
    .tabs{
        margin-bottom: 10px;
        justify-content: center;
    }
    .tabs .div-tabs-mob{
        width: 80%;
    }
    .tabs .nav-link{
        font-size: 16px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .switch-bg{
        width: 350px;
        justify-content: center;
        margin-bottom: 7px;
    }
    .bar-bg{
        width: calc(100% - 145px);
        top: 0px;
    }
    .switch-bg #Layer_1 {
        width: 95%;
    }
    .apps{
        margin-bottom: 10%;
    }
    .card {
        width: min(92vw, 420px) !important;
        flex-direction: row !important;
    }
    #card-1 img {
        max-width: 80px !important;
        height: 105px !important;
        margin: -22px 10px 0 0 !important;
    }
    #card-2 img {
        max-width: 125px !important;
        height: 75px !important;
        margin: -16px 10px 0 0 !important;
    }
    #card-3 img {
        max-width: 95px !important;
        height: 90px !important;
        margin: -20px 10px 0 0 !important;
    }
    .card .text-info {
        padding: 12px 12px 12px 16px !important;
        text-align: right !important;
    }
    .card .text-info p {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 5px !important;
    }
    .card .text-info label {
        font-size: 15.5px !important;
    }
}

@media (max-width: 360px) {
    .card {
        width: calc(100vw - 16px) !important;
        border-radius: 18px !important;
    }
    #card-1 img {
        max-width: 65px !important;
        height: 80px !important;
        margin: -16px 6px 0 0 !important;
    }
    #card-2 img {
        max-width: 95px !important;
        height: 60px !important;
        margin: -12px 6px 0 0 !important;
    }
    #card-3 img {
        max-width: 75px !important;
        height: 70px !important;
        margin: -14px 6px 0 0 !important;
    }
    .card .text-info {
        padding: 8px 8px !important;
    }
    .card .text-info p {
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin-bottom: 3px !important;
    }
    .card .text-info label {
        font-size: 13.5px !important;
    }
    .footer{
        padding: 0;
        bottom: 10px;
    }
    .block-statistics h3 {
        font-size: 16px;
    }
    .block-statistics label {
        font-size: 22px;
    }
    .social-link a img {
        height: 15px;
    }
    .footer .social-link {
        margin-bottom: 5px;
    }
    .copyright label{
        text-align: center;
    }
    .tellers-credit a img {
        width: 65px;
    }
    .owl-carousel .owl-nav button{
        left: 10px;
    }
    .owl-carousel .owl-nav button.owl-prev{
        right: 10px;
    }
    .custom-modal-close{
        right: 20px;
    }
    .btn-card-1 {
        top: 35%;
        right: 1%;
    }
    .btn-card-2 {
        bottom: 53%;
        left: 3%;
    }
    .btn-card-3 {
        bottom: 43%;
        left: 14%;
    }
    .owl-carousel .owl-nav button {
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: -80px;
    }
    .owl-carousel .owl-nav button.owl-prev{
        display: none;
    }
    .slider-pdf .pdf-file{
        aspect-ratio: 1 / 1.2;
    }
    .loader-content .logo-app {
        margin-bottom: 15px;
    }
    .video-modal .custom-modal-content iframe, .video-modal .custom-modal-content video {
        width: 100%;
    }
    .tellers-credit{
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    .tellers-credit a{
        margin: 0;
        display: inline-block;
    }
    .tellers-credit label,.copyright label{
        font-size: 12px;
    }
    .block-statistics{
        display: flex;
        align-items: center;
        gap: 10px;        
    }
    .copyright {
        margin-bottom: 5px;
    }
    .statistics {
        margin-bottom: 5px;
    }
    .social-link ul {
        display: flex;
        gap: 12px;
    }
    .apps-tabs .download-app , .apps-tabs .btn-play{
        display: none;
    }

    .footer .download-app{
        display: flex;
        margin-bottom: 0;
    }
    .all-content .logo-xl{
        display: none;
    }
    .center-content .logo{
        display: inline-block;
    }
    .btn-hide.for-lg{
        display: none;
    }
    .btn-hide.for-mob{
        display: inline-block;
    }
    .btn-hide.for-mob svg{
        width: 30px;
    }
    .btn {
        width: 30px;
        height: 30px;
    }
    .btn:hover{
        background: rgb(255 255 255 / 35%);
    }
    .btn.active{
        background: var(--default-clr);
    }
    .btn:hover img{
        filter: unset;
    }
    .btn.active img {
        filter: brightness(0);
    }
}


@media screen and (max-width: 768px) and (orientation: landscape) {
    .social-link {
        display: block;   
    }
    .logo {
        position: absolute;
    }
    .logo img {
        width: 100px;
    }
    .social-link a img {
        height: 18px;
    }
    .center-content h1 {
        font-size: 20px;
    }
    .center-content p {
        font-size: 16px;
    }
    .aboutus-links li a {
        font-size: 18px;
    }
    .link-app img , .icon-apps img {
        height: 35px;
    }
    .all-content {
        padding-top: 50px;
    }
    .logo {
        top: 15px;
        right: 15px;
    }
    .social-link ul {
        gap: 13px;
    }
    .social-link {
        top: 15px;
        left: 15px;
    }
    .btn-play {
        top: 2px;
        right: -40px;
    }
    .footer .social-link{
        display: none;
    }
    .copyright {
        float: left;
        margin-bottom: 0;
    }
    .tellers-credit {
        float: right;
    }
    .apps-tabs{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .copyright label {
        font-size: 12px;
    }
    .tellers-credit label {
        font-size: 12px;
    }
    .tellers-credit a img {
        width: 60px;
    }
    .statistics {
        position: relative;
        margin-bottom: 0px;
    }
    .tabs {
        margin-bottom: 10px;
        width: 269px;
    }
    .tabs .nav-link {
        font-size: 16px;
    }
    .footer {
        bottom: 15px;
        padding: 0 15px;
    }
    .block-statistics label {
        font-size: 20px;
    }
    .block-statistics h3 {
        font-size: 17px;
    }
    .switch-bg svg {
        width: 190px;
    }
    .btn {
        width: 25px;
        height: 25px;
    }
    .btn img {
        width: 10px;
        height: 10px;
    }
    .btn-hide svg{
        width: 30px;
        height: auto;
    }
    .statistics {
        top: 40px;
    }
    .center-content p{
        width: 63%;
        margin: 0 auto 10px;
    }
    .btn-card-1 {
        top: 21%;
        right: 5%;
    }
    .btn-card-2 {
        bottom: 36%;
        left: 4%;
    }
    .btn-card-3 {
        bottom: 26%;
        left: 19%;
    }
}


@media screen and (max-width: 932px) and (orientation: landscape) {
    .logo {
        top: 10px;
        right: 10px;
    }
    .social-link {
        top: 10px;
        left: 10px;
    }
    .social-link a img {
        height: 14px;
    }
    .social-link ul{
        gap: 10px;
        width: 160px;
        flex-wrap: wrap;
    }
    .logo img {
        width: 90px;
    }
    .center-content {
        top: 10px;
    }
    .center-content h1 {
        font-size: 16px;
    }
    .center-content p {
        font-size: 14px;
    }
    .aboutus-links {
        gap: 10px;
    }
    .aboutus-links li a {
        font-size: 15px;
    }
    .link-app img {
        height: 30px;
    }
    .icon-apps img {
        height: 30px;
    }
    .btn-play {
        width: 30px;
        height: 30px;
        right: 0;
        top: 0;
    }
    .tabs .nav-link {
        font-size: 16px;
    }
    .for-lg{
        display: none;
    }
    .btn-hide.for-mob{
        display: inline-block;
    }
    .download-app{
        justify-content: center;
    }
    .tabs{
        margin-bottom: 10px;
    }
    .tabs .nav-link{
        padding: 5px;
    }
    .tellers-credit a img {
        width: auto;
        height: 20px;
    }
    .tellers-credit a img {
        width: 50px;
    }
    .tellers-credit label {
        font-size: 11px;
    }
    .statistics {
        top: 30px;
    }
    .block-statistics{
        display: flex;
        gap: 10px;
    }
    .block-statistics h3, .block-statistics label {
        font-size: 16px;
    }
    .copyright label {
        font-size: 12px;
    }
    .footer {
        bottom: 10px;
        padding: 0 10px;
    }
    .btn {
        width: 25px;
        height: 25px;
    }
    .btn-card{
        z-index: 11;
    }
    .btn-card label {
        font-size: 14px;
    }
    .btn-card-1 {
        top: 40%;
        right: 17%;
    }
    .btn-card-3 {
        bottom: 24%;
        left: 18%;
    }
    .btn-card-2 {
        bottom: 40%;
        left: 10%;
    }
    .card{
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        margin-top: 0 !important;
        width: min(85vw, 440px);
        max-width: 440px;
        flex-direction: row;
        border-radius: 24px;
        z-index: 25;
    }
    #card-1 img {
        height: 120px;
        max-width: 80px;
        margin: -28px 10px 0 0px;
        position: relative;
    }
    #card-2 img {
        height: 85px;
        max-width: 150px;
        margin: -20px 10px 0 0px;
        position: relative;
    }
    #card-3 img {
        height: 95px;
        max-width: 95px;
        margin: -22px 10px 0 0px;
        position: relative;
    }
    .card .text-info {
        padding: 12px 14px 12px 16px !important;
        text-align: right !important;
    }
    .card .text-info p {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 5px;
    }
    .card .text-info label {
        font-size: 15px;
    }

    .switch-bg svg{
        margin: 0 5px;
    }
    .video-modal .custom-modal-content {
        max-width: 500px;
    }
    .custom-modal-close {
        top: 20px;
        right: 20px;
    }
    .slider-pdf .pdf-file{
        aspect-ratio: 1 / 0.9;
    }
    .slider-pdf .pdf-file img {
        display: table;
        margin: auto;
        width: auto;
        height: 100vh !important;
    }
    .slider-pdf .pdf-file:hover {
        border-color: transparent;
    }
    .overlay-landscape.active{
        z-index: 10;
        display: block;
        opacity: 1;
    }
    .overlay-landscape .btn-close{
        display: flex;
    }
    .custom-modal{
        overflow: hidden;
    }
    .btn-hide.for-mob svg {
        width: 30px;
    }
}

@media (max-width: 414px) {
    .apps{
        margin-bottom: 20px;
    }
}
@media (max-width: 412px) {
    .apps{
        margin-bottom: 8%;
    }
}

@media (max-width: 768px) {
    .online-presence{
        float: none;
        display: inline-flex;
        min-width: 0;
        margin: 8px auto 0;
        padding: 8px 14px;
    }
    .online-presence__count{
        font-size: 20px;
    }
    .online-presence__label{
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .statistics{
        margin-bottom: 0;
    }
    .online-presence{
        order: 2;
        width: fit-content;
        max-width: calc(100vw - 32px);
    }
    .copyright{
        order: 3;
    }
    .online-presence__count,
    .online-presence__label{
        font-size: 13px;
    }
}

/* Keep the homepage controls inside the viewport on phones and small tablets. */
@media (max-width: 768px) and (orientation: portrait) {
    .center-content {
        display: block;
        width: min(92vw, 700px);
        margin-inline: auto;
    }

    .center-content p {
        width: 100%;
        max-width: 100%;
        padding-inline: 8px;
        overflow-wrap: anywhere;
    }

    .aboutus-links {
        width: 100%;
        padding-inline: 4px;
        gap: 8px 12px;
    }

    .center-content .apps {
        width: 100%;
        min-width: 0;
        gap: 0;
    }

    .apps-tabs {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 350px;
        min-width: 0;
    }

    .main-tabs,
    .tabs {
        width: 100%;
        min-width: 0;
    }

    .tabs .div-tabs-mob {
        width: calc(100% - 40px);
        max-width: 320px;
        min-width: 0;
    }

    .switch-bg {
        width: 100%;
        max-width: 350px;
        min-width: 0;
        gap: 8px;
        margin-inline: auto;
    }

    .switch-bg > .btn.sub-tab {
        flex: 0 0 30px;
    }

    .switch-bg .bar-bg {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .switch-bg #Layer_1 {
        display: block;
        width: 100%;
        height: auto;
    }

    .btn-card-1 {
        top: clamp(300px, 41vh, 360px);
        right: 8%;
        bottom: auto;
    }

    .btn-card-2 {
        top: clamp(358px, 49vh, 420px);
        left: 8%;
        bottom: auto;
    }

    .btn-card-3 {
        top: clamp(416px, 57vh, 480px);
        left: 50%;
        bottom: auto;
        transform: translateX(-50%);
    }

    .btn-card label {
        max-width: 72px;
        font-size: clamp(12px, 3.8vw, 15px);
        line-height: 1.3;
        text-align: center;
        white-space: normal;
    }

    .footer {
        padding: 0 12px;
        bottom: 10px;
    }

    .footer .download-app {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
        min-width: 0;
    }

    .footer .download-app .icon-apps {
        flex: 0 0 35px;
    }

    .footer .download-app .icon-apps img {
        display: block;
        width: 35px;
        height: 35px;
        object-fit: contain;
    }

    .footer .download-app > .link-app,
    .footer .download-app .app-btn-wrap {
        flex: 0 1 auto;
        min-width: 0;
        position: relative;
    }

    .footer .download-app > .link-app img,
    .footer .download-app .app-btn-wrap .link-app img {
        display: block;
        width: auto;
        height: 33px;
        max-width: 29vw;
        object-fit: contain;
    }

    .footer .download-app .badge-soon {
        top: -7px;
        font-size: 8.5px;
        padding: 0 6px;
    }

    .footer .download-app .btn-play {
        position: static;
        flex: 0 0 35px;
        width: 35px;
        height: 35px;
    }

    .footer .social-link {
        position: static;
        display: block;
        width: 100%;
        margin: 0 auto 4px;
    }

    .footer .social-link ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 8px;
        width: min(100%, 360px);
        margin: 0 auto;
    }

    .footer .social-link ul > li {
        display: grid;
        flex: 0 0 18px;
        place-items: center;
    }

    .footer .social-link a {
        display: grid;
        width: 18px;
        height: 22px;
        place-items: center;
    }

    .footer .social-link a img {
        display: block;
        width: 16px;
        height: 16px;
        object-fit: contain;
    }
}

/* Short portrait screens need the three scene links in one clear row. */
@media (max-height: 680px) and (max-width: 768px) and (orientation: portrait) {
    .btn-card-1,
    .btn-card-2,
    .btn-card-3 {
        top: 300px;
        bottom: auto;
        width: 30%;
        max-width: 90px;
        align-items: center;
    }

    .btn-card-1 {
        left: 3%;
        right: auto;
    }

    .btn-card-2 {
        left: 35%;
    }

    .btn-card-3 {
        left: 67%;
        transform: none;
    }

    .btn-card label {
        font-size: 11px;
        line-height: 1.2;
    }
}

/* Compact landscape phones place the scene shortcuts below the main controls. */
@media (max-width: 768px) and (orientation: landscape) {
    .all-content {
        padding-top: 10px;
    }

    .center-content {
        display: block;
        top: 0;
        width: min(72vw, 540px);
        margin-inline: auto;
    }

    .center-content .logo {
        display: none;
    }

    .center-content h1 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .center-content p {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 6px;
        font-size: 12px;
        line-height: 1.25;
    }

    .aboutus-links {
        gap: 6px 10px;
        margin-bottom: 6px;
    }

    .aboutus-links li a {
        font-size: 13px;
    }

    .apps {
        margin-bottom: 0;
    }

    .apps-tabs {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .download-app {
        margin-bottom: 4px;
    }

    .link-app img,
    .icon-apps img {
        height: 28px;
    }

    .tabs {
        width: 250px;
        margin-bottom: 4px;
    }

    .switch-bg {
        margin-bottom: 0;
    }

    .switch-bg svg {
        width: 170px;
    }

    .btn-card-1,
    .btn-card-2,
    .btn-card-3 {
        top: clamp(185px, calc(100vh - 130px), 245px);
        bottom: auto;
        width: 25%;
        max-width: 100px;
        align-items: center;
        z-index: 9;
    }

    .btn-card-1 {
        left: 8%;
        right: auto;
    }

    .btn-card-2 {
        left: 38%;
    }

    .btn-card-3 {
        left: 68%;
        transform: none;
    }

    .btn-card .btn {
        width: 25px;
        height: 25px;
    }

    .btn-card label {
        font-size: 11px;
        line-height: 1.1;
        text-align: center;
    }
}

/* Put the three scene shortcuts below the taller phone controls. */
@media (min-width: 361px) and (max-width: 599px) and (min-height: 681px) and (orientation: portrait) {
    .btn-card-1,
    .btn-card-2,
    .btn-card-3 {
        top: clamp(412px, calc(100vh - 420px), 450px);
        bottom: auto;
        width: 30%;
        max-width: 115px;
        align-items: center;
    }

    .btn-card-1 {
        left: 3%;
        right: auto;
    }

    .btn-card-2 {
        left: 35%;
    }

    .btn-card-3 {
        left: 67%;
        transform: none;
    }

    .btn-card .btn {
        width: 32px;
        height: 32px;
    }

    .btn-card label {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.25;
    }
}

/* Tablet portrait controls need extra room before the floating scene links. */
@media (min-width: 600px) and (max-width: 768px) and (orientation: portrait) {
    .btn-card-1,
    .btn-card-2,
    .btn-card-3 {
        top: clamp(470px, 50vh, 560px);
        bottom: auto;
        width: 28%;
        max-width: 120px;
        align-items: center;
    }

    .btn-card-1 {
        left: 4%;
        right: auto;
    }

    .btn-card-2 {
        left: 36%;
    }

    .btn-card-3 {
        left: 68%;
        transform: none;
    }

    .btn-card .btn {
        width: 34px;
        height: 34px;
    }

    .btn-card label {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.25;
        text-align: center;
    }
}

/* Compact landscape screens need a scrollable flow so controls never collide. */
@media screen and (max-width: 1280px) and (max-height: 600px) and (orientation: landscape),
       screen and (pointer: coarse) and (max-width: 1280px) and (max-height: 900px) and (orientation: landscape) {
    html,
    body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #main-content {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-content: start;
        column-gap: 4px;
        row-gap: 8px;
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #main-content > .all-content {
        position: relative;
        grid-column: 1 / -1;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 34px 10px 0;
        overflow: visible;
    }

    #main-content > .hide-item:not(.all-content):not(.btn-card):not(.footer):not(#scene-cards),
    #main-content > .image-area {
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
    }

    #main-content > .image-area {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100svh;
        z-index: 0;
    }

    #main-content > #scene-cards {
        position: fixed;
        inset: 0;
        width: auto;
        height: auto;
        overflow: visible;
        pointer-events: none;
        z-index: 25;
    }

    #scene-cards > .card {
        pointer-events: auto;
    }

    .all-content > .logo-xl {
        top: 8px;
        right: 10px;
    }

    .all-content > .logo-xl img {
        width: 82px;
    }

    .all-content > .social-link {
        top: 8px;
        left: 10px;
        right: 100px;
        width: auto;
        max-width: calc(100% - 112px);
    }

    .all-content > .social-link ul {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 5px 7px;
        width: 100% !important;
        max-width: none;
    }

    .all-content > .social-link a {
        display: grid;
        width: 17px;
        height: 18px;
        place-items: center;
    }

    .all-content > .social-link a img {
        display: block;
        width: 16px;
        height: 16px;
        object-fit: contain;
    }

    .center-content {
        display: block;
        position: relative;
        top: 0;
        width: min(96vw, 620px);
        margin: 0 auto;
        text-align: center;
    }

    .center-content h1 {
        margin: 0 0 2px;
        font-size: 16px;
        line-height: 1.2;
    }

    .center-content p {
        width: auto;
        max-width: 100%;
        margin: 0 auto 3px;
        padding: 0;
        font-size: 11px;
        line-height: 1.25;
    }

    .aboutus-links {
        width: 100%;
        justify-content: center;
        gap: 3px 10px;
        margin: 0 auto 4px;
        padding: 0;
    }

    .aboutus-links li a {
        font-size: 11px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .center-content .apps {
        display: flex;
        width: 100%;
        justify-content: center;
        margin: 0 auto;
    }

    .apps-tabs {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        grid-template-areas: "play download" "controls controls";
        align-items: center;
        gap: 4px 8px;
        width: 100%;
        max-width: 620px;
        min-width: 0;
    }

    .apps-tabs > .btn-play {
        grid-area: play;
        position: static;
        width: 26px;
        height: 26px;
        margin: 0;
    }

    .apps-tabs > .download-app {
        grid-area: download;
        justify-content: flex-start;
        margin: 0;
    }

    .apps-tabs > .main-tabs {
        grid-area: controls;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .download-app {
        justify-content: center;
        align-items: center;
        gap: 4px;
        margin-bottom: 4px;
    }

    .link-app img,
    .icon-apps img {
        width: auto;
        height: 23px;
    }

    .main-tabs,
    .tabs {
        width: min(100%, 280px);
        min-width: 0;
        margin: 0;
    }

    .main-tabs > .tabs {
        display: flex;
        flex: 0 1 190px;
        align-items: center;
        gap: 3px;
    }

    .tabs .div-tabs-mob {
        flex: 1 1 auto;
        min-width: 0;
    }

    .tabs .btn-hide.for-mob {
        position: static;
        flex: 0 0 25px;
        width: 25px;
        height: 22px;
        margin: 0;
    }

    .tabs .btn-hide.for-mob svg {
        width: 25px;
        height: auto;
    }

    .tabs .div-tabs-mob {
        width: 100%;
    }

    .tabs .nav-link {
        flex: 1 1 auto;
        min-width: 0;
        padding: 3px 2px;
        font-size: 12px;
        text-align: center;
    }

    .switch-bg {
        display: flex;
        align-items: center;
        flex: 1 1 0;
        gap: 4px;
        width: auto;
        min-width: 0;
        margin: 0;
    }

    .switch-bg .bar-bg {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .switch-bg svg {
        display: block;
        width: 100%;
        height: auto;
    }

    .switch-bg .btn {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
    }

    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 0 4px;
        align-items: center;
        justify-self: stretch;
        transform: none;
        z-index: 9;
    }

    #main-content > .btn-card-1 { grid-column: 1; }
    #main-content > .btn-card-2 { grid-column: 2; }
    #main-content > .btn-card-3 { grid-column: 3; }

    .overlay-landscape .btn-close {
        position: fixed;
        top: 8px;
        right: 10px;
        bottom: auto;
        left: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin: 0;
        z-index: 30;
    }

    .overlay-landscape .btn-close label {
        margin: 0;
        font-size: 10px;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        width: 26px;
        height: 26px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        max-width: 100%;
        margin-top: 1px;
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
    }

    #main-content > .footer {
        position: relative;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 2px 10px 2px;
        bottom: auto;
    }

    .footer .download-app,
    .footer .social-link {
        display: none !important;
    }

    .footer .copyright {
        float: none;
        align-self: center;
        margin: 0;
    }

    .footer .copyright label {
        font-size: 9px;
        line-height: 1.15;
    }

    .footer .online-presence {
        position: static;
        float: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        align-self: center;
        width: auto;
        margin: 0;
    }

    .footer .online-presence__row {
        width: auto;
        gap: 4px;
    }

    .footer .online-presence__count {
        font-size: 11px;
    }

    .footer .online-presence__label {
        font-size: 8px;
    }
}

/* Keep the scene shortcuts in one recognizable triangle at every viewport. */
#main-content > .btn-card-1,
#main-content > .btn-card-2,
#main-content > .btn-card-3 {
    position: fixed !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: calc(50vw - 16px) !important;
    margin: 0 !important;
    align-items: center;
    z-index: 12;
}

#main-content > .btn-card-1 {
    top: clamp(115px, 15vh, 180px) !important;
    right: clamp(24px, 8vw, 150px) !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
}

#main-content > .btn-card-2 {
    top: clamp(300px, 47vh, 560px) !important;
    right: auto !important;
    bottom: auto !important;
    left: clamp(24px, 16vw, 290px) !important;
    transform: none !important;
}

#main-content > .btn-card-3 {
    top: clamp(520px, 73vh, 820px) !important;
    right: auto !important;
    bottom: auto !important;
    left: 25% !important;
    transform: translateX(-50%) !important;
}

#main-content.scene-modal-open > .btn-card-1,
#main-content.scene-modal-open > .btn-card-2,
#main-content.scene-modal-open > .btn-card-3 {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    animation: none !important;
}

#main-content > .btn-card-1 .btn,
#main-content > .btn-card-2 .btn,
#main-content > .btn-card-3 .btn {
    display: flex;
    flex: 0 0 32px;
    width: 32px !important;
    height: 32px !important;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#main-content > .btn-card-1 .btn img,
#main-content > .btn-card-2 .btn img,
#main-content > .btn-card-3 .btn img {
    display: block;
    width: 15px;
    height: 15px;
    object-fit: contain;
}

#main-content > .btn-card-1 label,
#main-content > .btn-card-2 label,
#main-content > .btn-card-3 label {
    max-width: 100%;
    margin-top: 4px;
    font-size: 12px !important;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

/* Medium landscape screens have a low free band below the homepage controls. */
@media (min-width: 769px) and (max-width: 1024px) and (min-height: 501px) and (max-height: 720px) and (orientation: landscape) {
    #main-content > .btn-card-1 {
        top: clamp(370px, calc(100vh - 240px), 430px) !important;
        right: 6vw !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(370px, 100vh - 240px, 430px) + clamp(48px, 8vh, 58px)) !important;
        left: 6vw !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(370px, 100vh - 240px, 430px) + clamp(48px, 8vh, 58px) + clamp(48px, 8vh, 58px)) !important;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: 28px;
        width: 28px !important;
        height: 28px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 14px;
        height: 14px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 2px;
        font-size: 10px !important;
    }
}

/* Phones: place all three markers below the controls, following the reference triangle. */
@media (max-width: 599px) and (min-width: 361px) and (min-height: 681px) and (orientation: portrait) {
    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        top: clamp(294px, calc(100vh - 386px), 384px) !important;
    }

    #main-content > .btn-card-1 {
        right: 4% !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(294px, 100vh - 386px, 384px) + clamp(60px, 8.4vh, 66px)) !important;
        left: 3% !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(294px, 100vh - 386px, 384px) + clamp(60px, 8.4vh, 66px) + clamp(60px, 8.4vh, 66px)) !important;
    }
}

/* Very short phones have less room before the footer, so use compact markers there. */
@media (max-width: 768px) and (max-height: 680px) and (orientation: portrait) {
    #main-content > .btn-card-1 {
        top: clamp(220px, calc(100vh - 346px), 300px) !important;
    }

    #main-content > .btn-card-1 {
        right: 4% !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(220px, 100vh - 346px, 300px) + clamp(48px, 7.5vh, 52px)) !important;
        left: 3% !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(220px, 100vh - 346px, 300px) + clamp(48px, 7.5vh, 52px) + clamp(48px, 7.5vh, 52px)) !important;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: 24px;
        width: 24px !important;
        height: 24px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 12px;
        height: 12px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 2px;
        font-size: 9px !important;
    }
}

@media (max-width: 360px) and (min-height: 681px) and (orientation: portrait) {
    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        top: clamp(310px, calc(100vh - 400px), 420px) !important;
    }

    #main-content > .btn-card-1 {
        right: 4% !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(310px, 100vh - 400px, 420px) + clamp(48px, 7.5vh, 58px)) !important;
        left: 3% !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(310px, 100vh - 400px, 420px) + clamp(48px, 7.5vh, 58px) + clamp(48px, 7.5vh, 58px)) !important;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: 24px;
        width: 24px !important;
        height: 24px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 12px;
        height: 12px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 2px;
        font-size: 9px !important;
    }
}

@media (min-width: 361px) and (max-width: 599px) and (min-height: 681px) and (max-height: 720px) and (orientation: portrait) {
    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: 24px;
        width: 24px !important;
        height: 24px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 12px;
        height: 12px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 2px;
        font-size: 9px !important;
    }
}

@media (min-width: 361px) and (max-width: 599px) and (min-height: 721px) and (orientation: portrait) {
    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: clamp(28px, 8vw, 32px);
        width: clamp(28px, 8vw, 32px) !important;
        height: clamp(28px, 8vw, 32px) !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: clamp(12px, 4vw, 15px);
        height: clamp(12px, 4vw, 15px);
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        font-size: clamp(10px, 3vw, 12px) !important;
    }
}

/* Larger portrait tablets keep the controls below the main content and above the footer. */
@media (min-width: 600px) and (max-width: 1024px) and (min-height: 681px) and (orientation: portrait) {
    #main-content > .btn-card-1 {
        top: clamp(356px, calc(45vh - 4px), 496px) !important;
        right: 5% !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(356px, 45vh - 4px, 496px) + clamp(51px, 6.3vh, 64px)) !important;
        left: 4% !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(356px, 45vh - 4px, 496px) + clamp(51px, 6.3vh, 64px) + clamp(51px, 6.3vh, 64px)) !important;
    }
}

@media (min-width: 600px) and (max-width: 1024px) and (min-height: 681px) and (max-height: 720px) and (orientation: portrait) {
    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: 26px;
        width: 26px !important;
        height: 26px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 13px;
        height: 13px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 2px;
        font-size: 10px !important;
    }
}

/* Short landscape uses the existing three-column row, with a visible vertical order. */
@media (max-width: 1280px) and (max-height: 600px) and (orientation: landscape),
       (pointer: coarse) and (max-width: 1280px) and (max-height: 900px) and (orientation: landscape) {
    #main-content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: clamp(8px, 2vh, 12px);
    }

    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: max-content !important;
        max-width: calc(100vw - 16px) !important;
        margin: 0 !important;
        justify-self: center;
        transform: none !important;
    }

    #main-content > .btn-card-1 { grid-column: 1; grid-row: 2; }
    #main-content > .btn-card-2 { grid-column: 4; grid-row: 3; }
    #main-content > .btn-card-3 { grid-column: 1 / -1; grid-row: 4; max-width: 120px !important; justify-self: start; margin-right: calc(75vw - 12px) !important; }

    #main-content > .footer { grid-row: 5; }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: 22px;
        width: 22px !important;
        height: 22px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 11px;
        height: 11px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 2px;
        font-size: 8px !important;
    }
}

/* Desktop-mode browsers on touch screens use a wide CSS viewport. Keep the
   familiar landscape flow while scaling its header to the physical screen. */
@media screen and (pointer: coarse) and (min-width: 933px) and (max-width: 1280px)
       and (max-height: 900px) and (orientation: landscape) {
    #main-content > .all-content {
        padding: clamp(70px, 9vh, 80px) clamp(18px, 3vw, 36px) 0;
    }

    .all-content > .logo-xl {
        top: 12px;
        right: clamp(14px, 2vw, 24px);
    }

    .all-content > .logo-xl img {
        width: clamp(110px, 12vw, 140px);
    }

    .all-content > .social-link {
        top: 12px;
        left: clamp(14px, 2vw, 24px);
        right: auto;
        width: max-content;
        max-width: calc(100% - clamp(180px, 20vw, 220px));
    }

    .all-content > .social-link ul {
        justify-content: flex-end;
        flex-wrap: nowrap !important;
        gap: clamp(6px, 1vw, 10px);
        width: max-content !important;
        max-width: 100%;
    }

    .all-content > .social-link a {
        flex: 0 0 clamp(18px, 2vw, 22px);
        width: clamp(18px, 2vw, 22px);
        height: clamp(18px, 2vw, 22px);
    }

    .all-content > .social-link a img {
        width: clamp(17px, 1.8vw, 20px);
        height: clamp(17px, 1.8vw, 20px);
    }

    .center-content {
        width: min(84vw, 820px);
        max-width: calc(100vw - 36px);
        margin-inline: auto;
    }

    .center-content h1 {
        margin-bottom: 5px;
        font-size: clamp(20px, 2.4vw, 26px);
        line-height: 1.25;
    }

    .center-content p {
        width: 100%;
        max-width: 780px;
        margin: 0 auto 8px;
        font-size: clamp(14px, 1.65vw, 18px);
        line-height: 1.35;
    }

    .aboutus-links {
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(12px, 2vw, 22px);
        margin: 0 auto 8px;
    }

    .aboutus-links li {
        flex: 0 0 auto;
    }

    .aboutus-links li a {
        font-size: clamp(14px, 1.75vw, 18px);
        line-height: 1.3;
        white-space: nowrap;
    }

    .download-app {
        gap: clamp(6px, 1vw, 10px);
        margin-bottom: 4px;
    }

    .link-app img,
    .icon-apps img {
        height: clamp(30px, 4vh, 38px);
    }

    .apps-tabs {
        max-width: 600px;
    }

    .tabs .nav-link {
        padding: 5px 3px;
        font-size: clamp(13px, 1.5vw, 16px);
    }

    .switch-bg .btn {
        flex: 0 0 26px;
        width: 26px !important;
        height: 26px !important;
        aspect-ratio: 1;
        padding: 0;
        border-radius: 50%;
    }
}

/* Standard close controls: match the story video's 32px round close button. */
#video-overlay .btn-close,
#story-video-overlay .btn-close,
#cancelButton,
.custom-modal .custom-modal-close,
.overlay-landscape .btn-close {
    position: fixed !important;
    top: 25px !important;
    right: 25px !important;
    bottom: auto !important;
    left: auto !important;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    gap: 5px !important;
    margin: 0 !important;
}

#video-overlay .btn-close { z-index: 10000; }
#story-video-overlay .btn-close { z-index: 10002; }
#cancelButton { z-index: 20; }
.custom-modal .custom-modal-close { z-index: 10002; }
.overlay-landscape .btn-close { z-index: 50; }

.custom-modal .custom-modal-close > .mod-close:not(.btn-download) {
    gap: 5px;
}

#slider-cv .custom-modal-close,
#slider-id .custom-modal-close {
    flex-direction: row !important;
    gap: 15px !important;
}

#video-overlay .btn-close .btn,
#story-video-overlay .btn-close .btn,
#cancelButton .btn,
.custom-modal .custom-modal-close > .mod-close:not(.btn-download) .btn,
.custom-modal .custom-modal-close > .btn,
.overlay-landscape .btn-close .btn {
    display: flex;
    flex: 0 0 32px;
    width: 32px !important;
    min-width: 32px;
    height: 32px !important;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

#video-overlay .btn-close img,
#story-video-overlay .btn-close img,
#cancelButton img,
.custom-modal .custom-modal-close > .mod-close:not(.btn-download) img,
.custom-modal .custom-modal-close > .btn img,
.overlay-landscape .btn-close img {
    display: block;
    width: 13px !important;
    height: 13px !important;
    object-fit: contain;
}

#video-overlay .btn-close label,
#story-video-overlay .btn-close label,
#cancelButton label,
.custom-modal .custom-modal-close > .mod-close:not(.btn-download) label,
.custom-modal .custom-modal-close > label,
.overlay-landscape .btn-close label {
    margin: 0 !important;
    color: #fff;
    font-size: 12px !important;
    line-height: 15px;
    font-weight: 400;
    text-align: center;
    text-decoration: underline;
    white-space: nowrap;
}

@media (min-width: 1025px) {
    #main-content.scene-modal-open > .btn-card.is-open {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    #main-content.scene-modal-open > .btn-card.is-open label {
        display: none !important;
    }
}

.video-sound-toggle {
    position: fixed !important;
    right: clamp(20px, 5vw, 64px) !important;
    bottom: clamp(22px, 6vh, 58px) !important;
    top: auto !important;
    left: auto !important;
    z-index: 10002;
    display: grid;
    place-items: center;
    width: 40px !important;
    height: 40px !important;
    padding: 0;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
    cursor: pointer;
    opacity: .95;
}

@media (max-width: 768px) and (orientation: portrait) {
    #main-content > .footer .download-app {
        display: none !important;
    }

    #main-content > .btn-hide.for-mob {
        position: fixed !important;
        top: auto !important;
        right: auto !important;
        bottom: clamp(174px, 24vh, 210px) !important;
        left: 50% !important;
        z-index: 30;
        display: grid !important;
        width: 30px !important;
        height: 26px !important;
        margin: 0 !important;
        place-items: center;
        transform: translateX(-50%) !important;
    }

    #main-content > .btn-hide.for-mob svg {
        display: block;
        width: 28px !important;
        height: auto;
    }
}

@media screen and (max-width: 932px) and (orientation: landscape),
       screen and (pointer: coarse) and (max-width: 1280px) and (max-height: 900px) and (orientation: landscape) {
    #main-content > .btn-hide.for-mob {
        position: fixed !important;
        top: auto !important;
        right: auto !important;
        bottom: clamp(36px, 8vh, 52px) !important;
        left: 50% !important;
        z-index: 30;
        display: grid !important;
        width: 30px !important;
        height: 26px !important;
        margin: 0 !important;
        place-items: center;
        transform: translateX(-50%) !important;
    }

    #main-content > .btn-hide.for-mob svg {
        display: block;
        width: 28px !important;
        height: auto;
    }
}

#video-overlay .video-sound-toggle { z-index: 10001; }
#story-video-overlay .video-sound-toggle { z-index: 10003; }

/* Keep both video sound controls beside their close controls. */
#video-overlay .btn-close,
#story-video-overlay .btn-close {
    top: max(25px, env(safe-area-inset-top)) !important;
    right: max(25px, env(safe-area-inset-right)) !important;
}
#video-overlay #unmute-button,
#story-video-overlay #story-sound-button {
    top: max(25px, env(safe-area-inset-top)) !important;
    right: calc(max(25px, env(safe-area-inset-right)) + 44px) !important;
    bottom: auto !important;
    width: 32px !important;
    height: 32px !important;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.6);
    background: rgba(255,255,255,.92);
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
    opacity: .95;
}
#video-overlay #unmute-button:hover,
#video-overlay #unmute-button:focus-visible,
#story-video-overlay #story-sound-button:hover,
#story-video-overlay #story-sound-button:focus-visible {
    background: var(--default-clr, #FFCB00);
    opacity: 1;
}

.video-sound-toggle img {
    display: block;
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
}

.video-sound-toggle.is-muted .sound-on-icon,
.video-sound-toggle:not(.is-muted) .sound-off-icon {
    display: none !important;
}

.video-sound-toggle.is-muted .sound-off-icon,
.video-sound-toggle:not(.is-muted) .sound-on-icon {
    display: block !important;
}

.video-sound-toggle:hover,
.video-sound-toggle:focus-visible {
    background: var(--default-clr, #FFCB00);
    opacity: 1;
}

@media (max-width: 768px) {
    .video-sound-toggle {
        right: 20px !important;
        bottom: 24px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .video-sound-toggle img {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Keep the image and background switch directly below the 3D/2D/Skitch tabs
   at every breakpoint, including touch screens using desktop mode. */
#main-content .center-content .main-tabs {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(4px, 1vh, 8px) !important;
    width: min(100%, 430px) !important;
    min-width: 0 !important;
}

#main-content .center-content .main-tabs > .tabs {
    order: 0;
    flex: 0 1 auto !important;
    width: min(100%, 420px) !important;
    min-width: 0 !important;
    margin: 0 !important;
}

#main-content .center-content .main-tabs > .switch-bg {
    order: 1;
    flex: 0 1 auto !important;
    width: min(100%, 350px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto 8px !important;
}

/* Small portrait viewports need a true content flow: the header height changes
   with Arabic wrapping, so fixed marker coordinates collide at 375px and below. */
@media screen and (max-width: 1024px) and (max-height: 760px) and (orientation: portrait) {
    html,
    body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #main-content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: space-between;
        column-gap: 0;
        row-gap: 6px;
        height: auto !important;
        min-height: 100vh;
        min-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #main-content > .all-content {
        position: relative !important;
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    #main-content > .hide-item:not(.all-content):not(.btn-card):not(.footer):not(#scene-cards),
    #main-content > .image-area {
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
    }

    #main-content > .image-area {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100svh;
        z-index: 0;
    }

    #main-content > #scene-cards {
        position: fixed;
        inset: 0;
        width: auto;
        height: auto;
        overflow: visible;
        pointer-events: none;
        z-index: 25;
    }

    #scene-cards > .card {
        pointer-events: auto;
    }

    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: max-content !important;
        max-width: calc(50vw - 12px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        align-self: center;
        transform: none !important;
        z-index: 12;
    }

    /* Body direction is RTL: column 1 is the right half and column 2 is left. */
    #main-content > .btn-card-1 {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        margin-right: clamp(14px, 4vw, 24px) !important;
    }

    #main-content > .btn-card-2 {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        margin-left: clamp(14px, 4vw, 24px) !important;
    }

    #main-content > .btn-card-3 {
        grid-column: 2;
        grid-row: 4;
        justify-self: center;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex: 0 0 clamp(24px, 4vw, 30px);
        width: clamp(24px, 4vw, 30px) !important;
        height: clamp(24px, 4vw, 30px) !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 12px;
        height: 12px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        max-width: 100%;
        margin-top: 2px;
        font-size: clamp(9px, 1.35vw, 11px) !important;
        line-height: 1.15;
        text-align: center;
    }

    #main-content > .btn-hide.for-mob {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        grid-column: 1 / -1;
        grid-row: 5;
        justify-self: center;
        display: grid !important;
        width: 30px !important;
        height: 26px !important;
        margin: 0 !important;
        place-items: center;
        transform: none !important;
        z-index: 30;
    }

    #main-content > .btn-hide.for-mob svg {
        display: block;
        width: 28px !important;
        height: auto;
    }

    #main-content .btn-hide.for-lg {
        display: none !important;
    }

    #main-content > .footer {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        grid-column: 1 / -1;
        grid-row: 6;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "social social" "stats copyright";
        align-items: center;
        gap: 6px 10px;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        margin: 0;
        padding: 4px 12px 8px;
    }

    #main-content > .footer .download-app {
        display: none !important;
    }

    #main-content > .footer .social-link {
        position: static !important;
        grid-area: social;
        display: block !important;
        width: 100%;
        margin: 0;
    }

    #main-content > .footer .social-link ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 8px;
        width: min(100%, 360px);
        margin: 0 auto;
    }

    #main-content > .footer .copyright {
        grid-area: copyright;
        float: none;
        justify-self: start;
        align-self: center;
        min-width: 0;
        margin: 0;
    }

    #main-content > .footer .online-presence {
        position: static !important;
        grid-area: stats;
        float: none;
        display: flex;
        align-items: flex-end;
        justify-self: end;
        width: auto;
        margin: 0;
        padding: 0;
    }

    #main-content > .footer .online-presence__row {
        justify-content: flex-end;
        gap: 4px;
        width: auto;
    }
}

/* Keep the portrait marker triangle below the taller header at normal heights. */
@media (min-width: 361px) and (max-width: 599px) and (min-height: 761px) and (orientation: portrait) {
    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        top: 384px !important;
    }

    #main-content > .btn-card-2 {
        top: calc(384px + clamp(60px, 8.4vh, 66px)) !important;
    }

    #main-content > .btn-card-3 {
        top: calc(384px + clamp(60px, 8.4vh, 66px) + clamp(60px, 8.4vh, 66px)) !important;
    }
}

@media (min-width: 600px) and (max-width: 1024px) and (min-height: 761px) and (orientation: portrait) {
    #main-content > .btn-card-1 {
        top: clamp(460px, calc(45vh - 4px), 496px) !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(460px, 45vh - 4px, 496px) + clamp(51px, 6.3vh, 64px)) !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(460px, 45vh - 4px, 496px) + clamp(51px, 6.3vh, 64px) + clamp(51px, 6.3vh, 64px)) !important;
    }
}

/* Medium landscape tablets keep their markers in the free band below the controls. */
@media (min-width: 769px) and (max-width: 1024px) and (min-height: 601px) and (max-height: 720px) and (orientation: landscape) {
    #main-content > .btn-card-1 {
        top: clamp(380px, calc(100vh - 240px), 430px) !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(380px, 100vh - 240px, 430px) + clamp(48px, 8vh, 58px)) !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(380px, 100vh - 240px, 430px) + clamp(48px, 8vh, 58px) + clamp(48px, 8vh, 58px)) !important;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) and (min-height: 601px) and (max-height: 760px) and (orientation: landscape) {
    #main-content > .btn-card-1 {
        top: clamp(380px, calc(100vh - 240px), 430px) !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(380px, 100vh - 240px, 430px) + clamp(48px, 8vh, 58px)) !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(380px, 100vh - 240px, 430px) + clamp(48px, 8vh, 58px) + clamp(48px, 8vh, 58px)) !important;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: 28px;
        width: 28px !important;
        height: 28px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 14px;
        height: 14px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 2px;
        font-size: 10px !important;
    }
}

@media (max-width: 768px) and (min-height: 601px) and (max-height: 800px) and (orientation: landscape) {
    #main-content > .btn-card-1 {
        top: clamp(350px, 48vh, 390px) !important;
    }

    #main-content > .btn-card-2 {
        top: calc(clamp(350px, 48vh, 390px) + clamp(48px, 7vh, 56px)) !important;
    }

    #main-content > .btn-card-3 {
        top: calc(clamp(350px, 48vh, 390px) + clamp(48px, 7vh, 56px) + clamp(48px, 7vh, 56px)) !important;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex-basis: 28px;
        width: 28px !important;
        height: 28px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 14px;
        height: 14px;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 2px;
        font-size: 10px !important;
    }
}

/* Keep the landscape homepage controls centered in RTL layouts on phones. */
@media screen and (max-width: 1280px) and (max-height: 900px) and (orientation: landscape) {
    #main-content .center-content {
        margin-inline: auto !important;
    }

    #main-content .center-content .apps {
        justify-content: center !important;
        width: 100%;
        margin-inline: auto !important;
    }

    #main-content .center-content .apps-tabs {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) max-content max-content minmax(0, 1fr);
        grid-template-areas: ". play download ." "controls controls controls controls";
        justify-content: stretch;
        justify-items: center;
        align-items: center;
        column-gap: clamp(6px, 1vw, 10px);
        row-gap: 4px;
        width: min(100%, 620px);
        max-width: 100%;
        margin-inline: auto;
    }

    #main-content .center-content .apps-tabs > .btn-play {
        grid-area: play;
        position: static !important;
        justify-self: center;
        align-self: center;
        margin: 0;
    }

    #main-content .center-content .apps-tabs > .download-app {
        grid-area: download;
        justify-self: center;
        width: max-content;
        max-width: calc(100vw - 40px);
        justify-content: center !important;
        margin: 0;
    }

    #main-content .center-content .apps-tabs > .main-tabs {
        grid-area: controls;
        justify-self: center !important;
        align-self: center !important;
        width: min(calc(100vw - 32px), 430px) !important;
        margin-inline: auto !important;
    }
}

/* Scene markers stay steady after a card closes; only the initial entrance may animate. */
#main-content > .btn-card-1.animate__infinite,
#main-content > .btn-card-2.animate__infinite,
#main-content > .btn-card-3.animate__infinite,
#main-content > .btn-card-1.infinite-pulse,
#main-content > .btn-card-2.infinite-pulse,
#main-content > .btn-card-3.infinite-pulse {
    animation: none !important;
}

/* Landscape phones and tablets use the full viewport without an extra page scrollbar. */
@media screen and (max-width: 1280px) and (max-height: 900px) and (orientation: landscape) {
    html,
    body {
        height: 100%;
        overflow: hidden !important;
    }

    #main-content {
        height: 100vh !important;
        height: 100svh !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
}

/* Touch browsers using a desktop-width viewport need fixed scene markers so
   the page's grid cannot push them below the visible landscape area. */
@media screen and (pointer: coarse) and (min-width: 1100px) and (max-width: 1280px)
       and (max-height: 900px) and (orientation: landscape) {
    #main-content {
        display: block !important;
    }

    #main-content > .all-content {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        margin: 0;
    }

    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        position: fixed !important;
        width: max-content !important;
        max-width: calc(50vw - 16px) !important;
        margin: 0 !important;
        transform: none !important;
        align-items: center;
    }

    #main-content > .btn-card-1 {
        top: clamp(315px, 45vh, 360px) !important;
        right: clamp(28px, 6vw, 80px) !important;
        left: auto !important;
    }

    #main-content > .btn-card-2 {
        top: clamp(390px, 58vh, 450px) !important;
        left: clamp(28px, 7vw, 90px) !important;
        right: auto !important;
    }

    #main-content > .btn-card-3 {
        top: clamp(470px, 70vh, 560px) !important;
        left: clamp(180px, 28vw, 360px) !important;
        right: auto !important;
    }

    #main-content > .footer {
        position: fixed !important;
        right: 0 !important;
        bottom: 10px !important;
        left: 0 !important;
        width: 100% !important;
        padding-inline: clamp(18px, 3vw, 36px) !important;
        z-index: 15;
    }
}

/* The two responsive fullscreen controls are alternatives; only the active
   one remains visible while the home scene is collapsed. */
.btn-hide.for-lg,
.btn-hide.for-mob {
    animation: none !important;
    transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

@media screen and (max-width: 1024px) {
    #main-content .btn-hide.for-lg {
        display: none !important;
    }

    #main-content > .btn-hide.for-mob {
        display: grid !important;
    }
}

/* Scale the home composition on very large desktop displays while preserving
   the same centered hierarchy and spacing used on standard desktop screens. */
@media screen and (min-width: 1920px) and (min-height: 1000px) and (orientation: landscape) {
    .all-content > .logo-xl {
        top: clamp(78px, 5.8vh, 96px) !important;
        right: clamp(76px, 4.2vw, 124px) !important;
    }

    .all-content > .logo-xl img {
        width: clamp(154px, 6.2vw, 176px) !important;
        height: auto !important;
    }

    .all-content > .social-link {
        top: clamp(88px, 6.4vh, 104px) !important;
        left: clamp(76px, 4.2vw, 124px) !important;
    }

    .all-content > .social-link ul {
        gap: clamp(16px, 0.72vw, 21px) !important;
    }

    .all-content > .social-link a img {
        width: clamp(22px, 0.98vw, 26px) !important;
        height: clamp(22px, 0.98vw, 26px) !important;
        object-fit: contain;
    }

    #main-content .center-content {
        top: clamp(82px, 6vh, 104px) !important;
        width: min(48vw, 1280px) !important;
    }

    #main-content .center-content h1 {
        font-size: clamp(40px, 1.65vw, 46px) !important;
        line-height: 1.35;
        margin-bottom: 20px !important;
    }

    #main-content .center-content > p {
        font-size: clamp(26px, 1.05vw, 30px) !important;
        line-height: 1.55;
        margin-bottom: 30px !important;
    }

    #main-content .center-content .aboutus-links {
        gap: clamp(30px, 1.25vw, 38px) !important;
        margin-bottom: clamp(28px, 2vh, 36px) !important;
    }

    #main-content .center-content .aboutus-links li a {
        font-size: clamp(24px, 1.05vw, 28px) !important;
    }

    #main-content .center-content .apps {
        gap: clamp(22px, 1.2vw, 32px) !important;
    }

    #main-content .center-content .apps-tabs {
        width: min(100%, 680px) !important;
    }

    #main-content .center-content .apps-tabs > .download-app {
        gap: 14px !important;
        margin-bottom: 20px !important;
    }

    #main-content .center-content .apps-tabs > .download-app .icon-apps img {
        width: 64px !important;
        height: 64px !important;
        object-fit: contain;
    }

    #main-content .center-content .apps-tabs > .download-app .link-app img {
        width: auto !important;
        height: 64px !important;
        max-width: 220px;
        object-fit: contain;
    }

    #main-content .center-content .apps-tabs > .btn-play {
        width: 48px !important;
        height: 48px !important;
    }

    #main-content .center-content .apps-tabs > .btn-play img {
        width: 20px !important;
        height: 20px !important;
    }

    #main-content .center-content .main-tabs {
        width: min(100%, 620px) !important;
        gap: 10px !important;
    }

    #main-content .center-content .main-tabs > .tabs {
        width: min(100%, 580px) !important;
    }

    #main-content .center-content .main-tabs > .tabs .nav-link {
        padding: 14px 12px !important;
        font-size: 26px !important;
    }

    #main-content .center-content .main-tabs > .switch-bg {
        width: min(100%, 520px) !important;
        margin-bottom: 12px !important;
    }

    #main-content .center-content .main-tabs > .switch-bg .btn {
        flex: 0 0 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
    }

    #main-content .center-content .main-tabs > .switch-bg .btn img {
        width: 19px !important;
        height: 19px !important;
    }

    #main-content .center-content .main-tabs > .switch-bg svg {
        width: min(420px, calc(100% - 96px)) !important;
        height: auto !important;
    }

    #main-content .center-content .btn-hide.for-lg {
        width: 52px !important;
        height: 42px !important;
        margin-top: 4px !important;
    }

    #main-content .center-content .btn-hide.for-lg svg {
        width: 48px !important;
        height: auto !important;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 19px !important;
        height: 19px !important;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 8px !important;
        font-size: 16px !important;
        line-height: 1.25;
    }

    #main-content > .footer {
        bottom: clamp(50px, 5.5vh, 82px) !important;
        padding-inline: clamp(80px, 4.7vw, 132px) !important;
    }

    #main-content > .footer .copyright label,
    #main-content > .footer .online-presence__label {
        font-size: 17px !important;
    }

    #main-content > .footer .online-presence__count {
        font-size: 30px !important;
    }
}

/* When store URLs are configured in the homepage editor, the script enables
   their links. Until then, hide each unavailable store badge on every device. */
.app-btn-wrap:has(> .link-app.link-app-disabled) {
    display: none !important;
}

#main-content .apps-tabs.has-no-store-links > .btn-play {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    display: flex !important;
    margin: 0 auto clamp(8px, 1.2vh, 14px) !important;
}

@media screen and (min-width: 1025px) {
    #main-content > .btn-hide.for-mob {
        display: none !important;
    }
}

.btn-hide.is-hidden {
    display: none !important;
}

#main-content .hide-item.animate__animated.animate__fadeIn,
#main-content .hide-item.animate__animated.animate__fadeOut {
    --animate-duration: 220ms;
    animation-duration: 220ms !important;
}

/* Standardize mobile portrait app buttons: keep them cleanly integrated
   above the 3D/2D/Skitch tabs, without overcrowding the footer. */
@media screen and (max-width: 1024px) and (orientation: portrait) {
    #main-content .center-content .apps-tabs > .download-app {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: clamp(6px, 1.8vw, 10px) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto clamp(6px, 1.2vh, 12px) !important;
        padding: 0 !important;
    }

    #main-content .center-content .apps-tabs > .download-app .icon-apps {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    #main-content .center-content .apps-tabs > .download-app .icon-apps img {
        display: block;
        width: auto !important;
        height: clamp(26px, 3.8vh, 34px) !important;
        object-fit: contain;
    }

    #main-content .center-content .apps-tabs > .download-app .app-btn-wrap {
        display: inline-flex !important;
        position: relative !important;
        align-items: center;
        justify-content: center;
    }

    #main-content .center-content .apps-tabs > .download-app .link-app img {
        display: block;
        width: auto !important;
        height: clamp(26px, 3.8vh, 34px) !important;
        max-width: clamp(105px, 28vw, 135px) !important;
        object-fit: contain;
    }

    #main-content .center-content .apps-tabs > .download-app .badge-soon {
        top: -7px !important;
        font-size: 8.5px !important;
        padding: 1px 6px !important;
        line-height: 1.3 !important;
    }

    /* Never duplicate download buttons in footer on mobile portrait. */
    #main-content > .footer .download-app {
        display: none !important;
    }
}

#slider-cv .custom-modal-close .btn-download,
#slider-id .custom-modal-close .btn-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

#slider-cv .custom-modal-close .btn-download .btn,
#slider-id .custom-modal-close .btn-download .btn {
    display: flex;
    flex: 0 0 32px;
    width: 32px !important;
    min-width: 32px;
    height: 32px !important;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

#slider-cv .custom-modal-close .btn-download .btn img,
#slider-id .custom-modal-close .btn-download .btn img {
    display: block;
    width: 13px !important;
    height: 13px !important;
    object-fit: contain;
}

#slider-cv .custom-modal-close .btn-download label,
#slider-id .custom-modal-close .btn-download label {
    margin: 0 !important;
    color: #fff;
    font-size: 12px !important;
    line-height: 15px;
    font-weight: 400;
    text-align: center;
    text-decoration: underline;
    white-space: nowrap;
}

#slider-cv .custom-modal-close .btn-download .btn[aria-disabled="true"],
#slider-id .custom-modal-close .btn-download .btn[aria-disabled="true"] {
    opacity: 0.48;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

#slider-cv .custom-modal-close .btn-download label,
#slider-id .custom-modal-close .btn-download label {
    font-size: 11px !important;
    text-decoration: none;
    opacity: 0.82;
}

/* Keep the portrait-tablet fullscreen toggle compact and centered above the
   footer instead of letting its link fill the row. */
@media screen and (min-width: 769px) and (max-width: 1024px)
       and (min-height: 761px) and (orientation: portrait) {
    #main-content > .btn-hide.for-mob {
        position: fixed !important;
        top: auto !important;
        right: auto !important;
        bottom: clamp(120px, 14vh, 180px) !important;
        left: 50% !important;
        display: grid !important;
        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        height: 26px !important;
        margin: 0 !important;
        padding: 0 !important;
        place-items: center;
        transform: translateX(-50%) !important;
        z-index: 30;
    }

    #main-content > .btn-hide.for-mob svg {
        display: block;
        width: 28px !important;
        height: auto;
        object-fit: contain;
    }
}

/* The 300px-high landscape viewport has room for the controls only when the
   scene markers use two clear levels below the ruler. */
@media screen and (max-width: 768px) and (max-height: 320px)
       and (orientation: landscape) {
    #main-content {
        height: 100vh !important;
        height: 100svh !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    #main-content .center-content .apps-tabs {
        row-gap: 2px !important;
    }

    #main-content .center-content .apps-tabs > .download-app {
        margin-bottom: 0 !important;
    }

    #main-content .center-content .apps-tabs > .download-app .icon-apps img,
    #main-content .center-content .apps-tabs > .download-app .link-app img {
        height: 20px !important;
    }

    #main-content .center-content .main-tabs {
        gap: 2px !important;
    }

    #main-content .center-content .switch-bg {
        margin: 0 auto !important;
    }

    #main-content .center-content .switch-bg .btn {
        flex-basis: 20px !important;
        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
        border-radius: 50% !important;
    }

    #main-content .center-content .switch-bg .bar-bg,
    #main-content .center-content .switch-bg svg {
        max-height: 18px;
    }

    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        position: fixed !important;
        bottom: auto !important;
        width: max-content !important;
        max-width: calc(50vw - 20px) !important;
        margin: 0 !important;
        align-items: center;
        transform: none !important;
        z-index: 25;
    }

    #main-content > .btn-card-1 {
        top: max(176px, calc(100svh - 108px)) !important;
        right: clamp(10px, 5vw, 24px) !important;
        left: auto !important;
    }

    #main-content > .btn-card-2 {
        top: max(188px, calc(100svh - 84px)) !important;
        right: auto !important;
        left: clamp(10px, 5vw, 24px) !important;
    }

    #main-content > .btn-card-3 {
        top: calc(100svh - 64px) !important;
        right: auto !important;
        left: 25vw !important;
        transform: translateX(-50%) !important;
    }

    #main-content > .btn-card-1 .btn,
    #main-content > .btn-card-2 .btn,
    #main-content > .btn-card-3 .btn {
        flex: 0 0 20px !important;
        width: 20px !important;
        height: 20px !important;
    }

    #main-content > .btn-card-1 .btn img,
    #main-content > .btn-card-2 .btn img,
    #main-content > .btn-card-3 .btn img {
        width: 11px !important;
        height: 11px !important;
    }

    #main-content > .btn-card-1 label,
    #main-content > .btn-card-2 label,
    #main-content > .btn-card-3 label {
        margin-top: 1px !important;
        font-size: 8px !important;
        line-height: 1.05 !important;
        white-space: nowrap;
    }

    #main-content > .footer {
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 4px !important;
        width: 100% !important;
        height: 31px !important;
        min-height: 31px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        z-index: 15;
    }
}

/* On touch layouts, keep only the open scene marker as a shared top-right
   close control so the card always has a clear way to close. */
@media screen and (max-width: 1024px) {
    #main-content.scene-modal-open > .btn-card.is-open {
        position: fixed !important;
        top: 25px !important;
        right: 25px !important;
        bottom: auto !important;
        left: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5px !important;
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        margin: 0 !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        animation: none !important;
        z-index: 10003 !important;
    }

    #main-content.scene-modal-open > .btn-card.is-open label {
        display: none !important;
    }

    #main-content.scene-modal-open > .btn-card.is-open .toggle-btn {
        display: flex !important;
        flex: 0 0 32px !important;
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: #fff !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22) !important;
    }

    #main-content.scene-modal-open > .btn-card.is-open .toggle-btn img {
        display: block;
        width: 13px !important;
        height: 13px !important;
        filter: brightness(0) !important;
        rotate: 45deg !important;
    }
}

/* Keep the single fullscreen control outside the content it collapses. */
#main-content > .responsive-fullscreen {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: clamp(44px, 6vh, 72px) !important;
    left: 50% !important;
    display: grid !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center;
    transform: translateX(-50%) !important;
    opacity: .9;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 11px !important;
    background: rgba(184, 207, 225, .22) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
    backdrop-filter: blur(16px) saturate(155%);
    z-index: 60 !important;
    transition: opacity 160ms ease, background-color 160ms ease;
}

#main-content > .responsive-fullscreen svg {
    display: block;
    width: 36px !important;
    height: auto !important;
}

#main-content > .responsive-fullscreen:hover,
#main-content > .responsive-fullscreen:focus-visible {
    opacity: 1;
}

#main-content > .responsive-fullscreen.is-active svg path {
    fill: #FFCB00 !important;
    opacity: 1 !important;
}

#main-content > .responsive-fullscreen.is-active {
    border-color: rgba(255, 203, 0, .48) !important;
    background: rgba(255, 203, 0, .2) !important;
}

#main-content > .responsive-fullscreen .fullscreen-close {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
}

#main-content > .responsive-fullscreen .fullscreen-close-icon {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
}

#main-content > .responsive-fullscreen .fullscreen-close-icon img {
    display: block;
    width: 12px;
    height: 12px;
}

#main-content > .responsive-fullscreen.is-active .fullscreen-enter-icon {
    display: none !important;
}

#main-content > .responsive-fullscreen.is-active .fullscreen-close {
    display: flex;
}

#main-content > .responsive-fullscreen.is-active {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 42px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

#main-content > .responsive-fullscreen.is-screen-obscured {
    display: none !important;
}

/* The footer is fixed by responsive layout rules, so explicitly collapse it
   while the home content is hidden. The external fullscreen button stays up. */
#main-content.home-items-hidden > .footer {
    display: none !important;
}

/* Desktop footer: copyright stays on the left, counts stay on the right. */
@media screen and (min-width: 1025px) and (orientation: landscape) {
    #main-content > .footer {
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: clamp(18px, 3vh, 40px) !important;
        left: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) max-content;
        grid-template-areas: "copyright stats";
        align-items: center;
        gap: 24px;
        width: 100% !important;
        height: auto !important;
        min-height: 48px;
        margin: 0 !important;
        padding: 0 clamp(24px, 4vw, 132px) !important;
        direction: ltr;
        z-index: 35 !important;
    }

    #main-content > .footer > .download-app,
    #main-content > .footer > .social-link {
        display: none !important;
    }

    #main-content > .footer > .copyright {
        grid-area: copyright;
        justify-self: start;
        float: none !important;
        margin: 0 !important;
        direction: rtl;
    }

    #main-content > .footer > .copyright label {
        text-align: left !important;
        line-height: 1.45;
    }

    #main-content > .footer > .online-presence {
        grid-area: stats;
        justify-self: end;
        float: none !important;
        width: max-content;
        margin: 0 !important;
        direction: rtl;
    }
}

/* Landscape tablets and phones share a slim footer row with fixed corners. */
@media screen and (max-width: 1024px) and (orientation: landscape) {
    #main-content > .footer {
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) max-content;
        grid-template-areas: "copyright stats";
        align-items: center;
        gap: 10px;
        width: 100% !important;
        height: auto !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 4px max(clamp(8px, 2vw, 20px), calc(env(safe-area-inset-left) + 8px)) max(4px, env(safe-area-inset-bottom)) max(clamp(8px, 2vw, 20px), calc(env(safe-area-inset-right) + 8px)) !important;
        direction: ltr;
        z-index: 35 !important;
        border-top: 1px solid rgba(255, 255, 255, .14);
        border-radius: 16px 16px 0 0;
        background: linear-gradient(180deg, rgba(8, 24, 38, .3), rgba(8, 24, 38, .72));
        -webkit-backdrop-filter: blur(17px) saturate(150%);
        backdrop-filter: blur(17px) saturate(150%);
    }

    #main-content > .footer > .download-app,
    #main-content > .footer > .social-link {
        display: none !important;
    }

    #main-content > .footer > .copyright {
        grid-area: copyright;
        justify-self: start;
        float: none !important;
        margin: 0 !important;
        direction: rtl;
    }

    #main-content > .footer > .copyright label {
        font-size: clamp(10px, 1.4vw, 13px) !important;
        line-height: 1.25;
        text-align: left !important;
    }

    #main-content > .footer > .online-presence {
        grid-area: stats;
        justify-self: end;
        float: none !important;
        width: max-content;
        margin: 0 !important;
        direction: rtl;
    }

    #main-content > .footer .online-presence__row {
        gap: 8px;
    }

    #main-content > .footer .online-presence__count,
    #main-content > .footer .online-presence__label {
        font-size: clamp(10px, 1.55vw, 14px) !important;
    }

    #main-content > .responsive-fullscreen {
        bottom: calc(clamp(40px, 8vh, 62px) + env(safe-area-inset-bottom)) !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 28px !important;
    }

    #main-content > .responsive-fullscreen svg {
        width: 32px !important;
    }
}

/* Portrait footer: social channels form one centered row above the two footer
   groups. The fullscreen control remains centered just above that footer. */
@media screen and (max-width: 1024px) and (orientation: portrait) {
    #main-content > .all-content {
        padding-top: calc(clamp(20px, 3vh, 30px) + env(safe-area-inset-top)) !important;
    }

    #main-content > .all-content > .logo-xl {
        top: calc(12px + env(safe-area-inset-top)) !important;
        right: max(clamp(12px, 3vw, 24px), calc(env(safe-area-inset-right) + 8px)) !important;
        left: auto !important;
        display: block !important;
        z-index: 12;
    }

    #main-content > .all-content > .logo-xl img {
        display: block;
        width: clamp(68px, 13vw, 108px) !important;
        height: auto !important;
    }

    #main-content .center-content > .logo {
        display: none !important;
    }

    #main-content > .footer {
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "social social" "copyright stats";
        align-items: center;
        gap: 6px 12px;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 8px max(clamp(12px, 3vw, 32px), calc(env(safe-area-inset-left) + 8px)) max(8px, env(safe-area-inset-bottom)) max(clamp(12px, 3vw, 32px), calc(env(safe-area-inset-right) + 8px)) !important;
        direction: ltr;
        z-index: 35 !important;
        border-top: 1px solid rgba(255, 255, 255, .14);
        border-radius: 18px 18px 0 0;
        background: linear-gradient(180deg, rgba(8, 24, 38, .3), rgba(8, 24, 38, .74));
        -webkit-backdrop-filter: blur(18px) saturate(155%);
        backdrop-filter: blur(18px) saturate(155%);
    }

    #main-content > .footer > .download-app {
        display: none !important;
    }

    #main-content > .footer > .social-link {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        grid-area: social;
        display: block !important;
        width: 100%;
        margin: 0 !important;
        direction: rtl;
    }

    #main-content > .footer > .social-link ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px clamp(6px, 1.3vw, 12px);
        width: min(100%, 660px);
        margin: 0 auto;
    }

    #main-content > .footer > .social-link a img {
        display: block;
        width: auto;
        height: clamp(14px, 2.2vw, 19px);
        object-fit: contain;
    }

    #main-content > .footer > .copyright {
        grid-area: copyright;
        justify-self: start;
        float: none !important;
        min-width: 0;
        margin: 0 !important;
        direction: rtl;
    }

    #main-content > .footer > .copyright label {
        font-size: clamp(10px, 1.5vw, 14px) !important;
        line-height: 1.35;
        text-align: left !important;
        white-space: nowrap;
    }

    #main-content > .footer > .online-presence {
        grid-area: stats;
        justify-self: end;
        float: none !important;
        width: max-content;
        max-width: 100%;
        margin: 0 !important;
        direction: rtl;
    }

    #main-content > .footer .online-presence__row {
        gap: 6px;
    }

    #main-content > .footer .online-presence__count {
        font-size: clamp(16px, 2.7vw, 24px) !important;
    }

    #main-content > .footer .online-presence__label {
        font-size: clamp(10px, 1.7vw, 13px) !important;
    }

    #main-content > .responsive-fullscreen {
        bottom: calc(clamp(118px, 15vh, 154px) + env(safe-area-inset-bottom)) !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 28px !important;
    }

    #main-content > .responsive-fullscreen svg {
        width: 32px !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 1024px)
       and (min-height: 761px) and (orientation: portrait) {
    #main-content > .responsive-fullscreen {
        bottom: calc(clamp(132px, 14vh, 176px) + env(safe-area-inset-bottom)) !important;
    }
}

@media screen and (max-width: 599px) and (max-height: 680px)
       and (orientation: portrait) {
    #main-content > .responsive-fullscreen {
        bottom: calc(112px + env(safe-area-inset-bottom)) !important;
    }
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
    #main-content > .all-content > .logo-xl {
        right: max(10px, calc(env(safe-area-inset-right) + 8px)) !important;
    }

    #main-content > .all-content > .social-link {
        left: max(10px, calc(env(safe-area-inset-left) + 8px)) !important;
    }
}

@media (prefers-reduced-transparency: reduce) {
    #main-content > .responsive-fullscreen {
        background: rgba(8, 24, 38, .94) !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    @media screen and (max-width: 1024px) {
        #main-content > .footer {
            background: rgba(8, 24, 38, .96);
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
        }
    }
}

@media screen and (min-width: 1920px) and (min-height: 1000px)
       and (orientation: landscape) {
    #main-content > .responsive-fullscreen {
        bottom: clamp(52px, 5vh, 76px) !important;
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        height: 42px !important;
    }

    #main-content > .responsive-fullscreen svg {
        width: 48px !important;
    }
}

/* The header must not replay an entrance translation when the viewport changes. */
#main-content > .all-content > .logo-xl,
#main-content > .all-content > .social-link,
#main-content .center-content {
    animation: none !important;
}

/* Keep the logo at the top right and social links at the top left. */
@media screen and (max-width: 1280px) {
    #main-content > .all-content > .social-link {
        display: block !important;
        top: calc(8px + env(safe-area-inset-top)) !important;
        right: auto !important;
        left: max(8px, env(safe-area-inset-left)) !important;
        width: max-content !important;
        max-width: calc((100vw - 80px) / 2 - 12px) !important;
        transform: none !important;
        z-index: 40 !important;
    }

    #main-content > .all-content > .social-link ul {
        display: grid !important;
        grid-template-columns: repeat(6, clamp(12px, 3.7vw, 18px)) !important;
        grid-auto-rows: clamp(14px, 4vw, 20px) !important;
        justify-content: start !important;
        gap: 2px !important;
        width: max-content !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        direction: ltr;
    }

    #main-content > .all-content > .social-link a {
        display: grid !important;
        width: clamp(12px, 3.7vw, 18px) !important;
        height: clamp(14px, 4vw, 20px) !important;
        place-items: center;
    }

    #main-content > .all-content > .social-link a img {
        display: block !important;
        width: clamp(11px, 3.3vw, 16px) !important;
        height: clamp(11px, 3.3vw, 16px) !important;
        object-fit: contain;
    }

    #main-content > .all-content > .logo-xl {
        position: absolute !important;
        display: block !important;
        top: calc(7px + env(safe-area-inset-top)) !important;
        right: max(8px, env(safe-area-inset-right)) !important;
        left: auto !important;
        width: max-content !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 41 !important;
    }

    #main-content > .all-content > .logo-xl img {
        display: block !important;
        width: clamp(56px, 17vw, 84px) !important;
        height: auto !important;
    }

    #main-content .center-content > .logo {
        display: none !important;
    }

    #main-content > .all-content {
        padding-top: calc(52px + env(safe-area-inset-top)) !important;
    }

    #main-content > .all-content > .logo-xl,
    #main-content > .all-content > .social-link,
    #main-content .center-content {
        animation: none !important;
    }

    #main-content .center-content {
        top: 0 !important;
    }
}

@media screen and (max-width: 599px) and (max-height: 680px) and (orientation: portrait) {
    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 { position: fixed !important; }
    #main-content > .btn-card-1 { top: calc(100svh - 205px) !important; right: 14px !important; left: auto !important; }
    #main-content > .btn-card-2 { top: calc(100svh - 150px) !important; right: auto !important; left: 14px !important; }
    #main-content > .btn-card-3 { top: calc(100svh - 95px) !important; right: auto !important; left: 25vw !important; transform: translateX(-50%) !important; }
}

/* Give large tablets room for the header and center an open project card. */
@media screen and (min-width: 769px) and (max-width: 1280px) and (min-height: 1000px) and (orientation: portrait) {
    #main-content > .all-content {
        padding-top: calc(clamp(88px, 9vh, 132px) + env(safe-area-inset-top)) !important;
    }
}

@media screen and (max-width: 1280px) and (max-height: 600px) and (orientation: landscape) {
    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 { position: fixed !important; bottom: auto !important; }
    #main-content > .btn-card-1 {
        top: min(clamp(160px, 48vh, 240px), calc(100svh - 135px)) !important;
        right: max(8px, env(safe-area-inset-right)) !important;
        left: auto !important;
    }
    #main-content > .btn-card-2 {
        top: min(clamp(190px, 59vh, 300px), calc(100svh - 105px)) !important;
        right: auto !important;
        left: clamp(14px, 9vw, 100px) !important;
    }
    #main-content > .btn-card-3 {
        top: min(clamp(220px, 70vh, 350px), calc(100svh - 78px)) !important;
        right: auto !important;
        left: 25vw !important;
        transform: translateX(-50%) !important;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1366px) and (min-height: 761px) and (orientation: landscape) {
    #main-content .center-content {
        top: clamp(60px, 7vh, 90px) !important;
        animation: none !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1366px) and (min-height: 761px) {
    #main-content > #scene-cards > .card {
        position: fixed !important;
        top: 50% !important;
        right: auto !important;
        left: 50% !important;
        width: min(80vw, 600px) !important;
        max-width: 600px !important;
        margin: 0 !important;
        transform: translate(-50%, -50%) !important;
    }
}

#main-content > .responsive-fullscreen.is-active {
    top: calc(12px + env(safe-area-inset-top)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
}

/* The footer contains only the copyright and visitor counts; keep it clear. */
html,
body#main-content,
#main-content > .footer,
#main-content > .footer * {
    transition: none !important;
}

#main-content > .footer {
    animation: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

#main-content > .footer > .social-link {
    display: none !important;
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
    #main-content > .footer {
        grid-template-areas: "copyright stats" !important;
        row-gap: 0 !important;
        column-gap: clamp(8px, 2vw, 16px) !important;
        padding-top: 4px !important;
        padding-bottom: max(4px, env(safe-area-inset-bottom)) !important;
    }

    #main-content > .responsive-fullscreen {
        bottom: calc(clamp(48px, 7vh, 72px) + env(safe-area-inset-bottom)) !important;
    }
}

@media screen and (max-width: 599px) and (max-height: 680px)
       and (orientation: portrait) {
    #main-content > .responsive-fullscreen {
        bottom: calc(42px + env(safe-area-inset-bottom)) !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 1024px)
       and (orientation: portrait) {
    #main-content > .responsive-fullscreen {
        bottom: calc(clamp(56px, 7vh, 82px) + env(safe-area-inset-bottom)) !important;
    }
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Document controls stay together above the preview at every orientation. */
#slider-cv .custom-modal-close,
#slider-id .custom-modal-close {
    position: fixed !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    left: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    flex-direction: row !important;
    gap: 14px !important;
}

#slider-cv .custom-modal-content,
#slider-id .custom-modal-content {
    box-sizing: border-box;
    width: min(100%, 1100px);
    height: 100%;
    max-height: 100%;
    top: 0 !important;
    transform: none !important;
    padding: calc(68px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

.file-viewer {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 100%;
    padding: 16px;
    color: #fff;
    background: #242424;
    border-radius: 10px;
    text-align: center;
}

.file-viewer [hidden] { display: none !important; }
.file-viewer .file-status { margin: 0; line-height: 1.7; }
.file-viewer .file-pages.owl-carousel {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    direction: rtl;
    overscroll-behavior: contain;
}
.file-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 180px;
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    color: #333;
    background: #fff;
}
.file-page img { display: block; width: 100%; height: auto; }
.file-page span { padding: 12px; }
#slider-cv .file-pages .owl-nav button,
#slider-id .file-pages .owl-nav button {
    display: flex;
    top: 50%;
    bottom: auto;
    left: 10px;
    right: auto;
    transform: translateY(-50%);
}
#slider-cv .file-pages .owl-nav button.owl-prev,
#slider-id .file-pages .owl-nav button.owl-prev { left: auto; right: 10px; }
@media (orientation: landscape) and (max-height: 500px) {
    .file-viewer { padding: 8px; gap: 5px; }
    .file-viewer .file-status { font-size: 12px; line-height: 1.3; }
}
.file-viewer .file-open {
    flex: 0 0 auto;
    padding: 9px 20px;
    border-radius: 999px;
    background: #ffcb00;
    color: #171717;
    text-decoration: none;
}

/* Final responsive contract: the header is always split into a left social
   row and a right logo, while the footer contains only its copyright and
   realtime counters. These rules intentionally come last so older breakpoint
   rules cannot reintroduce a second social row or a glass footer. */
#main-content > .all-content > .social-link {
    position: fixed !important;
    top: calc(8px + env(safe-area-inset-top)) !important;
    right: auto !important;
    left: max(8px, calc(env(safe-area-inset-left) + 8px)) !important;
    display: block !important;
    width: max-content !important;
    max-width: calc(100vw - 104px) !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 42 !important;
    direction: ltr !important;
}

#main-content > .all-content > .social-link ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(2px, .55vw, 8px) !important;
    width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    direction: ltr !important;
}

#main-content > .all-content > .social-link li,
#main-content > .all-content > .social-link a {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    width: clamp(12px, 1.55vw, 22px) !important;
    height: clamp(14px, 1.8vw, 24px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

#main-content > .all-content > .social-link a img {
    display: block !important;
    width: clamp(11px, 1.4vw, 20px) !important;
    height: clamp(11px, 1.4vw, 20px) !important;
    object-fit: contain !important;
}

#main-content > .all-content > .logo-xl {
    position: fixed !important;
    top: calc(8px + env(safe-area-inset-top)) !important;
    right: max(8px, calc(env(safe-area-inset-right) + 8px)) !important;
    left: auto !important;
    display: block !important;
    width: max-content !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 43 !important;
}

#main-content > .all-content > .logo-xl img {
    display: block !important;
    width: clamp(60px, 9.4vw, 130px) !important;
    height: auto !important;
}

#main-content .center-content > .logo {
    display: none !important;
}

#main-content > .footer,
#main-content > .footer::before,
#main-content > .footer::after {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

#main-content > .footer > .social-link,
#main-content > .footer > .download-app {
    display: none !important;
}

#main-content > .footer > .online-presence {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(8px, 1.4vw, 22px) !important;
    width: max-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

#main-content > .footer .online-presence__row {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: clamp(3px, .55vw, 8px) !important;
    width: max-content !important;
    white-space: nowrap !important;
}

#main-content > .footer .online-presence__count {
    font-size: clamp(11px, 1.65vw, 24px) !important;
    line-height: 1 !important;
}

#main-content > .footer .online-presence__label {
    font-size: clamp(8px, 1vw, 14px) !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}

@media screen and (max-width: 480px) {
    #main-content > .all-content > .social-link {
        max-width: calc(100vw - 94px) !important;
    }

    #main-content > .all-content > .social-link ul {
        gap: 1px !important;
    }

    #main-content > .all-content > .social-link li,
    #main-content > .all-content > .social-link a {
        width: 13px !important;
        height: 16px !important;
    }

    #main-content > .all-content > .social-link a img {
        width: 12px !important;
        height: 12px !important;
    }

    #main-content > .footer > .online-presence {
        gap: 6px !important;
    }

    #main-content > .footer .online-presence__count {
        font-size: 11px !important;
    }

    #main-content > .footer .online-presence__label {
        font-size: 8px !important;
    }
}

/* Keep the first project shortcut below the tabs/switch on short landscape
   screens; the following two preserve the same vertical rhythm and stay
   above the transparent footer. */
@media screen and (max-width: 1280px) and (max-height: 600px) and (orientation: landscape) {
    #main-content > .btn-card-1 {
        top: min(clamp(176px, 50vh, 238px), calc(100svh - 124px)) !important;
    }

    #main-content > .btn-card-2 {
        top: min(calc(clamp(176px, 50vh, 238px) + clamp(30px, 11vh, 54px)), calc(100svh - 91px)) !important;
    }

    #main-content > .btn-card-3 {
        top: min(calc(clamp(176px, 50vh, 238px) + clamp(30px, 11vh, 54px) + clamp(30px, 11vh, 54px)), calc(100svh - 58px)) !important;
    }
}

@media screen and (max-width: 600px) and (max-height: 360px) and (orientation: landscape) {
    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        position: fixed !important;
        bottom: auto !important;
    }
    #main-content > .btn-card-1 { top: 150px !important; }
    #main-content > .btn-card-2 { top: 180px !important; }
    #main-content > .btn-card-3 { top: 200px !important; left: 40vw !important; }
}

@media screen and (min-width: 601px) and (max-width: 1280px) and (max-height: 600px) and (orientation: landscape) {
    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        position: fixed !important;
        bottom: auto !important;
    }
    #main-content > .btn-card-1 { top: 150px !important; }
    #main-content > .btn-card-2 { top: 195px !important; }
    #main-content > .btn-card-3 { top: 240px !important; }
}

@media screen and (min-width: 361px) and (max-width: 599px) and (max-height: 680px) and (orientation: portrait) {
    #main-content > .btn-card-1,
    #main-content > .btn-card-2,
    #main-content > .btn-card-3 {
        position: fixed !important;
        bottom: auto !important;
    }
    #main-content > .btn-card-1 { top: calc(100svh - 267px) !important; }
    #main-content > .btn-card-2 { top: calc(100svh - 187px) !important; }
    #main-content > .btn-card-3 { top: calc(100svh - 137px) !important; left: 68vw !important; }

    #main-content > .all-content .center-content {
        position: relative !important;
        top: 0 !important;
        right: auto !important;
        left: auto !important;
        width: min(92vw, 700px) !important;
        max-width: calc(100vw - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
    }

    #main-content > .all-content .center-content .main-tabs,
    #main-content > .all-content .center-content .tabs,
    #main-content > .all-content .center-content .switch-bg {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media screen and (max-width: 1024px) {
    html,
    body#main-content {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    #main-content > .all-content {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
    }

    #main-content > .footer {
        box-sizing: border-box !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        right: 0 !important;
        left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
        grid-template-columns: minmax(0, 1fr) max-content !important;
    }

    #main-content > .footer {
        grid-template-areas: "copyright stats" !important;
        grid-template-rows: auto !important;
        row-gap: 0 !important;
    }
}
