/* ----- Dark theme ----- */
/* --- reset --- */
body,
dl,
dt,
dd,
ul,
ol,
li,
th,
td,
form,
input,
textarea,
p {
  margin: 0;
  padding: 0;
}
img {
  display: block;
  border: 0;
}
li {
  list-style: none;
}
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}
article,
aside,
canvas,
figure,
figure img,
figcaption,
footer,
header,
hgroup,
menu,
nav,
section,
audio,
video {
  display: block;
  margin: 0;
  padding: 0;
}
/* --- global style --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}
p {
  text-align: justify;
  text-justify: distribute;
}
a {
  outline: none;
  text-decoration: none;
}
svg {
  pointer-events: none;
  flex-shrink: 0;
}
.clear {
  clear: both;
}
/* ----- 預設樣式 ----- */
body {
  /* 'Noto Sans TC' 可用的值：400, 500 */
  /* 'Roboto' 可用 400, 500, 700 */
  color: #000;
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  background-color: #fff;
}
#main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#mainContent {
  flex: 1;
  flex-shrink: 0;
  position: relative;
}
section {
  position: relative;
  padding: 70px 0;
}
.centerwpr {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
h3 {
  margin-bottom: 50px;
  font-size: 28px;
  text-align: center;
}
p + p {
  margin-top: 15px;
}
p strong,
li strong {
  font-weight: 400;
  padding: 0 4px;
  background-color: #ffe592;
  border-radius: 2px;
}
img.dark {
  display: none;
}
.ribbon {
  padding: 6px 16px 6px 25px;
  position: absolute;
  font-weight: 500;
  font-size: 16px;
  background-image: url(/static/assets/162cd6c562e58c3c8f88214d89e0a4ab.png);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: left center;
}
.ribbon:after {
  content: "";
  display: block;
  width: 12px;
  height: 100%;
  position: absolute;
  right: -11px;
  top: 0;
  background-image: url(/static/assets/b9ca5093303c78ff38f91f84ad0a77b9.png);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: left center;
}
#fbBtn {
  width: 40px;
  height: 40px;
  z-index: 9998;
  position: fixed;
  left: 0;
  top: 30%;
  margin-top: -20px;
  font-size: 0;
  line-height: 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
#fbBtn.facebook {
  background-image: url(/static/assets/1fcdfd1bf11ac6f7b2038618f5c9ceb7.png);
}
#fbBtn.instagram {
  border-radius: 0 7px 7px 0;
  background-image: url(/static/assets/7d62f77c3e95a57d64c3db22deae2209.png);
}
.shareBtn {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center center;
}
.shareBtn + .shareBtn {
  margin-left: 10px;
}
.shareBtn.fb {
  background-image: url(/static/assets/30c8674b9023e27328129d4be9f2f0e1.png);
}
.shareBtn.line {
  background-image: url(/static/assets/0e07e2483949771eec8f9f8bc73ff0cf.png);
}
.swiper-button-prev,
.swiper-button-next {
  z-index: 15 !important;
}
body.web #mainContent {
  margin-top: 60px;
}
/* ----- English style ----- */
body.en {
  font-size: 17px;
  line-height: 1.5;
}
body.en p {
  text-align: left;
}
/* ----- RWD ----- */
@media screen and (max-width: 900px) {
  body.web #mainContent {
    margin-top: 46px;
  }
  .centerwpr {
    overflow: hidden;
  }
  #fbBtn {
    display: none;
  }
  .ribbon {
    font-size: 18px;
  }
}
/* ----- Dark theme ----- */
@media (prefers-color-scheme: dark) {
  body {
    color: #adaec0;
    background-color: #201233;
  }
  p strong,
  li strong {
    font-weight: 400;
    padding: 0;
    color: #1EA9F1;
    background-color: transparent;
    border-radius: 0;
  }
  img.regular {
    display: none;
  }
  img.dark {
    display: block;
  }
  .ribbon {
    color: #e7e9ff;
    background-image: url(/static/assets/a0c83d43369c71f29d73cd9dc22fcec7.png);
  }
  .ribbon:after {
    background-image: url(/static/assets/15baa5f45caa4a2d3ac61aa77fbed2de.png);
  }
}

/* ----- Dark theme ----- */
#mainHeader {
  width: 100%;
  flex-shrink: 0;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  display: none;
}
body.web #mainHeader {
  display: block;
}
body.app #mainHeader {
  display: none !important;
}
#mainHeader .innerwpr {
  padding: 0 20px;
  height: 60px;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  line-height: 1;
  letter-spacing: 1px;
  background-color: #54cec0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}
