:root {
    --max-container-width: 1440px;
    --app-height: 100vh;
}
*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
::-webkit-scrollbar {
    width: 8px;
}
/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(1, 255, 255, 0.4);
    border-radius: 999px;
    max-height: 5px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 199, 199, 0.4);
}
body {
    font-family: 'Roboto', 'Noto Sans TC', sans-serif;
    height: var(--app-height);
}
img {
    max-width: 100%;
}
a {
    text-decoration: inherit;
}
.disabled {
    pointer-events: none;
}
.text-center {
    text-align: center;
}
.hidden {
    display: none !important;
}
.h-100 {
    height: 100%;
}
.btn {
    display: inline-block;
    cursor: pointer;
}
.back-home-btn-container {
    height: unset !important;
    width: 100%;
}
.back-home-btn {
    font-weight: 500;
    margin-right: auto;
    margin-left: 10px;
}
.ml-auto {
    margin-left: auto;
}
.mr-auto {
    margin-right: auto;
}
.mt-auto {
    margin-top: auto;
}

.overflow-scroll{
    overflow: scroll;
}

.font-600 {
    font-weight: 600;
}
.text-dark {
    color: #4D4D4D !important;
}
.text-underline {
    text-decoration: underline;
}
.text-white {
    color: white !important;
}
.error-msg {
    color: #e53939;
}
.toast-msg {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transform-origin: center;
    background: rgba(68, 68, 68, 0.2);
    box-shadow: 0px 8px 24px rgba(255, 99, 161, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 9999px;
    padding: 8px 20px;
    z-index: 500;
    transition: transform 0.2s ease-in;
    color: white;
}
.toast-msg.active {
    transform: translateX(-50%) scale(1);
}
.full-width {
    max-width: unset !important;
    width: 100% !important;
}
form .input-field {
    height: 64px;
    border-color: transparent;
    border-radius: 8px;
    font-size: 24px;
    padding: 0 10px;
    flex-shrink: 0;
}
form input[type="checkbox"].input-field {
    width: 24px;
    height: 24px;
}
form input[type="checkbox"].input-field:checked {
    background-color: #1C1B1F;
}
form .form-label {
    margin-top: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}
form .remark {
    font-size: 12px;
}
.password-field {
    position: relative;
}
.password-field input {
    width: 100%;
    padding-right: 40px;
}
.password-field .toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(../images/icon-visibility-off.svg);
}
.password-field .toggle.active {
    background-image: url(../images/icon-visibility-on.svg);
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
    pointer-events: none;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup-overlay.active {
    pointer-events: all;
}
.popup-overlay .popup-container {
    min-width: 300px;
    min-height: 300px;
    background-color: #021832;
    box-shadow: 0px 8px 24px rgba(1, 255, 255, 0.25);
    border-radius: 16px;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.35s ease-in;
}
.popup-overlay.active .popup-container {
    transform: scale(1);
}
.popup-overlay .popup-container .popup-element {
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 12px;
}
.popup-overlay .popup-container .popup-element.active {
    display: flex;
}
.popup-overlay .popup-container .popup-element .title {
    font-weight: 600;
    font-size: 24px;
    color: #01FFFF;
    text-align: center;
}
.wide-btn {
    max-width: 310px;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 24px;
    border-radius: 999px;
    text-align: center;
    box-shadow: 0px 8px 24px rgba(255, 99, 161, 0.35);
    border: 2px solid rgba(255,255,255,0.6);
    font-weight: 600;
}
@media(max-height: 720px) {
    .wide-btn {
        max-width: 270px;
        padding-top: 7px;
        padding-bottom: 7px;
    }
}
.wide-btn.pink {
    background: linear-gradient(121.5deg, #FF6BA6 9.5%, #DB107E 86.95%);
}
.wide-btn.transparent {
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.wide-btn.no-style {
    box-shadow: unset;
    border: unset;
}
.container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}
.cursor-pointer {
    cursor: pointer;
}
.flex {
    display: flex;
}
.flex-column {
    flex-direction: column;
}
.flex-col-1 {
    column-gap: 10px;
}
.flex-row-1 {
    row-gap: 10px;
}
.flex-col-2 {
    column-gap: 20px;
}
.flex-row-2 {
    row-gap: 20px;
}
.flex-col-3 {
    column-gap: 30px;
}
.flex-row-3 {
    row-gap: 30px;
}
.justify-center {
    justify-content: center;
}
.justify-evenly {
    justify-content: space-evenly;
}
.align-center {
    align-items: center;
}
.grid {
    display: grid;
}
main {
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
}
.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
}
.overlay .menu-container {
    position: absolute;
    background-color: #021832;
    padding-top: 100px;
    padding-left: 30px;
    padding-bottom: 30px;
    padding-right: 30px;
    top: 0;
    right: calc(100vw / 2 - var(--max-container-width) / 2);
    min-height: 360px;
    min-width: 300px;
    box-shadow: 0px 8px 24px rgba(1, 255, 255, 0.25);
    border-radius: 16px;
    transform: scale(0);
    transform-origin: top right;
    opacity: 0;
    transition: transform .35s ease-in-out, opacity .35s ease-in-out;
    z-index: 50;
}
@media (max-width: 1440px) {
    .overlay .menu-container {
        right: 0;
    }
}
@media (max-width:500px) {
    .overlay .menu-container {
        width: 100%;
    }
}
.overlay.active {
    pointer-events: all;
}
.overlay.active .menu-container {
    transform: scale(1);
    opacity: 1;
}
.menu-container .grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 35px;
    row-gap: 32px;
}
.menu-container a {
    font-weight: 600;
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    column-gap: 9px;
    width: fit-content;
}
.menu-container .bottom {
    margin-top: 55px;
}
main.landing {
    position: relative;
}
main.landing .background {
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
    position: absolute;
    pointer-events: none;
    background-image: url(../images/bg-pattern.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -2;
}
main.landing .anim-container {
    width: 100vw;
    height: 80vh;
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
    /*max-width: 1920px;*/
    margin-left: auto;
    margin-right: auto;
    z-index: -1;
}
main.landing .anim-container svg {
    position: absolute;
    left: 50%;
    transform: translate3d(-50%, 0, 0) !important;
    width: unset !important;
    height: 100% !important;
    object-position: center;
}
#site-header {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 12px 0px;
    width: 100%;
}
#site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 18px;
}
#site-header .site-logo {
    margin-left: 20px;
    z-index: 20;
}
#site-header .site-logo img {
    max-height: 70px;
}
@media(min-width: 1000px) {
    #site-header .site-logo img {
        max-height: 90px;
    }
}
.toolbar {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 20px;
    column-gap: 18px;
    z-index: 20;
}
.toolbar div {
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.toolbar .mute {
    background-image: url(../images/icon-music-on.svg);
}
.toolbar .mute.active {
    background-image: url(../images/icon-music-off.svg);
}
.toolbar .share {
    background-image: url(../images/icon-share.svg);
    position: relative;
}
.toolbar .share .share-menu {
    position: absolute;
    top: 105%;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
    transform-origin: top;
    list-style: none;
    padding: 10px;
    background-color: #021832;
    box-shadow: 0px 8px 24px rgb(1 255 255 / 25%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    pointer-events: none;
    transition: transform 0.3s ease-in, opacity 0.3s ease-in;
}
.toolbar .share.active .share-menu {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
    pointer-events: all;
}
.toolbar .share .share-menu li {
    width: 30px;
    height: 30px;
}
.toolbar .menu {
    background-image: url(../images/menu-icon.png);
    background-size: cover;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 8px 24px rgba(255, 99, 161, 0.35);
    /*border: 1px solid white;*/
    transform: rotate(0);
    transition: transform 0.3s ease-out;
}
.toolbar .menu.active {
    transform: rotate(360deg);
    background-image: url(../images/close-icon.png);
}
main.landing .section {
    padding-top: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
main.landing .section .logo {
    position: relative;
    z-index: 5;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}
main.landing .icon-btn-container {
    column-gap: 10px;
    justify-content: space-evenly;
}
main.landing .icon-btn-container .icon-btn {
    position:relative;
}
main.landing .icon-btn-container .icon-btn:nth-child(1) {
    top: 100px;
}
main.landing .icon-btn-container .icon-btn:nth-child(2) {
    top: 30px;
}
main.landing .icon-btn-container .icon-btn:nth-child(3) {
    top: -20px;
}
main.landing .icon-btn-container .icon-btn:nth-child(4) {
    top: 50px;
}
main.landing .icon-btn-container .icon-btn .icon {
    max-width: 120px;
    max-height: 120px;
}
main.landing .icon-btn-container .icon-btn .text {
    color: white;
    font-weight: 700;
    font-size: 20px;
    text-shadow: 0px 4px 4px rgba(2, 24, 50, 0.35);
    -webkit-text-stroke: 1px rgba(3,117,228,0.4);
    text-stroke: 1px rgba(3,117,228,0.4);
    background: linear-gradient(180deg, rgba(250, 84, 150, 0) 0%, rgba(250, 84, 150, 0.5) 56.25%, rgba(250, 84, 150, 0) 100%);
    text-align: center;
    padding: 32px 0;
    text-decoration: none;
}
@media(max-height: 720px) {
    main.landing .icon-btn-container .icon-btn .text {
        color: white;
        font-weight: 700;
        font-size: 16px;
        text-shadow: 0px 4px 4px rgba(2, 24, 50, 0.35);
        background: linear-gradient(180deg, rgba(250, 84, 150, 0) 0%, rgba(250, 84, 150, 0.5) 56.25%, rgba(250, 84, 150, 0) 100%);
        text-align: center;
        padding: 20px 0;
        text-decoration: none;
    }
}
main.landing .section .bottom {
    margin-top: auto;
    row-gap: 24px;
}
main.landing .account-btns {
    margin-top: auto;
    align-items: center;
    row-gap: 16px;
}
main.landing .organisation {
    min-height: 90px;
    column-gap: 16px;
    background-color: white;
    padding: 12px 8px;
    justify-content: center;
}
main.landing .organisation .label {
    margin-left: 18px;
    font-size: 12px;
    color: #808080;
}
main.landing .organisation img {
    max-height: 50px;
}
main.landing .organisation > .flex {
    justify-content: space-between;
    row-gap: 5px;
}
main.landing .organisation .organiser-img,
main.landing .organisation .sponsor-img {
    align-items: center;
    height: 50px;
}
main.landing .organisation .ust-logo {
    height: 42px;
}
main.landing .organisation .the-base-logo {
    height: 39px;
}
main.landing .organisation .hsbc-logo {
    height: 35px;
}
main.landing .organisation-popup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
    z-index: 50;
    pointer-events: none;
}
main.landing .organisation-popup.active {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: all;
}
main.landing .organisation-popup .popup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #FFFFFF;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 36px;
    width: 95%;
    max-width: 450px;
    min-height: 300px;
    padding: 26px 27px;
    transform: scale(0);
    transition: transform 0.3s ease-in;
    transform-origin: center;
}
main.landing .organisation-popup.active .popup-container {
    transform: scale(1);
}
main.landing .organisation-popup .popup-container .site-logo img {
    height: 100px;
}
main.landing .organisation-popup .popup-container .sub-title {
    font-weight: 500;
    font-size: 20px;
    margin-top: 12px;
    margin-bottom: 8px;
}
main.landing .organisation-popup .popup-container .step {
    width: 100%;
    display: grid;
    overflow: hidden;
}
main.landing .organisation-popup .popup-container .sub-title-container {
    display: grid;
}
main.landing .organisation-popup .popup-container .sub-title-container .sub-title {
    text-align: center;
    grid-area: 1/1/1/1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in;
}
main.landing .organisation-popup .popup-container .sub-title-container .sub-title.active {
    opacity: 1;
}
main.landing .organisation-popup .popup-container .organisation-container {
    grid-area: 1/1/1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 16px;
    height: 35vh;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 0;
    z-index: -1;
    transform: scale(0);
    transform-origin: left;
    transition: transform 0.3s ease-in;
    padding: 0 35px;
    word-break: break-all;
    font-size: 14px;
}
@media(max-width: 820px) {
    main.landing .organisation-popup .popup-container .organisation-container {
        font-size: 16px;
    }
}
main.landing .organisation-popup .popup-container .organisation-container.active {
    transform: scale(1);
    z-index: 1;
    transform-origin: right;
    transition: transform 0.3s ease-out;
    transition-delay: 0.1s;
}
main.landing .organisation-popup .popup-container .organisation-container .small-text {
    font-size: 12px;
    color: #808080;
    margin-top: 10px;
}
main.landing .organisation-popup .popup-container .organisation-container .logo {
    margin-top: 8px;
}
main.landing .organisation-popup .popup-container .organisation-container .logo img {
    max-height: 50px;
}
main.landing .organisation-popup .popup-container .organisation-container .logo.hsbc img {
    max-height: 45px;
}
main.landing .organisation-popup .step-indicator {
    margin-top: 12px;
}
main.landing .organisation-popup .popup-container .indicator {
    background: rgba(255, 255, 255, 1);
    border: 1px solid transparent;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}
main.landing .organisation-popup .popup-container .indicator.active {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #FFFFFF;
}
main.landing .organisation-popup .popup-container .btn {
    margin-top: 16px;
}
@media(min-width: 1000px) {
    main.landing .section .logo {
        max-width: 250px;
    }
    main.landing .icon-btn-container {
        max-width: 890px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        position: relative;

    }
    main.landing .icon-btn-container .icon-btn .text {
        font-size: 28px;
    }
    main.landing .icon-btn-container .icon-btn .icon {
        max-width: 150px;
        max-height: 150px;
    }
    main.landing .account-btns {
        flex-direction: row !important;
        column-gap: 16px;
        justify-content: center;
    }
    main.landing .organisation {
        column-gap: 255px;
    }
}
main.landing-info {
    background-color: #021832;
    background-image: url(../images/game-image-03-difficult.png);
    background-position: 51% 50%;
    background-repeat: no-repeat;
}
@media(min-width: 1440px) {
    main.landing-info {
        background-size: cover;
    }
}
main.landing-info .section {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding-top: 100px;
}
main.landing-info .section .page-heading {
    color: #01FFFF;
    font-size: 32px;
    font-weight: 600;
    text-shadow: 0px 8px 40px rgba(120, 38, 187, 0.5);
    text-align: center;
}
main.landing-info .section .info-content {
    margin-top: 16px;
    background: linear-gradient(359.95deg, #021832 -8.2%, rgba(2, 24, 50, 0.15) 170.96%);
    box-shadow: 0px -8px 24px rgba(1, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 36px 36px 0px 0px;
    width: 100%;
    height: 100%;
    padding: 24px;
    color: white;
    overflow: auto;
}
@media(min-width: 1000px) {
    main.landing-info .section .info-content {
        max-height: 80%;
        border-radius: 36px;
    }
}
main.landing-info .section .info-content .content-title {
    color: #01FFFF;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 16px;
}
main.landing-info .section .info-content .content-sub-title {
    color: #ADDBFF;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 16px;
}
main.landing-info .section .info-content {
    font-size: 12px;
}
@media (min-width: 820px) {
    main.landing-info .section .info-content {
        font-size: 16px;
    }
}
main.landing-info .section .info-content p {
    margin-top: 12px;
    margin-bottom: 12px;
    text-align: justify;
}
main.landing-info .section .info-content p a {
    color: inherit;
    text-decoration: underline;
}
main.landing-info .section .info-content ol {
    margin-left: 20px;
    margin-top: 10px;
}
main.landing-info .section .info-content ol li {
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: justify;
}
main.landing-info .section .info-content ol li a{
    color: white;
    text-decoration: underline;
    word-break: break-all;
}
main.invite .info-content {
    display: flex;
    flex-direction: column;
}
main.invite .invite-count {
    background: linear-gradient(156.92deg, #01FFFF -14.05%, #8015D8 99.67%);
    border-radius: 36px;
    text-align: center;
    padding: 24px 0;
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 40px;
}
main.invite .invite-label {
    margin-top: 80px;
}
main.invite .invite-code {
    position: relative;
}
main.invite .invite-code input {
    height: 64px;
    background: #FFFFFF;
    border-radius: 8px;
    font-size: 22px;
    font-weight: 500;
    padding: 0 18px;
}
main.invite .invite-code .copy-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    width: 24px;
    height: 24px;
    background-image: url(../images/icon-copy-text.svg);
    background-repeat: no-repeat;
}
main.invite .invite-btn {
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
}
@media (max-width: 820px) {
    main.invite .invite-btn {
        max-width: unset;
    }
}
main.invite .popup-overlay .popup-container {
    padding: 20px 12px;
}
main.invite .popup-overlay .invite-text {
    resize: none;
    width: 330px;
    height: 150px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 10px;
}
main.invite .popup-overlay .close-btn {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5%;
    right: 5%;
    background-image: url(../images/icon-close-small.svg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50;
}
@media(min-width: 1000px) {
    main.invite .info-content {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
    main.invite .info-content > * {
        width: 80%;
    }
}
main.about-us .org-img {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    max-height: 300px;
    height: calc(300 / 299 * 100vw);
    background-color: rgba(255,255,255, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 16px;
}
main.about-us .support-org-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    row-gap: 20px;
    column-gap: 20px;
    justify-items: center;
}
@media(min-width: 1200px) {
    main.about-us .support-org-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
main.about-us .support-org-list .org-img {
    width: 100vw;
    height: 100vh;
    max-height: 250px;
    max-width: 250px;
}
@media(max-width: 600px) {
    main.about-us .support-org-list .org-img {
        max-height: 170px;
        max-width: 170px;
    }
}
@media(max-width: 400px) {
    main.about-us .support-org-list .org-img {
        max-height: 140px;
        max-width: 140px;
    }
}
@media(max-width: 400px) {
    main.about-us .support-org-list .org-img {
        max-height: 120px;
        max-width: 120px;
    }
}
main.ranking section .title {
    color: #ADDBFF;
    font-weight: 700;
    font-size: 24px;
}
main.ranking section .result-container {
    background-color: white;
    border-radius: 16px;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    margin-top: 18px;
    min-height: 200px;
    color:#1D1D1F;
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.result-container .arrow{
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

main.ranking section .result-container p {
    margin: 0px 16px;
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

main.ranking .winner .result-container .grid{
    grid-template-columns: 12% 30% 58%;
    /*grid-template-columns: repeat(3, minmax(0, 1fr));*/
}

main.ranking section .result-container .grid {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
}

main.ranking section .result-container .grid.grid1x2{
    grid-template-columns: repeat(2, 1fr);
}

main.ranking section .result-container .grid.header {
    font-weight: 500;
    font-size: 20px;
    color: #083585;
    padding-bottom: 12px;
    border-bottom: rgba(171, 171, 171, 0.35) 1px solid;
}
main.ranking section .result-container .grid.header + .flex {
    margin-top: 10px;
}
main.ranking section .result-container .grid .col {
    display: flex;
    justify-content: center;
}
main.ranking .col.score {
    font-weight: 500;
    font-size: 20px;
}
main.ranking section.winner {
    margin-top: 50px;
}
@media(min-width: 1000px) {
    main.ranking .section .info-content {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    main.ranking .section .info-content section {
        width: 100%;
        height: 100%;
    }
    main.ranking section.winner {
        margin: 0;
    }
    main.ranking .section .info-content .result-container,
    main.ranking .section .info-content .result-container {
        height: 100%;
        width: 100%;
        max-height: 372px;
        max-width: 400px;
    }
}
main.icon-page {
    background-color: #021832;
    background-image: url(../images/bg-pattern.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
main.icon-page .section {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding-top: 60px;
}
main.icon-page .section .icon {
    max-width: 205px;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(25px);
    position: relative;
    z-index: 2;
}
@media (max-height: 720px) {
    main.icon-page .section .icon {
        max-width: 180px;
    }
}
main.icon-page .section .content {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px -8px 24px rgba(1, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 36px 36px 0px 0px;
    height: 100%;
    padding: 30px 17px;
    overflow-y: auto;
}
main.icon-page .section .content.dark {
    background: linear-gradient(359.95deg, #021832 -8.2%, rgba(2, 24, 50, 0.15) 170.96%);
    color: white;
}
main.icon-page .section .content .content-heading {
    font-weight: 600;
    font-size: 32px;
    color: #01FFFF;
    margin-left: auto;
    margin-right: auto;
}
main.icon-page .section .content .btn-group {
    margin-top: 24px;
    row-gap: 16px;
}
main.register .popup-overlay .close-btn {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 12px;
    right: 12px;
    cursor: pointer;
    background-image: url(../images/close-icon-dark.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 50;
}
main.register .popup-element.tc {
    color: white;
    max-width: 840px;
    max-height: 600px;
    overflow: auto;
    padding: 20px 70px;
}
main.register .popup-element.tc .content-title{
    color: #01FFFF;
    font-size: 18px;
    margin: 10px 0;
}
main.register .popup-element.tc .tc-content {
    margin-top: 20px;
}
main.register .popup-element.tc a {
    color: inherit;
    text-decoration: underline;
}
main.register .popup-element.success {
    width: 300px;
    height: 300px;
    justify-content: space-evenly;
    row-gap: 20px;
}
@media(min-width: 1000px) {
    main.icon-page .section .content {
        width: 100%;
        max-width: 860px;
        margin-bottom: 50px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 36px;
        height: unset;
    }
    main.icon-page .section .content form {
        height: 100%;
    }
    main.icon-page .section .content .btn-group {
        margin-top: 8%;
    }
}
main.rule .rule-content {
    padding: 27px 42px;
    font-weight: 500;
    font-size: 18px;
}
main.rule .rule-content .bottom {
    margin-top: 20px;
    width: 100%;
}
main.rule .rule-content ol > li {
    margin-top: 12px;
}
main.rule .rule-content ol {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
@media(min-width: 1000px) {
    main.rule .rule-content ol {
        margin-top: auto;
        margin-bottom: auto;
    }
    main.rule .bottom {
        width: 100%;
    }
}
main.game .popup-overlay {
    background-image: url(../images/bg-pattern.png);
    opacity: 0;
    transition: opacity 0.35s ease-in;
    background-repeat: no-repeat;
    background-size: cover;
}
main.game .popup-overlay.active {
    opacity: 1;
}
main.game .popup-overlay .popup-container {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #FFFFFF;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: unset;
    width: 90%;
    padding: 0 30px;
    max-width: 560px;
}
main.game .popup-overlay .icon {
    width: 200px;
    height: 200px;
}
main.game .popup-overlay .title {
    font-weight: 600;
    font-size: 32px;
    color: #01FFFF;
}
main.game .popup-overlay p {
    margin-top: 60px;
    margin-bottom: 60px;
    font-weight: 500;
    font-size: 22px;
}
@media(max-width: 820px) {
    main.game .popup-overlay p {
        margin-top: 30px;
        margin-bottom: 30px;
        font-weight: 500;
        font-size: 18px;
    }
}
@media(max-height: 720px) {
    main.game .popup-overlay .icon {
        width: 165px;
        height: 165px;
    }
}
main.game .game-panel {
    width: 100vw;
    height: 100vh;
    height: var(--app-height);
    background-image: url(../images/bg-pattern.png);
    display: grid;
    grid-template-rows: repeat(30, 1fr);
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}
main.game .game-panel .background {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    grid-area: 1/1/-1/1;
}
main.game .game-panel .background-list {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 100%;
    height: 100%;
    z-index: 2;
}
main.game .game-panel .background-list .background-img {
    grid-area: 1/1/1/1;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease-in;
}
main.game .game-panel .background-list .background-img.active {
    z-index: 1;
    opacity: 1;
}
main.game .game-panel .background-list .background-1 {
    background-image: url(../images/game-image-01-easy.png);
}
main.game .game-panel .background-list .background-2 {
    background-image: url(../images/game-image-02-medium.png);
}
main.game .game-panel .background-list .background-3 {
    background-image: url(../images/game-image-03-difficult.png);
}
main.game .game-panel .icon {
    grid-area: 3/1/10/1;
    display: flex;
    justify-content: center;
    position: relative;
    height: fit-content;
    margin-top: auto;
}
main.game .game-panel .chat {
    position: absolute;
    display: grid;
    top: -18%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
}
main.game .game-panel .chat .chat-text {
    position: relative;
    grid-area: 1/1/1/1;
    padding: 12px 30px;
    background: linear-gradient(156.92deg, #01FFFF -14.05%, #8015D8 99.67%);
    border-radius: 999px;
    text-align: center;
    font-size: 14px;
    color: white;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease-in;
}
main.game .game-panel .chat .chat-text.active {
    z-index: 1;
    opacity: 1;
}
main.game .game-panel .chat .chat-text::after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    background: #6654bb;
}
main.game .game-panel .chat .chat-text.chat-text-correct {
    background: white;
    color: #000000;
}
main.game .game-panel .chat .chat-text.chat-text-correct::after {
    background: white;
}
main.game .game-panel .chat .chat-text.chat-text-wrong,
main.game .game-panel .chat .chat-text.chat-text-timeover {
    background: #021832;
}
main.game .game-panel .chat .chat-text.chat-text-wrong::after,
main.game .game-panel .chat .chat-text.chat-text-timeover::after {
    background: #021832;
}
main.game .game-panel .icon-list {
    display: grid;
    position: relative;
    z-index: 5;
    width: fit-content;
    height: fit-content;
    margin-top: auto;
}
main.game .game-panel .icon-list .icon-img {
    grid-area: 1/1/1/1;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 170px;
    height: 170px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease-in;
}
main.game .game-panel .icon-list .icon-img.active {
    z-index: 1;
    opacity: 1;
}
main.game .game-panel .game-content {
    display: grid;
    grid-template-rows: repeat(20, 1fr);
    grid-area: 9/1/-1/1;
    z-index: 4;
    background: linear-gradient(359.95deg, #021832 -8.2%, rgba(2, 24, 50, 0.15) 170.96%);
    box-shadow: 0px -8px 24px rgba(1, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 36px 36px 0px 0px;
    color: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease-in, opacity 0.35s ease-in;
}
main.game .game-panel .game-content.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
main.game .game-panel .quit-btn {
    width: 40px;
    height: 40px;
    background-image: url(../images/close-icon-dark.svg);
    background-size: cover;
    background-position: center;
    grid-area: 2/1/-1/1;
    margin-left: auto;
    margin-right: 10px;
    position: relative;
    z-index: 50;
    cursor: pointer;
}
main.game .game-panel .mute {
    width: 40px;
    height: 40px;
    background-image: url(../images/icon-music-on.svg);
    background-size: cover;
    background-position: center;
    grid-area: 2/1/-1/1;
    margin-left: auto;
    margin-right: 60px;
    position: relative;
    z-index: 50;
    cursor: pointer;
}
main.game .game-panel .mute.active {
    background-image: url(../images/icon-music-off.svg);
}
main.game .game-panel .game-content .question-area {
    grid-area: 1/1/7/1;
    padding: 2px 16px 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
main.game .game-panel .game-content .question-area .top {
    justify-content: space-between;
    border-bottom: 2px dashed #083585;
    padding-bottom: 7px;
}
main.game .game-panel .game-content .question-area .bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
main.game .game-panel .game-content .question-area .bottom .question-tc {
    font-weight: 500;
    font-size: 20px;
}
main.game .game-panel .game-content .question-area .bottom .question-en {
    font-weight: 400;
    font-size: 14px;
    color: #E6E6E6;
}
main.game .game-panel .game-content .question-area .question-number {
    font-weight: 700;
    font-size: 24px;
    color: #ADDBFF;
}
main.game .game-panel .game-content .question-area .count-down {
    position: relative;
    height: 48px;
    min-width: 170px;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #021832;
    border-radius: 999px;
    border: #0375E4 1px solid;
    overflow: hidden;
    will-change: transform;
}
main.game .game-panel .game-content .question-area .count-down .bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(241.93deg, #7826BB 11.22%, #00FDFE 89.73%);
    --ratio: calc(var(--cur) / var(--max));
    --sub: calc(1 - var(--ratio));
    --transform: calc(var(--sub) * -100%);
    /*transform: translateX(var(--transform));*/
    transform-origin: left;
    transition: transform .95s linear;
    -webkit-transform:translate3d(var(--transform),0,0);
    transform:translate3d(var(--transform),0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    isolation: isolate;
}
main.game .game-panel .game-content .question-area .count-down .time-left,
main.game .game-panel .game-content .question-area .count-down .clock-icon{
    z-index: 2;
}
main.game .game-panel .game-content .question-area .count-down .time-left {
    font-size: 24px;
    font-weight: 600;
}
main.game .game-panel .game-content .question-area .count-down .clock-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url(../images/icon-clock.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 50%;
    transform: translateY(-50%);
    right: 2px;
}
main.game .game-panel .game-content .scrollable {
    grid-area: 7/1/18/1;
    background: #021832;
    overflow: auto;
    padding: 16px;
    row-gap: 30px;
}
main.game .game-panel .game-content .submit-area {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: 18/1/-1/1;
    background: #021832;
}
main.game .game-panel .game-content .scrollable .submit-btn {
    padding: 5px;
    max-width: 230px;
    margin-left: auto;
    margin-right: auto;
}
main.game .game-panel .game-content .question-dest {
    row-gap: 28px;
}
main.game .game-panel .game-content .question-dest .dest {
    padding: 0 18px;
}
main.game .game-panel .game-content .question-dest .dest > .flex {
    column-gap: 30px;
}
main.game .game-panel .game-content .question-dest .dest-tc {
    font-weight: 500;
    font-size: 18px;
}
main.game .game-panel .game-content .question-dest .dest-en {
    font-size: 14px;
    color: #E6E6E6;
}
main.game .game-panel .game-content .question-dest .dest-num {
    font-weight: 600;
}
main.game .game-panel .game-content .choices {
    row-gap: 18px;
}
main.game .game-panel .game-content .choices .choice-ans {
    font-weight: 600;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
main.game .game-panel .game-content .choices .choice-ans::before {
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
main.game .game-panel .game-content .choices .choice-ans::after {
    position: absolute;
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
    z-index: 2;
}
main.game .game-panel .game-content .choices .choice-tc {
    font-weight: 500;
    font-size: 18px;
}
main.game .game-panel .game-content .choices .choice-en {
    font-size: 14px;
    color: #E6E6E6;
}
@media(max-width: 820px) {
    main.game .game-panel .game-content .question-area .count-down .clock-icon {
        width: 33px;
        height: 33px;
    }
    main.game .game-panel .game-content .question-area .count-down {
        height: 38px;
    }
    main.game .game-panel .game-content .question-area .question-number {
        font-size: 20px;
    }
    main.game .game-panel .game-content .question-area .bottom .question-tc {
        font-size: 16px;
    }
    main.game .game-panel .game-content .question-area .bottom .question-en {
        font-size: 12px;
    }
    main.game .game-panel .game-content .question-dest .dest-tc {
        font-size: 16px;
    }
    main.game .game-panel .game-content .question-dest .dest-en {
        font-size: 12px;
    }
    main.game .game-panel .game-content .choices .choice-tc {
        font-size: 16px;
    }
    main.game .game-panel .game-content .choices .choice-en {
        font-size: 12px;
    }
}
@media(max-height: 720px) {
    main.game .game-panel .game-content .question-area .bottom {
        overflow-y: auto;
    }
    main.game .game-panel .game-content .question-area .count-down .clock-icon {
        width: 28px;
        height: 28px;
    }
    main.game .game-panel .game-content .question-area .count-down {
        height: 32px;
    }
    main.game .game-panel .game-content .question-area .question-number {
        font-size: 16px;
    }
    main.game .game-panel .game-content .question-area .bottom .question-tc {
        font-size: 12px;
    }
    main.game .game-panel .game-content .question-area .bottom .question-en {
        font-size: 11px;
    }
    main.game .game-panel .game-content .question-dest .dest-tc {
        font-size: 12px;
    }
    main.game .game-panel .game-content .question-dest .dest-en {
        font-size: 11px;
    }
    main.game .game-panel .game-content .choices .choice-tc {
        font-size: 12px;
    }
    main.game .game-panel .game-content .choices .choice-en {
        font-size: 11px;
    }
}
main.game .game-panel .game-content .choices .choice {
    padding: 9px 18px;
    border: #083585 1px solid;
    border-radius: 16px;
    cursor: pointer;
}
main.game .game-panel .game-content .choices .choice.selected {
    border-color: #FC3C99;
}
main.game .game-panel .game-content .choices .choice.correct {
    border-color: #32F196;
}
main.game .game-panel .game-content .choices .choice.wrong {
    border-color: #FC3C99;
}
main.game .game-panel .game-content .choices .choice.selected .choice-ans::before {
    background-color: #FC3C99;
}
main.game .game-panel .game-content .choices .choice.correct .choice-ans::before {
    background-color: #32F196;
    z-index: 1;
}
main.game .game-panel .game-content .choices .choice.correct .choice-ans::after {
    background-image: url(../images/icon-check-small.svg);
}
main.game .game-panel .game-content .choices .choice.wrong .choice-ans::before {
    background-color: #FC3C99;
    z-index: 1;
}
main.game .game-panel .game-content .choices .choice.wrong .choice-ans::after {
    background-image: url(../images/icon-close-small.svg);
}
main.game .game-panel .game-content .choices .choice > .flex {
    column-gap: 30px;
}
main.game .game-panel .result-content {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-area: 9/1/-1/1;
    z-index: 4;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px -8px 24px rgba(1, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 36px 36px 0px 0px;
    color: #FFFFFF;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s ease-in, opacity 0.6s ease-in;
}
main.game .game-panel .result-content.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
main.game .game-panel .result-content .top,
main.game .game-panel .result-content .bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }
main.game .game-panel .result-content .top .heading,
main.game .game-panel .result-content .top .score-container {
    font-weight: 700;
    font-size: 24px;
    color: #01FFFF;
}
main.game .game-panel .result-content .top .score-container .score {
    font-size: 120px;
}
@media(max-height: 720px) {
    main.game .game-panel .result-content .top .score-container .score {
        font-size: 80px;
    }
    main.game .game-panel .icon-list .icon-img {
        width: 140px;
        height: 140px;
    }
}
main.game .game-panel .result-content .top .time-used-container {
    font-weight: 500;
    font-size: 24px;
}
 main.game .game-panel .result-content .bottom {
    background: linear-gradient(359.95deg, #021832 -8.2%, rgba(2, 24, 50, 0.15) 170.96%);
}
 @media(min-width: 1000px) {
     main.game .game-panel {
         grid-template-columns: repeat(2, 1fr);
     }
     main.game .game-panel .game-content {
         grid-area: 1/2/-1/-1;
         border-radius: unset;
     }
     main.game .game-panel .background-list .background-img {
         background-position: bottom;
         background-size: cover;
     }
     main.game .game-panel .icon {
         grid-area: 18/1/27/1;
     }
     main.game .game-panel .icon-list .icon-img {
         width: 400px;
         height: 400px;
     }
     main.game .game-panel .result-content {
         grid-area: 1/2/-1/-1;
         border-radius: unset;
     }
 }
main.game .popup-element.invite {
    position: relative;
    padding: 10px 12px;
}
main.game .popup-element.invite .close-btn {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5%;
    right: 5%;
    background-image: url(../images/icon-close-small.svg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50;
}
main.game .popup-element.invite .invite-text {
    resize: none;
    width: 330px;
    height: 150px;
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 10px;
}
.main-content.no-chance .section .bottom {
    margin-top: auto;
    margin-bottom: auto;
}
