.closure-notice-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
  font-family: 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

.closure-notice-container.visible {
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 1;
}

.closure-notice-container .closure-notice-card {
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 28px 24px 22px 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.closure-notice-container.visible .closure-notice-card {
  transform: translateY(0);
  opacity: 1;
}

.closure-notice-card .closure-notice-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px auto;
}

.closure-notice-card .closure-notice-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.closure-notice-card .closure-notice-bye-badge {
  position: absolute;
  top: -6px;
  right: -22px;
  background-color: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transform: rotate(18deg);
}

.closure-notice-card .closure-notice-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.closure-notice-card .closure-notice-body {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 14px;
  white-space: pre-line;
}

.closure-notice-card .closure-notice-hashtags {
  font-size: 12px;
  color: #a9151a;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.closure-notice-card .closure-notice-dismiss {
  display: inline-block;
  border: none;
  background-color: #a9151a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 8px;
  cursor: pointer;
}

.closure-notice-card .closure-notice-dismiss:active {
  opacity: 0.85;
}

/* now.html has no width=device-width in its viewport meta tag, so the layout
   viewport (and anything sized in plain px) renders zoomed out. flexible.js's
   rem base tracks that same layout viewport width, so rem sizing below stays
   correctly proportioned regardless - unlike the px values above. */
.shop-body .closure-notice-container {
  padding: 0.4rem;
}

.shop-body .closure-notice-container .closure-notice-card {
  border-radius: 0.28rem;
  padding: 0.56rem 0.48rem 0.44rem 0.48rem;
  max-width: 7.6rem;
}

.shop-body .closure-notice-card .closure-notice-icon-wrap {
  width: 1.44rem;
  height: 1.44rem;
  margin: 0 auto 0.28rem auto;
}

.shop-body .closure-notice-card .closure-notice-bye-badge {
  top: -0.14rem;
  right: -0.5rem;
  font-size: 0.24rem;
  padding: 0.06rem 0.16rem;
  border-radius: 0.08rem;
}

.shop-body .closure-notice-card .closure-notice-title {
  font-size: 0.44rem;
  margin-bottom: 0.24rem;
}

.shop-body .closure-notice-card .closure-notice-body {
  font-size: 0.32rem;
  margin-bottom: 0.28rem;
}

.shop-body .closure-notice-card .closure-notice-hashtags {
  font-size: 0.26rem;
  margin-bottom: 0.4rem;
}

.shop-body .closure-notice-card .closure-notice-dismiss {
  font-size: 0.32rem;
  padding: 0.2rem 0.56rem;
  border-radius: 0.16rem;
}