#mainHeader .logo {
  display: block;
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
  background-repeat: no-repeat;
  background-size: auto 100%;
}
#mainHeader .logo {
  width: 128px;
  height: 36px;
  background-image: url(/static/assets/fff5890cea32af88cb84004d8b260d3a.svg);
}
#mainHeader .menu {
  display: flex;
  height: 100%;
  margin-left: 20px;
}
#mainHeader .menu-item {
  display: flex;
  align-items: center;
  padding: 0 12px;
  flex-shrink: 0;
  position: relative;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  transition: 300ms;
}
#mainHeader .menu-item:hover {
  color: #000;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}
#mainHeader .menu-item.current {
  color: #000;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}
#mainHeader .menu-item.current:after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #333;
}
#mainHeader hr {
  margin: 0;
  padding: 0;
  border: none;
  flex: 1;
}
#mainHeader .shop {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 33px;
  padding: 0 24px 1px 24px;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, #d7ae92 0%, #bd8f73 50%, #aa795a 100%);
  border: 1px solid #aa795a;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
}
#mainHeader #menuTrigger {
  position: relative;
  width: 50px;
  height: 46px;
  margin: 0 10px 0 -15px;
  flex-shrink: 0;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
}
#mainHeader #menuTrigger .icon {
  pointer-events: none;
  position: relative;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: 200ms;
}
#mainHeader #menuTrigger .icon:before,
#mainHeader #menuTrigger .icon:after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  position: absolute;
  left: 0;
  background-color: #fff;
  border-radius: 2px;
  transition: 200ms;
}
#mainHeader #menuTrigger .icon:before {
  top: -6px;
}
#mainHeader #menuTrigger .icon:after {
  bottom: -6px;
}
#mainHeader #menuTrigger.expand .icon {
  background-color: transparent;
}
#mainHeader #menuTrigger.expand .icon:before,
#mainHeader #menuTrigger.expand .icon:after {
  width: 24px;
  height: 3px;
}
#mainHeader #menuTrigger.expand .icon:before {
  transform: rotate(45deg);
  top: 0;
}
#mainHeader #menuTrigger.expand .icon:after {
  transform: rotate(-45deg);
  bottom: -1px;
}
#mainHeader #mobileMenu {
  position: fixed;
  left: -360px;
  top: 0;
  z-index: 90;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  padding-top: 46px;
  background-color: #f1f1f1;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
  transition: 300ms;
  transition-property: left, visibility;
  visibility: hidden;
  pointer-events: none;
}
#mainHeader #mobileMenu.expand {
  visibility: visible;
  left: 0;
  pointer-events: auto;
}
#mainHeader #mobileMenu .menu {
  display: block;
  height: auto;
  margin-left: 0;
  margin-bottom: 30px;
}
#mainHeader #mobileMenu .menu-item {
  height: 46px;
  justify-content: center;
  text-shadow: none;
  color: #333;
  border-bottom: 1px solid #d1d1d1;
}
#mainHeader #mobileMenu .menu-item:hover {
  background-color: #ddd;
  border-bottom: 1px solid #c1c1c1;
}
#mainHeader #mobileMenu .menu-item.current {
  background-color: #333;
  color: #fff;
}
#mainHeader #mobileMenu .menu-item:after {
  display: none;
}
#mainHeader #mobileMenu .lang-btnswpr {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
#mainHeader #mobileMenu .lang-btn + .lang-btn {
  margin-top: 0;
}
#mainHeader #mobileMenu .lang-btn {
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  border-radius: 50%;
  background-color: #fff;
}
#mainHeader #mobileMenu .lang-btn:hover {
  background-color: #ddd;
}
#mainHeader #mobileMenu .lang-btn.current {
  background-color: #333;
  color: #fff;
}
.lang-menu {
  position: relative;
  margin-right: 31px;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.lang-menu:after {
  content: "";
  display: block;
  width: 1px;
  height: 24px;
  position: absolute;
  right: -17px;
  top: 50%;
  margin-top: -12px;
  background-color: #e6f8f6;
}
.current-lang {
  width: 90px;
  height: 30px;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 15px;
  background-color: #54cec0;
  border-radius: 20px;
  border: 1px solid #fff;
  cursor: pointer;
  user-select: none;
}
.current-lang:before {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  right: 12px;
  top: 10px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  pointer-events: none;
}
.lang-submenu {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  text-shadow: none;
  color: #fff;
  background-color: #333;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  top: 26px;
  pointer-events: none;
  transition: 300ms;
  transition-property: opacity, visibility, top;
}
.lang-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
}
.lang-btn {
  padding: 8px;
  line-height: 1;
  border-radius: 2px;
  cursor: pointer;
}
.lang-btn + .lang-btn {
  margin-top: 6px;
}
.lang-btn:hover {
  background-color: #535353;
}
.lang-btn.current {
  pointer-events: none;
  cursor: default;
  color: #333;
  background-color: #54cec0;
}
.lang-btn span {
  pointer-events: none;
}
.lang-btn .short {
  display: none;
}
.lang-menu.expand .lang-overlay {
  display: block;
  pointer-events: auto;
}
.lang-menu.expand .current-lang {
  background-color: #333;
  border: 1px solid #333;
}
.lang-menu.expand .lang-submenu {
  opacity: 1;
  visibility: visible;
  top: 34px;
  pointer-events: auto;
}
/* ----- 商店選單 ----- */
.shop-menu {
  position: relative;
}
.shop-menu #shopOverlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
}
.shop-menu #shopBtn {
  cursor: pointer;
}
.shop-menu .region {
  position: relative;
}
.shop-menu .region + .region {
  margin-top: 7px;
}
.shop-menu h4 {
  padding: 4px;
  font-size: 14px;
  text-align: center;
  color: #fff;
  background-color: #333;
  border-radius: 2px;
}
.shop-menu #shopSubMenu {
  position: absolute;
  right: -10px;
  width: 160px;
  padding: 6px;
  background-color: #f6f6f6;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  top: 26px;
  pointer-events: none;
  transition: 300ms;
  transition-property: opacity, visibility, top;
}
.shop-menu .btn-store {
  display: flex;
  align-items: center;
  padding: 9px;
  font-size: 13px;
  color: #333;
}
.shop-menu .btn-store.large {
  font-size: 14px;
}
.shop-menu .btn-store + .btn-store {
  border-top: 1px solid #ddd;
}
.shop-menu .btn-store:hover {
  background-color: #ddd;
}
.shop-menu .btn-store:before {
  content: "";
  display: block;
  margin-right: 8px;
  width: 6px;
  height: 6px;
  background-color: #333;
  border-radius: 50%;
}
.shop-menu.active #shopOverlay {
  display: block;
  pointer-events: auto;
}
.shop-menu.active #shopSubMenu {
  opacity: 1;
  visibility: visible;
  top: 36px;
  pointer-events: auto;
}
/* ----- theme toggle ----- */
.theme-toggle {
  display: flex;
  align-items: center;
  margin-right: 16px;
  display: none;
}
.theme-toggle .theme-toggle-btn {
  width: 32px;
  height: 32px;
  background-image: url(/static/assets/4968c6f6fef2fc3f332ca573db3f3022.png);
  background-repeat: no-repeat;
  background-size: auto 30px;
  border-radius: 50%;
  cursor: pointer;
}
.theme-toggle .theme-toggle-btn.light {
  background-position: 1px 1px;
  background-color: #fff;
}
.theme-toggle .theme-toggle-btn.dark {
  background-position: -59px 1px;
  background-color: #2a1d3c;
}
.theme-toggle .theme-toggle-btn + .theme-toggle-btn {
  margin-left: 8px;
}
/* ----- RWD ----- */
@media screen and (max-width: 960px) {
  #mainHeader .innerwpr {
    padding: 0 12px;
    height: 46px;
  }
  #mainHeader .menu,
  #mainHeader .lang-menu {
    display: none;
  }
  #mainHeader .lang-btn .full {
    display: none;
  }
  #mainHeader .lang-btn .short {
    display: inline;
  }
  #mainHeader .shop {
    height: 31px;
  }
  #mainHeader #menuTrigger {
    display: flex;
  }
}
/* ----- Dark theme ----- */
@media (prefers-color-scheme: dark) {
  #mainHeader .innerwpr {
    background-color: #2a1d3c;
  }
  #mainHeader .menu-item {
    color: #adaec0;
  }
  #mainHeader .menu-item:hover {
    color: #fff;
  }
  #mainHeader .menu-item.current {
    color: #fff;
  }
  #mainHeader .menu-item.current:after {
    background-color: #1EA9F1;
  }
  #mainHeader .lang-menu::after {
    width: 2px;
    background-color: #777;
  }
  #mainHeader .current-lang,
  #mainHeader .shop {
    height: 30px;
    color: #ddd;
    font-size: 15px;
    border: 2px solid #777;
    background: transparent;
  }
  #mainHeader .current-lang:before {
    border-left-color: #adaec0;
    border-bottom-color: #adaec0;
  }
  #mainHeader .shop {
    padding-bottom: 0;
  }
  #mainHeader .current-lang:hover,
  #mainHeader .shop:hover {
    color: #fff;
    border-color: #aaa;
  }
  #mainHeader .current-lang:hover:before {
    border-left-color: #fff;
    border-bottom-color: #fff;
  }
  #mainHeader .lang-btn.current {
    background-color: #1EA9F1;
  }
  #mainHeader #mobileMenu {
    background-color: #2b1f43;
  }
  #mainHeader #mobileMenu .menu-item {
    color: #adaec0;
    border-bottom-color: #453c5b;
  }
  #mainHeader #mobileMenu .menu-item.current {
    color: #000;
    background-color: #1EA9F1;
  }
  #mainHeader #mobileMenu .menu-item:hover {
    color: #fff;
    background-color: #453c5b;
    border-bottom-color: #453c5b;
  }
  #mainHeader #mobileMenu .lang-btn {
    background-color: #201233;
  }
  #mainHeader #mobileMenu .lang-btn:hover {
    color: #fff;
    background-color: #201233;
  }
  #mainHeader #mobileMenu .lang-btn.current {
    color: #000;
    background-color: #1EA9F1;
  }
}

