html, body, #main {
  background: #1b0e28 linear-gradient(90deg, #1b0e28, #260949, #1b0e28);
  color: #fff;
  overflow-x: hidden;
  min-width: auto !important;
}

:root {
  --outline-color: #fff;
  --outline-width: 0.08em;
}

#header {
  background: #260949; /* box-shadow:inset 0 -.05em .025em rgba(#fff,.2), 0 .1em .2em rgba(#000,.5);*/
}

#footer {
  background: transparent;
}

#header .nav {
  max-width: 16.66667em;
}

*:focus-visible {
  outline: auto;
  outline-offset: 0.1em;
}

[data-device=mobile] .only-pc, [data-device=pc] .only-mobile {
  display: none;
}

[data-login=true] .only-logout, :root:not([data-login=true]) .only-login {
  display: none;
}

.bg-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 16em);
  z-index: -1;
  width: 32em;
  margin: 0 auto;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.bg-area img {
  width: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

/*
@media (min-width: 1000px) {
    .bg-area::after, .bg-area::before{
        content:"";
        position: absolute;
        top:12.5em; left:0; bottom:0; right:0;
        //  z-index:-1;
        background: url("/img/Event/202607-FamilyStore/bg-side.png?v=20260421") 0% 0%/7.5em auto repeat-y;
        background-image: image-set(
            url("/img/Event/202607-FamilyStore/bg-side.avif?v=20260421") type("image/avif"),
            url("/img/Event/202607-FamilyStore/bg-side.png?v=20260421") type("image/png"),
        );
        opacity: .3;
    }
    .bg-area::before{
        top: 12em;
        background-position: 0% 0%;
        transform: scale(-1,1);
    }
}
*/
#main .btn {
  font: inherit;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.2;
  display: inline-block;
  vertical-align: bottom;
  text-align: center;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 0.05em 0.1em rgba(40, 20, 10, 0.5), 0 0.05em 0.25em rgb(40, 20, 10);
  padding: 0.45em 1em 0.55em;
  margin: 0.25em 0;
  width: -moz-max-content;
  width: max-content;
  min-width: 4em;
  max-width: 100%;
  background: linear-gradient(120deg, #fdf4d5, #dd9f5c);
  border: none;
  border-radius: 0.25em;
  transition: filter 0.1s;
  cursor: pointer;
}
#main .btn img {
  display: inline-block;
  height: 1.2em;
  vertical-align: middle;
  margin: 0 0.1em 0.2em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  #main .btn > * {
    color: transparent;
    text-shadow: none;
    background: linear-gradient(#3803be, #6d03be);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 -0.01em 0.03em rgba(40, 20, 10, 0.6)) drop-shadow(0 0.03em 0.03em rgb(255, 255, 255));
  }
}
#main .btn.active, #main .btn:active, #main .btn:hover {
  background-position: bottom;
  border-image-source: url("/img/Event/202607-FamilyStore/btn-hover.png?v=20260421");
  box-shadow: inset 0 0 0.25em #fff;
  filter: brightness(1.15) drop-shadow(0 0.05em 0.1em rgba(0, 0, 0, 0.5)) !important;
}

