@charset "UTF-8";
/* CSS Document */
@font-face {
    font-family: 'chenyuluoyan';
    font-weight: normal;
    font-style: normal;
    src: local('Yozai'), local('悠哉'), local('yozai'),
       url('https://unpkg.com/@chinese-fonts/yozai@3.0.0/dist/regular/yozai-regular.woff2') format('woff2'),
       url('https://unpkg.com/@chinese-fonts/yozai@3.0.0/dist/regular/yozai-regular.woff') format('woff');
    font-display: swap;
}  
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-sizing: border-box;
}
::root {
    --nav-width: 200px;
    --nav-height: 315px;
}
html {
    background-color: #000;
    user-select: none;
}
body {
    position: fixed;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, "sans-serif";
    background-color: #000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-overflow-scrolling: auto;
}
iframe {
    user-select: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: none;
}
ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
/*
@font-face {
    font-family: 'chenyuluoyan';
    src: url('yozai.woff') format('woff'), url('yozai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*/
.icon {
    
}
#news {
    opacity: 0.0001;
    background-color: rgba(255,255,255,0.95);
    position: absolute;
    width: 560px;
    aspect-ratio: 1 / 2;
    border-radius: 30px;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(calc(var(--scale-factor)/1.2));
    border: 6px solid #a0d8e7;
    box-shadow: inset 0 0 0 3px #1F286F, 0 0 0 3px #1F286F, 0 0 200px rgba(0, 0, 0, 0.3);
}
#bottom-info {
    opacity: 0;
    position: absolute;
    width: 90%;
    height: 20%;
    left: 50%;
    max-width: calc(600px * var(--scale-factor));
    bottom: calc(20px * var(--scale-factor));
    background-image: url("ui2/bottom-info.svg");
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(-50%);
    background-position: bottom;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.nav {
    position: absolute;
    padding: 0;
    list-style: none;
    display: flex;
    user-select: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
    flex-direction: column;
    justify-content: flex-end;
}

.nav li {
    user-select: none;
    cursor: pointer;
    filter: brightness(1);
    height: 48px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
    color: transparent;
    padding: 0;
    margin: 10px 0;
    display: block;
}

.nav li:hover {
    filter: brightness(1.1);
}
.nav li img {
    position: absolute;
    left: 0;
    bottom: 0;
}

#nav-start {
    padding: 0;
    margin: 0;
    left: 50%;
    top: 50%;
    opacity: 0;
    pointer-events: none;
    width: 186.252px;
    height: 142px;
    transform-origin: center;
    transform: translateX(-50%) translateY(-50%) scale(calc(var(--scale-factor) / 1.2));
    flex-direction: column;
    align-content: space-between;
    justify-content: center;
}
#nav-start li {
    padding: 0;
    display: block;
    margin: 38px 0;
}
.nav-menu {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}  
#nav {
    left: calc(20px * var(--scale-factor));
    bottom: calc(20px * var(--scale-factor));
    margin-bottom: 0;
    width: 209.38px;
    height: 314.18px;
    transform-origin: bottom left;
    transform: scale(var(--scale-factor));
}
#nav1-menu, #nav-share-menu {
    margin-top: -12px;
}
#nav1-menu {
    margin-right: 6px;
}
#nav-share-menu {
    margin-right: -1.6px;
}
#nav1 {
    flex-direction: column;
    align-items: flex-end;
    right: calc(20px * var(--scale-factor));
    bottom: calc(20px * var(--scale-factor));
    margin-bottom: 0;
    width: 148.3px;
    height: 235.85px;
    transform-origin: bottom right;
    transform: scale(var(--scale-factor));
}

#nav1 li img {
    right: 0;
    left: auto;
}

#nav-share {
    flex-direction: column;
    align-items: flex-end;
    right: calc(110px * var(--scale-factor));
    bottom: calc(20px * var(--scale-factor));
    margin-bottom: 0;
    width: 51px;
    height: 288.6px;
    transform-origin: bottom right;
    transform: scale(var(--scale-factor));
}

#nav-share li img {
    right: 0;
    left: auto;
}

