﻿#expire_win.fixed-box-exp {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    font: 400 50px/1.5 "Noto Sans TC", "微軟正黑體", Arial, Helvetica, sans-serif;
    z-index: 9999;
}

    #expire_win.fixed-box-exp.show {
        display: block;
    }

#expire_win .block {
    display: table;
    vertical-align: middle;
    height: 100%;
    width: 100%;
}

#expire_win .middle {
    display: table-cell;
    vertical-align: middle;
}

#expire_win .overflow {
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
}

    #expire_win .overflow::-webkit-scrollbar {
        width: 0px;
    }

#expire_win .close-btn {
    font-size: 1.5em;
    font-weight: 700;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.45em;
    text-align: center;
    white-space: nowrap;
    background: #a8003b;
    box-shadow: 0 0 .05em #201a18, inset 0 0 0 .75em #a8003b;
    color: #ddd;
    position: absolute;
    right: -.5em;
    top: -.7em;
    cursor: pointer;
    transition: box-shadow .5s, filter .5s, color .5s, background .1s .4s;
}

    #expire_win .close-btn:hover, #expire_win .close-btn:active, #expire_win .close-btn:focus {
        box-shadow: -.05em .05em .1em rgba(0,0,0,.2), inset 0 0 0 .05rem #ddd;
        filter: brightness(1.2);
        color: #fa0;
        background: #510520;
        transition: box-shadow .5s, filter .5s, color .5s, background 0s;
    }

#expire_win .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 5em;
    position: relative;
    background: #2b153e linear-gradient(#511, #201 24em);
    border: .2em solid #fa0;
    box-shadow: inset 0 0 0px .05em #000;
    border-radius: .65em;
    width: 86%;
    height: 86%;
    max-width: 800px;
    margin: 5% auto;
    animation: pop .5s ease-out;
}

#expire_win .mask {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    background: rgba(0,0,0,.7) !important;
    animation: fade 0s ease-out !important;
}

#expire_win .title2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin: 1.5em .75em .25em .75em;
    color: #fff8f0;
    text-shadow: .05em .05em .02em rgba(0,0,0,.25);
    line-height: 1.2;
}
#expire_win .title2 img{
    display: inline-block;
    height: 1.35em;
    vertical-align: sub;
}
#expire_win .title2 a{
    display: inline-block;
    color: #68d;
}
#expire_win .title2 a:visited{
    color: #5178cb;
}

#expire_win .pic {
    margin: .25em .5em .45em;
}
#expire_win .evtlink {
    display: block;
    max-width:640px;
    margin: 0 auto;
    transition: filter .2s;
}
#expire_win .evtlink:hover {
    filter: brightness(1.15) drop-shadow(0.1em 0.1em 0.25em rgba(0,0,0,.5));
}
#expire_win .evtImg {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border-radius: .25em;
    background-color: rgba(0,0,0,.2);
    box-shadow: 0 0 0 .025em rgba(0,0,0,.25), 0 .05em .25em rgba(0,0,0,.75);
}
#expire_win .btn{
    font-size: .8em;
    width: 8em;
    margin-top: .5em;
}