.btn-link {
  font: inherit;
  color: inherit;
  line-height: inherit;
  border: none;
  background: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.btn-pointer::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: calc(100% - 2em);
  top: 40%;
  width: 1.75em;
  height: 1.75em;
  background: url("/img/Event/202607-FamilyStore/pointer.png?v=20260421") center/contain no-repeat;
  filter: drop-shadow(0.1em 0.2em 0.05em rgba(0, 0, 0, 0.25));
  animation: btnPointer 1.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes btnPointer {
  0% {
    transform: scale(1) translate(0, 0);
    filter: drop-shadow(0.1em 0.2em 0.05em rgba(0, 0, 0, 0.25));
  }
  50% {
    transform: rotate(10deg) scale(1.1) translate(0.25em, 0.1em);
    filter: drop-shadow(0.1em 0.3em 0.1em rgba(0, 0, 0, 0.25));
  }
}
.btn-login, .btn-logout, .btn-teach, .btn-redeem, .btn-redeem-10, .btn-log {
  font: inherit;
  font-family: "MStif", "Noto Sans TC", Arial, Helvetica, sans-serif;
  font-weight: 900;
  display: inline-block;
  position: relative;
  border: none;
  background: none;
  background-position: top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  color: transparent;
  line-height: 1.2;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
  transition: filter 0.1s;
}
.btn-login:disabled, .btn-logout:disabled, .btn-teach:disabled, .btn-redeem:disabled, .btn-redeem-10:disabled, .btn-log:disabled {
  filter: brightness(0.8) grayscale(1);
  cursor: not-allowed;
}
.btn-login:disabled:hover, .btn-login:disabled:active, .btn-logout:disabled:hover, .btn-logout:disabled:active, .btn-teach:disabled:hover, .btn-teach:disabled:active, .btn-redeem:disabled:hover, .btn-redeem:disabled:active, .btn-redeem-10:disabled:hover, .btn-redeem-10:disabled:active, .btn-log:disabled:hover, .btn-log:disabled:active {
  background-position: top;
}
.btn-login:hover, .btn-login:active, .btn-logout:hover, .btn-logout:active, .btn-teach:hover, .btn-teach:active, .btn-redeem:hover, .btn-redeem:active, .btn-redeem-10:hover, .btn-redeem-10:active, .btn-log:hover, .btn-log:active {
  background-position: bottom;
}

.btn-login {
  width: 6.9em;
  height: 2.15em;
  background-image: url("/img/Event/202607-FamilyStore/btn-login.png?v=20260421");
}

.btn-teach {
  width: 6.9em;
  height: 2.15em;
  background-image: url("/img/Event/202607-FamilyStore/btn-teach.png?v=20260421");
}

.btn-logout, .btn-redeem, .btn-redeem-10, .btn-log {
  width: 5.7em;
  height: 2.5em;
}

.btn-logout {
  background-image: url("/img/Event/202607-FamilyStore/btn-logout.png?v=20260421");
}

.btn-redeem {
  background-image: url("/img/Event/202607-FamilyStore/btn-redeem.png?v=20260421");
}

.btn-redeem-10 {
  background-image: url("/img/Event/202607-FamilyStore/btn-redeem-10.png?v=20260421");
}

.btn-log {
  width: 9em;
  background-image: url("/img/Event/202607-FamilyStore/btn-log.png?v=20260421");
}

/*===================*/
/* MAIN PAGE CONTENT */
.sr-only {
  position: fixed;
  top: -9in;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.section {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/*==============*/
/* PAGE CONTENT */
#main {
  color: #fff;
  overflow: hidden;
}
#main img {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: auto;
  max-width: 100%;
}
#main .content {
  position: relative;
  width: 96%;
  max-width: 960px;
  margin: 0 auto;
}
#main .content p, #main .content ul, #main .content ol {
  font-size: 0.6em;
  font-size: clamp(14px, 0.6em, 36px);
  font-weight: 400;
  margin: 0.5em 0;
}
#main .content ul, #main .content ol {
  padding-inline-start: 1.5em;
}
#main .content strong {
  font-weight: 700;
}
#main .content b {
  display: inline-block;
  font-weight: inherit;
}
#main .content a {
  text-underline-offset: 0.18em;
}
#main .content hr {
  font-size: 0.5em;
  font-size: clamp(14px, 0.5em, 30px);
  border: none;
  border-top: 1px solid #888;
  margin: 0.25em 0;
}
#main .head-title {
  display: block;
  position: relative;
  width: 20em;
  top: 0;
  left: calc(50% - 10em);
  padding: 1.8em 0 0;
}
#main .border, #main .border2, #main .border3 {
  position: relative;
  display: block;
  z-index: 0;
  font-weight: 500;
  margin: 1.75em auto 0.25em;
  padding: 0.5em 0.75em;
  border-radius: 0.65em;
  --outline-width: .12em;
  scroll-margin: 1em;
  min-height: 6em;
}
#main .border::before, #main .border2::before, #main .border3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  -o-border-image: url("/img/Event/202607-FamilyStore/border.png?v=20260421") 48 66 fill/0.8em 1.1em/0em;
     border-image: url("/img/Event/202607-FamilyStore/border.png?v=20260421") 48 66 fill/0.8em 1.1em/0em;
  pointer-events: none;
}
#main .border .title, #main .border2 .title, #main .border3 .title {
  margin: 0 auto;
  width: -moz-max-content;
  width: max-content;
}
#main .border .title:first-child, #main .border2 .title:first-child, #main .border3 .title:first-child {
  margin-top: -1.4em;
}
#main .prize-group {
  display: flex;
  align-items: center;
  justify-content: center;
}
#main .prize-group p {
  font-size: 0.66667em;
}
#main .prize-group small {
  font-weight: 400;
  font-size: 0.75em;
}
#main .prize-group > * {
  margin: 0.5em 0;
}
#main .prize-group img {
  flex: 0 0 auto;
  width: 5.25em;
  margin: 0 0;
}
#main .img-box {
  display: block;
  position: relative;
  margin: 0.25em auto 0.5em;
  padding: 0;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  background: #fbd5a8;
  border: 0.1em solid #fbd5a8;
  border-radius: 0.65em;
  box-shadow: 0 0 0 0.1em #2e497c, 0.05em 0.1em 0 0.1em;
}
#main .img-box > * {
  display: block;
  overflow: hidden;
  border-radius: inherit;
}
#main .img-box img {
  transition: transform 0.3s;
  will-change: transform;
}
#main .img-box .badge-img {
  position: absolute;
  top: -0.3em;
  left: 0.5em;
  z-index: 2;
  height: 1.1em;
}
#main .img-box .content-img {
  vertical-align: middle;
  font-size: 0.92em;
  width: 16em;
  height: 9em;
}
#main .img-box a:hover img {
  transform: scale(1.01);
}
#main .prize-img {
  position: relative;
  margin: 0 auto;
  width: -moz-max-content;
  width: max-content;
  flex-shrink: 1;
}
#main .prize-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 0.5em;
  margin: 0.5em auto;
}
#main .prize-grid .prize-img {
  width: 3.6em;
  width: clamp(76px, 3.6em, 180px);
  margin: 0;
}
#main .box {
  position: relative;
  border-radius: 2em;
  -o-border-image: url("/img/Event/202607-FamilyStore/border2.png?v=20260421") 119 fill/2em/0.35em 0;
     border-image: url("/img/Event/202607-FamilyStore/border2.png?v=20260421") 119 fill/2em/0.35em 0;
  margin: 0.5em 0 0.5em;
  min-height: 3em;
}
#main .box2 {
  display: block;
  position: relative;
  padding: 0.25em 0.25em;
  margin: 0.5em 0;
  border-radius: 2em;
  border: 0.1em solid #ffd69f;
  background: rgba(85, 24, 0, 0.4);
}
#main .title {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.2;
  border-radius: 1em;
  --outline-width: .08em;
  --outline-color: #6623c1;
  text-align: center;
  width: -moz-max-content;
  width: max-content;
  min-width: 10em;
  max-width: 100%;
  margin: 0.5em auto 0em;
  padding: 0;
  position: relative;
  z-index: 1;
  color: #fff;
}
#main .title img {
  display: inline-block;
  max-height: 2em;
  margin: 0;
}
#main .title2 {
  font-size: 0.8em;
  font-weight: 550;
  line-height: 1.25;
  padding: 0.25em 1em;
  margin: 0 auto 0.6667em;
  color: #fff5bc;
  -o-border-image: url("/img/Event/202607-FamilyStore/title-bg.png?v=20260421") 0 120 fill/0 2.5em/0.25em 0 0.5em;
     border-image: url("/img/Event/202607-FamilyStore/title-bg.png?v=20260421") 0 120 fill/0 2.5em/0.25em 0 0.5em;
  --outline-color: #5c01a3;
}
#main .title2 b {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0.05em;
  font-size: 1.25em;
  line-height: 1;
}
#main .title2 > * {
  filter: drop-shadow(0 0.05em 0.05em rgba(0, 0, 0, 0.5));
}
#main .anim-float {
  animation: animFloat 4s infinite ease-in-out;
  transform-origin: bottom;
}
@keyframes animFloat {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(0, -0.15em) scale(1.01);
  }
  100% {
    transform: translate(0);
  }
}
#main .anim-shine::before, #main .anim-shine::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 150%;
  width: 170%;
  top: -25%;
  left: -35%;
  background: url("/img/Event/202607-FamilyStore/shine.png?v=20260421") center/contain no-repeat;
  background-image: -webkit-image-set(url("/img/Event/202607-FamilyStore/shine.avif?v=20260421") type("image/avif"), url("/img/Event/202607-FamilyStore/shine.png?v=20260421") type("image/png"));
  background-image: image-set(url("/img/Event/202607-FamilyStore/shine.avif?v=20260421") type("image/avif"), url("/img/Event/202607-FamilyStore/shine.png?v=20260421") type("image/png"));
  mix-blend-mode: lighten;
  pointer-events: none;
}
#main .anim-shine::before {
  animation: animShine 5s infinite linear;
}
#main .anim-shine::after {
  opacity: 0;
  animation: animShine 5s 2.5s infinite linear;
}
@keyframes animShine {
  0% {
    opacity: 0;
    transform: rotate(-15deg);
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(15deg);
  }
}
@keyframes animShine2 {
  0% {
    opacity: 0;
    transform: rotate(-195deg);
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(-165deg);
  }
}
#main .font-serif {
  font-family: "Noto Serif TC", serif;
}
#main .font-display {
  font-family: "MStif", "Heiti TC", "Microsoft JhengHei", Verdana, display;
}
#main .text-hilight {
  color: #f8d89b;
}
#main .text-yellow {
  color: #ffe600;
}
#main .text-red {
  color: #d13363;
}
#main .text-green {
  color: #3fd432;
}
#main .text-blue {
  color: #0094e9;
}
#main .text-purple {
  color: #be8cff;
}
#main .text-gray {
  color: #515151;
}
#main .text-gold {
  color: #ffd600;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  #main .text-gold {
    color: transparent;
    text-shadow: none;
    background: linear-gradient(#fff 30%, #e4b448 70%);
    -webkit-background-clip: text;
    background-clip: text;
    padding: 0 0.1em;
    margin: 0 -0.1em;
    filter: drop-shadow(0 0.05em 0em rgba(0, 0, 0, 0.5333333333));
  }
}
#main .text-big {
  font-size: larger;
}
#main .text-small {
  font-size: smaller;
}
#main .text-center {
  text-align: center;
}
#main .text-outline {
  letter-spacing: normal;
  text-shadow: calc(0.7 * var(--outline-width)) calc(0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(0.7 * var(--outline-width)) calc(-0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(-0.7 * var(--outline-width)) calc(0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(-0.7 * var(--outline-width)) calc(-0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(1 * var(--outline-width)) 0 calc(0.25 * var(--outline-width)) var(--outline-color), calc(-1 * var(--outline-width)) 0 calc(0.25 * var(--outline-width)) var(--outline-color), 0 calc(1 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), 0 calc(-1 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(0.9 * var(--outline-width)) calc(0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.9 * var(--outline-width)) calc(-0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.9 * var(--outline-width)) calc(0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.9 * var(--outline-width)) calc(-0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.4 * var(--outline-width)) calc(0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.4 * var(--outline-width)) calc(-0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.4 * var(--outline-width)) calc(0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.4 * var(--outline-width)) calc(-0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color);
  filter: drop-shadow(0 0 0.02em #2e497c) drop-shadow(0 -0.04em #2e497c) drop-shadow(0.04em 0.04em #2e497c) drop-shadow(-0.04em 0.04em #2e497c);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  #main [text-stroke] {
    color: transparent;
    text-shadow: none;
    display: inline-block;
    position: relative;
    background: linear-gradient(#000, #000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0.05em transparent;
    filter: drop-shadow(0 0.05em 0.05em #000);
  }
  #main [text-stroke]::before {
    content: attr(text-stroke);
    position: absolute;
    z-index: 1;
    background: linear-gradient(#ffeeb7 10%, #ffc300 60%, #fe9600 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0em transparent;
    pointer-events: none;
  }
  #main [text-stroke].text-blue::before {
    background-image: linear-gradient(#fff 10%, #4dffb6 60%, #b64dff 90%);
  }
}
#main #content-area {
  position: relative;
  width: 16.66667em;
  left: calc(50% - 8.33333em);
}
#main .side-container {
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  top: 2.25em;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  max-width: 24em;
  opacity: 1;
}
#main .side-container > * {
  pointer-events: all;
}
#main .side-btn {
  display: block;
  margin-left: auto;
  margin-right: 0.25em;
  width: 3.15em;
  opacity: 1;
  transition: opacity 0.5s;
}
@media (max-width: 1280px) {
  #main .side-btn {
    opacity: 0;
    pointer-events: none;
  }
}
#main .poke-grid {
  position: relative;
  z-index: 0;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  padding: 0.5em;
  margin: 0 auto;
  background: #2e4a7c;
  border: 0.1em solid #d9ac77;
  border-radius: 0.65em;
  box-shadow: 0 0 0 0.1em #2e4a7c;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#main .poke-grid .poke-btns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
#main .poke-grid .poke-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
[data-login=false] #main .poke-grid img {
  position: relative;
  z-index: -1;
  opacity: 0.3;
  mix-blend-mode: luminosity;
}
#main .poke-grid .btn-login {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#main #rules ul, #main #rules ol {
  font-size: 0.5em;
  font-size: clamp(12px, 0.5em, 30px);
  font-weight: 400;
  line-height: 1.412;
}
#main #rules li {
  text-align: justify;
}
#main #rules li + li {
  margin-top: 0.412em;
}
#main #socials {
  filter: drop-shadow(0 0.05em 0.15em rgba(0, 0, 0, 0.5));
}
#main #Modal-task .progress, #main #Modal-history .progress {
  position: relative;
  font-size: 0.5em;
  display: block;
  border-radius: 1em;
  padding: 0 0.5em;
  margin: 0.5em 0;
  --outline-color: #440d67;
  border-radius: 1em;
  line-height: 1.2;
  box-shadow: inset 0 -0.1em 0.2em rgba(0, 0, 0, 0.5), 0 0.1em 0.2em rgba(0, 0, 0, 0.5);
  background: repeating-linear-gradient(-45deg, transparent 0 0.25em, rgba(255, 204, 255, 0.25) 0.25em 0.5em) border-box, linear-gradient(rgba(255, 255, 255, 0.75), transparent 30%) padding-box, linear-gradient(#fc78e4, #f805e2, #7214b4) border-box;
}
#main #Modal-task .input-group, #main #Modal-history .input-group {
  align-items: center;
  margin: 0.25em auto;
  padding: 0 0.35em 0.25em;
  width: 96%;
}
#main #Modal-task .input-group p, #main #Modal-history .input-group p {
  line-height: 1.25;
  width: 70%;
  flex: 1 1 auto;
  margin: 0;
  text-align: left;
}
#main #Modal-task .input-group small, #main #Modal-history .input-group small {
  display: block;
  font-size: 0.6667em;
}
#main #Modal-task .input-group .btn-yellow, #main #Modal-task .input-group .btn-pink, #main #Modal-task .input-group .btn-purple, #main #Modal-history .input-group .btn-yellow, #main #Modal-history .input-group .btn-pink, #main #Modal-history .input-group .btn-purple {
  flex: 0 0 0%;
  min-width: 4em;
}
#main #Modal-info .imgLink {
  max-width: 14.81667em;
  display: block;
  margin: 0.25em auto;
  position: relative;
}
#main #Modal-info .imgLink::before {
  content: "";
  width: 1.35em;
  height: 1.35em;
  background: url("/img/Event/common/hand.png") center/contain no-repeat;
  pointer-events: none;
  position: absolute;
  bottom: 0em;
  right: 1em;
  z-index: 2;
}
#main #Modal-info .imgLink .imgContent {
  width: 100%;
  transition: all 0.3s;
}
#main #Modal-info .imgLink:hover::before {
  transform: rotate(-15deg) translateY(0.1em);
}
#main #Modal-info .imgLink:hover .imgContent {
  transform: scale(1.01);
  filter: brightness(1.03);
}
#main {
  /*==============*/
  /* MODAL STYLES */
}
#main .modal.old {
  font: 400 60px/1.5 "Noto Sans TC", Arial, Helvetica, sans-serif !important;
  font-size: clamp(16px, 6vw, 60px) !important;
  display: none;
}
#main .modal.old.is-active {
  display: flex;
}
#main .modal.old {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#main .modal.old .mask {
  position: fixed;
  top: -50vh;
  left: -50vw;
  bottom: -50vh;
  right: -50vw;
  background: rgba(0, 0, 0, 0.75);
  animation: fade 0.4s ease-out;
}
@supports (backdrop-filter: blur(0.1rem)) {
  #main .modal.old .mask {
    backdrop-filter: blur(0.15rem);
    background: rgba(8, 8, 8, 0.8);
    transition: backdrop-filter 0.5s ease-out;
  }
}
#main .modal.old .btn-close {
  font: inherit;
  font-size: 1em;
  font-weight: 400;
  display: block;
  position: absolute;
  z-index: 2;
  right: -0.25em;
  top: -0.75em;
  width: 2em;
  height: 2em;
  max-width: none;
  max-height: none;
  background: url("/img/Event/202607-FamilyStore/btn-close.png?v=20260421") top/100% auto no-repeat;
  filter: brightness(1) drop-shadow(0 0.1em 0.05em rgba(24, 8, 24, 0.5));
  transition: filter 0.2s, transform 0.2s ease-in-out;
  overflow: hidden;
  outline: none;
  cursor: pointer;
}
#main .modal.old .btn-close::before, #main .modal.old .btn-close::after {
  content: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15%;
  height: 75%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: currentColor;
  border-radius: 0.25em;
}
#main .modal.old .btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
#main .modal.old .btn-close:hover, #main .modal.old .btn-close:focus, #main .modal.old .btn-close:active {
  background-position: bottom;
  transform: scale(1.05);
  filter: brightness(1.1) drop-shadow(0 0.15em 0.1em rgba(24, 8, 24, 0.65));
}
#main .modal.old .border p, #main .modal.old .border ul, #main .modal.old .border ol, #main .modal.old .border2 p, #main .modal.old .border2 ul, #main .modal.old .border2 ol, #main .modal.old .border3 p, #main .modal.old .border3 ul, #main .modal.old .border3 ol {
  font-size: 0.6em;
  font-size: clamp(14px, 0.6em, 36px);
}
#main .modal.old .border li + li, #main .modal.old .border2 li + li, #main .modal.old .border3 li + li {
  margin-top: 0.25em;
}
#main .modal.old .border .title, #main .modal.old .border2 .title, #main .modal.old .border3 .title {
  margin-top: -2em;
}
#main .modal.old .border .title img, #main .modal.old .border2 .title img, #main .modal.old .border3 .title img {
  max-height: 3em;
}
#main .modal-overflow {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-height: 100vh;
  scrollbar-width: none;
}
#main .modal-overflow::-webkit-scrollbar {
  width: 0px;
}
#main .modal-window {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  width: 97.5%;
  width: 96%;
  max-width: 16.25em;
  margin: 1.5em auto 1.25em;
  line-height: 1.4;
  animation: pop 0.3s;
}
#main {
  /* ==================== */
  /* JS ANIMATION CLASSES */
}
#main .fade-up, #main .fade-left, #main .fade-right, #main .fade-down, #main .fade-in {
  opacity: 0;
  transition: opacity 1.6s, transform 1s;
}
#main .fade-up.faded, #main .fade-left.faded, #main .fade-right.faded, #main .fade-down.faded, #main .fade-in.faded {
  transform: none;
  opacity: 1;
}
#main .fade-up {
  transform: translate(0, 1em);
}
#main .fade-down {
  transform: translate(0, -1em);
}
#main .fade-left {
  transform: translate(1em, 0);
}
#main .fade-right {
  transform: translate(-1em, 0);
}
#main .bg-area.fade-up, #main .bg-area .fade-up {
  transform: none;
}

/*=====================*/
/* KEYFRAMES AND MEDIA */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes glow {
  0% {
    visibility: hidden;
  }
  50% {
    visibility: visible;
  }
}
@keyframes pop {
  0% {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes fade {
  0% {
    opacity: 0;
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}
@keyframes blink {
  0% {
    background-position: top;
  }
  50% {
    background-position: bottom;
  }
}/*# sourceMappingURL=main.css.map */