:root {
  --bg: #001a35;
  --bg2: linear-gradient(to bottom, #001a35 0%, #001a35 40%, #27292d 80%);
  --headerBgWidth: calc(var(--headerWidth) - 1px);
  --headerWidth: 240px;
  --headerBg: #000f1f;
  --elseBgWidth: 320px;
  --fontColor: #a6a6a6;
  --fontColor2: #fff;
  --fontColor3: #00b8ff;
  --borderRadius: 5px;
  --padding-vertical: 8px;
  --padding-horizontal: 16px;
  --navBorder: 1px solid #273048;
  /* --boxBg: rgba(255, 255, 255, 0.03); */
  --boxBg: rgb(47, 35, 59);
  --boxBg2: rgba(26, 39, 53);
  --border: 1px solid #f3f5f726;
  --transition: all 0.15s;
  --content-bg: #181818;
  --body-width: 1859px;

  --comment-border: 1px solid #32363d;
  --commentMore-bg: #4a58fb;
  --comment-btn-bg: #01b96b;
  --comment-btn-bg2: #fc6369;
  --comment-btn-bg-hover: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.12)
    ),
    #1bb76e;
  --comment-btn-bg-hover2: rgba(255, 255, 255, 0.12);
  --comment-color: #eff1f4;
  --comment-color2: #b4b9c2;

  --editor-width: 900px;
  --editor-bg: #fff;
  --editor-bg-date: #fff08d;
  --editor-color: #333;
  --editor-color2: #666;
  --editor-color-bg: #f4f4f4;
  --editor-color-link: #000;
  --editor-color-hover: #00b8ff;
  --editor-icon-like: #ff492f;

  --layout1-mainLeft-width: 100px;

  --card--moreIn-color-download: #127fb5;
  --card--moreIn-color-enter: #ba63c6;
  --card--moreIn-color-delete: #e93434;
}
html::-webkit-scrollbar {
  display: none;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
:hover::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
}
:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.6);
}
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: var(--borderRadius);
  transition: var(--transition);
}
body::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
}
body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.6);
}
::-webkit-scrollbar-thumb {
  border-radius: var(--borderRadius);
  border: 2px solid transparent;
  background-clip: content-box;
  cursor: pointer;
  transition: var(--transition);
}
html {
  font-family: sans-serif, "Microsoft YaHei";
  -ms-text-size-adjust: calc(100% - 32px);
  -webkit-text-size-adjust: calc(100% - 32px);
  line-height: 1.5;
  font-size: 16px;
  margin: auto;
  overflow-y: scroll;
  color: var(--text-color);
}
body {
  margin: 0;
  position: relative;
  color: var(--fontColor);
  min-height: 100dvh;
  background: var(--bg);
}
body.no-scroll {
  position: fixed;
  width: 100%;
}
.body {
  background: var(--bg2);
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}
button {
  cursor: pointer;
  border: 0;
}
select,
textarea,
input:focus {
  outline: none;
}
input {
  color: var(--fontColor);
}
a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
  color: var(--fontColor);
  text-decoration: none;
  transition: all 0.25s;
}
a:active,
a:hover {
  outline-width: 0;
}
b,
strong {
  font-weight: bolder;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
h1,
h2 {
  line-height: 1.2;
  margin: 0 0 var(--padding-vertical) 0;
  padding: 0;
  color: var(--fontColor2);
}
h2 {
  font-size: 1.15rem;
}
p {
  line-height: 1.5;
  margin: 0;
}
figure {
  margin: 0;
}
video,
iframe,
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.icon {
  position: relative;
  display: block;
}
.icon svg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  fill: currentColor;
}
.body {
  display: flex;
  max-width: var(--body-width);
  margin: auto;
  position: relative;
}
header {
  height: 100dvh;
  z-index: 200;
  display: flex;
  justify-content: end;
  position: sticky;
  top: 0;
  left: 0;
}
header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--padding-horizontal);
}
header .logo .icon {
  color: var(--fontColor2);
  width: 130px;
  height: 20px;
}
header .logo .icon svg:nth-child(2) {
  display: none;
}
header .navBg {
  width: var(--headerWidth);
  background: var(--headerBg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
header .navTop,
header .navBottom .bigBtn {
  width: -webkit-fill-available;
}
header .navTop nav a {
  display: flex;
  align-items: center;
  gap: var(--padding-horizontal);
  padding: var(--padding-vertical) var(--padding-horizontal);
}
header .navTop nav a.active {
  color: var(--fontColor2);
}
header .navTop nav a .icon {
  width: 1rem;
  height: 1rem;
}
header .navBottom .bigBtn,
.navSmall {
  padding: 12px var(--padding-horizontal);
}
header .navBottom .bigBtn {
  margin-top: var(--padding-vertical);
}
header .navBottom .bigBtn ul {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;
}
header .navBottom .bigBtn ul li {
  width: 100%;
}
header .navBottom .bigBtn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--padding-vertical);
  padding: var(--padding-vertical) var(--padding-horizontal);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  max-width: 218px;
  margin: auto;
}
header .navBottom .bigBtn a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}
.premium {
  background: #002247;
  color: #fff;
}
.premium .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.premium .icon svg:first-child {
  color: #73c2ff;
}
.premium .icon svg:last-child {
  color: var(--bg);
}
header .navBottom {
  margin: var(--padding-horizontal) 0;
}
header .navBottom .bigBtn a span {
  position: relative;
  z-index: 2;
}
header .navBottom .bigBtn a.build {
  background: #c2c6ff;
  color: var(--bg);
}
header .navBottom .bigBtn a.build .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.navSmall ul {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-around;
  gap: var(--padding-vertical);
}
.navSmall ul li a {
  font-size: 0.75rem;
}
main {
  position: relative;
  display: flex;
}
.asideBg {
  position: sticky;
  top: 0%;
  z-index: 100;
  background: var(--bg);
  transition: all 0.25s;
}
.asideBg.hidden {
  top: -100%;
}
aside {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding: var(--padding-horizontal);
}
aside .navBg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: var(--padding-vertical);
}
aside .navBg nav {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow-y: auto;
}
aside .navBg nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 1;
  min-width: max-content;
}
aside .navBg nav ul li a {
  font-size: 0.9875rem;
  padding: var(--padding-vertical) var(--padding-horizontal);
  border-bottom: 2px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  position: relative;
  border-radius: 2em;
  overflow: hidden;
}
aside .navBg nav ul li a[class*="label"] {
  color: var(--bg);
  font-weight: bold;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-right: 0.5rem;
  font-size: 0.875em;
}
aside .navBg nav ul li a.label1 {
  background: #c5b730;
}
aside .navBg nav ul li a.label2 {
  background: #fb8905;
}
aside .navBg nav ul li a.label3 {
  background: #ff4936;
}
aside .navBg nav ul li a.label4 {
  background: #ff60ce;
}
aside .navBg nav ul li a span {
  transform: translateY(2px);
  line-height: 1;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
aside .h1 a h1 {
  font-size: 0.9875rem;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1;
}
aside .navBg nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #fff;
  z-index: 1;
}
aside .navBg nav ul li a .iconBg {
  background: var(--fontColor);
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--padding-vertical);
}
aside .navBg nav ul li a .iconBg .icon {
  width: 0.5em;
  height: 0.5em;
  color: var(--bg);
  transform: rotate(90deg);
}
aside .navBg nav ul li a.active {
  background: var(--fontColor3);
  color: var(--bg);
}
aside .navBg .composing ul {
  display: flex;
}
aside .navBg .composing ul li a .icon {
  width: 1.75rem;
  height: 1.75rem;
}
aside .navBg .composing ul li a.active {
  color: var(--fontColor2);
}
.pagination {
  width: 100%;
  position: relative;
  z-index: 5;
  overflow-x: auto;
  overflow-y: hidden;
}
.pagination.top {
  top: 0;
}
.pagination.bottom {
  bottom: 0;
}
.pagination .page-listBg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}
.pagination .page-list {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
}
.pagination .page-list .more {
  border: 0;
}
.pagination button,
.pagination ul li {
  width: 1.45em;
  height: 1.45em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 0.875rem;
  border: var(--border);
  color: var(--linkColor);
  background: var(--bg);
  margin: 0 3px;
  padding: 0;
  transition: var(--transition);
  line-height: 1;
}
.pagination button.current,
.pagination ul li.current {
  border-color: var(--color);
  background: var(--fontColor3);
  font-weight: bold;
}
.pagination button.current,
.pagination ul li.current,
.pagination button.current svg {
  color: var(--bg);
}
.pagination button svg {
  color: var(--linkColor);
  stroke: none;
  fill: currentColor;
  width: 16px;
}
.pagination button.prev {
  transform: rotate(180deg);
}
.masonry {
  position: relative;
  margin: var(--padding-horizontal);
  margin-top: 0;
}
.masonry::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
}
.masonry article {
  background: var(--boxBg);
  border-radius: var(--borderRadius);
  margin-bottom: var(--padding-horizontal);
  break-inside: avoid;
}