.btn {
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  text-align: center;
  color: #fff;
  text-shadow: 0 0.05em 0.05em rgba(0, 0, 0, 0.5), 0.014em 0 #521b00, -0.014em 0 #521b00, 0 0.01em #521b00, 0 -0.01em #521b00, 0.01em 0.01em #521b00, -0.01em 0.01em #521b00, 0.01em -0.01em #521b00, -0.01em -0.01em #521b00;
  position: relative;
  z-index: 0;
  border: none;
  border-radius: 1em;
  padding: 0 1em .4em;
  margin: .75em auto 1.25em;
  width: 8em;
  background: -webkit-gradient(linear, left top, right top, from(#521b00), color-stop(15%, #ce5c00), color-stop(85%, #ce5c00), to(#521b00));
  background: linear-gradient(90deg, #521b00, #ce5c00 15%, #ce5c00 85%, #521b00);
  -webkit-box-shadow: inset 0 0 0.15em rgba(255, 255, 255, 0.5), 0 0.03em 0.05em rgba(34, 0, 102, 0.5);
          box-shadow: inset 0 0 0.15em rgba(255, 255, 255, 0.5), 0 0.03em 0.05em rgba(34, 0, 102, 0.5);
}

.btn::after {
  content: "";
  position: absolute;
  bottom: .2em;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  border-radius: 1em;
  border: 1px solid #913c00;
  background: -webkit-gradient(linear, left top, left bottom, from(#bb2800), color-stop(#ff8a00), to(#ffd800));
  background: linear-gradient(#bb2800, #ff8a00, #ffd800);
  background: radial-gradient(ellipse closest-corner at left 60% bottom 0.08em, #fff, transparent 70%), radial-gradient(ellipse closest-corner at left 60% top 0.08em, #fff, transparent 70%), -webkit-gradient(linear, left top, left bottom, from(#bb2800), color-stop(#ff8a00), to(#ffd800));
  background: radial-gradient(ellipse closest-corner at left 60% bottom 0.08em, #fff, transparent 70%), radial-gradient(ellipse closest-corner at left 60% top 0.08em, #fff, transparent 70%), linear-gradient(#bb2800, #ff8a00, #ffd800);
  -webkit-box-shadow: inset 0 0 0.2em #fff, inset 0 0.2em rgba(255, 255, 255, 0.5);
          box-shadow: inset 0 0 0.2em #fff, inset 0 0.2em rgba(255, 255, 255, 0.5);
}

.btn::before {
  content: "";
  position: absolute;
  top: -.4em;
  left: -.3em;
  right: -.3em;
  bottom: -.25em;
  z-index: -1;
  border-radius: 1.5em;
  border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-box-shadow: inset 0 0 0.2em rgba(255, 255, 255, 0.5), inset 0 0.2em rgba(255, 255, 255, 0.25), 0 0.15em rgba(170, 85, 119, 0.5), 0.05em 0.2em 0.1em rgba(0, 0, 0, 0.5);
          box-shadow: inset 0 0 0.2em rgba(255, 255, 255, 0.5), inset 0 0.2em rgba(255, 255, 255, 0.25), 0 0.15em rgba(170, 85, 119, 0.5), 0.05em 0.2em 0.1em rgba(0, 0, 0, 0.5);
}

.btn:hover, .btn:active {
  padding: .1em 1em .3em;
}

.btn:hover::after, .btn:active::after {
  bottom: .1em;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffa800), color-stop(#ff7b23), to(#8e1e00));
  background: linear-gradient(#ffa800, #ff7b23, #8e1e00);
  background: radial-gradient(ellipse closest-corner at left 60% bottom 0.08em, #fff, transparent 50%), radial-gradient(ellipse closest-corner at left 60% top 0.08em, #fff, transparent 50%), -webkit-gradient(linear, left top, left bottom, from(#ffa800), color-stop(#ff7b23), to(#8e1e00));
  background: radial-gradient(ellipse closest-corner at left 60% bottom 0.08em, #fff, transparent 50%), radial-gradient(ellipse closest-corner at left 60% top 0.08em, #fff, transparent 50%), linear-gradient(#ffa800, #ff7b23, #8e1e00);
}

.btn:hover .btn-hilight, .btn:active .btn-hilight {
  display: none;
}

.btn-hilight {
  display: block;
  position: absolute;
  bottom: -.4em;
  left: 50%;
  width: 1.5em;
  height: 1.5em;
  background: radial-gradient(ellipse closest-side, white 10%, transparent 50%);
}

.btn-hilight::before, .btn-hilight::after {
  content: "";
  position: absolute;
  bottom: .65em;
  left: 0;
  width: 1.5em;
  height: .1em;
  -webkit-transform: rotate(-70deg);
          transform: rotate(-70deg);
  background: radial-gradient(ellipse closest-side, rgba(255, 255, 255, 0.5), transparent);
}

.btn-hilight::after {
  -webkit-transform: rotate(20deg);
          transform: rotate(20deg);
}

@supports (backdrop-filter: blur(.75vmin)) {
    #expire_win .mask {
        backdrop-filter: blur(.75vmin);
    }
}

@media (max-width: 1000px) {
    #expire_win.fixed-box-exp {
        font-size: 5vw;
    }

        #expire_win.fixed-box-exp .title2 {
            font-size: 3.6vw;
        }
}

@keyframes pop {
    0% {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@keyframes fade {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}