body{
  --background-color: #FFF;
  --text-color: #1c1c1c;
  --title-color: #007A7A;
  --card-background-color: transparent;
  --card-border-color: #E1EFEF;
  --card-box-shadow-1: rgba(24, 24, 27, 0.02);
  --card-box-shadow-1-y: 3px;
  --card-box-shadow-1-blur: 6px;
  --card-box-shadow-2: rgba(24, 24, 27, 0.04);
  --card-box-shadow-2-y: 2px;
  --card-box-shadow-2-blur: 7px;
  --card-label-color: #18181B;
  --card-icon-color: #18181B;
  --card-icon-background-color: rgba(24, 24, 27, 0.04);
  --card-icon-border-color: rgba(24, 24, 27, 0.1);
  --card-shine-opacity: .25;/*亮色切角*/
  /* 備案深色     --card-shine-gradient: conic-gradient(from 225deg at 80% 50%, #92f7b0cf 0deg, #ffc517 25deg, #a7fec1ab 285deg, #34d39980 345deg, #34d39994 360deg); */
  --card-shine-gradient: conic-gradient(from 220deg at 50% 50%, #1bffc6 90deg, #87d4c7 100deg, #87d4c7 180deg, #87d4c78c 240deg, #87d4c7 360deg);
  --card-line-color: #E9E9E7;
  --card-tile-color: rgba(16, 185, 129, 0.08);
  --card-hover-border-color: rgba(24, 24, 27, 0.15);
  --card-hover-box-shadow-1: #87d4c750;
  --card-hover-box-shadow-1-y: 1px;
  --card-hover-box-shadow-1-blur: 6px;
  --card-hover-box-shadow-2: #bde3e249;
  --card-hover-box-shadow-2-y: 4px;
  --card-hover-box-shadow-2-blur: 15px;
  --card-hover-icon-color: #18181B;
  --card-hover-icon-background-color: rgba(24, 24, 27, 0.04);
  --card-hover-icon-border-color: rgba(24, 24, 27, 0.34);
  --blur-opacity: .1;
}
body .night {
  --background-color: #18181B;
  --text-color: #A1A1AA;
  --card-background-color: rgba(255, 255, 255, .015);
  --card-border-color: rgba(255, 255, 255, 0.1);
  --card-box-shadow-1: rgba(0, 0, 0, 0.05);
  --card-box-shadow-1-y: 3px;
  --card-box-shadow-1-blur: 6px;
  --card-box-shadow-2: rgba(0, 0, 0, 0.1);
  --card-box-shadow-2-y: 8px;
  --card-box-shadow-2-blur: 15px;
  --card-label-color: #FFFFFF;
  --card-icon-color: #D4D4D8;
  --card-icon-background-color: rgba(255, 255, 255, 0.08);
  --card-icon-border-color: rgba(255, 255, 255, 0.12);
  --card-shine-opacity: .1;
  /* 備案深色     --card-shine-gradient: conic-gradient(from 225deg at 80% 50%, #92f7b0cf 0deg, #ffc517 25deg, #a7fec1ab 285deg, #34d39980 345deg, #34d39994 360deg); */
  --card-shine-gradient: conic-gradient(from 220deg at 50% 50%, #1bffc6 90deg, #87d4c7 100deg, #87d4c7 180deg, #87d4c78c 240deg, #87d4c7 360deg);
  --card-line-color: #2A2B2C;
  --card-tile-color: rgba(16, 185, 129, 0.05);
  --card-hover-border-color: rgba(255, 255, 255, 0.2);
  --card-hover-box-shadow-1: rgba(0, 0, 0, 0.04);
  --card-hover-box-shadow-1-y: 5px;
  --card-hover-box-shadow-1-blur: 10px;
  --card-hover-box-shadow-2: rgba(0, 0, 0, 0.3);
  --card-hover-box-shadow-2-y: 15px;
  --card-hover-box-shadow-2-blur: 25px;
  --card-hover-icon-color: #34D399;
  --card-hover-icon-background-color: rgba(52, 211, 153, 0.1);
  --card-hover-icon-border-color: rgba(52, 211, 153, 0.2);
  --blur-opacity: .01;
}

body.toggle .grid * {
  transition-duration: 0s !important;
}

.grid {
  display: flex;
  grid-gap: 32px;
  position: relative;
  justify-content: center;
  flex-wrap: wrap;
}

.tag_grid {
  display: flex;
  height: 32px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  grid-gap: 15px;
  position: relative;
  justify-content: space-between;
  margin: 30px auto 35px auto;
}
.tag_grid b,.bg_content b{
  background-color: #ffef91;
  font-size: 18px!important;
  border-radius: 20px;
  margin: auto;
  padding: 4px 9px;
  text-align: center;
  line-height: 2rem;
}
.c_content{
  z-index: 99;
  position: relative;
  display: flex;
  flex-direction: column;
}
.c_content :nth-child(4) {
  font-size: 18px;
  line-height: 2rem;
  flex-basis: 230px;
}
.c_content .more{
  font-size: 16px;
  color: #00a19b;
}
.c_content .more img {
  max-width: 18px;
  margin-left: 6px;
  top: -3px;
  position: relative;
}
.bg_content {
  font-size: 18px;
  line-height: 2rem;
  display: grid;
  grid-template-rows: repeat(3, 160px);
  grid-gap: 18px;
}
.shine{
  z-index: 0;
}
.card {
  background-color: var(--background-color);
  box-shadow: 0px var(--card-box-shadow-1-y) var(--card-box-shadow-1-blur) var(--card-box-shadow-1), 0px var(--card-box-shadow-2-y) var(--card-box-shadow-2-blur) var(--card-box-shadow-2), 0 0 0 1px var(--card-border-color);
  padding: 100px 18px 18px 18px;
  border-radius: 16px;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.25s;
  -webkit-transition: box-shadow 0.25s;
  border: 2.2px solid #E1EFEF;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background-color: var(--card-background-color);
}

.card h2{
  z-index: 2;
  position: relative;
  /* margin: 12px 0 4px 0; */
  font-family: inherit;
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  line-height: 2;
  color: var(--title-color);
}
.card h3{
  z-index: 2;
  position: relative;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  line-height: 1;
  color: var(--title-color);
}
.back.card p{
  margin-top: 0.4rem;
}
.card p {
  z-index: 2;
  position: relative;
  margin: 0;
  color: var(--text-color);
  text-align: justify;
}
.card .shine {
  border-radius: inherit;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}
.card .shine:before {
  content: "";
  width: 150%;
  padding-bottom: 180%;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: 55%;
  -webkit-filter: blur(35px);
          filter: blur(35px);/*左上暈開亮色切角*/
  opacity: var(--card-shine-opacity);
  transform: translateX(0.8%);
  background-image: var(--card-shine-gradient);
  -webkit-transform: translateX(0.8%);
}
.card .background {
  border-radius: inherit;
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
  mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
}
.card .background .tiles {
  opacity: 0;
  transition: opacity 0.25s;
}
.card .background .tiles .tile {
  position: absolute;
  background-color: var(--card-tile-color);
  -webkit-animation-duration: 8s;
          animation-duration: 8s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  opacity: 0;
}
.card .background .tiles .tile.tile-4, .card .background .tiles .tile.tile-6, .card .background .tiles .tile.tile-10 {
  -webkit-animation-delay: -2s;
          animation-delay: -2s;
}
.card .background .tiles .tile.tile-3, .card .background .tiles .tile.tile-5, .card .background .tiles .tile.tile-8 {
  -webkit-animation-delay: -4s;
          animation-delay: -4s;
}
.card .background .tiles .tile.tile-2, .card .background .tiles .tile.tile-9 {
  -webkit-animation-delay: -6s;
          animation-delay: -6s;
}
/*格子大小位置*/
.card .background .tiles .tile.tile-1 {
  top: 0;
  left: 0;
  height: 10%;
  width: 22.5%;
}
.card .background .tiles .tile.tile-2 {
  top: 0;
  left: 22.5%;
  height: 10%;
  width: 27.5%;
}
.card .background .tiles .tile.tile-3 {
  top: 0;
  left: 50%;
  height: 10%;
  width: 27.5%;
}
.card .background .tiles .tile.tile-4 {
  top: 0;
  left: 77.5%;
  height: 10%;
  width: 22.5%;
}
.card .background .tiles .tile.tile-5 {
  top: 10%;
  left: 0;
  height: 22.5%;
  width: 22.5%;
}
.card .background .tiles .tile.tile-6 {
  top: 10%;
  left: 22.5%;
  height: 22.5%;
  width: 27.5%;
}
.card .background .tiles .tile.tile-7 {
  top: 10%;
  left: 50%;
  height: 22.5%;
  width: 27.5%;
}
.card .background .tiles .tile.tile-8 {
  top: 10%;
  left: 77.5%;
  height: 22.5%;
  width: 22.5%;
}
.card .background .tiles .tile.tile-9 {
  top: 32.5%;
  left: 50%;
  height: 22.5%;
  width: 27.5%;
}
.card .background .tiles .tile.tile-10 {
  top: 32.5%;
  left: 77.5%;
  height: 22.5%;
  width: 22.5%;
}
@-webkit-keyframes tile {
  0%, 12.5%, 100% {
    opacity: 1;
  }
  25%, 82.5% {
    opacity: 0;
  }
}
@keyframes tile {
  0%, 12.5%, 100% {
    opacity: 1;
  }
  25%, 82.5% {
    opacity: 0;
  }
}
.card .background .line {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
}
.card .background .line:before, .card .background .line:after {
  content: "";
  position: absolute;
  background-color: var(--card-line-color);
  transition: transform 0.35s;
  transform-origin: 100%;
}
.card .background .line:before {
  left: 0;
  right: 0;
  height: 1px;
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.card .background .line_y:after {
  top: 0;
  bottom: 0;
  width: 1px;
  transform-origin: 50% 0;
  transform: scaleY(0);
}
.card .background .line:after {
  top: 0;
  bottom: 0;
  width: 1px;
  transform-origin: 50% 0;
  transform: scaleY(0);
}

.card .background .line.line-1:before {
  top: 10%;
}
.card .background .line.line-1:after {
  left: 22.5%;
}
.card .background .line.line-1:before, .card .background .line.line-1:after {
  transition-delay: 0.3s;
}
.card .background .line.line-2:before {
  top: 32.5%;
}
.card .background .line.line-2:after {
  left: 50%;
}
.card .background .line.line-2:before, .card .background .line.line-2:after {
  transition-delay: 0.15s;
}
.card .background .line.line-3:before {
  top: 55%;
}
.card .background .line.line-3:after {
  right: 22.5%;
}
.card:hover {
  box-shadow: 0px 3px 6px var(--card-hover-box-shadow-1), 0px var(--card-hover-box-shadow-2-y) var(--card-hover-box-shadow-2-blur) var(--card-hover-box-shadow-2), 0 0 0 1px var(--card-hover-border-color);
}
/* .card:hover{
  background-color: var(--card-hover-icon-background-color);
  border-color: var(--card-hover-icon-border-color);
} */
.card:hover{
  color: var(--card-hover-icon-color);
}
.card:hover .shine ,.card .shine {
  opacity: 1;
  transition-duration: 0.5s;
  transition-delay: 0s;
}
.card:hover .background .tiles,.card .background .tiles{
  opacity: 1;
  transition-delay: 0.25s;
}
.card:hover .background .tiles .tile,.card.background .tiles .tile  {
  -webkit-animation-name: tile;
          animation-name: tile;
}
.card:hover .background .line,.card .background .line,.card .background .line_y{
  opacity: 1;
  transition-duration: 0.15s;
}
.card:hover .background .line:before,.card .background .line:before{
  transform: scaleX(1);
}
.card:hover .background .line:after,.card.background .line:after{
  transform: scaleY(1);
}
.card:hover .background .line.line-1:before, .card:hover .background .line.line-1:after
,.card .background .line.line-1:before, .card .background .line.line-1:after {
  transition-delay: 0s;
}
.card:hover .background .line.line-2:before, .card:hover .background .line.line-2:after 
,.card .background .line.line-2:before, .card .background .line.line-2:after{
  transition-delay: 0.15s;
}
.card:hover .background .line.line-3:before, .card:hover .background .line.line-3:after
,.card .background .line.line-3:before, .card .background .line.line-3:after {
  transition-delay: 0.3s;
}

/******flip set*******/
.ca-flip {
  /*transition effects */
  transition: transform 0.6s;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -webkit-transition: transform 0.6s;
  width: 391px;
}

.ca-flip.flipped {
  transform: rotateY(180deg);
  -webkit-transform:rotateY(180deg);
}
.front{
  z-index: 0;
}
.front,.back {
  display: block;
  /* height: 100%;
  width: 100%; */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-display: block;
}

p {
  font-size: 16px;
  margin-top: 25px;
}

.ca-flip .back {
  position: absolute;
  top: 0;
  transform: rotateY(180deg);
  padding-left: 2rem;
  padding: 18px;
  background-color: #fff!important;
  z-index: 999;
  -webkit-transform:rotateY(180deg);
  -moz-transform:rotateY(180deg);
  -ms-transform:rotateY(180deg);
}

@media (max-width: 576px) {
  .ca-flip{
    width: 88%!important;
  }
  .tag_grid b, .bg_content b,.card p{
    font-size: 16px!important;
  }
  .tag_grid,.bg_content{
    grid-gap: 2px;
  }
  .grid{
    gap: 16px;
  }
  /*心得M*/
  .opinion h4 span{
    font-size: 13px;
  }
}
@media (max-width: 425px) {
  .bg_content{
    grid-template-rows: repeat(3,.6fr);
  }
  
}
@media (max-width: 320px) {
  .bg_content{
    grid-template-rows: repeat(3,.9fr);
  }
  
}