.masonry article .apply2 {
  text-align: center;
  display: flex;
  flex-flow: row wrap;
  align-items: center; /* 垂直置中 */
  justify-content: center; /* 水平置中 */
  padding: calc(var(--padding-horizontal) * 1);
  gap: var(--padding-horizontal);
  background: linear-gradient(45deg, #0f1342 55%, #33106c 100%);
  position: relative;
  border: 3px solid rgb(15, 74, 163);
  border-radius: var(--borderRadius);
  width: 100%;
}

.masonry article .apply2 img {
  height: 40px;
}

.masonry article .apply {
  text-align: center;
  display: flex;
  flex-flow: row wrap;
  padding: calc(var(--padding-horizontal) * 2);
  gap: var(--padding-horizontal);
  background: linear-gradient(45deg, #0f1342 55%, #33106c 100%);
  position: relative;
  border: 3px solid rgb(151, 22, 102);
  border-radius: var(--borderRadius);
}
.masonry article .apply::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/apply_bg.jpg) no-repeat bottom left / 50% auto;
}
.masonry article .apply .text {
  color: var(--fontColor2);
  width: 100%;
  min-height: 5em;
  z-index: 1;
}
.masonry article .apply button {
  background: #c2c6ff;
  color: var(--bg);
  border: 0;
  padding: calc(var(--padding-horizontal) / 2)
    calc(var(--padding-horizontal) * 2);
  border-radius: 2em;
  margin: auto;
  z-index: 1;
  font-weight: 600;
}

.masonry article .apply button:hover {
  background: #a1a6ff; /* hover 時變色 */
}

.masonry article .cardBg {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  padding: var(--padding-vertical) var(--padding-horizontal);
  position: relative;
  cursor: pointer;
}
.masonry article .cardBg:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  transition: var(--transition);
}
.masonry article .cardBg .remind {
  width: 100%;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  margin-bottom: var(--padding-horizontal);
  gap: var(--padding-horizontal);
}
.masonry article .cardBg .remind .remindLeft {
  display: flex;
  align-items: center;
}
.masonry article .cardBg .remind .iconBg {
  background: var(--fontColor);
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  margin-right: var(--padding-vertical);
}
.masonry article .cardBg .remind .iconBg .icon {
  width: 60%;
  height: 60%;
}
.masonry article .cardBg .remind .hide {
  color: var(--fontColor3);
}
.masonry article .cardBg .card {
  display: flex;
  font-size: 1rem;
  gap: var(--padding-vertical);
}
.masonry article .cardBg .card .img {
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .img {
  width: 100%;
  aspect-ratio: 1 / 1; /* 固定正方形區域 */
  overflow: hidden;
}

.card .img img,
.card .img video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 以填滿容器為主，不變形 */
  object-position: center; /* 取中間部分 */
  display: block;
}

.masonry article .cardBg .card .text .name {
  color: var(--fontColor2);
}
.masonry article .cardBg .card .text .date {
  font-size: 0.875rem;
}
.masonry article .cardBg .more {
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  cursor: pointer;
  padding: var(--padding-vertical);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.masonry article .cardBg .more .icon {
  width: 70%;
  height: 70%;
}
.masonry article .cardBg .moreBg .moreIn {
  position: absolute;
  right: 0.5em;
  top: calc(100% - 0.5rem);
  z-index: 1;
  min-width: 5em;
  text-align: center;
  background: #fff;
  border-radius: var(--borderRadius);
  padding: 0.5rem;
  display: none;
  z-index: 4;
}
.masonry article .cardBg .moreBg .moreIn.active {
  display: block;
}
.masonry article .cardBg .moreBg .moreIn::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #ffffff transparent;
  position: absolute;
  right: 1em;
  top: -10px;
}

