.qishop-notice {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(420px, calc(100% - 32px));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid #d6dfe9;
  border-radius: 14px;
  background: #fff;
  color: #121a21;
  box-shadow: 0 14px 50px rgb(14 34 56 / 25%);
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qishop-notice::backdrop {
  background: rgb(13 32 53 / 37%);
}

.qishop-notice__body {
  padding: 22px;
  border-top: 5px solid #215f9f;
  text-align: left;
}

.qishop-notice h2 {
  margin: 0 36px 8px 0;
  color: #153a60;
  font-family: inherit;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: normal;
}

.qishop-notice p {
  margin: 0;
  color: #35495f;
}

.qishop-notice__close {
  display: grid;
  position: absolute;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid #d6dfe9;
  border-radius: 7px;
  background: #edf5ff;
  color: #153a60;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}

.qishop-notice__close:hover {
  background: #dcecff;
}

.qishop-notice__close:focus-visible {
  outline: 2px solid #215f9f;
  outline-offset: 2px;
}
#content :is(.promo h3.featured, .promo h3.sales, .corfix-home-news h2) {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  border: 0;
  padding: 0;
  background: none;
  color: #153a60;
  font: 750 21px/1.25 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

#content :is(.promo h3.featured, .promo h3.sales, .corfix-home-news h2)::before,
#content :is(.promo h3.featured, .promo h3.sales, .corfix-home-news h2)::after {
  flex: 1;
  height: 1px;
  background: #153a60;
  content: "";
}

#content .ShopMainPage:has(+ .corfix-home-news) > div {
  padding: 8px 0 3px !important;
}

#content .ShopMainPage:has(+ .corfix-home-news) font font br {
  display: none;
}

#content .corfix-home-news {
  margin: 12px 0 16px;
}

#content .corfix-home-news .newGoodsPane {
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: none;
}

#content .corfix-home-news .newGoodsPane > table > tbody > tr:first-child {
  display: none;
}

#content .corfix-home-news .newGoodsPane .corfix-home-news__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

#content .corfix-home-news .NewGoods {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid #d6dfe9;
  border-radius: 8px;
  background: white;
  color: #121a21;
  font: 12px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#content .corfix-home-news--archive .NewGoods:nth-child(n+7) {
  display: none;
}

#content .corfix-home-news .ImageDetailLink {
  display: grid;
  place-items: center;
  min-height: 105px;
}

#content .corfix-home-news .ImageDetailLink img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

#content .corfix-home-news .ImageDetailLink + br {
  display: none;
}

#content .corfix-home-news .corfix-home-news__archive {
  display: table;
  margin: 8px 5px 0 auto;
  color: #215f9f;
  font: 700 12px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qishop-notice #qishop-notice-text {
  white-space: pre-line;
}

.qishop-notice {
  width: min(510px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
}

#root #toppanel {
  position: relative;
}

#root #toppanel::before,
#root #toppanel::after {
  position: absolute;
  bottom: 0;
  height: 4px;
  content: "";
  pointer-events: none;
}

#root #toppanel::before {
  inset-inline: 0;
  background: #fff;
}

#root #toppanel::after {
  inset-inline: 22px;
  background: #5288bf;
}