/* ----- Dark theme ----- */
#mainFooter {
  flex-shrink: 0;
  font-size: 13px;
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  background-color: #54cec0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
#mainFooter .statement {
  padding: 6px 20px;
  text-align: center;
  text-shadow: none;
  font-size: 14px;
  color: #633d15;
  line-height: 1.3;
  background-color: #febe40;
}
#mainFooter .centerwpr {
  padding: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#mainFooter .title {
  font-size: 15px;
}
#mainFooter .address {
  text-align: center;
}
#mainFooter .email {
  color: #fff;
  margin-top: 5px;
}
#mainFooter #fbBtnFot {
  display: block;
  width: 40px;
  height: 40px;
  margin-top: 10px;
  background-size: 36px auto;
  background-repeat: no-repeat;
  background-position: center center;
}
#mainFooter #fbBtnFot.facebook {
  background-image: url(/static/assets/8d9809e994cd393d6fc3c3fb1630476b.png);
}
#mainFooter #fbBtnFot.instagram {
  border-radius: 8px;
  background-size: 100% auto;
  background-image: url(/static/assets/7d62f77c3e95a57d64c3db22deae2209.png);
  display: none;
}
/* ----- Dark theme ----- */
@media (prefers-color-scheme: dark) {
  #mainFooter {
    color: #89898f;
    background-color: #1a0e28;
  }
  #mainFooter .statement {
    color: #c19655;
    background-color: #372121;
  }
  #mainFooter .email {
    color: #1EA9F1;
    opacity: 0.8;
  }
  #mainFooter .email:hover {
    opacity: 1;
  }
  #mainFooter #fbBtnFot.facebook {
    opacity: 0.6;
  }
  #mainFooter #fbBtnFot.facebook:hover {
    opacity: 0.9;
  }
}