#wechat-qr-code {
    position: absolute;
    left: 50%;
    bottom: 20%;
    display: none;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('qrcode2.png');
    width: 300px;
    height: 337px;
    transform: translateX(-50%) scale(var(--scale-factor));
}
#hide_div-wecaht {
    right: -1px;
    transform: scale(var(--scale-factor) * 1.5);
}
#nav2 {
    overflow: hidden;
    flex-direction: column;
    align-items: flex-end;
    right: calc(20px * var(--scale-factor));;
    bottom: calc(20px * var(--scale-factor));
    margin-bottom: 0;
    width: 120px;
    height: 800px;
    transform-origin: right bottom;
    transform: scale(calc(var(--scale-factor)/1.4));
    margin-right: 0;
}
#r2-brn-0 {
    transform: scale(1.4);
}
#nav2 li {
    width: 95px;
    height: 40px;
    margin: 10px 0;
}
#nav-r2-menu {
    opacity: 0;
}
#nav-bottom {
    opacity: 0;
    pointer-events: none;
    bottom: calc(10px * var(--scale-factor));
    flex-direction: row;
    display: flex;
    width: 400px;
    height: 64px;
    left: 50%;
    text-align: center;
    transform-origin: bottom;
    transform: translateX(-50%) scale(var(--scale-factor));
    margin: 0;
    padding: 0;
}
#nav-bottom li {
    width: 200px;
    height: 64px;
    margin: 0 6px;
    padding: 0;
}
#v3d {
}
.hide_div {
    position: absolute;
    right: -24px;
    top: -24px;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    cursor: pointer;
    user-select: none;
    filter: brightness(1);
    background-image: url("ui/close.svg");
    background-size: contain;
    transform: scale(1.3);
}
#hide_div-3 {
    right: -12px;
}
.goback {
    user-select: none;
    display: flex;
    width: 80px;
    height: 80px;
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    filter: brightness(1);
    transform: scale(var(--scale-factor));
    transform-origin: top right;
}
.goback:hover {
    filter: brightness(1.1);
}
#soundBtn {
    position: absolute;
    user-select: none;
    cursor: pointer;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 16px;
    left: 16px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    filter: brightness(1);
    transform: scale(var(--scale-factor));
    transform-origin: top left;
}
    
#soundBtn:hover {
    filter: brightness(1.1);
}
.room2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url("bgcloud.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    filter: blur(3px);
    transition: filter 0.1s ease-out;
    opacity: 0;
    pointer-events: none;
}
.room2 img {
    pointer-events: none;
    user-select: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: none;
    object-fit: contain;
    object-position: center center;
    display: block;
}
.tip {
    color: rgba(255,225,0,1.00);
    font-size: 24px;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 40px;
    left: 0;
    user-select: none;
    pointer-events: none;
    opacity: 0;
    text-shadow: -2px 0 0 black, 2px 0 0 black, 0 2px 0 black, 0 -2px 0 black, -2px -2px 0 black, -2px 2px 0 black, 2px -2px 0 black, 2px 2px 0 black;
}
.tip img {
    width: auto;
    height: 32px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}
#mask {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 100px at 50% 50%, transparent, rgba(0, 0, 0, 0.95));
    transition: background 0.05s;
    user-select: none;
    opacity: 0;
    pointer-events: none;
    cursor: url('cursor.cur') 10 10, url('cursor.png') 10 10, auto !important;
}
    ::placeholder {
color: rgba(255,255,255,0.83);
}
#note-display {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 250px);
    display: none;
    justify-content: center;
    align-items: center;
}
#pureStickynoteImage {
    border: 1px solid #ccc;
}
#message-wall {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 260px;
    background-color: rgba(198,168,204,0.95);
    padding-top: 8px;
    transition: opacity 1s ease;
    opacity: 0;
    pointer-events: none;
    padding: 10px;
    transform-origin: bottom;
}
.message-input {
    border-radius: 20px;
    background-color: rgba(255,255,255,0.40);
    border: 4px #f9f4f9 solid;
    margin: 8px auto;
    padding: 8px;
    font-size: 14px;
    color: rgba(33,61,117,1);
}
#message-text-left {
    width: 100%;
    max-width: 500px;
    text-align: right;
    margin: 0 auto;
    padding-right: 2px;
    font-size: 12px;
    color: rgba(0,0,0,0.5);
}
#message-submit {
    cursor: pointer;
    display: flex;
    height: calc(64.3623px * var(--scale-factor) / 1.2);
    width: calc(186.252px * var(--scale-factor) / 1.2);
    border: none;
    font-size: 0;
    background-color: transparent;
    background-image: url("ui/submit.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 0;
}
#your-message, #your-name {
    max-width: 500px;
    width: 100%;
    display: block;
}
#your-name {
    height: 40px;
}
#your-message {
    height: 100px;
}
#news-embed {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90px 23px;
    pointer-events: none;
    padding: 11px;
}
#click-tip {
    position: absolute;
    display: none;
	pointer-events: none;
    top: 0;
    left: 0;
    margin-top: -10px;
    margin-right: 50px;
    width: 50px;
    height: 50px;
    transform-origin: center;
    transform: translateX(-50%);
}
#click-tip #hand, #click-tip #click-tip-img {
    transform: scale(0.5);
}
#hand {
	display: block;
	border: none;
	width: 73.8555px;
	height: 95.333px;
    
}
#click-tip-img {
    border: none;
    object-fit: contain;
    width: 296.862px;
    height: 117.3858px;
    margin-left: -200px;
    margin-top: -70px;
    display: none;
}