.masonry article .cardBg .moreBg .moreIn .download svg {
  color: var(--card--moreIn-color-download);
}
.masonry article .cardBg .moreBg .moreIn .enter svg {
  color: var(--card--moreIn-color-enter);
}
.masonry article .cardBg .moreBg .moreIn .delete svg {
  color: var(--card--moreIn-color-delete);
}
.masonry article .cardBg .moreBg .moreIn a {
  color: #111;
  padding: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  line-height: 1;
  border-radius: var(--borderRadius);
}
.masonry article .cardBg .moreBg .moreIn a .icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.masonry article .fireBg,
.masonry article .shareBg,
.masonry article .label,
.masonry article .msg {
  padding: var(--padding-horizontal);
}
.masonry article .label,
.masonry article .msg {
  padding-bottom: 0;
}
.masonry article .label {
  padding-top: 0;
}
.masonry article .shareBg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: row wrap;
  padding-top: var(--padding-vertical);
}
.masonry article .shareBg .number {
  border: 0px solid #273048;
  border-radius: 25px;
  padding: 2px var(--padding-horizontal);
  font-weight: bold;
  cursor: pointer;
}
.masonry article .shareBg .share {
  display: flex;
  align-items: center;
}
.masonry article .shareBg .share ul {
  display: flex;
  align-items: center;
  gap: var(--padding-vertical);
}
.masonry article .shareBg .share ul li {
  position: relative;
  cursor: pointer;
  padding: 0.35em;
  border-radius: 5px;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.masonry article .dialogBoxLink {
  position: relative;
}
.masonry article .dialogBoxLink .dialogBox {
  display: none;
}
.masonry article .shareBg .share ul li .icon {
  width: 1.375rem;
  height: 1.375rem;
}
.masonry article .shareBg .share .count {
  margin-left: 0.25rem;
  font-size: 0.875rem;
  bottom: -2px;
  position: relative;
}
.masonry article .picHide {
  color: var(--fontColor);
  background: #ffffff0d;
  margin: var(--padding-vertical);
  border-radius: var(--borderRadius);
  padding: calc(var(--padding-horizontal) * 2);
  text-align: center;
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  gap: var(--padding-horizontal);
  min-height: 200px;
}
.masonry article .picHide div {
  width: 100%;
}
.masonry article .picHide .title {
  font-size: 1.125rem;
}
.masonry article .picHide .text {
  font-size: 0.9875rem;
}
.masonry article .picHide button {
  color: var(--fontColor2);
  background: #ffffff0d;
  border: 0;
  padding: var(--padding-vertical) var(--padding-horizontal);
  border-radius: 2em;
  font-size: 0.875rem;
}
.masonry article .pic {
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  position: relative;
}
.masonry article .pic .page {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  background: rgb(0 0 0 / 70%);
  padding: 0.25rem 0.5rem;
  border-radius: 1em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  z-index: 3;
  color: #FFF;
}
.masonry article .fireBg {
  padding-bottom: 0;
}
.masonry article .fireBg .fire {
  border-bottom: var(--navBorder);
  padding-bottom: var(--padding-vertical);
  cursor: pointer;
}
.masonry article .fireBg .fire .dialogBoxLink,
.masonry article .fireBg .fire .iconBg {
  display: inline-flex;
}
.masonry article .fireBg .fire .iconBg span {
  display: flex;
  align-items: center;
  font-weight: bold;
}
.masonry article .fireBg .fire .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.masonry article .msg p {
  color: var(--fontColor2);
}
.masonry article .label h4 {
  display: inline-block;
  margin-right: var(--padding-horizontal);
  margin: 0;
  font-size: 0.875rem;
  font-weight: 100;
}
.else .searchBar,
.else .track,
.else .blong,
.else .sponsors,
.else .adexpBtn {
  background: var(--boxBg2);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 2px solid var(--bg);
}
.else .searchBarBg {
  position: sticky;
  display: flex;
  align-items: center;
  padding: var(--padding-vertical) 0;
  top: 0%;
  z-index: 10;
  transition: all 0.25s;
}
.else .searchBar {
  display: flex;
  align-items: center;
  padding: var(--padding-vertical) var(--padding-horizontal);
  border-radius: 30px;
  margin-bottom: 0;
  width: -webkit-fill-available;
}
.else .searchBar .icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.5rem;
}
.else .searchBar input {
  background: transparent;
  border: 0;
  font-size: 0.875rem;
  width: -webkit-fill-available;
  color: var(--fontColor2);
}
.else .adexpBtn {
  background: linear-gradient(
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.1) 100%
  );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  padding: var(--padding-horizontal);
  display: flex;
  align-items: center;
  gap: var(--padding-vertical);
  margin: 2rem 0;
}
.else .adexpBtn .premium {
  background: transparent;
}
.else .adexpBtn .icon {
  width: 1.65rem;
  height: 1.65rem;
  position: relative;
}
.else .adexpBtn .arrowBg {
  background: #7c5cff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.else .adexpBtn .arrowBg .arrow {
  transform: rotate(180deg);
  width: 0.95em;
  height: 0.95em;
  color: var(--bg);
}
.else .adexpBtn .adexpText {
  width: calc(100% - 2rem - 1.65rem - var(--padding-vertical));
}
.else .titleH {
  padding: var(--padding-horizontal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--fontColor2);
  border-bottom: var(--navBorder);
  font-weight: bold;
}
.else .titleH .more {
  font-size: 0.9375rem;
}
.else .titleH .more .icon {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
}
.else .bottom a,
.else .titleH a {
  color: var(--fontColor3);
}
.else .blong .in ul li a {
  display: flex;
  align-items: center;
  padding: var(--padding-vertical);
  gap: var(--padding-vertical);
  position: relative;
  width: -webkit-fill-available;
}
.else .blong .in ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #fff;
  z-index: 1;
}
.else .blong .in ul li a div {
  position: relative;
  z-index: 5;
}
.else .blong .in ul li a .img {
  border-radius: var(--borderRadius);
  overflow: hidden;
}
.else .blong .in ul li a .text {
  width: calc(100% - 8rem);
}
.else .blong .in ul li a .text h3 {
  color: var(--fontColor2);
  margin: 0;
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.else .blong .in ul li a .text p {
  color: var(--fontColor);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.else .track .in {
  padding: var(--padding-vertical);
}
.else .track .in ul {
  display: flex;
  flex-flow: row wrap;
  gap: 0 var(--padding-vertical);
}
.else .track .in ul li a {
  color: var(--fontColor2);
  font-size: 0.75rem;
}
.else .track .in ul li a h3 {
  margin: 0;
  font-weight: 500;
}
.else .icon-track {
  border: 0;
  color: var(--fontColor3);
  font-size: 0.875rem;
  font-weight: bold;
  background: transparent;
}
.else .icon-close {
  width: 0.625rem;
  height: 0.625rem;
  background-color: var(--fontColor);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2.8L11.2 0 7 4.2 2.8 0 0 2.8 4.2 7 0 11.2 2.8 14 7 9.8l4.2 4.2 2.8-2.8L9.8 7 14 2.8z'/%3E%3C/svg%3E")
    center center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2.8L11.2 0 7 4.2 2.8 0 0 2.8 4.2 7 0 11.2 2.8 14 7 9.8l4.2 4.2 2.8-2.8L9.8 7 14 2.8z'/%3E%3C/svg%3E")
    center center / contain no-repeat;
  border: 0;
}
.else .bottom {
  border-top: var(--navBorder);
  padding: var(--padding-horizontal);
  text-align: center;
  font-weight: bold;
  font-size: 0.9375rem;
}
.else .track .in ul li a .img {
  max-width: 37px;
}
.else .blong .in ul li a .img {
  max-width: 37px;
}
.else .sponsors {
  background: transparent;
}
.else .sponsors .titleH {
  border-bottom: 0;
  padding-bottom: var(--padding-vertical);
}
.else .sponsors ul li a {
  padding: 0;
}
.navSmall {
  width: -webkit-fill-available;
  padding-top: 0;
}
.navSmall ul li a {
  color: var(--fontColor);
}
footer .iconBg {
  position: fixed;
  right: var(--padding-vertical);
  bottom: var(--padding-vertical);
}
footer .iconBg .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--fontColor);
  margin: var(--padding-vertical);
  cursor: pointer;
}
footer .iconBg .icon:first-child {
  margin-bottom: var(--padding-horizontal);
}
.iconAll {
  display: none;
}