.catalog #sidePanel,
.article #sidePanel,
.manual #sidePanel {
  display: none;
}
body.app #sidePanel {
  display: none;
}
#sidePanel {
  position: fixed;
  left: 8px;
  bottom: 8px;
  width: 200px;
  z-index: 999;
}
#sidePanel svg {
  pointer-events: none;
}
#sidePanel .innerwpr {
  padding: 12px 10px 4px 10px;
  position: relative;
  font-size: 14px;
  line-height: 1.4;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}
#sidePanel .articles {
  overflow: hidden;
}
#sidePanel h3 {
  margin-bottom: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 18px;
  text-align: left;
  line-height: 1;
}
#sidePanel .more {
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 1;
  color: #777;
}
#sidePanel .more .icon {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 1px;
  border: 2px solid #777;
  border-radius: 50%;
}
#sidePanel .more svg {
  width: 10px;
  height: 10px;
  fill: #777;
}
#sidePanel .more:hover {
  color: #333;
}
#sidePanel .more:hover .icon {
  border-color: #333;
}
#sidePanel .more:hover svg {
  fill: #333;
}
#sidePanel .slot {
  display: block;
  position: relative;
  padding: 7px 0;
  color: #333;
}
#sidePanel .slot + .slot {
  border-top: 1px solid #ddd;
}
#sidePanel .index {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  color: #fff;
  font-size: 12px;
  background-color: #58cdbf;
  border-radius: 2px;
}
#sidePanel .cover {
  width: 100%;
  height: 0;
  padding-top: 70%;
  margin-bottom: 5px;
  background-size: cover;
  background-position: center center;
  border-radius: 2px;
}
#sidePanel .title .full {
  display: none;
}
#sidePanel.collapse .innerwpr {
  padding-bottom: 12px;
  opacity: 0.9;
}
#sidePanel.collapse .articles {
  height: 0;
}
#sidePanel.collapse #spMinTrigger {
  opacity: 0.9;
}
#sidePanel.collapse #spMinTrigger:hover {
  opacity: 1;
}
#sidePanel.collapse #spMinTrigger svg {
  transform: rotate(180deg);
}
#spMinTrigger {
  width: 36px;
  height: 22px;
  cursor: pointer;
  position: absolute;
  left: 10px;
  top: -22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}