#belly {
	width: 200px;
	height: 180px;
	border-radius: 50%;
	margin-left: -100px;
	margin-top: -90px;
	position: absolute;
	display: none;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
    cursor: pointer;
}
#ultrasound {
    opacity: 0;
    pointer-events: none;
    display: block;
    position: absolute;
    max-width: 750px;
    width: 90%;
    height: auto;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    border: 16px solid #96b5cd;
    box-shadow: 0 0 0 5px #1f296f, 0 0 30px 0 rgba(0,0,0,0.3);
    border-radius: 14px;
    transition: opacity 1s ease;
    background-color: #000000;
}
#ultrasound-video {
    width: 100%;
    height: auto;
}
#hide_div-4 {
    margin-top: -16px;
    margin-right: -14px;
}
#room1-textbox {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    max-width: calc(400px * var(--scale-factor));
    width: 90%;
    height: auto;
    border: none;
    display: block;
    padding: 0;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12%;
    transform-origin: center;
}
#postcard-share-panel {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    max-width: 360px; 
    width: 70%;
    height: auto;
    border: none;
    display: block;
    padding: 0;
    margin: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-image: url("ui/sharepanel.webp");
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 5 / 4;
    background-size: contain;
}
#postcard-share-panel-btn {
    margin: 40% auto 0 auto;
    width: 75%;
    cursor: pointer;
    height: 35%;
}
#instruction {
    pointer-events: none;
    padding: 2rem;
    font-size: 0.9;
    text-align: justify;
    height: 100%;
    overflow: hidden;
    background-image: url("ui/instruction.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#instruction h2 {
    margin-top: 0;
}
#instruction h3 {
    font-size: 0.9;
    margin-top: 1rem;
    margin-bottom: 0;
    
}
#instruction p {
    margin-top: 0.3rem;
}
#instruction ol{
    margin-top: 0.3rem;
    padding-inline-start: 0;
    padding-left: 1.5rem;
}
#instruction li {
    margin: 0.3rem 0;
}
#postcard-share {
    display: none;
    position: absolute;
    width: calc(350px * var(--scale-factor));
    height: calc(740px * var(--scale-factor));
    max-height: 90vh;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-45%);
    transition: opacity 1s ease;
    transform-origin: center;
}

#postcard {
    overflow: hidden;
    position: relative;
    user-select: none;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    margin-bottom: 10px;
    aspect-ratio: 2 / 3;
    background-image: url("ui/postcard.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform-origin: top left;
}
#postcard-text {
    position: absolute;
    color: #727272;
    height: 16%;
    width: 40%;
    font-weight: 500;
    left: 30%;
    top: 22%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(calc(var(--scale-factor) / 1.3));
}
#postcard-seal {
    position: absolute;
    height: calc(100px * var(--scale-factor));
    width: calc(100px * var(--scale-factor));
    right: 16%;
    top: 41.8%;
    transform: scale(5);
    opacity: 0;
    pointer-events: none;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#postcard-input {
    display: block;
    min-height: 2.6rem;
    height: calc(30px * var(--scale-factor));
    width: 100%;
    background-color: rgba(255,255,255,0.85);
    border-radius: 300px;
    border: 3.5px #1f286f solid;
    text-align: center;
    margin: 10px 0;
    font-size: 18px;
    outline: none;
    color: #898989;
}
#postcard-input::placeholder {
    color: #898989;
    font-weight: 500;
}