/* 點圖放大-捲軸 */
body.image-scroll {
  position: fixed;
  width: 100%;
}
/* 點圖放大-遮罩背景 */
.image-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.image-overlay .close-btn {
  position: absolute;
  right: 2rem;
  top: 2rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--fontColor);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2.8L11.2 0 7 4.2 2.8 0 0 2.8 4.2 7 0 11.2 2.8 14 7 9.8l4.2 4.2 2.8-2.8L9.8 7 14 2.8z'/%3E%3C/svg%3E")
    center center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2.8L11.2 0 7 4.2 2.8 0 0 2.8 4.2 7 0 11.2 2.8 14 7 9.8l4.2 4.2 2.8-2.8L9.8 7 14 2.8z'/%3E%3C/svg%3E")
    center center / contain no-repeat;
  border: 0;
}
/* 點圖放大 */
.image-overlay .pic {
  max-width: 90dvw;
  border-radius: var(--borderRadius);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.image-overlay .pic,
.image-overlay .pic img {
  max-height: 90dvh;
}
.lightBox {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 70%);
  z-index: 999;
  height: 100%;
  margin: auto;
  align-items: center;
  justify-content: center;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightBox.active {
  opacity: 1;
  visibility: visible;
}

/* 桌面版：有縮放＋淡入 */
.upload-areaBg.big {
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightBox.active .upload-areaBg.big {
  transform: scale(1);
  opacity: 1;
}

/* 📱 手機版（例如寬度 < 768px）：停用縮放，只淡入 */
@media (max-width: 768px) {
  .upload-areaBg.big {
    transform: none !important; /* 不縮放，避免抖動 */
  }

  .lightBox.active .upload-areaBg.big {
    transform: none !important;
  }
}

.lightBox-close {
  position: absolute;
  right: -1rem;
  top: -1rem;
  z-index: 5;
  cursor: pointer;
  transition: var(--transition);
}
.lightBox-close svg {
  width: 1rem;
  height: 1rem;
  background: #3c424b;
  color: #fff;
  padding: 0.75rem;
  border-radius: 50%;
  box-shadow: -5px 5px 7px 6px rgb(24 15 66 / 65%);
}
.upload-ok {
  font-size: 1.5rem;
  color: #fff;
}
.upload-ok img {
  max-width: 100px;
}
.upload-areaBg {
  position: relative;
  max-width: 400px;
  width: 100%;
  margin: 2rem;
  max-height: 90dvh;
}
.upload-areaBg.big {
  max-width: 1030px;
}
.upload-areaBg.widthAuto {
  width: initial;
}
.upload-area {
  position: relative;
  text-align: center;
  font-size: 0.875rem;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  overflow-y: auto;
  max-height: 90dvh;
}
.upload-title-bg,
.upload-ok {
  padding: 2rem 1rem 1rem 1rem;
}
.upload-title-bg {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  min-height: 10rem;
}
.upload-title-pic {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0f1342 65%, #291263 100%);
  transition: var(--transition);
  z-index: -1;
  border-radius: 15px;
  overflow: hidden;
}
.upload-title-pic::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/apply_bg.jpg) no-repeat 3% 97% / 200px auto;
}
.upload-title {
  border: 2px dashed rgb(255 255 255 / 50%);
  width: 80%;
  height: 35%;
  margin: auto;
  border-radius: var(--borderRadius);
  max-width: 10em;
  display: block;
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1.125em;
  z-index: 1;
}
.upload-input {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}
.upload-preview-bg {
  background: #3c424b;
  padding: 1rem;
  min-height: 10dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 15px 15px;
}
.upload-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #272a33;
  padding: 0.25rem 1rem;
  border-radius: var(--borderRadius);
  transition: var(--transition);
  z-index: 1;
  margin-top: 0.5rem;
}
.upload-preview img {
  margin-right: 0.5em;
  max-width: 25px;
}
.upload-btn {
  color: #fff;
  background: transparent;
}
.upload-thumb,
.upload-video {
  display: none;
}
.upload-previewTop {
  z-index: 1;
  width: 100%;
  color: #fff;
}
.upload-bottom {
  padding: 1rem 10%;
  text-align: left;
}
.upload-bottom form {
  position: relative;
}
.upload-bottom .titleH {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.upload-bottom .titleH input {
  background: transparent;
  border: 0;
  width: 100%;
  color: #fff;
}
.upload-bottom select {
  margin-bottom: 0.5rem;
}
.upload-bottom select,
.upload-bottom textarea {
  padding: 0.5rem;
  font-size: 0.85rem;
  border-radius: 2px;
  border: 1px solid transparent;
  background: #dfdddd;
}
.upload-bottom textarea {
  width: -webkit-fill-available;
  min-height: 5em;
  max-width: -webkit-fill-available;
  transition: var(--transition);
}
.upload-bottom textarea.active {
  background: #fffdd8;
}

.upload-bottom .apply button {
  background: #c2c6ff;
  color: var(--bg);
  border: 0;
  padding: calc(var(--padding-horizontal) / 2)
    calc(var(--padding-horizontal) * 2);
  border-radius: 2em;
  margin: auto;
  z-index: 1;
  font-weight: 600;
}

.upload-bottom .apply button:hover {
  background: #a1a6ff; /* hover 時變色 */
}

.upload-bottom .apply {
  display: flex;
  justify-content: center; /* 水平置中 */
  align-items: center; /* 垂直置中（如果有高度） */
  padding: 1rem 0;
}
.lightBox-msgBg {
  position: relative;
  max-width: 350px;
  width: 100%;
  margin: 2rem;
  max-height: 90dvh;
  color: #fff;
}
.lightBox-msg {
  border-radius: var(--borderRadius);
  overflow: hidden;
  display: none;
}
.lightBox-msg.active {
  display: block;
}
.lightBox-msg .titleH,
.lightBox-msg .text {
  padding: 1.5rem;
}
.lightBox-msg .titleH {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: #585f69;
  text-align: center;
  font-weight: bold;
  position: relative;
}
.lightBox-msg .titleH .lightBox-close {
  top: 50%;
  transform: translateY(-50%);
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightBox-msg .titleH .lightBox-close svg {
  box-shadow: none;
  background: transparent;
}
.lightBox-msg .text {
  background: #3b424c;
  font-size: 0.875rem;
}
.lightBox-msg .btnBg {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 2rem;
}
.lightBox-msg button {
  padding: 0.5rem 2rem;
  border-radius: var(--borderRadius);
  background: #7c7c7c;
  color: #fff;
  font-weight: bold;
  position: relative;
  top: 0;
  opacity: 0.5;
}
.lightBox-msg .confirm {
  opacity: .8;
}
.lightBox-msg.download .confirm{
  background: var(--card--moreIn-color-download);
}
.lightBox-msg.enter .confirm{
  background: var(--card--moreIn-color-enter);
}
.lightBox-msg.delete .confirm{
  background: var(--card--moreIn-color-delete);
}
.sponsor {
  --sponsor-img-width: 150px;
  border-radius: 15px;
  padding-bottom: 5rem;
}

.sponsor .title {
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #fff;
}

.sponsor .title img {
  max-width: 100px;
  margin: auto;
  display: block;
  margin-bottom: 0.5rem;
}
.sponsor ul {
  width: 100%;
  margin-top: 0.5rem;
}
.sponsor ul li a {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  border-radius: 5px;
  position: relative;
  color: #fff;
  margin: 1rem 0;
  font-size: 0.9875rem;
}
.sponsor ul li a::before {
  content: "";
  background: #273048;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
}
.sponsor .msg {
  width: calc(100% - var(--sponsor-img-width) - 0.5rem);
}
.sponsor .img {
  max-width: var(--sponsor-img-width);
  margin-left: 0.5rem;
}

/* 贊助我們彈窗 (lightBox-apply2) — 沿用「立即發佈」紫色漸層 + 骷髏裝飾風格 */
#lightBox-apply2 .upload-areaBg {
  max-width: 460px;
}
#lightBox-apply2 .upload-title-bg {
  display: block;
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  min-height: auto;
  color: #fff;
}
#lightBox-apply2 .sponsor {
  padding: 0;
  background: transparent;
  border-radius: 0;
}
#lightBox-apply2 .sponsor .title {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  line-height: 1.4;
}
#lightBox-apply2 .sponsor .title img {
  max-width: 72px;
  margin: 0 auto 0.5rem;
}
#lightBox-apply2 .sponsor .title .mainT {
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
#lightBox-apply2 .sponsor .title .sub {
  font-weight: normal;
  font-size: 0.78rem;
  opacity: 0.65;
  margin-top: 0.35rem;
}
#lightBox-apply2 .sponsor ul {
  margin-top: 0.75rem;
  text-align: left;
}
#lightBox-apply2 .sponsor ul li a {
  background: rgb(0 0 0 / 35%);
  border: 1px solid rgb(255 255 255 / 8%);
  padding: 0.75rem 0.9rem;
  margin: 0.6rem 0;
  border-radius: 10px;
  transition: var(--transition);
  flex-wrap: nowrap;
  color: #fff;
}
#lightBox-apply2 .sponsor ul li a:hover {
  background: rgb(0 0 0 / 50%);
  border-color: rgb(255 255 255 / 18%);
}
#lightBox-apply2 .sponsor ul li a::before {
  display: none;
}
#lightBox-apply2 .sponsor .msg {
  flex: 1 1 auto;
  width: auto;
  display: flex;
  flex-flow: column;
  gap: 0.15rem;
  min-width: 0;
}
#lightBox-apply2 .sponsor .msg .t {
  font-weight: bold;
  font-size: 0.95rem;
}
#lightBox-apply2 .sponsor .msg .d {
  font-size: 0.72rem;
  opacity: 0.6;
}
#lightBox-apply2 .sponsor .img {
  flex: 0 0 auto;
  max-width: 140px;
  margin-left: 0.75rem;
}
#lightBox-apply2 .sponsor .img img {
  width: 100%;
  display: block;
}
#lightBox-apply2 .sponsor .thanks {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.55;
  margin-top: 1.25rem;
}