#spMinTrigger svg {
  width: 20px;
  height: 20px;
  position: relative;
  top: 1px;
  fill: #fff;
}
/* ----- RWD ----- */
@media screen and (max-width: 1200px) {
  #sidePanel {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    z-index: none;
  }
  #sidePanel .innerwpr {
    padding: 14px 10px;
    font-size: 15px;
    border-radius: 0;
    box-shadow: none;
    background-color: #fff;
  }
  #sidePanel h3 {
    font-size: 22px;
  }
  #sidePanel .articles {
    padding-top: 15px;
  }
  #sidePanel .slot {
    padding: 10px 0;
  }
  #sidePanel .slot.s1 {
    border-top: 1px solid #ddd;
  }
  #sidePanel .title .full {
    display: inline;
  }
  #sidePanel .title .short {
    display: none;
  }
  #sidePanel .s1 .cover {
    padding-top: 0;
    margin-bottom: 0;
  }
  #sidePanel.collapse .innerwpr {
    padding-bottom: 4px;
    opacity: 1;
  }
  #sidePanel.collapse .articles {
    height: auto;
  }
  #spMinTrigger {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  #sidePanel .articles {
    padding-top: 5px;
  }
  #sidePanel .slot.s1 {
    border-top: none;
  }
  #sidePanel .s1 .cover {
    padding-top: 70%;
    margin-bottom: 10px;
  }
}
/* ----- Dark theme ----- */
@media (prefers-color-scheme: dark) {
  #sidePanel .innerwpr {
    background-color: #231a3e;
  }
  #sidePanel .slot {
    color: #787686;
  }
  #sidePanel .slot:hover {
    color: #adaec0;
  }
  #sidePanel .slot + .slot {
    border-top: 1px solid #2d2b32;
  }
  #sidePanel .index {
    background-color: #342b7a;
  }
  #sidePanel .more:hover {
    color: #aaa;
  }
  #sidePanel .more:hover .icon {
    border-color: #aaa;
  }
  #sidePanel .more:hover svg {
    fill: #aaa;
  }
}
@media (prefers-color-scheme: dark) and (max-width: 1200px) {
  #sidePanel .slot.s1 {
    border-top: 1px solid #2d2b32;
  }
}

/*
 * GitHub CSS for MacDown
 * https://gist.github.com/devxoul/8df5792ce330985a633b
 * http://sindresorhus.com/github-markdown-css/
 */