#postcard-btn {
    display: block;
    margin: 10px auto;
    height: calc(30px * var(--scale-factor));
    aspect-ratio: 3 / 1;
    min-height: 36px;
    background-image: url("ui/btn-share.svg");
    background-size: contain;
    border: none;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.5s ease;
}
#share-icons {
    transform: translateY(-100%);
    margin: 10px auto;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
#share-icons li {
    cursor: pointer;
    width: calc(var(--vw) * 2.5);
    max-width: 6.8rem;
    max-height: 6.8rem;
    height: calc(var(--vw) * 2.5);
    min-width: 2.5rem;
    min-height: 2.5rem;
    background-size: 200%;
    border-radius: 50%;
    background-image: url("ui/share-icon.webp");
    display: inline-block;
    margin: 0 6px;
}
#hide_div-2 {
    transform: scale(var(--scale-factor));
}
#share-fb {
    background-position: top left;
}
#share-x {
    background-position: top right;
}
#share-wa {
    background-position: bottom left;
}
#share-wc {
    background-position: bottom right;
}
#wechatsharepage {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0,0,0,0.65);
    color: #ffffff;
}
#wechatsharepage img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

#wechatsharepage-icon-text {
    width: 300px;
    height: 300px;
    position: absolute;
    right: 10px;
    top: 0;
    text-align: right;
    font-size: 20px;
}
@keyframes heartBeat {
    0% {transform: scale(1); }
    14% { transform: scale(1.2); } 
    28% { transform: scale(1); }
    42% { transform: scale(1.2); } 
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}
.ani-heart-beat {
    animation: heartBeat 1.8s infinite; 
    -webkit-animation: heartBeat 1.8s infinite; 
    animation-fill-mode: forwards; 
}
@media screen and (max-width: 900px) {
    #postcard-seal {
        max-height: 6rem;
        max-width: 6rem;
        right: 14.5%;
        top: 42%;
        transform: scale(5);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
}

@media screen and (orientation: portrait) {
    #news {
        transform: translateX(-50%) translateY(-50%) scale(calc(var(--scale-factor)/1.2));
        max-height: calc(100vh * var(--scale-factor) * 2);
        max-width: calc(100vw * var(--scale-factor) * 2);
    }
    #room1-textbox {
        max-width: calc(600px * var(--scale-factor));
    }
    #nav2 {
        transform: scale(calc(var(--scale-factor)/1));
    }
    #r2-brn-0 {
        transform: scale(1);
    }
    #nav2 li {
        margin: 16px 0;
    }
}


@media screen and  (orientation: landscape) {
  #news {
        transform: translateX(-50%) translateY(-50%) scale(calc(var(--scale-factor)/1.7));
    }
}
@media screen and (orientation:landscape) and (max-height:800px) {
    #news {
        width: 854px;
        height: 480px;
        border-radius: 30px;
        transform: translateX(-50%) translateY(-50%) scale(calc(var(--scale-factor)/1.2));
    }
    #instruction {
        width: 854px;
        height: 480px;
        background-image: url("ui/intro-lan.webp");
    }
    #room1-textbox {
        width: 300px;
        bottom: 42px;
    }
    #nav-bottom {
        height: 30px;
        transform: scale(1) translateX(-50%);
        bottom: 6px;
        left: 50%;
        width: 190px;
    }
    #nav-bottom li {
        height: 30px;
        width: 50%;;
        transform: scale(1);
        margin: 0;
        padding: 0;
    }
    #nav-bottom li:first-of-type {
        margin-right: 20px;
    }
    #nav-bottom li img {
        width: auto;
        height: 30px;
        transform: scale(1);
    }
    #click-tip {
        margin-top: -30px;
        margin-left: -2rem;
    }
}
@media screen and (min-width: 1000px) {
  #postcard-text {
    transform: scale(1);
    }
}