/* 公告彈窗 (lightBox-notice) — 公告風排版 */
#lightBox-notice .upload-areaBg {
  max-width: 460px;
}
#lightBox-notice .upload-area {
  overflow: hidden;
}
#lightBox-notice .upload-title-bg {
  display: block;
  text-align: left;
  padding: 2.25rem 2rem 1.5rem;
  min-height: auto;
  color: #fff;
  border-radius: 15px 15px 0 0;
}
#lightBox-notice .notice .header {
  text-align: center;
  margin-bottom: 0.25rem;
}
#lightBox-notice .notice .header .logo {
  display: block;
  height: 44px;
  width: auto;
  margin: 0 auto 0.85rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
#lightBox-notice .notice .mainT {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1.3;
}
#lightBox-notice .notice .sub {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-top: 0.35rem;
}
#lightBox-notice .notice .divider {
  height: 1px;
  background: rgb(255 255 255 / 12%);
  margin: 1.25rem 0;
}
#lightBox-notice .notice .block {
  padding: 0;
}
#lightBox-notice .notice .blockT {
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  opacity: 0.55;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
#lightBox-notice .notice .rules {
  margin: 0;
  padding: 0;
  list-style: none;
}
#lightBox-notice .notice .rules li {
  display: flex;
  align-items: baseline;
  padding: 0.3rem 0;
  font-size: 0.875rem;
}
#lightBox-notice .notice .rules .k {
  flex: 0 0 auto;
  width: 3.5em;
  font-weight: bold;
  opacity: 0.95;
  position: relative;
}
#lightBox-notice .notice .rules .k::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff7a4d;
  vertical-align: middle;
  margin-right: 0.6rem;
  margin-bottom: 2px;
}
#lightBox-notice .notice .rules .v {
  flex: 1 1 auto;
  opacity: 0.78;
  font-size: 0.82rem;
}
#lightBox-notice .notice .block p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.78;
}
#lightBox-notice .notice .sponsorLink {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: bold;
  color: #ff8a5d;
  text-decoration: none;
  transition: var(--transition);
}
#lightBox-notice .notice .sponsorLink:hover {
  color: #ffae8a;
  transform: translateX(3px);
}
#lightBox-notice .notice-foot {
  padding: 1rem 2rem 1.25rem;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 15px 15px;
}
#lightBox-notice .notice-foot .knowBtn {
  position: static;
  width: 100%;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  color: #fff;
  background: linear-gradient(90deg, #ff6a3d 0%, #ff3d7f 100%);
  border: none;
}
#lightBox-notice .notice-foot .knowBtn:hover {
  filter: brightness(1.1);
}

.textareaBg {
  position: relative;
}
.textareaBg button {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  font-size: 0.5rem;
  background: #a0a5a9;
  color: #000;
  padding: 0.15rem 0.25rem;
  border-radius: 3px;
}
.upload-newPicBg {
  padding-bottom: 1rem;
  width: -webkit-fill-available;
}
.gallery {
  display: flex;
  flex-flow: row wrap;
  z-index: 3;
}
.gallery .card {
  position: relative;
  margin: 0.5rem 0.5rem 0 0;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  background: #fff;
  width: 110px;
  height: 110px;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.gallery .card video,
.gallery .card img {
  max-width: 110px;
  max-height: 110px;
  z-index: 1;
}
.gallery .remove,
.gallery .edit {
  background: transparent;
  position: absolute;
  left: -0.5em;
  padding: 0;
  z-index: 5;
}
.gallery .remove svg,
.gallery .edit svg {
  width: 10px;
  height: 10px;
  background: #46505b;
  padding: 6px;
  border-radius: 50%;
  color: #fff;
  fill: currentColor;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.5);
}
.gallery .remove {
  top: -6px;
}
.gallery .remove svg:hover {
  background: #374049;
}