.markdown-body a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
.markdown-body a:active,
.markdown-body a:hover {
  outline-width: 0;
}
.markdown-body strong {
  font-weight: inherit;
}
.markdown-body strong {
  font-weight: bolder;
}
.markdown-body h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
.markdown-body img {
  border-style: none;
}
.markdown-body svg:not(:root) {
  overflow: hidden;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
.markdown-body hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
.markdown-body input {
  font: inherit;
  margin: 0;
}
.markdown-body input {
  overflow: visible;
}
.markdown-body button:-moz-focusring,
.markdown-body [type="button"]:-moz-focusring,
.markdown-body [type="reset"]:-moz-focusring,
.markdown-body [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
.markdown-body [type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}
.markdown-body table {
  border-spacing: 0;
  border-collapse: collapse;
}
.markdown-body td,
.markdown-body th {
  padding: 0;
}
.markdown-body * {
  box-sizing: border-box;
}
.markdown-body input {
  font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
  color: #4078c0;
  text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
  text-decoration: underline;
}
.markdown-body hr {
  height: 0;
  margin: 15px 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ddd;
}
.markdown-body hr::before {
  display: table;
  content: "";
}
.markdown-body hr::after {
  display: table;
  clear: both;
  content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
}
.markdown-body h1 {
  font-size: 30px;
}
.markdown-body h2 {
  font-size: 21px;
}
.markdown-body h3 {
  font-size: 16px;
}
.markdown-body h4 {
  font-size: 14px;
}
.markdown-body h5 {
  font-size: 12px;
}
.markdown-body h6 {
  font-size: 11px;
}
.markdown-body p {
  margin-top: 0;
  margin-bottom: 10px;
}
.markdown-body blockquote {
  margin: 0;
}
.markdown-body ul,
.markdown-body ol {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.markdown-body ol ol,
.markdown-body ul ol {
  list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
  list-style-type: lower-alpha;
}
.markdown-body dd {
  margin-left: 0;
}
.markdown-body code {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 12px;
}
.markdown-body pre {
  margin-top: 0;
  margin-bottom: 0;
  font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .pl-0 {
  padding-left: 0 !important;
}
.markdown-body .pl-1 {
  padding-left: 3px !important;
}
.markdown-body .pl-2 {
  padding-left: 6px !important;
}
.markdown-body .pl-3 {
  padding-left: 12px !important;
}
.markdown-body .pl-4 {
  padding-left: 24px !important;
}
.markdown-body .pl-5 {
  padding-left: 36px !important;
}
.markdown-body .pl-6 {
  padding-left: 48px !important;
}
.markdown-body .form-select::-ms-expand {
  opacity: 0;
}
.markdown-body .markdown-body:before {
  display: table;
  content: "";
}
.markdown-body .markdown-body:after {
  display: table;
  clear: both;
  content: "";
}
.markdown-body .markdown-body > *:first-child {
  margin-top: 0 !important;
}
.markdown-body .markdown-body > *:last-child {
  margin-bottom: 0 !important;
}
.markdown-body a:not([href]) {
  color: inherit;
  text-decoration: none;
}
.markdown-body .anchor {
  display: inline-block;
  padding-right: 2px;
  margin-left: -18px;
}
.markdown-body .anchor:focus {
  outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 1em;
  margin-bottom: 16px;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
  color: #000;
  vertical-align: middle;
  visibility: hidden;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
  text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
  visibility: visible;
}
.markdown-body h1 {
  padding-bottom: 0.3em;
  font-size: 2.25em;
  line-height: 1.2;
  border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
  line-height: 1;
}
.markdown-body h2 {
  padding-bottom: 0.3em;
  font-size: 1.75em;
  line-height: 1.225;
  border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
  line-height: 1;
}
.markdown-body h3 {
  font-size: 1.5em;
  line-height: 1.43;
}
.markdown-body h3 .anchor {
  line-height: 1.2;
}
.markdown-body h4 {
  font-size: 1.25em;
}
.markdown-body h4 .anchor {
  line-height: 1.2;
}
.markdown-body h5 {
  font-size: 1em;
}
.markdown-body h5 .anchor {
  line-height: 1.1;
}
.markdown-body h6 {
  font-size: 1em;
  color: #777;
}
.markdown-body h6 .anchor {
  line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
  margin-top: 0;
  margin-bottom: 16px;
}
.markdown-body hr {
  height: 4px;
  padding: 0;
  margin: 16px 0;
  background-color: #e7e7e7;
  border: 0 none;
}
.markdown-body ul,
.markdown-body ol {
  padding-left: 2em;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
.markdown-body li > p {
  margin-top: 16px;
}
.markdown-body dl {
  padding: 0;
}
.markdown-body dl dt {
  padding: 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: bold;
}
.markdown-body dl dd {
  padding: 0 16px;
  margin-bottom: 16px;
}
.markdown-body blockquote {
  padding: 0 15px;
  color: #777;
  border-left: 4px solid #ddd;
}
.markdown-body blockquote > :first-child {
  margin-top: 0;
}
.markdown-body blockquote > :last-child {
  margin-bottom: 0;
}
.markdown-body table {
  display: block;
  width: 100%;
  overflow: auto;
  word-break: normal;
  word-break: keep-all;
}
.markdown-body table th {
  font-weight: bold;
}
.markdown-body table th,
.markdown-body table td {
  padding: 6px 13px;
  border: 1px solid #ddd;
}
.markdown-body table tr {
  background-color: #fff;
  border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
  background-color: #f8f8f8;
}
.markdown-body img {
  max-width: 100%;
  box-sizing: content-box;
  background-color: #fff;
}
.markdown-body code {
  padding: 0;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 3px;
}
.markdown-body code:before,
.markdown-body code:after {
  letter-spacing: -0.2em;
  content: "\00a0";
}
.markdown-body pre > code {
  padding: 0;
  margin: 0;
  font-size: 100%;
  word-break: normal;
  white-space: pre;
  background: transparent;
  border: 0;
}
.markdown-body .highlight {
  margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f7f7f7;
  border-radius: 3px;
}
.markdown-body .highlight pre {
  margin-bottom: 0;
  word-break: normal;
}
.markdown-body pre {
  word-wrap: normal;
}
.markdown-body pre code {
  display: inline;
  max-width: initial;
  padding: 0;
  margin: 0;
  overflow: initial;
  line-height: inherit;
  word-wrap: normal;
  background-color: transparent;
  border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
  content: normal;
}
.markdown-body kbd {
  display: inline-block;
  padding: 3px 5px;
  font-size: 11px;
  line-height: 10px;
  color: #555;
  vertical-align: middle;
  background-color: #fcfcfc;
  border: solid 1px #ccc;
  border-bottom-color: #bbb;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
  color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-s .pl-v {
  color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
  color: #795da3;
}
.markdown-body .pl-s .pl-s1,
.markdown-body .pl-smi {
  color: #333;
}
.markdown-body .pl-ent {
  color: #63a35c;
}
.markdown-body .pl-k {
  color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s,
.markdown-body .pl-s .pl-pse .pl-s1,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre {
  color: #183691;
}
.markdown-body .pl-v {
  color: #ed6a43;
}
.markdown-body .pl-id {
  color: #b52a1d;
}
.markdown-body .pl-ii {
  background-color: #b52a1d;
  color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
  color: #63a35c;
  font-weight: bold;
}
.markdown-body .pl-ml {
  color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
  color: #1d3e81;
  font-weight: bold;
}
.markdown-body .pl-mq {
  color: #008080;
}
.markdown-body .pl-mi {
  color: #333;
  font-style: italic;
}
.markdown-body .pl-mb {
  color: #333;
  font-weight: bold;
}
.markdown-body .pl-md {
  background-color: #ffecec;
  color: #bd2c00;
}
.markdown-body .pl-mi1 {
  background-color: #eaffea;
  color: #55a532;
}
.markdown-body .pl-mdr {
  color: #795da3;
  font-weight: bold;
}
.markdown-body .pl-mo {
  color: #1d3e81;
}
.markdown-body kbd {
  display: inline-block;
  padding: 3px 5px;
  font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
  line-height: 10px;
  color: #555;
  vertical-align: middle;
  background-color: #fcfcfc;
  border: solid 1px #ccc;
  border-bottom-color: #bbb;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .full-commit .btn-outline:not(:disabled):hover {
  color: #4078c0;
  border: 1px solid #4078c0;
}
.markdown-body :checked + .radio-label {
  position: relative;
  z-index: 1;
  border-color: #4078c0;
}
.markdown-body .octicon {
  display: inline-block;
  vertical-align: text-top;
  fill: currentColor;
}
.markdown-body .task-list-item {
  list-style-type: none;
}
.markdown-body .task-list-item + .task-list-item {
  margin-top: 3px;
}
.markdown-body .task-list-item input {
  margin: 0 0.2em 0.25em -1.6em;
  vertical-align: middle;
}
.markdown-body hr {
  border-bottom-color: #eee;
}

/* ----- Dark theme ----- */
body.article {
  background-color: #f9f7f4;
}
#article {
  padding: 40px 50px;
  max-width: none;
}
img {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 2px;
}
#article header h1 {
  margin-bottom: 12px;
  font-size: 40px;
  line-height: 1.4;
  text-align: center;
}
#article header .desc {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 17px;
  color: #999;
}
#article header .hr {
  margin: 0 8px;
  color: #999;
  font-size: 12px;
}
#article header .group + .group {
  margin-left: 15px;
}
#article header .category {
  display: flex;
  position: relative;
  top: 1px;
}
#article header .tag {
  padding: 0 12px 1px 12px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 15px;
  background-color: #54c4c6;
  border-radius: 20px;
}
#article header .tag + .tag {
  margin-left: 5px;
}
#article header .group.share {
  display: flex;
  align-items: center;
}
#article .cover {
  margin: 20px auto 40px auto;
  max-width: 1200px;
}
#article .author-info {
  display: flex;
  align-items: center;
  max-width: 760px;
  margin: 30px auto 10px auto;
  padding-top: 30px;
  font-size: 15px;
  border-top: 4px solid #eee;
}
#article .author-info .avatar {
  width: 130px;
  margin-right: 20px;
  border-radius: 50%;
}
#article .author-info .info {
  flex-grow: 1;
}
#article .author-info p + p {
  margin-top: 12px;
}
#article .author-info .name {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
#article .author-info .author-link {
  display: block;
  width: 36px;
  height: 36px;
  margin-left: 12px;
  font-size: 0;
  line-height: 0;
  background-color: #eee;
  border-radius: 50%;
  background-size: 22px auto;
  background-repeat: no-repeat;
  background-position: center center;
}
#article .author-info .Instagram {
  background-color: #c13584;
}
#article .author-info .Instagram:hover {
  background-color: #e1306c;
}
#article .author-info .Facebook {
  background-color: transparent;
  background-size: 100% auto;
}
#article .bottom-share {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
#article .bottom-share .shareBtn {
  width: 50px;
  height: 50px;
}
#article .credit {
  max-width: 760px;
  margin: 5px auto 0 auto;
  font-size: 13px;
  text-align: right;
}
#article .credit a {
  color: #845137;
  margin: 0 4px;
  text-decoration: none !important;
  border-bottom: 2px dotted #845137;
}
#article .credit a:hover {
  color: #bb5c46;
  border-bottom: 2px dotted #bb5c46;
}
.markdown-body {
  margin: 0 auto;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.6;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin: 50px 0 0 0;
  padding: 0;
  text-align: left;
  font-weight: 500;
  border-bottom: 0;
}
.markdown-body h2 {
  font-size: 28px;
}
.markdown-body h3 {
  font-size: 24px;
}
.markdown-body h4 {
  font-size: 20px;
}
.markdown-body h5 {
  font-size: 18px;
}
.markdown-body h6 {
  font-size: 16px;
}
.markdown-body p,
.markdown-body ol,
.markdown-body ul {
  margin: 20px 0;
}
.markdown-body .closer {
  margin-top: 10px;
}
.markdown-body hr {
  margin: 50px 0;
  height: 0;
  background-color: transparent;
  border-bottom: 3px dotted #ccc;
}
.markdown-body strong {
  font-weight: 400;
}
.markdown-body p a {
  color: #845137;
  margin: 0 4px;
  text-decoration: none !important;
  border-bottom: 2px dotted #845137;
}
.markdown-body p a:hover {
  color: #724935;
  border-bottom: 2px dotted #724935;
}
.markdown-body img {
  margin: 40px auto;
}
.markdown-body blockquote {
  padding: 20px;
  margin: 25px 0;
  color: #724935;
  background-color: #fff;
  border-left: 6px solid #83523a;
}
.markdown-body li + li {
  margin-top: 5px;
}
.markdown-body ol li {
  list-style: decimal;
}
.markdown-body ul li {
  list-style: disc;
}
.markdown-body li ul,
.markdown-body li ol {
  margin-top: 5px;
}
.markdown-body .credit {
  margin-top: -37px !important;
}
.markdown-body small {
  font-size: 15px;
}
.markdown-body code {
  font-size: 16px;
}
.markdown-body sub {
  position: relative;
  top: 4px;
  font-size: 12px;
  margin: 0 2px;
}
.markdown-body .img-note {
  margin-top: -35px;
  margin-bottom: 35px;
  font-size: 16px;
  text-align: center;
}
.markdown-body .ingredient {
  padding: 20px;
  margin: 25px 0;
  color: #724935;
  background-color: #fff;
  border-bottom: 5px solid #ebe3de;
}
.markdown-body .ingredient li {
  margin-left: 20px;
}
.markdown-body .ingredient li + li {
  margin-top: 10px;
}
.markdown-body .step {
  padding: 3px 10px;
  margin-right: 15px;
  min-width: 64px;
  display: inline-block;
  font-size: 15px;
  text-align: center;
  background-color: #efedea;
  border-radius: 2px;
}
.markdown-body .step.tips {
  background-color: #ffc87f;
}
.markdown-body .ingredient.dotted .flexbox {
  display: flex;
  align-items: center;
}
.markdown-body .ingredient.dotted .flexbox hr {
  flex: 1;
  margin: 0 10px;
  padding: 0;
}
/* ----- 相關文章 ----- */
#relatedPost {
  margin: 40px auto 0 auto;
  padding-top: 40px;
  max-width: 760px;
  border-top: 4px solid #eee;
}
#relatedPost h4 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}
#relatedPost h5 {
  font-size: 15px;
  line-height: 1.4;
}
#relatedPost .wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}
#relatedPost .post {
  display: block;
  width: 33.3%;
  padding: 0 8px;
  margin-bottom: 16px;
  color: #333;
  box-sizing: border-box;
}
#relatedPost .post-cover {
  height: 0;
  padding-top: 52%;
  margin-bottom: 6px;
  background-size: cover;
  background-position: center center;
  border-radius: 2px;
}
/* ----- RWD ----- */
@media screen and (max-width: 760px) {
  #article {
    padding: 30px 12px 30px 12px;
  }
  #article header h1 {
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.3;
    font-size: 36px;
  }
  #article header .desc {
    flex-direction: column;
    align-items: flex-start;
  }
  #article header .category {
    margin-right: 0;
  }
  #article header .group.author {
    margin: 10px 0;
  }
  #article header .group.share {
    margin-left: 0;
  }
  #article .author-info {
    flex-direction: column;
  }
  #article .author-info .avatar {
    margin: 0 auto 20px auto;
  }
  #article .author-info p {
    text-align: center;
  }
  #article .author-info .name {
    font-size: 21px;
    justify-content: center;
  }
  .markdown-body h2 {
    font-size: 26px;
  }
  .markdown-body img.narrow {
    max-width: 100%;
  }
}
@media screen and (max-width: 600px) {
  #relatedPost .wrapper {
    margin: 0;
    flex-direction: column;
    align-items: center;
  }
  #relatedPost .post {
    width: 100%;
    max-width: 320px;
    padding: 0;
    margin-bottom: 30px;
  }
}
/* ----- Dark theme ----- */
@media (prefers-color-scheme: dark) {
  body.article {
    background-color: #201233;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #fff;
  }
  .markdown-body blockquote {
    color: #adaec0;
    background-color: #2d2250;
  }
  .markdown-body hr {
    border-bottom-color: #423751;
  }
  .markdown-body p a {
    color: #9f5842;
  }
  .markdown-body p a:hover {
    color: #bb5c46;
    border-bottom-color: #bb5c46;
  }
  .markdown-body .ingredient {
    color: #adaec0;
    background-color: #2d2250;
    border-bottom-color: #562f45;
  }
  .markdown-body .step {
    color: #cdc1c8;
    background-color: #562f45;
  }
  .markdown-body .step.tips {
    color: #201233;
  }
  #article header .tag {
    color: #000;
  }
  #article .author-info,
  #article #relatedPost {
    border-top-color: #423751;
  }
  #article .author-info .name {
    color: #fff;
  }
  #article #relatedPost h5 {
    color: #adaec0;
  }
  #article #relatedPost .post:hover h5 {
    color: #fff;
  }
}

