*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.noto-sans-tc {
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

* {
  -webkit-tap-highlight-color: transparent;
  /* 移除點擊高亮（針對手機/平板設備） */
  user-select: none;
  /* 禁止選中文本 */
  outline: none;
  /* 禁止元素的 outline，例如按鈕點擊後的虛線框 */
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
  /* 保持基礎字體大小一致 */
  line-height: 1.5;
}

*:active,
*:focus {
  outline: none !important;
  box-shadow: none !important;
  /* 移除點擊時的陰影效果 */
}

body {
  font-family: Arial, sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

body {
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: #d92e33;
}

.result {
  height: 100%;
  width: 100%;
  position: relative;
}

.result-bg {
  object-fit: cover;
  height: 100%;
}

.result-pic-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.result {
  height: 100%;
  width: 100%;
  background-image: url("/images/Moko_r1_OL_01 複本 8.png");
  background-position: center;
  background-size: cover;
  padding: 4% 2%;
}

.result-pic {
  width: 70%;
}

.poem-pic {
  position: relative;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.share-button {
  width: 60%;
  display: block;
}

.replay-button {
  width: 60%;
}

.camera-control {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}


.info {
  display: flex;
  justify-content: end;
  align-items: end;
  height: 20%;
}


.mobile-wrapper {
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  position: relative;
}

#video {
  padding: 0;
  max-height: 100%;
  border: 4px solid #720040;
  background-color: #720040;
}

.fb-on-ios-pic {
  width: 90%;
  margin-left: auto;
  margin-right: 1.5rem;
}

.fb-on-ios {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8)
}

/* .video-wrapper {
  height: 100%;
  background-color: #720040;
} */

#fakeButton {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#liveRenderTarget {
  width: 100%;
  height: 100%;
}

.fog {
  position: fixed;
  width: 100%;
  height: 100%;
}


.mirror {
  transform: scaleX(-1);
}

.hidden {
  display: none;
}

.switch-camera-button {
  position: absolute;
  bottom: 9%;
  width: 12%;
  right: 15%;
}

.desktopWrapper {
  width: 56.221889055vh;
  height: unset;
}