.gallery .edit {
  top: 22px;
}
.gallery .loading {
  background: #000a16a1;
  color: #fff;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 2;
}
.gallery .img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.videoBg {
  display: flex;
  align-items: center;
  justify-content: center;
}
.videoBg video {
  max-height: 90dvh;
}
.comment {
  background: #27292d;
  padding: 1rem;
  color: var(--comment-color);
}
.create {
  overflow: hidden;
  border: 1px solid #585d6a;
  color: var(--comment-color2);
  border-radius: var(--borderRadius);
  margin-bottom: 2rem;
  max-width: 650px;
}
.create textarea,
.create .postBg {
  padding: 1rem;
}
.create .postBg {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.create textarea {
  width: 100%;
  box-sizing: border-box;
  background: #37393f;
  border: 0;
  min-height: 3rem;
  max-height: 10rem;
  color: var(--comment-color2);
  display: block;
}
.create button {
  color: var(--comment-color2);
  background: transparent;
  font-weight: bold;
  font-size: 0.875rem;
  padding: 0.25rem 1rem;
  border-radius: var(--borderRadius);
  transition: var(--transition);
  background: var(--comment-btn-bg-hover2);
}
.comment ul li {
  border-top: var(--comment-border);
  margin-top: 1rem;
  padding-top: 1rem;
}
.commentHead {
  font-weight: bold;
  color: var(--comment-color);
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
}
.commentHead .right,
.commentHead .right div {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}
.commentHead .right div {
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--comment-color2);
  cursor: pointer;
}
.commentHead .right .icon {
  width: 15px;
  height: 15px;
  margin-left: 0.25rem;
}
.commentCard {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  color: var(--comment-color2);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.commentCard .img img {
  width: 24px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.5rem;
}
.commentCard .text {
  display: flex;
  align-items: center;
}
.commentCard .name {
  font-weight: bold;
  color: var(--comment-btn-bg);
}
.commentCard .date::before {
  content: "．";
  padding: 0 0.25rem;
}
.commentVote {
  margin-top: 0.5rem;
}
.commentVote,
.commentVote div {
  display: flex;
  align-items: center;
  color: var(--comment-color2);
}
.commentVote div span,
.commentVote div {
  margin-right: 0.5rem;
  font-size: 0.875rem;
  font-weight: bold;
}
.commentVote .icon {
  width: 16px;
  height: 16px;
  stroke: var(--comment-color2);
  margin-top: -3px;
  position: relative;
  cursor: pointer;
}
.vote-add span {
  position: relative;
  cursor: pointer;
}
.vote-add::before {
  content: "";
  display: block;
  height: 12px;
  width: 1px;
  background-color: var(--comment-color2);
  margin-right: 1rem;
}
.commentVote .vote-bottom {
  margin-right: 0;
}
.commentMore {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  border-top: var(--comment-border);
  padding-top: 1rem;
  cursor: pointer;
}
.commentMore div {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  padding: 0.5rem 3rem;
  border: 2px solid var(--commentMore-bg);
  position: relative;
  border-radius: var(--borderRadius);
  overflow: hidden;
  color: #fff;
}
.commentMore div::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 0%;
  z-index: 1;
  background: var(--commentMore-bg);
  transition: var(--transition);
}
.commentMore span {
  z-index: 2;
}
.commentMore .icon {
  width: 18px;
  height: 18px;
  margin-left: 0.5rem;
}
.editorBg {
  padding: 0 var(--padding-horizontal);
  font-size: 0.9375rem;
  min-height: calc(100dvh - 68px);
  width: -webkit-fill-available;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.editor,
.editor h2 {
  color: var(--editor-color);
}
.editor {
  max-width: var(--editor-width);
  margin: 2rem auto;
  background: var(--editor-bg);
  padding: var(--padding-horizontal);
  border-radius: 15px;
  width: -webkit-fill-available;
}
.editor .echo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.editor .tags,
.editor .echo,
.editor .icon {
  color: var(--editor-color2);
}
.editor .fancy {
  font-family: "Lucida Handwriting", "Snell Roundhand";
  font-size: 1.5rem;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}
.editor .fancy span:nth-child(7n + 1) {
  color: #00b8ff;
}
.editor .fancy span:nth-child(7n + 2) {
  color: #7c5cff;
}
.editor .fancy span:nth-child(7n + 3) {
  color: #ff62ce;
}
.editor .fancy span:nth-child(7n + 4) {
  color: #ff492f;
}
.editor .fancy span:nth-child(7n + 5) {
  color: #ff8a00;
}
.editor .fancy span:nth-child(7n + 6) {
  color: #e8d73a;
}
.editor .fancy span:nth-child(7n + 7) {
  color: #00cf35;
}
.editor .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.editor button {
  background: transparent;
}
.editor .icon.transfer {
  width: 1.35em;
  height: 1.35em;
}
.editor .icon.like {
  color: var(--editor-icon-like);
}
.editor .tags {
  margin-bottom: 1.5rem;
}
.editor .tags span {
  display: inline-block;
  margin-right: 0.5rem;
}
.editor .btn {
  display: flex;
  align-items: center;
}
.editor h2 {
  font-size: 1.75rem;
}
.editor h3 {
  font-size: 1.375rem;
}
.editor .annotation {
  background: var(--editor-color-bg);
  padding: var(--padding-horizontal);
  margin: var(--padding-horizontal) 0;
  font-size: 0.875em;
}
.editor .logo a {
  width: 50px;
  display: flex;
  white-space: nowrap;
  text-decoration: none;
}
.editor .logo a img {
  margin-right: 3px;
}
.editor .logo ~ h2 {
  margin: 1rem 0;
}
.editor li,
.editor h2,
.editor p {
  margin-bottom: var(--padding-horizontal);
}
.editor a {
  color: var(--editor-color-link);
  text-decoration: underline;
}
.editor ul {
  list-style: disc;
  margin-left: 2rem;
}
.editor .date {
  background: var(--editor-bg-date);
  padding: calc(var(--padding-vertical) / 3) var(--padding-vertical);
  display: inline-block;
  font-weight: bold;
  font-size: 0.875em;
}
.editor .titleH1 {
  font-size: 2.25rem;
}
.layout1 {
  max-width: inherit;
}
.layout1.body::before {
  display: none;
}
.layout1 main .mainLeft {
  border-right: 0;
  width: 100%;
  max-width: inherit;
}
.layout1 main {
  margin: auto;
  width: 100%;
}
.layout1 .asideBg {
  border-bottom: var(--navBorder);
  display: flex;
  align-items: center;
  width: -webkit-fill-available;
}
.share-buttons {
  position: absolute;
  right: 1rem;
  bottom: -27px;
  color: #000;
  font-weight: bold;
  font-size: 0.875rem;
  z-index: 10;
}
.share-buttons ul {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 5px;
  gap: 0.15rem;
}
.iconShare .icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 0;
  height: 0;
  margin-bottom: 6px;
  border-style: solid;
  border-width: 0 12px 8px 12px;
  border-color: transparent transparent #ffffff transparent;
}
.share-buttons,
.iconShare .icon::before {
  display: none;
}
.share-buttons.active,
.share-buttons.active ~ .share .iconShare .icon::before {
  display: flex;
}
.share-buttons ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0.25em;
  border-radius: var(--borderRadius);
  transition: var(--transition);
  top: 0;
  opacity: 1;
  cursor: pointer;
}
.share-buttons ul li a.facebook svg {
  color: #4267b2;
}
.share-buttons ul li a.twitter svg {
  color: #000;
}
.share-buttons ul li a.email svg {
  color: #7d7d7d;
}
.share-buttons ul li a.telegram svg {
  color: #0088cc;
}
.share-buttons ul li a.line svg {
  color: #00c300;
}
.share-buttons ul li a.whatsapp svg {
  color: #25d366;
}
.share-buttons ul li .icon {
  width: 1.175rem;
  height: 1.175rem;
}
#popupOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}
#sharePopup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 450px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
#sharePopup iframe {
  width: 100%;
  height: 100%;
  border: none;
}
@media (min-width: 991px) {
  header {
    width: var(--headerBgWidth);
  }
  header .navBg {
    border-right: var(--navBorder);
    width: var(--headerWidth);
  }
  header .navTop nav a:hover {
    background: #02182f;
  }
  aside .navBg nav ul li a:hover:before {
    opacity: 0.05;
  }
  aside .h1 {
    order: 2;
    min-width: 0;
  }
  header .navBottom .bigBtn a.premium:hover:before {
    opacity: 0.05;
  }
  header .navBottom .bigBtn a.build:hover:before {
    opacity: 0.3;
  }
  main {
    width: calc(100% - var(--headerBgWidth));
  }
  main .mainLeft {
    border-right: var(--navBorder);
    width: calc(100% - var(--elseBgWidth) - 1px);
  }
  .mainLeft .logoBg {
    display: none;
  }
  .elseBg {
    width: var(--elseBgWidth);
  }

  .else {
    padding: var(--padding-vertical);
    padding-top: 0;
    height: stretch;
  }
  .else .bottom a:hover,
  .else .titleH a:hover {
    text-decoration: underline;
  }
  .else .blong .in ul li a:hover::before {
    opacity: 0.05;
  }
  .else .track .in ul li a:hover {
    text-decoration: underline;
  }
  .navSmall ul li a:hover {
    text-decoration: underline;
  }
  .elseBg > .else .trackBlong .titleH5 {
    display: none;
  }
  .searchBarBtn {
    display: none;
  }
  .masonry section {
    column-count: 2;
    column-gap: var(--padding-horizontal);
  }
  .masonry article .cardBg:hover:before {
    opacity: 0.05;
  }
  .masonry article .cardBg .more:hover {
    background: #243c55;
  }
  .masonry article .dialogBoxLink .dialogBox {
    position: absolute;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 10px);
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
    display: flex;
    visibility: hidden;
  }
  .masonry article .dialogBoxLink .dialogBox span {
    position: relative;
    padding: 4.5px 0;
    width: 4.375rem;
    color: var(--fontColor2);
    font-size: 0.875rem;
  }
  .masonry article .dialogBoxLink .dialogBox span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: #001021;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: var(--borderRadius);
  }
  .masonry article .dialogBoxLink .dialogBox span:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: #001021 transparent transparent transparent;
  }
  .masonry article .dialogBoxLink:hover .dialogBox {
    opacity: 1;
    visibility: visible;
  }
  .masonry article .label a:hover {
    text-decoration: underline;
  }
  .masonry article .cardBg .moreBg .moreIn a:hover {
    background: #00000010;
  }
  .masonry article .cardBg .moreBg .moreIn a:hover.download span {
    color: var(--card--moreIn-color-download);
  }
  .masonry article .cardBg .moreBg .moreIn a:hover.enter span {
    color: var(--card--moreIn-color-enter);
  }
  .masonry article .cardBg .moreBg .moreIn a:hover.delete span {
    color: var(--card--moreIn-color-delete);
  }
  .lightBox {
    width: calc(
      100% - var(--headerBgWidth) + calc(100% - var(--body-width) 1859px) / 2
    );
    left: var(--headerBgWidth);
  }

  .upload-title-bg:hover .upload-preview,
  .upload-preview:hover {
    background: #4f525b;
  }
  .lightBox-close:hover {
    filter: brightness(125%);
  }
  .upload-title-bg.dragover .upload-title-pic,
  .upload-title-bg:hover .upload-title-pic {
    filter: brightness(150%);
  }
  .upload-title-bg .upload-title-pic {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .upload-title-bg.sponsor:hover .upload-title-pic {
    filter: brightness(100%);
  }
  .sponsor ul li a:hover {
    background: #ffffff15;
  }
  .upload-bottom form {
    margin-left: 15%;
  }
  .create button:hover {
    background: var(--comment-btn-bg-hover);
    color: var(--comment-color);
  }
  .commentHead .right div:hover {
    color: var(--comment-color);
  }
  .commentVote .icon:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--comment-btn-bg-hover2);
    border-radius: 5px;
    width: 150%;
    height: 150%;
  }
  .vote-up .icon:hover {
    stroke: var(--comment-btn-bg);
  }
  .vote-bottom .icon:hover {
    stroke: var(--comment-btn-bg2);
  }
  .vote-add span:hover:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--comment-btn-bg-hover2);
    border-radius: 5px;
    width: 120%;
    height: 120%;
  }
  .commentMore div:hover::before {
    width: 100%;
    height: 100%;
  }
  .editor a:hover {
    color: var(--editor-color-hover);
  }
  .layout1 .mainLeft {
    display: flex;
    flex-flow: row wrap;
  }
  .layout1 .mainLeft .logoBg {
    width: var(--layout1-mainLeft-width);
    padding: var(--padding-horizontal);
    padding-right: 0;
    display: block;
    text-align: center;
  }
  .layout1 .mainLeft .logoBg {
    display: none;
  }
  .layout1 .mainLeft .asideBg .logoBg {
    display: block;
  }
  .layout1 aside {
    width: calc(
      100% - var(--layout1-mainLeft-width) - var(--padding-horizontal) * 3
    );
  }
  .layout1 aside .navBg {
    margin-bottom: 0;
  }
  .share-buttons ul li a:hover,
  .masonry article .shareBg .share ul li:hover {
    background: #00000025;
  }
  .lightBox-msg .confirm:hover{
    opacity: 1;
  }
  .lightBox-msgBg{
    margin-left: calc(var(--headerBgWidth) * -1);
  }
}
@media (min-width: 1162px) {
  body::after,
  .body::before {
    content: "";
    position: absolute;
    top: 0;
    height: stretch;
    width: var(--headerWidth);
  }
  .body::before {
    left: calc(var(--headerWidth) * -1);
    background: var(--headerBg);
  }

  body::after {
    right: 0;
    background: var(--bg2);
    z-index: -1;
  }
  .lightBox {
    left: calc(var(--headerBgWidth) + calc(100% - var(--body-width)) / 2);
  }
}
@media (min-width: 1861px) {
  .masonry section {
    column-count: 4;
  }
}
@media all and (min-width: 1541px) and (max-width: 1860px) {
  :root {
    --body-width: 1530px;
  }
  .masonry section {
    column-count: 3;
  }
}
@media all and (min-width: 1161px) and (max-width: 1540px) {
  :root {
    --body-width: 1220px;
  }
  main {
    width: calc(100% - var(--headerBgWidth));
  }
  .else {
    width: calc(100% - var(--mainLeftWidth) - var(--padding-vertical) * 2);
  }
}
@media all and (min-width: 991px) and (max-width: 1160px) {
  header .logo .icon {
    width: 62px;
    height: 35px;
  }
  header .logo .icon svg:nth-child(1) {
    display: none;
  }
  header .logo .icon svg:nth-child(2) {
    display: block;
  }
  header .navBottom .bigBtn a {
    padding: var(--padding-vertical);
  }
  header .navBottom .bigBtn a span:last-child {
    display: none;
  }
  header .navTop nav a {
    justify-content: center;
  }
  main .mainLeft {
    max-width: 665px;
  }
}
@media all and (min-width: 1018px) and (max-width: 1161px) {
  :root {
    --headerWidth: 95px;
  }
  header .navTop nav a {
    flex-flow: row wrap;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    padding: var(--padding-vertical);
    gap: 4px;
  }
  header .navTop nav a span {
    width: 100%;
    margin: auto;
  }
}
@media all and (min-width: 991px) and (max-width: 1017px) {
  :root {
    --headerWidth: 63px;
  }
  header .navTop nav a span:last-child {
    display: none;
  }
  header .navBottom .bigBtn {
    padding: 8px;
  }
  header .navTop nav a {
    padding: 12.5px;
  }
  .navSmall ul {
    gap: 0;
  }
  .navSmall ul li a span {
    display: none;
  }
}
@media all and (max-width: 1161px) {
}
@media all and (max-width: 990px) {
  :root {
    --headerWidth: 359px;
  }
  .collapse-button {
    display: flex;
    flex-flow: row wrap;
    gap: 1px;
    width: 20px;
    height: 20px;
    padding: 12px;
    cursor: pointer;
  }
  .collapse-button .icon-bar {
    width: 100%;
    height: 2px;
    background: var(--fontColor);
  }
  header {
    position: fixed;
    height: auto;
    z-index: 200;
  }
  header .logoBg {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header .logoBg .collapse-button-close {
    padding: var(--padding-horizontal);
    cursor: pointer;
  }
  header .logoBg .collapse-button-close .icon {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--fontColor);
  }
  header .navBg {
    position: fixed;
    top: 0;
    left: calc(var(--headerWidth) * -1);
    transition: var(--transition);
    height: 100dvh;
  }
  header .navBg {
    max-width: var(--headerWidth);
    width: calc(100% - var(--padding-horizontal));
  }
  header.active .navBg {
    left: 0;
  }
  header.active ~ main:before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    z-index: 190;
  }
  header .navBottom {
    border-top: var(--navBorder);
  }
  main {
    width: 100%;
  }
  .pagination {
    margin: auto;
  }
  .mainLeft {
    max-width: 540px;
    margin: auto;
  }
  .mainLeft .logoBg {
    background: var(--bg);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 110;
  }
  .mainLeft .logoBg .logo {
    padding: var(--padding-vertical);
  }
  .mainLeft .logoBg .logo .icon {
    width: 4.625rem;
    height: 1.625rem;
  }
  .asideBg {
    top: 42px;
    padding: 0 var(--padding-horizontal);
    width: -webkit-fill-available;
    max-width: calc(100dvw - var(--padding-horizontal) * 2);
  }
  .mainLeft .logoBg::before,
  .asideBg::before {
    content: "";
    height: calc(100% + 1px);
    background: var(--bg);
    width: 100dvw;
    position: absolute;
    left: 50%;
    top: -1px;
    transform: translateX(-50%);
    z-index: -1;
    box-sizing: border-box;
  }
  aside {
    margin: 0;
    padding: 0;
  }
  aside,
  .pagination,
  aside .navBg .nav {
    width: 100%;
  }
  .pagination,
  aside .navBg .nav {
    overflow-y: auto;
  }
  aside .navBg nav {
    flex-flow: row wrap;
    margin: auto;
  }
  aside .h1 {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 150;
    width: 100%;
    text-align: center;
    background: var(--bg);
  }
  aside .h1 a {
    display: block;
    width: 100%;
    padding-bottom: 0;
  }
  aside .h1 a h1 {
    padding-bottom: 0.25rem;
    padding-top: 3px;
  }
  .upload-bottom {
    padding-left: 8%;
    padding-right: 8%;
  }
  .pagination .page-listBg {
    justify-content: center;
    min-width: max-content;
    padding-bottom: 0.5rem;
  }
  .composing,
  .elseBg > .else > div,
  .elseBg > .else > article,
  footer {
    display: none;
  }
  .elseBg > .else > div.searchBarBtn {
    display: block;
    position: fixed;
    right: 0;
    top: -3px;
    padding: 1rem;
    z-index: 115;
  }
  .elseBg > .else > div.searchBarBtn .icon {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
  }
  .elseBg > .else .searchBarBtn .icon svg:nth-child(2),
  .elseBg > .else .searchBarBtn.active .icon svg:nth-child(1),
  .elseBg > .else .searchBarBg .searchBar .icon {
    display: none;
  }
  .elseBg > .else .searchBarBtn.active .icon svg:nth-child(2) {
    display: block;
  }
  .elseBg > .else .searchBarBg {
    display: block;
    position: fixed;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: -3px;
    z-index: 110;
  }
  .elseBg > .else .searchBarBg .searchBar {
    border-radius: 30px;
    border: 2px solid transparent;
    max-width: calc(100% - 130px);
    margin: auto;
    padding: calc(var(--padding-vertical) / 2) var(--padding-horizontal);
  }
  .elseBg > .else .searchBarBg .searchBar.active {
    border-color: #00b8ff;
  }
  .elseBg > .else .searchBarBtn ~ .searchBarBg {
    display: none;
    background: var(--bg);
  }
  .elseBg > .else .searchBarBtn.active ~ .searchBarBg {
    display: block;
  }
  .elseBg > .else .trackBlong {
    padding: var(--padding-vertical);
    margin-top: 0.5rem;
    background: var(--bg);
    height: calc(100dvh - 55px);
    overflow-y: auto;
    position: fixed;
    left: 0;
    top: 33px;
    width: -webkit-fill-available;
    z-index: 200;
  }
  .elseBg > .else .trackBlong .titleH5 {
    color: red;
    font-weight: 500;
    font-size: 0.875rem;
    padding: var(--padding-vertical) var(--padding-vertical) 0
      var(--padding-vertical);
  }
  .elseBg > .else .trackBlong .titleH5::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: red;
    margin-right: 0.5em;
  }
  .elseBg > .else > div.searchBarBtn.active ~ .trackBlong {
    display: block;
  }
  .elseBg > .else .trackBlong .track .bottom,
  .elseBg > .else .trackBlong .track .titleH {
    display: none;
  }
  .lightBox {
    width: 100%;
  }
  .layout1 .mainLeft .asideBg .logoBg {
    display: none;
  }
  .share-buttons {
    bottom: -36px;
  }
  .share-buttons ul li .icon {
    width: 1.7625rem;
    height: 1.7625rem;
  }
  .sponsor {
    --sponsor-img-width: 30%;
  }
}
@media (hover: none) and (pointer: coarse) {
  .pagination,
  aside .navBg .nav {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lightBox-close {
    padding: 1rem;
    right: -1.5rem;
    top: -1.5rem;
  }
}

/* 提示信息box */
.toast {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #3d3d3d;
  padding: 12px 24px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
  font-size: 14px;
  font-weight: bold;
}

/* 顯示時的動畫效果 */
.toast.show {
  top: 30px;
  opacity: 1;
}

/* 警告模式（紅色漸層） */
.toast.warn {
  color: #ffffff;
  background: linear-gradient(90deg, #ff5f6d, #ff416c);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* Skeleton 外層容器（圖片/影片未載入時的 shimmer 效果） */
.skeleton-box {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(130deg, #2a0d2a 25%, #3a113a 50%, #2a0d2a 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s ease-in-out infinite;
  animation-iteration-count: 5;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
}

/* Shimmer 漸動動畫 */
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 圖片 lazy loading 初始狀態（透明） */
.skeleton-box img.lazy {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: relative;
  z-index: 2;
}

/* 圖片真正載入後 → 顯示 */
.skeleton-box img.lazy.loaded {
  opacity: 1;
}

/* 影片 lazy 初始狀態 */
.skeleton-box video.lazy-video {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: relative;
  z-index: 2;
}

/* 影片載入後 → 顯示 */
.skeleton-box video.lazy-video.loaded {
  opacity: 1;
}
